Commit graph

4241 commits

Author SHA1 Message Date
Griatch
3938dd45f7 Merge branch 'master' into develop 2017-10-01 13:15:58 +02:00
FlutterSprite
5ab670f3c8 Added at_before_give, at_before_get, and at_before_drop
Added in new hooks to the default object - at_before_give, at_before_get, and at_before_drop. By default, these hooks do nothing but return True - however, if overloaded, they can be used to execute code before an object is given, gotten, or dropped, and even prevent the action if made to return None or False.
2017-10-01 10:20:38 +02:00
FlutterSprite
dd8e136cfc Added at_before hooks to CmdGet, CmdGive, CmdDrop
Added in references to at_before hooks for the get, give, and drop commands. If these hooks return 'False' or 'None', the action is canceled.
2017-10-01 10:20:04 +02:00
Scyfris Talivinsky
c3ce2ebcd7 Fix locationless spawned objects
Spawned objects were not getting locations assigned to them.  By default
the locations should be assigned to the caller's location.
2017-10-01 09:52:42 +02:00
Griatch
5871e64681 Fix unittest for mail contrib update 2017-10-01 09:52:17 +02:00
Griatch
e09390b02b Merge pull request #1456 from scyfris/fix_spawn_evennia
Fix locationless spawned objects
2017-10-01 09:44:25 +02:00
Griatch
18e5584705 Fix unittest for mail contrib update 2017-10-01 09:43:33 +02:00
Scyfris Talivinsky
635200ca17 Fix locationless spawned objects
Spawned objects were not getting locations assigned to them.  By default
the locations should be assigned to the caller's location.
2017-09-30 18:19:01 -07:00
Griatch
a8891b44a6 Merge branch 'master' into develop 2017-10-01 00:04:03 +02:00
Griatch
080c2a3b9f Add sanitization of mail contrib indices, as per #1311. 2017-09-30 23:44:24 +02:00
Griatch
ef95726be6 Fix strange regression in inlinefunc. Resolve #1307. 2017-09-30 23:25:27 +02:00
Griatch
a7d7917995 Fix of batchcommand INSERT parser. 2017-09-30 19:59:05 +02:00
Griatch
03dcdd81cd Fix documentation error in contrib/multidescer. Resolves #1447. 2017-09-30 16:57:51 +02:00
Griatch
64fa098373 Remove some extra tables in migration 2017-09-30 16:50:17 +02:00
Griatch
1e16fda569 Try to make mysql migration saner 2017-09-30 16:33:57 +02:00
Griatch
9f6f16fb7d Update migration with mysql/postgreql exception 2017-09-30 15:53:34 +02:00
Griatch
291fd6fa34 Fix call at_say -> at_before_say. Resolves #1451. 2017-09-30 14:18:37 +02:00
Griatch
da58d827cf Cleanup of at_say hook, pass outputfunc, support multiple receivers.
This is an API change since at_say(recever=...) is now
at_say(receivers=...). Since this was originally committed for devel, I
merge this into master. This resolves #1432 and #1433 and reimplements the changes by #1419 without the
addition of a new type kwarg.
2017-09-30 14:11:14 +02:00
Griatch
cfec925bd2 Merge branch 'master' into develop 2017-09-30 12:00:54 +02:00
Griatch
a6ed6ff5ea Better checks for pk in delete command. Update how the delete method of objects avoid recursive calls. Resolves #1453. 2017-09-30 12:00:42 +02:00
Griatch
0ba913332a [fix] The @desc command was erroneously still named @setdesc, this was not the intention. Relates to #1450. 2017-09-30 10:12:46 +02:00
Griatch
b3c6e9d2cc Update alerts reported by LGTM 2017-09-23 16:46:54 +02:00
Griatch
ce73bf1a93 Update README with new screenshot 2017-09-23 15:53:05 +02:00
Griatch
22d613dfe4 Merge branch 'master' into develop 2017-09-23 14:28:54 +02:00
Griatch
f13c7a9c7e Update github contribute instructions for new branch layout 2017-09-23 14:27:42 +02:00
Griatch
f75860b103 Update github contribute instructions for new branch layout 2017-09-23 14:26:37 +02:00
Griatch
6f56ba71ce Make internal/external ports clearer in wake of port changes 2017-09-23 13:55:01 +02:00
Griatch
798d32c382 Fix docstring on default port in launcher 2017-09-23 12:52:56 +02:00
Griatch
8f9cbfd97d Add patch for evennia 0.6-0.7 mysql/postgresql migrations. See https://groups.google.com/forum/#!category-topic/evennia/evennia-news/0JYYNGY-NfE 2017-09-23 11:47:32 +02:00
Griatch
414bacf58b Fix migration edge cases with MySQL and PostgreSQL 2017-09-22 23:23:59 +02:00
Griatch
fb773a9e75 Cleanup of at_msg_receive/send hooks 2017-09-21 09:50:20 +02:00
Griatch
ccd48ebce3 Merge branch 'master' of github.com:evennia/evennia 2017-09-21 09:32:25 +02:00
Griatch
f47d15acf8 Correctly rename at_message_send/receive to at_msg_send/receive in accounts. Resolves #1439. 2017-09-21 09:32:00 +02:00
Griatch
c016363f8e Merge pull request #1438 from DamnedScholar/master
Fixing a mistake.
2017-09-21 09:13:55 +02:00
DamnedScholar
eb68b112fb Fixing a mistake. 2017-09-20 23:57:24 -05:00
Griatch
703dc9da91 Update changelog 2017-09-20 21:51:43 +02:00
Griatch
330e292a6e Merge pull request #1436 from chainsol/fix_tunnel_exit_typeclass
Added basic Typeclass support to CmdTunnel
2017-09-20 18:58:51 +02:00
Nicholas Matlaga
c68e7a07ae limit split to first character 2017-09-20 12:54:13 -04:00
Griatch
ab7cd3c101 Merge pull request #1434 from DamnedScholar/sekizai
Sekizai adapted to devel version of website.
2017-09-20 18:44:06 +02:00
Nicholas Matlaga
6d80c973da Added basic Typeclass support to @tunnel 2017-09-19 16:52:24 -04:00
DamnedScholar
58f2d7cf74 Sekizai 2017-09-18 18:17:10 -05:00
Griatch
5a1f4aa320 Merge pull request #1430 from vlegoff/web_custom_menu
Separate the web menu in a partial template to easily override
2017-09-17 21:03:39 +02:00
Griatch
a2403e1d73 Minor fix in renamer indexing 2017-09-17 20:51:27 +02:00
Vincent Le Goff
fd86a7ef36 Update wording for the custom menu partial 2017-09-17 14:19:44 +02:00
Griatch
4f8d70118e Remove check of datestring if trying to load an replaced class from an Attribute 2017-09-17 14:02:14 +02:00
Vincent Le Goff
3c94121768 Separate the web menu in a partial template to easily override 2017-09-17 13:26:41 +02:00
Nicholas Matlaga
59e2e136e0 Class name changes to fix #1424 2017-09-12 13:39:54 -04:00
Griatch
604b36fb4e Fix traceback from public channel with chars and ircbot. Expand msg from_obj to accept lists. Resolves #1397. 2017-09-10 18:27:53 +02:00
Griatch
f68674fea9 Let caller.search_account query all Account classes. Resolves #1417. 2017-09-10 17:56:28 +02:00
Griatch
10cd8123d6 Merge pull request #1422 from chainsol/bootstrap_beta
Change Bootstrap Version from Alpha to Beta
2017-09-09 19:08:57 +02:00