Commit graph

  • b244d70e16 Resolved a UNIQUE id error when re-saving a typeclassed object. This was due to an idmapper hack which I *think* is not needed anymore, but might need to look at this in the future to see if the related lookup is actually using the cache or not. Griatch 2014-12-21 19:57:01 +01:00
  • 3b704d37dc Made sure all proxies of a given database model share the same idmapper cache Griatch 2014-12-21 16:06:10 +01:00
  • 9ee6b718da Some issues with unique restraint when re-saving objects. Griatch 2014-12-21 15:02:34 +01:00
  • 4e0b5be962 Fixed creation. Time to start cleaning the .dbobj hierarchy. Griatch 2014-12-20 19:29:38 +01:00
  • e28d544fb0 The manager wrapper has trouble finding the path of the current class. Griatch 2014-12-20 19:19:48 +01:00
  • 043ebf7213 Fixed metaclass to handle proxy correctly. Some issues with getting path properties set correctly. Griatch 2014-12-20 19:04:49 +01:00
  • 32e44dceab Made the proxy typeclass system work in principle, using a wrapper of the __new__ method for the class. Griatch 2014-12-20 18:30:39 +01:00
  • 8314d8ba5e Now solving issues with faulty imports. Still nothing functional. Griatch 2014-12-20 17:03:34 +01:00
  • 08d0442f9c Strange issue with __init__, proxy implementation not working at the moment. Griatch 2014-12-19 16:56:28 +01:00
  • 3adeade69a Some errors in the proxy setting. Griatch 2014-12-19 16:41:20 +01:00
  • 236c0d17d3 First non-tested version of moving typeclasses to proxy models. Griatch 2014-12-19 16:29:41 +01:00
  • 8e8d85a4fe Added a new fuzzy module load mechanism Griatch 2014-12-19 13:32:08 +01:00
  • ac9c68b877 Some rewordings in docstring. Griatch 2014-12-17 00:53:31 +01:00
  • 34dce9d175 Merge branch 'luyijun-contrib' Griatch 2014-12-17 00:50:34 +01:00
  • 192d12d905 Some minor cleanups. Griatch 2014-12-17 00:50:05 +01:00
  • e48b5dd1d2 Merge branch 'contrib' of https://github.com/luyijun/evennia into luyijun-contrib Griatch 2014-12-17 00:44:52 +01:00
  • 417e8255af Just a small range->xrange addition. Griatch 2014-12-17 00:41:18 +01:00
  • 140a9f69f0 Fixed a column-border related issue with EvTable. Griatch 2014-12-16 23:33:48 +01:00
  • 0772341823 Optimizing EvTable for one-time presentation rather than re-use of a once-created table - this leads to optimization possibilities. Griatch 2014-12-16 22:01:10 +01:00
  • cf1b75862e Merge remote-tracking branch 'upstream/master' into contrib luyijun 2014-12-16 23:49:55 +08:00
  • ad4426d55d edit prompt_choice's documentation luyijun 2014-12-16 23:48:10 +08:00
  • 2bf3a5ce52 Fixed bug that added too many empty rows when adding columns to EvTable using .add_column() Griatch 2014-12-15 22:30:02 +01:00
  • fe6763a33f Adds links in prompt_yesno. Adds prompt_choice. luyijun 2014-12-14 12:01:34 +08:00
  • 07aba24f4d Improve ANSIString performance. Jonathan Piacenti 2014-12-13 16:39:41 -06:00
  • ef6fffbca7 Fixed case when some parts of an evtable wouldn't color correctly. Resolves #623. Griatch 2014-12-02 09:45:15 +01:00
  • 94cb5f9527 Some tweaks for testing. Griatch 2014-11-24 20:03:20 +01:00
  • 0077408d02 Some doc cleanup. Griatch 2014-11-02 10:42:29 +01:00
  • edc25824f7 Changed so the dynamic channel command must be followed by a space and then text when sending to a channel. This avoid overriding conflicts with other commands starting with common channel-names (like pub). Resolves #608. Griatch 2014-11-02 10:42:22 +01:00
  • 4e0bbf4827 Fixed a typo in menu_login contrib Griatch 2014-10-26 17:59:31 +01:00
  • 12285f9fd2 Made it so that inlinefunc also accepts single function calls (no end tag) - in this case the ingoing text string will be the empty string. This is useful for functions like {time() that makes no use of the text input - you can now use just {time() instead of having to use {time(){/time. Griatch 2014-10-26 16:23:55 +01:00
  • 6ef4467203 Added session object to kwarg of inlinefuncs. This means that the new call signature for inlinefuncs is funcname(text, *args, **kwargs), where **kwargs are only used for engine-related things (currently only session=session). Griatch 2014-10-26 10:46:22 +01:00
  • 5b42b31240 API change. Removed managers for Attributes and Tags - these are instead incoorporated into the TypedObjectManager which all Typeclassed object handlers inherit from. This concludes the refactor started in #529. This means that access to Attributes/Permissions/Aliases and Tags/nicks are done directly through e.g. ObjectDB.objects.get_by_tag() (or ev.managers.objects.get_by_tag) rather than using Tag.get_obj_with_tag and specifying the model type manually. The create_tag() method was also moved into the TypedObjectManager as part of removing the Tagmanager. As part of this change, Tag and Attribute was also removed from the ev interface. Griatch 2014-10-25 22:40:38 +02:00
  • 08b18524fd Some minor documentation fixes and tests. Griatch 2014-10-25 16:03:35 +02:00
  • 498e3f5064 Added some more inlinefunc docs. Griatch 2014-10-25 13:59:22 +02:00
  • 3b9d49ef35 Merge branch 'evformat' Griatch 2014-10-25 13:51:27 +02:00
  • f7c1fa4a18 Defaulting INLINEFUNC_ENABLED=False. Griatch 2014-10-25 13:39:25 +02:00
  • 46edc6eef6 Added inlinefunc, an inline text parser for custom dynamic functions, as per #520. Griatch 2014-10-25 13:37:14 +02:00
  • 573847d80a Better handles very slow mud clients not sending line breaks together with their data input; this avoids a race condition where Evennia is much faster than the client. See #606. Griatch 2014-10-24 10:26:59 +02:00
  • 0cd4e2188a Corrected the session count when dropping connections. Griatch 2014-10-23 10:01:43 +02:00
  • 60931c26a7 Deprecated the code= keyword of contrib/menusystem - this is replaced with a callback keyword where a function object is supplied rather than a code string. Code still works, but will give a deprecation warning in log. Cleaned up the code and fixed dynamic yes/no allocation. Should handle the remaining issues of #596. Griatch 2014-10-23 01:27:31 +02:00
  • 671c541a1c Added more verbose error logging to cmdset loading. Griatch 2014-10-22 23:47:59 +02:00
  • 7a9e738156 Made a different regex for #605. Griatch 2014-10-22 21:08:07 +02:00
  • ed52a0c101 Enforced text input for the look command in menu_login, as per #605. Griatch 2014-10-22 20:58:07 +02:00
  • 73e57422c7 Merge remote-tracking branch 'upstream/master' luyijun 2014-10-22 00:37:49 +08:00
  • e687f935cb Fixed some issues in dealing with multibyte characters. luyijun 2014-10-22 00:37:08 +08:00
  • 263092b4c9 Added TCP keepalive to telnet and webclient, to make sure to (eventually) catch dead connections. Should help #498, but should test on demo before closing. Griatch 2014-10-20 23:40:01 +02:00
  • b8dfce9cef Made also the prompt parsed for MXP tags and added html parsing for the prompt in the webclient. See #599. Griatch 2014-10-20 22:38:06 +02:00
  • 3eb347a076 Fixes a side effect of the #583 solution only showing up in certain connection timing combinations related to which protocols were supported in a given client. The portal<->server handhshake exchanged the session info an extra round depending on the internal timing of the connection. Also fixed a handshake bug in the MXP initialization. Griatch 2014-10-20 22:14:58 +02:00
  • a5b4ddd1e9 Adding minor doc update. Griatch 2014-10-20 19:55:06 +02:00
  • dd937cdcd3 Made new tickerhandler store_key more ubiquitous, in case of not stopping server before pulling latest. Griatch 2014-10-20 06:07:15 +02:00
  • f6b9b7e1a9 Implemented a idstring for the tickerhandler, as per #554. Griatch 2014-10-19 19:40:42 +02:00
  • 36629a8bdb Fixed a race condition when the telnet protocol synced with the server with a delay (such as when the connecting client didn't respond to all protocol request tokens. This could lead to the sync overwriting already updated session flags, notably the puppet id (puid). Resolves #583. Griatch 2014-10-19 19:11:56 +02:00
  • 9f61f8e3bf Merge branch 'mxpescape' of https://github.com/titeuf87/evennia into titeuf87-mxpescape Griatch 2014-10-18 00:52:07 +02:00
  • 182488a713 Updates to menu_node to make sure separate, new cmdsets are initialized in different tree instances, as per #596. Griatch 2014-10-17 19:32:33 +02:00
  • 8a9e1a9b4b Fixed arg_regex inheritance across child commands. Resolves #601. Griatch 2014-10-17 18:28:53 +02:00
  • fb7ac49253 Escape <, > and & when MXP is enabled. Simon Vermeersch 2014-10-14 18:27:58 +02:00
  • 1bcd9abc6b Changed order of Script save. This avoids a race condition where Scripts that die very quickly tries to delete themselves before having had time to save first. Resolves #597. Griatch 2014-10-13 08:41:22 +02:00
  • 0fa601f135 Some cleanup of the launcher. Griatch 2014-10-08 14:35:06 +02:00
  • abeb2fb452 Readding some functionality. Griatch 2014-10-08 09:16:01 +02:00
  • fb138bbd7f Update manage.py Griatch 2014-10-07 13:08:14 +02:00
  • f343ca7ebd Update oobfuncs.py Griatch 2014-10-06 18:50:52 +02:00
  • 5f4e2065de Correctly updated handshake countdown in telnet. Griatch 2014-10-06 08:15:01 +02:00
  • 63a2d84a8f Made clients not supporting MXP correctly clean the MXP tags. Griatch 2014-10-06 08:06:47 +02:00
  • cde64692ff Adds in support for links Simon Vermeersch 2014-10-05 17:44:35 +02:00
  • ef23cfceb9 Fixed persistence of options for a given column. Resolves #593. Griatch 2014-10-04 17:52:50 +02:00
  • 3cc0d6ee16 Removed ability to add EvColumns directly to table - this causes some confusing effects and is not worth the trouble over building the table normally and reformatting with reformat_column. Griatch 2014-10-02 09:40:55 +02:00
  • 8b8fbe8101 Reworked EvTable to use internal EvColumn objects. This allows a new method on EvTable. Columns with a set width will not be affected by auto-balancing, allowing for mixing fixed and auto-balancing columns as suggested in #550. Changed EvTable keywords involving characters to consistently end with _char, such as corner_top_left -> corner_top_left_char. Griatch 2014-10-02 09:08:08 +02:00
  • fd7bb29505 Fixes add_row on EvTable class, allowing the creation of a table without a header. Duarte Cordeiro 2014-09-30 16:28:53 +01:00
  • 5b38f27554 Made property assignment go to Typeclass if that property were already defined on typeclass; otherwise relegate to dbobj as before. This fixes issues with property assignments on the Typeclass level. There are no obvious regressions in testing this but it's something to keep an eye out for in case there are any unexpected side effects. Griatch 2014-09-30 14:12:58 +02:00
  • 348ff0b5f4 Added auto-conversion of typeclass to dbobj in ObjectDB.contents_get() Griatch 2014-09-30 12:31:44 +02:00
  • 0efc371775 Merge branch 'master' of https://github.com/Kelketek/evennia into Kelketek-master Griatch 2014-09-28 22:33:35 +02:00
  • 737441b7e6 Allows inputting of empty lines. Simon Vermeersch 2014-09-28 16:35:21 +02:00
  • f9a1d764a4 Cleaned up the doc on slow_exit a little. Griatch 2014-09-28 22:24:58 +02:00
  • f477458d3f Fixed issue in template where it was pointing to the old logo name. Kelketek Rritaa 2014-09-28 13:02:27 -05:00
  • 7a8b1f7f2f One more trailing reference to that file fixed. Kelketek Rritaa 2014-09-28 12:56:56 -05:00
  • d1560e9a50 Made 'small' logo the only one, since the other isn't used. Kelketek Rritaa 2014-09-28 12:49:52 -05:00
  • 25f3a7cfe7 Remove references to migrate when first starting. Kelketek Rritaa 2014-09-28 12:28:43 -05:00
  • 843e5ba726 Added slow_exit contrib, an Exit type that delays traversal. Also includes commands for aborting move and change movement speed. Griatch 2014-09-27 12:52:52 +02:00
  • cec0378b77 Removed a spurious save_buffer argument. Griatch 2014-09-25 15:53:52 +02:00
  • 9a5256ec12 Changed @about command to reflect new requirements Duarte Cordeiro 2014-09-24 10:52:32 +01:00
  • 48f145031b Corrected command.msg function to work with the changes introducted with MULTISESSION_MODE=3, e.g. the replacement of session id (int) for a session handler object. Duarte Cordeiro 2014-09-25 11:22:06 +01:00
  • 50b072170f Some cleanup and updates of the object.py file. Griatch 2014-09-24 15:45:46 +02:00
  • f2f6c32d3f Removed cleanups of on-command properties after command conclusion to allow for post-command referencing (e.g. by the lineeditor contrib). Resolves #562. Griatch 2014-09-24 15:39:33 +02:00
  • 9d5a0b13ca Fixed __version__ reporting in ev.py. Griatch 2014-09-24 15:22:05 +02:00
  • 85a594cb34 Updated the requirements.txt file to latest dependency versions Griatch 2014-09-22 13:25:07 +02:00
  • 7aa3a5b8ae Changed the examine command to add #dbref information to exits, characters and contents. Resolves #567. Griatch 2014-09-20 10:46:03 +02:00
  • 062a545a97 Changed at_cmdset_get() hook to at_cmdset_get(**kwargs). This allows for the possibility to control dynamic generation of cmdsets, for example to force Exit cmdsets to be rebuilt. The aliasing command now uses this. Resolves #563. Griatch 2014-09-20 10:26:59 +02:00
  • ddc86f2a8b Cleaned up the connection screen example a little and added utf-8 encoding token at the top. Griatch 2014-09-20 09:20:38 +02:00
  • 1b44d9b2ed Fixed a bug in the lockhandler error handling. Resolves #564. Griatch 2014-09-19 21:15:50 +02:00
  • b5507b0fcb Fixed keyword name and arguments for the telnet option ECHO. Duarte Cordeiro 2014-09-18 15:29:58 +01:00
  • efd2eeafb8 Added telnet option ECHO, so that server can request no local echo on client. Related with feature request #540 Duarte Cordeiro 2014-09-18 14:53:34 +01:00
  • 9ed8e92c71 Fixed an AttributeError on website and a deprecationwarning for middleware relocation. Griatch 2014-09-17 14:47:07 +02:00
  • b8b1f276d7 updated changelog. Griatch 2014-09-17 12:13:41 +02:00
  • 5371d06e3a Removed check for south availability. Griatch 2014-09-17 12:08:11 +02:00
  • 35dad76d02 Increased required library versions to Python2.7+, django1.7+ and twisted 12.0+. Griatch 2014-09-17 12:06:36 +02:00
  • bb36f2cb76 Changed to Django1.7. Django 1.6 no longer supported. To change, upgrade django to 1.7+ and then run manage.py migrate, possibly followed by manage.py migrate --fake for objects and players. Griatch 2014-09-17 10:49:42 +02:00
  • 1fc91f85ea Removed south from INSTALLED_APPS. Griatch 2014-09-17 09:48:02 +02:00
  • 0bf4f3cfea Removed all old south migrations, leaving migration dirs empty for future django1.7 migrations. Griatch 2014-09-17 09:45:41 +02:00
  • ca662d0f7a Fixed merge conflict. Griatch 2014-09-16 22:39:48 +02:00
  • a8264638a6 Fixed problems with last merge on @find Duarte Cordeiro 2014-09-16 18:09:28 +01:00