Commit graph

2866 commits

Author SHA1 Message Date
Griatch
698e226763 Added new bettermenu system 2015-07-09 14:37:09 +02:00
Griatch
72049eeddd Made the evennia_launcher gracefully report a missing log directory instead of raising a traceback (a missing log dir happens when cloning game dirs since log files are in .gitignore) 2015-07-08 10:41:47 +02:00
Griatch
095a1c0c13 Updated contrib menusystem and talking_npc to make use of the dynamic command update properties. Also fixed a lingering error in talking npc that resolves #768. 2015-07-07 16:43:10 +02:00
Griatch
ea0de32607 Updated the Command class with set_key/set_alias methods to allow for dynamic updating of command key/aliases properties while making sure all optimization recaches are hit. 2015-07-07 16:42:20 +02:00
Griatch
a8332fe431 Reworked the fix of #769 to be cleaner and using a full import mechanism rather than the pre-module lookup that messed up the unittests. 2015-07-07 15:29:28 +02:00
Griatch
0003868533 Added more logics for pre-lookups of cmdset paths at any nested package depth. Resolves #769. 2015-07-07 13:31:17 +02:00
Griatch
45e0785c8e Made a change to the cmdset comparison algorithm to make sure all commands are compared both by alias and key by use of a set-intersection operation. Before one side of the comparison used key and the other used key+aliases, which led to inconsistent results in some situations, especially when combining system commands with aliases. 2015-06-28 17:58:42 +02:00
Griatch
3cc816c58c Remove contrib-import that causes also unused contribs to clash with typeclass-names in custom game folder. This turns off api2doc parsing of contribs, but it's a worthwhile cost to pay. Even so, we will still clash when e.g. using the TutorialWorld while trying to setup some common typeclass names, like "Weapon". We may need to change the contrib typeclass names in the long run to make them less likely to clash; or otherwise separate them from the standard library; this is a future issue though. This change resolves #766. 2015-06-25 23:31:16 +02:00
Griatch
8572cc21c2 Fixed a utf-8 error lingering from docstring conversions. Resolves #767. 2015-06-25 23:04:26 +02:00
Griatch
19bfaae8a6 Finished converting server/ and server/portal to google-style docstrings as per #709. 2015-06-23 15:20:32 +02:00
Griatch
ccae355175 Converted server/profiling/ to Google-style docstrings, as per #709. 2015-06-23 13:39:45 +02:00
Griatch
6d0122906f Made top-level server/ directory google-style docstring compliant as per #709. 2015-06-23 13:30:59 +02:00
Griatch
00b5309295 Updated more of server/ to google docstrings as per #709. 2015-06-23 10:42:51 +02:00
Griatch
57b2396af7 Fixed a unicode error in the evennia launcher. 2015-06-23 08:06:53 +02:00
Griatch
d5f24c2d13 Finished adding Google-style docstrings to oobhandler, as per #709. 2015-06-23 08:05:32 +02:00
Griatch
b2ddd34efd Updated parts of server/ dir to google docstrings as per #709. 2015-06-22 21:02:03 +02:00
Griatch
abff559a61 Begun conversion of server/ directory to google style docstrings as per #709. 2015-06-22 08:45:35 +02:00
Griatch
86a1cf5a13 Added a comment to the default .gitignore on group use. 2015-06-22 08:02:24 +02:00
Griatch
da9c97b699 Updated all of players/ directory to Google style docstrings as per #709. 2015-06-21 13:51:32 +02:00
Griatch
8ac424c216 Made multi-command-match display on multiple lines 2015-06-20 23:48:09 +02:00
Jonathan Piacenti
71389fd6fe Slight wording tweak. 2015-06-20 16:34:38 -05:00
Jonathan Piacenti
27500b9762 Better handling of command ambiguity. 2015-06-20 16:31:59 -05:00
Jonathan Piacenti
462b73b626 Rename display_name and improve docstrings. 2015-06-20 16:31:36 -05:00
Jonathan Piacenti
1822b01086 Add display_name and disambiguation_tag for dynamic naming. 2015-06-20 15:42:39 -05:00
Jonathan Piacenti
a5887d23e2 Make command ambiguity handler pluggable. 2015-06-20 13:18:50 -05:00
Griatch
f116543e14 Added pytz to the requirement list, to handle timezones better 2015-06-20 15:17:07 +02:00
Griatch
561b051734 Made the cmdset flags no_exits, no_objs and no_channels pass-through the cmdset merge unless overruled by higher-prio sets' flags. Resolves #760. 2015-06-20 13:15:43 +02:00
Griatch
7f63ca6a76 Made error reporting from cmdsets a little more verbose. 2015-06-20 13:11:50 +02:00
Griatch
9dcb97060d Added the ability to spawn objects with Tags. 2015-06-20 00:31:13 +02:00
Griatch
91b84213dd Made the string set convertion message a little clearer. Also set up the template to add the protototype dir from the onset. 2015-06-13 16:02:59 +02:00
Griatch
4d69e80787 Made lock command warn for using the wrong input form. Strip extraneous quotes from lock strings to avoid strange issue with escaped quotes from the command system. Resolves #758. 2015-06-13 00:08:12 +02:00
Griatch
f00f917e41 Fixed an issue with the lineeditor's quit yes/no question and made a custom yes/no solution instead of relying on the menusystem-based one in contrib. Resolves #757. 2015-06-12 23:17:32 +02:00
Griatch
fb8db4ead0 Fixed a recursive error with the ndbhandler.all. 2015-06-12 22:48:28 +02:00
Griatch
7f8d421039 Fixed a bug and cleaned up the nick command. Resolves #756. 2015-06-09 14:34:27 +02:00
Griatch
9c677362e7 Fixed a typo for the command. Resolves #755. 2015-06-03 23:10:41 +02:00
Griatch
70762fb2be Updated menu_login contrib to changes in default channel settings. Also made them aware of multisession modes. Resolves #754. 2015-06-03 23:08:10 +02:00
Griatch
a9569f274f Added setTcpNoDelay to AMP connection. On Linux this leads to x10 faster roundtime on sends, as per #746. 2015-06-01 23:30:37 +02:00
Griatch
11750be556 Fixed a bug in the attr lockfunc to make it properly handle comparison for Nonetypes and bools as well as other values. Also fixed a malformed call for a default value. Resolves #753. 2015-06-01 21:56:29 +02:00
Griatch
8e134af019 API change: Added no_superuser_bypass kwarg to obj.access, channel.access and player.access methods, to make the call consistent with the full lockhandler.check call. This allows the cmdhandler to use access() to check the 'call' locktype and thus make it available for overloading if so desired. Resolves #752. 2015-06-01 20:32:52 +02:00
Griatch
ef1e336339 Added a missing update to the database store of cmdsethandler. Resolves #751. 2015-06-01 20:02:53 +02:00
Griatch
d23a8a94db Updated scripts/ directory source to use Google style docstrings as per #709. 2015-05-29 21:08:04 +02:00
Griatch
13042e6d1a Updated players/ directory sources to use Google style docstrings, as per #709. 2015-05-29 20:23:38 +02:00
Griatch
a4a5f170e0 Update README.md 2015-05-28 13:57:37 +02:00
Griatch
326c6a131e Updated all sources of evennia/objects/ to google-style as per #709. 2015-05-27 23:51:19 +02:00
Griatch
97e04ee710 Twisted min version upped to 15.2.1 due to a change in the LoopingCall infrastructure that Evennia relies on. This resolves #744 by updating the Evennia implementation accordingly. 2015-05-27 22:35:05 +02:00
Griatch
ff4013a58a Changed ignores to not use linux-type paths. 2015-05-26 00:15:36 +02:00
Peter Finlayson
a0fb836fdb ignore Windows files generated during setup 2015-05-26 00:13:12 +02:00
Griatch
eb024e0cfb Fixed a special case of the amp protocol not being initialized during the very first startup. 2015-05-25 23:42:39 +02:00
Griatch
c67aa4efc5 Fixed a bug in splitting long AMP messages as per #750. 2015-05-25 21:17:00 +02:00
Griatch
fbb9f8a279 Fixed a bug in the reporting of batch-AMP errors. 2015-05-25 21:01:15 +02:00