Commit graph

840 commits

Author SHA1 Message Date
Griatch
773bb31f55 Replace inlinefunc parser with FuncParser mostly 2021-03-17 23:44:08 +01:00
Griatch
f445f34356 Add simple_parser dependency. Extend/test new funcparser 2021-03-17 17:02:53 +01:00
Griatch
377a25f9e8 Add and start testing of new central funcparser 2021-03-14 23:54:53 +01:00
Griatch
32d7a4782c Resolve merge conflicts 2021-03-14 17:29:48 +01:00
Griatch
9c2268d3d1 Some cleanup of new repeat() docstring 2021-03-07 18:02:16 +01:00
Griatch
e1762c8b2f Update scripts command, Scripts documentation 2021-03-07 17:41:48 +01:00
Griatch
b5195a6e96 [feat] Script refactor; decouple timer component from script lifetime. Resolve #1715 2021-03-07 10:34:01 +01:00
Griatch
5aed34c844 Make evennia lib importable without created gamedir 2021-02-27 13:39:14 +01:00
Griatch
2227f16e17 Make evennia doc-build not require gamedir 2021-02-25 08:52:52 +01:00
Griatch
dc64e719b5 Merge branch 'master' into develop 2021-01-30 13:13:00 +01:00
Griatch
634199c60b Merge pull request #2299 from tim-chaplin/fix_time_test
Fix test_gametime.py for non-UTC servers
2021-01-30 13:09:19 +01:00
Tim Chaplin
e848b9162b Replace absolute timestamps in test_gametime with local datetimes 2021-01-18 17:00:23 -05:00
Tim Chaplin
5cfdfe95a6 Revert "Make gametime use timezone-aware datetimes"
This reverts commit 1716944875.
2021-01-18 15:53:50 -05:00
Griatch
d88431b8d3 Merge branch 'master' into develop 2021-01-18 21:35:48 +01:00
Griatch
0fb1e9463a Merge pull request #2292 from tim-chaplin/command_class
Make more commands honor settings.COMMAND_DEFAULT_CLASS
2021-01-18 21:35:23 +01:00
Griatch
ddf13aaf17 Merge branch 'master' into develop 2021-01-18 21:32:53 +01:00
Tim Chaplin
1716944875 Make gametime use timezone-aware datetimes
This fixes evennia.utils.tests.test_gametime; datetime.fromtimestamp assumes the current system's timezone, so some of the unit tests currently fail if the system's timezone is set to EST (on Windows).
2020-12-30 15:30:52 -05:00
Tim Chaplin
a1830caeec Increase SaveYesNoCmdSet priority to 150
Fixes a bug where typing "n" in a room with a "north" exit goes north instead of closing the editor when prompted.
2020-12-27 13:52:52 -05:00
Tim Chaplin
9923a0763d Make more commands honor settings.COMMAND_DEFAULT_CLASS
As suggested in mygame\commands\command.py, I'm overriding COMMAND_DEFAULT_CLASS in settings.py to try to make sweeping changes. Having certain commands inherit directly from the base Command class thwarts this.

The only difference between Command and MuxCommand is that MuxCommand defines some custom parsing, but that's overridden by these commands anyway, so there should be no practical difference.

The import change in game_template/commands/command.py was required to fix an exception on server reload caused by the channelhandler.py change (I guess something to do with import order?)
2020-12-27 11:45:25 -05:00
Griatch
f7cce4ad10 Add crafting contrib 2020-11-28 18:16:00 +01:00
Griatch
50779ee84d Fix error that did not let Session base beoverloaded correctly 2020-11-24 18:38:43 +01:00
Griatch
e930bd4ff1 Fix doc header for better build 2020-11-14 11:53:15 +01:00
Griatch
cc809dd7e8 Minor fix for logging 2020-11-13 22:53:13 +01:00
Griatch
815c82607c Minor fix for logging 2020-11-13 22:52:50 +01:00
Griatch
126dd135cb Fix an inconsistency in category-refresh for empty string, related to #2236 2020-11-12 20:46:53 +01:00
Griatch
0e8c979134 Fix profunc parse and html tabs. Resolve #2246 2020-11-11 00:42:15 +01:00
Griatch
b7b2872f43 Fix profunc parse and html tabs. Resolve #2246 2020-11-11 00:41:58 +01:00
Griatch
fd1ef7e9eb Changing tab characters for webclient. Resolve #2239. 2020-11-01 19:10:48 +01:00
Griatch
99aba2e4c9 Changing tab characters for webclient. Resolve #2239. 2020-11-01 19:10:00 +01:00
Griatch
91e2e68291 Optimize _Saverdict.update that caused issues for webclient option update (#2224) 2020-11-01 11:32:12 +01:00
Griatch
6f3548eea9 Optimize _Saverdict.update that caused issues for webclient option update (#2224) 2020-11-01 11:19:14 +01:00
Griatch
668551a0d5 Handle webclient tabs; refactor html regex structure a little 2020-10-31 23:39:27 +01:00
Griatch
965dffa2b7 Handle webclient tabs; refactor html regex structure a little 2020-10-31 23:38:40 +01:00
Griatch
a18224373e Fix ANSIString parsing on partial slice from start/end of string. Resolve #2205. 2020-10-26 21:53:28 +01:00
Griatch
5fa7c62687 Fix ANSIString parsing on partial slice from start/end of string. Resolve #2205. 2020-10-26 21:45:14 +01:00
Griatch
5c109942d7 Expand EvForm unit tests for #2205 2020-10-21 22:44:48 +02:00
Griatch
ea68f165d8 Expand EvForm unit tests for #2205 2020-10-21 22:44:31 +02:00
Griatch
8b28900600 Ran black on sources 2020-10-21 21:11:04 +02:00
Griatch
9238a9bb58 Fix docstring formatting 2020-10-19 22:01:44 +02:00
Griatch
e07f9720bd Improve doc on EvMenu goto-callable callsigns 2020-10-16 00:54:40 +02:00
Griatch
b449ebe3d4 Fix style to Keyword Args 2020-10-12 21:13:06 +02:00
Griatch
26f8ba3f71 Fixed all links 2020-10-11 19:31:05 +02:00
Griatch
d4f1733bc7 Update docstrings to pass autodoc parsing 2020-10-11 17:15:30 +02:00
Griatch
90a1a0cba8 Resolve merge conflicts 2020-10-08 23:35:31 +02:00
Griatch
d414cc3ccd Start add docs again 2020-10-08 21:45:18 +02:00
Griatch
ef13565b76 Fix edge case in kwarg parsing for template 2020-10-04 21:27:42 +00:00
Griatch
1746aaf06b Final unit tests for evmenu templating 2020-10-04 21:26:07 +02:00
Griatch
abeace4e9e Complete tutorial-intro menu 2020-10-04 19:11:59 +02:00
Griatch
32a13b63e7 More nodes to menu-tutorial contrib 2020-10-04 15:53:37 +02:00
Griatch
88ae4041eb Automatic cleanup of evmenu-template storage 2020-10-03 23:51:54 +02:00