Commit graph

  • c321ccb332 Made examine command more verbose about the cmdset stack and just which cmdsets go into the currently merged set. This meant a change to merged sets where they store their component sets as a variable "merged_from". Griatch 2014-01-20 22:46:30 +01:00
  • 1cabcae771 Fixed a mis-call in create_object. Griatch 2014-01-19 00:19:31 +01:00
  • f48fd8fa2c Changed how dep-messages were placed for the new access hooks. Griatch 2014-01-19 00:09:10 +01:00
  • 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. Griatch 2014-01-18 23:56:07 +01:00
  • aef7ccec8d Added an explicit conversion when adding the default home value in create_object; also made the error more explicit. Griatch 2014-01-18 23:02:15 +01:00
  • 64fd3580a3 Added the possibility to use #dbrefs as arguments to ev.create_object (e.g. for home and location). If a non-existing #dbref is given, a DoesNotExist error will be raised. Griatch 2014-01-18 22:53:30 +01:00
  • 2db2141b90 Fixed a case of _EmptyCmdSet being named just EmptyCmdSet in call. Griatch 2014-01-18 22:12:23 +01:00
  • 942a5aaf9a Fixes copy command issue as per Issue 452. Griatch 2014-01-18 10:16:26 +01:00
  • 9dcfddbf59 Reverted non-finished ANSIClass changes for now (best to handle those away from main branch). Resolves Issue 451. Griatch 2014-01-09 01:31:42 +01:00
  • 904dc77c80 Made some functionality fixes to @emit. Griatch 2014-01-08 08:47:28 +01:00
  • 6a1d645c75 Fixed @perm to correctly handle *name and also to be more informative. This fixes Issue 450. Griatch 2014-01-04 17:36:04 +01:00
  • 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. Griatch 2014-01-04 17:14:51 +01:00
  • 48bfc7e54a Made Empty cmdsets have priority -100, also changed their key from "Empty" to _EMPTY_CMDSET to make it clearer this is a special name. See also discussion in Issue 447. Griatch 2014-01-04 13:24:07 +01:00
  • acbfa57240 Merge. Resolves Issue 448. Resolves Issue 444. Resolves Issue 443. Resolves Issue 445. Griatch 2014-01-04 11:26:32 +01:00
  • 5ae4995f0f Some naming tweaks. Kelketek 2014-01-02 09:12:40 -06:00
  • d7ba49e01e non-breaking; finer grained control over game time Khandrish 2014-01-02 00:12:33 -08:00
  • 0a5597bb0b gametime script now allows for modification of interval via settings file Khandrish 2014-01-01 18:06:01 -08:00
  • f8f592af75 Added transformation-type string methods to ANSIString. Kelketek 2014-01-01 14:25:26 -06:00
  • b9d333180a Several more methods added to ANSIString. Existing ones from init moved out to bind properly. Kelketek 2013-12-31 22:18:13 -06:00
  • 63761f66ec ANSIString in progress. Checking in what I have so far. Kelketek 2013-12-31 08:37:42 -06:00
  • 81c57da56b Made search_object slightly less picky about db fields, per #445 Kelketek 2013-12-23 14:12:09 -06:00
  • 56601d0bbc Fixed issue #448, which prevented searching for objects with a specific attribute name. Kelketek 2013-12-23 13:55:33 -06:00
  • 46a7e891d1 Fixed issue where object aliases were not being included in searches. Kelketek 2013-12-23 13:38:40 -06:00
  • 7b5128d0a9 Fixed issue with @delplayer not working correctly. Kelketek 2013-12-23 12:59:06 -06:00
  • 932f215adf Updated the README file with latest status. Griatch 2013-12-11 16:20:49 +01:00
  • 7c90c3234c Removed a IPv6 restriction in portal, based on input from user 'jayvee' in chat. Griatch 2013-12-11 13:56:16 +01:00
  • f1e156a299 Some minor tweaks to remove some debug logging. Griatch 2013-12-09 09:18:55 +01:00
  • 81ce6a1827 Fixed silly bug in previous commit. Griatch 2013-12-09 09:13:51 +01:00
  • 8b462b4934 Moved import in portal.py to after the manual path insert (Windows only), which possibly increase Windows compatability. Griatch 2013-12-08 23:54:03 +01:00
  • 64a30c655d Updated ReST docs. Griatch 2013-12-02 16:43:44 +01:00
  • 3aeec1298a Added category support to @tag command; also fixed some bugs. Griatch 2013-12-02 16:39:21 +01:00
  • 88d103b55f Added @tag command for easily manipulating tags. Fixed some bugs at the same time. Griatch 2013-12-02 15:40:02 +01:00
  • 6d06ab5338 Added tag search methods to utils.search. Fixed bug in ev.py. Griatch 2013-12-02 14:07:38 +01:00
  • 6e5de7847a Run migrations! Changed "Comm" typeclass to be called "Channel" to match the ChannelDB it is a typeclass for. The migration updates all old channel defaults to the new path. Griatch 2013-12-02 13:45:48 +01:00
  • 72bdc3b37f Created wrappers for creating Tags. Griatch 2013-12-02 13:00:14 +01:00
  • f4c9c18a66 Removed a left-over debug output. Griatch 2013-12-02 12:31:20 +01:00
  • 123deafcb0 Updated requirements.txt to new dependencies. Griatch 2013-12-02 12:09:27 +01:00
  • 0f7c8bb4b1 Cleaned up and added more features to the dependency checker. Griatch 2013-12-02 11:56:56 +01:00
  • d76ebfcffa Upped the requirement checks as per the release notes. Griatch 2013-12-02 11:22:03 +01:00
  • a56b16db7b Fixed a bug in @find not taking new Tag-based aliases into account. Griatch 2013-12-02 10:09:40 +01:00
  • 1ba54202e8 Fixed a @reload bug caused by last-minute OOB addition. Griatch 2013-11-30 08:15:23 +01:00
  • 02d6b7aca8 Added tag webserver-to-server-oob for changeset 0f08196cd4e0 Griatch 2013-11-28 16:47:03 +01:00
  • c356267497 Merge from development clone. Griatch 2013-11-28 16:46:16 +01:00
  • 242a0f17f8 Cleaned up oobhandler input. Griatch 2013-11-28 16:26:04 +01:00
  • 9839e0ba1f Fixed bugs in scripts starting and with multiple aliases getting a malformed tag category. Griatch 2013-11-28 14:11:18 +01:00
  • 24aa626a61 Made unittests pass. Griatch 2013-11-27 20:37:03 +01:00
  • e9e2c78eef Refactored amp.py to more cleanly splitting long AMP messages also during server sync (this could cause errors with a large number of connected players). Also fixed an issue with the lockstring get:all() being set by @create despite it not needing to (overloading changes in the typeclass). Griatch 2013-11-27 16:57:41 +01:00
  • 512f4e5063 Fixed an issue with @create re-adding a get:all() lock. Griatch 2013-11-27 12:05:06 +01:00
  • 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. Griatch 2013-11-14 19:31:17 +01:00
  • 30b7d2a405 Made changes to examine command (to also display SessionCmdSet) and also made some more fixes. Griatch 2013-11-12 21:39:15 +01:00
  • 0ea57f33a9 Made it so system cmdsets (_exitcmdset and _channelcmdset for example) don't replace the name of other cmdsets in a merger. These "invisible" cmdsets caused confusion for the key_mergetype dictionary (which should e.g. ignore the DefaultCharacter set instead of replace it, but since the system cmdsets were merged in, the DefaultCharacter set is no longer named that when it's time to merge in the new set). The fix ignores name replacing if the merging set has a key starting with _. Griatch 2013-11-12 20:51:26 +01:00
  • 769e2a8744 Fix of a typo in previous commit. Griatch 2013-11-12 20:23:44 +01:00
  • d2448c3eb6 Fixed so nick cmdline/channelname replacement worked with the new execute_cmd paradigm. Also, Resolves Issue 427. Griatch 2013-11-12 20:11:36 +01:00
  • 8f914196f4 Removed caching of Attribute values, since this caused problems when storing and deleting database objects. There is an overhead from unpickling every call; hopefully not too bad (and if it is, one needs to use strvalue storage instead). Griatch 2013-11-12 19:32:24 +01:00
  • 2e2c2fd484 Fixed a bug in run_async. Resolves Issue 407. Griatch 2013-11-12 17:37:04 +01:00
  • 295c79d448 Added a 1-second delay to initial connection in order to allow telnet custom protocol handshakes to complete before server sync. This is a dumb patch that works but it's hardly ideal - but without it, none of the telnet options are properly synced to the server. Making a callback chain for the various handhakes is not trivial, so using this until a more elegant solution can be found. Griatch 2013-11-12 17:07:35 +01:00
  • 149b06a6a4 Fixed an issue with exit commands not using arg_regex ending correctly (it turns out you need to include this in the ExitCommand creation call or the metaclass will not pick it up and precompile the regex). Resolves Issue 397. Griatch 2013-11-12 00:05:06 +01:00
  • 7f0d0dd0f8 Fixed more errors with quelling as well as some other things with updating permissions in general. Resolves Issue 430. Griatch 2013-11-11 22:44:22 +01:00
  • ebdc6cdbd4 Fixed an issue with quell not correctly updating its caches in some situations. Griatch 2013-11-11 21:51:41 +01:00
  • ead595c2df Fixed a minor typo. Resolves Issue 432. Griatch 2013-11-06 20:57:37 +01:00
  • bc8e27fea6 Changed object.search() to include nick-matching by default. Griatch 2013-10-21 22:56:03 +02:00
  • 3430aa9eae Fixed bug in delcom. Griatch 2013-10-21 22:51:16 +02:00
  • 06a0bea8d6 Added fix to object.contents cache as well as reworked the extent of cache hooks on location modification. Griatch 2013-10-21 21:17:32 +02:00
  • 07af616b67 Adding caching to tags and attribute lookups. Leads to a noticeable speed improvement. Griatch 2013-10-20 21:02:37 +02:00
  • 6ad30a8ba5 Merge. Griatch 2013-10-20 14:28:40 +02:00
  • 4af1b165fd Fixed an issue where the contents of an object were not updated correctly. Griatch 2013-10-20 14:27:19 +02:00
  • 10f7986335 Removed bogus column rename from a migration. Kelketek 2013-10-20 07:21:59 -05:00
  • efa6d85574 Added cmdset caching to cmdhandler. Griatch 2013-10-20 13:42:56 +02:00
  • a00179b742 Fixed an error in aliasing Griatch 2013-10-18 22:31:22 +02:00
  • 584d1095ad More tweaks to the oob mechanism; renamed oob_defaults to oob_msdp Griatch 2013-10-18 22:04:53 +02:00
  • 4c650a44a6 Fixed up some channel-related errors and made unittests run again. Griatch 2013-10-18 21:01:53 +02:00
  • bf786705b8 Fixed a missing return statement that caused non-superusers to not join default channels. Griatch 2013-10-18 20:34:09 +02:00
  • 910fa612c6 Fixed how tags are looked-up; using startswith on the category. Griatch 2013-10-18 17:17:42 +02:00
  • 55423f6a2f Fixed a ZeroDivionError by adjusting what is returned by aliashandler.all() when no aliases are given ([] instead of ['']). Also made sure src.utils.stringsuggestions() don't crash in such a situation. Griatch 2013-10-18 16:15:51 +02:00
  • a1646ec596 Fixed an issue with a CmdClock not being a part of the __all__ module handle (this causes ev.py to fail to import it) Griatch 2013-10-18 15:09:03 +02:00
  • 213be7aec4 Forgot to add oob_defaults.py to commit. Griatch 2013-10-18 15:05:05 +02:00
  • b6ece2af10 Fixed issue where migrations would not also migrate ContentType for ChannelDB. Kelketek 2013-10-17 20:18:37 -05:00
  • f9b9c98b07 Merging in local changes. Griatch 2013-10-17 23:57:23 +02:00
  • acdea41a67 Merge from Kelketek's clone. Added fixes to migrations of Tags. Issues with ContentTypes meaning that this revision is not possible to start. Griatch 2013-10-17 23:44:52 +02:00
  • 6f8d1f9ce1 Added some more msdp commands Griatch 2013-10-17 20:15:48 +02:00
  • d7fc0c7e16 Made OOB tracking work for Attributes. Tested repeat across reloads. Griatch 2013-10-17 19:07:01 +02:00
  • 57e7c6a11e Fixed removal of oob repeats. Griatch 2013-10-17 17:11:24 +02:00
  • e521501cb9 Tested working oob repeat functionality. Griatch 2013-10-17 16:11:42 +02:00
  • 46c2e372bf Added working report functionality for db-fields. Not tested for Attributes yet. Also working oob-repeat functionality, but still a traceback at reload. Griatch 2013-10-16 23:39:04 +02:00
  • bdcc8de5bc OOB MSDP working with direct sending of data from various parts of the system. Tracking as well as support for the default MSDP commands (LIST, REPORT etc) are not yet tested/implemented. Griatch 2013-10-15 20:00:18 +02:00
  • 16bbe009c3 OOB passing data client->server. A few more default commands are needed. Griatch 2013-10-07 19:57:01 +02:00
  • 0484a944df Fixed bug where user scripts filter on login uses typeclass instead of dbobj and crashes. Kelketek 2013-09-29 13:35:39 -05:00
  • 45ea5a7cb5 Admin pages load now, but they ain't always pretty. Kelketek 2013-09-29 13:30:25 -05:00
  • 48bcb9d0ba Useful default typeclass for channels added. Handles poses and provides interfaces for external messages and internal alike. Kelketek 2013-09-29 13:11:10 -05:00
  • 851e6d00cc Turned comms into typeclassed objects. Kelketek 2013-09-28 22:23:30 -05:00
  • 96c6ad4aff Fixed an issue with channel-sending crashing when ooc. Resolves Issue 429. Griatch 2013-09-27 21:31:47 +02:00
  • 39b69dcdc2 Fixed a migration issue with PostGreSQL. Griatch 2013-09-26 09:01:27 +02:00
  • b99833e8fc Fixed initial_setup to properly create new objects without a pre-set home. Griatch 2013-09-24 00:41:33 +02:00
  • 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. Griatch 2013-09-23 23:34:47 +02:00
  • f11f330e95 Moved db_player and db_sessid under metaclass wrappers. Griatch 2013-09-23 23:10:23 +02:00
  • fd9acd6bf9 Fixed website. Fixing references to db_references, not sure how to add the m2m field access to the admin. Fixed wrapper for db_home. Griatch 2013-09-23 22:08:14 +02:00
  • 272a6ddc2d First version where test suite validates. Caching is still not fully active (especially attribute lookup), OOBhandler is untested. Griatch 2013-09-22 22:57:03 +02:00
  • 8b1afa7043 Fixed errors in attributehandler that affected nicks. Test suite not validating yet. Griatch 2013-09-22 22:34:22 +02:00
  • 642ae2faf9 Fixed cache and metaclass irregularities as well as the location and contents caches. Griatch 2013-09-22 21:48:08 +02:00
  • 0a394929b7 Fixed an issue in idmapper metaclass wrapper, it caused text fields to be occationally be written with objects. Griatch 2013-09-22 19:56:51 +02:00