Commit graph

2889 commits

Author SHA1 Message Date
Kelketek
7623b1a863 Fixed #379. Addcom no longer crashes when used IC. 2013-06-01 07:22:46 -05:00
Griatch
41235c25a2 Changed propcache back to a simple dict. Working on content cache, not working yet. 2013-05-30 00:49:47 +02:00
Griatch
fb3259be8c Activated propcache with new cache system. Still not functioning correctly, also the content cache needs to be handled. 2013-05-29 23:07:44 +02:00
Griatch
b6383ddab9 Moved attr_cache to new caching system, activated all attribute updating signals. 2013-05-29 18:47:51 +02:00
Griatch
8202dba596 Changed cache system to use Django's cache mechanism. Changed field caches to make use of Django signalling instead of custom caching calls (this should make the system consistent also when called from the webserver). Created a wrapper system for easily wrapping fields with a default wrapper (so as to not have to explicitly define the properties (such as objdb.key) which all just do the same thing - load from the field and make sure to call save(). 2013-05-29 16:16:28 +02:00
Griatch
4715499958 Fixed a missing sessid on System commands. Resolves Issue 377. 2013-05-26 19:29:42 +02:00
Griatch
deafb9c544 Added cache-cleaning to the idmapper base class. This works to sync most changes from the admin site-side, but not location changes (which leaves the content cache stale). Thinking of testing the django in-built cache framework instead, maybe using custom fields? 2013-05-25 10:20:26 +02:00
Griatch
0a39b8f65e Webserver move to Server is finished and everything seems to work normally. 2013-05-24 21:10:31 +02:00
Griatch
70ea21dab8 Added settings for webserver threadpool limits. 2013-05-23 23:57:21 +02:00
Griatch
20e093aa26 Settings and server configs updated. The caches between server and website threads are still not properly addressed - a change in the admin interface does not immediately translate to a change in-game. 2013-05-23 23:42:55 +02:00
Griatch
c083fe6266 Webserver->Server is working, some more cleanup needed. 2013-05-23 22:58:50 +02:00
Griatch
a9a70c91b1 Fixed a bug with the who command. 2013-05-23 21:38:01 +02:00
Griatch
94f50fcf33 Moved webserver to Server and set up the webclient to work as a stand-alone program on the Portal side. The website link to the webclient is currently pointing to the wrong process, some way to direct that transparently to the Portal-side is needed. 2013-05-23 00:02:25 +02:00
Griatch
812bdb0f73 Refactored src/server, splitting out into a portal subdirectory to make it clearer what goes on which "side". 2013-05-22 18:40:16 +02:00
Griatch
76fa0059ea First preparations for moving webserver to Server process. 2013-05-22 18:18:50 +02:00
Griatch
60068771c7 Fixed a lingering portal session when connection was closed uncleanly. This could in some situations lead to out-of-sync sessions in MULTISESSION_MODE=2. 2013-05-21 15:05:10 +02:00
Griatch
efdb954491 Fixed a logical error in obj.manager causing it to fail to find arbitrary db_>fieldname>. Resolves Issue 373. 2013-05-21 14:29:50 +02:00
Kelketek
bda5d88c24 Fixed issue with webclient sessions hanging on disconnect. 2013-05-18 21:20:54 -05:00
Kelketek
93d0db8489 Removed the redundant handling of location within @IC and @OOC. These should be handled by the hooks. 2013-05-18 20:05:42 -05:00
Kelketek
cab0182077 Fixed issue with lock replacements not committing. 2013-05-18 19:57:47 -05:00
Kelketek
65328e94ff Fixed issue with OOC command sending the menu to all connected sessions of a player. 2013-05-18 19:30:47 -05:00
Kelketek
ad7d8fc9fd Fixed typeclass searching for objects. 2013-05-18 18:47:04 -05:00
Kelketek
1a26552600 Possible fix to bad disconnection issue. 2013-05-18 18:18:32 -05:00
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