Commit graph

  • c51ccd5bc7 Typo in objects.py. Ahmed Charles 2015-10-29 14:26:42 -07:00
  • ecd68ccb7d Fix typo in comment. Ahmed Charles 2015-10-27 14:24:29 -07:00
  • 9d3ce1e8f0 Call at_server_shutdown, at reset/shutdown for scripts. Ahmed Charles 2015-10-27 01:34:58 +00:00
  • 726e505311 Add look() on DefaultPlayer. Ahmed Charles 2015-10-24 02:32:08 +00:00
  • 15e0e479d1 Fix bug in examine. Ahmed Charles 2015-10-24 08:12:42 +00:00
  • caddb8b79b Add look() on DefaultObject. Ahmed Charles 2015-10-23 23:04:38 +00:00
  • 53227cda3e Add for_contents() which runs a function on an object's contents. Ahmed Charles 2015-10-24 00:54:57 +00:00
  • 8a66fc40a9 Use with_metaclass from future.utils for python3 compat. Ahmed Charles 2015-10-23 02:02:43 +00:00
  • 79437c0e48 Move guest login to a separate function. Ahmed Charles 2015-10-23 00:11:01 +00:00
  • c6b6edf7f7 Don't execute_cmd("quit"), just disconnect. Ahmed Charles 2015-10-22 21:09:55 +00:00
  • cd23c6c056 Indent docs properly. Ahmed Charles 2015-10-22 14:58:10 -07:00
  • ab8ea3d75d Remove unused import. Ahmed Charles 2015-10-22 18:27:28 +00:00
  • 23bfa1f84e Clarified some inlinefunc docs. Griatch 2015-10-20 23:49:48 +02:00
  • 3188f89e47 Cleanup some logger functions which were missed in the merge conflict. Ahmed Charles 2015-10-19 22:51:36 +00:00
  • c7e1a6a086 Resolved merge conflicts against master. Griatch 2015-10-20 00:07:39 +02:00
  • f3498f480a If the option has a blank key and desc, do not show it. Ahmed Charles 2015-10-19 08:45:12 +00:00
  • 9ecda0cd89 Change default formatting behaviors to functions. Ahmed Charles 2015-10-19 08:25:58 +00:00
  • 9b17fa450d Remove unnecessary assignment. Ahmed Charles 2015-10-19 03:11:31 +00:00
  • 50371b6abd Merged conflicts. Griatch 2015-10-19 23:32:00 +02:00
  • 48f1d0b26f Remove commented out logger calls. Ahmed Charles 2015-10-18 23:28:02 +00:00
  • acdf2573b0 Printing traces to the user is usually bad. Ahmed Charles 2015-10-19 01:11:00 +00:00
  • f890c8bddb Update logger docs. Ahmed Charles 2015-10-18 16:21:22 -07:00
  • bc340fbf0d Remove commented out print statements. Ahmed Charles 2015-10-18 23:09:42 +00:00
  • 402cbed8fa Move to python3 style next. Ahmed Charles 2015-10-18 22:32:05 +00:00
  • b7577f13cd Move to python3 style exec. Ahmed Charles 2015-10-18 22:27:39 +00:00
  • 418ca41803 Move to python3 style raise. Ahmed Charles 2015-10-18 22:24:25 +00:00
  • 0384fcc63d Move to python3 style except. Ahmed Charles 2015-10-18 21:45:54 +00:00
  • 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. Griatch 2015-10-18 17:24:17 +02:00
  • b952a290b5 Fixed conflicts against master. Griatch 2015-10-18 12:43:43 +02:00
  • 940eb02064 Resolved an outstanding bug in _format_display. Griatch 2015-10-18 11:52:16 +02:00
  • 36337f9853 Extended evmenu with optional callbacks for node formatting. Replaces and Resolves #826. Griatch 2015-10-18 11:06:19 +02:00
  • 609b1777c7 Extend EvMenu test case. Ahmed Charles 2015-10-18 01:15:17 +00:00
  • a9f2e33394 Change running 'look' to just displaying the node text. Ahmed Charles 2015-10-18 00:30:18 +00:00
  • 6619949381 Add helper functions to EvMenu. Ahmed Charles 2015-10-18 00:14:28 +00:00
  • bec6cb438f Make cmd_on_quit support function callbacks as well. Ahmed Charles 2015-10-18 00:13:47 +00:00
  • 848f329513 Add a handle method to react to user input. Ahmed Charles 2015-10-17 20:54:40 +00:00
  • 5fa9978e1a Make the EvMenu docs look a little cleaner. Ahmed Charles 2015-10-17 19:44:20 +00:00
  • 53ec675960 Add extra space between sentences. Ahmed Charles 2015-10-17 22:43:25 +00:00
  • a7db340d82 Fix idle timeouts. Ahmed Charles 2015-10-17 23:33:33 +00:00
  • b4cc24e655 Improve help command. Ahmed Charles 2015-10-16 19:42:42 +00:00
  • cba12699fd Fix typos in documentation. Ahmed Charles 2015-10-16 15:26:42 -07:00
  • cd211d9901 Added a mention of the use of caller.ndb._menutree in the docs to EvMenu. Griatch 2015-10-17 09:05:49 +02:00
  • 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. Griatch 2015-10-16 22:34:40 +02:00
  • 7037ac2e5f Fix typo in menusystem.py. Ahmed Charles 2015-10-16 12:19:33 -07:00
  • 030e252f36 The rest of Evennia uses lowercase i in UnloggedinCmdSet. Ahmed Charles 2015-10-16 17:25:50 +00:00
  • 3cfee6dc87 Fix comments about connection_screens.py Ahmed Charles 2015-10-16 17:17:32 +00:00
  • a745a47d5a Remove extra space in comment. Ahmed Charles 2015-10-16 09:47:55 -07:00
  • 767cb693f3 Update settings.py Griatch 2015-10-15 17:02:10 +02:00
  • f111753e0f Forcing pillow 2.9.0 for now to avoid the new forced dependencies introduced in 3.0. Griatch 2015-10-13 22:47:37 +02:00
  • c191996975 Changed so that channel names can use any case. Resolves #814. Griatch 2015-10-11 19:22:14 +02:00
  • 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). Griatch 2015-10-11 19:08:32 +02:00
  • 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. Griatch 2015-10-11 18:49:38 +02:00
  • 6a11da1714 A lingering wrong call to at_search_result that was missed in the previous changes. Resolves #813. Griatch 2015-10-08 10:59:21 +02:00
  • cf2d283707 Removed a debug printout. Griatch 2015-10-02 20:27:20 +02:00
  • 06c3dc0ed3 Run "futurize -1 -w -n ." Russell Jones 2015-10-01 20:00:28 +01:00
  • 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. Griatch 2015-10-01 10:30:17 +02:00
  • d5f70b6524 Fixed a regression introduced in rev eb2bd8d that made the webclient fail when loading text2html. Griatch 2015-10-01 01:18:17 +02:00
  • 873c46ed8c Clarifying a docstring in amp.py. Griatch 2015-09-29 21:55:28 +02:00
  • 4bb3f7c8c0 Removing a debug in scripts. Griatch 2015-09-29 21:48:48 +02:00
  • 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. Griatch 2015-09-29 21:43:03 +02:00
  • f73dc81274 This concludes the translation of Evennia's docstrings to Google style. This Resolves #709. Griatch 2015-09-27 20:23:49 +02:00
  • eb2bd8d44c Converted a large part of utils/ folder to google code docstrings as per #709. Griatch 2015-09-27 19:51:54 +02:00
  • fc4beed9ca Made player.idle_time and player.connection_time into properties. Griatch 2015-09-27 19:58:50 +02:00
  • 3d36cd343a - Adding support for connection_time and idle_time methods to DefaultPlayer. Andrew Ryan Bastien 2015-09-27 13:34:08 -04:00
  • 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. Griatch 2015-09-27 13:44:06 +02:00
  • 9478177e55 Updated the game template to match changes from previous commit. Griatch 2015-09-27 13:08:25 +02:00
  • 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. Griatch 2015-09-27 13:05:29 +02:00
  • 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. Griatch 2015-09-27 09:57:23 +02:00
  • 27bde5129b Fixed a simple typo bug in urls.py that made the webclient fail after latest devel merger. Griatch 2015-09-27 09:55:31 +02:00
  • 3cc7f614c0 Removed some more spurious code comments. Griatch 2015-09-27 02:22:34 +02:00
  • a338f01598 Removing debugs. Griatch 2015-09-26 23:26:53 +02:00
  • 8ff1cf91dc Fixed error in language format input. Griatch 2015-09-26 23:26:07 +02:00
  • 3eca82ae3b Further tweaks. Griatch 2015-09-26 22:56:46 +02:00
  • dd6b0cfb34 Minor textual update. Griatch 2015-09-26 22:55:08 +02:00
  • 38e0998ef2 More information on masked state. Griatch 2015-09-26 22:52:21 +02:00
  • 993f4cbb9d Added handling of mask command with spurios letters at end. Griatch 2015-09-26 22:27:27 +02:00
  • 350ef90a82 Fixed unittests to match changes to regex patterns. Griatch 2015-09-26 22:24:45 +02:00
  • 7625306b44 Worked out some edge cases in masking sdescs, some other side cases remains. Griatch 2015-09-26 22:14:20 +02:00
  • d62dd9afab Fixed an inconsistency in director stance. Griatch 2015-09-26 19:30:07 +02:00
  • faaf26e0de Minor touchup. Griatch 2015-09-26 18:55:40 +02:00
  • f6556b426e Added documentation to rpsystem Griatch 2015-09-26 18:54:16 +02:00
  • 0cb2daad83 Further work on tweaking the emote system. Griatch 2015-09-26 12:57:06 +02:00
  • 382846ae08 Added masking possibility to recog system. Griatch 2015-09-26 12:49:12 +02:00
  • a8e75dde7f Made lockhandler.delete be called lockhandler.remove to match all other handlers. Kept the old one as a deprecated alias. Griatch 2015-09-26 12:48:55 +02:00
  • 35583daed2 Started adding parsing to pose. Griatch 2015-09-26 11:04:02 +02:00
  • bd39f1548e Some unittest updates. Griatch 2015-09-26 09:39:30 +02:00
  • e9148bc0f6 Added unittests for rplanguage and rpsystem contribs. Griatch 2015-09-26 09:26:22 +02:00
  • 21878436f8 Set up the languagehandler correctly. Griatch 2015-09-24 23:03:49 +02:00
  • 2442422f9e Integrated rpsystem with rplanguage to a greater degree. Griatch 2015-09-24 22:55:06 +02:00
  • dc5d8f8130 Added the rplanguages module for obfuscating languages and whispers, taken from my own rp development code. Griatch 2015-09-24 01:55:37 +02:00
  • 23e63111cc Further work on stabilizing output across different situations. Griatch 2015-09-23 18:51:29 +02:00
  • bac8f51401 More cleanup of the RPsystem contrib's typeclass hierarchy. Griatch 2015-09-23 17:11:52 +02:00
  • 45371289f4 Further refinement of the rpsystem contrib, making a more reasonable division of typeclass functionality Griatch 2015-09-23 14:44:21 +02:00
  • 4ab6414ffa API change - changed the AttributeHandler/TagHandler.get() second argument to be 'default' instead of 'category' ('category' is now the third argument). The reasoning is that this brings the attributes.get() call in line with the similar-looking dict.get(), where you can do dict.get(key, default) to give a default value. Griatch 2015-09-23 13:58:12 +02:00
  • c34561dba2 Reworked the rpsystem with a working search replacement mechanism (allowing to search objects by sdesc) Griatch 2015-09-23 12:57:55 +02:00
  • 793a307867 Changed permanent call in url to satisfy deprecation warning for upcoming Django 1.9. Griatch 2015-09-23 12:57:24 +02:00
  • 8590238c08 A working version of the emote system with proper sdesc search functionality and emote/sdesc handlers. Griatch 2015-09-22 23:49:41 +02:00
  • a630e6d020 Some first ideas around search optimizations. Griatch 2015-09-10 21:56:17 +02:00
  • 36acd9255c Fixed so the template language mechanic works too Griatch 2015-09-10 21:32:34 +02:00
  • bb658d1d4a Functioning 1-tall, 2-tall selections in place. Griatch 2015-09-09 20:29:30 +02:00