Commit graph

194 commits

Author SHA1 Message Date
Tehom
dd2c74231f Fix error in passing non-strings to str.join() 2017-12-08 03:00:43 -05:00
Tehom
71b039a180 Fix msg_receivers to be used 2017-12-08 02:41:33 -05:00
Griatch
a8603975a1 Merge back fixes into master 2017-10-01 16:55:51 +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
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
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
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
44f01c48da Remove limit on whispering to oneself.
Resolves #1416.
2017-09-03 10:31:45 +02:00
Griatch
92df3ce5ae Structure handlers to allow .get() to return lists
See #1154. In the end I didn't modify the Attributehandler and
TagHandler like this, instead I added the `return_list` argument
for cases when one wants a guaranteed return.
2017-08-27 14:56:05 +02:00
Griatch
b278337172 Make PEP8 cleanup of line spaces and character distances as well as indents 2017-08-19 23:16:36 +02:00
Griatch
c43059c75f Rework at_before_say/at_say to handle whispers and using kwargs. 2017-07-21 12:17:47 +02:00
Griatch
8600e8c546 Fix merge conflicts with say-branch 2017-07-21 11:06:38 +02:00
Griatch
6d846c6c82 Add help entry to project_rename utility.
Also merge in latest master changes to devel branch.
2017-07-13 20:33:32 +02:00
Griatch
594500c4c7 Correct migrations to not re-remove fields. 2017-07-09 11:51:47 +02:00
Griatch
f45bd4921d Re-add player-migrations, renamed to account-migrations 2017-07-09 10:39:03 +02:00
Griatch
a7aa1215cb Rename migrations to depend on account-migrations instead of players 2017-07-09 09:12:09 +02:00
Griatch
5590ee2258 Rename all instances of Player->Account. 2017-07-07 23:47:21 +02:00
Griatch
a14e11640b Correction of the migration sequence both for clean and old databases. 2017-07-07 22:38:24 +02:00
Griatch
34443fa4e6 Last point where Player & Account coexist - migrate here first. 2017-07-06 23:17:01 +02:00
Griatch
63c96de443 Create parallel Player/Account fields and copy all 2017-07-06 22:37:28 +02:00
Tehom
20a576a6d9 Convert to kwargs as suggested. 2017-06-25 02:40:53 -04:00
Tehom
9dc9df4227 Pass kwargs needed to overriding announce_move_to and announce_move_from in move_to 2017-06-18 17:21:33 -04:00
Griatch
0ff1718437 Resolve django 1.11 migration errors. 2017-06-17 22:15:00 +02:00
Griatch
c60555b70a Add migrations to django 1.11. 2017-06-06 19:34:56 +02:00
Griatch
f9e7b01f57 Add **kwargs options to at_* hooks to all typeclasses, for greater flexibility for users. Resolves #1276. 2017-04-20 20:58:35 +02:00
Tehom
7e8e47b3b3 Fix attribute name to resolve recursion error in _recache method. 2017-04-20 14:14:00 -04:00
Griatch
cf77d90c71 Make all manager methods return querysets. This removes all the last remnants of the old return_typeclass/return_typeclass_list decorators that were a remnant of the old pre-proxy Typeclass system. Resolves #1206. 2017-04-20 19:43:39 +02:00
Griatch
dd7d18f041 Move smart-search (still not complete, pending changes to queryset returns as per roadmap). 2017-04-19 21:31:15 +02:00
Griatch
ee4dd20fd9 Fixes to batch_add mechanisms and spawner batch creation for passing unittests. 2017-04-09 18:53:39 +02:00
Griatch
d44f7c4670 Clean up docstring of _batch_create in spawner. 2017-04-09 10:52:59 +02:00
Griatch
e34d32bd60 Add ability to batch-add tags, permissions and aliases along with category in the object/player create functions as well as in the tag handler. This is useful for direct assignment of categories from prototypes. 2017-04-02 22:11:54 +02:00
Griatch
a648433db8 Merge conflicts against master, including cmdhandler support for direct cmdobject input together with prefix-ignore mechanism from devel. 2017-04-01 16:08:23 +02:00
BlauFeuer
7010f998f1 Fold long lines, PEP 8, comparision to None
+Indent, comment and typo edits
2017-04-01 14:55:02 +02:00
BlauFeuer
684f163fd7 Fold long lines, PEP 8 whitespace
Keeping lines under 120 characters long, adjusting whitepace for closer PEP 8 compliance.
2017-04-01 14:51:25 +02:00
Griatch
c62f701626 Remove an extra quote marker typo. 2017-04-01 14:44:46 +02:00
BlauFeuer
3fdd7e0907 PEP 8, whitespace, LGTM, typo fixes 2017-04-01 14:44:46 +02:00
BlauFeuer
6133280154 Explict bool return for move_to, typo fix 2017-03-30 01:27:34 -04:00
Vincent Le Goff
3811c074c6 Replace {character} by {object} in mapping of announce_move_* 2017-03-29 22:11:25 +02:00
Vincent Le Goff
f1d34a28aa Add additional mapping to announce_move_* hooks 2017-03-29 22:11:25 +02:00
Vincent Le Goff
4f41582127 Update Object.announce_move_* to take advantage of mapping 2017-03-29 22:11:25 +02:00
Griatch
d811d7577e Fix unittest compliance. 2017-03-29 22:00:27 +02:00
Griatch
f6e230f1a6 Change text optional kwarg type name to lowercase to match all other communications variables. Expand msg_contents to handle a tuple. 2017-03-29 21:50:51 +02:00
Vincent Le Goff
117d1b5809 Remove the deprecated Object.at_say hook 2017-03-29 12:14:32 -07:00
Vincent Le Goff
a5b26df330 Create hooks for the whisper command 2017-03-28 12:07:17 -07:00
Vincent Le Goff
f11e92b2c0 Add more flexibility to the hooks on say 2017-03-28 11:23:32 -07:00
Griatch
6266401c2d Re-add bool return name, it is required by API generator. 2017-03-25 11:40:55 +01:00
BlauFeuer
338899b8b1 Docstring, comments, indent/whitespace edits 2017-03-25 11:38:47 +01:00
Griatch
c4519d84e7 Remove spurious whitespace. 2017-03-25 10:01:56 +01:00