Kelketek
5320381060
Removed some references to get_profile(), fixed some spelling errors, fixed post_clear signal.
2013-07-27 18:59:39 -05:00
Kelketek
699f86273b
Customized Reverse Proxy to send along host header from client.
2013-07-20 19:36:32 -05:00
Kelketek
89aebfc13f
Made migrations compatible with new user model when creating from scratch.
2013-07-20 15:45:16 -05: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
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
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
a0a94df83d
Removed extra caching for fields (this slowed things down over normal django field caching). Considering reworking Attribute storage in order to make use of those caches as well.
2013-06-06 12:45:39 +02:00
Griatch
7351aacba5
Fixed an issue with setting location. Still errors with creating new objects.
2013-06-05 18:47:41 +02: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
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
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
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
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
Kelketek
bda5d88c24
Fixed issue with webclient sessions hanging on disconnect.
2013-05-18 21:20:54 -05:00
Kelketek
1a26552600
Possible fix to bad disconnection issue.
2013-05-18 18:18:32 -05: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
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
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
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
75341ade6f
A first test using PickledObjectField and a rewritten dbserialize module to store Attributes. No migrations set up yet.
2013-04-13 15:15:02 +02:00
Griatch
7f91f51539
The idle counters were not called, causing sessions to time out even when active. Fixed now.
2013-04-12 22:10:16 +02:00
Griatch
0fddf433dc
Updated all Player-level commands to properly relay messages using self.msg rather than caller.msg (the former will properly relay to the right sessid without needing any extra arguments).
2013-04-12 14:27:36 +02:00
Griatch
a6544f2848
changed cmdset_default -> cmdset_character and changed the class names to match. Added migrations to properly update default-set cmdset_stores to the new positions (objects created from custom types are not migrated, these should see errors and need to re-point their imports to the new defaults)
2013-04-12 13:01:20 +02:00
Griatch
1aff5f1fd1
Renamed cmdset_ooc -> cmdset_player and settings.CMDSET_OOC -> settings.CMDSET_PLAYER. Also split most of the player-specific commands to a new module player.
2013-04-11 01:02:05 +02:00
Griatch
4669b8ed89
Fixed the migrations from a pre-populated database to the many-char-per-player branch.
2013-04-10 21:45:56 +02:00
Griatch
c967cc7914
MULTISESSION_MODE 0-2 works as they should. Remains some fixes to migrations.
2013-04-09 19:19:53 +02:00
Griatch
efc078b78c
Cleaned up the logging of connect/disconnect.
2013-04-09 17:51:30 +02:00
Griatch
1e07b8ca34
After the rework of the many-char mode, mode 0 now works stably and auto-logins correctly it seems.
2013-04-09 17:11:34 +02:00
Griatch
26ced2cb90
Heavily reworked the many-char system, cleaner and more consistent by not having any persistent links on the Object side once a player has unconnected.
2013-04-09 15:59:21 +02:00
Griatch
20a57d4167
Further fixes to the system, still some issues remaining.
2013-04-06 21:36:52 +02:00
Griatch
9eb1903f02
Lots of cleanup and bug fixes. Still some issues with reconnecting to the right location in multisession_mode 0.
2013-04-03 18:31:53 +02:00
Griatch
b5ccad21c5
Added functionality for MULTISESSION_MODE of types 0 and 1.
2013-03-25 09:41:27 +01:00
Griatch
de076d4af4
Added the _superuser_character flag to the superuser character upon creation.
2013-03-11 22:03:08 +01:00
Griatch
25505d69a6
Moved login and disconnect from session-level to sessionhandler level to make the process cleaner with hooks rather than direct calls.
2013-02-17 18:48:48 +01:00
Griatch
707a21c7d7
Fixed so reloading the server reconnects the proper sessions to the characters again.
2013-02-17 13:59:36 +01:00
Griatch
eb1044d7a1
Refactored AMP and server/portalsessionhandler, moving allmost all logic to the sessionhandlers instead. The old
...
reason for having so much logic was due to circular import problems, but with the use of delayed imports this is
not a problem for the sessionhandler anymore. Makes for cleaner and much easier to navigate code.
2013-02-17 12:31:58 +01:00
Griatch
1f676eda60
Some more fixes to the commands.
2013-02-16 21:26:59 +01:00