Commit graph

94 commits

Author SHA1 Message Date
Griatch
6e561d95a1 Fix idle-timeout loop to avoid modifying the SESSIONS dict in-place. Resolves #1992 2020-01-20 19:37:09 +01:00
Griatch
7f7dd3bbf2 Fixed various Script issues. Resolves #2010. Might affect #2006. 2020-01-18 20:50:26 +01:00
Griatch
69d85bd184 Make scripts/objects lists use EvMore. Change EvMore to not justify by default. 2020-01-11 15:49:12 +01:00
Griatch
4ea6209123 Ran black on branc 2019-12-16 20:31:42 +01:00
Griatch
c2c7fa311a Format code with black. Add makefile to run fmt/tests 2019-09-28 18:18:11 +02:00
Greg Taylor
5e1a672fc2 Remove builtins imports
This module is not intended to be used directly in most cases, per:
https://docs.python.org/3/library/builtins.html

None of our usages warrant the explicit import. We also avoid some
confusion as folks dig to see what we are doing to require
importing builtins directly.
2019-09-15 20:29:59 -07:00
Griatch
c520ef86c9 Make DEFAULT_CHANNELS auto-recreate missing channels. Add new CHANNEL_MUDINFO setting. 2019-09-08 00:09:00 +02:00
Griatch
7d8d3216a9 Resolve duplicate script execution for global script. Make paused script fire at_server_reload. Resolve #1911. 2019-09-05 23:54:07 +02:00
Griatch
71840a14d3 Make manual Script.pause state survive full shutdown. Resolve #1838. 2019-08-28 23:31:08 +02:00
Griatch
0201208ec9 Forbid /media and /static file browsing. Resolve #1746. 2019-08-28 20:07:03 +02:00
Griatch
3a11382969 More plugin module loading checks 2019-06-29 20:27:42 +02:00
Griatch
6aef53bad6 Delay mod import until plugin service start 2019-06-29 20:21:28 +02:00
Griatch
f7089cdfa5 Make plugin module error clearer 2019-06-29 19:23:18 +02:00
Griatch
0006b8d40f Move game index client into server/ 2019-06-24 23:16:53 +02:00
Griatch
8a6ec779da Make grapevine connect and work 2019-06-23 18:59:45 +02:00
Griatch
59bc475708 Starting to implement grapewine support 2019-06-23 09:22:20 +02:00
Griatch
90b42ca6fb Fix merge conflicts 2019-03-04 22:32:51 +01:00
Griatch
a0b6c0fa1a Add unittests for server.py 2019-02-10 19:01:27 +01:00
Griatch
72f4fedcbe Merge with develop and fix merge conflicts 2018-10-01 20:58:16 +02:00
Griatch
0d3c9ebea3 Fix no-location issues for istart (resolves #1662). 2018-09-23 23:29:23 +02:00
Griatch
42038737ff Add interactive server-start mode. 2018-08-19 21:40:19 +02:00
Griatch
2a6e914161 Restart server, run collectstatic at init.
Fix tintin++ default. Resolves #1593.
2018-08-18 10:38:20 +02:00
Griatch
4376058ee9 Merge branch 'master' into develop 2018-01-27 14:20:13 +01:00
Griatch
c0fe8a92ee Make pid handling more stable, also internally 2018-01-27 00:33:09 +01:00
Griatch
607741872c Remove debug print 2018-01-23 18:12:11 +01:00
Griatch
dd457ef695 Re-add regular database-connection drops to address MySQL timeouts. Resolves #1376. 2018-01-23 18:08:34 +01:00
Griatch
b1e68b9138 Add support for running tests from menu, fix bug in kill 2018-01-20 15:50:24 +01:00
Griatch
9422c6314d Prevent server from reconnecting to Portal mid-shutdown 2018-01-20 13:19:06 +01:00
Griatch
d6105f6d6c Remove dependence on .restart file, add reboot option to launcher 2018-01-20 12:41:27 +01:00
Griatch
a2d63c9582 Add log-tailing to launcher options 2018-01-19 23:47:14 +01:00
Griatch
713766b33a Change log format, rename, join server/portal logs 2018-01-19 01:27:52 +01:00
Griatch
76f27f9bc2 Add proper status reporting and stability fixes 2018-01-17 00:42:40 +01:00
Griatch
5133034b4b Working start/reload/reset/stop from launcher 2018-01-14 22:53:36 +01:00
Griatch
ff887a07ab Further work on controlling the portal with AMP 2018-01-14 00:30:13 +01:00
Griatch
b0d545a086 Refactor amp into three modules, separating clients/server better 2018-01-11 23:43:58 +01:00
Griatch
82fd9ff698 Swap so Server is the AMP-client and Portal the AMP-server 2018-01-11 22:09:01 +01:00
Ryan Stein
7d524ac328 Unwrap for expressions in comprehensions, too. 2017-11-02 22:52:16 -04:00
Ryan Stein
be5ecf0d0d Convert to bytes to allow access to static and media resources. 2017-10-29 21:58:30 -04:00
Ryan Stein
6fa280b9fd Run 2to3. 2017-10-29 13:40:30 -04:00
Griatch
6f56ba71ce Make internal/external ports clearer in wake of port changes 2017-09-23 13:55:01 +02:00
Griatch
ceb66568b1 Fix error in new idle timeout, causing it not to deactivate properly. 2017-08-27 18:32:05 +02:00
Griatch
72e3498785 Change idle-timeout lock to 'noidletimeout' and add default lock to new Accounts 2017-08-20 23:24:19 +02:00
Griatch
8a2e362b7c Make IDLE_TIMEOUT avoidable with account-lock.
Resolves #701. Check the Account-lock 'no_idle_disconnect before kicking an idle
session. This also means superusers will never be kicked. Move the
idle task to the Server to avoid lock imports in Portal. Make the
'lock' command also able to target Accounts. Also some other fixes.
2017-08-20 23:11:33 +02:00
Griatch
b278337172 Make PEP8 cleanup of line spaces and character distances as well as indents 2017-08-19 23:16:36 +02:00
Griatch
7ff783fea1 Resolve merge conflicts with master. 2017-08-19 21:30:42 +02:00
Vincent Le Goff
37c9d65a9d Place the persistent task in a task handler 2017-08-08 19:47:22 +02:00
Vincent Le Goff
87b6cee596 Add the persistent utils.delay 2017-07-20 21:37:34 +02:00
Griatch
5590ee2258 Rename all instances of Player->Account. 2017-07-07 23:47:21 +02:00
Griatch
7e416e0cd6 Start fixing things for django 1.10. 2017-06-06 14:56:13 +02:00
Griatch
90bd1a77dd Fix typo webroot->web_root 2017-06-04 23:21:24 +02:00