Commit graph

197 commits

Author SHA1 Message Date
Griatch
0a39b8f65e Webserver move to Server is finished and everything seems to work normally. 2013-05-24 21:10:31 +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
76fa0059ea First preparations for moving webserver to Server process. 2013-05-22 18:18:50 +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
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
Kelketek
e752c2dd64 Made username creation/login case insensitive. 2013-05-13 12:30:00 -05: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
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
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
8720df5b49 Merge. 2013-04-15 00:12:00 +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
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
cfc575f360 Added check for django 1.4+ to upstart checks. 2013-03-24 11:04:27 +01: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