Commit graph

  • 8e60a04849 Adding the at_rename hook to the base Typeclass. Andrew Bastien 2016-03-13 04:34:59 -04:00
  • 735416a16e Adding the at_rename hook to the base Typeclass. Andrew Bastien 2016-03-13 04:31:15 -04:00
  • 270037455a Added connection_time and idle_time properties to DefaultCharacter class. Andrew Bastien 2016-03-13 04:59:57 -04:00
  • 9522a94ece Added a missing i18n import to channelhandler Griatch 2016-03-05 22:00:25 +01:00
  • 22bbc40678 New French translation Mukandila Mukandila 2016-03-04 11:52:32 -05:00
  • ed1b3ee819 Removed some spurious flat-API namespace pollution introduced by the py3 conversion effort Griatch 2016-02-26 12:02:20 +01:00
  • 907322cc2f Updated Evennia for django 1.9 (1.8 still supported). Run 'pip install --upgrade -e .' in the Evennia repository to upgrade. Griatch 2016-02-20 00:07:04 +01:00
  • d6c649f551 Removed subfieldbase and use from_db_value as recommended by django deprecation info. Griatch 2016-02-19 22:58:52 +01:00
  • 43dc48a675 Made unittests work, both for django 1.8 and 1.9. Griatch 2016-02-19 22:43:28 +01:00
  • c0537fe456 Changed the deprecated get_field_by_name to just get_field. Griatch 2016-02-19 22:31:42 +01:00
  • 5a9cf29f45 Fixed deprecation warnings for future django1.10. Griatch 2016-02-19 21:07:25 +01:00
  • e6a866a150 Made Evennia run with Django 1.9 Griatch 2016-02-18 10:12:42 +01:00
  • ba1f10e88f Made a more updated doc string. Griatch 2016-02-16 10:12:57 +01:00
  • 882a70ae4b Reverted incorrect internationalization in objects.py Kai Huang 2016-02-08 10:43:51 -06:00
  • fd2f762730 Internationalization for comms and objects. Kai Huang 2016-02-07 07:48:33 -06:00
  • e80ad9fd18 Fixed dbserialize pickle processor typo Griatch 2016-02-06 21:56:26 +01:00
  • c1d8432630 Changed to properly exit when not giving a rhs to the options command Griatch 2016-02-06 12:57:26 +01:00
  • 8011d42321 return 0 in case of ObjectDoesNotExist in DefaultScript.stop instead of pass. Kai Huang 2016-02-02 15:36:18 -05:00
  • 88674307ec Catch ObjectDoesNotExist exception when calling delete() in DefaultScript.stop(). Fixes 919 Kai Huang 2016-02-02 22:25:49 +08:00
  • ed1b61a129 Update CODING_STYLE.md Griatch 2016-02-01 22:38:43 +01:00
  • 418e6d953a Fixed an issue where the IDLE_TIMEOUT was triggered even though one had been active in the interval. Griatch 2016-01-27 21:21:37 +01:00
  • 483263dda1 Made EvTable handle data entries with completely empty cells. Resolves #917. Griatch 2016-01-20 19:52:53 +01:00
  • 0bf05a8795 Removed at_before_traverse hook completely since it was not used and also makes no sense to use due to how exits works. Overload at_traverse if wanting to tweak how traversal happens. Resolves #902. Griatch 2016-01-20 18:58:41 +01:00
  • 0ae1f9f171 Fixed a bug with identifying a unique command index (should be 1-N, not 0-(N-1)). Griatch 2016-01-19 21:23:51 +01:00
  • 8655f880f2 Fixed a malformed call to portal_disconnect that stopped auto-disconnection from working. Also removed sessiohandler.portal_disconnect since it has no function anymore, as well as changed two AMP command chars around for better debugging (they were matching the tab- and line breaks chars before). Resolves #900. Griatch 2016-01-19 20:52:26 +01:00
  • 8d672a8e9d Updated the docstring for utils.delay since it can also accept a float as well as an int. Griatch 2016-01-16 16:36:51 +01:00
  • 5d6d13bb12 Added a validation-check when changing encodings using the default commands (unloggedin/general). Also put in a safety catch in the sessionhandler to reset faulty encodings that slips by for some reason. This can otherwise lead to errors for shutting down the server since the server fails trying to inform the faulty session about the shutdown. Griatch 2016-01-12 21:35:27 +01:00
  • 33c479fe04 display nicks from all categories Doug Miller 2016-01-11 21:18:10 +00:00
  • 1910c6ae7c fix alias display on @channels/comlist Doug Miller 2016-01-11 20:17:31 +00:00
  • ebce79ca1e fixed some help text for @ban command Doug Miller 2016-01-09 05:19:55 +00:00
  • a5b0ed7df5 fixed login error for multisession_mode = 2 Dan Feeney 2015-12-22 10:38:16 -06:00
  • 27549eca2e Use 2/3 raise_() from future.utils Russell Jones 2015-12-20 14:14:02 +00:00
  • f10f4ddc98 Made EvMenu correctly handle being called from a ServerSession. Griatch 2015-12-19 19:13:29 +01:00
  • 2427db7f9f Fixed a lingering docstring reference to game/server.py. Griatch 2015-12-18 11:14:24 +01:00
  • ff46bf9103 Fixed regression in @shutdown command due to previous changes to session handling. Resolves #895. Griatch 2015-12-17 00:24:33 +01:00
  • 84aeb9ed3a Updated portugese locales, courtesy of Nerun. Griatch 2015-12-17 00:19:14 +01:00
  • 86ae7c47af Removed some debug functions. Griatch 2015-12-17 00:12:56 +01:00
  • 161383f9ae Fixed a repeat error in Scripts (resolves #890). Added separation between calling script.pause() deliberately and it being called automatically by the reset/reload, in order to preserve manual pauses across server reloads (resolves #891). Griatch 2015-12-17 00:12:07 +01:00
  • f56500df9a Fixed typo in error reporter. Griatch 2015-12-15 20:59:05 +01:00
  • c1e4b1fe07 Further fixes to the tag lockfunc as well as handling of the changes to at_look to not include calling execute_cmd(look) but to use the at_look hook. This should finally resolve #889. Griatch 2015-12-15 20:17:41 +01:00
  • 03d415beb1 Fixed errors due to the removal of execute_cmd("look") calls in the latest revisions - this turns out to bypass the normal use of cmdsets to control things like the dark room in the tutorial. Resolves the second mentioned error in #889. Griatch 2015-12-15 19:26:11 +01:00
  • 97f2cf1757 Fixed an erroneous call to the tag() lock type in the tutorial world, that lead to the northen exit being visible when it should not, as reported in #889. Griatch 2015-12-15 14:00:42 +01:00
  • 0fd4e1e073 tutorial_info fix in some tutorial_world.rooms bitcoinfees 2015-12-04 14:41:10 +08:00
  • f87d07b775 Added to TypedObject's get() manager method, since without it, Q-objects didn't work correctly. Griatch 2015-12-01 12:24:09 +01:00
  • c7b26ff6a6 Handling ansi-escaping of || in EvForm, since ansi-parsing gets called twice, this needs some extra care. Resolves #888. Griatch 2015-11-29 23:50:45 +01:00
  • 9587f400ac Fixed an escaping issue for nested inlinefuncs. Griatch 2015-11-29 18:26:19 +01:00
  • 0c08f7c550 Re-added some characters that would be affected by inlinefunc nesting. Griatch 2015-11-29 12:04:10 +01:00
  • 7de036c1d9 Merged nested inlinefuncs from the dev branch. Added |-style ansi-markers. Resolves #818. Griatch 2015-11-28 20:30:01 +01:00
  • 492e2e2411 Put back standard {-style ansi background colors that were accidentally removed. Griatch 2015-11-18 20:01:15 +01:00
  • f7083b2d5d Further cleanup and source formatting. Griatch 2015-11-18 14:08:09 +01:00
  • d41b1437f2 Some further cleanup. Griatch 2015-11-18 14:02:13 +01:00
  • 786edf4677 Fixed some errors in crop inlinefunction. Coloration does not work in nested inlinefunc outside of escaped strings ... not sure if this something worth to try to resolve or if an escaped string is just the right way to have them. Griatch 2015-11-18 01:13:13 +01:00
  • 419ff1cc79 Added |-style color markings (in parallel with {-style ones) as per #818 as a test for public review. Griatch 2015-11-18 00:33:13 +01:00
  • 9092a29338 Fixed some mistakes in the docstrings. Griatch 2015-11-17 22:59:52 +01:00
  • 0a4c217b3e Added unittests for nested inlinefuncs, and deprecation warning for the old version of {inlinefunc syntax. Griatch 2015-11-17 22:39:26 +01:00
  • 641846e855 Added a functioning version of nested inline funcs. Still poor error handling and some edge cases are not handled. Griatch 2015-11-13 21:29:22 +01:00
  • 5d3df584bf Fixed a lingering reference to portalsessionhandler.sessions. Griatch 2015-11-27 20:21:11 +01:00
  • 2130522559 Added a check to deactivate AlterIndexTogether if the Oracle database is used. This should, according to #732 fix the migration issue with Oracle, but have no database to check with. So supposedly resolves #732. Griatch 2015-11-18 00:11:33 +01:00
  • faacf58f56 Use viewkeys from future.utils, with the following mapping: Ahmed Charles 2015-11-02 09:35:22 +00:00
  • 76dc0545c4 Remove unused traceback imports. Ahmed Charles 2015-11-15 20:40:03 +00:00
  • 921cf47731 Comment cleanup. Ahmed Charles 2015-11-14 20:07:29 +00:00
  • 1d78fb3d92 Fixed a lingering doc error. Griatch 2015-11-15 21:07:16 +01:00
  • 0a509470f7 Removed some debug info Griatch 2015-11-15 20:36:33 +01:00
  • 45f973fdb6 Made unittests work with changed Session apis. Resolves #808. Griatch 2015-11-15 19:51:41 +01:00
  • efefe3e5ff First version of changed sessid->session change that starts properly. Not fully tested yet. Griatch 2015-11-14 21:43:58 +01:00
  • d496606a3c Further development of the reworking of systems using Sessions rather than session id. Griatch 2015-11-14 20:32:58 +01:00
  • 709f5ff5b3 Reworked most of the system to use sessions directly instead of sessids by the introduction of on-object sessionhandlers. No debugging done yet. Griatch 2015-11-14 18:36:19 +01:00
  • 556a0cc332 Made sessionhandlers inherit directly from dicts. Griatch 2015-11-13 22:34:23 +01:00
  • 3c9a6749f9 Made sessionhandlers inherit directly from dicts. Griatch 2015-11-13 22:33:58 +01:00
  • 652bb02bc7 In the wake of changes to hide away tracebacks from players, made the error report include the server log time stamp so as to make it easier to reconcile with the real traceback information. Griatch 2015-11-09 15:07:06 +01:00
  • d3e218e439 Don't show tracebacks to players. Ahmed Charles 2015-11-09 11:14:15 +00:00
  • 39e40bfba1 Don't show tracebacks to players. Ahmed Charles 2015-11-09 11:02:53 +00:00
  • 487fcdf873 Use list* from future.utils. Ahmed Charles 2015-11-02 11:23:56 +00:00
  • ccd1451a02 wrote tests for the convert_urls function of TextToHTMLparser improved regex to better handle edge cases, particularly a period following the URL Dan Feeney 2015-11-08 22:35:20 -06:00
  • db218f7293 fixed regexp used in text2html's convert_urls function and moved it to the block of other parsed regex in the module Dan Feeney 2015-11-08 18:12:29 -06:00
  • b9bdeb3e9c Replace filter with if/comprehension. Ahmed Charles 2015-10-23 04:15:06 +00:00
  • be7035416c Cleanup int include. Ahmed Charles 2015-11-02 06:14:06 +00:00
  • 1968f15895 Remove commented out code. Ahmed Charles 2015-11-02 11:48:29 +00:00
  • de0e42240c Have every class inherit from object. Ahmed Charles 2015-11-02 11:52:55 +00:00
  • a8127b0f41 Merge pull request #874 from ahmedcharles/range Kelketek 2015-11-02 07:47:02 -06:00
  • bcd8674ef3 Use python3 range. Ahmed Charles 2015-11-02 11:47:07 +00:00
  • ee0db7a50d Use python3 input. Ahmed Charles 2015-10-23 04:38:32 +00:00
  • f38efab999 Import python3 compatible cmp. Ahmed Charles 2015-10-23 02:30:26 +00:00
  • c9404bfb51 Don't use long, since it doesn't exist in python3. Ahmed Charles 2015-10-23 04:20:56 +00:00
  • 11b61fe335 Import python3 compatible object. Ahmed Charles 2015-10-23 02:26:37 +00:00
  • 4f07da29c2 Move normal login code into it's own function. Ahmed Charles 2015-11-01 21:45:20 +00:00
  • cbe1eefcf0 Move to python3 style division. Ahmed Charles 2015-10-19 05:26:10 +00:00
  • c8fbd2860d Use logger rather than print for these messages. Ahmed Charles 2015-10-19 03:12:18 +00:00
  • 3357712103 Use logger rather than a custom implementation. Ahmed Charles 2015-10-19 04:23:22 +00:00
  • 28a754033e Remove unnecessary print functions. Ahmed Charles 2015-10-19 03:12:35 +00:00
  • d1244b41db Use msg rather than print, here. Ahmed Charles 2015-10-19 03:12:53 +00:00
  • 99f0fec7cf Use comprehension rather than map. Ahmed Charles 2015-10-23 04:25:22 +00:00
  • 7645338218 Fix indentation. Ahmed Charles 2015-10-23 23:04:38 +00:00
  • c220d5eeeb at_post_puppet should be called after cache_lock_bypass. Ahmed Charles 2015-10-23 23:07:22 +00:00
  • f0c27d80b9 Added a missing migration to repo. Griatch 2015-11-01 18:21:21 +01:00
  • a64f7b5630 Some cleanup in the launcher output. Griatch 2015-11-01 18:20:08 +01:00
  • 836c9913d5 Run migrations! Added Tagging to default Msg object. Griatch 2015-11-01 18:00:31 +01:00
  • 6db109c333 For some reason Msg's LockHandler was not assigned. Resolves #855. Griatch 2015-11-01 17:51:00 +01:00
  • e67c2bb7d7 Made sure to run clear_all_sessions() at cold start, just to catch the edge case where the server was killed without a chance to do its normal cleanup (which could then leave lingering sessids behind). Resolves #856. Griatch 2015-11-01 17:39:39 +01:00
  • c58f858339 Reworked that look() methods on Players and Objects into at_look. They were also changed to accept pre-searched target objects rather than the command string. They also return a processed look string rather than sending it directly. The reason for this is that methods on the typeclass should not be handling command parsing - this should be the exclusive job of Command.parse in order to make command parsing completely contained withing one system. Likewise, it makes for more flexibility to not call self.msg() inside at_look but to let the outside caller do this explicitly - it might want to modify and append to the string before sending it off (something not used anywhere yet but which may be interesting). In order to correctly keep parsing entirely in the command body for the player, I made a custom parent for CmdOOCLook and CmdOOC, which does the parsing of the 'playable' characters already at the parse() step, storing the result in the .playable property on the (player-) command. This technique could probably be applied to other player commands looking up the _playable_characters Attribute, in order to centralize it. Griatch 2015-11-01 17:13:00 +01:00