Commit graph

2803 commits

Author SHA1 Message Date
Ahmed Charles
bc340fbf0d Remove commented out print statements. 2015-10-19 23:31:19 +02:00
Ahmed Charles
402cbed8fa Move to python3 style next. 2015-10-19 23:31:19 +02:00
Ahmed Charles
b7577f13cd Move to python3 style exec. 2015-10-19 23:31:19 +02:00
Ahmed Charles
418ca41803 Move to python3 style raise. 2015-10-19 23:31:19 +02:00
Ahmed Charles
0384fcc63d Move to python3 style except. 2015-10-19 23:31:19 +02:00
Griatch
0493dc0b4e Added nattributes/attributes on ServerSessions as mock non-db-persistent handlers (both pointing to the same NAttributeHandler) in order to better match the API of Objects. Resolves #827. 2015-10-18 17:24:17 +02:00
Griatch
940eb02064 Resolved an outstanding bug in _format_display. 2015-10-18 11:58:20 +02:00
Griatch
36337f9853 Extended evmenu with optional callbacks for node formatting. Replaces and Resolves #826. 2015-10-18 11:58:20 +02:00
Ahmed Charles
609b1777c7 Extend EvMenu test case.
There is now a custom look command, which was not possible with the
previous implementation which used execute_cmd('look'), because that
would infinitely recurse.
2015-10-18 11:58:20 +02:00
Ahmed Charles
a9f2e33394 Change running 'look' to just displaying the node text. 2015-10-18 11:58:20 +02:00
Ahmed Charles
6619949381 Add helper functions to EvMenu. 2015-10-18 11:58:20 +02:00
Ahmed Charles
bec6cb438f Make cmd_on_quit support function callbacks as well. 2015-10-18 11:58:20 +02:00
Ahmed Charles
848f329513 Add a handle method to react to user input. 2015-10-18 11:58:20 +02:00
Ahmed Charles
5fa9978e1a Make the EvMenu docs look a little cleaner. 2015-10-18 11:58:20 +02:00
Ahmed Charles
53ec675960 Add extra space between sentences. 2015-10-18 11:58:20 +02:00
Ahmed Charles
a7db340d82 Fix idle timeouts.
The fix for rate limiting removed the code which updated cmd_last,
which is used to determine whether someone is idle.
2015-10-18 11:58:20 +02:00
Ahmed Charles
b4cc24e655 Improve help command. 2015-10-17 07:23:19 +00:00
Ahmed Charles
cba12699fd Fix typos in documentation. 2015-10-17 09:07:40 +02:00
Griatch
cd211d9901 Added a mention of the use of caller.ndb._menutree in the docs to EvMenu. 2015-10-17 09:05:49 +02:00
Griatch
0c7ee1bdfc Fixed a bug in search error reporting. Made accept to change a player's name. Closes PR: Resolves #820, Resolves #821, Resolves #822, Resolves #823. 2015-10-16 22:34:40 +02:00
Ahmed Charles
7037ac2e5f Fix typo in menusystem.py. 2015-10-16 22:23:38 +02:00
Ahmed Charles
030e252f36 The rest of Evennia uses lowercase i in UnloggedinCmdSet. 2015-10-16 22:23:38 +02:00
Ahmed Charles
3cfee6dc87 Fix comments about connection_screens.py 2015-10-16 22:23:38 +02:00
Ahmed Charles
a745a47d5a Remove extra space in comment. 2015-10-16 22:23:38 +02:00
Griatch
767cb693f3 Update settings.py 2015-10-15 17:02:10 +02:00
Griatch
f111753e0f Forcing pillow 2.9.0 for now to avoid the new forced dependencies introduced in 3.0. 2015-10-13 22:47:37 +02:00
Griatch
c191996975 Changed so that channel names can use any case. Resolves #814. 2015-10-11 19:22:14 +02:00
Griatch
90c6ade56d Made sure the command sends raw evals as raw data. Resolves #816. This removes color completely from raw evals but they will still be present if using self.msg() in the evaluation (if doing so, this particular side effect still exists too though). 2015-10-11 19:08:32 +02:00
Griatch
1348fae5a0 Reworked the flow of the data property through AMP to fix inconsistencies and make some overall cleanup of the arguments used to send AMP messages. Resolves #815. 2015-10-11 18:49:38 +02:00
Griatch
6a11da1714 A lingering wrong call to at_search_result that was missed in the previous changes. Resolves #813. 2015-10-08 10:59:21 +02:00
Griatch
7f11256fc8 Fixed a lingering bug where the call signature of a call to at_search_result from the tutorial_world was not updated properly. Resolves #809. 2015-10-01 10:30:17 +02:00
Griatch
d5f70b6524 Fixed a regression introduced in rev eb2bd8d that made the webclient fail when loading text2html. 2015-10-01 01:18:17 +02:00
Griatch
873c46ed8c Clarifying a docstring in amp.py. 2015-09-29 21:55:28 +02:00
Griatch
4bb3f7c8c0 Removing a debug in scripts. 2015-09-29 21:48:48 +02:00
Griatch
5b70a38a2e Implemented script.reset_callcount and script.restart to allow for modification of in-situ modification of the runtime characteristics of a Script. Resolves #794. 2015-09-29 21:43:03 +02:00
Griatch
f73dc81274 This concludes the translation of Evennia's docstrings to Google style. This Resolves #709. 2015-09-27 20:24:03 +02:00
Griatch
eb2bd8d44c Converted a large part of utils/ folder to google code docstrings as per #709. 2015-09-27 20:24:03 +02:00
Griatch
fc4beed9ca Made player.idle_time and player.connection_time into properties. 2015-09-27 19:59:01 +02:00
Andrew Ryan Bastien
3d36cd343a - Adding support for connection_time and idle_time methods to DefaultPlayer. 2015-09-27 19:59:01 +02:00
Griatch
5d32d4f94e Added a command recursion limit to cmdhandler, raising a clean exception if a command calls other commands to a too nested level (10 levels down, if you use commands to that nesting level you are doing something wrong anyway). See #765. 2015-09-27 13:44:06 +02:00
Griatch
9478177e55 Updated the game template to match changes from previous commit. 2015-09-27 13:08:25 +02:00
Griatch
2743f98fb0 Removed SEARCH_AT_MULTIMATCH_INPUT and SEARCH_AT_MULTIMATCH_CMD settings and connected functions - these are no longer individually overloadable. SEARCH_AT_RESULT function now handles all error reporting. Also added SEARCH_MULTIMATCH_SEPARATOR to make it easy to replace the character used to separate multi-matches (1-box, 2-box is using '-' by default), in response to #795. Also moved the default SEARCH_AT_RESULT function from the cmdparser to evennia.utils.utils. 2015-09-27 13:05:29 +02:00
Griatch
5429ede5f7 Changed how the webclient looks up the webcocket_url. This auto-lookups the url while still respecting a custom given settings.WEBSOCKET_CLIENT_URL (for proxy setups?). This means settings.WEBSOCKET_CLIENT_URL is now defaulting to None. Resolves #806. 2015-09-27 09:57:23 +02:00
Griatch
27bde5129b Fixed a simple typo bug in urls.py that made the webclient fail after latest devel merger. 2015-09-27 09:55:31 +02:00
Griatch
3cc7f614c0 Removed some more spurious code comments. 2015-09-27 02:22:34 +02:00
Griatch
a338f01598 Removing debugs. 2015-09-26 23:26:53 +02:00
Griatch
8ff1cf91dc Fixed error in language format input. 2015-09-26 23:26:07 +02:00
Griatch
3eca82ae3b Further tweaks. 2015-09-26 22:56:46 +02:00
Griatch
dd6b0cfb34 Minor textual update. 2015-09-26 22:56:28 +02:00
Griatch
38e0998ef2 More information on masked state. 2015-09-26 22:52:21 +02:00