Commit graph

2866 commits

Author SHA1 Message Date
Griatch
23bfa1f84e Clarified some inlinefunc docs. 2015-10-20 23:49:48 +02:00
Ahmed Charles
3188f89e47 Cleanup some logger functions which were missed in the merge conflict. 2015-10-19 22:51:49 +00:00
Griatch
c7e1a6a086 Resolved merge conflicts against master. 2015-10-20 00:07:39 +02:00
Ahmed Charles
f3498f480a If the option has a blank key and desc, do not show it.
Without this, it's impossible to have empty input go back to the current
node, without having an entry show up in the list. Trying to use
_default results in needed an additional node.
2015-10-19 23:32:13 +02:00
Ahmed Charles
9ecda0cd89 Change default formatting behaviors to functions.
Also add new functions to make it easy to get minimal changes.
2015-10-19 23:32:13 +02:00
Ahmed Charles
9b17fa450d Remove unnecessary assignment. 2015-10-19 23:32:13 +02:00
Griatch
50371b6abd Merged conflicts. 2015-10-19 23:32:00 +02:00
Ahmed Charles
48f1d0b26f Remove commented out logger calls. 2015-10-19 23:31:19 +02:00
Ahmed Charles
acdf2573b0 Printing traces to the user is usually bad.
This could, in theory, expose more information about how the server
works than would be advised, benefiting potential attackers.
2015-10-19 23:31:19 +02:00
Ahmed Charles
f890c8bddb Update logger docs. 2015-10-19 23:31:19 +02:00
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
b952a290b5 Fixed conflicts against master. 2015-10-18 12:43:43 +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
cf2d283707 Removed a debug printout. 2015-10-02 20:27:20 +02:00
Russell Jones
06c3dc0ed3 Run "futurize -1 -w -n ." 2015-10-01 20:00:28 +01: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