Commit Graph

321 Commits

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