Griatch
8914e7b0b6
Change settings._TEST_ENVIRONMENT to settings.TEST_ENVIRONMENT to address not-found issues during initialization
2023-11-26 14:25:12 +01:00
Andrew Bastien
2dbd90d415
Fixing lots of tests.
2023-11-22 18:33:55 -05:00
Andrew Bastien
15653ef1f1
Refactoring Server Startup to be more idiomatic for Twisted.
2023-11-22 10:30:41 -05:00
Andrew Bastien
53d963e14c
Changed importing of SESSION_HANDLER to avoid circular imports when extending Portal or Server SessionHandler.
2023-05-11 20:39:30 -04:00
Griatch
a461a97576
Format code imports
2022-11-10 22:21:12 +01:00
Griatch
bd3e31bf3c
Run black reformatter on code
2022-02-08 13:03:52 +01:00
Griatch
a7b99a605b
Add LOCALECHO client option for clients not supporting local echoing. Resolve #2258 .
2021-10-09 00:36:17 +02:00
Griatch
677a34d06e
Cleaned up dummyrunner and fixed a lot of issues
2021-06-02 00:27:40 +02:00
Griatch
7ff8cbb341
I18n string cleanup and refactoring
2021-05-27 17:37:26 +02:00
Griatch
b449ebe3d4
Fix style to Keyword Args
2020-10-12 21:13:06 +02:00
Griatch
90a1a0cba8
Resolve merge conflicts
2020-10-08 23:35:31 +02:00
Griatch
ed8290aec8
Clean up docstrings
2020-09-20 20:29:02 +02:00
Griatch
76761825d0
Fixed all errors in doc building
2020-07-11 00:27:10 +02:00
Griatch
7fed14d233
Rename docstring Kwargs to Keyword Args
2020-07-10 15:57:57 +02:00
Griatch
29fc31bb01
Post-process docstring output
2020-07-10 14:14:34 +02:00
Andrew Bastien
8d8d6cd8ca
Spinning off sessid generation to make overloading easier.
2020-04-23 19:57:39 -07:00
Andrew Bastien
d7623cd8a5
Added AMP support to the Replaceable Networking effort. Can now replace the AMP protocols. Also cleaned up some imports.
2020-04-12 17:01:43 -07:00
Andrew Bastien
0639d43ddc
Cleaned up the pep8
2020-04-12 13:00:47 -07:00
Andrew Bastien
58230504c5
Missed a tiny detail in portalsessionhandler.py
2020-04-12 10:29:51 -07:00
Andrew Bastien
948d14a0fb
Made almost the entire networking guts replaceable.
2020-04-12 10:24:31 -07: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
Griatch
005b3f4530
Handle websocket autoconnect and remove session duplicates. Resolves #1851 . Resolves #1562 .
2019-06-15 22:24:32 +02:00
Griatch
72f4fedcbe
Merge with develop and fix merge conflicts
2018-10-01 20:58:16 +02:00
Griatch
9e42277fbb
Refactor the MAX_COMMAND_RATE throttle, related to #1556
2018-01-21 16:32:00 +01:00
Griatch
00ad0e5d89
Retry if sending data before AMP started. Resolves #1506 .
2018-01-10 08:06:14 +01:00
Ryan Stein
7d524ac328
Unwrap for expressions in comprehensions, too.
2017-11-02 22:52:16 -04:00
Ryan Stein
f2e800ddf1
Unwrap several for statements from 2to3 conversion process.
2017-11-02 12:46:33 -04:00
Ryan Stein
cd21fb2396
Use Python 3's new super() convention.
2017-11-02 10:41:41 -04:00
Ryan Stein
6fa280b9fd
Run 2to3.
2017-10-29 13:40:30 -04: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
cdac9678b9
Add smarter shared login on website/webclient. Resolves #1063 .
...
This makes it so that logging into the website will auto-log you
into the webclient and vice-versa when you refresh the page. But if
you log out of the web client will have to manually log in again. If
you log out of the website and reload the webclient page you will have
to log back into the client too (this is because logging out of the
website flushes the browser session, it doesn't seem worth the effort
to override django.auth in this).
2017-08-20 20:36:35 +02:00
Griatch
0ac190b6ea
First attemtps at fixing the auto-login and making it cleaner.
2017-08-20 17:07:18 +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
BlauFeuer
1b24bacc12
Suggested fix for #1231 + whitespace/docstring
2017-02-27 22:45:23 +01:00
Griatch
86e0db7ea9
Implement suggested fix for cmdrate limiter. Resolves #1231 .
2017-02-27 22:11:47 +01:00
Griatch
74eebfed6d
Refactor code to remove alerts as per lgtm and #1176 .
2017-01-29 19:02:00 +01:00
Griatch
33e1d03077
Remove portal debug printout.
2017-01-29 14:32:07 +01:00
Griatch
c6d9c0619e
Refactor code for readability and compatibility.
2017-01-27 00:19:27 +01:00
Griatch
4699b38b31
Fix issue with option ansi/xterm256=False not correctly turning off colors. Change the NOMARKUP session option flag to NOCOLOR to better reflect its function.
2017-01-26 21:08:27 +01:00
Tehom
b41053dd38
Default value for MAX_CHAR_LIMIT and convert to int to catch early errors
2016-12-13 07:22:50 -05:00
Tehom
760c5b41fc
Put in check for maximum character size in input strings that can be set with settings.MAX_CHAR_LIMIT.
2016-12-13 06:53:35 -05:00
Greg Taylor
4424dec668
Remove broken and un-maintained IMC2 support.
...
As discussed with @Griatch, IMC2 is now rarely seen in the wild. Also, this
feature hasn't worked in ages. Time to de-clutter.
2016-10-28 22:53:43 -07:00
Griatch
4a97a05c10
Some minor fixes and cleanups.
2016-09-14 23:27:55 +02:00
Griatch
76a903119c
Clean up log file output and fix some bugs. Swallows spammy and useless AMP connection errors.
2016-09-13 23:10:51 +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
Griatch
8eb500f8e0
Add sessionhandler.portal_disconnect which cuts down interaction over AMP by one when a player disconnects.
2016-09-13 20:42:38 +02:00
Griatch
410d04456c
Some further fixes to the ajax client, as well as maybe fixing the i.d.l. bug manifesting from a poor msg input send.
2016-06-01 01:22:20 +02:00
Griatch
eebd41f46d
Getting an improved version of the shared session system vaguely in shape.
2016-06-01 01:22:20 +02:00