Commit graph

1002 commits

Author SHA1 Message Date
Kelketek
b0bf60cda4 Merge from DBenoy's branch. 2013-07-27 19:05:05 -05:00
Kelketek
5320381060 Removed some references to get_profile(), fixed some spelling errors, fixed post_clear signal. 2013-07-27 18:59:39 -05:00
Daniel Benoy
5a5de51a5c Reimplemented get_dbref_range
It always returned every object in the database
2013-07-27 04:25:01 -04:00
Daniel Benoy
66ced94b58 Fixed a trace from ev.search_help_entry 2013-07-24 07:10:10 -04:00
Kelketek
66802f291d Updated news models to use custom user. No migration should be needed. Updated website templates. 2013-07-22 08:59:11 -05:00
Kelketek
55c0e40309 Fixed the tag migrations. Didn't need to fool with transactions after all. 2013-07-21 17:22:38 -05:00
Kelketek
08ee399ea2 Better way of doing that with less side effects. Thought it wasn't possible earlier because I misread something. 2013-07-21 14:18:36 -05:00
Kelketek
427dcc3985 Optimized Scripts admin page. Fixed related name for objects on attributes.
Repaired search. Removed some backwards compatible parts of picklefield since
we aren't supporting version older than 1.5 and they were obscuring the true
cause of some issues.
2013-07-21 09:44:34 -05:00
Kelketek
699f86273b Customized Reverse Proxy to send along host header from client. 2013-07-20 19:36:32 -05:00
Kelketek
d861cc5e8b Fixed a typo in that last one. And this time, it succeeded! 2013-07-20 16:54:11 -05:00
Kelketek
8ba5be0b2d Adjusted migrations to more properly handled dependent tables. 2013-07-20 16:32:24 -05:00
Kelketek
89aebfc13f Made migrations compatible with new user model when creating from scratch. 2013-07-20 15:45:16 -05:00
Kelketek
3c496af6ad Migrations fixes revealed as necessary by the admin pages, which were also fixed. 2013-07-20 13:17:41 -05:00
Kelketek
fbd1b5223b Some refinements to the admin interface for objects and players. 2013-07-20 12:42:10 -05:00
Kelketek
40ff9eaa67 Removed has_perm function from typeclass model. This function is looked for by django admin and expected to do something different, and it was deprecated anyway. 2013-07-20 12:10:47 -05:00
Kelketek
083642b2dd Fixed an issue with the backend authentication not getting the proper user model. 2013-07-19 17:22:46 -05:00
Kelketek
da097a88d9 Fixed an issue with case sensitivity in table names for the migrations. Fixed issue with transactions when converting nicks and aliases. 2013-07-19 17:13:57 -05:00
Kelketek
90faaf9d01 Fixed some issues with the admin interface. These changes may not be the best ones for these datatypes, but they should load now... 2013-07-18 08:40:48 -05:00
Daniel Benoy
1e5b52f685 Object search routines now distinguish between candidates=None, and
candidates=[]
2013-07-17 03:30:48 -04:00
Daniel Benoy
b93a9b4487 self() lock function now works when a db object is passed. 2013-07-16 20:22:39 -04:00
Kelketek
aa5aeaccc3 Fixed issue with improper handling of non-unique tags and nicks. 2013-07-16 08:33:24 -05:00
Griatch
7b0c96640c Reverting metaclass wrapper for db_key, will have to look into why it behaves strangely. 2013-07-12 23:58:22 +02:00
Griatch
73a5800fbf Fixed updates of the contentmanager. Not all command tests run yet. 2013-07-12 22:08:15 +02:00
Griatch
6bc16e46cc Made aliases work with the new handler. The location.contents updated is not working yet - this causes locational information to not be available until objects and manually initialized (e.g. by calling examine #dbref) 2013-07-12 20:21:52 +02:00
Griatch
45706f598a Fixed remaining issues so the login process works. 2013-07-12 15:57:46 +02:00
Griatch
c0b5c506a4 Removed a lot of old references to Aliases and Nicks. Still failing on @puppet. 2013-07-12 15:34:54 +02:00
Griatch
0061f884ae Implemented NickHandler, AliasHandler and TagHandler in the typeclass to replace the old handlers. Some errors during login. 2013-07-12 14:44:49 +02:00
Griatch
2c17b7b675 Made the migrations for the new Tags and LiteAttributes. 2013-07-12 12:04:57 +02:00
Griatch
e178963941 First implementation of new Tags and LiteAttribute models to replace Aliases and Nicks while offering more flexibility. 2013-07-12 11:12:21 +02:00
Griatch
607674c6cf Added a superuser creation call to evennia.py to replace the automatic one that
was done by syncdb before.
2013-07-11 22:47:17 +02:00
Griatch
a4042920e0 Fixed the migrations to get to a baseline version you can log into. 2013-07-11 22:24:55 +02:00
Griatch
c676c9965f Merged. Still need to update some migrations. 2013-07-11 19:11:27 +02:00
Griatch
46d1c48a38 Working implementation of User->PlayerDB conversion. Superuser must be created separately. The player-create method was corrected, along with the most obvious places where the user-setup was used. One can log in and look around but it's not heavily debugged yet. 2013-07-11 18:03:07 +02:00
Griatch
9e10a41e18 First version with all caches seemingly working ok. Started to remove the on-model wrappers that are not handled by the idmapper metaclass. 2013-07-11 15:59:03 +02:00
Griatch
f1ba0ca177 Fixed attribute import migrations. 2013-07-11 14:12:42 +02:00
Griatch
2b332c3b9a Attribute cache is working, lots of other updates, but still not a cleanly updatable system. It seems the Attribute-migrations are not coming through properly. Fixed a misnamed table in the comm app. 2013-07-11 09:51:52 +02:00
Griatch
c94472492a Implemented PlayerDB as replacement for User, as per Django1.5. All migrations work, but there are still lots of changes to be done in the code to remove references to the User model. 2013-07-10 19:13:41 +02:00
Griatch
033344ad2c Moved get_evennia_pids into src.utils.utils for more general access. 2013-07-10 11:06:38 +02:00
Griatch
2a7c45d6e8 Run Migrations. Migrated to new Attribute schema, converting old attributes. Not fully tested yet. 2013-07-09 00:09:19 +02:00
Griatch
a1d818f8aa First test with moving Attributes to m2m field. Not working yet. 2013-07-08 18:13:21 +02:00
Griatch
261e463505 cleaned up script copy method in script manager. 2013-07-02 16:24:47 +02:00
Griatch
2487d4b622 Fixed script-searching using the obj= keyword. Also made the search more efficient using Q-objects. Resolves Issue 385. 2013-07-02 16:09:20 +02:00
Griatch
92a8e39de5 Changed how the cmdset's errmessage is propagated. Adding failing cmdsets added ErrorCmdsets to the cmdhandler. This was for callback reasons, but it clutters up things for no good reason. 2013-07-02 15:50:42 +02:00
Griatch
47a324f720 Made cmdhandler merge same-prio cmdsets in groups. Before this fix one could face the following situation: Two exits "allcom" and "test". Both have exit cmdsets with prio 9. If "test" merges first, it contains no "allcom" command to overload the "allcom" in the Player cmdset (prio -5). But the merged set now has a priority of 9 thanks to merging the "test" set. So when merging the "allcom" exit-command, it merges with a same-prio set. And since exit-cmdsets have the duplicate-flag set, there will be two allcom commands in the final set. The problem does not show up if "allcom" happened to be merged first, making this effect non-consistent and buggy.
Merging the same-prio exit-sets first, then merging onto the lower-prio sets resolves this issue.
2013-07-02 13:38:38 +02:00
Griatch
3cf01ce711 Reverted previous merge, instead solving the issue by the metaclass making sure to add cmd:all() to the exit command only if the object itself does not specify it. 2013-07-02 11:51:04 +02:00
Griatch
5800b960ff Added safety feature to lock handling. 2013-07-02 09:34:35 +02:00
Griatch
0164574c00 Added sessid keyword to at_pre_puppet and at_post_unpuppet hooks, where the sessid is otherwise not yet available, as per Issue 383. 2013-07-01 15:03:12 +02:00
Griatch
92339362ec Changed/fixed some issues with the command priorities that caused a lower-prio dynamically-created command to not properly be accounted for. Also changed the prio order for which of the cmdsets are used for checking the "duplicates" flag - it is now the new set being merged onto the new one (i.e. the priorotized) cmdset that must have this flag set in order for the result to have duplicates. 2013-07-01 14:30:17 +02:00
Griatch
1e6384e40c Fixed some documentation typos/rewrites as suggested in Issue 393. 2013-06-30 14:13:01 +02:00
Griatch
878f83aba0 Merge. Added updates to some of the fixes, such as making channel connetion updates look for online Players instead of online Sessions (the latter would have created duplicates in a multi-session environment). 2013-06-30 13:57:21 +02:00