Commit graph

7181 commits

Author SHA1 Message Date
davewiththenicehat
ac4e900703 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
d2f410ee26 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
b65a3ab1db text update
All evennia.web.website.tests pass.
2021-06-15 17:11:51 -04:00
davewiththenicehat
c8e14c05cc text cleanup
All evennia.web.website.tests pass.
2021-06-15 16:54:41 -04:00
davewiththenicehat
51b1d3a814 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
407d224a07 HelpMixin, model attr no longer required 2021-06-08 08:45:06 -04:00
davewiththenicehat
b80403ebc1 HelpDetailView unit test 2021-06-08 08:40:31 -04:00
davewiththenicehat
bcec7a1ec0 cleanup 2021-06-05 21:18:49 -04:00
davewiththenicehat
5e8a632e9e get_help_category bugfix 2021-06-05 21:10:39 -04:00
davewiththenicehat
93c673540f cleanup
A lot of misc cleanup.
Docstring updates.
Removed code that is not required.
2021-06-05 21:00:19 -04:00
davewiththenicehat
fa5d152b51 account plus all puppets commands help entries 2021-06-05 19:24:27 -04:00
davewiththenicehat
2f1fa20cd9 DetailView entry text spacing & ascii fix 2021-06-05 10:42:09 -04:00
davewiththenicehat
be0ca4dc88 ListView category grouping fix 2021-06-05 10:06:33 -04:00
davewiththenicehat
df6f2942ef card header fix
card header fix
2021-06-05 08:32:38 -04:00
davewiththenicehat
7f2dd7f4ec 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
2fe14ebcbc 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
eef840efbf Update help entry docs with clarifications 2021-05-30 21:22:45 +02:00
Griatch
1899bf4a71 Update game_template' with help changes 2021-05-30 21:02:34 +02:00
Griatch
e2ea5bd28c 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
2e67f9d700 Add lock-handling to FileHelp, add warnings to sethelp 2021-05-30 20:17:46 +02:00
Griatch
69adf76469 Add locks to filehelp entities. Test view/read locks 2021-05-30 10:59:36 +02:00
Griatch
a08fa51dc7 Merge branch 'master' into develop 2021-05-30 09:19:27 +02:00
Griatch
c6cbe28985
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
34a19ea6c0 Merge branch 'master' into develop 2021-05-30 09:15:49 +02:00
Griatch
8528bc9a7c
Merge pull request #2421 from timgates42/bugfix_typos
docs: fix a few simple typos
2021-05-30 09:15:25 +02:00
Griatch
e671743a48 Update i18n docs 2021-05-29 18:33:46 +02:00
Griatch
857933039c Prepare all .po files for updating by volunteers 2021-05-29 18:30:20 +02:00
Griatch
d8beb7ee00 Compile .mo files 2021-05-29 17:30:20 +02:00
Griatch
7c66fbfad9 Clean up help-entry display a bit 2021-05-29 16:10:54 +02:00
Griatch
6109c37178 Update doc strings 2021-05-29 13:53:11 +02:00
Griatch
4968a4e63a Fix typo in unittest 2021-05-29 13:39:46 +02:00
Griatch
4c260ad507 Update localization 2021-05-29 13:22:19 +02:00
Griatch
7aa4c6ad7c I18n string cleanup and refactoring 2021-05-27 17:37:26 +02:00
Griatch
3f9e330b07 Update HaProxy document, move server/admin to correct place 2021-05-26 20:12:19 +02:00
Alex Hunley
c3b1689210 Fix priv check when displaying names in CmdWho 2021-05-24 17:48:22 -04:00
Griatch
16e30ab2f5 Pep8 fixes 2021-05-24 23:38:02 +02:00
Tim Gates
6d4bcd8ba9
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
407a5642c4 Add api customization templates 2021-05-23 18:27:50 +02:00
Griatch
231deab392 Add helpentry api 2021-05-23 15:16:55 +02:00
Griatch
8b834a6016 Customize api and add redoc autodocs 2021-05-23 13:12:07 +02:00
Griatch
cc6dc0f144 Fix bugs in API perm checking 2021-05-23 00:42:30 +02:00
Griatch
6e2cc68442 Cleaned up default website css. Renamed app.css to website.css' 2021-05-23 00:18:27 +02:00
Griatch
6111a2e690 More admin cleanup and doc writing 2021-05-22 20:12:48 +02:00
Griatch
2d25dd5d71 Change url() to path() 2021-05-22 16:29:13 +02:00
Griatch
9e0d9043f0 Continue documentation of web components 2021-05-22 16:11:48 +02:00
Griatch
c605812ca5 Fix admin rerouter, start new web docs 2021-05-21 16:42:59 +02:00
Griatch
15ae6e0a19 Add get_all_cmdsets` helper inspired by work by user trhr in unmerged PR 2021-05-21 15:22:35 +02:00
Griatch
8e78d0be87 More admin sorting/list cleanup 2021-05-21 00:37:14 +02:00
Griatch
460d1f1125 Migrating models, many admin tweaks 2021-05-20 23:43:46 +02:00
Griatch
cf23ad3c7f Add account-object link button to admin 2021-05-20 22:55:26 +02:00