Griatch
d414cc3ccd
Start add docs again
2020-10-08 21:45:18 +02: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
Griatch
df74380155
Some minor edge-case fixes when using a session as caller.
2016-05-24 23:09:16 +02:00
Griatch
68e5c4d283
Added a missing execute_cmd on the Session. It got lost after the inputfunc changes.
2016-05-22 20:49:44 +02:00
Griatch
8bf63885e2
Made some minor updates to the evmenu_login contrib, including adding a max number of password retries before disconnecting as well as fixing how client-exhoes are handled. Also made empty string return rather than 'b'. Also fixed an inconsistency in the Session.msg.
2016-05-22 20:49:44 +02:00
Griatch
79f5a4a93a
Added the ability to save protocol options on the player level. Implements #957 .
2016-05-22 20:49:43 +02:00
Griatch
83e24678f5
Fixed a bug which caused a failure when logging out
2016-05-22 20:45:38 +02:00
Griatch
006e367330
Made GMCP/MSDP work for tintin++. Mudlet seems to send the handshake differently.
2016-05-22 20:45:38 +02:00
Griatch
1044006303
Moved inlinefunc-parsing to sessionhandler level. First text throughput for webclient alongside telnet.
2016-05-22 20:45:05 +02:00
Griatch
c511263f63
Made basic telnet work again.
2016-05-22 20:45:05 +02:00
Griatch
e4d50ff74e
Changes to the input-handling interface, to support function calls; also changing oob system to be inputhandler system, making it all work in the same way (no separation between text and oob anymore).
2016-05-22 20:45:05 +02:00
Griatch
2d826df2f4
Made a first version of the new OOB infrastructure, works with normal text-command sending.
2016-05-22 20:45:05 +02:00
Griatch
4817ec90b3
Changed the OOB message structure to include sending text data as well; still not working fully.
2016-05-22 20:45:05 +02:00
Griatch
161383f9ae
Fixed a repeat error in Scripts ( resolves #890 ). Added separation between calling script.pause() deliberately and it being called automatically by the reset/reload, in order to preserve manual pauses across server reloads ( resolves #891 ).
2015-12-17 00:12:07 +01:00
Griatch
641846e855
Added a functioning version of nested inline funcs. Still poor error handling and some edge cases are not handled.
2015-11-28 18:25:04 +01:00
Griatch
d496606a3c
Further development of the reworking of systems using Sessions rather than session id.
2015-11-14 20:32:58 +01:00
Griatch
709f5ff5b3
Reworked most of the system to use sessions directly instead of sessids by the introduction of on-object sessionhandlers. No debugging done yet.
2015-11-14 18:36:19 +01:00
Ahmed Charles
11b61fe335
Import python3 compatible object.
2015-11-02 00:19:04 +01:00