Commit graph

4020 commits

Author SHA1 Message Date
Griatch
af6aa52a4e Merge migrations. 2017-06-17 22:17:58 +02:00
Griatch
0ff1718437 Resolve django 1.11 migration errors. 2017-06-17 22:15:00 +02:00
Griatch
1ddddef23b Add better instructions for upgrading django. 2017-06-15 22:21:21 +02:00
Griatch
89cb7e9fa0 Merge branch 'master' into djangoupgrade 2017-06-15 22:08:29 +02: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
f6ad6213d7 Update launcher django requirement message. 2017-06-06 19:43:28 +02:00
Griatch
c60555b70a Add migrations to django 1.11. 2017-06-06 19:34:56 +02:00
Griatch
e2de340f7d Move to Django 1.11. 2017-06-06 18:56:04 +02:00
Griatch
ce3558d654 Go to Django 1.10. Remove support for Django 1.9. 2017-06-06 18:45:41 +02:00
Griatch
cdeffc1f08 Add some debug outputs. 2017-06-06 17:31:22 +02:00
Griatch
a727547b6f Test typeclass upgrade for new django version. Not working yet. 2017-06-06 15:44:53 +02:00
Griatch
7e416e0cd6 Start fixing things for django 1.10. 2017-06-06 14:56:13 +02: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
Griatch
6370c377d5 Add cache optimization to variable imports in logger. 2017-05-21 19:24:54 +02:00
Griatch
8acfb36391 Merge branch 'rotate_channel_logs' of https://github.com/TehomCD/evennia into TehomCD-rotate_channel_logs 2017-05-21 19:11:18 +02:00
Tehom
2bea778181 Move settings to be local imports to prevent conflicts before django is fully loaded 2017-05-21 06:59:54 -04:00
Tehom
4605b3128e Add docstr to class and methods, adjust names of settings to be more clearly modifying channel logs. 2017-05-21 03:29:33 -04:00
Griatch
ce57b52dcf Move olc to separate branch for now.
This is because it has increased in scope and would delay the release of
the devel branch unnecessarily.
2017-05-21 07:50:25 +02:00
Griatch
2f4cbf1d09 Merge branch 'channels_msg_offline' of https://github.com/TehomCD/evennia into TehomCD-channels_msg_offline 2017-05-21 07:39:28 +02:00
Griatch
94786c03a2 Merge branch 'events' of https://github.com/vlegoff/evennia into vlegoff-events 2017-05-21 07:18:57 +02:00
Tehom
27c72d7899 Decided to remove setting because it seemed unnecessary when this was the purported default behavior anyway. It makes sense that if they want to send to offline, they'd override the option to be True in their channel typeclasses. At least that's my thinking, maybe I'm off base. Remove docstr line that says online arg is not currently used. 2017-05-20 23:33:39 -04:00
Tehom
f9c369f869 Add method to subscription handler to check online members, and put check in Channel typeclass for using this based on settings option. 2017-05-20 23:18:26 -04:00
Tehom
6e2c10b008 Remove print statements I had left in during debugging. Oops. 2017-05-20 22:18:26 -04:00
Tehom
f150d8bae5 Add Evennia logfile class based on Twisted LogFile for automatic rotating channel logs. Append tail end of logs when rotating, customizable with settings. 2017-05-20 21:33:57 -04:00