Commit graph

2017 commits

Author SHA1 Message Date
Griatch
2b1cb1c6ce Run migrations. Migrated channels to use m2m field rather than the ChannelPlayerConnection model. 2014-03-08 11:41:23 +01:00
Griatch
987695e417 Added m2m field for holding channel subs (no migration yet) 2014-03-08 11:41:23 +01:00
Griatch
9485dc17c8 Added has_key to _SavedDict 2014-03-08 09:39:40 +01:00
Kelketek Rritaa
af0a149148 Made the in-memory representation of ANSIString the clean string, removing the need for the regexable flag. 2014-02-28 14:19:54 -06:00
Griatch
259860ff25 Made evform use ANSIStrings internally. It doesn't crash, but wrapping coloured strings doesnot yet work. 2014-02-26 16:45:13 +01:00
Griatch
85dbd4a67e Started converting evform for ansi. There are some issues with regex-splitting still. 2014-02-26 14:31:34 +01:00
Griatch
979c1ab9be Fixed bleed of colour in evtable. Removed some debug outputs. 2014-02-26 13:21:14 +01:00
Griatch
07978e2145 Fixed some issues with counting characters in ANSIString. A first version of Evtable that works with ansi. 2014-02-26 12:33:16 +01:00
Kelketek Rritaa
6a7e329a39 Whoops, overcorrected some of that for split(). 2014-02-24 18:14:29 -06:00
Kelketek Rritaa
d4e98a80f9 Resolves #482. ANSIString splitting and slicing more sane. 2014-02-24 15:01:26 -06:00
Kelketek Rritaa
67f53564cb Adjustments for getting interleving ANSI codes in splits, slices, and indexes. 2014-02-22 15:49:26 -06:00
Kelketek Rritaa
8c1b81a06c Implemented .split() and .rsplit() for ANSIString. Props to the PyPy team. 2014-02-21 18:54:38 -06:00
Griatch
b0f1993dd6 Updated INSTALL.txt file to remove google code/mercurial references. 2014-02-19 14:04:22 +01:00
Griatch
e2130cd3e8 Fixes the searching by category. Resolves #488. 2014-02-18 16:42:54 +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
dd150ef3bb Added 'exact' keyword to player_search, allowing for fuzzy matching of player names. Resolves #422. 2014-02-16 23:37:30 +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
85225b3084 Fixed ev.search_object_tag(), which was a bit too greedy before. 2014-02-16 22:22:18 +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
a9f10d7801 Added migrations for new Attribute/Tag fields (not working yet) 2014-02-16 16:37:27 +01:00
Griatch
617d0a3252 Added new handler calls to all typeclassed objects 2014-02-16 15:22:43 +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
Kelketek Rritaa
a9ad82d005 Added a 'regexable' mode for ANSIString, fixed a few bugs with it.
Refactored with metaclass and added comments. Resolves #481, Resolves #480
2014-02-15 18:41:55 -06:00
Griatch
638483fa66 Changed the relative priorities of cmdsets to the following: -100(Empty), -20(Session), -10(Player), 0(Character), 101(Exit), 120(Channel) 2014-02-16 01:38:27 +01:00
Griatch
dbe49bb778 Fixed a silly bug introduced in last commit that made telnet connection fail. 2014-02-16 00:24:47 +01:00
Griatch
5c902ef14f Added tickerhandler to ev.py and improved Script docs. 2014-02-15 23:53:35 +01:00
Griatch
6ea4125ef1 Removed func_parts looping from cmdhandler - it didn't work as expected, as shown in #438. Instead reworked utils.delay() to implement the same functionality explicitly. 2014-02-15 23:33:19 +01:00
Griatch
393a3e5e73 Added check to location setter that makes sure to stop a location-loop forming. This closes #454. 2014-02-15 21:05:23 +01:00
Griatch
471e1bbf9b Added --version option to evennia.py program call. 2014-02-15 18:11:27 +01:00
Griatch
2d81a90b4b Made the evennia launcher's help entries a little more succinct. 2014-02-15 17:29:13 +01:00
Griatch
ab1663c856 Added some example text to evform 2014-02-15 17:03:44 +01:00
Griatch
6198e59f04 Made version string more terse by using the short hash instead of the full one. 2014-02-15 16:58:14 +01:00
Griatch
9ceaeedd9b Implementing saving of database objects as keys to Attribute-dicts. Also fixed some other issues with nested iterables in Attributes. Resolves #404. 2014-02-15 16:52:21 +01:00
Griatch
28531d4fea removing some debug texts from scripts. 2014-02-15 15:53:57 +01:00
Griatch
e3d1866b0f Fixed unicode-decode error if sending a non-ascii character from a non-UTF-8 terminal. 2014-02-15 15:51:22 +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
cdde9fb955 Turned back bodyfunctions example to returning more seldomly 2014-02-14 01:56:01 +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