Commit graph

64 commits

Author SHA1 Message Date
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
Griatch
fc56b12f52 Made ircbot work correctly with latest code, lead to a fixing of a bug in script creation. 2015-03-07 13:22:11 +01:00
Griatch
a6c2910e93 fixed small inconsistency in returning a single script from the manager. 2015-03-06 20:54:44 +01:00
Griatch
84ccbf6b86 Fixed a migration that didn't run properly. Made typeclass loading a little more forgiving, giving a log_trace and loading the dbclass rather than crashing immediately. 2015-03-06 19:51:51 +01:00
Griatch
0a57f3c9a9 Removed unused scripts 2015-03-06 16:07:47 +01:00
Griatch
71e9038c62 Started removing the global maintenance scripts, but ran into strange AMP issues. 2015-03-06 15:59:58 +01:00
Griatch
b015f4802a Added better docstrings to subpackages and cleaned out some places which were unclear. 2015-02-23 17:46:42 +01:00
Griatch
68d294d007 Refactored and cleaned up the idmapper directory; it's been so changed by evennia that it makes little sense to keep the original structure (which was intended for adding an app into). Resolved the unittest errors with the idmapper. 2015-02-23 15:06:30 +01:00
Jonathan Piacenti
65adb0982b Fix references to contrib and ev. Allows Ampoule tests to run. They're severely broken, however. 2015-02-23 15:06:30 +01:00
Jonathan Piacenti
c03bac5efd Upgrade test runner to derive from DiscoveryRunner. 2015-02-23 15:06:30 +01:00
Griatch
c1243a9d6d Fixed a bug in mob movement that had it ignore its own check for traversal-permission 2015-02-22 17:46:55 +01:00
Griatch
56104d9a1d Made sure tickerhandler cleans itself of alrady-deleted objects. Some more bug fixes to reworked tutorialworld. 2015-02-22 17:46:55 +01:00