Commit Graph

356 Commits

Author SHA1 Message Date
29a73c3c47 Add article backend 2021-06-01 18:47:03 -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
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
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
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
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
26d9e2c3a3 Remove leftover print statements 2020-04-30 01:30:14 -07:00
9f6adde4fd Fix citation separators 2020-04-30 01:27:07 -07:00
78477efba6 Add index sorting and phantom styling on contents page 2020-04-30 01:24:31 -07:00
2494d09c40 Add default 8-part index 2020-04-29 23:24:08 -07:00
8446adcc83 Implement index list setting field 2020-04-29 23:23:46 -07:00
48047a4b6a Minor cleanup 2020-04-29 21:58:57 -07:00
214136485c Implement more constraint analysis 2020-04-29 21:58:25 -07:00
4e13cdeff6 Implement turn publish policy settings 2020-04-29 21:56:32 -07:00
1f1465de6b Predicate some UI elements on game state 2020-04-29 21:55:07 -07:00
64b7ef0dee Rewrite settings page to reduce boilerplate 2020-04-29 17:13:12 -07:00
7488a8ca79 Add turn publish button 2020-04-29 17:11:12 -07:00
671770538c Add todo for another analysis error 2020-04-29 17:08:54 -07:00
2b56e0c8a6 Update review handler 2020-04-28 09:06:03 -07:00
b8a604e61b Hack some citations into the review form 2020-04-28 08:56:28 -07:00
e63be96dac Prevent articles from being readied when they have errors 2020-04-28 00:21:04 -07:00
79cbaf47a5 Fix some quirks in editor loading 2020-04-28 00:10:56 -07:00
8f58c04db1 Add favicon 2020-04-28 00:09:30 -07:00
916d5c2eb5 Fix character edit form 2020-04-27 23:24:16 -07:00
c09851333e Refactor lexicon.join handler 2020-04-27 22:04:13 -07:00
e311202700 Fix home.admin_create handler 2020-04-27 21:13:01 -07:00
a83a30efdb Post-redirect-get for auth.login 2020-04-27 20:38:53 -07:00
4b57c6a5de Reorganize session-descended forms into submodule 2020-04-27 19:54:27 -07:00
82129aba40 Move join forms to server.lexicon 2020-04-27 17:16:02 -07:00
da236a83ba Move lexicon create form to server.home 2020-04-27 17:13:11 -07:00
b6d7a4a54e Move the constraint analysis code to the lexicon module 2020-04-27 16:05:27 -07:00
fc9c344a1d Add skeleton draft analysis 2020-04-25 21:52:54 -07:00
5ead3c02a8 Add get_draft 2020-04-25 20:58:28 -07:00
d580949de0 Refactor editor functions into another file 2020-04-25 20:06:26 -07:00
9f785b1f4e Get editor hooked up again 2020-04-25 19:02:22 -07:00
7f76db7af7 Add two getter methods to lex.gameloop 2020-04-25 15:37:41 -07:00
c47f9a7e5a Rearrange module-local imports 2020-04-25 10:16:05 -07:00
768006ffbe Clean up forms a bit and move auth forms to .auth 2020-04-25 10:07:42 -07:00
1a289cb5c7 Fix a bunch of attribute references 2020-04-25 10:06:26 -07:00
4fc5f80538 Refactor lexicon submodule into two 2020-04-24 23:07:25 -07:00
4e0bc56dcd Move top-level templates to server module 2020-04-24 17:55:56 -07:00
1ead09cf47 Move home templates into server submodule 2020-04-24 17:53:46 -07:00
07d590bee4 Rename lexicon templates 2020-04-24 17:50:07 -07:00
8732d998cf Rename templates outside of lexicon/ 2020-04-24 13:50:14 -07:00
63745d2865 Move auth templates into new server submodule 2020-04-24 13:46:30 -07:00
3077b02508 Kick off the server refactor with home and auth 2020-04-24 11:37:55 -07:00
07e62b9665 Add factory.try_user for non-exception user lookup 2020-04-24 10:54:11 -07:00
9252e524ae Unnecessary to pass both root and model factory 2020-04-24 10:53:19 -07:00
6d0aa3eb34 Add load_all_users 2020-04-24 10:52:13 -07:00
46f7b54556 Add get_all_lexicons 2020-04-24 10:40:14 -07:00
081a54c9c3 Add character add checker 2020-04-24 00:53:39 -07:00
7d633f5201 Move publish functions to lexicon.gameloop 2020-04-24 00:35:28 -07:00
cae12b960d Update lexicon-char cli commands 2020-04-24 00:00:06 -07:00
8b069132a9 Update lexicon-player cli commands 2020-04-23 23:30:32 -07:00
afb49a86db Move player join code to lexicon.setup 2020-04-23 23:24:05 -07:00
97ac9bf7e3 Update remaining lexicon CRUD commands 2020-04-23 23:04:13 -07:00
668feadda9 Update lexicon-create cli 2020-04-23 22:49:06 -07:00
a58761d7a5 Reorganize lexicon module 2020-04-23 22:48:54 -07:00
4886e27e5d Fix LexiconModel.title 2020-04-23 22:47:15 -07:00
7a17b48a4d Move lexicon status strings to class constants 2020-04-23 21:35:29 -07:00
dcf039c9de Update user cli commands 2020-04-23 21:07:07 -07:00
773e6a23e0 Fix two missed method renames 2020-04-23 20:46:04 -07:00
1dd87fc6f0 Move user creation code to new submodule 2020-04-23 20:42:08 -07:00
50216281b2 Separate config read and edit to distinguish return types 2020-04-23 20:35:55 -07:00
1f24f4f9b1 Fix logger default log levels 2020-04-23 20:03:56 -07:00