Commit graph

2156 commits

Author SHA1 Message Date
Griatch
2e3a19840e Made tutorialworld install cleanly again. 2015-01-03 17:48:32 +01:00
Griatch
bb5b2b6fd8 Fixed bug in class_import 2015-01-03 15:22:27 +01:00
Griatch
2782e03478 Made unittest suite finish without errors using new proxy system. 2015-01-03 15:08:06 +01:00
Griatch
71b6600d87 Changed .typename to properly handle proxy classes. 2015-01-02 21:41:29 +01:00
Griatch
70da53569d Removed .typeclass and .dbobj references in codebase. 2015-01-02 20:48:34 +01:00
Griatch
1130dc5757 Started to go through the unittest errors, fixing player creation. 2015-01-02 19:01:09 +01:00
Griatch
0b01df1fcc Fixed creation function that caused entities to be wrong-named in certain circumstances. Server now starts and shutsdown without tracebacks. 2015-01-01 21:13:36 +01:00
Griatch
3d557f6bf9 Can log in, still errors all over the place due to missing .typeclass/.dbobj 2014-12-28 20:00:31 +01:00
Griatch
b839614259 Fixed the entire first_init script process with the new typeclass system. 2014-12-26 13:31:23 +01:00
Griatch
11449f3d62 Fixed some errors in channel loading. 2014-12-25 18:58:11 +01:00
Griatch
dd20740e73 Added Channels to new proxy system. 2014-12-25 17:08:12 +01:00
Griatch
9af9f94fa0 Moved Players over to the new proxy system, made the start-hook called by the save-signal system into at_first_save() 2014-12-25 14:43:43 +01:00
Griatch
db512cbbf5 Moved object methods up from ObjectDB and mainly onto the typeclass. In the process of converting players in the same way. 2014-12-24 01:24:26 +01:00
Griatch
302f5bdd81 Refactored the typeclass base, moved Attributes/Tags into separate modules and the django-proxy patch to its on module too. Lots of other cleanups. 2014-12-23 22:25:39 +01:00
Griatch
24764743ff Made a new version of create_object function, and made Objects creatable using o=Object(). 2014-12-23 21:33:03 +01:00
Griatch
969b947ba0 One needs to turn off all imports of typeclasses in __init__ or django will create migrations for them. This might be interesting for the future but not for development. 2014-12-23 11:53:32 +01:00
Griatch
749715a193 Server can be connected to, not yet get to a command line; may need to work on different app_labels. 2014-12-22 23:03:00 +01:00
Griatch
0b5e2b94ff Starting the move of typeclass methods off *DB models and onto the typeclasses. 2014-12-22 22:46:58 +01:00
Griatch
9321573c23 Fixed a typeclass call. 2014-12-22 22:14:23 +01:00
Griatch
c6c91c7a0b Removing some more .typeclass properties. 2014-12-22 22:04:52 +01:00
Griatch
a93d318121 Starting to remove obj.typeclass references. Server now starts and stops cleanly, but not yet tested with actual gameplay. 2014-12-22 21:46:52 +01:00
Griatch
e214c036c8 Resolved the setting of __dbclass__ which happened in the wrong order. 2014-12-22 21:27:32 +01:00
Griatch
2cc4315941 Removed stale remnant of PlayerChannelConnection from comm manager. 2014-12-22 16:30:06 +01:00
Griatch
c73e013459 Fixed bug in taghandler that stopped tags.get from working correctly with unset categories. 2014-12-22 14:34:02 +01:00
Griatch
14086e3b3d General database operations works with reworked, proxy-based typeclass system. 2014-12-22 14:14:21 +01:00
Griatch
1be49e7bea Fixed a bug in object manager. 2014-12-22 09:01:40 +01:00
Griatch
2ee9e62336 Fixed correct and separate handling of database model bases as compared to its proxy classes using different managers for each type (e.g. ObjectDB.objects.all() will return all ObjectDB instances(including proxy instances) whereas Object.objects.all() will only return Objects) 2014-12-22 08:54:53 +01:00
Griatch
554d1b9834 Fixed the *_family manager methods to correctly return typeclasses subclassed at any depth. 2014-12-21 23:08:20 +01:00
Griatch
b244d70e16 Resolved a UNIQUE id error when re-saving a typeclassed object. This was due to an idmapper hack which I *think* is not needed anymore, but might need to look at this in the future to see if the related lookup is actually using the cache or not. 2014-12-21 19:57:01 +01:00
Griatch
3b704d37dc Made sure all proxies of a given database model share the same idmapper cache 2014-12-21 16:06:10 +01:00
Griatch
9ee6b718da Some issues with unique restraint when re-saving objects. 2014-12-21 15:02:34 +01:00
Griatch
4e0b5be962 Fixed creation. Time to start cleaning the .dbobj hierarchy. 2014-12-20 19:29:38 +01:00
Griatch
e28d544fb0 The manager wrapper has trouble finding the path of the current class. 2014-12-20 19:19:48 +01:00
Griatch
043ebf7213 Fixed metaclass to handle proxy correctly. Some issues with getting path properties set correctly. 2014-12-20 19:04:49 +01:00
Griatch
32e44dceab Made the proxy typeclass system work in principle, using a wrapper of the __new__ method for the class. 2014-12-20 18:30:39 +01:00
Griatch
8314d8ba5e Now solving issues with faulty imports. Still nothing functional. 2014-12-20 17:03:34 +01:00
Griatch
08d0442f9c Strange issue with __init__, proxy implementation not working at the moment. 2014-12-19 16:56:28 +01:00
Griatch
3adeade69a Some errors in the proxy setting. 2014-12-19 16:41:20 +01:00
Griatch
236c0d17d3 First non-tested version of moving typeclasses to proxy models. 2014-12-19 16:29:41 +01:00
Griatch
8e8d85a4fe Added a new fuzzy module load mechanism 2014-12-19 13:32:08 +01:00
Griatch
ac9c68b877 Some rewordings in docstring. 2014-12-17 00:53:31 +01:00
Griatch
34dce9d175 Merge branch 'luyijun-contrib' 2014-12-17 00:50:34 +01:00
Griatch
192d12d905 Some minor cleanups. 2014-12-17 00:50:05 +01:00
Griatch
e48b5dd1d2 Merge branch 'contrib' of https://github.com/luyijun/evennia into luyijun-contrib 2014-12-17 00:44:52 +01:00
Griatch
417e8255af Just a small range->xrange addition. 2014-12-17 00:41:18 +01:00
Griatch
140a9f69f0 Fixed a column-border related issue with EvTable. 2014-12-16 23:33:48 +01:00
Griatch
0772341823 Optimizing EvTable for one-time presentation rather than re-use of a once-created table - this leads to optimization possibilities. 2014-12-16 22:01:10 +01:00
luyijun
cf1b75862e Merge remote-tracking branch 'upstream/master' into contrib 2014-12-16 23:49:55 +08:00
luyijun
ad4426d55d edit prompt_choice's documentation 2014-12-16 23:48:10 +08:00
Griatch
2bf3a5ce52 Fixed bug that added too many empty rows when adding columns to EvTable using .add_column() 2014-12-15 22:30:02 +01:00