Commit graph

6284 commits

Author SHA1 Message Date
Griatch
25c1526fc4 Fix unittest for postgres ordering 2020-09-06 10:48:50 +02:00
Griatch
61f389bccb Add two default commands to __all__ tuple. Resolve #2189 2020-09-05 23:34:08 +02:00
Griatch
b9d3dae76e Optimize queries for prototype lookup, as part of #2126. 2020-09-05 23:30:08 +02:00
Griatch
03f66f1e68
Merge pull request #2188 from davewiththenicehat/master
tutorial_examples/example_batch_code interactive patch
2020-09-03 08:42:19 +02:00
Griatch
0465165378
Merge pull request #2178 from luyijun/myfix
Fix a bug that script whose db_interval is 0 will be run when call its start method twice.
2020-09-03 08:39:21 +02:00
davewiththenicehat
709515a332 Update example_batch_code.py
Updated so /interactive switch works as expected for tutorial: https://github.com/evennia/evennia/wiki/Batch-Code-Processor
2020-09-02 17:25:39 -04:00
davewiththenicehat
094a100f34
Merge pull request #1 from evennia/master
Updating before submitting PR.
2020-09-02 17:21:06 -04:00
Griatch
4ba2f444ff Make at_post_cmd() run after func() also for delayed commands. Resolve #2179 2020-09-01 22:58:54 +02:00
Griatch
29b381fbe6 Use localtime for MudInfo channel output. Resolves #2182. 2020-09-01 22:37:07 +02:00
Griatch
09e53d5efe Default to attrread as locktype for Attribute read access. Resolve #2185 2020-09-01 20:40:48 +02:00
Griatch
ad7a8ae0d1 Fix settings-reset functionality. Resolve #2187 2020-09-01 20:35:16 +02:00
Griatch
1d233aa8f0 Fix error in pluralization inflection. Resolves #2183. 2020-09-01 19:10:07 +02:00
Griatch
40efd23ad5 Fix of unittest to account for mysql/psql variations 2020-08-31 19:38:57 +02:00
Griatch
c3831ea09c Fix unittest error for dice contrib 2020-08-06 00:22:48 +02:00
luyijun
a46acda634 Fix a bug that script whose db_interval is 0 will be run when call its start method twice. 2020-08-02 10:48:47 +08:00
Griatch
343d93d50f Fix width of examine separator line. Resolve #2177. 2020-07-28 23:47:03 +02:00
Griatch
1d5f27b820 Run black on sources; add black config 2020-07-27 21:12:06 +02:00
Griatch
bfe5f6c4c1 Optimize/fix searching objects by-attribute-value 2020-07-27 20:44:18 +02:00
Griatch
897daeb2e4 Fix single-attribute examine on not-found 2020-07-27 15:16:46 +02:00
Griatch
54de527d65 Fix bug in examine attrvalue. Resolves #2175. 2020-07-27 14:56:43 +02:00
Griatch
dc377d2840 Make ic command better handle multiple-matches.
Resolves #1923. This changes the `ic` command so non-privileged
users will search through their `_playable_characters` Attribute list.

Privileged (Builder+) users will use their `_playable_characters` list,
but if they are already puppeting a char in the same location as an
object with the given name, this will be used instead. Only if no match
is found neither in `_playable_characters` nor in the current location
will a global search for a puppetable target be done (and only for
Builders+)
2020-07-20 22:25:23 +02:00
Griatch
56b11b0dec Make INLINEFUNC_STACK_MAXSIZE default visible in settings_default. Resolves #2173. 2020-07-19 10:30:30 +02:00
Griatch
8187f742ab Add unittest for Attr/Tag.batch_add, clarify docstrings. Resolves #2125 2020-07-18 23:10:46 +02:00
Griatch
6dc68acd1d Ensure uniqueness of Msg sender_strings list. Resolves #2127. 2020-07-18 22:47:40 +02:00
Griatch
7b13553f25 Make DefaultObject/Room/Exit's argument optional. Also resolves #2162. 2020-07-18 22:37:43 +02:00
Griatch
2ed485b2b2 Doc fix in tag docstring. Resolves #2155 2020-07-18 21:59:40 +02:00
Griatch
5c3049a438 Correct grammar for maxnum chars reached. Resolves #2151 2020-07-18 21:56:34 +02:00
Griatch
d042b441ce Black formatting artefact. Resolves #2158 2020-07-18 21:49:15 +02:00
Griatch
2d61f36ff4 Add tags= keywords to all create functions, with unit tests. Resolves #2160 2020-07-18 21:36:03 +02:00
Griatch
100fc7b5bf Remove duplicate get_command_info in MuxCommand base. Resolves #2164 2020-07-18 19:40:02 +02:00
Griatch
006e8aeee8 Make CmdGet/Drop/Give give error if obj.move_to returns False. Resolves #2168. 2020-07-18 19:37:49 +02:00
Griatch
710d3e2143 Add script.obj.dbref to scripts output. Resolves #2167 2020-07-18 19:25:37 +02:00
Griatch
94e34ce87e Add .sort support for SaverList 2020-07-18 18:03:54 +02:00
Griatch
ef05044e8c Update gendersub in master too 2020-07-18 16:33:06 +02:00
Griatch
cb2a4cc193 Cleanup of examine, escape inlinefuncs. Resolve #2172 2020-07-18 15:51:29 +02:00
Griatch
33630e19d7 Add $random default inlinefunc because I expected it to be there 2020-07-17 14:25:24 +02:00
Griatch
ae7ed38b19 Update twisted dependency as per released CVEs 2020-07-17 11:47:23 +02:00
Griatch
f865580bb9
Merge pull request #2157 from Puciek/master
Correcting curly brackets colors
2020-07-16 20:57:28 +02:00
Griatch
7c05c9ade6 Have EvTable width correctly handle asian alphabets as per #2166. 2020-07-15 23:18:53 +02:00
Griatch
d65fab164d Add autodoc files 2020-07-12 20:07:24 +02:00
Griatch
36ff16d70f Updated API autodoc index. 2020-07-12 20:04:12 +02:00
Griatch
6af2fc6819 Copy doc tools from develop 2020-07-12 20:03:09 +02:00
Griatch
bd65641755 Merge branch 'master' of github.com:evennia/evennia 2020-07-04 00:12:56 +02:00
Griatch
e335bbe9d1 Extension to typeclass fix, to allow non-typeclass mixins 2020-07-04 00:12:12 +02:00
Tymoteusz Paul
fa6745a1fe
Correcting curly brackets colors 2020-06-30 23:07:37 +01:00
Griatch
7f8e31e6f9
Merge pull request #2153 from bonnedav/patch-1
Make CmdOpen grant control to creator
2020-06-30 10:12:56 +02:00
bonnedav
01084ce370
Make CmdOpen grant control to creator
Fixes #2152
Not tested but based on existing code in CmdCreate so I imagine it will work.
2020-06-29 21:59:18 -06:00
Griatch
a3edbca209 Make sure to strip key/value of whitespace in lockfunc kwargs. Resolves #2150 2020-06-28 17:09:41 +02:00
Griatch
a1014089d3 Fix return type for all situations of get_all_scripts manager method, as inspired by #2117 2020-06-28 11:37:17 +02:00
Griatch
0f0ddcd6be Pass category from objtag lockfunc. Resolve #2149 2020-06-28 11:22:07 +02:00