Commit graph

6491 commits

Author SHA1 Message Date
Griatch
f9a736ef1d More debug output 2021-02-27 18:04:02 +01:00
Griatch
e8302f46d3 More experimentation with module reloading 2021-02-27 17:31:30 +01:00
Griatch
a7bb763290 More testing with importlib 2021-02-27 14:33:29 +01:00
Griatch
455c016c95 Debug output for doc build 2021-02-27 14:25:17 +01:00
Griatch
4cefba6e3b More fixes 2021-02-27 14:13:42 +01:00
Griatch
aefe2b070f Fix additional things needed for stand-alone import of evennia lib 2021-02-27 14:12:39 +01:00
Griatch
12933520b8 Tweak search manager import for doc build 2021-02-27 13:57:58 +01:00
Griatch
63a2b3b1aa Fix typo in doc conf 2021-02-27 13:53:53 +01:00
Griatch
6d0e85492d Fix doc conf build for multiversion 2021-02-27 13:48:11 +01:00
Griatch
d100c250d5 Resolve merge conflict 2021-02-27 13:45:04 +01:00
Griatch
e6f0439d31 Update makefile from develop 2021-02-24 23:25:46 +01:00
Griatch
af88ccfd61 Fix typo in conf 2021-02-24 23:20:13 +01:00
Griatch
1c80618397 Correct evpath variable 2021-02-24 23:16:41 +01:00
Griatch
b17cb58846 More debug output during doc build 2021-02-24 23:12:28 +01:00
Griatch
7d78c20a5a Another doc adjustment 2021-02-24 22:41:15 +01:00
Griatch
ab8cb7ef77 More tests for doc building 2021-02-24 22:35:04 +01:00
Griatch
cadbc0ba0a Start adding chargen 2021-02-24 22:32:54 +01:00
Griatch
d8535fad4e Merge pull request #2291 from tim-chaplin/fix_start_location
Fix settings.START_LOCATION behavior
2021-01-30 13:11:27 +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
152e86a7f3 Don't override location passed through kwargs 2021-01-18 16:37:20 -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
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
4201ee9cdb Merge pull request #2293 from tim-chaplin/editor_no_north
Increase SaveYesNoCmdSet priority to 150
2021-01-18 21:32:05 +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
5ac9196acb Make ExitCommand inherit from settings.COMMAND_DEFAULT_CLASS
See 9923a0763d.
2020-12-27 14:01:31 -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
DegenerateTriangle
bd868f9a13 Revert "Update .gitignore"
This reverts commit 6d70182d53.
2020-12-25 17:25:30 -05:00
DegenerateTriangle
6d70182d53 Update .gitignore 2020-12-25 17:22:23 -05:00
DegenerateTriangle
1652b45667 Honor START_LOCATION in default account creation.
Currently START_LOCATION is only honored by the "charcreate" command, which is unintuitive.
2020-12-25 17:22:18 -05:00
Griatch
f39dcb8786 Correctly rename config file 2020-12-16 09:34:04 +01:00
Griatch
7206e5e0b9 Test some additional discussion links 2020-12-16 09:31:30 +01:00
Griatch
0be2c78b46 Update documentation-issue.md
Clarified template a little.
2020-12-16 09:21:56 +01:00
Griatch
d865535987 Update bug-report.md
Clarified the form a little
2020-12-16 09:16:27 +01:00
Griatch
bbfae81e22 Fix django-extensions add 2020-12-09 16:45:53 +01:00
Griatch
ca78155aca Merge pull request #2255 from kcoram/fix-accounts-null-errors
Add null checking when getting puppet from session
2020-11-21 18:17:24 +01:00
Kevin C. Coram
b555fd10bb Add null checking when getting puppet from session
When account.execute_cmd() is called without an explicit session
argument for a server using MULTISESSION_MODE 2 or 3, it does not
know which session to use and may leave it None. Downstream, code
attempting to get the puppet from the session can fail with an
error because of the None session.

This change adds in checking for the None session, and sets the puppet
to None if there is no session defined.
2020-11-17 15:06:19 +00:00
Griatch
26b2eb56a0 Customize index set 2020-11-14 19:15:24 +01:00
Griatch
61162bd4d2 Update changelog 2020-11-14 16:06:05 +01:00
Griatch
43845560c5 Change build sourse for master 2020-11-14 13:38:06 +01:00
Griatch
815c82607c Minor fix for logging 2020-11-13 22:52:50 +01:00
Griatch
307716a4cd Don't allow 3-box with only two boxes in room. Resolve #2206. 2020-11-13 20:59:49 +01:00
Griatch
975e98766e Better handle multimatch index out of scope. Resolve #2207. 2020-11-13 20:39:44 +01:00
Griatch
8356c8f901 Fix .obj transfer for nested cmdset. Resolves #2221. 2020-11-12 23:23:49 +01:00
Griatch
3bee981cff Delay import of module-prototypes to avoid init-clash. Resolves #2232. 2020-11-12 22:28:14 +01:00
Griatch
e4b1e1c9aa Better handle error when trying to add ticker with subsecond interval. Resolves #2235 2020-11-12 22:01:24 +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
b7b2872f43 Fix profunc parse and html tabs. Resolve #2246 2020-11-11 00:41:58 +01:00
Griatch
4dd2e71448 Fix traceback in MULTISESSION_MODE=3 for empty ic. Resolves #2250 2020-11-10 22:54:09 +01:00