Commit graph

4000 commits

Author SHA1 Message Date
Vincent Le Goff
87b6cee596 Add the persistent utils.delay 2017-07-20 21:37:34 +02:00
Griatch
f7830a5c29 Merge pull request #1360 from datatypevoid/patch-1
docs: add missing word
2017-07-13 22:54:15 +02:00
Griatch
8813e60b06 Merge pull request #1359 from vlegoff/help
Allow to change suggestion_cutoff and suggestion_maxnum in help
2017-07-13 22:53:25 +02:00
Griatch
b4e5ce3878 Merge pull request #1358 from vlegoff/arg_regex
Let ChannelCommand.arg_regex override the value set by the CHANNEL_HA…
2017-07-13 22:52:34 +02:00
David Newman
a2c76f06cd docs: add missing word 2017-07-12 08:16:48 -04:00
Vincent Le Goff
69c5f33c38 Allow to change suggestion_cutoff and suggestion_maxnum in help 2017-07-02 16:46:33 -07:00
Vincent Le Goff
7fb31d3160 Let ChannelCommand.arg_regex override the value set by the CHANNEL_HANDLER 2017-07-02 16:23:49 -07:00
Griatch
dc859eae57 Update some docs, update contrib README. 2017-06-27 21:31:31 +02:00
Griatch
248f20e8e5 Merge branch 'unixcommand' of https://github.com/vlegoff/evennia into vlegoff-unixcommand 2017-06-27 21:16:29 +02:00
Griatch
2f2d9e308a Merge pull request #1350 from vlegoff/ingame_python
Rename the event system into in-game Python system
2017-06-27 21:11:25 +02:00
Vincent Le Goff
080cc8a7eb Clean up UnixCommand to take into account suggestions 2017-06-27 11:59:45 -07:00
Griatch
173d5a94df Merge pull request #1351 from TehomCD/db_model_lag_fix
Fix weird lag issue with db_model (Resolves #1173)
2017-06-25 10:03:43 +02:00
Griatch
14a7e12002 Merge pull request #1349 from TehomCD/move_to_args
Add kwargs for hooks to move_to
2017-06-25 08:47:38 +02:00
Tehom
20a576a6d9 Convert to kwargs as suggested. 2017-06-25 02:40:53 -04:00
Vincent Le Goff
848b4c588c Bring fixes suggested by the review on UnixCommand 2017-06-22 16:08:10 -07:00
Tehom
f6626e1bf8 Fix extremely bizarre issue in which the query using db_model in conjunction with other fields behaved as if it was unindexed if it did not include __iexact keyword. I have absolutely no idea why it acted this way. But __iexact added resolves it. 2017-06-21 00:42:04 -04:00
Vincent Le Goff
ca6b1f828a Rename the event system in in-game Python system 2017-06-19 18:31:50 -07:00
Vincent Le Goff
916d7933aa Fix minor errors in displaying the UnixCommand 2017-06-18 20:29:46 -07:00
Tehom
9dc9df4227 Pass kwargs needed to overriding announce_move_to and announce_move_from in move_to 2017-06-18 17:21:33 -04:00
Vincent Le Goff
d6f2d6a305 Add the UnixCommand, to parse unix-like command options 2017-06-17 16:35:57 -07:00
Vincent Le Goff
74cf15b257 Add the InterruptCommand exception to the flat API 2017-06-16 17:56:35 -07:00
Vincent Le Goff
bda06acac6 Add the InterruptCommand exception to cleanly interrupt commands 2017-06-15 21:49:20 -07:00
Griatch
35db4bf301 Make minor docstring indent fix. 2017-06-14 22:07:15 +02:00
Griatch
5fa084c976 Refactor yield-mechanism to be present on top of the module, removing dependence on utils.delay and optimizing some imports. 2017-06-14 22:02:01 +02:00
Griatch
dea72caf3f Merge branch 'cmd_yield' of https://github.com/vlegoff/evennia into vlegoff-cmd_yield 2017-06-14 21:42:14 +02:00
Griatch
ef7712d38b Merge pull request #1344 from vlegoff/event_fix
[Event system] Check that the script has valid non-attributes before …
2017-06-14 21:37:12 +02:00
Vincent Le Goff
d894b95717 Add cmdhandler's ability to handle 'yield' in command.func() 2017-06-14 12:35:23 -07:00
Vincent Le Goff
8b150ce419 [Event system] Check that the script has valid non-attributes before using it 2017-06-12 13:32:08 -07:00
Griatch
9af1c36a93 Merge pull request #1336 from TehomCD/errback_webserver
Fix another AttributeError in errback for #1207.
2017-06-06 13:04:45 +02:00
Griatch
04e6fbbb09 Fix reference in docstring. 2017-06-06 00:20:49 +02:00
Griatch
e85153d926 Add missing suppress_ga file to git. 2017-06-06 00:17:48 +02:00
Griatch
63eec3a659 Implement SUPPRESS-GO-AHEAD telnet option
With the current setup, the server will negotiate SUPPRESS-GO-AHEAD
as follows:
  Server sends WILL SUPPRESS-GO-AHEAD
  Client will then send or reply with DO/DONT SUPPRESS-GO-AHEAD
Evennia will abide by the instruction of the client, but defaults
to suppressing GA messages after every line.
2017-06-06 00:03:16 +02:00
Tehom
a2578500c7 Fix another AttributeError in errback for #1207. 2017-06-05 04:18:55 -04:00
Rachel Blackman
f0d632cb51 Amend previous commit with validator. 2017-06-04 19:03:28 -07:00
Rachel Blackman
5808377085 Change IAC + GA to key off of MUDPROMPT @option
Several clients interpret IAC + GA as a linefeed, in order
to support MUDs that always end a line with them.  This causes
Evennia to spew empty lines everywhere if IAC + GA is always on.
2017-06-04 18:46:31 -07:00
Griatch
90bd1a77dd Fix typo webroot->web_root 2017-06-04 23:21:24 +02:00
Griatch
167d09b4cd Add secret_settings and mechanisms for managing it. This allows for easier hiding game- and server-specific settings when sharing the game dir with others. 2017-06-04 22:55:28 +02:00
Griatch
b269ef265e Add IAC+GA for telnet messaging, as per #1330. 2017-06-04 11:25:17 +02:00
Griatch
cbf2e44dc8 Merge pull request #1334 from TehomCD/webroot_attr_error_fix
Fix AttributeError when webserver isn't enabled.
2017-06-04 09:13:18 +02:00
Tehom
ccfbe06ded Fix AttributeError when webserver isn't enabled. 2017-06-03 21:57:11 -04:00
Griatch
94376257a4 Merge branch 'command_obj_attribute_error_fix' of https://github.com/TehomCD/evennia into TehomCD-command_obj_attribute_error_fix 2017-06-04 00:43:33 +02:00
Griatch
d73a2876cf Add support for cmdline reloading when requests are blocked. 2017-06-04 00:35:55 +02:00
Griatch
00f71667ba Further refactoring. 2017-06-03 19:03:37 +02:00
Griatch
8e12162df7 Merge branch 'crash_fix' of https://github.com/TehomCD/evennia into TehomCD-crash_fix 2017-06-03 18:41:42 +02:00
Griatch
7be82159f4 Add LockableThreadPool class. 2017-06-03 18:41:21 +02:00
Tehom
31e7aa1253 Prevent AttributeError when self.obj is None. 2017-06-01 02:59:46 -04:00
Tehom
96ab620618 Add extra checking for additional requests made while we were in the process of stopping reactor, change from callLater to deferLater to be compliant with inlinecallbacks. 2017-05-31 07:14:25 -04:00
Tehom
4b5ee77292 Attempt to address crash bug when stopping threadpool if there are pending web requests. Return a DeferredList to be checked in server shutdown. 2017-05-30 03:45:55 -04:00
Tehom
13de1f8af8 Change portal's website class to be the one defined for evennia, which suppresses logging unless DEBUG is on. 2017-05-29 05:50:13 -04:00
Griatch
1248428d13 Update coveralls to exclude checking some types of non-code files. Resolves #1318. 2017-05-22 08:21:25 +02:00