Commit graph

2909 commits

Author SHA1 Message Date
Griatch
ed1b61a129 Update CODING_STYLE.md
Removing the warning about not all sources being converted to google-style ... since it's now all converted.
2016-02-01 22:38:43 +01:00
Griatch
418e6d953a Fixed an issue where the IDLE_TIMEOUT was triggered even though one had been active in the interval. 2016-01-27 21:21:37 +01:00
Griatch
483263dda1 Made EvTable handle data entries with completely empty cells. Resolves #917. 2016-01-20 19:52:53 +01:00
Griatch
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. 2016-01-20 18:58:41 +01:00
Griatch
0ae1f9f171 Fixed a bug with identifying a unique command index (should be 1-N, not 0-(N-1)). 2016-01-19 21:23:51 +01:00
Griatch
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. 2016-01-19 20:52:26 +01:00
Griatch
8d672a8e9d Updated the docstring for utils.delay since it can also accept a float as well as an int. 2016-01-16 16:36:51 +01:00
Griatch
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. 2016-01-12 21:35:27 +01:00
Doug Miller
33c479fe04 display nicks from all categories 2016-01-12 20:17:58 +01:00
Doug Miller
1910c6ae7c fix alias display on @channels/comlist 2016-01-12 20:17:58 +01:00
Doug Miller
ebce79ca1e fixed some help text for @ban command 2016-01-11 12:07:54 +01:00
Dan Feeney
a5b0ed7df5 fixed login error for multisession_mode = 2 2015-12-22 10:45:00 -06:00
Russell Jones
27549eca2e Use 2/3 raise_() from future.utils 2015-12-20 14:14:02 +00:00
Griatch
f10f4ddc98 Made EvMenu correctly handle being called from a ServerSession. 2015-12-19 19:13:29 +01:00
Griatch
2427db7f9f Fixed a lingering docstring reference to game/server.py. 2015-12-18 11:14:24 +01:00
Griatch
ff46bf9103 Fixed regression in @shutdown command due to previous changes to session handling. Resolves #895. 2015-12-17 00:24:33 +01:00
Griatch
84aeb9ed3a Updated portugese locales, courtesy of Nerun. 2015-12-17 00:19:14 +01:00
Griatch
86ae7c47af Removed some debug functions. 2015-12-17 00:12:56 +01:00
Griatch
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). 2015-12-17 00:12:07 +01:00
Griatch
f56500df9a Fixed typo in error reporter. 2015-12-15 20:59:05 +01:00
Griatch
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. 2015-12-15 20:17:41 +01:00
Griatch
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.
2015-12-15 19:26:42 +01:00
Griatch
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. 2015-12-15 14:00:42 +01:00
bitcoinfees
0fd4e1e073 tutorial_info fix in some tutorial_world.rooms
tutorial_info is assigned incorrectly in IntroRoom and OutroRoom init.
Instead of setting obj.db.tutorial_info, it sets obj.db_tutorial_info.
2015-12-04 14:41:10 +08:00
Griatch
f87d07b775 Added to TypedObject's get() manager method, since without it, Q-objects didn't work correctly. 2015-12-01 12:24:09 +01:00
Griatch
c7b26ff6a6 Handling ansi-escaping of || in EvForm, since ansi-parsing gets called twice, this needs some extra care. Resolves #888. 2015-11-29 23:50:45 +01:00
Griatch
9587f400ac Fixed an escaping issue for nested inlinefuncs. 2015-11-29 18:26:19 +01:00
Griatch
0c08f7c550 Re-added some characters that would be affected by inlinefunc nesting. 2015-11-29 12:04:10 +01:00
Griatch
7de036c1d9 Merged nested inlinefuncs from the dev branch. Added |-style ansi-markers. Resolves #818. 2015-11-28 20:30:01 +01:00
Griatch
492e2e2411 Put back standard {-style ansi background colors that were accidentally removed. 2015-11-28 18:25:05 +01:00
Griatch
f7083b2d5d Further cleanup and source formatting. 2015-11-28 18:25:05 +01:00
Griatch
d41b1437f2 Some further cleanup. 2015-11-28 18:25:05 +01:00
Griatch
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. 2015-11-28 18:25:05 +01:00
Griatch
419ff1cc79 Added |-style color markings (in parallel with {-style ones) as per #818 as a test for public review. 2015-11-28 18:25:05 +01:00
Griatch
9092a29338 Fixed some mistakes in the docstrings. 2015-11-28 18:25:05 +01:00
Griatch
0a4c217b3e Added unittests for nested inlinefuncs, and deprecation warning for the old version of {inlinefunc syntax. 2015-11-28 18:25:04 +01:00
Griatch
641846e855 Added a functioning version of nested inline funcs. Still poor error handling and some edge cases are not handled. 2015-11-28 18:25:04 +01:00
Griatch
5d3df584bf Fixed a lingering reference to portalsessionhandler.sessions. 2015-11-27 20:21:11 +01:00
Griatch
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. 2015-11-18 00:11:33 +01:00
Ahmed Charles
faacf58f56 Use viewkeys from future.utils, with the following mapping:
dict.keys() -> viewkeys(dict)
2015-11-16 21:20:25 +01:00
Ahmed Charles
76dc0545c4 Remove unused traceback imports. 2015-11-15 20:40:03 +00:00
Ahmed Charles
921cf47731 Comment cleanup. 2015-11-15 20:29:40 +00:00
Griatch
1d78fb3d92 Fixed a lingering doc error. 2015-11-15 21:07:16 +01:00
Griatch
0a509470f7 Removed some debug info 2015-11-15 20:36:33 +01:00
Griatch
45f973fdb6 Made unittests work with changed Session apis. Resolves #808. 2015-11-15 20:36:18 +01:00
Griatch
efefe3e5ff First version of changed sessid->session change that starts properly. Not fully tested yet. 2015-11-14 21:43:58 +01:00
Griatch
d496606a3c Further development of the reworking of systems using Sessions rather than session id. 2015-11-14 20:32:58 +01:00
Griatch
709f5ff5b3 Reworked most of the system to use sessions directly instead of sessids by the introduction of on-object sessionhandlers. No debugging done yet. 2015-11-14 18:36:19 +01:00
Griatch
556a0cc332 Made sessionhandlers inherit directly from dicts. 2015-11-13 22:34:23 +01:00
Griatch
3c9a6749f9 Made sessionhandlers inherit directly from dicts. 2015-11-13 22:33:58 +01:00