Griatch
acdea41a67
Merge from Kelketek's clone. Added fixes to migrations of Tags. Issues with ContentTypes meaning that this revision is not possible to start.
2013-10-17 23:44:52 +02:00
Kelketek
45ea5a7cb5
Admin pages load now, but they ain't always pretty.
2013-09-29 13:30:25 -05:00
Kelketek
48bcb9d0ba
Useful default typeclass for channels added. Handles poses and provides interfaces for external messages and internal alike.
2013-09-29 13:11:10 -05:00
Kelketek
851e6d00cc
Turned comms into typeclassed objects.
2013-09-28 22:23:30 -05:00
Griatch
2a5168ade4
Moved all relevant wrappers into being managed by the metaclass. Noting that there are many inconsistent features into the comm system; m2m fields should be moved into handlers rather than what is now used. Some of the non-typeclassed models also really don't need to be idmapped - will probably not change this before merge.
2013-09-23 23:34:47 +02:00
Griatch
0a394929b7
Fixed an issue in idmapper metaclass wrapper, it caused text fields to be occationally be written with objects.
2013-09-22 19:56:51 +02:00
Griatch
e36c7d5cc1
Cleaned up worst instability. Test suite does validate yet.
2013-09-21 17:33:48 +02:00
Griatch
fa93c70e7f
First implementation of OOBHandler.
2013-09-19 20:41:42 +02: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
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
c676c9965f
Merged. Still need to update some migrations.
2013-07-11 19:11:27 +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
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
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
Kelketek
c4db3e5370
Made normal channels not message offline users by default.
2013-06-29 18:52:15 -05: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
bd9421d4b0
Implemented unittests for all default commands in a new and much faster way.
2013-05-12 19:53:19 +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
f0fa6b5aee
Fixed a bug in IMC2 implementation. Made sure the Tutorial world Ghost keeps moving after winning a battle.
2013-03-08 21:42:51 +01:00
Kelketek
9dd69fc9e0
A couple more straggling lock fields. Should be all of them now. I hope.
2013-02-03 10:01:07 -06:00
Griatch
373a1f68c4
Fixed a looping bug when trying to send a message without a channel target.
2013-02-02 19:58:36 +01:00
Griatch
41859d9e46
Added the ability for the IRC bot to parse /me emotes from the IRC channel.
2013-01-30 15:14:30 +01:00
Griatch
90a64a3780
Fixed a bug in external_connections.
2012-12-13 22:46:18 +01:00
Griatch
d14b014611
Fixed the auto-subscription to channels by non-superusers. Resolves Issue 336. Removed a spurious print statement in the unloggedin create command.
2012-12-12 22:57:03 +01:00
Griatch
f2e971b392
Have Msg access methods return typeclasses where appropriate instead of dbobjs, to make it more straightforward to compare things. Resolves Issue 329.
2012-12-08 20:45:52 +01:00
Griatch
28c625c12c
Re-activated connect-channel again, called from hooks. Fixed some bugs and minor things to give more control over how messages sent to channels are handled.
2012-11-13 21:24:05 +01:00
Griatch
89d25f797e
Fixed a bug in the previous commit.
2012-11-04 16:26:00 +01:00
Griatch
f3b50a20a8
OBS:Run migrations! Changed the comms.Msg.db_title field to db_header to better reflect its use.
2012-11-04 15:37:06 +01:00
Griatch
a4a50fdb87
Fixed a bug in comms' typeclass->dbobj conversion
2012-11-04 14:42:29 +01:00
Griatch
2d75648eb1
Updates to the comms system, following earlier changes. This means API changes to the channel.msg() method,
...
but also a more consistent API for TempMsg constructs.
2012-11-04 14:35:34 +01:00
Griatch
5b5328e6ca
Changed default dbref search mechanic to require #N format and thus allow searching for objects named as integers (so "@create/drop 2" followed by 'look 2' will now work as expected instead of looking at the object with dbref=2). Doing "look #2 " will now look at the object with dbref 2 (Limbo). Resolves Issue 284.
2012-10-14 15:45:21 +02:00
Griatch
dcc7f29a91
OBS: run migrations! This changes the Msg model to work with ManyToManyFields rather than with custom string representations for storing multiple receivers or channels. It also expands the Msg object with a "title" field and various filter options. This should make it easier to implement mail-like operations using the comms system.
2012-08-30 00:05:00 +02:00
Griatch
5117bd2a0a
Minor fixes and reducing some sql calls in various managers.
2012-08-22 16:15:52 +02:00
Griatch
4c849ec351
Cleaned and updated the i18n strings for various server-core system. Removed i18n for all strings that are only visible on stdout or in logs. Still missing i18n on certain specific things such as model field help and attribute warnings. Updated Swedish translation to match.
2012-06-14 02:43:35 +02:00
Griatch
1a6ef5d983
Added more caching to channelhandler as well as players in order to cut back on unnecessary database calls.
2012-04-26 13:38:34 +02:00
Griatch
d44dd92b5f
Continuing to make more methods _private to simplify API.
2012-03-31 16:09:48 +02:00
Griatch
c8df141e89
Further cleanup of source; making class methods _private for clarity in the API.
2012-03-31 15:09:22 +02:00
Griatch
82a10903d1
Added more comments to help exploration through the ev interface.
2012-03-29 19:42:08 +02:00
Griatch
0d01462077
Adding a new API system to Evennia. This centralizes all access of the evennia driver through a single module "ev". Importing ev one should be able to access (and also importantly, easily explore) Evennia's API much easier. This API goes a long way to "flatten" the structure so that one doesn't need to remember how to find some method in a deeply nested subdirectory.
...
As part of this work, I have also written full listings of all available properties on Typeclassed objects (including those inherited in various ways). Should hopefully make things easier to find.
One can of course still import things directly from src/ as before. But this is a first step towards removing the "base" objects in game/gamesrc and instead making those accessible through the core API.
2012-03-24 23:02:45 +01:00
Griatch
a32aebaa0e
OBS- need to run migrations! Refactored attributes to use a slightly different internal storage format for faster access. Also set up caching of all attribute data, so subsequent reads of an attribute will not hit the database anymore, and writes will re-cache.
2012-02-14 23:40:16 +01:00
Griatch
42d502bfc6
OBS - Database schema has changed! If you use south, you need to run manage.py migrate!
...
This adds db indexing on a set of important database fields, all in the interest of optimization.
2012-02-06 13:18:25 +01:00
Griatch
cdab5a240b
Added RSS feed support to Evennia. This uses the @rss2chan command to tie a feed to an in-game channel. Updates to the feed will henceforth be echoed to the channel. The reader requires the python-feedreader package to be installed.
2012-01-28 20:12:59 +01:00
Griatch
4cd80284c9
Implemented xterm256 colours. If not supported by client, converts to normal ANSI, as per kaViir's snippet. Integrates into Evennia's normal ansi parser and collaborates with TTYPE protocol to determine if the client supports it.
2011-11-20 14:56:07 +01:00
Griatch
bc0195bbaa
Worked with admin interface, cleaning up and adding functionality. There are still some strange behaviour that makes e.g. the presence of inlines to auto-create empty database objects for some strange reason. Inlines are turned off at the moment (so there is no convenient way to add attributes from the admin interface at this time). Creating players now work, but one needs to create all three components (User, Player, Character) in one go and tie them together. The User-admin form was changed to also support multi-word usernames (django default didn't allow spaces).
2011-10-02 22:37:07 +02:00
Griatch
7f2e6dd4fa
Tidying up the admin interface by adding more verbose and helpful names to database fields as well as adding more help texts. The ObjectAdmin still gives tracebacks.
2011-10-02 01:21:03 +02:00
Griatch
de9c2ec437
Cleaned admin interface, removing misleading fields. It's still broken in a few places however, objects give a traceback here, not sure why.
2011-09-15 00:28:26 +02:00
Griatch
399919a8a9
Database schema has changed. Run migrations if you use South. Started work on tidying up admin interface.
2011-09-14 22:34:10 +02:00
Griatch
f13e8cdf7c
Trunk: Merged griatch-branch. This implements a new reload mechanism - splitting Evennia into two processes: Server and Portal with different tasks. Also cleans and fixes several bugs in script systems as well as introduces i18n (courtesy of raydeejay).
2011-09-03 10:22:19 +00:00
Griatch
28fe2ad3f4
Run Migrate. Implemented a full separation between Player and Character - Players (OOC entities) can now also hold cmdsets and execute commands. This means that "disconnecting" from a Character becomes possible, putting the Player in an "OOC" state outside the game. This overall makes the game much more stable since there used to be issues if the character was destroyed. Having an OOC set also avoids the previous problem of @puppeting into an object that didn't have any cmdset of its own - you couldn't get back out! A new default OOC-Cmdset handles commands available to a player while OOC. Commands in this set are applied with a low priority, allowing "IC" mode to give precedence if desired.
...
This change meant several changes to the lock and permission functionality, since it becomes important if permissions are assigned on the Player or on their Character (lock functions pperm() and pid() etc check on Player rather than Character). This has the boon of allowing Admins to switch and play/test the game as a "Low access" character as they like.
Plenty of bug fixes and adjustments. Migrations should make sure to move over all data properly.
2011-04-23 11:54:08 +00:00