Commit graph

7181 commits

Author SHA1 Message Date
davewiththenicehat
c5043c3a22 edit link
Provided an edit link if the help entry can be edited on the website and the user is staff.
2021-06-19 18:13:13 -04:00
davewiththenicehat
8eb7ffa70b sethelp db help entry creation fix, @laxy_property removed
evennia.web.website.tests all pass
evennia.commands.default.tests.TestHelp all pass (sethelp command test is in that unit test)
2021-06-16 08:59:44 -04:00
davewiththenicehat
a661e4801b text update
All evennia.web.website.tests pass.
2021-06-15 17:11:51 -04:00
davewiththenicehat
787ef8c068 text cleanup
All evennia.web.website.tests pass.
2021-06-15 16:54:41 -04:00
davewiththenicehat
7336957e9d HelpDetailView object cache
Created a cache for the object (target of the help request) in a HelpDetailView.
This reduces the call of DetailView.get_object by three or four times. Which also reduces the number of DetailView.get_queryset calls by the same amount.
Unit test created. To verify requesting a new object does not return the result from a previous request.
2021-06-11 09:27:37 -04:00
davewiththenicehat
b42456c83c HelpMixin, model attr no longer required 2021-06-08 08:45:06 -04:00
davewiththenicehat
b92ebcafe1 HelpDetailView unit test 2021-06-08 08:40:31 -04:00
davewiththenicehat
4cd721ad79 cleanup 2021-06-05 21:18:49 -04:00
davewiththenicehat
3bcdff2c34 get_help_category bugfix 2021-06-05 21:10:39 -04:00
davewiththenicehat
4d9308b1d0 cleanup
A lot of misc cleanup.
Docstring updates.
Removed code that is not required.
2021-06-05 21:00:19 -04:00
davewiththenicehat
5caaf149f4 account plus all puppets commands help entries 2021-06-05 19:24:27 -04:00
davewiththenicehat
4c0fcfbaf6 DetailView entry text spacing & ascii fix 2021-06-05 10:42:09 -04:00
davewiththenicehat
2e351b7fab ListView category grouping fix 2021-06-05 10:06:33 -04:00
davewiththenicehat
6d7755976e card header fix
card header fix
2021-06-05 08:32:38 -04:00
davewiththenicehat
86bd79d7ec DetailView sub title bread crumbs addded
DetailView sub title bread crumbs addded for command and file help
2021-06-04 17:35:50 -04:00
davewiththenicehat
9eb1c0532f file and command help web support, proof of concept
Not fleshed enough for a prototype. Is a working proof of concept.
Adds command help and file help entries to the website.
2021-06-04 16:24:51 -04:00
Griatch
d7b66eecca Update help entry docs with clarifications 2021-05-30 21:22:45 +02:00
Griatch
68df7b3a91 Update game_template' with help changes 2021-05-30 21:02:34 +02:00
Griatch
201e567e34 Run migrations. Changed HelpEntry 'view' locks to use 'read' instead, leaving 'view' to control what is seen in index. 2021-05-30 20:38:10 +02:00
Griatch
b050656319 Add lock-handling to FileHelp, add warnings to sethelp 2021-05-30 20:17:46 +02:00
Griatch
0fb29073b2 Add locks to filehelp entities. Test view/read locks 2021-05-30 10:59:36 +02:00
Griatch
905cc78069 Merge branch 'master' into develop 2021-05-30 09:19:27 +02:00
Griatch
18167e0d2c Merge pull request #2422 from darkruinsMUD/fix-account-priv-check-in-who
Fix priv check when displaying names in CmdWho
2021-05-30 09:18:53 +02:00
Griatch
52ada8fa80 Merge branch 'master' into develop 2021-05-30 09:15:49 +02:00
Griatch
4f4a0ef479 Merge pull request #2421 from timgates42/bugfix_typos
docs: fix a few simple typos
2021-05-30 09:15:25 +02:00
Griatch
91ae14cf18 Update i18n docs 2021-05-29 18:33:46 +02:00
Griatch
7147e3e027 Prepare all .po files for updating by volunteers 2021-05-29 18:30:20 +02:00
Griatch
ecf757ba7c Compile .mo files 2021-05-29 17:30:20 +02:00
Griatch
d482d2bec0 Clean up help-entry display a bit 2021-05-29 16:10:54 +02:00
Griatch
c7fb61de0f Update doc strings 2021-05-29 13:53:11 +02:00
Griatch
f73eec1a34 Fix typo in unittest 2021-05-29 13:39:46 +02:00
Griatch
8837b93dd2 Update localization 2021-05-29 13:22:19 +02:00
Griatch
7ff8cbb341 I18n string cleanup and refactoring 2021-05-27 17:37:26 +02:00
Griatch
59dd0b007a Update HaProxy document, move server/admin to correct place 2021-05-26 20:12:19 +02:00
Alex Hunley
408b0a9132 Fix priv check when displaying names in CmdWho 2021-05-24 17:48:22 -04:00
Griatch
d4f61f1a14 Pep8 fixes 2021-05-24 23:38:02 +02:00
Tim Gates
ff078945f8 docs: fix a few simple typos
There are small typos in:
- CODING_STYLE.md
- evennia/commands/cmdhandler.py
- evennia/commands/default/syscommands.py
- evennia/contrib/building_menu.py
- evennia/prototypes/prototypes.py

Fixes:
- Should read `traverse` rather than `traverese`.
- Should read `shortcuts` rather than `shorcuts`.
- Should read `multiple` rather than `multuple`.
- Should read `multiple` rather than `mulitple`.
- Should read `indentation` rather than `indendation`.

Closes #2420
2021-05-24 05:54:56 +10:00
Griatch
4250ca1a29 Add api customization templates 2021-05-23 18:27:50 +02:00
Griatch
cc9f42a398 Add helpentry api 2021-05-23 15:16:55 +02:00
Griatch
87e0796f05 Customize api and add redoc autodocs 2021-05-23 13:12:07 +02:00
Griatch
43d678d8ca Fix bugs in API perm checking 2021-05-23 00:42:30 +02:00
Griatch
07f994ce91 Cleaned up default website css. Renamed app.css to website.css' 2021-05-23 00:18:27 +02:00
Griatch
b1b26bf489 More admin cleanup and doc writing 2021-05-22 20:12:48 +02:00
Griatch
b95ec69d66 Change url() to path() 2021-05-22 16:29:13 +02:00
Griatch
4bea4d5703 Continue documentation of web components 2021-05-22 16:11:48 +02:00
Griatch
72e9fd6fd1 Fix admin rerouter, start new web docs 2021-05-21 16:42:59 +02:00
Griatch
73f73f2473 Add get_all_cmdsets` helper inspired by work by user trhr in unmerged PR 2021-05-21 15:22:35 +02:00
Griatch
12a251cdcc More admin sorting/list cleanup 2021-05-21 00:37:14 +02:00
Griatch
1bdcafcef4 Migrating models, many admin tweaks 2021-05-20 23:43:46 +02:00
Griatch
a7f1e24c9c Add account-object link button to admin 2021-05-20 22:55:26 +02:00