Griatch
|
5d08d3b3fb
|
Added clear() method to nattributehandler. Resolves #542.
|
2014-08-05 09:05:44 +02:00 |
|
Griatch
|
3014909feb
|
Fixed attribute bug in typeclass swap.
|
2014-08-04 12:15:10 +02:00 |
|
Griatch
|
a0189a91ad
|
Fixed clearing in Tags vith tags.clear()
|
2014-07-08 09:22:49 +02:00 |
|
Griatch
|
50e7b37191
|
Addded sorted returns of Tags, as per #534.
|
2014-07-07 22:47:26 +02:00 |
|
Griatch
|
9dfe620b2b
|
Started moving tag/attribute handlers to TypeObjectManager as per #529
|
2014-07-06 16:03:27 +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 |
|
Griatch
|
680e603c4d
|
Changed how Tags and Attribues cache and track which objects they use, as suggested in #529.
|
2014-07-05 20:32:08 +02:00 |
|
Griatch
|
d05c92792c
|
Some cleanup and making unittests succeed again
|
2014-07-01 01:10:44 +02:00 |
|
Griatch
|
05d21ef4f7
|
Updated create.create_object to be faster. Made AttributeHandler.add() handle bulk-adding of Attributes and with a slightly more efficient way to create new Attributes.
|
2014-07-01 00:46:20 +02:00 |
|
Griatch
|
cda13989f6
|
Run Migrations! Made Tags unique based on the combination of their db_key, db_category AND their db_tagtype fields.
|
2014-06-30 20:14:58 +02:00 |
|
Kelketek Rritaa
|
54bb593f5e
|
Prevent editing of attributes which are not Python literals through the admin interface.
|
2014-06-29 09:14:01 -05:00 |
|
Kelketek Rritaa
|
a1b596a847
|
Fixed an issue where saving an attribute/tag would make duplicates.
|
2014-06-28 18:01:00 -05:00 |
|
Griatch
|
c60a5fdea1
|
Fixed and refactored OOB system and tested with new websocket client
|
2014-06-28 18:10:20 +02: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
|
3a6a8d5c48
|
Made objects clear more handlers on deletion, also scramble some methods and all database access wrappers to avoid an object memory instance being accessed after it has been deleted. See #509.
|
2014-06-15 12:27:48 +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
|
ce2d11ad12
|
Fixed bug in taghandler. Resolves #516.
|
2014-06-14 18:21:40 +02:00 |
|
Griatch
|
f49f33d40d
|
Made more work around memory profiling, added a small Script and display program for logging memory usage
|
2014-05-18 10:54:04 +02:00 |
|
Griatch
|
58af67bdf2
|
Fixed flush protection for instances, memory is successfully made available on an idmapper flush now.
|
2014-05-17 14:38:43 +02:00 |
|
Griatch
|
5e4af3f851
|
Implemented and tested set_recache_protection() on all idmapped objects, to avoid them getting recached. Added successfully to nattribute handler.
|
2014-05-15 10:05:41 +02:00 |
|
Griatch
|
a617924fb0
|
Made flush_cache work correctly on idmapper; added _idmapper_cache_flush_safe variable for 'securing' objects from cache cleanups. Nothing using this system yet.
|
2014-05-15 09:51:24 +02:00 |
|
Griatch
|
cfd2f111f1
|
Updating to make unittests work
|
2014-05-11 19:41:37 +02:00 |
|
Griatch
|
9bfb829274
|
Implemented WeakSharedMemoryModel for Attributes.
|
2014-05-11 15:23:11 +02:00 |
|
Griatch
|
f67effa0f9
|
Made Attributes into a normal Model instead of a SharedMemoryModel (like Tags). Removed artificial exclusivity of strvalue and value on Attributes.
|
2014-05-11 08:57:36 +02:00 |
|
Griatch
|
e11b242365
|
Continued with weakref and lazyloading fixes.
|
2014-05-11 01:05:59 +02:00 |
|
Griatch
|
0030530021
|
Added weak reverse references from all handlers.
|
2014-05-10 17:12:49 +02:00 |
|
Griatch
|
4e3789cede
|
Added lazy-loading of on-model handlers.
|
2014-05-10 13:31:50 +02:00 |
|
Griatch
|
fdca3ddec9
|
Some minor refactoring.
|
2014-05-05 00:07:04 +02:00 |
|
Griatch
|
42c0235d0d
|
Added an example unittest to test_utils_utils.py.
|
2014-05-03 23:51:08 +02:00 |
|
Griatch
|
4ab5e2aa22
|
Fixed Attributehandler.get() default return value.
|
2014-04-25 09:01:49 +02:00 |
|
Griatch
|
c402f9424c
|
Added more verbose logging of typeclass module's syntax errors.
|
2014-04-23 20:29:38 +02:00 |
|
Griatch
|
12dd202795
|
Added functionality to TypedObject.swap_typeclass to handle various typeclasses safely. Resolves #390.
|
2014-04-21 11:52:48 +02:00 |
|
Griatch
|
792b3c9282
|
Some cleanup code fixes.
|
2014-04-20 18:11:41 +02:00 |
|
Griatch
|
972e47e66c
|
Fixed more cleanup of Attibute/Tag/Nick/Permission handlers when object is deleted.
|
2014-04-20 16:47:03 +02:00 |
|
Griatch
|
7d0ff9c71c
|
Fixed a database referene bug that would remove ForeignKey referenced objects when reverse referenced through something like db_home (this defaults to CASCADE mode, is now SET_NULL). Also fixed some other minor things.
|
2014-04-20 15:03:53 +02:00 |
|
Griatch
|
f9c47e7945
|
Fixed a bug in removing tags from TagHandler.
|
2014-03-31 07:31:48 +02:00 |
|
Griatch
|
97991a2238
|
Implemented RSS feed reader along with updated rss2chan command.
|
2014-03-08 11:42:35 +01:00 |
|
Griatch
|
9770786486
|
Made addcom aliases case-insensitive. Resolves #428. Also fixed a bug with channel aliases that made them not work correctly with the new Attribute changes.
|
2014-02-16 23:29:19 +01:00 |
|
Griatch
|
5e942749e9
|
Run migrations! Schema changed for Attributes and Tags.
|
2014-02-16 22:42:49 +01:00 |
|
Griatch
|
41087789ce
|
Made unittesting suite work again.
|
2014-02-16 22:31:59 +01:00 |
|
Griatch
|
b1e08c7da6
|
Continuing to clean up and fix bugs around Attribute/Tag
|
2014-02-16 22:09:35 +01:00 |
|
Griatch
|
bad24513e0
|
Fixed and corrected various bugs resulting from the change to Attributes/Tags).
|
2014-02-16 21:27:42 +01:00 |
|
Griatch
|
630d31cac4
|
First working version of new Attribute/Tag categories
|
2014-02-16 18:24:56 +01:00 |
|
Griatch
|
bdacc7beba
|
Renamed typo on schema
|
2014-02-16 16:55:39 +01:00 |
|
Griatch
|
641633a0d4
|
Added the same extra fields to Attributes so as to not have to pollute category for Nicks in any way.
|
2014-02-16 15:10:47 +01:00 |
|
Griatch
|
17123bf7ed
|
First rework of tag category handling by new fields db_model and db_tagtype.
|
2014-02-16 13:19:31 +01:00 |
|
Griatch
|
87f3093dac
|
Deprecation warning: Added combined hook at_access(result, accessing_obj, access_type, **kwargs) to Objects and Players. This hook replaces at_access_failure and at_access_success, which are now both DEPRECATED and will be removed later.
|
2014-01-18 23:56:07 +01:00 |
|
Griatch
|
81ce6a1827
|
Fixed silly bug in previous commit.
|
2013-12-09 09:13:51 +01:00 |
|
Griatch
|
3aeec1298a
|
Added category support to @tag command; also fixed some bugs.
|
2013-12-02 16:39:21 +01:00 |
|
Griatch
|
88d103b55f
|
Added @tag command for easily manipulating tags. Fixed some bugs at the same time.
|
2013-12-02 15:40:02 +01:00 |
|