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
Griatch
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.
2015-11-09 15:07:06 +01:00
Ahmed Charles
d3e218e439
Don't show tracebacks to players.
...
Make sure that the traceback is in the log.
2015-11-09 12:30:55 +01:00
Ahmed Charles
39e40bfba1
Don't show tracebacks to players.
...
In this case, the tracebacks are in the log.
2015-11-09 12:30:55 +01:00
Ahmed Charles
487fcdf873
Use list* from future.utils.
...
dict.keys() -> list(dict)
dict.values() -> listvalues(dict)
dict.tems() -> listitems(dict)
2015-11-09 10:23:00 +00:00
Dan Feeney
ccd1451a02
wrote tests for the convert_urls function of TextToHTMLparser
...
improved regex to better handle edge cases, particularly a period following the URL
2015-11-09 10:21:39 +01:00
Dan Feeney
db218f7293
fixed regexp used in text2html's convert_urls function and moved it to the block of other parsed regex in the module
2015-11-09 10:21:39 +01:00
Ahmed Charles
b9bdeb3e9c
Replace filter with if/comprehension.
2015-11-09 10:11:34 +01:00
Ahmed Charles
be7035416c
Cleanup int include.
2015-11-09 10:11:34 +01:00
Ahmed Charles
1968f15895
Remove commented out code.
2015-11-09 10:11:34 +01:00
Ahmed Charles
de0e42240c
Have every class inherit from object.
2015-11-09 10:11:34 +01:00
Kelketek
a8127b0f41
Merge pull request #874 from ahmedcharles/range
...
Use python3 range.
2015-11-02 07:47:02 -06:00
Ahmed Charles
bcd8674ef3
Use python3 range.
...
Including potential memory reduction due to not created unnecessary lists.
2015-11-02 11:47:07 +00:00
Ahmed Charles
ee0db7a50d
Use python3 input.
2015-11-02 00:19:04 +01:00
Ahmed Charles
f38efab999
Import python3 compatible cmp.
2015-11-02 00:19:04 +01:00
Ahmed Charles
c9404bfb51
Don't use long, since it doesn't exist in python3.
2015-11-02 00:19:04 +01:00
Ahmed Charles
11b61fe335
Import python3 compatible object.
2015-11-02 00:19:04 +01:00
Ahmed Charles
4f07da29c2
Move normal login code into it's own function.
2015-11-02 00:19:04 +01:00
Ahmed Charles
cbe1eefcf0
Move to python3 style division.
...
All of these are currently integer division in python2.
2015-11-01 20:47:18 +00:00
Ahmed Charles
c8fbd2860d
Use logger rather than print for these messages.
2015-11-01 21:39:48 +01:00
Ahmed Charles
3357712103
Use logger rather than a custom implementation.
2015-11-01 20:27:49 +00:00