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
Griatch
8bd8193ab9
Some cleanup of the dbserialize module.
2013-04-13 19:55:09 +02:00
Griatch
512d7748d1
Finished with a working implementation of the new Attribute mechanism using PickledObjectField. First step of migration is finished, but not converting any old attribute data yet.
2013-04-13 18:13:15 +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
8969017aaa
Added prettytable ( http://code.google.com/p/prettytable/ ) as a replacement for utils.format_table and updated almost all places where the old formatter was used. The code becomes much simpler and shorter with prettytable, there are some situations, such as the contrib/menusystem where the old format_table works well for dynamically creating any number of columns and rows on the fly.
2013-04-12 22:06:41 +02:00
Griatch
406800f254
Merge.
2013-03-09 12:16:50 +01:00
Griatch
0121f36ac0
Added cmd.funcpart as a way of adding multiple-part commands, each with a possibility to yield with a deferred. This allows for flexible implementation of delayed commands and other asynchronous goodies.
2013-02-19 23:30:33 +01:00
Griatch
db8af97ab2
Fixed player creation, removing FIRST_LOGIN flag on character (keeping it on player)
2013-02-14 18:09:59 +01:00
Griatch
71346dcc67
Merge.
2013-02-14 17:55:35 +01:00
Griatch
a1dc7451ef
Some fixes to the way the admin initiates new player objects.
2013-02-12 19:54:11 +01:00
Griatch
e345d659fd
Merge.
2013-02-09 11:21:38 +01:00
Kelketek
00f46d36cd
Fixed #346 , examine cutting off parts of output due to ANSI coloration.
2013-02-06 15:07:44 -06:00
Griatch
b82a75d816
Fixed initial_setup and set up the _playable_characters attribute on all players, for handling multi-accounts. Still some issues with how the character's permissions is accessed.
2013-02-03 20:04:40 +01:00
Griatch
f1767251c6
Can now log in to a character selection screen. Lots more testing required before one-char-per-session works.
2013-02-03 00:25:06 +01:00
Griatch
11d1114f61
Some minor cleanups.
2013-02-01 21:51:38 +01:00
Stephen Hansen
5cfff771f2
Initial support for pypy + evennia
2013-01-31 14:34:52 -08:00
lagos
e12ad67ee4
Correctly flushes entire SharedMemoryModel class hierarchy.
2013-01-11 01:14:28 -08:00
Griatch
0ced5287f4
Some more minor fixes.
2012-12-12 01:18:49 +01:00
Griatch
c615693a2a
Added a give command to the default command set. As part of this also fixed some bugs in how object typeclasses were compared.
2012-12-08 17:11:22 +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
9f6e3de637
Various cleanups and fixes found during refurbishing the unittest framework (not pushed yet)
2012-11-05 00:55:25 +01:00
Griatch
6c20987d9a
Added header as keyword to the utils.create.create_message function
2012-11-04 17:39:06 +01:00
Griatch
5b8906e08a
Added a trivial check for ImportErrors inside a module imported by utils.mod_import. Resolves Issue 319.
2012-11-03 20:47:55 +01:00
Griatch
20d6de5104
Made a better check for cleaning module names, should resolve Issue 319.
2012-10-28 14:38:17 +01:00
Griatch
ec46465656
Implemented ansi-colour backgrounds in webclient. Added a new @color command for displaying colour spaces. Also changed a number of other features outlined in Issue 309.
2012-10-24 21:41:07 +02:00
Griatch
d4bf67e94e
Removed <strong> conversion of multiple ansii highlights in the web client. It doesn't matter either way for me, and since it seems it does for others, I can just as well disable it so it all looks the same in webclient and telnet. This relates to one of the points in Issue 309.
2012-10-23 23:47:49 +02:00
Griatch
b26d93f86b
Fixed some issues with the text2html converted that failed with colours in the web client.
2012-10-23 19:32:30 +02:00
Griatch
c0a4f62e95
Some minor fixes.
2012-10-23 01:35:47 +02:00
Griatch
53c6e5ae52
Implemented a new way to handle colour-escaping as discussed in Issue 305. Thanks to MercuryZero for ideas on how to implement this! Resolves Issue 305.
2012-10-23 01:20:10 +02:00
Griatch
e03c303d5e
Changed The way to escape %c-style colour codes from \\%c to %%c. No other changes or escaping done yet at this point.
2012-10-14 23:43:38 +02:00
Griatch
7de8e3fa82
Ansi fix - changed so one needs \\ to escape mux-style colour codes instead of just \. The extended { syntax is now escaped by adding an extra { in front - combining the two should enable getting around most needs of colouring backslashes. Resolves Issue 286.
2012-10-14 20:49:26 +02:00
Griatch
4dff822764
Fixed bug in @batchcommand (Resolves Issue 287). Also updated @dig to again handle deleting ranges of dbrefs (with or without # in front).
2012-10-14 16:24:21 +02:00
Griatch
97973dd5f9
Fixed erroneous global_search keyword in a few places in the code due to the API having changed. Resolves issue 276.
2012-10-14 12:06:42 +02:00
Griatch
8b582c9d3f
Added a delay() function to src.utils.utils, useful for simple delays without needing a script.
2012-10-14 11:54:26 +02:00
Griatch
592bc26b99
Added remote function call abilities to AMP protocol, courtesy of patch by user Shell.
...
This allows for Server to call functions on Portal and vice-versa. Some rewrites and
cleanup done before applying /Griatch.
2012-10-14 11:53:34 +02:00
Griatch
0b102bb07b
Fixed @batchcommand access, automatically disabling procpool under SQLite3.
2012-09-27 20:51:06 +02:00
Griatch
7d4bf6c8d2
Fixes a bug in scriptmanager. Resolves Issue 259.
2012-09-25 07:42:52 +02:00
Griatch
93d95377ce
Shifting ProcPool out of src and into a contrib, using the service plugin system.
2012-09-22 20:40:30 +02:00
Griatch
c0b03c2ee3
Some further removal of recursive loops in the typeclass system.
2012-09-20 23:18:52 +02:00
Griatch
5b88972523
Turning back more reasonable dummyrunner settings.
2012-09-20 02:56:41 +02:00
Griatch
7a130cb442
Removing some of the last self-reference loops in object.models, based on profiling.
2012-09-20 02:52:21 +02:00
Griatch
4bd3be334d
Added a warning to @delete command if trying to delete CHARACTER_DEFAULT_HOME (Limbo by default).
2012-09-20 01:42:51 +02:00
Griatch
4c83d3e7a1
Various speed optimizations in various places, following further profiling.
2012-09-20 00:47:28 +02:00
Griatch
0dae03156c
Some optimizations, cleanup and a few bugfixes. Just changing a spurious property retrieval in the typeclass removed an extra, pointless database query.
2012-09-18 01:03:35 +02:00
Griatch
c53a9b5770
Changed how Objects are searched, using proper Django Q objects instead of hack-y evals to build queries. This has lead to a number of changes to the ObjectDB manager search. Notably there is now no way to supply a "location" to either of the manager search methods anymore. Instead you can now supply the keyword "candidates", a list of objects which should be used to limit the search. This is much more generic than giving location. The higher-level search (like caller.search, reached from commands) have not changed its API, so commands should work the same unless you are using the manager backbone directly. This search function is now using location to create the "candidates" list. Some other things, like matching for "me" and "here" have also been moved up to a level were it can be easily overloaded. "me" and "here" etc were also moved under i18n.
...
As part of this overhaul I implemented the partial_matching algorithm originally asked for by user "Adam_ASE" over IRC. This will allow for (local-only) partial matching of objects. So "big black sword" will now be matched by "bi", "sword", "bi bla" and so on. The partial matcher sits in src.utils.utils.py if one wants to use it for something else.
2012-09-17 15:31:50 +02:00
Griatch
cc6fa079b6
Added some more functionality to the copy method of objects, as well as some minor fixes.
2012-09-11 23:47:29 +02:00
Griatch
5348563bfb
Some fixes to dummyrunner.
2012-09-03 22:29:01 +02:00
Griatch
047de533f3
Moved dummyrunner into a separate directory under src/utils
2012-09-03 21:54:13 +02:00
Griatch
d5c1d35406
Cleaning up some ampoule outputs.
2012-09-03 21:47:22 +02:00
Griatch
81dfeb6788
Added per-process timeout capability to run_async. Also changed contrib/evlang to use run_async
2012-09-03 21:16:54 +02:00