Commit graph

  • 406800f254 Merge. Griatch 2013-03-09 12:16:50 +01:00
  • 0f2762d5f2 Added functionality to @services command. Allowed @reload to also accept a reason argument. Griatch 2013-03-08 23:09:21 +01:00
  • d4b0afca83 Updated taling_npc contrib to new standard import locations, thanks to patch by Metathink. Resolves issue 354. Griatch 2013-03-08 21:46:05 +01:00
  • f0fa6b5aee Fixed a bug in IMC2 implementation. Made sure the Tutorial world Ghost keeps moving after winning a battle. Griatch 2013-03-08 21:42:51 +01:00
  • e0ba7695a5 Merge. Griatch 2013-03-06 13:34:51 +01:00
  • 7607edca5b Update @about to reflect current license. Bobby Bailey 2013-03-02 22:01:44 -05:00
  • 743edd88ff Renamed cmd.funcparts to cmd.func_parts for naming consistency with other command optionals. Griatch 2013-02-20 00:27:44 +01:00
  • 65e370f93b Added an abort condition to the cmd's funcparts chain. Griatch 2013-02-20 00:17:50 +01:00
  • 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. Griatch 2013-02-19 23:30:33 +01:00
  • 47356ca632 Fixed a lingering error from turning off "quick assignment" that caused issues in TutorialWorld. Griatch 2013-02-18 20:08:05 +01:00
  • 458e3e7599 Added @sessions command for viewing active sessions connected to a given account. Griatch 2013-02-17 20:21:23 +01:00
  • 25505d69a6 Moved login and disconnect from session-level to sessionhandler level to make the process cleaner with hooks rather than direct calls. Griatch 2013-02-17 18:48:48 +01:00
  • 261363bae7 Moved connect/disconnect messages to be triggered by Player, not by Character. Griatch 2013-02-17 14:24:31 +01:00
  • 707a21c7d7 Fixed so reloading the server reconnects the proper sessions to the characters again. Griatch 2013-02-17 13:59:36 +01:00
  • 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. Griatch 2013-02-17 12:31:58 +01:00
  • 1f676eda60 Some more fixes to the commands. Griatch 2013-02-16 21:26:59 +01:00
  • db8af97ab2 Fixed player creation, removing FIRST_LOGIN flag on character (keeping it on player) Griatch 2013-02-14 18:09:59 +01:00
  • 71346dcc67 Merge. Griatch 2013-02-14 17:55:35 +01:00
  • 4dea96f5e4 Some further fixes. Griatch 2013-02-14 17:55:05 +01:00
  • a1dc7451ef Some fixes to the way the admin initiates new player objects. Griatch 2013-02-12 19:54:11 +01:00
  • 0b4c4feb6e Removed a too-verbose printout during batch-build. Griatch 2013-02-11 10:21:18 +01:00
  • 433cb5b9c0 Moved import of SESSIONS to avoid a circular import situation under i18n. Griatch 2013-02-10 11:52:31 +01:00
  • e345d659fd Merge. Griatch 2013-02-09 11:21:38 +01:00
  • 390bdd28a7 Merge. Resolves issue 312. Resolves issue 346. Resolves issue 334. Griatch 2013-02-07 19:38:22 +01:00
  • b301d8ebb2 Fixed spacing consistency issues between messages in web client. Kelketek 2013-02-06 20:58:22 -06:00
  • 00f46d36cd Fixed #346, examine cutting off parts of output due to ANSI coloration. Kelketek 2013-02-06 15:07:44 -06:00
  • d5129b5065 Updated X-Forwarded-For to better conform to spec (multiple proxies). Kelketek 2013-02-06 07:41:22 -06:00
  • 175b9b7338 Added change to settings.py to facilitate X-Forwarded-For. Kelketek 2013-02-06 01:27:37 -06:00
  • 90163734aa Added support for X-Forwarded-For. Kelketek 2013-02-06 01:07:25 -06:00
  • a84b4f24fc Fixed bugs that now allows multiple sessions to connect through the same player to different characters. Still lots of bugs and inconsistencies, the permissions of superusers don't quite transfer sometimes, for example. Griatch 2013-02-04 22:02:04 +01:00
  • 3aa122c41a Merge. Griatch 2013-02-03 21:47:35 +01:00
  • ab5b9116df More bugfixes. Griatch 2013-02-03 21:38:37 +01:00
  • 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. Griatch 2013-02-03 20:04:40 +01:00
  • 519235b06b Merge. Found this nifty contribution by accident since there was no merge request issued for it. Good spelling fixes all over tutorial world. Griatch 2013-02-03 18:21:06 +01:00
  • 70b8f074f1 Merge. Griatch 2013-02-03 17:28:26 +01:00
  • f3addf9cf9 Shuffled migration id numbers around to account for changes in trunk. Griatch 2013-02-03 17:21:12 +01:00
  • 9dd69fc9e0 A couple more straggling lock fields. Should be all of them now. I hope. Kelketek 2013-02-03 10:01:07 -06:00
  • b26c3ab872 Fixed bugs and allowed for logging in using one character. Added a simple command for creating a new character. Griatch 2013-02-03 17:00:46 +01:00
  • adb3965888 Follow-up on that last one-- missed one of the Abstract models. Kelketek 2013-02-03 09:54:36 -06:00
  • 2e08517ec5 Changed lock storage from character-limit field to unlimited TextField. Kelketek 2013-02-03 08:54:57 -06:00
  • f1767251c6 Can now log in to a character selection screen. Lots more testing required before one-char-per-session works. Griatch 2013-02-03 00:25:06 +01:00
  • c0d634fe8c Added "typeclass" as a shortcut variable name of __getattribute__. This allows for obj.typeclass to always cleanly return typeclass regardless of if obj is already a typeclass or is a database object. I.e. the same functionality of using obj.dbobj to always get the database object. Griatch 2013-02-03 00:23:58 +01:00
  • 7ba0683d9d Added migrations for the new sessid and multiple-character-related fields along with some bugfixes. Griatch 2013-02-02 23:25:46 +01:00
  • 00584365ae Added sessids to command objects and changed how the "login"-hooks are called. Those will probably have to be changed to better names, at least for characters. Griatch 2013-02-02 22:41:56 +01:00
  • 373a1f68c4 Fixed a looping bug when trying to send a message without a channel target. Griatch 2013-02-02 19:58:36 +01:00
  • 231af4a351 Continued work on multi-char-per-account. Added a new default login point. Still need to add sessid to commands. Griatch 2013-02-02 15:55:42 +01:00
  • b50266623e Merge. Griatch 2013-02-01 22:04:18 +01:00
  • 8b5938ddd0 Non-working intermediary commit. Griatch 2013-02-01 22:03:55 +01:00
  • 11d1114f61 Some minor cleanups. Griatch 2013-02-01 21:51:38 +01:00
  • 88f327ba40 Merge. Griatch 2013-02-01 21:51:13 +01:00
  • 230e12d8b6 Fix to @py to a) print value of expressions, and b) print duration when requested for evals Stephen Hansen 2013-02-01 12:29:40 -08:00
  • f734e9511c Handle the case of doing aliases=<string> instead of aliases=[<string>] in create_object - this caused the malformed data to be stored in cache and causing tracebacks in cmdhandler until @reloaded. Griatch 2013-02-01 21:03:03 +01:00
  • 8eefc5d9f9 Fixed a bug in @del dbref lookup. Griatch 2013-02-01 20:00:17 +01:00
  • d1125c65dc Fixed a formatting error viewing single-string aliases of objects with the examine command. Griatch 2013-02-01 19:27:45 +01:00
  • 9d0baa2d5c Remove sleep hack on startup, move so portal always starts before server. Stephen Hansen 2013-01-31 15:40:20 -08:00
  • 5cfff771f2 Initial support for pypy + evennia Stephen Hansen 2013-01-31 14:34:52 -08:00
  • 41859d9e46 Added the ability for the IRC bot to parse /me emotes from the IRC channel. Griatch 2013-01-30 15:14:30 +01:00
  • ebbc022fba Another minor bug fixed. Griatch 2013-01-30 15:00:36 +01:00
  • 678dddc87f Fixed a @desc bug in extended_room contrib. Griatch 2013-01-30 14:55:33 +01:00
  • 7b17c9ad5a Fixed a traceback when lighting the torch in the tutorial world. Griatch 2013-01-29 22:51:18 +01:00
  • 261454ff0a First steps towards a full account system (multiple Character with one Player); added the Player-level methods. Griatch 2013-01-26 21:20:31 +01:00
  • 91281e6bb8 Fixed an error in @delete that caused ranges of dbrefs not work non-locally. Based on patch supplied in Issue 344 (thanks!). Griatch 2013-01-20 17:23:31 +01:00
  • e8d93dedbe Added a /time switch to the @py command, after idea by JoshBenner over IRC. This optionally outputs the execution time for a given input. Griatch 2013-01-11 16:46:04 +01:00
  • e12ad67ee4 Correctly flushes entire SharedMemoryModel class hierarchy. lagos 2013-01-11 01:14:28 -08:00
  • ea545d7ff3 Added the ability to deactivate local caching, by use of the settings.GAME_CACHE_TYPE variable. A temporary solution for working with multiple processes. Will also be useful for debugging and profiling. Griatch 2013-01-09 19:43:46 +01:00
  • 15feb915e6 Fixing a missing report. Griatch 2013-01-08 09:45:59 +01:00
  • 45bf38679f Moving a check for the connect channel, probably resolving a weird django error appearing in postgreSQL. Related to Issue 341. Griatch 2013-01-08 09:44:13 +01:00
  • f8514bb0f1 Added a little more info about the player needing the right permissions to @puppet, not the character. Resolves Issue 340. Griatch 2013-01-07 18:35:36 +01:00
  • 5ef92b6bf8 Some cleanups, properly marking the OOB stuff as WIP still. OOB is progressing but not yet functional or in its final form. Griatch 2013-01-07 15:47:41 +01:00
  • 0ac2a58428 Removed Deprecated "Fast Assignment" attribute operators. Griatch 2013-01-04 11:19:58 +01:00
  • 58c010ef46 Some further work on the OOBhandler mechanism. Griatch 2013-01-04 10:35:29 +01:00
  • b0b0fa7983 First, untested version of the OOBhandler mechanism. Griatch 2013-01-03 09:18:49 +01:00
  • 90a64a3780 Fixed a bug in external_connections. Griatch 2012-12-13 22:46:18 +01:00
  • 6e46158946 Fixed an arg_regex in the examine command - it was disabling switches Griatch 2012-12-12 23:21:22 +01:00
  • d14b014611 Fixed the auto-subscription to channels by non-superusers. Resolves Issue 336. Removed a spurious print statement in the unloggedin create command. Griatch 2012-12-12 22:57:03 +01:00
  • 6f28ed6242 Made some spelling/grammar changes to build.ev James Bryant 2012-12-11 23:49:50 -05:00
  • 2d206c5e68 Removed "\" from secret key generation, to avoid accidental escapes in key. Based on patch by user cam.turn in Issue 337. Griatch 2012-12-12 02:27:50 +01:00
  • 9d79299d16 fixed a traceback when trying to look for a detail that does not exist. Griatch 2012-12-12 01:33:49 +01:00
  • 9756314e3d fixed a traceback in contrib.extended_room's look command Griatch 2012-12-12 01:28:02 +01:00
  • 0ced5287f4 Some more minor fixes. Griatch 2012-12-12 01:18:49 +01:00
  • c6f5f33cbd Fixed a typo in reset code. Griatch 2012-12-12 00:46:40 +01:00
  • 0719391f39 Fixed a typo in reset code. Griatch 2012-12-12 00:45:09 +01:00
  • aa602ce7f1 Fixed a typo in reset code. Griatch 2012-12-12 00:44:24 +01:00
  • ca4feb4d21 Changed how contrib.extended_room's details are reset. Griatch 2012-12-12 00:42:41 +01:00
  • 178fe9f28c Added some better help to the contrib @detail command. Griatch 2012-12-12 00:16:00 +01:00
  • a1a2c99d1e Fixed a traceback if logging out from the unloggedin screen. Griatch 2012-12-11 23:30:30 +01:00
  • f2e971b392 Have Msg access methods return typeclasses where appropriate instead of dbobjs, to make it more straightforward to compare things. Resolves Issue 329. Griatch 2012-12-08 20:45:52 +01:00
  • 1643427fa3 Added at_set hook for Attributes. This is a first step towards OOB definition. Griatch 2012-12-08 20:26:44 +01:00
  • d42949b324 Fixed up Tutorial world, which also led to weeding out a host of smaller things. Resolves Issue 216. Resolves Issue 335. Tutorial should now again be possible to complete. :) Griatch 2012-12-08 20:13:54 +01:00
  • c615693a2a Added a give command to the default command set. As part of this also fixed some bugs in how object typeclasses were compared. Griatch 2012-12-08 17:11:22 +01:00
  • 949da47917 Removed some old and now confusing, unsused variables and added some documenting strings. Griatch 2012-12-08 15:39:09 +01:00
  • 030c245b5b Fixed a bug in examine when listing more than one cmdset. Griatch 2012-12-08 14:17:11 +01:00
  • c0302f7cff Added global_dbref argument to caller.search, for allowing e.g. the examine command to view globally by dbref yet local-only if supplying a name. Resolves Issue 327. Griatch 2012-12-08 14:09:42 +01:00
  • 7ee40bc3c7 Modified contrib/lineeditor to use hook functions for handling save/load/quit instead of exec:ing strings. Based on alternative code from user Kelketek. This is a rework of the code in the merge request in issue 331. Griatch 2012-11-13 23:59:38 +01:00
  • 8f4f123230 Fixed a lingering call to the old caching scheme by swap_typeclass method. Resolves Issue 332. Griatch 2012-11-13 21:34:42 +01:00
  • 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. Griatch 2012-11-13 21:24:05 +01:00
  • d55bee8905 Fixed a type - get_attribute_cache() should be get_attr_cache() Griatch 2012-11-09 23:17:10 +01:00
  • 8654d8cc48 Further migrated script caches to the central cache location, removing old cruft. Griatch 2012-11-08 19:29:57 +01:00
  • 98d0eb7869 Added __delitem__ support to PackedDict/List, allowing for things like in-place "del obj.db.dict[key]". Griatch 2012-11-08 19:16:21 +01:00
  • e4382e3e8a Fixed a regression in has_attribute caused by changing the location of caches. Resolves Issue 328. Griatch 2012-11-07 20:22:46 +01:00