Commit graph

134 commits

Author SHA1 Message Date
Andrew Bastien
021f5779bf Global Scripts handling moved to later in Startup; no longer affects scripts not defined in settings.py 2023-10-29 13:06:48 -04:00
Griatch
c113cabeba Make sure at_server_reload is called from non-repeating scripts. Resolve #3139. 2023-08-06 16:32:52 +02: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
Wendy Wang
7680f98bd4 Prevent recreation of same-named channels 2023-02-07 19:55:06 +01:00
Griatch
cd07c78240 Ran formatter 2022-12-07 19:35:06 +01:00
Griatch
6b82d04a8c Correctly route twisted logs at startup for new game folder 2022-12-03 15:26:01 +01:00
Griatch
a461a97576 Format code imports 2022-11-10 22:21:12 +01:00
Griatch
5ec7b803f4 Another fix to import in server 2022-10-31 22:07:13 +01:00
Griatch
b1f027bf57 Make sure delayed import actually imports 2022-10-31 21:39:43 +01:00
Griatch
bd297876ca Fix condition for maintenance late-load 2022-10-31 20:07:24 +01:00
Griatch
da68598b63 Add tag to catch link-dead puppet. Resolve #2829, #2737 2022-10-29 20:54:57 +02:00
Griatch
43378b4c41 Ran black on sources 2022-09-18 23:58:32 +02:00
Andrew Bastien
2a1b2cf3cb PEP8 compliance improvement. 2022-08-02 10:44:25 -04:00
Andrew Bastien
18edbce624 adding at_server_init to at_server_startstop 2022-07-25 17:16:00 -04:00
Griatch
a83f21ef2f Apply black to cleanup code 2022-06-12 09:46:48 +02:00
Griatch
4e2962fef8 Further improvement of log conditional 2022-02-14 00:34:13 +01:00
Griatch
2e94e1b67d Fix of server/portal log upstart condition 2022-02-13 23:26:39 +01:00
Griatch
42ee0db1da Update logger.py to use new Twisted log api. No change in evennia-side usage 2022-02-13 22:52:11 +01:00
Griatch
bd3e31bf3c Run black reformatter on code 2022-02-08 13:03:52 +01:00
Griatch
5e2372f79d Make sure Typeclass.at_init() is always called on cache initialization for any typeclass. Resolve #2641 2022-02-07 20:45:48 +01:00
Griatch
b9771e701f Fix/refactor initial_setup function. Resolve #2438. 2021-08-06 00:16:12 +02:00
Griatch
7ff8cbb341 I18n string cleanup and refactoring 2021-05-27 17:37:26 +02:00
Griatch
a95d801b1e Remove channelhandler 2021-05-08 16:30:17 +02:00
Griatch
f5fd398480 New FileHelp system to create help entries from external files 2021-05-08 15:11:53 +02:00
Griatch
ad0c0f39d0 Resolve merge errors 2021-04-24 22:47:06 +02:00
RealKinetix
7d20d35375 Maintenance time calculations should be done in minutes, not seconds.
Should resolve #2336
2021-03-29 22:34:55 -07:00
Griatch
b5195a6e96 [feat] Script refactor; decouple timer component from script lifetime. Resolve #1715 2021-03-07 10:34:01 +01:00
Griatch
4cefba6e3b More fixes 2021-02-27 14:13:42 +01:00
Griatch
2227f16e17 Make evennia doc-build not require gamedir 2021-02-25 08:52:52 +01:00
Griatch
d414cc3ccd Start add docs again 2020-10-08 21:45:18 +02:00
Griatch
b24d4f0e1e Run black on sources; add black config 2020-07-27 21:12:06 +02:00
Griatch
b1cae35e34 Modify package template 2020-07-10 17:58:07 +02:00
Griatch
6929bec4e6 Ran black on sources 2020-06-16 14:50:02 +02:00
Griatch
8f11b38422 Merge branch 'master' into develop 2020-05-16 09:56:56 +02:00
Griatch
dfea32ec82 Fix server-time-snapshot unittest patch issue 2020-05-16 09:56:29 +02:00
Griatch
586414247f Server timekeeper no longer assume 60s between snapshots 2020-04-23 19:08:23 +02:00
Andrew Bastien
109627090e Made initial_setup.py replaceable in settings.py 2020-04-13 14:16:22 -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
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
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