Griatch
19e8528b04
Update ObjectSessionHandler to avoid a caching syncing issue; should resolve #1153 .
2017-01-11 23:42:09 +01:00
Tehom
c16a03fb5e
Remove the urls printout I was using during debugging. Oops.
2016-12-06 03:31:10 -05:00
Tehom
7bd7b91b93
Fix the save and continue editing option
2016-12-06 03:27:58 -05:00
Tehom
ae0b4bad55
Refactor of class_setting from init in typeclass so we can just call it from django admin, and avoid weirdness of calling init twice, which seemed to mess things up
2016-12-05 07:53:06 -05:00
Tehom
560def1f2b
Better solution - can call __init__ manually with typeclass as a kwarg, and this seems to resolve it
2016-12-05 06:58:05 -05:00
Tehom
5e7211a053
Explicitly assign typeclass for newly created objectdb
2016-12-02 17:21:44 -05:00
Griatch
19e8bed5ab
Fix docstring text error.
2016-11-30 18:02:39 +01:00
Tehom
b80f7c3637
Attributes in django admin now also editable inline, causing them to call the AttributeHandler or NicksHandler of the appropriate object.
2016-11-22 09:40:41 +01:00
Tehom
6a851750f3
Custom form/formset for adding/removing tags using the handler. Each TagAdmin used by the different typeclasses are now also required to specify a related_field, which seems redundant but is very hard to get around otherwise. Still to do - make sure that all the adds are working properly, and extend this to attributes as well, and make Tag searches still sort of useful in the admin so people can at least check names and so on
2016-11-22 09:40:41 +01:00
Griatch
1d6873eef4
Fix caching error in new cmdset merge regime. Removed debug messages.
2016-10-15 23:22:33 +02:00
Griatch
a61a33e87d
Refactor ChannelHandler. Fix issues with new cmdset merge procedures.
2016-10-15 22:48:38 +02:00
Griatch
edacd58eab
Refactor get_and_merge_cmdsets to merge all cmdsets in one place rather than sub-merging them separately on each object first. See #1087 . Also changes the names of the auto-added _exitset to ExitCmdSet and _channelset to ChannelCmdSet. Allow Channel cmdsets to also be identified on Objects.
2016-10-15 22:48:38 +02:00
Griatch
f59c9fd573
Fix bugs in alias-searching for objects. Resolves #1048 .
2016-10-13 21:53:54 +02:00
Griatch
00c64b10bb
Make sure msg(text=None) means that text should not be used (None must be converted to a string to send). Resolves #1077 .
2016-10-02 21:51:15 +02:00
Griatch
2b35140fe3
Implement a more throughough cache-flush mechanism. This makes sure to flush foreignkey cache relations for objects not affected by flushing (normally objects with an NAttribute stored in them). Without ForeignKey flushing, the location of such objects would remain cached and drift out of sync, leading to content caches in turn desyncing. Resolves #1064 .
2016-10-02 20:52:05 +02:00
Griatch
15025c0586
Added at_idmapper_flush to allow objects more control of their flush characteristics.
2016-10-02 20:52:05 +02:00
Griatch
cd616caf29
Debug tests for trying to catch the flushmem bug #1064 .
2016-10-02 20:52:05 +02:00
Trent Robbins
91874f5339
Removed reference to target after target.at_desc. This allows the target to delete itself in response to being looked at without throwing an error.
2016-10-02 13:40:28 +02:00
Dan Feeney
7f63393cb7
modified msg_contents to allow objects without get_display_name to be included in mapping
2016-10-01 13:50:11 +02:00
Tehom
4639ed8f7e
Resolves traceback error when object is moved to a room rather than a player from None location.
2016-09-21 01:02:51 -04:00
Griatch
47fa88e0fc
Slight rephrasing of a docstring.
2016-09-20 16:30:31 +02:00
Dan Feeney
d88d882439
moved msg_contents to DefaultObject
2016-09-20 16:30:31 +02:00
Griatch
e6f857a536
Remove setting.SEARCH_MULTIMATCH_SEPARATOR, replacing it with SEARCH_MULTIMATCH_REGEX and SEARCH_MULTIMATCH_TEMPLATE. This allows simple yet powerful control over the error output without needing to overload the parser.
2016-09-11 10:39:47 +02:00
Griatch
72d4bb4de7
Fix so as to not send traverse messages to the traverser. Fixes unittests.
2016-09-09 07:52:48 +02:00
Griatch
e373e1733b
Make the move transition hooks use get_display_name to make them compatible with the rpsystem contrib as per #1051 .
2016-09-08 22:11:22 +02:00
Griatch
1da9217a18
Return no match if using obj.search() with an empty list of candidates. This accounts for candidate lists that are created dynamically, for example limiting them to the inventory (which may be empy). Resolves #1016 .
2016-08-20 11:00:33 +02:00
Griatch
f5ba4f6204
Include a missing file for previous commit.
2016-08-19 22:34:15 +02:00
Griatch
d76b7b0454
Add use_dbref kwarg for turning off #dbref lookup in obj.search. Resolves #990 .
2016-08-19 22:14:51 +02:00
Griatch
69252340d9
Change move_to behavior when moving from None location. Before, this would force a source location (usually home) but this hides the actual source location, and a None-location has been handled by the announce hooks for some time. Resolves #1011 .
2016-08-07 19:57:13 +02:00
Griatch
b014df00de
Clairifed the docstring for object.search.
2016-06-22 13:50:07 +02:00
Griatch
15036e8069
Revert "Fix problem with trying to pass non-text to msg(text=...). Resolves #996."
...
This reverts commit 8fe631d808 .
2016-06-15 19:54:47 +02:00
Griatch
8fe631d808
Fix problem with trying to pass non-text to msg(text=...). Resolves #996 .
2016-06-15 08:11:00 +02:00
Griatch
4fafa22e86
Added some more doc texts to the puppet hooks of Objects to show how to get the player and sessions at that state. Resolves #992 .
2016-06-05 09:50:36 +02:00
Griatch
dcbf2ed9c1
Removed an erroneous text-conversion in msg() that made it impossible to add custom text outputcommands. Resolves #986 .
2016-06-01 23:23:27 +02:00
Griatch
b00e357868
Fixed a simple issue if non-text was fed into the msg() call from server-side. Resolves #965 .
2016-05-22 20:49:45 +02:00
Griatch
b69340695f
Made the move_to error report a little more verbose. Resolves #964 .
2016-05-22 20:49:45 +02:00
Griatch
68e5c4d283
Added a missing execute_cmd on the Session. It got lost after the inputfunc changes.
2016-05-22 20:49:44 +02:00
Griatch
02ba1c0695
Fixed a wrong return from search_player with quiet=True. Fixes a traceback when using the find command to search for a player *me or *self.
2016-05-22 20:49:43 +02:00
Griatch
143df2a793
Clarified the error when trying to examine an object on which you have neither examine, nor view permissions. Resolves #954 .
2016-05-22 20:49:43 +02:00
Griatch
4817ec90b3
Changed the OOB message structure to include sending text data as well; still not working fully.
2016-05-22 20:45:05 +02:00
Griatch
aa1fcfe6e1
Changed the @find pperm lock to perm, since the player will be checked automatically anyway and this works better with @quell.
2016-03-23 00:44:18 +01:00
Griatch
24c733f7cb
Made builders and above see #dbrefs in various admin commands.
2016-03-22 15:17:50 +01:00
Andrew Bastien
270037455a
Added connection_time and idle_time properties to DefaultCharacter class.
2016-03-13 04:59:57 -04:00
Griatch
e6a866a150
Made Evennia run with Django 1.9
2016-02-18 10:12:42 +01:00
Kai Huang
882a70ae4b
Reverted incorrect internationalization in objects.py
2016-02-08 18:26:55 +01:00
Kai Huang
fd2f762730
Internationalization for comms and objects.
2016-02-08 18:26:55 +01:00
Griatch
0bf05a8795
Removed at_before_traverse hook completely since it was not used and also makes no sense to use due to how exits works. Overload at_traverse if wanting to tweak how traversal happens. Resolves #902 .
2016-01-20 18:58:41 +01:00
Griatch
f56500df9a
Fixed typo in error reporter.
2015-12-15 20:59:05 +01:00
Griatch
03d415beb1
Fixed errors due to the removal of execute_cmd("look") calls in the
...
latest revisions - this turns out to bypass the normal use of cmdsets
to control things like the dark room in the tutorial. Resolves the
second mentioned error in #889 .
2015-12-15 19:26:42 +01:00
Ahmed Charles
76dc0545c4
Remove unused traceback imports.
2015-11-15 20:40:03 +00:00