Commit Graph

394 Commits

Author SHA1 Message Date
Tim Van Baak 00bb2aedec Refactor some css colors
These will be reused in the settings tabs and perhaps elsewhere
2021-09-09 19:34:24 -07:00
Tim Van Baak d05bc3e689 Add local proxies for the current lexicon and membership
This somewhat duplicates loading the objects into flask.g, but doesn't require
the lexicon route decorators. Additionally, lazy-loading these objects can save
the occasional db call, and for the current membership this is more convenient
than having to add a second decorator or staple it to the lexicon loading.
2021-09-09 19:34:24 -07:00
Tim Van Baak ccb285cbf0 Rename route parameter to lexicon_name
This disambiguates and future-proofs the route parameters so they can be more
easily referenced in before_request contexts shared by all routes.
2021-09-09 19:34:24 -07:00
Tim Van Baak 3a9b016320 Add uuid werkzeug route converter for character routes 2021-09-02 18:43:04 -07:00
Tim Van Baak a9c97430de Linting pass 2021-08-29 07:35:04 -07:00
Tim Van Baak 45ee56d09b Add character creation and signatures 2021-08-27 12:03:16 -07:00
Tim Van Baak eec039c09a Add character limit cli 2021-08-27 08:19:29 -07:00
Tim Van Baak 9f939fe57c Fix missing None check 2021-08-27 07:50:48 -07:00
Tim Van Baak af5b1c4cfa Add character editing page 2021-08-27 07:49:47 -07:00
Tim Van Baak 3b95d650c1 Replace home sidebar item with link next to login status 2021-08-27 05:55:42 -07:00
Tim Van Baak c6f3ae4779 Add top-level character page 2021-08-27 05:15:13 -07:00
Tim Van Baak e480658ebe Add character create command 2021-08-19 18:17:06 -07:00
Tim Van Baak c26a0a058b Print help instead of only usage 2021-08-19 18:10:00 -07:00
Tim Van Baak 34f750a7c7 Show session page to admins 2021-08-13 20:12:23 -07:00
Tim Van Baak 4401024bf5 Reintegrate lexicon routes and joining 2021-08-13 20:12:13 -07:00
Tim Van Baak 587a70faf5 Update lexicon route decorators 2021-08-13 20:09:08 -07:00
Tim Van Baak 7645c85c9d Make backend argument type errors more specific 2021-08-13 17:23:03 -07:00
Tim Van Baak d6f558a92b Add backend to jinja context 2021-08-12 23:08:56 -07:00
Tim Van Baak 74fe79dbf9 Make importing backends easier 2021-08-12 23:08:56 -07:00
Tim Van Baak 06d662982c Rename lookup functions 2021-08-12 23:04:56 -07:00
Tim Van Baak 9025be28bf Add update timestamp defaults to lexicon and article 2021-08-02 21:59:45 -07:00
Tim Van Baak 10a0c59d5e Cleanup and removal of obsolete code 2021-06-26 13:48:18 -07:00
Tim Van Baak 6c8f341a4e Add home page test 2021-06-26 10:13:46 -07:00
Tim Van Baak 4284de1cd0 Misc touchups 2021-06-23 22:08:33 -07:00
Tim Van Baak 0e5547b883 Update flask_wtf version 2021-06-23 22:06:46 -07:00
Tim Van Baak 4603e9da28 Add bs4 and auth workflow tests 2021-06-23 22:02:55 -07:00
Tim Van Baak a6e2c8e6db Fix Python 3.8 incompatibility 2021-06-23 20:24:16 -07:00
Tim Van Baak 9f6f5e92f5 Add unit tests for new backend functions 2021-06-17 02:06:48 -07:00
Tim Van Baak ba346c29bc Move backend tests 2021-06-16 20:17:35 -07:00
Tim Van Baak b789bad6c0 Switch tests to run on a tempfile db 2021-06-16 20:17:24 -07:00
Tim Van Baak 3cfc01a9c8 Get home screen working 2021-06-16 20:16:23 -07:00
Tim Van Baak 562d7d8a4b Add some basic lexicon cli commands 2021-06-16 20:13:07 -07:00
Tim Van Baak 398b5705f1 Simplify some backend names 2021-06-16 20:10:09 -07:00
Tim Van Baak 0e35f15a3a Add prettier date formatter 2021-06-16 00:58:09 -07:00
Tim Van Baak a07b342da3 Remove obsolete model code 2021-06-16 00:39:52 -07:00
Tim Van Baak e4e699fa1b Reintegrate auth routes 2021-06-16 00:37:49 -07:00
Tim Van Baak 6b5463b702 Implement user passwd command 2021-06-16 00:34:20 -07:00
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