Commit graph

363 commits

Author SHA1 Message Date
BlauFeuer
78a6a2fc1a comment typo 2017-03-08 00:25:33 -05:00
BlauFeuer
9aa8bfdf7b Fix Typos, whitespace, docstring, long lines 2017-03-07 07:36:53 -05:00
BlauFeuer
dee1cdb646 minor PEP 8 whitespace edits 2017-03-03 18:15:23 -05:00
BlauFeuer
dd8468aab6 minor PEP 8 whitespace, docstring, comment edits 2017-03-03 18:11:44 -05:00
BlauFeuer
0af6f2498e PEP 8 coding, whitespace, docstring/comment edits
Marking debug code, fix typo in docstring
2017-03-03 18:08:47 -05:00
BlauFeuer
42b41a6889 minor PEP 8 whitespace edit 2017-03-03 18:06:18 -05:00
BlauFeuer
239b04d139 Disconnect reason argument default passed on
and made consistent with other places in code where it just uses an empty string.
2017-03-03 18:04:47 -05:00
BlauFeuer
7e6adb2fd9 Escape markup character when it ends a line 2017-03-03 18:01:27 -05:00
BlauFeuer
1e3d79c343 PEP 8 whitespace, remove unused assignment 2017-03-03 17:58:04 -05:00
BlauFeuer
d995e70827 Escape markup character on last line edge case
Also changes default reason argument type for simplicity and consistency with default reason on other similar methods.
2017-03-03 17:54:37 -05:00
Griatch
c15d5a26c4 Add another errback handler for error in #1207. 2017-02-28 08:08:33 +01: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
BlauFeuer
0dfd474eff Markup change, whitespace, comment, docstring edit 2017-02-20 22:02:54 -05:00
BlauFeuer
9be2db3f93 Markup change, whitespace and comment edits 2017-02-20 22:01:50 -05:00
BlauFeuer
f14667cdd6 Markup change, whitespace and typo fixes 2017-02-20 21:56:56 -05:00
BlauFeuer
6fae85c32a Markup string constant change, whitespace adjust 2017-02-20 21:53:49 -05:00
Griatch
ee8c9a93c3 Add tentative errback for not firing an error when response is not fast enough to fire before a user closes the connection. Might handle #1207. 2017-02-18 20:32:13 +01:00
Vincent Le Goff
95c8bf348b Save the game time before shutting down the server (avoids drfts) 2017-02-15 23:43:49 +01:00
Griatch
008566f358 Move gametime conversion factors to contrib and remove them from the settings file with the motivation that the gametime constats were always highly game specific and a remnant from another time. Reworked the gametime library and add server epoch building from vincent-lg's original PR. The gametime module now deals exclusively in seconds. 2017-02-12 19:16:56 +01:00
Griatch
6b89945cd3 Extract the deprecation checks from the evennia launcher into its own module deprecations.py as it grows. 2017-02-12 19:16:56 +01:00
Griatch
63df95e4da Make the irc bot accept who command from the IRC side. 2017-02-12 01:55:34 +01:00
Griatch
65a4e507f7 Add the ircstatus command, which allows an Evennia-ide user to ping the status of the IRC bot connection, get list of IRC nicks and also (if having the right privilege) force-reconnect the bot if the connection has died. 2017-02-12 00:43:19 +01:00
Cloud_Keeper
9503b30a5e Adjusted text variable names through IRCbot message life cycle to match new practice. 2017-02-11 18:48:43 +01:00
Cloud_Keeper
40d4f6d286 Kwargs now being passed to the bot successfully 2017-02-11 18:45:55 +01:00
Tablet-PC\cloud
8fc20a3056 Unsuccessfull attempts 2017-02-11 18:45:55 +01:00
Griatch
831b1567ae Resolve conflicts against master. 2017-02-11 18:17:04 +01:00
Simon Vermeersch
67d3f6650e Check for a valid session on the webclient_options monitor handler 2017-02-05 12:19:17 +01:00
Simon Vermeersch
ebbec15081 Correctly remove the webclient options monitor on disconnect 2017-02-05 12:19:16 +01:00
Simon Vermeersch
9efed33fb5 Webclient options monitor: reference the correct attribute 2017-02-05 12:19:16 +01:00
Simon Vermeersch
8dcd242d3b Cosmetic changes to the webclient options
- Renamed the used attribute
- Changed to use only one inputfunc
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
a9f08760cc Further refactoring towards #1176. 2017-02-02 00:02:58 +01:00
Griatch
74eebfed6d Refactor code to remove alerts as per lgtm and #1176. 2017-01-29 19:02:00 +01:00
Griatch
203d0a09a0 Catch cases where Sessions have already been removed on either side of the AMP connection. This may remove the annoying Portal errors on the form 'AMP Error for AdminPortal2Server: 1'. Probably unrelated to #1128, but linking to it anyway. 2017-01-29 14:57:33 +01:00
Griatch
cdaa137868 Add server restart messaging also when restarting server from the shell. 2017-01-29 14:46:38 +01:00
Griatch
33e1d03077 Remove portal debug printout. 2017-01-29 14:32:07 +01:00
Griatch
3e21023ad8 Made the sessionhandler never accept None as a Session; this should make it clearer when a Session becomes invalid and avoid confusing the sessionhandler cache of other objects. Should resolve #1181. 2017-01-29 14:24:18 +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
a09835049b Refactor wrong super() parents in a few managers. 2017-01-26 21:35:13 +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
9a41b30089 Set another factory to not be noisy 2017-01-24 16:45:10 +01:00
Griatch
5b62a30ce6 Update dummyrunner documentation. 2017-01-19 10:36:31 +01:00
CloudKeeper1
86e67a299c Suggested changes.
Expanded the argument documentation and removed nick replacement.
2017-01-18 18:55:47 +11:00
Tablet-PC\cloud
e62418fd11 Bots use inputfunc 2017-01-18 12:26:42 +11:00
Griatch
89cbb6c30e Fix buggy case sensitivity not switching on xterm-256 support for the XTERM terminal type, pertains to #1165. 2017-01-16 07:16:18 +01:00
Griatch
052e1845a2 Fix error in MonitorHandler recovering a saved Session across a reload. This probably affected the TickerHandler as well. Add a new hook to the server object that gets called once the portal has synced, and run the monitorhandler/tickerhandler restores there. Also some changes to the serialization of Sessions. Resolves #1164. 2017-01-15 19:55:51 +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
7a3b3ceb76 Fix the get_value inputfunc to return both name and value. 2017-01-13 13:02:53 +01:00