Commit graph

75 commits

Author SHA1 Message Date
Griatch
1ac81205c3 Completed tests of all GMCP/MSDP backend functions, including tickerhandler repeats and value monitoring, as per #924. 2016-05-22 20:45:42 +02:00
Griatch
4883512342 Fixed and tested the monitor/unmonitor inputfunc from both GMCP and MSDP 2016-05-22 20:45:41 +02:00
Griatch
0ffec10dd0 Added MSDP/GMCP wrappers Inputfuncs as per #924. Not fully tested yet. 2016-05-22 20:45:41 +02:00
Griatch
c093fd3880 Updated the monitorhandler to allow persistence as well as a unique id-key. 2016-05-22 20:45:41 +02:00
Griatch
d8bfb6d4a2 Inputfuncs for some more MSDP/GMCP commands. Still untested. 2016-05-22 20:45:40 +02:00
Griatch
196306d914 Added monitorhandler to flat API. 2016-05-22 20:45:40 +02:00
Griatch
bece57f067 Added non-persistent functinality to the TickerHandler, for specific use with OOB. 2016-05-22 20:45:40 +02:00
Griatch
cc5fe43372 Added a simple tickers command for inspecting the running tickers (no manipulation at this time, not sure how to make that in a safe way). 2016-05-22 20:45:40 +02:00
Griatch
dd6b6f06f7 Working new tickerhandler, handling both methods and functions. 2016-05-22 20:45:40 +02:00
Griatch
bd7f9dfe47 Almost working new tickerhandler. Still some errors with using idstrings. Also still some debug messages in place. 2016-05-22 20:45:39 +02:00
Griatch
77b178bf28 First version of a reworked tickerhandler. It will now also repeat normal functions in a module, not just methods on a database object. This means a backwards incompatible change, and API - old tickerhandler repeats will not restore properly with this. Currently untested. 2016-05-22 20:45:39 +02:00
Griatch
8090d92d85 MonitorHandler implemented as a replacement for the OOBHandler monitor functionality, as per #924. 2016-05-22 20:45:39 +02:00
Griatch
166189a7a5 Made ajax/comet client fallback work correctly in the new framework. 2016-05-22 20:45:38 +02:00
Griatch
4ab049709d Changed inputhandler/oochandler to monitorhandler and made inputhandler_funcs into just inputfuncs.py 2016-05-22 20:45:06 +02:00
Griatch
402b9a7394 Upped twisted requirement to 16.0.0. This because of a backwards incompatible change in Twisted's lLoopingCall that Evennia makes use of. This fixes failings with loading the tutorual world (due to loopingcall errors). 2016-03-24 11:50:58 +01:00
Griatch
43dc48a675 Made unittests work, both for django 1.8 and 1.9. 2016-02-19 22:43:28 +01:00
Griatch
e6a866a150 Made Evennia run with Django 1.9 2016-02-18 10:12:42 +01:00
Kai Huang
8011d42321 return 0 in case of ObjectDoesNotExist in DefaultScript.stop instead of pass. 2016-02-02 22:16:33 +01:00
Kai Huang
88674307ec Catch ObjectDoesNotExist exception when calling delete() in DefaultScript.stop(). Fixes 919 2016-02-02 22:16:33 +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
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
Ahmed Charles
de0e42240c Have every class inherit from object. 2015-11-09 10:11:34 +01:00
Ahmed Charles
11b61fe335 Import python3 compatible object. 2015-11-02 00:19:04 +01:00
Ahmed Charles
8a66fc40a9 Use with_metaclass from future.utils for python3 compat. 2015-11-01 15:11:12 +01:00
Griatch
c7e1a6a086 Resolved merge conflicts against master. 2015-10-20 00:07:39 +02:00
Griatch
50371b6abd Merged conflicts. 2015-10-19 23:32:00 +02:00
Ahmed Charles
bc340fbf0d Remove commented out print statements. 2015-10-19 23:31:19 +02:00
Ahmed Charles
418ca41803 Move to python3 style raise. 2015-10-19 23:31:19 +02:00
Russell Jones
06c3dc0ed3 Run "futurize -1 -w -n ." 2015-10-01 20:00:28 +01:00
Griatch
4bb3f7c8c0 Removing a debug in scripts. 2015-09-29 21:48:48 +02:00
Griatch
5b70a38a2e Implemented script.reset_callcount and script.restart to allow for modification of in-situ modification of the runtime characteristics of a Script. Resolves #794. 2015-09-29 21:43:03 +02:00
Griatch
c393f70638 Fixed regression error in script force_repeat. Resolves #785. 2015-08-20 22:14:04 +02:00
Griatch
d23a8a94db Updated scripts/ directory source to use Google style docstrings as per #709. 2015-05-29 21:08:04 +02:00
Griatch
13042e6d1a Updated players/ directory sources to use Google style docstrings, as per #709. 2015-05-29 20:23:38 +02:00
Griatch
97e04ee710 Twisted min version upped to 15.2.1 due to a change in the LoopingCall infrastructure that Evennia relies on. This resolves #744 by updating the Evennia implementation accordingly. 2015-05-27 22:35:05 +02:00
Griatch
554b55c9ec Fixed a kwarg call where Tickerhandler assumed too much about the hook method. 2015-05-14 21:36:43 +02:00
Griatch
b59e38caf5 Adding migrations for django1.8. 2015-04-04 00:08:51 +02:00
Griatch
1a7a6b3fff Removing migrations from repo 2015-04-04 00:08:51 +02:00
Griatch
6644effef8 Added migrations for the 1.8+ change 2015-04-04 00:08:51 +02:00
Griatch
ee1ec3979c Updates for making Evennia compatible with Django 1.8+. Still not fully functioning. 2015-04-04 00:08:51 +02:00
Griatch
e77d86a8f7 Moved default class import markers to base model. 2015-03-14 23:14:47 +01:00
Griatch
d752106906 Made typeclass loading a little more forgiving, adding a multitude of try-levels to fall back to in case of errors. Default is now to fallback to first settings-set default, then to the library default and only as a last resort fall back to the model. Every fallback step is logged. This should make the missing-hook error of #698 go away and report missing typeclasses in a better way. 2015-03-11 00:41:06 +01:00
Griatch
c9ed8b5ec5 Added migration to remove post-devel-merger default script paths as well as new ones. 2015-03-10 22:57:51 +01:00
tajmone
779ddbbbba docstrings and typos in "\utils\" and "\scripts\" 2015-03-09 18:44:22 +01:00
Griatch
fea3e92573 Cleaned up scripts module. 2015-03-09 18:13:25 +01:00
Griatch
b998c34c2a Updated script docs 2015-03-09 17:22:47 +01:00
tajmone
2135ec05f2 docstrings and typos in "\utils\" and "\scripts\" 2015-03-09 13:13:09 +01:00
Griatch
60163184ad Some cleanups. 2015-03-09 11:42:01 +01:00
tajmone
972b5cd2e2 docstrings and typos in "\utils\" and "\scripts\" 2015-03-09 11:33:55 +01:00