Griatch
|
c5839eebba
|
Forgot a fix.
|
2014-05-11 07:28:44 +02:00 |
|
Griatch
|
0c848eb9a2
|
Reverted to a standard dictionary in SharedMemoryBase; not having this does return the old 'going out of scope' from yesteryear.
|
2014-05-11 07:27:56 +02:00 |
|
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
|
6f90149506
|
Merge pull request #511 from asechrest/myfixes
Added unittests for utils.py dedent() and list_to_string(). Adjusted lis...
|
2014-05-07 11:10:06 +02:00 |
|
asechrest
|
11ea572f00
|
Added unittests for utils.py dedent() and list_to_string(). Adjusted list_to_string to correctly handle no endsep.
|
2014-05-06 12:34:08 -04:00 |
|
Russell Jones
|
2b2d222e83
|
Some simple and proposed tests for the ScriptDB object. These pass OK with ./manage.py test, at least after running the server at least once.
|
2014-05-05 19:03:33 +01:00 |
|
Griatch
|
12c2402dac
|
Changed crop functionality slightly, inspired by asechrest's unittest.
|
2014-05-05 09:19:03 +02:00 |
|
asechrest
|
bb854384bd
|
Add unittest of utils.crop
|
2014-05-05 01:59:51 -04:00 |
|
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
|
29961a93f2
|
Changed contrib.extended_room's search to use the quiet keyword instead of the old ignore_errors.
|
2014-04-25 16:19:46 +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
|
5bf1c03d2a
|
Some cleanup of ev.py.
|
2014-04-21 17:11:17 +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
|
9784a2a5c0
|
Added a small example cmdset to dice.py.
|
2014-04-20 23:54:46 +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
|
d99d52fa5a
|
Re-removed some comments to batch-code example left over from debug.
|
2014-04-20 23:18:51 +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
|
b7b68afe20
|
Contrib/Evland was removed due to security issues and unsupported code. The code can be found for reference at https://github.com/Griatch/evlang.
|
2014-04-15 18:04:43 +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 |
|