Commit graph

4407 commits

Author SHA1 Message Date
BlauFeuer
00b9393b39 Fix typo in call to msg method.
Reported by thranduil when attempting `@rename *thranduil = Thranduil1 (throws an ex and gives a stack trace.  Character has no attribute 'mgs'")
2017-03-19 20:18:01 +01:00
BlauFeuer
03ab95f57f Update system.py 2017-03-19 20:06:00 +01:00
BlauFeuer
3383cd4c6b Add URL for BSD 3-Clause license
Suggested to me by a user, since the URL names the license type, it serves as a direct replacement for the text.
2017-03-19 20:06:00 +01:00
Vincent Le Goff
083d6d1600 Add unittests for the time_format utility 2017-03-19 19:57:09 +01:00
Vincent Le Goff
8343b61772 Add a style 4 for the time_format utility 2017-03-19 19:57:09 +01:00
BlauFeuer
16d0002780 Move unreachable code after exception raise
Also moves module import to top of file with comment.
2017-03-19 18:56:18 +01:00
BlauFeuer
e762441d4d Remove unreachable code, PEP 8 whitespace,
mark debug code in comments
2017-03-19 18:56:18 +01:00
Griatch
08670008ad Fix merge conflicts 2017-03-19 18:10:06 +01:00
Griatch
af5560f9e9 Minor doc fix. 2017-03-19 17:47:55 +01:00
Griatch
5d61602c38 Fix unicode error in unittest for mapbuilder. 2017-03-19 17:47:42 +01:00
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
357e829d4e Make at_get_cmdset get receive a parallel kwarg. 2017-03-01 15:20:30 +01:00
Griatch
b73a0f8f8c Some minor language fixes. 2017-03-01 08:08:27 +01:00
CloudKeeper1
23a053c213 Added test for whisper command. 2017-03-01 08:08:27 +01:00
CloudKeeper1
44fdbc49cb Adjusted typos and indentation. 2017-03-01 08:08:27 +01:00
CloudKeeper1
b3140b6608 Added new Whisper command to Cmdset
Added command for use.
2017-03-01 08:08:27 +01:00
CloudKeeper1
270a10e8c7 Added Whisper Command.
Command to allow private speech between players in the same location.
2017-03-01 08:08:27 +01:00
Griatch
bb027fc208 Make correctly consider edit locks. 2017-02-28 19:31:47 +01:00
Griatch
7c9aff23c8 Add ability to send a specific command instance to the cmdhandler, bypassing cmdset lookup. Add the cmdobj and cmdobj_key keywords. 2017-02-28 15:30:22 +01:00
Griatch
5aba9cf253 Remove accidentally left-in evtable debugs that messed up unittests. 2017-02-28 13:45:12 +01:00
Griatch
c15d5a26c4 Add another errback handler for error in #1207. 2017-02-28 08:08:33 +01:00
Vincent Le Goff
e556c5e5d3 Fix #1234: use a mock datetime class to force UTC 2017-02-27 16:51:35 -08:00
Griatch
f48e8e1fab Make note of the timezone dependence of datetime.datetime.fromtimestamp. 2017-02-28 00:07:05 +01:00
Griatch
f0ef1a648e Still cannot replicate #1234; test to force-set UTC time zone to see
if that helps.
2017-02-27 23:59:47 +01:00
CloudKeeper1
f58ac47b63 Adjusted suggested use so that it works.
Previously gave an incomplete path leading to an importerror.
2017-02-27 22:46:48 +01:00
BlauFeuer
1b24bacc12 Suggested fix for #1231 + whitespace/docstring 2017-02-27 22:45:23 +01:00
Griatch
657b3585f8 Remove the deprecated .characters property from Player model, it was a leftover from another time (there is no such hard-coded relation; use sessions instead). Closes #1233." 2017-02-27 22:39:26 +01:00
Griatch
4424734867 Reverting change to unittest, cannot replicate issue #1234. 2017-02-27 22:26:47 +01:00
BlauFeuer
541d54ecc1 prettytable to EvTable and whitespace edits 2017-02-27 22:15:06 +01:00
BlauFeuer
bd7388c03d Whitespace and LGTM alert edits 2017-02-27 22:15:06 +01:00
BlauFeuer
1937c314bb Markup and PEP 8 updates 2017-02-27 22:15:06 +01:00
BlauFeuer
ce15140bdd banlist to use evtable, markup, LGTM, PEP 8 2017-02-27 22:15:05 +01:00
Griatch
86e0db7ea9 Implement suggested fix for cmdrate limiter. Resolves #1231. 2017-02-27 22:11:47 +01:00
Griatch
d301ddd921 Add possible fix for some unittest time issues, related to #1234. 2017-02-27 22:07:17 +01:00
Griatch
b04a50fe28 Shut down existing IRC/RSS bots if starting with IRC/RSS_ENABLED=False. Resolves #1238. 2017-02-27 22:01:08 +01:00
Griatch
effa618268 Fix typo in changelog. 2017-02-23 13:26:48 +01:00
Griatch
bacb63bfdf Update changelog to latest. 2017-02-23 13:26:29 +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