Commit Graph

368 Commits

Author SHA1 Message Date
Tim Van Baak cda4523b66 Add stopgap pytest.ini 2021-05-31 17:14:37 -07:00
Tim Van Baak 98898b98fc Reduce test output 2021-05-31 17:14:37 -07:00
Tim Van Baak caa2e1e8a4 Add character backend 2021-05-31 17:14:25 -07:00
Tim Van Baak e47711356c Update uniqueness checks to use sqlalchemy orm 2.0 style 2021-05-31 12:24:57 -07:00
Tim Van Baak 5e051e7e89 Add check for duplicate memberships 2021-05-31 12:13:37 -07:00
Tim Van Baak a21092b7e0 Touch up db submodule 2021-05-31 12:13:23 -07:00
Tim Van Baak 5f879cd062 Refactor fixtures and clean up tests 2021-05-31 10:52:37 -07:00
Nikolai 0303544dfb Added post creation method and unit tests 2021-05-29 19:17:15 -07:00
Tim Van Baak 76f4bcc181 Add membership backend 2021-05-29 17:38:14 -07:00
Tim Van Baak 92849d8396 Shorten superfluous names 2021-05-29 16:53:27 -07:00
Tim Van Baak 6a9d405aea Split out model tests 2021-05-27 18:56:29 -07:00
Tim Van Baak fc58a91490 Add create_lexicon method 2021-05-27 18:23:48 -07:00
Tim Van Baak 63f17cfc7a Add more create_user checks 2021-05-27 18:01:37 -07:00
Tim Van Baak 1d5023c41b Add default value to turn_count column 2021-05-27 17:39:22 -07:00
Tim Van Baak 4c3dcfe0e5 Improve user creation logic 2021-05-06 11:14:33 -07:00
Tim Van Baak 8a3893f33d Add duplicate username check 2021-05-06 00:09:00 -07:00
Tim Van Baak 6eadb5162a Add user creation backend logic 2021-05-06 00:04:15 -07:00
Tim Van Baak 1926bee2a4 Add docstrings to db submodules 2021-05-05 23:51:36 -07:00
Tim Van Baak 42251bf0df Add email column to user table 2021-05-05 23:51:20 -07:00
Tim Van Baak 3ba138c81c Move database and models to common submodule 2021-05-05 22:21:50 -07:00
Tim Van Baak 83e5e210a5 Move uuid column type to models.py 2021-05-05 22:18:34 -07:00
Tim Van Baak fbf9b59456 Fix FK name on ArticleIndexRule 2021-05-05 00:05:09 -07:00
Tim Van Baak 8a4d666248 Add basic database test 2021-05-04 23:05:14 -07:00
Tim Van Baak 9f2c9d14d3 Refactor db infra to require instantiating object 2021-05-04 23:05:03 -07:00
Tim Van Baak fc28718846 Allow authorless posts 2021-05-01 13:08:27 -07:00
Tim Van Baak 73263bed7d Add column to track which posts have been seen 2021-05-01 13:08:02 -07:00
Tim Van Baak f8c7d70f72 Add content rule and post tables 2021-05-01 12:50:08 -07:00
Tim Van Baak 9c2d6bb917 Add peer progress visibility setting 2021-05-01 12:49:21 -07:00
Tim Van Baak bf1c160140 Add article indexes and some missing FK relationships 2021-05-01 12:14:25 -07:00
Tim Van Baak 336e4193c3 Add user, lexicon, and membership tables 2021-04-30 23:49:25 -07:00
Tim Van Baak 3eb2456fd6 Add naming convention to metadata 2021-04-30 16:59:29 -07:00
Tim Van Baak 2085aae0d4 Add basic database setup 2021-04-30 14:25:22 -07:00
Tim Van Baak 0487b85733 Clear out non-poetry metadata 2021-04-30 00:14:37 -07:00
Tim Van Baak 48f5ce2e0f Set up poetry project and nix packaging 2021-04-30 00:12:46 -07:00
Tim Van Baak 0eaaca0383 Add default server for launching from gunicorn 2020-05-02 20:31:52 -07:00
Tim Van Baak fdcac92044 Add very hacky index assignment setting 2020-05-01 00:21:17 -07:00
Tim Van Baak b8239c0bc4 Clean up editor a bit 2020-05-01 00:08:21 -07:00
Tim Van Baak 3386733d77 Add index assignment message as stopgap 2020-05-01 00:08:13 -07:00
Tim Van Baak 6d7e7a8a42 Add TODO for follow the phantoms 2020-04-30 23:48:50 -07:00
Tim Van Baak 6abbac41d4 Hide empty etc indexes 2020-04-30 23:47:37 -07:00
Tim Van Baak b5e4307792 Hide session page in sidebar for anons 2020-04-30 23:37:44 -07:00
Tim Van Baak 77e9e8023b Ensure exactly one etc index 2020-04-30 23:36:33 -07:00
Tim Van Baak b936a850db Implement title constraints 2020-04-30 22:44:52 -07:00
Tim Van Baak 70c2241e91 Implement article constraint analysis 2020-04-30 13:34:23 -07:00
Tim Van Baak ca98afb66d mypy pass 2020-04-30 01:54:31 -07:00
Tim Van Baak 5872fdcc64 Break after finding the right index 2020-04-30 01:50:29 -07:00
Tim Van Baak 4705a39c41 Add article index to editor info 2020-04-30 01:49:19 -07:00
Tim Van Baak 26d9e2c3a3 Remove leftover print statements 2020-04-30 01:30:14 -07:00
Tim Van Baak 9f6adde4fd Fix citation separators 2020-04-30 01:27:07 -07:00
Tim Van Baak 78477efba6 Add index sorting and phantom styling on contents page 2020-04-30 01:24:31 -07:00