Commit graph

4407 commits

Author SHA1 Message Date
BlauFeuer
6ac3e0b4c9 Remove legacy default screen - no longer used 2017-02-20 02:52:23 -05:00
BlauFeuer
c2fa13107f Markup, whitespace, and code cleanup 2017-02-20 02:50:15 -05:00
BlauFeuer
5b86cc9bf4 Markup, whitespace, comment edits 2017-02-20 02:45:31 -05:00
BlauFeuer
0dfac7f737 Markup, whitespace, docstring and comments, code 2017-02-20 02:32:01 -05:00
BlauFeuer
37984adc58 Markup, whitespace, docstring and comment updates 2017-02-20 02:21:49 -05:00
BlauFeuer
7f6db31bd6 Markup, whitespace and code refactor 2017-02-20 02:07:38 -05:00
BlauFeuer
f33b562cf7 Markup and whitespace updates 2017-02-20 01:47:12 -05:00
BlauFeuer
5111fb9a1e Markup, whitespace, typo and code style fixes 2017-02-20 01:41:43 -05:00
BlauFeuer
dc1545cb27 Docstring, comments and whitespace fixes 2017-02-20 01:36:58 -05:00
Griatch
695cc4d218 Add basic unittests for the rest of the tutorial_world rooms. This concludes #1105. 2017-02-20 00:11:08 +01:00
Griatch
5a723697e7 Add unittests to tutorial world mob, objects and most rooms as per #1105. 2017-02-19 23:48:24 +01:00
Griatch
fd4f72f4d0 Add unittest for talking_npc contrib as per #1105. 2017-02-19 21:30:24 +01:00
Griatch
a0b1a0cac1 Add unittests for simpledoor and slow_exit contribs, as per #1105. 2017-02-19 21:06:03 +01:00
Griatch
42c13ee870 Add unit tests for mapbuilder, menu_login and multidescer contribs, as per #1105. 2017-02-19 20:21:07 +01:00
Griatch
108dd35ee7 Add unittest for mail contrib; fix some inconsistencies and refactor to better handle errors. 2017-02-19 19:24:00 +01:00
Griatch
23cfd3ba17 Make attribute cache behavior consistent with the non-cached return when returning non-found objects as per #1226. 2017-02-19 17:36:35 +01:00
Griatch
7e762245c8 Add unittests for gendersub contrib as per #1105. 2017-02-19 14:54:40 +01:00
Griatch
1b9016d26a Add unittests to email_login contrib and also update it to work correctly with latest code. Pertains to #1105. 2017-02-19 14:35:42 +01:00
Griatch
e9a6465c65 Add unittest to contrib.dice as per #1105. 2017-02-19 13:41:56 +01:00
Griatch
46a5a62d2b Add unittests for contrib/chargen and custom_gametime. Removed unused time units settings from custom_gametime. 2017-02-19 13:10:17 +01:00
BlauFeuer
7e395ea7ec CmdQuell whitespace adjust to pass tests 2017-02-19 09:46:44 +01:00
BlauFeuer
a96ad804c0 Markup update 2017-02-19 09:46:44 +01:00
BlauFeuer
3d9695c86b Markup update 2017-02-19 09:46:44 +01:00
BlauFeuer
6192080811 Markup update 2017-02-19 09:46:43 +01:00
BlauFeuer
e40b9d14fa Markup update 2017-02-19 09:46:43 +01:00
BlauFeuer
46da1b9166 Markup, whitespace, LGTP and PEP 8 updates 2017-02-19 09:46:43 +01:00
BlauFeuer
be05b3a1c8 Markup, whitespace and PEP 8 updates 2017-02-19 09:46:43 +01:00
BlauFeuer
24bd3a6412 markup, whitespace and PEP 8
Indent and variable name updates, also.
2017-02-19 09:46:43 +01:00
BlauFeuer
ec11388531 Markup, whitespace, PEP 8 and docstring updates 2017-02-19 09:46:43 +01:00
BlauFeuer
3bae1190a9 markup and whitespace update 2017-02-19 09:46:43 +01:00
BlauFeuer
f857a43f4b Markup update, docstring and whitespace fixes 2017-02-19 09:46:43 +01:00
BlauFeuer
7f06bb4b73 Correct errant find/replace from last commit 2017-02-19 09:46:43 +01:00
Griatch
33000a55f6 Have CmdPerm check the 'edit' locktype when caller is a player instead of 'control' (which is not defined on players). Resolves #1223. 2017-02-19 09:25:21 +01:00
Tehom
959e5ec558 Put in fix for nicks.has check being True when returning list of False matches due to None caching. 2017-02-18 20:39:14 +01: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
Griatch
d9e305702f Made sure to allow setting the option even though the client does not report it. Might help with #1218 ... maybe. 2017-02-18 19:41:10 +01:00
Griatch
865ab131bb Fix reference error in get_input. Resolves #1219. 2017-02-18 19:21:43 +01:00
Griatch
517ce93bb4 Fix merge conflicts against master branch. 2017-02-18 12:08:51 +01:00
Griatch
8ee817ce8b Fix lingering references to old perms/locks to resolve unittests. 2017-02-18 12:00:27 +01:00
Griatch
2138e4cd70 Run migrations! Update all Permissions and Locks to new Permission hierarchy. 2017-02-18 11:31:17 +01:00
BlauFeuer
a651490565 Refactor to remove alerts as per lgtm and #1176.
Should remove 2 string concatenation in a loop alerts.
2017-02-17 18:18:37 -05:00
Griatch
0bd47f0c52 Change permission strings so Immortals->Developer, Wizards->Admin, Builders->Builder, PlayerHelper->Helper, Players->Player, Guests->Guest. Made perm() and pperm() lock function accept both the plural and singular form (so both Admin and Admins work). Still lacking a data migration for updating an existing database to the new setup. 2017-02-17 23:25:09 +01:00
Griatch
edc092bfc4 Run migrations! Add support for using Scripts as senders/receivers of Msg entities. Implements #1179. 2017-02-17 21:42:26 +01:00
Griatch
ccfcf37e33 Convert EvMenu to use overridable methods instead of plugin functions. Implements #1205. 2017-02-17 21:18:15 +01:00
Griatch
22e57db4a7 Fix errors in testing. 2017-02-17 09:32:15 +01:00
Griatch
1fbb4c4358 Add functioning prefix-ignorer and cleanup of code. 2017-02-17 09:19:55 +01:00
Griatch
d4df0948e3 Change @ desc to @ setdesc to avoid confusion with desc command. 2017-02-17 09:19:55 +01:00
Griatch
dffbf9f8d6 Rework prefix-ignorer to retain a reference to the unstripped cmdname. Currently unworking. 2017-02-17 09:19:55 +01:00
Griatch
fd3d6aee9a Clean up default command names and aliases to avoid multimatches with new prefix-ignorer. Chane desc->setdesc, alias->nick, @home->@sethome. 2017-02-17 09:19:22 +01:00
Griatch
596efe4c72 Add prefix-ignorer. This will identify allow users to target a command using both cmd, @cmd, +cmd etc. If there are two different commands @cmd and cmd, entering @cmd will still explicitly target the former. Single-character commands consisting of only an ignore-character will not be ignored. Configure and turn off using settings.CMD_PREFIX_IGNORE. 2017-02-17 09:18:04 +01:00