Commit Graph

252 Commits

Author SHA1 Message Date
7785d7cbf5 Fix lp cli commands 2020-02-18 12:29:51 -08:00
c0c69805e3 Add framework for editor live preview warnings 2020-02-14 14:22:38 -08:00
40e7a0c030 Add basic editor with preview 2020-02-06 13:05:11 -08:00
c47208e384 Make deadline inconsistent with asap 2020-01-31 16:52:14 -08:00
19263040a9 Allow editor to edit any character
In particular, this allows th editor to edit the default character
2020-01-31 14:02:08 -08:00
6c244b084c Display public games on /home/ 2020-01-31 13:59:14 -08:00
81c18b5c7c Simplify player membership checks 2020-01-31 13:58:39 -08:00
f6947271a1 Style join and settings forms 2020-01-31 13:53:00 -08:00
d819308639 Placeholder text 2020-01-31 13:52:31 -08:00
8a052feb3c Dissociate default character from editor 2020-01-31 13:51:58 -08:00
bc62063ed0 Add create character UI 2020-01-31 11:56:06 -08:00
c6bbccb6c3 Add chars_per_player setting 2020-01-30 23:28:57 -08:00
92e12ae83c Fix CLI character creation 2020-01-30 23:21:16 -08:00
eb5c52ea85 Alias lexicon commands 2020-01-30 22:31:44 -08:00
9e53e1bb61 Touch up lexicon-player-* 2020-01-30 22:29:21 -08:00
0fd744537c Give settings page a real form-based UI 2020-01-30 22:06:22 -08:00
3c2458ae58 Remove turn.start, no point in values other than 1 2020-01-30 13:32:55 -08:00
41bf7b4bd0 Add player capacity to non-anonymous lexicon view 2020-01-30 13:32:13 -08:00
9f1ec44786 Rename log() to add_log() to avoid name conflict 2020-01-30 13:31:39 -08:00
540be5ff02 Implement game joins and respect join.public 2020-01-29 23:23:30 -08:00
2c63556548 Add anonymous mode for lexicon dashboard 2020-01-29 23:19:17 -08:00
a0e13329a4 Human-readable dates in admin dashboard 2020-01-29 23:18:33 -08:00
478213f77b Make games private by default 2020-01-29 23:16:16 -08:00
1431dab8f8 Remove dependency of .user on .lexicon 2020-01-29 23:16:00 -08:00
7a2e1905ca Update lexicon CRUD for new @requires semantics 2020-01-29 17:15:07 -08:00
4a49433cde Fix delete_lexicon 2020-01-29 17:13:32 -08:00
027933b645 str/repr changes 2020-01-29 14:35:19 -08:00
e9142a7f56 Update user-list 2020-01-29 08:22:51 -08:00
22d140480d Add high-level catching and rename error type 2020-01-29 08:22:34 -08:00
02e7065b21 Only validate email if it was provided 2020-01-29 01:03:59 -08:00
1b1332a42d Forbid guids as usernames 2020-01-29 01:03:20 -08:00
1068dacade Add str and repr to user model 2020-01-29 01:02:37 -08:00
a5dda4098c Linting pass 2020-01-28 13:29:32 -08:00
cdfe3037b8 Fix ternary 2020-01-28 13:26:32 -08:00
1e70b95548 Refactor lexicon loading into wrapper 2020-01-28 13:24:01 -08:00
fe65ec2696 Remove obsolete tl_user check 2020-01-28 13:14:57 -08:00
5aae0f8326 Add command aliases 2020-01-28 13:05:53 -08:00
272ec492f8 Refactor user loading into req_user wrapper 2020-01-28 13:05:13 -08:00
298352caed Fix header css 2020-01-28 00:59:30 -08:00
fce6e7145b Connect create form to internal call 2020-01-27 18:11:20 -08:00
b69b6155b3 Add linting 2020-01-27 12:30:40 -08:00
8730e0974f Expand documentation 2020-01-27 09:55:54 -08:00
aa1667d795 Refactor extant forms into form submodule 2020-01-26 23:27:47 -08:00
d7557784bd Refactor textarea css 2020-01-26 23:17:21 -08:00
6f326f91bd Add lexicon create page shell 2020-01-26 23:15:52 -08:00
aaac4b6568 Add user list to dashboard lexicon display 2020-01-26 22:18:52 -08:00
817e74f6d7 Add player_requires 2020-01-24 13:30:21 -08:00
45b7e43df4 Move session_edit to settings 2020-01-24 13:14:04 -08:00
9004f60a0c Admin dashboard improvements 2020-01-24 13:11:50 -08:00
f7aa7f2471 Config updates 2020-01-24 10:53:18 -08:00
246b9c22ae Fix lexicon logs being overwritten by duplicate rw contexts 2020-01-24 10:53:18 -08:00
a73f7b6cdc Allow setting password via CLI for scripting 2020-01-24 10:53:18 -08:00
8ac48a0305 Add debug flag to run command 2020-01-24 10:53:02 -08:00
9be848e5e2 Fix namespaces 2020-01-24 10:53:02 -08:00
f0cdcb8d8c Allow require wrappers to check and load models 2020-01-22 17:21:25 -08:00
4661b232c2 Add whitespace trim 2020-01-22 17:15:39 -08:00
9c41b3863e Highlight current page in lexicon sidebar 2020-01-22 12:44:33 -08:00
cace76ff0d Move login info to the header 2020-01-22 08:07:55 -08:00
0c45af3a56 Fix missing g. in templates 2020-01-20 22:51:17 -08:00
1e66e0dc73 Add Ersatz Scrivener to new lexicons 2020-01-20 22:51:01 -08:00
563865f7ea Handle lexicon loading in a wrapper 2020-01-20 22:21:25 -08:00
5e25c433ee Implement char-list as config-get for now 2020-01-20 19:59:41 -08:00
ccc027d5ef Expand char-add, implement char-delete 2020-01-20 19:57:13 -08:00
2608a992fe Basic character add command 2020-01-20 17:30:43 -08:00
8c70067076 Add .new() for adding keys to rw configs 2020-01-20 17:24:01 -08:00
085ac63da8 Fix user-delete 2020-01-20 17:23:48 -08:00
51a5f7e9ad Use getattr in user creation 2020-01-20 17:23:40 -08:00
c982364041 Add /session/edit/ 2020-01-20 13:14:00 -08:00
79016265d9 Fix status() 2020-01-20 13:13:06 -08:00
0d5fbbc842 Add prompt to lexicon page header 2020-01-20 12:29:55 -08:00
871b81ee90 Fix mobile styling 2020-01-20 12:29:40 -08:00
ef5459070c Add skeletons for all lexicon general pages 2020-01-20 12:22:41 -08:00
43345c4bf0 Add the editor on lexicon creation 2020-01-20 12:22:13 -08:00
6cd33689bc Fix error message 2020-01-20 12:21:28 -08:00
14eee2e8b0 Add versions to config templates 2020-01-20 11:57:15 -08:00
221790b00e Add skeleton for lexicon pages 2020-01-20 08:55:28 -08:00
5c244855eb Add lexicon listings to home page 2020-01-20 07:52:41 -08:00
aa987a5b4b Fix repl 2020-01-20 02:31:19 -08:00
3c62acc975 Implement lexicon-player-list 2020-01-19 07:43:41 -08:00
851f08b5f3 Add output to config --set 2020-01-19 00:09:36 -08:00
5e8a761675 Implement player add/remove 2020-01-19 00:03:23 -08:00
e8b209e231 Lexicon config template update for player joins 2020-01-18 23:53:26 -08:00
16c2f19ec5 Allow getattr in loaded json configs 2020-01-18 23:35:26 -08:00
d65eec12fe Update arguments for unimplemented lexicon commands 2020-01-18 17:32:19 -08:00
3a161b026c Fix imports 2020-01-18 17:20:16 -08:00
49fe15995b Add article json template 2020-01-18 17:15:56 -08:00
0b8af9f034 Minor changes 2020-01-18 17:15:38 -08:00
6c5111a067 Implement lexicon delete and list 2020-01-18 17:15:25 -08:00
45f2cbd344 Add LexiconModel.by() 2020-01-18 17:14:51 -08:00
f79e5bfd87 Make init --refresh clean up indexes 2020-01-18 17:13:41 -08:00
8e99788fcd Rname User to UserModel, revamp factory function 2020-01-18 12:39:54 -08:00
5972a309f1 Add documentation to custom errors 2020-01-18 12:19:42 -08:00
51b2bfe875 Simplify @requires 2020-01-18 11:51:54 -08:00
2a314da910 Add basis for admin lexicon config web editor 2020-01-18 01:18:54 -08:00
69524d03d7 Refactor admin check into a wrapper 2020-01-17 16:05:06 -08:00
157e1b2480 Add prompt setting 2020-01-17 15:59:10 -08:00
3122379da1 Implement lexicon-create 2020-01-17 14:43:15 -08:00
01c5df1e5d Add LexiconModel 2020-01-17 14:43:05 -08:00
34d3a08416 Move config dir init logic to config.init 2020-01-17 14:01:52 -08:00
d60340e9e9 Add index assignment settings 2020-01-17 13:22:17 -08:00
b041d5d784 Implement user-config 2020-01-17 06:58:11 -08:00
759d7d77f9 Refactor config --get/set to cli.helpers 2020-01-17 01:23:48 -08:00
3abc07eb39 Remove uneeded override 2020-01-16 23:53:55 -08:00
58911a2da4 Bring user creation entirely under user module 2020-01-16 23:49:37 -08:00
4c41407d69 Unify path argument behavior across config helpers 2020-01-16 23:27:47 -08:00
11d231aba8 Create lexicon module with publish workflow spec 2020-01-16 16:00:19 -08:00
383bc7a0eb Fix resource access 2020-01-16 11:20:22 -08:00
2c2e87209c Add default configs for lexicon and user 2020-01-16 10:53:59 -08:00
28610f6baf Add configs for future email integration 2020-01-16 06:44:53 -08:00
69eb28208e Fix css on the half-baked admin dashboard 2020-01-15 22:20:25 -08:00
67c802c67f Switch to using user getattr for configs 2020-01-15 22:12:52 -08:00
594e6f6a9e Add stubs for initial command set 2020-01-15 22:06:30 -08:00
7b6e9e644e Add @requires command wrapper 2020-01-15 21:53:45 -08:00
6429bf7d6b Enable multiline command descriptions 2020-01-15 20:36:46 -08:00
18b4f12823 Replace dump command with config get/set 2020-01-15 20:04:01 -08:00
173b306c5b Refactor cli command loading 2020-01-15 19:30:03 -08:00
db83c99b95 Split cli package into topical files 2020-01-15 18:11:09 -08:00
51d8c1a378 Make cli into a module 2020-01-15 17:40:34 -08:00
2c5a211c16 Add user-delete 2020-01-15 17:16:19 -08:00
f59716e096 Add user getattr to make config access easier 2020-01-15 17:16:09 -08:00
634c00ae53 Add admin dashboard skeleton 2020-01-15 17:15:51 -08:00
d1fcba082f Flesh out login flow with password checks 2020-01-14 19:08:54 -08:00
5031a7a5e7 Fix import in user-passwd 2020-01-14 19:07:18 -08:00
ede475f910 Add real page templates and home and logout pages 2020-01-14 16:37:51 -08:00
fcaa68850e Wire up basic user login 2020-01-13 13:06:15 -08:00
65049d8202 Dump args on verbose log 2020-01-13 12:40:43 -08:00
5d042326e9 Fix duplicate verbose logging 2020-01-13 11:48:52 -08:00
02871798a6 Minor fixes to user-add 2020-01-11 22:36:39 -08:00
02ca885599 Add user-passwd 2020-01-09 13:28:15 -08:00
9b97768438 Fill out user-add and add user-list 2020-01-08 22:48:00 -08:00
4bd7330229 Rename app package to server 2020-01-08 21:44:08 -08:00
872e055a3f Fix app pathing 2020-01-08 21:42:21 -08:00
fe0967d625 Missed adding config package to source control 2020-01-08 21:41:38 -08:00
a4fa72b072 Start submodule for server app code 2020-01-04 11:53:53 -08:00
04cb0cb696 Add basic user creation command 2020-01-03 17:07:28 -08:00
5ed084147d Make command names easier to type 2020-01-03 17:06:45 -08:00
0501b62c8b Load secret key in app 2020-01-03 17:06:18 -08:00
ed106cf787 Add secret key config and generate_secret command 2020-01-03 17:05:36 -08:00
3629f91bf4 Add --update to init 2020-01-03 09:00:08 -08:00
d614893692 Fix some names 2020-01-03 07:21:29 -08:00
7340699784 Delete obsolete file 2020-01-03 07:20:40 -08:00
81ec200928 Add skeleton run command 2020-01-02 08:17:58 -08:00
eb0ca027a9 Fix having more than one add_argument decorator 2020-01-02 08:16:58 -08:00
6e22a92b78 Rename file 2020-01-02 08:16:17 -08:00
bf27d2bdaf Add config init command 2020-01-01 18:38:22 -08:00
7a85604ece Add config init flow from a file in a config directory 2020-01-01 18:11:37 -08:00
04db9a020f Add exit to repl 2020-01-01 18:10:21 -08:00
b57631d052 Make lexicon name optional, some commands may not need it 2020-01-01 17:21:20 -08:00
e4e3e45217 Add lexicon repl 2019-12-31 13:21:19 -08:00
7f6035c0c2 Improve argument wrapper 2019-12-31 12:37:40 -08:00