Commit Graph

8190 Commits

Author SHA1 Message Date
aaron
40e47f368b [svn r8255] 2009-02-23 05:16:50 +01:00
edvin
0c56ff0718 [svn r8254] updating 2009-02-22 18:32:58 +01:00
edvin
1d64f88c74 [svn r8253] updating 2009-02-22 14:07:52 +01:00
edvin
e48532c3ec [svn r8252] updating 2009-02-22 14:02:34 +01:00
edvin
68e924e538 [svn r8251] updating sponsors 2009-02-22 13:52:41 +01:00
edvin
256c1d7f2f [svn r8250] updating sponsors 2009-02-22 13:46:42 +01:00
edvin
5e42fcb078 [svn r8249] updating people 2009-02-22 13:39:57 +01:00
edvin
2deca87072 [svn r8248] updating people 2009-02-22 13:36:54 +01:00
aaron
9c671e8ef0 [svn r8247] Enable profile setup forms.
Profiles are Person model instances, and are linked to django's built in User model by a one to one foreign key.

We are using the django-registration and django-profiles pluggables.
2009-02-18 22:35:18 +01:00
aaron
4fc8c8ae3c [svn r8246] Photo file handling and mugshots parsing sorted.
Made URL settings more relative, less redundant.
2009-02-18 07:45:45 +01:00
aaron
1baf2cc0d4 [svn r8245] 2009-02-17 02:09:11 +01:00
aaron
6776111c6e [svn r8244] My crusade to make our project more Djangoic.
Got rid of the url tags in template, replaced them with get_absolute_url method calls where possible. Adding get_absolute_url in models enables direct link to the public model views in admin. The use of get_absolute_url, which is the correct Django way of doing things, eliminates any need for the redundant "href" fields we were using. Those fields now need to be deleted from the models and from the parsers.

Made the context processor to pass settings to all templates actually work, although this was a little uglier than expected. I had to put in a new render_response to replace render_to_response. This is because Django uses Context, not RequestContext by default. I wish they would change this, it's annoying. Anyway, I deleted all the manual settings passing in the views.

I also eliminated a couple of unnecessary methods and stuff like that.
2009-02-16 09:31:26 +01:00
edvin
90df5ed2d9 [svn r8243] updating 2009 2009-02-10 09:53:56 +01:00
aaron
a8c8be509f [svn r8242] Draft of paper for ICS. 2009-02-06 07:20:54 +01:00
edvin
895c5803da [svn r8241] updating people 2009-02-01 22:14:49 +01:00
edvin
ed05c7e264 [svn r8240] updating people 2009-02-01 01:36:20 +01:00
edvin
a7b3bd7fb3 [svn r8239] updating people 2009-02-01 01:30:43 +01:00
aaron
30921804f3 [svn r8238] Now that I've put the new css up, let's use it. Should have only stuff we actually use. 2009-01-31 22:20:36 +01:00
aaron
0f2e4ebe91 [svn r8237] Had forgotten to add these. 2009-01-31 22:19:21 +01:00
julian
08ea56019d [svn r8236] make work 2009-01-30 18:40:05 +01:00
aaron
047e259551 [svn r8235] modify context so it does not pass unneeded and sensitive info in settings to templates 2009-01-30 07:57:59 +01:00
aaron
119f93255c [svn r8234] Fix "if logged in" tag.
Changed logbook template; no longer uses the redundant _next and _prev fields.
2009-01-30 05:53:02 +01:00
julian
0d0005ed66 [svn r8232] yorkshire work with tunnel integration 2009-01-30 00:40:56 +01:00
aaron
7c10fc5e39 [svn r8231] Add user registration and user profiles.
Used modified versions of django-registration and django-profiles , both on bitbucket.

The Person model is now set up as the profile for auth.User s.

I set up a requestcontext so that settings is automatically passed to every template, no need to repeat ourselves in views. However, this needs to be refined: I will soon change it to only pass a subset of settings. E.G. we do not need to be passing the DB login and password!
2009-01-30 00:02:03 +01:00
edvin
de57509780 [svn r8230] updating jobs 2009 2009-01-28 01:10:23 +01:00
edvin
756ddbc1ef [svn r8229] updating jobs 2009 2009-01-27 11:40:09 +01:00
julian
1f70991566 [svn r8228] cave maps to all logbook entry trips done there 2009-01-25 00:59:45 +01:00
julian
8068d02734 [svn r8227] Template update to use wiki_to_html_short 2009-01-24 20:40:00 +01:00
julian
af65239d6e [svn r8226] I initial work at adding caveareas. (Descirprion of parts of caves) 2009-01-24 19:49:51 +01:00
julian
ca9188bf69 [svn r8225] fix martins front page links 2009-01-24 19:36:58 +01:00
julian
c4c1520b64 [svn r8224] made index of people 2009-01-24 19:26:49 +01:00
julian
c5e59200b3 [svn r8223] Added links to front page
Add names for views in order to link from the main page
2009-01-24 16:11:44 +01:00
julian
a38de9b7eb [svn r8222] move qm to ;later 2009-01-24 15:07:36 +01:00
julian
7d9ec8009a [svn r8221] merge the trip table to have surveys by date 2009-01-24 15:01:59 +01:00
edvin
e0d941fa54 [svn r8220] updating convenience 2009-01-23 15:34:43 +01:00
edvin
2275ddace8 [svn r8219] updating convenience 2009-01-23 15:15:16 +01:00
edvin
0137c0a93b [svn r8218] updating convenience 2009-01-23 13:33:51 +01:00
edvin
4fc67e6669 [svn r8217] updating convenience 2009-01-23 13:24:42 +01:00
edvin
f75eec51c4 [svn r8216] updating convenience 2009-01-21 22:54:39 +01:00
edvin
375b2a25f4 [svn r8215] updating 234 2009-01-21 21:37:23 +01:00
edvin
372a1e94bd [svn r8214] updating 234 2009-01-21 12:35:57 +01:00
edvin
6d1a12a8cc [svn r8213] updating 234 2009-01-20 17:42:42 +01:00
edvin
79e2d94ed6 [svn r8212] adding 2009 page 2009-01-20 17:04:41 +01:00
edvin
3d12c1cd55 [svn r8211] adding 2009 page 2009-01-20 14:44:04 +01:00
aaron
841944d564 [svn r8210] calendar.html used django 1.1 {% empty %} syntax, but older version on server so I had to change it 2009-01-20 06:36:45 +01:00
aaron
a8d5cecac9 [svn r8209] fix links 2009-01-20 06:16:27 +01:00
aaron
1df7532d79 [svn r8208] wrong comment syntax 2009-01-19 23:08:35 +01:00
aaron
b49acc3fcc [svn r8207] Allow viewing of more than one survey stage at once. Also, make images float nicely but not escape content div. 2009-01-19 20:30:23 +01:00
aaron
83543ee301 [svn r8206] another import statement that caused errors on framos.lawoftheland. does work find on my machine though. Wonder what the difference is. 2009-01-19 18:59:30 +01:00
aaron
49647e5bcc [svn r8205] fixed broken import statement 2009-01-19 18:51:10 +01:00