Commit graph

4407 commits

Author SHA1 Message Date
Greg Taylor
57d7a8f41a Trying to see if this will ignore changes to startup.sh so I don't keep accidentally committing new ones. 2007-10-27 03:26:51 +00:00
Greg Taylor
20e4c29747 Whoops, accidentally committed a change to startup.sh 2007-10-27 03:26:03 +00:00
Greg Taylor
4d94132c54 Moved the connect screen to the connect_screen config directive. Made the conf_value field on the configvalue model a TextField so we're not getting truncated at 255 as with a CharField. This means you'll need to delete your config tables and re-sync. 2007-10-27 03:25:42 +00:00
Michael King
f3b4422990 Re-tabbed managers.py under reload (was set to 4 spaces) 2007-09-14 17:17:19 +00:00
Greg Taylor
3ae3bd6884 Bad logic for object recycling. Boo me. Adjusted create_object() and @nextfree. 2007-09-14 16:32:38 +00:00
Michael King
74a3a01429 Moved object and exit clearing to the destroy method instead of
the delete method.  This may change later, but for simplicity's sake,
this is how we're doing it for now.
2007-09-14 14:09:25 +00:00
Michael King
26beacb419 Added handling of django's unicode insistance. 2007-09-14 13:59:04 +00:00
Greg Taylor
9c3ba7f025 Updated some broken urls in the settings.py.dist file. Thanks to marcos for reporting. 2007-09-14 03:33:15 +00:00
Michael King
02ffa832f6 Did some work on the reload manager, as well as removed
the rollback importer from server.py
2007-09-06 14:58:18 +00:00
Michael King
5ecbff32f6 Renamed callback to a more sensible name. 2007-09-06 13:24:09 +00:00
Michael King
94b449466a Added mixins for reload development 2007-09-05 16:52:09 +00:00
Michael King
4ab9258bbc Ignoring git repository for local branching 2007-09-05 14:22:56 +00:00
Michael King
7e7f164c71 Moved @boot to a more sensible place. 2007-08-09 13:12:49 +00:00
Michael King
684ae521b7 Added @boot.
Currently, @boot will boot the first username match it comes across, if connected.

It will not boot non-player objects, and it will not allow staff to boot other staff.
2007-08-07 19:19:31 +00:00
Michael King
3fe64c1f34 Cleaned up the revision information for aesthetics. 2007-08-07 17:30:35 +00:00
Michael King
6a172edb03 Finalized EVENNIA_VERSION to include svn revision 2007-08-07 17:24:25 +00:00
Michael King
02b19ee4b0 Ooops. Forgot the trailing $ in the SVN keyword. 2007-08-07 17:22:28 +00:00
Michael King
2abc0adff9 Moved Revision outside of VERSION global for clean up 2007-08-07 17:20:54 +00:00
Michael King
c88a89bce1 Added Revision keyword to defines_global, and set svn:keywords property on defines_global.py 2007-08-07 17:18:45 +00:00
Michael King
7f3a8870f0 I learned something I didn't know about Django:
Apparently, if you retrieve the same model instance with two different references,
they don't equate with is or ==, you need to compare the id's.  I could be misreading the
symptoms, but this is what I had to do to get it to recognize that the home of the object in
question was its current (going away) location, and act appropriately.
2007-08-07 17:08:31 +00:00
Michael King
13b19b9a16 Removed DEFAULT_HOME reference from defines_global 2007-08-07 16:53:26 +00:00
Michael King
0c2648edaa Removed DEFAULT_HOME from settings.py into a server configuration directive via the confg app.
Changed clear_objects to reflect default home changes.
2007-08-07 16:52:47 +00:00
Michael King
8b8099a9db Added DEFAULT_HOME value of 2 to settings.py.dist
Added import of DEFAULT_HOME from settings into defines_global
Removed clear_players()
Removed clear_things()
Created a more general clear_objects():
  * obj.clear_objects()
    * Everything with obj as its location will be moved
      to its home.
    * If the home is the obj, then said objects will be
      moved to DEFAULT_HOME, if it exists.
    * If the said objects do not have a home, they will
      also be moved to DEFAULT_HOME.
