Commit graph

3470 commits

Author SHA1 Message Date
Griatch
25cdecc0db Remove the Timekeeper script as part of tradehandler's finish() method. 2016-11-26 23:06:27 +01:00
Griatch
e83531da33 Add fix to stop barter handler script in unittest. 2016-11-26 22:50:59 +01:00
Griatch
b12a850e93 Add unit tests for contrib Barter system. 2016-11-26 22:15:45 +01:00
Griatch
79f2497902 Further test coverage for the extended_room. 2016-11-26 17:36:36 +01:00
Griatch
45123412af Further increased test coverage of the extendedroom contrib by testing the commands. 2016-11-26 17:25:26 +01:00
Griatch
cfae54b128 Make some minor cleanup of imports and comment strings. 2016-11-26 10:41:05 +01:00
Tehom
5933690f81 Unit test for ExtendedRoom class 2016-11-26 02:58:02 -05:00
Griatch
fa33464266 Typo fix. Formally Resolves #1122. 2016-11-26 02:30:49 +01:00
Griatch
ac73f59ed6 Fix for Duckclient which sends TTYPE 'MTTS13' instead of 'MTTS 13' like other clients. 2016-11-26 02:01:18 +01:00
Griatch
b893e4b8f5 Add handling of line break concatenation to handle the input from certain multiline client dialects. 2016-11-26 01:32:10 +01:00
Griatch
76e114e33e Re-add some of the string processing logic to telnet processing. 2016-11-25 23:51:09 +01:00
Griatch
0805fa1cde Make telnet make better use of Twisted's in-build parsing, as per #1122. 2016-11-25 22:52:51 +01:00
Griatch
3a4a097163 Move the SetCtrlHandler call before the firing of the event. 2016-11-25 09:07:49 +01:00
Tehom
870b417855 Cleaner handling of KeyboardInterrupt exception 2016-11-25 09:07:49 +01:00
Tehom
f086433e83 These fixed the exceptions that popped up for me when stopping the evennia process on Windows - believe it or not, the wholly redundant try/except block for printing the success message in evenna_launcher actually removed a traceback.. But since Windows seems incredibly finicky, it'd probably be a good idea to see if it breaks anything for someone else using Windows first. 2016-11-25 09:07:48 +01:00
Griatch
2578e6cbfc Make the MXP charcode more explicit for readabilty. 2016-11-24 21:36:04 +01:00
Griatch
ffb9befd7f Change how evennia stop works under Windows, as per #1100. This introduces the launching of SIGINT-like signals in Windows which unfortunately means the Windows console will show an annoying question about terminating batch jobs (which cannot be removed, apparently). But it should now work consistently with the Linux version when stopping and restarting from the command line. 2016-11-23 19:07:54 +01:00
Griatch
897036e7cb Added Command.execute_cmd for use in Player commands requiring session info. Resolves #1123. 2016-11-22 20:33:50 +01:00
Griatch
45a4d01a0a Make API change so TagHandler.all() returns all tag-keys regardless of category; the now single argument return_key_and_category still returns (key, category) tuples. For category-selective returns, use TagHandler.get(). Resolves #1124. 2016-11-22 20:05:05 +01:00
Tehom
1e22b89447 Another try. This should resolve the validation errors by having bad values for the forms just go to different default values. 2016-11-22 09:40:41 +01:00
Tehom
ab6b7680a1 Made validation error in picklefield attempt to convert strings to a format it will accept before raising an error. Made validation errors in AttributeAdmin just raise a server error in order to prevent the force-text conversion of default fields for the forms, leading to buggy values. 2016-11-22 09:40:41 +01:00
Tehom
0757bddb05 Small cleanup 2016-11-22 09:40:41 +01:00
Tehom
948c11dc36 Use from_pickle for conversion for attributes 2016-11-22 09:40:41 +01:00
Tehom
8d2230a377 Added inline tags to HelpEntry in django admin 2016-11-22 09:40:41 +01:00
Tehom
8b3c0057af Using TypedObjectManager on a non-typeclass doesn't cause any harm, near as I can tell from looking at it and trying the different returns_typeclass methods. Should resolve #1114 2016-11-22 09:40:41 +01:00
Tehom
b80f7c3637 Attributes in django admin now also editable inline, causing them to call the AttributeHandler or NicksHandler of the appropriate object. 2016-11-22 09:40:41 +01:00
Tehom
6a851750f3 Custom form/formset for adding/removing tags using the handler. Each TagAdmin used by the different typeclasses are now also required to specify a related_field, which seems redundant but is very hard to get around otherwise. Still to do - make sure that all the adds are working properly, and extend this to attributes as well, and make Tag searches still sort of useful in the admin so people can at least check names and so on 2016-11-22 09:40:41 +01:00
Tehom
f5c0b8eaaa Small changes to make tag admin usable - needed to have a search function and list filter since the number of aliases can make finding tags otherwise impossible. Put in similar functionality to AttributeInline for TagInline. 2016-11-22 09:40:41 +01:00
Griatch
10c9946c24 Return the Evennia logo to its normal state. 2016-11-21 09:10:14 +01:00
Griatch
4a71a70af4 Remove automatic allocation of numbers to option; it clashed with _default states looking for numbers. An automatic number-key will now only be allocated if no option key is given. Resolves #1121. 2016-11-20 22:15:35 +01:00
Griatch
9db98bcc9a Make the README file a bit more fextive for the day. 2016-11-19 22:49:49 +01:00
Griatch
5bc2a89fbd Change format of AMP error definitions to better match docs. 2016-11-17 17:09:24 +01:00
Griatch
433b888422 Fix logics. 2016-11-17 16:57:05 +01:00
Griatch
f7f1037441 Fix typo in ircbot reconnect method. 2016-11-17 16:23:33 +01:00
Griatch
a20e7d017d Updated docstring for multimatch config settings. 2016-11-17 12:52:30 +01:00
Griatch
2c6227774a Fix a minor issue in ANSIString.rstrip(). 2016-11-17 00:34:40 +01:00
Griatch
f00fbb9d88 Implement ANSIString.strip() .lstrip() and .rstrip() as tag-aware methods. This handles the last prblem with #1117. 2016-11-17 00:21:05 +01:00
Griatch
596bfff35a Do further cleanups in evmenu color handling; relates to #1117. 2016-11-15 01:07:16 +01:00
Griatch
682060daaf Add a lateral shift when stripping a space - the total width of the cell must not change. Relates to 1117. 2016-11-14 23:18:42 +01:00
Griatch
ea3d639836 Changed to unix file endings. 2016-11-14 20:26:49 +01:00
BlauFeuer
6d135079f2 Add favicon to base website, +HTML5 doctype
It's a start on updating the template.
2016-11-14 20:26:49 +01:00
Griatch
301efe4467 Fix error in SSH TTYPE parsing that made text not go through correctly on an SSH connection. 2016-11-06 21:53:53 +01:00
Jake Shasteen
da4e35ee9a Fix typo 2016-11-06 03:33:57 -05:00
Griatch
69a5258fda Add escaping of the quote. Should now handle all aspects of #1002. 2016-11-06 08:57:23 +01:00
Griatch
1d81212a8e Addresses most cases related to #1108. The case of using quotes in MXP command names appears elusive, since even escaping the quote will result in a malformed JS link. 2016-11-06 01:08:25 +01:00
Griatch
3de2e649a1 Merge branch 'patch-1' of https://github.com/BlauFeuer/evennia into BlauFeuer-patch-1 2016-11-05 22:14:57 +01:00
BlauFeuer
1f270d76ab Clarify MXP links in docstring 2016-11-03 18:13:43 -04:00
Griatch
afa4e74322 More elaborate catch of the .pk property for Attributes and Tags. 2016-11-03 20:18:08 +01:00
Griatch
fb7e5762a6 Add .pk check to Tag/AttributeHandler when returning cached Tags and Attributes. 2016-11-03 20:12:07 +01:00
Tehom
b3d432e0c6 Change to make strip() in EvTable more specific for fixing align 2016-11-03 14:03:22 -04:00