Commit graph

633 commits

Author SHA1 Message Date
Griatch
e11b242365 Continued with weakref and lazyloading fixes. 2014-05-11 01:05:59 +02:00
Griatch
dc2cce5f4f Fixed the Command CmdExample class. 2014-05-10 19:57:59 +02:00
Griatch
3be02c8f03 Added settings.CMDSET_PATHS to allow to give cmdsets without the full path. 2014-05-10 19:51:46 +02:00
Griatch
63c099c22f Various fixes and debugging of weak-ref changes 2014-05-10 19:38:23 +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
0cae40f41a Made DEFALT_HOME a fallback for a missing START_LOCATION in unloggedin-create. 2014-04-26 05:47:23 +02:00
Griatch
033552cd04 Made unittests validate again. 2014-04-21 16:40:14 +02:00
Griatch
8ad2c18524 Cleaned up some batchprocessor error handling. 2014-04-21 10:37:51 +02:00
Griatch
3848a789a7 Changed lockhandler.add/replace to use LockExceptions instead of log_obj, which should also work more flexibly for handling lock errors for players. Resolves #410. 2014-04-21 00:24:33 +02:00
Griatch
e45160a12b Changed some defaults of EvTable. Made EvTable handle clist command. Resolves #426. 2014-04-20 23:45:19 +02:00
Griatch
0dc62a5fc9 Refactored batch processors, addressing points in #489. 2014-04-20 23:06:10 +02:00
Griatch
91b23f58a4 Removed CHARACTER_DEFAULT_HOME, replaced with DEFAULT_HOME and added START_LOCATION for determining where default commands dump new characters. 2014-04-20 15:56:38 +02:00
Griatch
787f93c4c0 Cleaned up objects command table look 2014-04-19 18:07:54 +02:00
Griatch
dcd14cb621 Fixed objects-command zerodiv error with totally empty Object database. 2014-04-19 17:13:37 +02:00
Griatch
3b1c66dcbc Made the find command handle *playername correctly. 2014-04-13 10:12:50 +02:00
Griatch
e76061ee4c Fixed some issues with which hooks the reset command calls. Resolves #499. 2014-04-12 16:25:19 +02:00
Griatch
4a7e332f41 Added arg_regex check to unloggedin create command to avoid merging mis-spells of create with the argument. 2014-04-12 15:27:13 +02:00
Griatch
55a3be0e83 Fixed deletion of aliases. Resolves #490. 2014-04-06 10:28:14 +02:00
Griatch
8046679980 Fixed a missed update to the search functionality that now should use db_tagtype rather than the old and hackish category-prefix solution. Resolves #497. 2014-04-06 10:21:06 +02:00
Griatch
87d621bcbc Changed variable_from_module to no longer return a random entry but all variables from a module. Added random_string_from_module to support the CONNECTION_SCREEN. Also fixed a bug in the connection_screen handling that occationally (randomly) would return an empty entry. 2014-04-06 09:40:05 +02:00
Griatch
f9c47e7945 Fixed a bug in removing tags from TagHandler. 2014-03-31 07:31:48 +02:00
Griatch
67c4896a53 More refactoring of the unittest system 2014-03-15 08:03:44 +01:00
Griatch
7571e3606d Some cleanups of the unittests. 2014-03-15 07:37:02 +01:00
Griatch
96f26098d1 Fixed comm-related unittest failures 2014-03-09 20:23:14 +01:00
Griatch
1a65d12b2c Fixed a bug in strip_ansi that caused issues all over. 2014-03-09 20:23:14 +01:00
Griatch
ef8755581c optimized ansi parsing a bit as well as did some general cleanup. 2014-03-09 20:22:48 +01:00
Griatch
2edea1eace Changed the default login screen to change with settings.SERVERNAME. 2014-03-08 23:10:26 +01:00
Griatch
460392f495 Some implementations of EvTable. Probably needs to add a crop-function to evtable. 2014-03-08 11:42:35 +01:00
Griatch
97991a2238 Implemented RSS feed reader along with updated rss2chan command. 2014-03-08 11:42:35 +01:00
Griatch
f126d30b36 More cleanup of irc bot code, including having it cleanly disconnect from irc channel when destroyed. 2014-03-08 11:41:24 +01:00
Griatch
7bde8afe66 Added maxwidth argument to evtable, for restricting upper width of table, but allowing it to resize if narrower. 2014-03-08 11:41:24 +01:00
Griatch
0d071ec75f Updating the irc2chan command 2014-03-08 11:41:24 +01:00
Griatch
6c45d76b56 Made irc bot connect, but scripthandler lookup is causing traceback when searching for a player) 2014-03-08 11:41:24 +01:00
Griatch
8b52591c2f Run Migrations. Added player field to script model in order to allow Players to be scripted in the same way Objects can. 2014-03-08 11:41:23 +01:00
Griatch
75ef743297 Made a first version of command IRC2Chan, server starts but no more testing yet. 2014-03-08 11:41:23 +01:00
Griatch
2b1cb1c6ce Run migrations. Migrated channels to use m2m field rather than the ChannelPlayerConnection model. 2014-03-08 11:41:23 +01:00
Griatch
e2130cd3e8 Fixes the searching by category. Resolves #488. 2014-02-18 16:42:54 +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
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
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
471e1bbf9b Added --version option to evennia.py program call. 2014-02-15 18:11:27 +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
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
bc8ce9f394 Fixed command auto-help strings to make it look better in the cmdhelp wiki page 2014-02-12 15:05:17 +01:00
Griatch
4d85a38260 Made a more consistent cleaning of the _playable_character list to remove stagnant references 2014-02-09 23:32:32 +01:00
Griatch
6feb233670 Fixed display issue in CmdOOCLook if Character was deleted. 2014-02-09 23:25:34 +01:00