Commit Graph

407 Commits

Author SHA1 Message Date
Tim Van Baak 3c7fc4b5f8 Show admin status in user list 2021-06-15 23:33:25 -07:00
Tim Van Baak 34685a741e Add user create and promotion commands 2021-06-15 23:26:58 -07:00
Tim Van Baak 651ab1d72f Refactor db to lazy-load at the top level 2021-06-15 23:02:51 -07:00
Tim Van Baak c4f133434d Refactor path-to-uri calculation into DbContext 2021-06-15 22:58:54 -07:00
Tim Van Baak aaa7982f67 Initial commit of a working server route 2021-06-15 20:36:48 -07:00
Tim Van Baak 1d1895c32d Fix some issues with running the server 2021-06-15 20:33:38 -07:00
Tim Van Baak d8d20f4224 Add backend functions for a basic dashboard 2021-06-15 20:31:51 -07:00
Tim Van Baak e097917633 Style pass for newly integrated modules 2021-06-15 16:59:17 -07:00
Tim Van Baak 633e5d7ece Add stubs for lexicon and user commands 2021-06-15 16:53:06 -07:00
Tim Van Baak 324788f9a1 Add script entry point to pyproject 2021-06-15 16:18:39 -07:00
Tim Van Baak 32a0948deb Add admin subcommands 2021-06-15 16:18:19 -07:00
Tim Van Baak 64973c4873 Remove old logging code 2021-06-15 16:16:27 -07:00
Tim Van Baak 3890d4b11e Add cli logging config 2021-06-15 16:12:39 -07:00
Tim Van Baak f6c0b9509d Refactor top-level CLI parser 2021-06-15 11:53:28 -07:00
Tim Van Baak e23019bff6 Add command line entry point 2021-06-13 20:41:10 -07:00
Tim Van Baak dd144bf207 Add basic server unit tests 2021-06-13 20:20:00 -07:00
Tim Van Baak 3ab6e2c48d Add new app factory function and config 2021-06-13 20:20:00 -07:00
Tim Van Baak 7e3db84b3c Remove old config code 2021-06-13 20:20:00 -07:00
Tim Van Baak bea38d67df Allow greenlet scoping for sessions 2021-06-13 20:20:00 -07:00
Tim Van Baak f9e139d8f9 Bump flask version 2021-06-12 11:42:09 -07:00
Tim Van Baak 00738b5a45 Add renderable visitor unit test 2021-06-11 23:55:52 -07:00
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