Commit graph

  • 65e1b85c6f Some cosmetics. Also make searching news match against Title and Body for now. Will eventually have some checkboxes to with the option to do both or only one. Greg Taylor 2007-07-31 18:39:48 +00:00
  • 85d13fe16b I forgot to add the flatpages templates directory, whoops. Also fix a pluralization cosmetic thing in the admin interface for News entries. Greg Taylor 2007-07-31 18:28:42 +00:00
  • 613edc774f Yay, the news system is looking good now. We'll re-visit it later to add searching/sorting by news categories and stuff. Greg Taylor 2007-07-31 18:25:24 +00:00
  • 762e0f83bc The news archives and searching news is now operational. Next up, flatpages. Greg Taylor 2007-07-31 14:59:00 +00:00
  • aad1d3d0c4 More commentage. Greg Taylor 2007-07-31 13:23:44 +00:00
  • daecf0b4a3 Elaborating on some settings with more comments. Greg Taylor 2007-07-31 13:10:19 +00:00
  • 648bee599e Improvements on the news app. It's not nearly done yet, don't bother playing with it for a while unless you're really curious and want to see ugly, un-refined code :) Greg Taylor 2007-07-30 20:30:16 +00:00
  • 9db148f98c Add a placeholder page, tbi.html, and a tbi view /tbi, that can be used to link to when a particular web feature isn't complete yet rather than leaving dead links. Greg Taylor 2007-07-30 15:23:42 +00:00
  • 6aab3a4145 Added a view for looking at an individual news entry. It's ugly, one of you artsy people should make it less so :) Greg Taylor 2007-07-26 15:50:24 +00:00
  • 1afcd6bf99 We've now got a sane template structure. webtemplates/base.html is the parent of all pages. index.html in that directory is the default page, and sub-directories from there will hold the templates for various applications. Notice how in index.html and the file in the news directory are put together. It's really simple, see the Template documentation on djangoproject.com for more in-depth details. Greg Taylor 2007-07-26 13:52:46 +00:00
  • a3ac4ff17c Word wrap is messing things up a bit. Disabling it for now until we have more time to check this out. Greg Taylor 2007-07-26 12:48:44 +00:00
  • b9e543f6fd Temporarily removing channel emits to avoid circular dependencies. Pfft. Greg Taylor 2007-07-25 15:06:04 +00:00
  • be05772713 Script methods will now take a dictionary with keys rather than hard arguments. This will hopefully allow for a bit more flexibility. Greg Taylor 2007-07-17 15:58:19 +00:00
  • fadf3933af Move the presentation part of the 'look' command out to the new scripting system. You can now make different scripted objects appear vastly different by overriding basicobject's return_appearance (or any of its submethods). Also fixed word wrapping, and we are now wrapping descriptions to 78 characters by default. We'll see how gracefully it handles this, and we might eventually apply it to all output. Greg Taylor 2007-07-17 14:39:10 +00:00
  • fa4cc4cab3 Make config values not case-sensitive. Greg Taylor 2007-07-17 13:26:00 +00:00
  • 6d8d280248 Cosmetics. Greg Taylor 2007-07-16 19:12:38 +00:00
  • ad92c85067 Ok, I really should test this stuff before committing. send_cmessage() should now handle invalid channels. Greg Taylor 2007-07-16 19:09:10 +00:00
  • 26bec8a281 Third time's a charm? Greg Taylor 2007-07-16 18:58:30 +00:00
  • 4c6f7b9db8 Not a very good solution, but it'll do for now. Greg Taylor 2007-07-16 18:55:20 +00:00
  • aed889b11c Attempt #2 Greg Taylor 2007-07-16 18:52:55 +00:00
  • 357ef3a250 Added two new channels: Errors and Info. These will now emit stuff that is sent via log_infomsg and log_errmsg. Greg Taylor 2007-07-16 18:49:57 +00:00
  • debb34aae9 You may now specify a list of ports in settings.py to listen on instead of just a straight integer value. You'll need to copy GAMEPORTS from settings.py.dist if you have an existing game. Greg Taylor 2007-07-15 01:16:02 +00:00
  • 270f7e7128 Comment clarification. Greg Taylor 2007-07-12 17:44:43 +00:00
  • 94779a86a5 Added new SCRIPT_ROOT variable to settings.py, you'll need to copy this over from settings.py.dist if you're running a test game. We also now have rudimentary support for default, enter, and use locks per the basicobject.py file. Take a look at the example locks in there. A returned boolean value determines whether the player passes. Make sure you emit an error message within the lock if you're going to return false. We will have simple in-game attribute or dbref locks via an @lock command similar to MUX/MUSH that override scripted behaviors. Greg Taylor 2007-07-12 13:45:23 +00:00
  • 679ef8dc74 Whoops, fixed some comment stuff. Greg Taylor 2007-07-10 15:34:36 +00:00
  • 9c57e1cf7a Adding some more script hooks. Greg Taylor 2007-07-10 15:34:07 +00:00
  • ebb145654f Some more work towards having a working news module. This isn't anywhere near ready yet! Greg Taylor 2007-06-12 03:37:22 +00:00
  • 115a420cee The default front webpage now has some good examples on how to add in custom functionality. You'll obviously want to customize this for your game, but it'll be a good start. Greg Taylor 2007-06-12 02:35:37 +00:00
  • dfc358ada8 WINDOWS USERS: (This applies to UNIX/Linux as well, but is probably more interesting to Windows users). You may now open up your settings.py file and add SERVE_MEDIA=True to serve media directly from Django. This is useful when you're running Django's built-in development server and want to be able to get to your CSS/Images, or if you have an apache server and don't want to configure a media location. Note that this is NOT something you want in a production environment, as it's slow, and may pose security risks. However, this will get you up and running very quickly for web work. The new setting, SERVE_MEDIA, is defaulted to False and is in the latest settings.py.dist file. Greg Taylor 2007-06-12 01:12:26 +00:00
  • a1f46603d0 The svn:ignore property got blasted in trunk somehow. Re-adding the old values. Greg Taylor 2007-06-11 17:20:59 +00:00
  • adbc6ec2bb Removed references to Attribute class from cmd_alias. Removed Attribute import Michael King 2007-06-11 17:07:31 +00:00
  • 7052d313b6 Added feedback for @alias if the player does not have control over the target. Gave the success results for @alias some clarity. Michael King 2007-06-11 17:03:53 +00:00
  • 836a2e6fc3 Updated some comments to make them a little more clear. Greg Taylor 2007-06-11 16:01:21 +00:00
  • 0980408e1c Aesthetics finalized for cmd_alias Added RollbackImporter skeleton class to Evennia Server class Michael King 2007-06-11 15:49:05 +00:00
  • 6015aca8db Fix for issue 29, duplicate session removal no longer results in the loss of the CONNECTED flag. Greg Taylor 2007-06-11 15:42:47 +00:00
  • 8991d4ecac Merged in working changes to alias. Needs better error messages, but it's in there. Michael King 2007-06-11 14:57:02 +00:00
  • 9648af6521 Added settings.py to svn:ignore Merged in updates to branch Michael King 2007-06-11 14:48:57 +00:00
  • 1d14834a3b Merged first version of alias-command from branch. Michael King 2007-06-11 12:50:42 +00:00
  • b1bb2b7927 Fixes to get 'inventory' working again. Whoops. Greg Taylor 2007-06-11 02:36:34 +00:00
  • a4b6973c7a Forgot to include some context stuff. You'll need to re-create your settings.py from the settings.py.dist file. Greg Taylor 2007-06-10 16:01:35 +00:00
  • 418ab7e30f Update last_login on disconnect too. Greg Taylor 2007-06-06 14:06:25 +00:00
  • fad87ae759 One more ignore. Greg Taylor 2007-06-06 13:50:31 +00:00
  • 72ebe9cc7b Finished the Players content block on the default main page. Yay. http://sandbox.evennia.com is the front page for the test site. None of the links work yet, just working on the front page. Greg Taylor 2007-06-06 13:49:52 +00:00
  • 6b8c3f137c Updating some svn:ignore properties to ignore .pyc files. Greg Taylor 2007-06-06 13:39:11 +00:00
  • e2cc754441 Lots of goodies in this one. More work on the default web front page, a few extra utility functions for functions_db as well. Some cleanup in the session code to use some of the new abstraction I added a while back. Player's last login time is now also set on the User object. Issue 28: Forward slashes causing crashes, found by Kuros, fixed by me. Greg Taylor 2007-06-06 13:38:13 +00:00
  • 270db06820 Making get_configvalue a bit more informative if a config value can't be found. Also actually populating the webcontext's game_name via get_configvalue. Greg Taylor 2007-06-06 12:37:34 +00:00
  • f68e686fd9 Missing parenthesis, whoops. Greg Taylor 2007-06-06 12:26:50 +00:00
  • e80fa61d03 News app. Greg Taylor 2007-06-05 20:07:19 +00:00
  • 1e13d94b20 Beginnings of the integrated front-end website. Greg Taylor 2007-06-05 20:06:21 +00:00
  • bb6905c1ca Small fix for certain versions of Python and some simplification of the settings.py file. Greg Taylor 2007-06-05 18:07:47 +00:00
  • 94ceec3719 Scripting support is now in! See cmd_look (the end of it), scripthandler.py, and scripts/basicobject.py for very brief examples. I'm not sure how well this is going to scale, I had to kludge the import a bit due to some oddities with __import__. There has to be a better way to do this, hopefully I'll be able to figure it out. In any case, expect basicobject to start fleshing out. You'll be able to use it directly or sub-class it with your own stuff. Greg Taylor 2007-06-04 20:01:03 +00:00
  • 27c0e7a873 Really basic proof-of-concept scripthandler.py for review and discussion. This should illustrate my basic idea about script support. I think this will be a very elegant solution to the scripting situation. This will be filled out in the coming days and will hopefully make more and more sense as I tie it in. Database changes are likely, make sure to keep an eye on the commit logs. Also edited some svn:ignore props and added a placeholder for the basicobject script. Greg Taylor 2007-06-04 17:33:31 +00:00
  • e6d7c51771 On second thought, let's move os.name to gameconf. Greg Taylor 2007-06-04 15:11:15 +00:00
  • 8cc9abfa94 Whoops, forgot a file. Greg Taylor 2007-06-04 04:00:08 +00:00
  • bc2ea1780b Fixed an issue with @list that broke Windows compatibilty. We simply won't be able to let the user '@list process' under Windows, as the Python API lacks the needed modules and functions to do so. So everyone doesn't have to go through the head-scratching I did to figure out how to get Evennia running on Windows, I have included a startup.bat file for anyone wanting to develop under Windows. If someone would like me to post instructions on running under Windows, send a mail to the list stating the fact and I'll outline the process. Greg Taylor 2007-06-04 03:54:33 +00:00
  • 15d80f4c9a I'm going to start tinkering with possible scripting system solutions. Here's the directory structure the standard scripts are going to use. Greg Taylor 2007-05-29 03:49:40 +00:00
  • 0e9732d49c Big re-organization of command functions. Introduced the commands directory to hold command modules. This will make it easier to sub-divide stuff as we pile on more commands, and for dropping in new optional command modules. Greg Taylor 2007-05-29 03:32:48 +00:00
  • a10df7ec6b Update the INSTALL file to include a notice about referring to the web-based documentation. Yes, I'm looking for an excuse to test the commit log :) Greg Taylor 2007-05-27 23:20:44 +00:00
  • 2e6d4f5a00 Moving the port configuration to the settings.py file and out of the database. Greg Taylor 2007-05-27 22:09:06 +00:00
  • 7d869dff18 Moving the game port selection to settings.py for simplicity and security. Greg Taylor 2007-05-27 22:06:12 +00:00
  • 92165ade01 Mention mysql_old in settings.py.dist. We'll document this in the install docs. Greg Taylor 2007-05-27 21:59:16 +00:00
  • 543a9cfe26 Fix for MySQL sillyness. Greg Taylor 2007-05-27 21:56:40 +00:00
  • f7d58f16ae Possible MySQL fix. Greg Taylor 2007-05-27 20:45:40 +00:00
  • 972604f156 Add -f to the mv for evennia.log. This is a stupid little commit for me to test forwarding commit messages to the Google group. Greg Taylor 2007-05-27 16:59:41 +00:00
  • 62ed2560e4 Fix for @desc target validation. Greg Taylor 2007-05-27 16:47:18 +00:00
  • 5d066a7839 @description? wtf was I thinking? It's supposed to be @describe. Fixing. Existing games will need to update their alias lists. Greg Taylor 2007-05-27 16:43:16 +00:00
  • b821bf77f0 Initial skeleton (pass) for cmd_alias Michael King 2007-05-25 20:13:43 +00:00
  • 7f42ff445f We definitely need the fix from the branch to the attribute deletion method, but we'll keep the existing @wipe implementation. Sorry for the confusion. Greg Taylor 2007-05-25 18:24:24 +00:00
  • d2115991f8 * Merged in wipe-command branch into trunk (mking) Michael King 2007-05-25 17:31:29 +00:00
  • e94601dd7b Fix to paging with aliases. Greg Taylor 2007-05-25 15:06:22 +00:00
  • e7f8b901ce Connection recovery is now in. You can only have one session active per account. This is just the safest and cleanest way to do things. Also made some misc. other changes that will probably go unnoticed. Greg Taylor 2007-05-25 15:02:16 +00:00
  • f57ef16912 Function optimization. Greg Taylor 2007-05-25 14:27:40 +00:00
  • e91b584219 More attribute-related fixes from our db restructuring. Greg Taylor 2007-05-25 14:18:07 +00:00
  • 5384bed052 More graceful handling of session creation/destruction. Greg Taylor 2007-05-25 13:55:38 +00:00
  • 152271132d Make get_session_list() default to not returning sessions that aren't logged in. Greg Taylor 2007-05-25 13:45:20 +00:00
  • cd79aa6a8f Fixing character creaction bug. Greg Taylor 2007-05-25 13:32:08 +00:00
  • 5d75db95ed I guess we should probably limit channel history messages returned. TODO: Move this to a server config directive. Greg Taylor 2007-05-25 13:15:59 +00:00
  • c7f32f904d Lots of re-arranging of the comsys and near completion of comsys player commands. I'm going to halt further progres on this long enough for me to take a second look at my code and re-factor some things, then go on to work on some of the lesser-used commands. New in this revision: on, off, last, who for channels (pub who, etc.). Make sure you nuke all of your comsys-related tables and re-sync. Greg Taylor 2007-05-25 03:24:23 +00:00
  • 49b6a0ba57 Minor fix to accomodate some database re-organization. Greg Taylor 2007-05-25 00:21:08 +00:00
  • 51301d3e3b Start moving log files again. Greg Taylor 2007-05-24 23:46:14 +00:00
  • e1dbdba951 We don't really need a members field on the channel object. Greg Taylor 2007-05-24 20:20:00 +00:00
  • 485204e979 Create a Public channel by default, make a channel's name and ansi_name the same thing on initial creation. Greg Taylor 2007-05-24 19:53:36 +00:00
  • bfafdbf9c9 Adding @stats. We're just going to assume the equivalent of /all on MUX since it's a lot more informative. Greg Taylor 2007-05-24 18:33:02 +00:00
  • bb0ff9f6ff Implement @wipe as per MUX. NOTE: THIS REVISION REQUIRES YOU TO RE-SYNC YOUR objects_attribute TABLE. The best way to do this is to drop your attribute table and your comsys tables, then re-sync via syncdb. This was needed due to some conflicts in namespace that I didn't want to get around with disorganized work-arounds. Greg Taylor 2007-05-24 17:44:17 +00:00
  • 9457e19787 logs/evennia.log is now writing once more. Also fixed a stupid indentation error. Greg Taylor 2007-05-24 14:49:05 +00:00
  • b6c869b076 Abstraction of generic player object searches, as should've been case from the beginning. Bad me for letting this get out of hand! In any case, this eliminated a lot of code and makes pretty much all of the commands that interact with objects a lot neater, readable, and consistent. Greg Taylor 2007-05-24 14:22:11 +00:00
  • b47d0d2b07 Use Twisted's logging facilities. Greg Taylor 2007-05-24 03:36:58 +00:00
  • f9f24f6616 Don't return attribute matches if said attribute is in the hidden attribute list. Greg Taylor 2007-05-24 03:22:11 +00:00
  • 39b640e948 Add the ability to examine obj/attr with wildcards. Greg Taylor 2007-05-24 02:58:59 +00:00
  • 88dcdc95eb Some documentation fixups that I noticed off-hand. Greg Taylor 2007-05-23 19:52:55 +00:00
  • a523f845d1 One-liner nitpick. Greg Taylor 2007-05-23 19:40:21 +00:00
  • 3ecb46f958 Added @ps to show events and the next time they're going to fire. Greg Taylor 2007-05-23 19:19:20 +00:00
  • 53b111f4ae Shiny new event system that uses Twisted's task stuff. This one is a good bit more flexible and semantically correct. More to come on this soon. Greg Taylor 2007-05-23 19:00:37 +00:00
  • 7d78cbcf4b Adding wildcard_to_regexp() to functions_general and cleaning up some imports. Greg Taylor 2007-05-23 17:51:31 +00:00
  • 8335f8b80f Fixing exit traversal. Was trying to be too careful for my own good in the command handler. Greg Taylor 2007-05-23 01:49:19 +00:00
  • 928a5a29d6 Fix a problem with @cemit permissions. Greg Taylor 2007-05-22 23:53:05 +00:00
  • 52c986dff7 Whoops. Greg Taylor 2007-05-22 15:49:29 +00:00
  • f69313f950 Clear up handling of 'me' and 'here'. Greg Taylor 2007-05-22 15:41:28 +00:00
  • 1a996bbf7e Added a HIDDEN_ATTRIBS list to defines_global.py containing a list of attributes that shouldn't show up on examined objects. Greg Taylor 2007-05-22 15:22:25 +00:00
  • 59518c440c We're now in shape that I'd consider Alpha-quality rather than pre-alpha. Admins can now actually start building grids without fear of people doing bad stuff, and for the most part the codebase should hold up. Greg Taylor 2007-05-22 15:14:19 +00:00