Commit graph

6465 commits

Author SHA1 Message Date
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
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
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
Griatch
43e2b0aba3 Update docs with better markup 2020-11-10 19:48:18 +01:00
Griatch
0fbffd7962 Update docs 2020-11-10 19:26:02 +01:00
Griatch
99aba2e4c9 Changing tab characters for webclient. Resolve #2239. 2020-11-01 19:10:00 +01:00
Griatch
a63be0a416 Make service/start/stop handle errors better. Resolve #2237. 2020-11-01 17:38:49 +01:00
Griatch
17dfcd4ed5 Better report of tracebacks across AMP bridge, sort of related to #2240 2020-11-01 16:13:02 +01:00
Griatch
78dce264a5 Update line number in doc ref. Resolves #2242. 2020-11-01 12:13:51 +01:00
Griatch
17fa0b8930 Merge branch 'friarzen-master' 2020-11-01 11:49:19 +01:00
Griatch
6f3548eea9 Optimize _Saverdict.update that caused issues for webclient option update (#2224) 2020-11-01 11:19:14 +01:00
Griatch
965dffa2b7 Handle webclient tabs; refactor html regex structure a little 2020-10-31 23:38:40 +01:00
Griatch
7311d52246 Merge branch 'master' of https://github.com/friarzen/evennia into friarzen-master 2020-10-31 21:50:40 +01:00
Griatch
00594e064d Minor cleanup in contributing-docs page 2020-10-31 19:50:51 +01:00
Brenden Tuck
aad8c9aace Fix codacy-fixes induced store/retrieve bug 2020-10-29 00:16:58 -04:00
Griatch
0e2e8687a7 Merge pull request #2245 from friarzen/history_bugfix
History bugfix
2020-10-28 23:00:11 +01:00
Brenden Tuck
5017244daa Remove -modified behavior in favor of explicit saves 2020-10-28 10:56:58 -04:00
Brenden Tuck
0408d30053 Fix text save bug #2233 2020-10-28 08:57:41 -04:00
Brenden Tuck
782a74f036 Merge branch 'master' of https://github.com/evennia/evennia 2020-10-26 18:06:33 -04: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
9bb0c77a74 Include webclient info in protocol_flags 2020-10-24 10:58:45 +02:00
Griatch
5c109942d7 Expand EvForm unit tests for #2205 2020-10-21 22:44:48 +02:00
Griatch
8b28900600 Ran black on sources 2020-10-21 21:11:04 +02:00
Griatch
7939e3cde3 Update CHANGELOG 2020-10-19 23:08:45 +02:00
Griatch
c123824029 Set latest link correctly 2020-10-19 08:56:19 +02:00
Griatch
20886a4fc5 Merge pull request #2234 from strikaco/clientheight
Adds client_height() method to Command.
2020-10-18 23:11:40 +02:00
Griatch
feb5b22cab Fix css width of document class 2020-10-18 02:03:56 +02:00
Griatch
e07f9720bd Improve doc on EvMenu goto-callable callsigns 2020-10-16 00:54:40 +02:00
Johnny
1f8f99a580 Adds client_height() method to Command. 2020-10-15 00:56:54 +00:00