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
Griatch
06e858b3f6
Moved permissions into a the tag system as a separate handler. Permissions still don't work quite right yet.
2013-08-24 23:57:44 +02:00
Griatch
2f5c895f76
Removed LiteAttributes, made Nicks use Attributes. Added category and strvalue fields to Attribute. Made Attributes accessible through an AttributeHandler, like most other advanced properties.
2013-08-24 21:23:43 +02:00
Kelketek
427dcc3985
Optimized Scripts admin page. Fixed related name for objects on attributes.
...
Repaired search. Removed some backwards compatible parts of picklefield since
we aren't supporting version older than 1.5 and they were obscuring the true
cause of some issues.
2013-07-21 09:44:34 -05:00
Kelketek
89aebfc13f
Made migrations compatible with new user model when creating from scratch.
2013-07-20 15:45:16 -05:00
Griatch
73a5800fbf
Fixed updates of the contentmanager. Not all command tests run yet.
2013-07-12 22:08:15 +02:00
Griatch
6bc16e46cc
Made aliases work with the new handler. The location.contents updated is not working yet - this causes locational information to not be available until objects and manually initialized (e.g. by calling examine #dbref)
2013-07-12 20:21:52 +02:00
Griatch
45706f598a
Fixed remaining issues so the login process works.
2013-07-12 15:57:46 +02:00
Griatch
0061f884ae
Implemented NickHandler, AliasHandler and TagHandler in the typeclass to replace the old handlers. Some errors during login.
2013-07-12 14:44:49 +02:00
Griatch
c676c9965f
Merged. Still need to update some migrations.
2013-07-11 19:11:27 +02:00
Griatch
9e10a41e18
First version with all caches seemingly working ok. Started to remove the on-model wrappers that are not handled by the idmapper metaclass.
2013-07-11 15:59:03 +02:00
Griatch
2b332c3b9a
Attribute cache is working, lots of other updates, but still not a cleanly updatable system. It seems the Attribute-migrations are not coming through properly. Fixed a misnamed table in the comm app.
2013-07-11 09:51:52 +02:00