Commit graph

2352 commits

Author SHA1 Message Date
Griatch
f1e156a299 Some minor tweaks to remove some debug logging. 2013-12-09 09:18:55 +01:00
Griatch
81ce6a1827 Fixed silly bug in previous commit. 2013-12-09 09:13:51 +01:00
Griatch
8b462b4934 Moved import in portal.py to after the manual path insert (Windows only), which possibly increase Windows compatability. 2013-12-08 23:54:03 +01:00
Griatch
64a30c655d Updated ReST docs. 2013-12-02 16:43:44 +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
Griatch
6d06ab5338 Added tag search methods to utils.search. Fixed bug in ev.py. 2013-12-02 14:07:38 +01:00
Griatch
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. 2013-12-02 13:45:48 +01:00
Griatch
72bdc3b37f Created wrappers for creating Tags. 2013-12-02 13:00:14 +01:00
Griatch
f4c9c18a66 Removed a left-over debug output. 2013-12-02 12:31:20 +01:00
Griatch
123deafcb0 Updated requirements.txt to new dependencies. 2013-12-02 12:09:27 +01:00
Griatch
0f7c8bb4b1 Cleaned up and added more features to the dependency checker. 2013-12-02 11:56:56 +01:00
Griatch
d76ebfcffa Upped the requirement checks as per the release notes. 2013-12-02 11:22:03 +01:00
Griatch
a56b16db7b Fixed a bug in @find not taking new Tag-based aliases into account. 2013-12-02 10:09:40 +01:00
Griatch
1ba54202e8 Fixed a @reload bug caused by last-minute OOB addition. 2013-11-30 08:15:23 +01:00
Griatch
02d6b7aca8 Added tag webserver-to-server-oob for changeset 0f08196cd4e0 2013-11-28 16:47:03 +01:00
Griatch
c356267497 Merge from development clone. 2013-11-28 16:46:16 +01:00
Griatch
242a0f17f8 Cleaned up oobhandler input. 2013-11-28 16:26:04 +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
24aa626a61 Made unittests pass. 2013-11-27 20:37:03 +01:00
Griatch
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). 2013-11-27 16:57:41 +01:00
Griatch
512f4e5063 Fixed an issue with @create re-adding a get:all() lock. 2013-11-27 12:05:06 +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
30b7d2a405 Made changes to examine command (to also display SessionCmdSet) and also made some more fixes. 2013-11-12 21:39:15 +01:00
Griatch
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 _. 2013-11-12 20:51:26 +01:00
Griatch
769e2a8744 Fix of a typo in previous commit. 2013-11-12 20:23:44 +01:00
Griatch
d2448c3eb6 Fixed so nick cmdline/channelname replacement worked with the new execute_cmd paradigm. Also, Resolves Issue 427. 2013-11-12 20:11:36 +01:00
Griatch
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). 2013-11-12 19:32:24 +01:00
Griatch
2e2c2fd484 Fixed a bug in run_async. Resolves Issue 407. 2013-11-12 17:37:04 +01:00
Griatch
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. 2013-11-12 17:07:35 +01:00
Griatch
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. 2013-11-12 00:05:06 +01:00
Griatch
7f0d0dd0f8 Fixed more errors with quelling as well as some other things with updating permissions in general. Resolves Issue 430. 2013-11-11 22:44:22 +01:00
Griatch
ebdc6cdbd4 Fixed an issue with quell not correctly updating its caches in some situations. 2013-11-11 21:51:41 +01:00
Griatch
ead595c2df Fixed a minor typo. Resolves Issue 432. 2013-11-06 20:57:37 +01:00
Griatch
bc8e27fea6 Changed object.search() to include nick-matching by default. 2013-10-21 22:56:03 +02:00
Griatch
3430aa9eae Fixed bug in delcom. 2013-10-21 22:51:16 +02: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
07af616b67 Adding caching to tags and attribute lookups. Leads to a noticeable speed improvement. 2013-10-20 21:02:37 +02:00
Griatch
6ad30a8ba5 Merge. 2013-10-20 14:28:40 +02:00
Griatch
4af1b165fd Fixed an issue where the contents of an object were not updated correctly. 2013-10-20 14:27:19 +02:00
Kelketek
10f7986335 Removed bogus column rename from a migration. 2013-10-20 07:21:59 -05:00
Griatch
efa6d85574 Added cmdset caching to cmdhandler. 2013-10-20 13:42:56 +02:00
Griatch
a00179b742 Fixed an error in aliasing 2013-10-18 22:31:22 +02:00
Griatch
584d1095ad More tweaks to the oob mechanism; renamed oob_defaults to oob_msdp 2013-10-18 22:04:53 +02:00
Griatch
4c650a44a6 Fixed up some channel-related errors and made unittests run again. 2013-10-18 21:01:53 +02:00
Griatch
bf786705b8 Fixed a missing return statement that caused non-superusers to not join default channels. 2013-10-18 20:34:09 +02:00
Griatch
910fa612c6 Fixed how tags are looked-up; using startswith on the category. 2013-10-18 17:17:42 +02:00
Griatch
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. 2013-10-18 16:15:51 +02:00
Griatch
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) 2013-10-18 15:09:03 +02:00
Griatch
213be7aec4 Forgot to add oob_defaults.py to commit. 2013-10-18 15:05:05 +02:00