Matthijs Kooijman [Sun, 10 Feb 2008 14:48:24 +0000 (15:48 +0100)]
* Only set notification emails when DEBUG is disabled.
Matthijs Kooijman [Sun, 10 Feb 2008 14:46:57 +0000 (15:46 +0100)]
* Let settings import localsettings if it exists, to allow for installation-specific settings.
* Add a template for localsettings.
* Set DEBUG to False (should be set to True in localsettings, if required).
Matthijs Kooijman [Sun, 10 Feb 2008 14:37:28 +0000 (15:37 +0100)]
* Rename the add views to be a bit more consistent.
Matthijs Kooijman [Sun, 10 Feb 2008 14:34:39 +0000 (15:34 +0100)]
* Don't check if a new influence's character belongs to the currently logged in player, form.is_valid now handles this.
* Add some comments.
Matthijs Kooijman [Sun, 10 Feb 2008 14:19:10 +0000 (15:19 +0100)]
* Use a relationship spanning lookup to get the list of a player's influences, instead of using two lookups.
Matthijs Kooijman [Sun, 10 Feb 2008 14:17:29 +0000 (15:17 +0100)]
* Add a influence_list view.
Matthijs Kooijman [Sun, 10 Feb 2008 14:17:03 +0000 (15:17 +0100)]
* Split off the detail and list templates into a normal one that generates a full page, by including the _block variant, which generates the actual content.
* Make the index template use the character_block and influence_block templates, to reduce duplicate template code.
Matthijs Kooijman [Sat, 9 Feb 2008 22:59:14 +0000 (23:59 +0100)]
* Don't allow people to view each other's influences and characters.
Matthijs Kooijman [Sat, 9 Feb 2008 22:58:51 +0000 (23:58 +0100)]
* Fix the approved/not approved display in the character_detail display, it always showed approved.
Matthijs Kooijman [Sat, 9 Feb 2008 22:50:18 +0000 (23:50 +0100)]
* No longer use any generic views, since we will need to add access checks anyway, so we will need to redo a most of the stuff that the generic view does for us.
Matthijs Kooijman [Sat, 9 Feb 2008 22:48:29 +0000 (23:48 +0100)]
* Let the character_template use the url templatetag instead of hardcoded urls.
Matthijs Kooijman [Sat, 9 Feb 2008 22:39:09 +0000 (23:39 +0100)]
* Also remove the references to the event views that got removed a few commits back.
Matthijs Kooijman [Sat, 9 Feb 2008 18:34:17 +0000 (19:34 +0100)]
* Replace some tabs by spaces and put a vim modeline in every python file.
Matthijs Kooijman [Sat, 9 Feb 2008 18:27:28 +0000 (19:27 +0100)]
* Remove some old stuff from the events app (such as the "Person" model).
Matthijs Kooijman [Sat, 9 Feb 2008 10:10:17 +0000 (11:10 +0100)]
* Use the lex skin instead of the spring skin.
Matthijs Kooijman [Sat, 9 Feb 2008 10:09:07 +0000 (11:09 +0100)]
* Use h1/h2 instead of h2/h3 in the templates, since there probably won't be a main h1 title.
Matthijs Kooijman [Sat, 9 Feb 2008 00:55:17 +0000 (01:55 +0100)]
* Use the spring skin instead of the winter skin.
Matthijs Kooijman [Sat, 9 Feb 2008 00:54:57 +0000 (01:54 +0100)]
* Fix error in import.py that caused everybody to be an admin.
Matthijs Kooijman [Sat, 9 Feb 2008 00:45:04 +0000 (01:45 +0100)]
* Only show the longterm in the email and detail template when it is set to yes.
Matthijs Kooijman [Sat, 9 Feb 2008 00:44:24 +0000 (01:44 +0100)]
* Put a character's status in the email and detail templates.
Matthijs Kooijman [Sat, 9 Feb 2008 00:41:04 +0000 (01:41 +0100)]
* Add a status to Characters.
Matthijs Kooijman [Sat, 9 Feb 2008 00:16:07 +0000 (01:16 +0100)]
* Also put Evolution Events in the emails' From name.
Matthijs Kooijman [Sat, 9 Feb 2008 00:15:16 +0000 (01:15 +0100)]
* Change from address and X-mailer header to say Xerxes. Don't know if this will be the final name for the system, though.
Matthijs Kooijman [Sat, 9 Feb 2008 00:02:37 +0000 (01:02 +0100)]
* Also sent email notifications to lextalionis@evolution-events.nl (hardcoded for now...).
Matthijs Kooijman [Fri, 8 Feb 2008 23:52:23 +0000 (00:52 +0100)]
* Update translations.
Matthijs Kooijman [Fri, 8 Feb 2008 23:45:41 +0000 (00:45 +0100)]
* Put some useful content in the character_changed template.
* Some cosmetic fixes in the influence_changed template.
Matthijs Kooijman [Fri, 8 Feb 2008 23:22:24 +0000 (00:22 +0100)]
* Update influence_changed template to use the gapless template tag, which makes it a tiny bit more readable.
Matthijs Kooijman [Fri, 8 Feb 2008 23:15:52 +0000 (00:15 +0100)]
* Modify the gapless template tag to preserve wanted empty lines (marked with \\)
Matthijs Kooijman [Fri, 8 Feb 2008 23:01:14 +0000 (00:01 +0100)]
* Add the gapless template tag from djangosnippets.org/snippets/569/.
Matthijs Kooijman [Fri, 8 Feb 2008 22:27:21 +0000 (23:27 +0100)]
* Only show the list of influences when there are any characters.
Matthijs Kooijman [Fri, 8 Feb 2008 22:22:43 +0000 (23:22 +0100)]
* Disallow adding influences for other users' characters.
Matthijs Kooijman [Fri, 8 Feb 2008 21:54:55 +0000 (22:54 +0100)]
* Update translations.
Matthijs Kooijman [Fri, 8 Feb 2008 21:54:00 +0000 (22:54 +0100)]
* Restructure HTML, add a link to the main EE CSS and add some other CSS (Brenda).
Matthijs Kooijman [Fri, 8 Feb 2008 21:52:25 +0000 (22:52 +0100)]
* Add some helpful text above the add influence form.
Matthijs Kooijman [Fri, 8 Feb 2008 21:51:59 +0000 (22:51 +0100)]
* Change some whitespace.
Matthijs Kooijman [Fri, 8 Feb 2008 21:44:50 +0000 (22:44 +0100)]
* Add wrappers around the generic views, so we can add the @login_required decorator.
Matthijs Kooijman [Fri, 8 Feb 2008 21:26:18 +0000 (22:26 +0100)]
* Make the verbose name of Influence.contact more verbose.
Matthijs Kooijman [Fri, 8 Feb 2008 20:52:48 +0000 (21:52 +0100)]
* Add a message to the login screen.
Matthijs Kooijman [Fri, 8 Feb 2008 20:50:09 +0000 (21:50 +0100)]
* Remove the absolute path from the import script.
Matthijs Kooijman [Fri, 8 Feb 2008 20:02:26 +0000 (21:02 +0100)]
* Add login_required decorator to some views.
Matthijs Kooijman [Fri, 8 Feb 2008 19:49:33 +0000 (20:49 +0100)]
* Put the extends tag before the load tag in the login template.
root [Fri, 8 Feb 2008 19:44:11 +0000 (20:44 +0100)]
* Add a view that redirects / to /influences/.
root [Fri, 8 Feb 2008 19:43:18 +0000 (20:43 +0100)]
* Add a BASE_DIR setting, that gets filled based on __file__.
* Remove hardcoded absolute paths from settings and urlconf.
Matthijs Kooijman [Thu, 7 Feb 2008 19:34:31 +0000 (20:34 +0100)]
* Add import script to import persons from the old system.
Matthijs Kooijman [Thu, 7 Feb 2008 19:24:20 +0000 (20:24 +0100)]
* Add a UserProfile class to store stuff about users.
Matthijs Kooijman [Thu, 7 Feb 2008 17:32:34 +0000 (18:32 +0100)]
* Put nl as the first language in the settins.
* Put in the locale middleware in the settings, but leave it disabled for now.
Matthijs Kooijman [Thu, 7 Feb 2008 16:52:29 +0000 (17:52 +0100)]
* Format the date in the influence changed email as a dutch date (Haven't found a reliable way to do this locale specific yet...).
Matthijs Kooijman [Thu, 7 Feb 2008 16:51:35 +0000 (17:51 +0100)]
* Make the character name in influence_detail a link to the character's detail page.
Matthijs Kooijman [Thu, 7 Feb 2008 16:51:00 +0000 (17:51 +0100)]
* Add the tools app to the list of apps.
Matthijs Kooijman [Sun, 3 Feb 2008 18:33:21 +0000 (19:33 +0100)]
* Fix two spelling errors in the dutch translation.
Matthijs Kooijman [Sun, 3 Feb 2008 18:30:21 +0000 (19:30 +0100)]
* Let the add character view use RequestContext.
Matthijs Kooijman [Sun, 3 Feb 2008 18:27:57 +0000 (19:27 +0100)]
* Remove unused "message" from add character and add influence templates.
Matthijs Kooijman [Sun, 3 Feb 2008 18:25:18 +0000 (19:25 +0100)]
* Give the login and logout views a name and refer to the logout view by that name.
Matthijs Kooijman [Sun, 3 Feb 2008 18:05:59 +0000 (19:05 +0100)]
* Fix spelling error in template name
Matthijs Kooijman [Fri, 1 Feb 2008 11:31:10 +0000 (12:31 +0100)]
* Let newly created phpbb users get an unusable password.
* Add a conn.close() to prevent resource leaks.
* Remove debug output from auth.py
Matthijs Kooijman [Fri, 1 Feb 2008 11:14:35 +0000 (12:14 +0100)]
* Add a greeting to the influence_changed email.
Matthijs Kooijman [Fri, 1 Feb 2008 10:52:09 +0000 (11:52 +0100)]
* Rename email templates to .html. With any other extension, make-messages won't recognoize them as templates...
Matthijs Kooijman [Fri, 1 Feb 2008 10:51:37 +0000 (11:51 +0100)]
* Update translations.
Matthijs Kooijman [Fri, 1 Feb 2008 10:51:20 +0000 (11:51 +0100)]
* Make the option for Influence.status translatable.
Matthijs Kooijman [Fri, 1 Feb 2008 10:28:11 +0000 (11:28 +0100)]
* Make the influence changed template translatable.
Matthijs Kooijman [Fri, 1 Feb 2008 10:07:33 +0000 (11:07 +0100)]
* Improve the influence_changed email template a bit.
Matthijs Kooijman [Fri, 1 Feb 2008 10:03:50 +0000 (11:03 +0100)]
* Make the "influences for this character" list in a character detail work.
Matthijs Kooijman [Fri, 1 Feb 2008 09:25:07 +0000 (10:25 +0100)]
* Also notify the influence submitter that his influence was modified.
Matthijs Kooijman [Fri, 1 Feb 2008 09:24:05 +0000 (10:24 +0100)]
* Fix an off-by-one error when splitting an email in headers and body.
Matthijs Kooijman [Fri, 1 Feb 2008 09:23:35 +0000 (10:23 +0100)]
* Don't let influences be edited in-line in the admin, this didn't work well yet.
* Allow an Influence's result to be blank.
Matthijs Kooijman [Thu, 31 Jan 2008 17:30:55 +0000 (18:30 +0100)]
* Add a result field to Influence.
Matthijs Kooijman [Thu, 31 Jan 2008 17:30:35 +0000 (18:30 +0100)]
* Send an email to the player when a character is modified.
Matthijs Kooijman [Thu, 31 Jan 2008 17:29:29 +0000 (18:29 +0100)]
* Let notify filter out Subject and From headers from the headers in the template, else there will be two in the actual message.
Matthijs Kooijman [Thu, 31 Jan 2008 17:22:12 +0000 (18:22 +0100)]
* Add notify.py that can email a given template to given recipients (Users/Groups/addresses).
Matthijs Kooijman [Thu, 31 Jan 2008 16:39:33 +0000 (17:39 +0100)]
* Add file for misc tools, now containing make_iter to ensure something is iteratable.
Matthijs Kooijman [Thu, 31 Jan 2008 16:25:31 +0000 (17:25 +0100)]
* Add .gitignore file with some patterns.
Matthijs Kooijman [Sun, 27 Jan 2008 16:02:32 +0000 (17:02 +0100)]
* Set a default value for the character_id argument to the add view.
Matthijs Kooijman [Sun, 27 Jan 2008 15:56:09 +0000 (16:56 +0100)]
* Add the forgotten influence_detail template.
* Make the list of influences links to their detail pages.
Matthijs Kooijman [Sun, 27 Jan 2008 15:51:12 +0000 (16:51 +0100)]
* Add a few fields to the influences list in the admin.
Matthijs Kooijman [Sun, 27 Jan 2008 15:43:50 +0000 (16:43 +0100)]
* Use the Influence summary, where appropriate.
* Add a detail view for Influence.
* Let both add forms redirect to the detail view for the added item after adding it.
Matthijs Kooijman [Sun, 27 Jan 2008 15:40:54 +0000 (16:40 +0100)]
* Add a summary field to Influence.
Matthijs Kooijman [Sun, 27 Jan 2008 14:47:51 +0000 (15:47 +0100)]
* Use the url function in urls.py.
* Give all views a name.
* Refer to views using the url template tag and the view name instead of hard coding.
Matthijs Kooijman [Sun, 27 Jan 2008 13:52:00 +0000 (14:52 +0100)]
* Remove vim swap file.
Matthijs Kooijman [Sun, 27 Jan 2008 13:50:02 +0000 (14:50 +0100)]
* Add a base css file.
* Add some stuff in the base template, there is now a menu and a footer.
Matthijs Kooijman [Thu, 24 Jan 2008 11:58:48 +0000 (12:58 +0100)]
* Replace all tabs with spaces.
Matthijs Kooijman [Thu, 24 Jan 2008 11:54:00 +0000 (12:54 +0100)]
* Add "Under discussion" status for influences.
* Add a filter and search bar in the admin for influences.
Matthijs Kooijman [Thu, 24 Jan 2008 11:51:03 +0000 (12:51 +0100)]
* Put the extends tag in the first line of all templates, instead of after the load i18n tag.
Matthijs Kooijman [Thu, 24 Jan 2008 11:49:49 +0000 (12:49 +0100)]
* Let django server /static in debug mode.
Matthijs Kooijman [Thu, 24 Jan 2008 11:46:40 +0000 (12:46 +0100)]
* Add "static" context processor that puts STATIC_URL_PREFIX in the context.
* Add STATIC_URL_PREFIX to settings.
Matthijs Kooijman [Thu, 24 Jan 2008 11:44:31 +0000 (12:44 +0100)]
* Let the views in influences use RequestContext, so authentication data is properly exported.
Matthijs Kooijman [Wed, 23 Jan 2008 20:40:32 +0000 (21:40 +0100)]
* Let all the influences templates extend the base template.
Matthijs Kooijman [Wed, 23 Jan 2008 20:35:21 +0000 (21:35 +0100)]
* Update translations.
Matthijs Kooijman [Wed, 23 Jan 2008 20:30:54 +0000 (21:30 +0100)]
* Mark all model names and field names in influences as translatable strings.
Matthijs Kooijman [Wed, 23 Jan 2008 20:11:44 +0000 (21:11 +0100)]
* In the add influence view, preselect the first character if it is the user's only character.
Matthijs Kooijman [Wed, 23 Jan 2008 20:11:07 +0000 (21:11 +0100)]
* Make Influence.character no longer optional.
Matthijs Kooijman [Wed, 23 Jan 2008 19:55:03 +0000 (20:55 +0100)]
* Add a forgotten add_character template.
Matthijs Kooijman [Wed, 23 Jan 2008 19:54:38 +0000 (20:54 +0100)]
* Make the character list a real character list again and move it /influences/character/.
* Make a new index at /influences/ with a list of characters and influences.
Matthijs Kooijman [Wed, 23 Jan 2008 19:22:31 +0000 (20:22 +0100)]
* Add general add influence link to character_list.
Matthijs Kooijman [Wed, 23 Jan 2008 19:18:59 +0000 (20:18 +0100)]
* Renamed character_addinfluence template to add.
Matthijs Kooijman [Wed, 23 Jan 2008 19:00:48 +0000 (20:00 +0100)]
* Make the add view pass a request to ContextModelForm.
* Make the add view prefill the character dropdown when a character id is given in the url.
* Replace some tabs with spaces.
Matthijs Kooijman [Wed, 23 Jan 2008 18:16:22 +0000 (19:16 +0100)]
* Fix link to add influence form.
Matthijs Kooijman [Wed, 23 Jan 2008 18:08:33 +0000 (19:08 +0100)]
* Add an addCharacter view to the influences app.
* Let this view and the add view use the ContextModelForm class from the previous commit.
Matthijs Kooijman [Wed, 23 Jan 2008 18:07:29 +0000 (19:07 +0100)]
* Add tools package, with some custom forms. Code borrowed from the Amelie project.
Matthijs Kooijman [Wed, 23 Jan 2008 17:48:10 +0000 (18:48 +0100)]
* Mark all strings used so far as translatable.
* Add dutch translations.
Matthijs Kooijman [Wed, 23 Jan 2008 17:24:54 +0000 (18:24 +0100)]
* Delete unused templates.