2007-08-07 16:28:22 +00:00
Michael King
5f962b69a0 Added clear_things, clear_players and clear_exits to Object class.
* obj.clear_things() relocates all things contained by obj
 * obj.clear_players() relocates all players contained by obj
 * obj.clear_exits() destroys all exits to and from obj
2007-08-06 20:00:41 +00:00
Michael King
d2136ec135 Adjusted startup.sh to use the BASE_PATH from settings.py 2007-08-06 18:53:06 +00:00
Michael King
c5208656f8 Fixed missing quote on line 158. 2007-08-06 18:14:37 +00:00
Greg Taylor
2e397df4d5 We now have user authentication via the web interface. @whee. 2007-08-02 19:37:16 +00:00
Greg Taylor
be4e0069a6 Adding comments. 2007-07-31 19:32:03 +00:00
Greg Taylor
edfae1349a Eh, we don't really need a staff link on the codebase example. We'll leave that for each game to worry about, as their staff situation may differ. 2007-07-31 19:25:32 +00:00
Greg Taylor
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. 2007-07-31 18:39:48 +00:00
Greg Taylor
85d13fe16b I forgot to add the flatpages templates directory, whoops. Also fix a pluralization cosmetic thing in the admin interface for News entries. 2007-07-31 18:28:42 +00:00
Greg Taylor
613edc774f Yay, the news system is looking good now. We'll re-visit it later to add searching/sorting by news categories and stuff. 2007-07-31 18:25:24 +00:00
Greg Taylor
762e0f83bc The news archives and searching news is now operational. Next up, flatpages. 2007-07-31 14:59:00 +00:00
Greg Taylor
aad1d3d0c4 More commentage. 2007-07-31 13:23:44 +00:00
Greg Taylor
daecf0b4a3 Elaborating on some settings with more comments. 2007-07-31 13:10:19 +00:00
Greg Taylor
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 :) 2007-07-30 20:30:16 +00:00
Greg Taylor
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. 2007-07-30 15:23:42 +00:00
Greg Taylor
6aab3a4145 Added a view for looking at an individual news entry. It's ugly, one of you artsy people should make it less so :) 2007-07-26 15:50:24 +00:00
Greg Taylor
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. 2007-07-26 13:52:46 +00:00
Greg Taylor
a3ac4ff17c Word wrap is messing things up a bit. Disabling it for now until we have more time to check this out. 2007-07-26 12:48:44 +00:00
Greg Taylor
b9e543f6fd Temporarily removing channel emits to avoid circular dependencies. Pfft. 2007-07-25 15:06:04 +00:00
Greg Taylor
be05772713 Script methods will now take a dictionary with keys rather than hard arguments. This will hopefully allow for a bit more flexibility. 2007-07-17 15:58:19 +00:00
Greg Taylor
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. 2007-07-17 14:39:10 +00:00
Greg Taylor
fa4cc4cab3 Make config values not case-sensitive. 2007-07-17 13:26:00 +00:00
Greg Taylor
6d8d280248 Cosmetics. 2007-07-16 19:12:38 +00:00
Greg Taylor
ad92c85067 Ok, I really should test this stuff before committing. send_cmessage() should now handle invalid channels. 2007-07-16 19:09:10 +00:00
Greg Taylor
26bec8a281 Third time's a charm? 2007-07-16 18:58:30 +00:00
Greg Taylor
4c6f7b9db8 Not a very good solution, but it'll do for now. 2007-07-16 18:55:20 +00:00
Greg Taylor
aed889b11c Attempt #2 2007-07-16 18:52:55 +00:00
Greg Taylor
357ef3a250 Added two new channels: Errors and Info. These will now emit stuff that is sent via log_infomsg and log_errmsg. 2007-07-16 18:49:57 +00:00