Commit graph

138 commits

Author SHA1 Message Date
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
eafe390db4 Use isort, run format on code 2022-11-18 12:02:46 +01:00
Griatch
a461a97576 Format code imports 2022-11-10 22:21:12 +01:00
Griatch
a0a0a248a0 Break up/extend MULTISESSION_MODE into several new settings 2022-09-17 11:58:22 +02:00
InspectorCaracal
d7d4ccfe43 change to move prompt 2022-07-03 20:25:53 -06:00
InspectorCaracal
b4b05f5548 move text to front 2022-06-28 21:50:00 -06:00
InspectorCaracal
581e491cd8 copy options for each command 2022-06-28 21:50:00 -06:00
Cory F. Cohen
a05ec09f51 Fix various typos in several files.
All are in comments and docstrings, and none should be controversial
in any way (e.g. British versus American spelling).
2022-06-21 21:12:45 -04:00
Griatch
bd3e31bf3c Run black reformatter on code 2022-02-08 13:03:52 +01:00
Griatch
7f2b8c81d7 Fixing contrib test issues 2021-12-19 15:33:41 +01:00
henddher
bfd6ece47c Addition of BROADCAST_SERVER_RESTART_MESSAGES flag to notify all sessions that the server is restarting. 2021-10-03 18:05:03 -05:00
Griatch
bb8c212b8d Better handle malformed msg kwarg. Resolve #2298. 2021-08-06 20:44:33 +02:00
Griatch
7ff8cbb341 I18n string cleanup and refactoring 2021-05-27 17:37:26 +02:00
Griatch
9e2b7576b1 Another typo in funcparser loading settings 2021-04-11 16:13:56 +02:00
Griatch
c9d9e9c6f8 Clean up docs and more funcparser fixes 2021-03-27 23:43:46 +01:00
Griatch
773bb31f55 Replace inlinefunc parser with FuncParser mostly 2021-03-17 23:44:08 +01:00
Griatch
b5195a6e96 [feat] Script refactor; decouple timer component from script lifetime. Resolve #1715 2021-03-07 10:34:01 +01:00
Griatch
50779ee84d Fix error that did not let Session base beoverloaded correctly 2020-11-24 18:38:43 +01:00
Griatch
b449ebe3d4 Fix style to Keyword Args 2020-10-12 21:13:06 +02:00
Griatch
0df87037e7 Ran black on sources, add black config 2020-07-27 21:09:13 +02:00
Griatch
862d2a5d06 Resolve merge conflicts 2020-07-18 15:56:47 +02:00
Griatch
f7b4193c84 Add $random default inlinefunc because I expected it to be there 2020-07-17 14:25:24 +02:00
Griatch
2208a3030c Remove tests from api doc 2020-07-10 20:04:43 +02:00
Griatch
b1cae35e34 Modify package template 2020-07-10 17:58:07 +02:00
Griatch
7fed14d233 Rename docstring Kwargs to Keyword Args 2020-07-10 15:57:57 +02:00
Griatch
e0717fd07c Add replacable Trait classes 2020-04-14 00:32:37 +02: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
948d14a0fb Made almost the entire networking guts replaceable. 2020-04-12 10:24:31 -07:00
trhr
090157979b django.utils.translation.ugettext(), ugettext_lazy(), ugettext_noop(), ungettext(), and ungettext_lazy() are deprecated in favor of the functions that they’re aliases for: django.utils.translation.gettext(), gettext_lazy(), gettext_noop(), ngettext(), and ngettext_lazy(). 2020-02-09 20:14:47 -06: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
Greg Taylor
bd33886cc0 Remove uses of the 'future' py2->3 module
This is no longer needed, now that we are Py3.7+ only. One
layer of indirection removed, and one less dependency.
2019-09-15 00:18:56 -07:00
Griatch
febe08c885 Fix signaling names, add .signals to flat API. 2019-07-02 15:46:14 +02:00
Griatch
005b3f4530 Handle websocket autoconnect and remove session duplicates. Resolves #1851. Resolves #1562. 2019-06-15 22:24:32 +02:00
Andrew Bastien
72faf039cf Refactored signals with better names and more of them. Put them after hook calls. 2019-04-13 18:05:15 -04:00
Andrew Bastien
11dc2ee561 Added some Signals. 2019-04-12 20:16:30 -04: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
ebb2fb6c1c Clean up with 2to3 2018-10-13 19:43:17 +02:00
Griatch
72f4fedcbe Merge with develop and fix merge conflicts 2018-10-01 20:58:16 +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
63bf978b39 Fix error in MULTISESSION_MODE=0 that would not correctly disconnect duplicate sessions but just unpuppet them 2018-01-21 12:29:22 +01:00
Griatch
d6105f6d6c Remove dependence on .restart file, add reboot option to launcher 2018-01-20 12:41:27 +01:00
Griatch
3bec3a3512 Support in-game server-control commands 2018-01-14 23:11:59 +01:00
Griatch
5741eef9bc Parallel start/stop/reload systems, for testing 2018-01-14 14:02:34 +01:00
Griatch
9813a9d346 Allow AMP to handle multiple connections gracefully (more stable). 2018-01-10 22:47:53 +01:00