Commit graph

452 commits

Author SHA1 Message Date
InspectorCaracal
4224feb25d preserve output whitespace 2022-04-03 16:18:09 -06:00
Griatch
bd3e31bf3c Run black reformatter on code 2022-02-08 13:03:52 +01:00
Griatch
f7c01c2ee4 Clean up admin frontpage 2022-02-05 01:13:41 +01:00
Griatch
b76c5d2bab Up min versions to py3.9, Django 4 2022-02-04 23:24:48 +01:00
Griatch
5859de7054 Change to use super() instead of the old py2 style everywhere 2022-01-26 21:51:55 +01:00
Griatch
19f920b6d4 Clean up all test suites 2022-01-07 16:12:12 +01:00
Griatch
541e5a116a Fix all unit tests for contribs 2021-12-19 20:39:46 +01:00
Griatch
a0c70ce465 Add webclient browser name identifier. Resolve #1650 2021-11-03 20:09:47 +01:00
Griatch
3474ffa008 Include error messages in form. Resolve #2368 2021-11-02 21:21:31 +01:00
Griatch
36e985557f Rename all at_before/after hooks to at_pre/post. Old names still work but are deprecated. Resolves #1454. 2021-10-31 22:18:58 +01:00
Griatch
063c44f38d Add SERVER_HOSTNAME setting. Update website index to show telnet connect info 2021-10-31 10:38:38 +01:00
Griatch
8e382d9383 Resolve merge conflicts 2021-10-02 19:20:58 +02:00
Griatch
d6ddbd5704 Lower maxnum of channel lines for web display 2021-10-02 19:16:47 +02:00
Griatch
5795ba1e91 Merge branch 'master' into develop 2021-08-13 15:24:13 +02:00
luciensadi
819097fdde Update evennia.js
Fix for misplaced parens-- previous code checked 'is the output of `typeof(listener === 'function')` truthy', which is equivalent of `typeof(boolean)` which is always true.
2021-08-09 10:13:59 -07:00
Griatch
a504c1a143 Fix wrong form type in Script admin. Resolve #2463. 2021-08-03 22:05:31 +02:00
Griatch
6e94d16ac2 Merge branch 'issue-2461' of https://github.com/GulliblePsychologist/evennia into GulliblePsychologist-issue-2461 2021-07-26 22:12:14 +02:00
Griatch
52704d7c93 Make web help topics lowercase for proper sorting 2021-07-26 22:05:26 +02:00
GulliblePsychologist
ed7bccf4b3 Fixes #2461 2021-06-28 12:01:53 +01:00
GulliblePsychologist
fce3023bae Fixes #2461 2021-06-28 11:55:07 +01:00
davewiththenicehat
9b793fc845 edit link goes to admin url for entry
edit link goes to admin url for entry
2021-06-19 19:31:04 -04:00
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
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
c7fb61de0f Update doc strings 2021-05-29 13:53:11 +02:00
Griatch
8837b93dd2 Update localization 2021-05-29 13:22:19 +02:00
Griatch
59dd0b007a Update HaProxy document, move server/admin to correct place 2021-05-26 20:12:19 +02: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