Commit graph

3486 commits

Author SHA1 Message Date
Griatch
bffc8b04d8 Add shell scripts for auto-starting and operating evennia on a server. 2016-12-08 23:53:48 +01:00
Griatch
293c3b077d Add external-runner option to the launcher to allow for replacing the native evennia runner with an external process manager (like Linux' start-stop-daemon). Note that without a replacement, this option will make evennia un-reloadable. 2016-12-08 23:24:14 +01:00
Griatch
ad13594a46 Run migrations! Added blank=True field to ChannelDB to allow the Admin-creation of channels without any subscribers. 2016-12-06 20:13:24 +01:00
Griatch
822227090b Add missing fix to ChannelDB admin. 2016-12-06 20:03:26 +01:00
Tehom
ee19a92c55 Fix django admin for other typeclasses. ChannelDB still requires subscribers to validate. Changed PickleField's clean method to prevent attribute errors for attributes added during basetype setup. 2016-12-06 07:06:46 -05:00
Tehom
c16a03fb5e Remove the urls printout I was using during debugging. Oops. 2016-12-06 03:31:10 -05:00
Tehom
7bd7b91b93 Fix the save and continue editing option 2016-12-06 03:27:58 -05:00
Tehom
ae0b4bad55 Refactor of class_setting from init in typeclass so we can just call it from django admin, and avoid weirdness of calling init twice, which seemed to mess things up 2016-12-05 07:53:06 -05:00
Tehom
560def1f2b Better solution - can call __init__ manually with typeclass as a kwarg, and this seems to resolve it 2016-12-05 06:58:05 -05:00
Tehom
5e7211a053 Explicitly assign typeclass for newly created objectdb 2016-12-02 17:21:44 -05:00
Griatch
19e8bed5ab Fix docstring text error. 2016-11-30 18:02:39 +01:00
Daniel Maxson
d7c2e6fa90 Get JQuery over HTTPS to prevent browsers from blocking it 2016-11-30 08:38:14 +00:00
Griatch
8bf4379731 Removed the html quote replacement for Telnet handling; this deals with the remainders of #1058 and was tested both with Mudlet and MUSHclient to work correctly. 2016-11-29 11:41:39 +01:00
Griatch
54ea64d132 Fix formatting issue in slow_exit.CmdSetSpeed 2016-11-28 21:01:59 +01:00
Griatch
a903182b8f Make better recommendations for install of slow_exit in docstring. 2016-11-28 20:33:40 +01:00
Griatch
381e91b822 Made channel_prefix honor the emit keyword. Also corrected docstrings of message_transform to correctly note a Msg object is needed instead of a string. 2016-11-27 12:08:23 +01:00
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