Commit graph

  • 54bb593f5e Prevent editing of attributes which are not Python literals through the admin interface. Kelketek Rritaa 2014-06-29 09:14:01 -05:00
  • 112e7c652d Leftover news app cleanup, .gitignore updated. Kelketek Rritaa 2014-06-29 08:29:41 -05:00
  • 7499932337 Removed creation of admin media symlink. Fixed media handling. Kelketek Rritaa 2014-06-29 08:23:12 -05:00
  • def97b58a8 Renamed static ev directory to evennia_general Kelketek Rritaa 2014-06-29 08:14:33 -05:00
  • a34ddea236 Fixed placement of websocket javascript and template. Kelketek Rritaa 2014-06-29 07:05:45 -05:00
  • a1b596a847 Fixed an issue where saving an attribute/tag would make duplicates. Kelketek Rritaa 2014-06-28 18:01:00 -05:00
  • a6187ed997 Minor cleanup in a readme and a method signature. Kelketek Rritaa 2014-06-28 16:35:57 -05:00
  • ca3f92acd0 Admin interface greatly improved. Support for editing Attributes added. Kelketek Rritaa 2014-06-28 16:16:09 -05:00
  • fa20190467 Added collectstatic to start/reload. Kelketek Rritaa 2014-06-05 19:17:10 -05:00
  • 7d12c6dd69 Added custom Evennia admin and ability to toggle it. Kelketek Rritaa 2014-06-04 08:58:54 -05:00
  • fbe0eab01c Some consistency improvements with URL overrides. Kelketek Rritaa 2014-05-25 13:18:00 -05:00
  • 16bcc3c9f0 Restructured web resources to better manage static files. Kelketek Rritaa 2014-05-02 22:52:12 -05:00
  • 05c9d67ffc Made the tab, space and linebreak ansi characters case-insensitive. Resolves #522. Griatch 2014-06-28 18:51:04 +02:00
  • bb8c9ce2ab Changed default puppet lock to puppet:pperm(Immortals) by default. Resolves #521. Griatch 2014-06-28 18:48:54 +02:00
  • b092d29989 Fixed page command to properly repage n0q 2014-06-26 20:08:23 -04:00
  • 8c5621025b Added oob test command for websocket client. Griatch 2014-06-28 18:08:22 +02:00
  • c60a5fdea1 Fixed and refactored OOB system and tested with new websocket client Griatch 2014-06-28 17:38:21 +02:00
  • 9ba212c264 Working on the OOB system, somewhat unstable at the moment. Griatch 2014-06-27 01:13:48 +02:00
  • d59500f574 Updated to a working websocket implementation of webclient. Griatch 2014-06-26 23:37:03 +02:00
  • ca1e36da5f First working test version of oob support in the websocket client. Griatch 2014-06-25 23:35:21 +02:00
  • a9cf081494 First make of a testing method for oob Griatch 2014-06-15 23:17:27 +02:00
  • e6c1ab3df8 First make of a testing method for oob Griatch 2014-06-15 23:14:06 +02:00
  • ede6634081 Converted webclient to use websockets on port 8001. Ideally one would make it so the ajax and websocket clients work under the same django wrapper, but for now this functionality is elusive. Griatch 2014-06-15 21:58:53 +02:00
  • 2a6cfaca7d Some cleanup of the OOB code. Griatch 2014-06-15 16:17:47 +02:00
  • cccb60dd6c Update README.md Griatch 2014-06-27 10:46:16 +02:00
  • 53b204bb76 Fixed code to pass unittests. Change script's is_valid method to correctly catch if it is checked on an object which is already deleted, as per #509. Griatch 2014-06-15 13:19:38 +02:00
  • 3a6a8d5c48 Made objects clear more handlers on deletion, also scramble some methods and all database access wrappers to avoid an object memory instance being accessed after it has been deleted. See #509. Griatch 2014-06-15 12:27:48 +02:00
  • 81aa43933c Mudlet seems to fail TTYPE handshake if data compression is activated before TTYPE. Should resolve #512. Griatch 2014-06-14 20:35:00 +02:00
  • 57144b2c21 Made objects auto-unsubscribe from tickerhandler when deleted (resolves #515). Fixed a bug that made typeclass loading mechanism not report errors as verbosely as it could. Griatch 2014-06-14 19:31:19 +02:00
  • ce2d11ad12 Fixed bug in taghandler. Resolves #516. Griatch 2014-06-14 18:21:40 +02:00
  • 43da170962 Update README.md Griatch 2014-06-13 10:00:11 +02:00
  • d68421065d Update README.md Griatch 2014-06-13 09:44:41 +02:00
  • c776a2da18 Changed batchprocessor regex matching to not rely on python2.7 feature. Griatch 2014-06-12 23:25:49 +02:00
  • 5c212683de Merged Memory modification branch with main. Includes some more testing. Griatch 2014-06-06 11:35:14 +02:00
  • 4e14f46d54 Added settings.IDMAPPER_CACHE_MAXSIZE and a new default global script to check if the cache should be flushed. Tested with dummyrunner to maintain the memory usage at a much more stable level. Griatch 2014-05-18 21:17:10 +02:00
  • f2c75bd0f6 Added periodic idmapper cache size check along with conditional flush mechanism. Ran a lot of tests and stress tests to get statistics on usage. Griatch 2014-05-18 18:28:10 +02:00
  • a143733ccf Made lockhandler write lockwarnings to separate log file Griatch 2014-05-18 11:18:00 +02:00
  • f49f33d40d Made more work around memory profiling, added a small Script and display program for logging memory usage Griatch 2014-05-18 10:54:04 +02:00
  • 58af67bdf2 Fixed flush protection for instances, memory is successfully made available on an idmapper flush now. Griatch 2014-05-17 14:38:43 +02:00
  • 4b8ed234fd Added /flushmem switch to the server command to incur the idmapper flushing. Griatch 2014-05-15 23:08:21 +02:00
  • e7e50039d7 Added deepsize function for size evaluation of object and its referends Griatch 2014-05-15 21:27:30 +02:00
  • bc80132229 Made sure Attributes get dereferenced correctly. Griatch 2014-05-15 20:25:09 +02:00
  • 5e4af3f851 Implemented and tested set_recache_protection() on all idmapped objects, to avoid them getting recached. Added successfully to nattribute handler. Griatch 2014-05-15 10:05:41 +02:00
  • a617924fb0 Made flush_cache work correctly on idmapper; added _idmapper_cache_flush_safe variable for 'securing' objects from cache cleanups. Nothing using this system yet. Griatch 2014-05-15 09:51:24 +02:00
  • b473feec06 Added _set_recache() method to all SharedMemoryModel instances. This allows for marking an object as safe or unsafe for recaching. Griatch 2014-05-14 21:34:15 +02:00
  • 87d1254b2c Changed contrib/procpool's PROC_MODIFIED_OBJS list to sit in src.utils.idmapper.base as well as be a WeakValueDictionary instead of a normal list. This removes unnecessary reference counts to objects. Griatch 2014-05-14 20:07:59 +02:00
  • cdc071981d Added some dummyrunner extra output Griatch 2014-05-12 09:11:11 +02:00
  • cfd2f111f1 Updating to make unittests work Griatch 2014-05-11 19:41:37 +02:00
  • f3af089aac Some cleanup of the server command. Griatch 2014-05-11 19:03:45 +02:00
  • 9bfb829274 Implemented WeakSharedMemoryModel for Attributes. Griatch 2014-05-11 15:23:11 +02:00
  • f67effa0f9 Made Attributes into a normal Model instead of a SharedMemoryModel (like Tags). Removed artificial exclusivity of strvalue and value on Attributes. Griatch 2014-05-11 08:57:36 +02:00
  • c5839eebba Forgot a fix. Griatch 2014-05-11 07:28:44 +02:00
  • 0c848eb9a2 Reverted to a standard dictionary in SharedMemoryBase; not having this does return the old 'going out of scope' from yesteryear. Griatch 2014-05-11 07:27:56 +02:00
  • e11b242365 Continued with weakref and lazyloading fixes. Griatch 2014-05-11 01:05:59 +02:00
  • dc2cce5f4f Fixed the Command CmdExample class. Griatch 2014-05-10 19:57:59 +02:00
  • 3be02c8f03 Added settings.CMDSET_PATHS to allow to give cmdsets without the full path. Griatch 2014-05-10 19:51:46 +02:00
  • 63c099c22f Various fixes and debugging of weak-ref changes Griatch 2014-05-10 19:38:23 +02:00
  • 0030530021 Added weak reverse references from all handlers. Griatch 2014-05-10 17:12:49 +02:00
  • 4e3789cede Added lazy-loading of on-model handlers. Griatch 2014-05-10 13:31:50 +02:00
  • 6f90149506 Merge pull request #511 from asechrest/myfixes Griatch 2014-05-07 11:10:06 +02:00
  • 11ea572f00 Added unittests for utils.py dedent() and list_to_string(). Adjusted list_to_string to correctly handle no endsep. asechrest 2014-05-06 12:34:08 -04:00
  • 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. Russell Jones 2014-05-05 19:03:33 +01:00
  • 12c2402dac Changed crop functionality slightly, inspired by asechrest's unittest. Griatch 2014-05-05 09:19:03 +02:00
  • bb854384bd Add unittest of utils.crop asechrest 2014-05-05 01:59:51 -04:00
  • fdca3ddec9 Some minor refactoring. Griatch 2014-05-05 00:07:04 +02:00
  • 42c0235d0d Added an example unittest to test_utils_utils.py. Griatch 2014-05-03 23:51:08 +02:00
  • 23efa02965 Cleanup of some other reference calls. Griatch 2014-04-30 20:38:46 +02:00
  • 047eee4bed Some more cleanup. Griatch 2014-04-30 20:31:13 +02:00
  • 86b771fb68 Some minor cleanups related to typeclass lookup calls. Griatch 2014-04-30 20:11:40 +02:00
  • 0cae40f41a Made DEFALT_HOME a fallback for a missing START_LOCATION in unloggedin-create. Griatch 2014-04-26 05:46:52 +02:00
  • 4e7bfb95b5 Fixed some documentation on object typeclass. Griatch 2014-04-25 16:24:48 +02:00
  • 29961a93f2 Changed contrib.extended_room's search to use the quiet keyword instead of the old ignore_errors. Griatch 2014-04-25 16:19:46 +02:00
  • 5d1b74ea17 Made msg() properly trigger the at_msg_receive hook, as per #506. Griatch 2014-04-25 13:56:48 +02:00
  • 4ab5e2aa22 Fixed Attributehandler.get() default return value. Griatch 2014-04-25 09:01:49 +02:00
  • c402f9424c Added more verbose logging of typeclass module's syntax errors. Griatch 2014-04-23 20:29:38 +02:00
  • 5bf1c03d2a Some cleanup of ev.py. Griatch 2014-04-21 17:11:17 +02:00
  • 033552cd04 Made unittests validate again. Griatch 2014-04-21 16:40:14 +02:00
  • 93d9545819 Added include_children and include_parents to the typeclass_search manager method, for searching typeclass parent- and child-hierarchies. Resolves #405. Griatch 2014-04-21 15:18:13 +02:00
  • 12dd202795 Added functionality to TypedObject.swap_typeclass to handle various typeclasses safely. Resolves #390. Griatch 2014-04-21 11:52:48 +02:00
  • 8ad2c18524 Cleaned up some batchprocessor error handling. Griatch 2014-04-21 10:37:51 +02:00
  • e399c418e5 Some more cleanup of paths for batchprocessors Griatch 2014-04-21 01:06:37 +02:00
  • 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. Griatch 2014-04-21 00:24:33 +02:00
  • 9784a2a5c0 Added a small example cmdset to dice.py. Griatch 2014-04-20 23:54:46 +02:00
  • e45160a12b Changed some defaults of EvTable. Made EvTable handle clist command. Resolves #426. Griatch 2014-04-20 23:45:19 +02:00
  • d99d52fa5a Re-removed some comments to batch-code example left over from debug. Griatch 2014-04-20 23:18:51 +02:00
  • 0dc62a5fc9 Refactored batch processors, addressing points in #489. Griatch 2014-04-20 23:06:10 +02:00
  • 792b3c9282 Some cleanup code fixes. Griatch 2014-04-20 18:11:41 +02:00
  • ec54de4797 Fixed an simplejson deprecation, switching to python json. Griatch 2014-04-20 16:50:37 +02:00
  • 972e47e66c Fixed more cleanup of Attibute/Tag/Nick/Permission handlers when object is deleted. Griatch 2014-04-20 16:47:03 +02:00
  • f521b8129e Removed some debug output. Griatch 2014-04-20 16:18:15 +02:00
  • 91b23f58a4 Removed CHARACTER_DEFAULT_HOME, replaced with DEFAULT_HOME and added START_LOCATION for determining where default commands dump new characters. Griatch 2014-04-20 15:56:38 +02:00
  • 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. Griatch 2014-04-20 15:03:53 +02:00
  • 787f93c4c0 Cleaned up objects command table look Griatch 2014-04-19 18:07:54 +02:00
  • dcd14cb621 Fixed objects-command zerodiv error with totally empty Object database. Griatch 2014-04-19 17:13:37 +02:00
  • 6812906caa Fixed some default website links that still pointed to google code. Griatch 2014-04-19 13:06:04 +02:00
  • eb01c19111 Added channel subs to admin in a working way. Griatch 2014-04-19 12:21:34 +02:00
  • 52d38e360b Remove unsupport M2M field in channelAdmin handler. Removes traceback when DEBUG=True. Griatch 2014-04-19 12:08:07 +02:00
  • 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. Griatch 2014-04-19 11:50:26 +02:00
  • 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. Griatch 2014-04-15 18:04:43 +02:00
  • ef0a154a61 First version of working websocket protocol. Griatch 2014-04-13 16:26:14 +02:00