Commit graph

2866 commits

Author SHA1 Message Date
Kelketek
e79f68bbe1 Branch merge. 2013-05-18 14:34:16 -05:00
Kelketek
bf8a5dedc8 Removed bogus warning about SECRET_KEY and replaced it with a more accurate one. 2013-05-16 22:41:48 -05:00
Griatch
afb139bc1c Fixed environment setup in ev.py, for launching the api in a normal python interpreter (not manage.py shell) 2013-05-15 23:57:50 +02:00
Griatch
cc12dc36fa Updated the ReST documentation. 2013-05-15 23:49:38 +02:00
Griatch
d30a79386f Merge. 2013-05-15 21:57:56 +02:00
Kelketek
0fa625236e Removed traces of db_index on db_header and db_title for comms. Turned db_header into textfield. 2013-05-15 06:33:04 -05:00
Griatch
e0c3ee1546 Some cleanup of the launcher info texts. 2013-05-15 09:10:14 +02:00
Griatch
51cf5461fa Fixed a typo on the @ic command's search_object call. 2013-05-14 21:47:25 +02:00
Griatch
e15d6dfb6e Fixed a search feature that was not included in the revision of the object search mechanism - the ability to search based on an object. Resolves Issue 363. 2013-05-14 21:17:29 +02:00
Griatch
a533232885 MySQL<v5.6.4 does not support millisecond precision in its DATETIME fields (as opposed to other databases). This meant that Attributes, which do rely on millisecond precision for creating their object hashes, got out of sync in a horrible way on MySQL (Issue 362). This revision fixes the problem by going to second-level precision if a too-low version of MySQL is detected (this should not be an issue since mysql does not reuse its pks anyway). 2013-05-14 19:15:58 +02:00
Griatch
95268406ab Made @examine show the superuser flag also when called as a Player. Removed some debug printouts. 2013-05-14 15:25:35 +02:00
Griatch
25f1d7b627 An import check in ev.py acted weirdly in some situations. Changed to something more sensible. 2013-05-14 15:17:05 +02:00
Griatch
f00053710c Added Character-level quelling possibilities to superuser. This makes the superuser quelling completely in line with normal quelling for other permission levels. It also removes the need for the special _superuser_character bypass used before (the migration no longer creates it an initial_setup won't either). 2013-05-14 14:53:08 +02:00
Griatch
77a0b47859 Fixed some issues with the _superuser_character bypass as well as the is_superuser property on objects. Also fixed a bug with @examine that caused it to display object Attribute instead of Player Attributes when called from the ooc state. 2013-05-14 13:55:03 +02:00
Griatch
7a8e53b3bd Re-inserting ev.settings along with ev.settings_full. It got accidentally deleted in the previous commit. 2013-05-14 12:15:40 +02:00
Griatch
63549e8c0c Added error checking to ev to catch importing it from a non-django configured interpreter. 2013-05-14 11:54:22 +02:00
Griatch
2386b308f5 Added flushing to attribute caches when an typed object is deleted. This fixes isse 295, but keeping that open for a little longer to see if some other solution can be devised. 2013-05-14 08:44:40 +02:00
Griatch
82b82318d5 Cleaning up some more in the attrcache cleaner. 2013-05-14 08:22:18 +02:00
Griatch
ffbc1ad0e7 Made the caches.flush_attr_cache more comprehensive also for attribute values. 2013-05-14 08:04:08 +02:00
Kelketek
005b969425 Removed uneccessary test function. 2013-05-13 15:56:20 -05:00
Kelketek
e752c2dd64 Made username creation/login case insensitive. 2013-05-13 12:30:00 -05:00
Griatch
53581637d8 Added tag many-chars-per-player for changeset eeaff45fcf41 2013-05-12 22:16:52 +02:00
Griatch
c843f15d42 Merged the dev branch (many-chars-per-player) and made some more error checking in the migrations. 2013-05-12 22:13:05 +02:00
Griatch
4854661889 Some fixes to evlang that caused an assertionerror at startup. 2013-05-12 21:06:24 +02:00
Griatch
1488ccb912 Removed a deprecation in evlang. 2013-05-12 20:43:42 +02:00
Griatch
68e4384761 Some minor fixes to debug output. 2013-05-12 20:28:30 +02:00
Griatch
88075bf2a0 Fixed some lingering issues in TutorialWorld. 2013-05-12 20:24:00 +02:00
Griatch
bd9421d4b0 Implemented unittests for all default commands in a new and much faster way. 2013-05-12 19:53:19 +02:00
Griatch
a6840aff15 First draft of a reworked the unittest framework to handle the new form of chars/players/commands. Not functioning yet. 2013-05-12 14:13:13 +02:00
Griatch
cb4c813a68 Removing old contrib quell command since @quell is now in the main distribution. 2013-05-12 13:46:48 +02:00
Griatch
3ac44946c3 Changed perm lockfunc to primarily use the Player-level permission and added the @quell command for managing permission downgrading. 2013-05-12 13:45:46 +02:00
Griatch
78e7346962 Updated commands to use the new objectdb.search API. 2013-05-11 23:22:02 +02:00
Griatch
218e4a149c Implemented a modified and cleaned objectdb.search and accompanying object.manager.search_object that also searches globally. The default commands have not yet been converted to use the new call. 2013-05-11 20:01:19 +02:00
Griatch
be22a31ec4 Made it possible to "take" over puppeting from one's own stale sessions. Fixed a nasty bug in swap_typeclass. 2013-05-11 16:09:26 +02:00
Griatch
ad8a9fbe69 Added warning message for puppeting to an object without neither location nor home set. 2013-04-20 16:14:12 +02:00
Griatch
416d6e14bc Fixing a bug in @ic if trying to puppet while already puppeting. Added sessid keyword to at_post_login hook in order to correctly relay login text only to the correct session. Removed the src.utils.debug module as well as the CmdDebug command which has not been supported for a good while. 2013-04-18 09:13:31 +02:00
Griatch
a3f12a289d Fixed a misnamed class import in dbserialize. 2013-04-17 22:08:25 +02:00
Griatch
89c33a9197 Some deprecation fixes for django1.4+. Added the ability to add lists to Attribute-stores lists using e.g. obj.db.mylist + [1,2,3,4] 2013-04-17 19:43:37 +02:00
Griatch
c943b13351 Fixed error in who when playing as a character. 2013-04-15 01:01:21 +02:00
Griatch
8720df5b49 Merge. 2013-04-15 00:12:00 +02:00
Griatch
55565f23c0 Updated a data migration to properly set Attribute _last_puppet. This allows players in MULTISESSION_MODE=0,1 to auto-puppet from the start. 2013-04-14 23:19:27 +02:00
Griatch
17d7ad9b37 Fixed a traceback in CmdExamine. 2013-04-14 22:57:23 +02:00
Griatch
29cde0921d Re-implemented the six.with_metaclass functionality to avoid having to include six in the distrubution. 2013-04-14 22:09:32 +02:00
Griatch
d0edb84909 Removed some spurious imports (the six tools) which doesn't seem to work for everyone. 2013-04-14 21:50:11 +02:00
Griatch
27668a565d Fixed an issue with a too-inclusive regex for URLs in the webclient. Resolves Issue 322. 2013-04-14 17:45:33 +02:00
Griatch
80a6745a1e Made Attribute value queries also work with database objects by overloading the Attribute manager methods in question. Added procpool support for the new serializer functions and cleaned up some things. 2013-04-14 16:36:44 +02:00
Griatch
8d48aa5a06 Added the last migrations needed to fully convert the Attribute system. Cleaned up the @ooclook command a bit as well as tidied up the who command a bit. 2013-04-14 13:35:25 +02:00
Griatch
1a00797021 The new Attribute system should properly handle non-ascii characters. Also updated examine command to match. Resolves Issue 355. 2013-04-14 00:54:39 +02:00
Griatch
82c2e19ed5 Fixed remaining issues with migrating the attribute changes. 2013-04-14 00:35:23 +02:00
Griatch
230d73cfa0 Migrations work under sqlite3, both from latest dev, from new install and from trunk. There might be some consistency issues though (it seems the character list is not properly migrated), so more testing is required. 2013-04-13 23:50:33 +02:00