Commit graph

1319 commits

Author SHA1 Message Date
Griatch
fdca3ddec9 Some minor refactoring. 2014-05-05 00:07:04 +02:00
Griatch
42c0235d0d Added an example unittest to test_utils_utils.py. 2014-05-03 23:51:08 +02:00
Griatch
23efa02965 Cleanup of some other reference calls. 2014-04-30 20:38:46 +02:00
Griatch
047eee4bed Some more cleanup. 2014-04-30 20:31:13 +02:00
Griatch
86b771fb68 Some minor cleanups related to typeclass lookup calls. 2014-04-30 20:11:40 +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
4e7bfb95b5 Fixed some documentation on object typeclass. 2014-04-25 16:24:48 +02:00
Griatch
5d1b74ea17 Made msg() properly trigger the at_msg_receive hook, as per #506. 2014-04-25 13:56:48 +02:00
Griatch
4ab5e2aa22 Fixed Attributehandler.get() default return value. 2014-04-25 09:01:49 +02:00
Griatch
c402f9424c Added more verbose logging of typeclass module's syntax errors. 2014-04-23 20:29:38 +02:00
Griatch
033552cd04 Made unittests validate again. 2014-04-21 16:40:14 +02:00
Griatch
93d9545819 Added include_children and include_parents to the typeclass_search manager method, for searching typeclass parent- and child-hierarchies. Resolves #405. 2014-04-21 15:18:13 +02:00
Griatch
12dd202795 Added functionality to TypedObject.swap_typeclass to handle various typeclasses safely. Resolves #390. 2014-04-21 11:52:48 +02:00
Griatch
8ad2c18524 Cleaned up some batchprocessor error handling. 2014-04-21 10:37:51 +02:00
Griatch
e399c418e5 Some more cleanup of paths for batchprocessors 2014-04-21 01:06:37 +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
792b3c9282 Some cleanup code fixes. 2014-04-20 18:11:41 +02:00
Griatch
ec54de4797 Fixed an simplejson deprecation, switching to python json. 2014-04-20 16:50:37 +02:00
Griatch
972e47e66c Fixed more cleanup of Attibute/Tag/Nick/Permission handlers when object is deleted. 2014-04-20 16:47:03 +02:00
Griatch
f521b8129e Removed some debug output. 2014-04-20 16:18:15 +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
7d0ff9c71c Fixed a database referene bug that would remove ForeignKey referenced objects when reverse referenced through something like db_home (this defaults to CASCADE mode, is now SET_NULL). Also fixed some other minor things. 2014-04-20 15:03:53 +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
6812906caa Fixed some default website links that still pointed to google code. 2014-04-19 13:06:04 +02:00
Griatch
eb01c19111 Added channel subs to admin in a working way. 2014-04-19 12:21:34 +02:00
Griatch
52d38e360b Remove unsupport M2M field in channelAdmin handler. Removes traceback when DEBUG=True. 2014-04-19 12:08:07 +02:00
Griatch
82a30cc837 Added logger.log_file(msg, filename) as an easy way to log data to an arbitrary file in game/log. log_file() uses threading and open file handles to be non-blocking and inexpensive when logging often. 2014-04-19 11:50:52 +02:00
Griatch
ef0a154a61 First version of working websocket protocol. 2014-04-13 16:26:14 +02:00
Griatch
01d15f13ee First, untested implementation of websocket protocol support. 2014-04-13 13:18:32 +02:00
Griatch
3b1c66dcbc Made the find command handle *playername correctly. 2014-04-13 10:12:50 +02:00
Griatch
59513e5c00 Fixed player.search() to also move here/me/self wrappers to typeclass. 2014-04-13 10:04:35 +02:00
Griatch
99b73c173c Moved here/me,self replacement out of dbobj.search and into the typeclass. 2014-04-13 09:07:45 +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
bbba449aa4 Added some to evtable/evform, seems to work with ansi now. 2014-04-12 15:27:13 +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
Jonathan Piacenti
834b039a0d Fixed issues with transformation functions on ANSIString. 2014-04-12 15:27:13 +02:00
Griatch
7fd47eb386 Re-fixed the special obj/player wrapper for scripts. 2014-04-09 15:31:18 +02:00
Griatch
37a1d86659 Fixed an error in random_string_from_module that was introduced last update. 2014-04-07 08:07:52 +02:00
Griatch
803af4307b Fixed errors in email_login module. Resolves #439. Also added script.object possibility as well as script.obj. 2014-04-06 12:43:59 +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
bb7b73b7c2 Added auto-created empty unittest definitions. 2014-03-16 11:14:38 +01:00
Griatch
440afe6928 Further tweaks to unit test systems 2014-03-15 14:06:28 +01: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