Commit graph

68 commits

Author SHA1 Message Date
Andrew Bastien
948d14a0fb Made almost the entire networking guts replaceable. 2020-04-12 10:24:31 -07:00
Griatch
25a0de12d7 Ran black on sources 2020-02-29 12:25:00 +01:00
trhr
92c8663010 Makes the URL actually accessible. 2020-02-26 22:29:24 -06:00
Griatch
ae2728faf4 Ran black on sources 2020-02-19 23:49:28 +01:00
trhr
e4eb9f2b83 proxy-plugins 2020-02-19 16:33:35 -06:00
Griatch
05f2264eb1 Ran black on sources, some minor tweaks 2020-02-12 23:07:56 +01:00
Griatch
c3cf3f99ab Ran black on code 2020-01-29 23:18:22 +01:00
Griatch
ff16eb1bfe Make log rotation also limited by size and controllable from settings. Resolves #2041 2020-01-29 23:16:53 +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
90b42ca6fb Fix merge conflicts 2019-03-04 22:32:51 +01:00
Griatch
c4fffd2b95 Start add unit tests for amp communication 2019-02-19 22:29:20 +01:00
Griatch
981119b640 Fix merge conflicts 2019-01-01 15:19:20 +01:00
Tehom
040cc2aa9f Add portal uptime to @time command. 2018-10-18 04:24:03 -04:00
Griatch
72f4fedcbe Merge with develop and fix merge conflicts 2018-10-01 20:58:16 +02:00
Griatch
07d56f562b Make portal possible to start in the foreground too 2018-09-25 00:24:45 +02:00
Griatch
20d1ab0f3d Fix display error when telnet disabled 2018-07-21 22:43:36 +02:00
Griatch
18029519a2 Fix a merge artifact 2018-01-27 22:10:31 +01:00
Griatch
2d606e8cfb Resolve merge conflicts 2018-01-27 22:01:43 +01:00
Griatch
948d27cd92 Cleanup of telnet-ssl, creating public/private/certs in code rather than
calling openssl in a subprocess. Also better handle errors and
reporting.
2018-01-27 19:51:00 +01:00
Griatch
c0fe8a92ee Make pid handling more stable, also internally 2018-01-27 00:33:09 +01:00
Griatch
6e5f9e8d2e Combining log files does not actually work, removing functionality 2018-01-26 22:12:57 +01:00
Griatch
d6105f6d6c Remove dependence on .restart file, add reboot option to launcher 2018-01-20 12:41:27 +01:00
Griatch
4cb3fc7012 Add MERGE_LOGS for those not wanting to merge server/portal logs 2018-01-20 00:14:04 +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
4233298345 Enabled profile, change default websocket port 2018-01-18 21:55:06 +01:00
Griatch
76f27f9bc2 Add proper status reporting and stability fixes 2018-01-17 00:42:40 +01:00
Griatch
3bec3a3512 Support in-game server-control commands 2018-01-14 23:11:59 +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
Griatch
9813a9d346 Allow AMP to handle multiple connections gracefully (more stable). 2018-01-10 22:47:53 +01:00
Ryan Stein
bb15fed784 Switch to autobahn-python for WebSockets support. 2017-10-29 21:29:09 -04:00
Ryan Stein
6fa280b9fd Run 2to3. 2017-10-29 13:40:30 -04:00
Griatch
2585d33e7c Merge branch 'master' into develop 2017-10-05 23:18:22 +02:00
Griatch
2d030afb36 Update AJAX client with the corrected Autologin functionality 2017-10-05 22:43:12 +02:00
Griatch
6f56ba71ce Make internal/external ports clearer in wake of port changes 2017-09-23 13:55:01 +02:00
Griatch
21d3dcb044 Explicitly close db connection from portal, address #1183. 2017-08-27 15:44:41 +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
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
BlauFeuer
dee1cdb646 minor PEP 8 whitespace edits 2017-03-03 18:15:23 -05:00
Griatch
a9f08760cc Further refactoring towards #1176. 2017-02-02 00:02:58 +01:00
Griatch
74eebfed6d Refactor code to remove alerts as per lgtm and #1176. 2017-01-29 19:02:00 +01:00
Griatch
f423771423 Added some more noisy=False to other factories as per #1107. 2016-10-22 16:02:32 +02:00
Griatch
67411d006d Fix regression with idle_timout not correctly closing connection. Fix errors due to Portal and Server trying to send to non-existing sessions after connection closes. 2016-09-14 19:07:59 +02:00
Griatch
86c970eb62 Add sessionhandler.portal_disconnect_all to remove another needless call between server and portal on logout. This means logout from either side will clean up on the respective side and then inform the other side once, rather than triggering a return call. 2016-09-13 21:48:43 +02:00