Commit Graph

336 Commits

Author SHA1 Message Date
Tim Van Baak fde12ac818 Add paragraph and article parser tests 2021-06-11 23:55:52 -07:00
Tim Van Baak 2c294f7f12 Add citation parsing unit tests 2021-06-11 23:55:52 -07:00
Tim Van Baak 6f380bd495 Fix parsing pair marks with line breaks inside 2021-06-11 23:55:52 -07:00
Tim Van Baak 7a847e96d3 Add unit tests for line breaks and simple pairs 2021-06-11 23:55:52 -07:00
Tim Van Baak 1c55d866a8 Reorganize parser and style pass 2021-06-11 23:55:52 -07:00
Tim Van Baak ffa27be86d Move render visitors out of parser module 2021-06-11 23:55:52 -07:00
Tim Van Baak 7eadaa0db4 Move analysis visitors out of parser module 2021-06-11 23:55:52 -07:00
Nikolai 06ec2e168e membership unit test checks joinability and player limit; post.create() checks allow_post 2021-06-10 15:30:34 -07:00
Nikolai 5497ef4b0b membership.create() checks for joinable and player limit; factory creates joinable lexicons by default 2021-06-09 22:00:12 -07:00
Tim Van Baak 973d60008d Add index backend 2021-06-08 03:36:20 +00:00
Tim Van Baak 8ebb288d1c Delete old user backend code 2021-06-04 19:47:07 -07:00
Tim Van Baak 705df21c17 mypy typecheck pass 2021-06-02 21:37:12 -07:00
Tim Van Baak ae7f8efadf Add mypy for type checking 2021-06-02 21:31:34 -07:00
Tim Van Baak 2982f6ea0f black string quote normalization 2021-06-02 20:12:09 -07:00
Tim Van Baak de09030b1c black style pass 2021-06-02 20:11:56 -07:00
Tim Van Baak 667173329c Add black as a style check for new code 2021-06-02 20:11:30 -07:00
Tim Van Baak 29a73c3c47 Add article backend 2021-06-01 18:47:03 -07:00
Tim Van Baak dc23f6343a Add unit test object factory 2021-06-01 18:46:19 -07:00
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