Commit graph

1539 commits

Author SHA1 Message Date
Andrew Bastien
938873ab23 Fixing default permissions in create_player 2014-12-28 15:48:01 -05:00
Griatch
417e8255af Just a small range->xrange addition. 2014-12-17 00:41:18 +01:00
Griatch
140a9f69f0 Fixed a column-border related issue with EvTable. 2014-12-16 23:33:48 +01:00
Griatch
0772341823 Optimizing EvTable for one-time presentation rather than re-use of a once-created table - this leads to optimization possibilities. 2014-12-16 22:01:10 +01:00
Griatch
2bf3a5ce52 Fixed bug that added too many empty rows when adding columns to EvTable using .add_column() 2014-12-15 22:30:02 +01:00
Jonathan Piacenti
07aba24f4d Improve ANSIString performance. 2014-12-13 20:57:26 -06:00
Griatch
ef6fffbca7 Fixed case when some parts of an evtable wouldn't color correctly. Resolves #623. 2014-12-02 09:45:15 +01:00
Griatch
94cb5f9527 Some tweaks for testing. 2014-11-24 20:03:20 +01:00
Griatch
0077408d02 Some doc cleanup. 2014-11-02 10:42:29 +01:00
Griatch
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. 2014-11-02 10:42:22 +01:00
Griatch
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. 2014-10-26 16:23:55 +01:00
Griatch
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). 2014-10-26 10:46:22 +01:00
Griatch
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. 2014-10-25 22:40:38 +02:00
Griatch
08b18524fd Some minor documentation fixes and tests. 2014-10-25 16:04:00 +02:00
Griatch
498e3f5064 Added some more inlinefunc docs. 2014-10-25 13:59:22 +02:00
Griatch
3b9d49ef35 Merge branch 'evformat' 2014-10-25 13:51:27 +02:00
Griatch
f7c1fa4a18 Defaulting INLINEFUNC_ENABLED=False. 2014-10-25 13:39:25 +02:00
Griatch
46edc6eef6 Added inlinefunc, an inline text parser for custom dynamic functions,
as per #520.
2014-10-25 13:37:25 +02:00
Griatch
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. 2014-10-24 10:26:59 +02:00
Griatch
0cd4e2188a Corrected the session count when dropping connections. 2014-10-23 10:01:43 +02:00
Griatch
671c541a1c Added more verbose error logging to cmdset loading. 2014-10-22 23:47:59 +02:00
luyijun
73e57422c7 Merge remote-tracking branch 'upstream/master' 2014-10-22 00:37:49 +08:00
luyijun
e687f935cb Fixed some issues in dealing with multibyte characters. 2014-10-22 00:37:08 +08:00
Griatch
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. 2014-10-20 23:40:01 +02:00
Griatch
b8dfce9cef Made also the prompt parsed for MXP tags and added html parsing for the prompt in the webclient. See #599. 2014-10-20 22:38:06 +02:00
Griatch
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. 2014-10-20 22:16:30 +02:00
Griatch
a5b4ddd1e9 Adding minor doc update. 2014-10-20 19:55:06 +02:00
Griatch
dd937cdcd3 Made new tickerhandler store_key more ubiquitous, in case of not stopping server before pulling latest. 2014-10-20 06:07:15 +02:00
Griatch
f6b9b7e1a9 Implemented a idstring for the tickerhandler, as per #554. 2014-10-19 19:40:42 +02:00
Griatch
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. 2014-10-19 19:11:56 +02:00
Griatch
9f61f8e3bf Merge branch 'mxpescape' of https://github.com/titeuf87/evennia into titeuf87-mxpescape 2014-10-18 00:52:07 +02:00
Griatch
8a9e1a9b4b Fixed arg_regex inheritance across child commands. Resolves #601. 2014-10-17 18:28:53 +02:00
Simon Vermeersch
fb7ac49253 Escape <, > and & when MXP is enabled. 2014-10-14 18:27:58 +02:00
Griatch
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. 2014-10-13 08:41:22 +02:00
Griatch
abeb2fb452 Readding some functionality. 2014-10-08 09:16:01 +02:00
Griatch
5f4e2065de Correctly updated handshake countdown in telnet. 2014-10-06 08:15:01 +02:00
Griatch
63a2d84a8f Made clients not supporting MXP correctly clean the MXP tags. 2014-10-06 08:06:47 +02:00
Simon Vermeersch
cde64692ff Adds in support for links 2014-10-05 17:44:35 +02:00
Griatch
ef23cfceb9 Fixed persistence of options for a given column. Resolves #593. 2014-10-04 17:52:50 +02:00
Griatch
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. 2014-10-02 09:40:55 +02:00
Griatch
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. 2014-10-02 09:08:08 +02:00
Duarte Cordeiro
fd7bb29505 Fixes add_row on EvTable class, allowing the creation of a table without a header. 2014-09-30 16:28:53 +01:00
Griatch
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. 2014-09-30 14:12:58 +02:00
Griatch
348ff0b5f4 Added auto-conversion of typeclass to dbobj in ObjectDB.contents_get() 2014-09-30 12:31:44 +02:00
Griatch
0efc371775 Merge branch 'master' of https://github.com/Kelketek/evennia into Kelketek-master 2014-09-28 22:33:35 +02:00
Simon Vermeersch
737441b7e6 Allows inputting of empty lines. 2014-09-28 22:27:02 +02:00
Kelketek Rritaa
f477458d3f Fixed issue in template where it was pointing to the old logo name. 2014-09-28 13:02:27 -05:00
Kelketek Rritaa
d1560e9a50 Made 'small' logo the only one, since the other isn't used. 2014-09-28 12:49:52 -05:00
Duarte Cordeiro
9a5256ec12 Changed @about command to reflect new requirements 2014-09-25 15:51:41 +02:00
Duarte Cordeiro
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. 2014-09-25 15:50:41 +02:00