Commit graph

183 commits

Author SHA1 Message Date
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
2c17b7b675 Made the migrations for the new Tags and LiteAttributes. 2013-07-12 12:04:57 +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
Griatch
2a7c45d6e8 Run Migrations. Migrated to new Attribute schema, converting old attributes. Not fully tested yet. 2013-07-09 00:09:19 +02:00
Griatch
a1d818f8aa First test with moving Attributes to m2m field. Not working yet. 2013-07-08 18:13:21 +02:00
Kelketek
c3f86ab45b Fixed issue where searching for 'me' did not return typeclassed object. 2013-06-29 14:14:00 -05:00
Griatch
7351aacba5 Fixed an issue with setting location. Still errors with creating new objects. 2013-06-05 18:47:41 +02:00
Griatch
41235c25a2 Changed propcache back to a simple dict. Working on content cache, not working yet. 2013-05-30 00:49:47 +02:00
Griatch
fb3259be8c Activated propcache with new cache system. Still not functioning correctly, also the content cache needs to be handled. 2013-05-29 23:07:44 +02:00
Griatch
b6383ddab9 Moved attr_cache to new caching system, activated all attribute updating signals. 2013-05-29 18:47:51 +02:00
Griatch
efdb954491 Fixed a logical error in obj.manager causing it to fail to find arbitrary db_>fieldname>. Resolves Issue 373. 2013-05-21 14:29:50 +02:00
Griatch
e15d6dfb6e Fixed a search feature that was not included in the revision of the object search mechanism - the ability to search based on an object. Resolves Issue 363. 2013-05-14 21:17:29 +02:00
Griatch
f00053710c Added Character-level quelling possibilities to superuser. This makes the superuser quelling completely in line with normal quelling for other permission levels. It also removes the need for the special _superuser_character bypass used before (the migration no longer creates it an initial_setup won't either). 2013-05-14 14:53:08 +02:00
Griatch
77a0b47859 Fixed some issues with the _superuser_character bypass as well as the is_superuser property on objects. Also fixed a bug with @examine that caused it to display object Attribute instead of Player Attributes when called from the ooc state. 2013-05-14 13:55:03 +02:00
Griatch
88075bf2a0 Fixed some lingering issues in TutorialWorld. 2013-05-12 20:24:00 +02:00
Griatch
78e7346962 Updated commands to use the new objectdb.search API. 2013-05-11 23:22:02 +02:00
Griatch
218e4a149c Implemented a modified and cleaned objectdb.search and accompanying object.manager.search_object that also searches globally. The default commands have not yet been converted to use the new call. 2013-05-11 20:01:19 +02:00
Griatch
ad8a9fbe69 Added warning message for puppeting to an object without neither location nor home set. 2013-04-20 16:14:12 +02:00
Griatch
75341ade6f A first test using PickledObjectField and a rewritten dbserialize module to store Attributes. No migrations set up yet. 2013-04-13 15:15:02 +02:00
Griatch
5874505902 Changed object.player to return a typeclass. Resolves Issue 325. Also made sure that .typeclass always returns a typeclass, also if called on something which is already a typeclass. 2013-04-10 22:33:32 +02:00
Griatch
26ced2cb90 Heavily reworked the many-char system, cleaner and more consistent by not having any persistent links on the Object side once a player has unconnected. 2013-04-09 15:59:21 +02:00
Griatch
7581d65cb3 Made superuser able to have a separate "superuser character" in order to be able to have also test-characters without privileges. 2013-03-11 22:01:52 +01:00
Griatch
bbdf2e0896 Fixed a bug that caused superuser status to be cached only once for characters, even if the player was not yet connected. 2013-03-11 20:01:03 +01:00
Griatch
406800f254 Merge. 2013-03-09 12:16:50 +01:00
Griatch
47356ca632 Fixed a lingering error from turning off "quick assignment" that caused issues in TutorialWorld. 2013-02-18 20:08:05 +01:00
Griatch
458e3e7599 Added @sessions command for viewing active sessions connected to a given account. 2013-02-17 20:21:23 +01:00
Griatch
25505d69a6 Moved login and disconnect from session-level to sessionhandler level to make the process cleaner with hooks rather than direct calls. 2013-02-17 18:48:48 +01:00
Griatch
f1767251c6 Can now log in to a character selection screen. Lots more testing required before one-char-per-session works. 2013-02-03 00:25:06 +01:00
Griatch
00584365ae Added sessids to command objects and changed how the "login"-hooks are called. Those will probably have to be changed to better names, at least for characters. 2013-02-02 22:41:56 +01:00
Griatch
231af4a351 Continued work on multi-char-per-account. Added a new default login point. Still need to add sessid to commands. 2013-02-02 15:55:42 +01:00
Griatch
b50266623e Merge. 2013-02-01 22:04:18 +01:00
Griatch
8b5938ddd0 Non-working intermediary commit. 2013-02-01 22:03:55 +01:00
Griatch
f734e9511c Handle the case of doing aliases=<string> instead of aliases=[<string>] in create_object - this caused the malformed data to be stored in cache and causing tracebacks in cmdhandler until @reloaded. 2013-02-01 21:03:03 +01:00
Griatch
c0302f7cff Added global_dbref argument to caller.search, for allowing e.g. the examine command to view globally by dbref yet local-only if supplying a name. Resolves Issue 327. 2012-12-08 14:09:42 +01:00
Griatch
9f6e3de637 Various cleanups and fixes found during refurbishing the unittest framework (not pushed yet) 2012-11-05 00:55:25 +01:00
Griatch
d2d9953f94 Cache changes: Moved all caches (except idmapper) to central caching module. This makes it easier to overview cache memory usage (and clean it) as well as plug-in external cache mechanisms. 2012-11-01 11:20:07 +01:00
Griatch
ce036e07f3 Added the ability of obj.move_to to accept a None location with a keyword to_none. Also changed the @tel command to accept a /tonone switch for putting things' location to None. Resolves Issue 307. 2012-10-23 22:31:51 +02:00
Griatch
7997cf62e8 Added a more comprehensive recursive location-loop checker that shouldn't be too expensive. Thanks to rcaskey for bouncing ideas in IRC! 2012-10-14 21:24:58 +02:00
Griatch
67dc11849f Added a check for 1st level recursion of location. So self.location=self will no longer work. I did not add a full recursive check (it would need to go through all contents of the object and their contents etc) since this is expensive for something that should usually not be a common error. Further checks could be added higher up in the build commands if location-loops are considered a big problem. Resolves Issue 296. 2012-10-14 20:21:53 +02:00
Griatch
46ffd06c78 Followed the suggestion of making nicks set on Player be globally available (I liked this better than the old default behaviour). Changed for execute_cmd nick replacement ("inputline","channels") as well as for caller.search nick replamement ("player", "object"). A Character's nick overrule a same-named nick on the Player level, which sounds like the most expected behaviour. Resolves Issue 292. 2012-10-14 17:24:30 +02:00
Griatch
0141f94e9d Fixed a bug in obj.copy() that tried to access contents without properly initializing the typeclass. Resolves Issue 288. 2012-10-14 16:31:22 +02:00
Griatch
4dff822764 Fixed bug in @batchcommand (Resolves Issue 287). Also updated @dig to again handle deleting ranges of dbrefs (with or without # in front). 2012-10-14 16:24:21 +02:00
Griatch
93d95377ce Shifting ProcPool out of src and into a contrib, using the service plugin system. 2012-09-22 20:40:30 +02:00
Griatch
f677902811 Fixed a bug with setting a location to None. 2012-09-22 13:37:22 +02:00
Griatch
e874343387 Adjusted search() functionality to handle also a list of location(s) to search. Changed "get" command to not search inventory (which could lead to multimatch errors). 2012-09-21 08:36:59 +02:00
Griatch
c0b03c2ee3 Some further removal of recursive loops in the typeclass system. 2012-09-20 23:18:52 +02:00