Griatch
f6b43b0416
Ran black on sources
2023-11-02 20:58:03 +01:00
Andrew Bastien
3c4a3f1088
Removing more erroneous code that snuck in.
2023-10-29 13:02:18 -04:00
Andrew Bastien
c91822606f
Cleaning up GlobalScriptContainer from some junk logic.
2023-10-29 13:02:18 -04:00
Andrew Bastien
4b80b200d8
Cleaned up tests to use newly-renamed Account hooks for add/remove characters.
2023-10-29 13:02:18 -04:00
Griatch
798272f985
Homogenize return from ServerSession.get_puppet/account. Resolve #3100
2023-02-26 14:44:28 +01:00
Griatch
55d2a67cc6
Add fly/dive command to XYZGrid to simulate full 3D movement
2023-01-27 22:23:41 +01: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
b37ce26005
Add ServerSession.get_display_name as alias to puppet/account versions. Resolve #2839
2022-11-06 11:17:07 +01:00
Griatch
5859de7054
Change to use super() instead of the old py2 style everywhere
2022-01-26 21:51:55 +01:00
Griatch
5df73d5045
Add XYZgrid contrib api files, prepare for merge
2021-07-23 00:19:28 +02:00
Griatch
7ff8cbb341
I18n string cleanup and refactoring
2021-05-27 17:37:26 +02: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
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
Andrew Bastien
43ce2285a5
Completely refactored the Attribute Refactor into a single fresh branch.
2020-04-22 17:17:37 -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
Griatch
c520ef86c9
Make DEFAULT_CHANNELS auto-recreate missing channels. Add new CHANNEL_MUDINFO setting.
2019-09-08 00:09:00 +02:00
Griatch
7a535b35fa
Remove __unicode__ magic methods no longer needed
2019-01-30 23:50:43 +01:00
Griatch
54e351f296
Merge develop branch, resolve conflicts
2018-10-13 17:19:38 +02:00
Griatch
5f9047b161
Make Session.execute_cmd consistent with Account/Object by accepting the session keyword
2018-10-10 23:26:20 +02:00
Griatch
72f4fedcbe
Merge with develop and fix merge conflicts
2018-10-01 20:58:16 +02:00
Griatch
a45372e814
Correctly call the parent at_sync in the serversession. Resolves #1555 .
2018-01-20 23:59:28 +01:00
Griatch
ff7fae3c07
Fix issue with messaging at session-level
2018-01-01 13:19:59 +01:00
Ryan Stein
7d524ac328
Unwrap for expressions in comprehensions, too.
2017-11-02 22:52:16 -04:00
Ryan Stein
f9526e78a8
Implement hashing functions for Command and ServerSession.
2017-10-29 22:39:54 -04:00
Ryan Stein
6fa280b9fd
Run 2to3.
2017-10-29 13:40:30 -04:00
Griatch
b3c6e9d2cc
Update alerts reported by LGTM
2017-09-23 16:46:54 +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
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
b278337172
Make PEP8 cleanup of line spaces and character distances as well as indents
2017-08-19 23:16:36 +02:00
Griatch
5590ee2258
Rename all instances of Player->Account.
2017-07-07 23:47:21 +02:00
BlauFeuer
dd8468aab6
minor PEP 8 whitespace, docstring, comment edits
2017-03-03 18:11:44 -05:00
Simon Vermeersch
ebbec15081
Correctly remove the webclient options monitor on disconnect
2017-02-05 12:19:16 +01:00
Simon Vermeersch
221aa362ab
Adds retrieving, monitoring and storing of webclient settings
2017-02-05 12:19:16 +01:00
Griatch
74eebfed6d
Refactor code to remove alerts as per lgtm and #1176 .
2017-01-29 19:02:00 +01:00
Griatch
92ec6a5ae8
Fix traceback due to missing settings.CHANNEL_CONNECTINFO; added the missing setting (with a None value). Resolves #1177 .
2017-01-28 09:46:37 +01:00
Griatch
c6d9c0619e
Refactor code for readability and compatibility.
2017-01-27 00:19:27 +01:00
Griatch
a403cc9576
Change ingoing message path to reroute through serversession.data_in before calling the inputfuncs. This allows users to view all incoming data in one place if they want to do eventual pre-processing. Resolves #1163 .
2017-01-14 12:28:07 +01:00
Griatch
19e8528b04
Update ObjectSessionHandler to avoid a caching syncing issue; should resolve #1153 .
2017-01-11 23:42:09 +01:00
Griatch
15036e8069
Revert "Fix problem with trying to pass non-text to msg(text=...). Resolves #996."
...
This reverts commit 8fe631d808 .
2016-06-15 19:54:47 +02:00
Griatch
8fe631d808
Fix problem with trying to pass non-text to msg(text=...). Resolves #996 .
2016-06-15 08:11:00 +02:00
Griatch
f04c82fa17
Implemented shared sessions between webclient and website - logging into either will also log in the player to the other. This is addresses the first point of #613 .
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
Griatch
a31441b3ce
First working version of the shared web login.
2016-06-01 01:22:19 +02:00