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
|
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
|
4e0b5be962
|
Fixed creation. Time to start cleaning the .dbobj hierarchy.
|
2014-12-20 19:29:38 +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
|
236c0d17d3
|
First non-tested version of moving typeclasses to proxy models.
|
2014-12-19 16:29:41 +01:00 |
|
Griatch
|
dd937cdcd3
|
Made new tickerhandler store_key more ubiquitous, in case of not stopping server before pulling latest.
|
2014-10-20 06:07:15 +02:00 |
|
Griatch
|
f6b9b7e1a9
|
Implemented a idstring for the tickerhandler, as per #554.
|
2014-10-19 19:40:42 +02:00 |
|
Griatch
|
bb36f2cb76
|
Changed to Django1.7. Django 1.6 no longer supported. To change, upgrade django to 1.7+ and then run manage.py migrate, possibly followed by manage.py migrate --fake for objects and players.
|
2014-09-17 10:49:42 +02:00 |
|
Griatch
|
0bf4f3cfea
|
Removed all old south migrations, leaving migration dirs empty for future django1.7 migrations.
|
2014-09-17 09:45:41 +02:00 |
|
Griatch
|
e6950aadf2
|
Changed how lazy-loading of handlers work, using a werkzeug recipe. Much more efficient now.
|
2014-07-06 13:10:03 +02:00 |
|
Kelketek Rritaa
|
ca3f92acd0
|
Admin interface greatly improved. Support for editing Attributes added.
Resolves #503. Resolves #201.
|
2014-06-28 16:30:01 -05:00 |
|
Griatch
|
53b204bb76
|
Fixed code to pass unittests. Change script's is_valid method to correctly catch if it is checked on an object which is already deleted, as per #509.
|
2014-06-15 13:19:38 +02:00 |
|
Griatch
|
57144b2c21
|
Made objects auto-unsubscribe from tickerhandler when deleted (resolves #515). Fixed a bug that made typeclass loading mechanism not report errors as verbosely as it could.
|
2014-06-14 19:31:19 +02:00 |
|
Griatch
|
f2c75bd0f6
|
Added periodic idmapper cache size check along with conditional flush mechanism. Ran a lot of tests and stress tests to get statistics on usage.
|
2014-05-18 18:28:10 +02:00 |
|
Griatch
|
4b8ed234fd
|
Added /flushmem switch to the server command to incur the idmapper flushing.
|
2014-05-15 23:08:21 +02:00 |
|
Griatch
|
4e3789cede
|
Added lazy-loading of on-model handlers.
|
2014-05-10 13:31:50 +02:00 |
|
Griatch
|
792b3c9282
|
Some cleanup code fixes.
|
2014-04-20 18:11:41 +02:00 |
|
Griatch
|
7fd47eb386
|
Re-fixed the special obj/player wrapper for scripts.
|
2014-04-09 15:31:18 +02:00 |
|
Griatch
|
803af4307b
|
Fixed errors in email_login module. Resolves #439. Also added script.object possibility as well as script.obj.
|
2014-04-06 12:43:59 +02:00 |
|
Griatch
|
c0417def6d
|
Starting to convert RSS to new system
|
2014-03-08 11:41:24 +01:00 |
|
Griatch
|
ab6dcc605d
|
Got the IRC bot working with the new mechanism.
|
2014-03-08 11:41:24 +01:00 |
|
Griatch
|
6c45d76b56
|
Made irc bot connect, but scripthandler lookup is causing traceback when searching for a player)
|
2014-03-08 11:41:24 +01:00 |
|
Griatch
|
8b52591c2f
|
Run Migrations. Added player field to script model in order to allow Players to be scripted in the same way Objects can.
|
2014-03-08 11:41:23 +01:00 |
|
Griatch
|
f9eece9749
|
Started implementing the Bot functionality.
|
2014-03-08 11:41:23 +01:00 |
|
Griatch
|
4b1b842bd2
|
Changed TickerHandler to use the new ExtendedLoopingCall. This means the individual ticker-timers will continue from the last running time after a reload rather than starting over.
|
2014-02-17 17:18:12 +01:00 |
|
Griatch
|
617d0a3252
|
Added new handler calls to all typeclassed objects
|
2014-02-16 15:22:43 +01:00 |
|
Griatch
|
5c902ef14f
|
Added tickerhandler to ev.py and improved Script docs.
|
2014-02-15 23:53:35 +01:00 |
|
Griatch
|
28531d4fea
|
removing some debug texts from scripts.
|
2014-02-15 15:53:57 +01:00 |
|
Griatch
|
5a06ac4a8b
|
Changed how script repeats are internally handled; now counting the number of calls rather than trying to count down to zero in the ExtendedLoopingCall.
|
2014-02-15 15:40:40 +01:00 |
|
Griatch
|
f35fd236b7
|
Renamed fire() method to force_repeat().
|
2014-02-14 01:52:14 +01:00 |
|
Griatch
|
cf4a6f90a5
|
Added rounding of command output
|
2014-02-14 01:41:59 +01:00 |
|
Griatch
|
d6e6c12939
|
Fixed so refurbished Scripts work normally. Added script.fire() method to fire the script on-demand, as suggested in #420. Also added as method remaining_repeats() to be able to get how many more times the script will fire.
|
2014-02-14 01:31:09 +01:00 |
|
Griatch
|
64fc8f0b2a
|
Fixed repeat functionality with new Script implementation.
|
2014-02-13 22:36:52 +01:00 |
|
Griatch
|
9f2433b9c2
|
Switched Scripts to use ExtendedLoopingCall.
|
2014-02-13 21:04:59 +01:00 |
|
Griatch
|
854a452f03
|
Added more functionality to ExtendedLoopingCall class, like reset and repeats.
|
2014-02-13 17:39:29 +01:00 |
|
Griatch
|
6e4591d633
|
Created the ExtendedLoopingCall class for making resheduling of scripts a little more robust
|
2014-02-13 13:25:46 +01:00 |
|
Griatch
|
ee269d13cf
|
Cleaned up the tickerhandler
|
2014-02-12 00:46:22 +01:00 |
|
Griatch
|
029ee71ffa
|
Used
|
2014-02-12 00:46:22 +01:00 |
|
Griatch
|
afc7fd758f
|
Made TickerHandler more general.
|
2014-02-12 00:46:22 +01:00 |
|
Griatch
|
205960948d
|
Added first version of TickerHandler, for managing subscription style tickers in a centralized way.
|
2014-02-12 00:46:22 +01:00 |
|
Griatch
|
ea7e43c746
|
Updated gametime module to work on-the-fly, based on patches and discussion with user Khandrish. Also made cleanups to @scripts command and some small bug fixes.
|
2014-01-04 17:14:51 +01:00 |
|
Griatch
|
9839e0ba1f
|
Fixed bugs in scripts starting and with multiple aliases getting a malformed tag category.
|
2013-11-28 14:11:18 +01:00 |
|
Griatch
|
1ae17bcbe4
|
PEP8 cleanup of the entire codebase. Unchanged are many cases of too-long lines, partly because of the rewrite they would require but also because splitting many lines up would make the code harder to read. Also the third-party libraries (idmapper, prettytable etc) were not cleaned.
|
2013-11-14 19:31:17 +01:00 |
|
Griatch
|
06a0bea8d6
|
Added fix to object.contents cache as well as reworked the extent of cache hooks on location modification.
|
2013-10-21 21:17:32 +02:00 |
|
Griatch
|
acdea41a67
|
Merge from Kelketek's clone. Added fixes to migrations of Tags. Issues with ContentTypes meaning that this revision is not possible to start.
|
2013-10-17 23:44:52 +02:00 |
|
Kelketek
|
0484a944df
|
Fixed bug where user scripts filter on login uses typeclass instead of dbobj and crashes.
|
2013-09-29 13:35:39 -05:00 |
|
Griatch
|
39b69dcdc2
|
Fixed a migration issue with PostGreSQL.
|
2013-09-26 09:01:27 +02:00 |
|
Griatch
|
2a5168ade4
|
Moved all relevant wrappers into being managed by the metaclass. Noting that there are many inconsistent features into the comm system; m2m fields should be moved into handlers rather than what is now used. Some of the non-typeclassed models also really don't need to be idmapped - will probably not change this before merge.
|
2013-09-23 23:34:47 +02:00 |
|