Commit Graph

2264 Commits

Author SHA1 Message Date
aaron
6c00de179d [svn r8302] Revert part of my revert of Julian's revert! This was a harmless change. 2009-03-14 22:47:58 +01:00
aaron
8d7df20718 [svn r8279] Although I find the notability thing strange and a little offensive, I didn't mean to break it.
Fixed now.
2009-03-14 18:36:14 +01:00
aaron
cb70d8a0cb [svn r8278] typo dammit 2009-03-14 17:20:51 +01:00
aaron
288df22e31 [svn r8277] 2009-03-14 17:09:41 +01:00
aaron
330ff681aa [svn r8276] No go... maybe this will help? At a loss here... 2009-03-14 09:59:48 +01:00
aaron
0345d4d7f0 [svn r8275] Framos version is giving syntax error at line 1 of view_surveys.py
I don't see why it is a syntax error, but might as well change that line to the correct import statement and see if that helps.
2009-03-14 09:56:42 +01:00
aaron
97c9772696 [svn r8274] Reverted the reverts from 8267. Fixed the next / previous trip in personexpedition on the LogbookEntry template -- I had misunderstood what this was supposed to do last time I messed with it. This involved adding the methods PersonTrip.get_persons_next_trip and persons_previous_trip. Couldn't find any other broken things.
Kept the productive changes in 8267: extending the logbook parsing back to 1993, changing index page, changes to view_surveys.py
2009-03-14 09:38:55 +01:00
aaron
a2057e63f5 [svn r8273] Make qm table export script work 2009-03-14 05:16:00 +01:00
aaron
5ad01940f7 [svn r8272] Make cavetab output actually work. 2009-03-13 20:31:13 +01:00
aaron
811b0ab397 [svn r8271] fix my typo 2009-03-13 18:35:29 +01:00
aaron
4a9ebece31 [svn r8270] Got QM pages working.
Started scripts for exporting to old expo format.
2009-03-12 15:47:34 +01:00
aaron
17a7302afb [svn r8269] Got QM pages working.
Started scripts for exporting to old expo format.
2009-03-12 15:22:21 +01:00
julian
f96195cdab [svn r8268] parsing logbooks back to 1993 2009-03-11 11:44:38 +01:00
julian
9150ee1229 [svn r8267] revert some of the changes (href element) so that the links work 2009-03-11 11:44:15 +01:00
edvin
92595a9a87 [svn r8266] updating 2009-03-10 10:17:51 +01:00
edvin
98d954f76e [svn r8265] updating 2009-03-04 12:49:41 +01:00
edvin
624daa131f [svn r8264] updating 2009-03-04 12:42:54 +01:00
edvin
8f3f0a9014 [svn r8263] updating 2009-03-04 12:22:02 +01:00
julian
8473c4a2c3 [svn r8262] Further attempts to make troggle work on windows using surveys stored on an external server
settings.PHOTOS changed to setting.PHOTO_ROOT
Made databaseReset.py get info from external server if appropriate (hope this did not break linus disk based scripts)
Still needs more work, to get everything working
Auto create photos directory if it does not already exist
2009-03-02 02:30:45 +01:00
aaron
f5fdfe3793 [svn r8260] Added new abstract base class TroggleModel. Any fields or methods that need to be added to multiple models should be added here.
Added edit links to caves, people, logbook entries, and people.
2009-02-26 06:28:04 +01:00
edvin
1df47edb4c [svn r8259] updating 2009-02-24 17:29:21 +01:00
edvin
1859fe755c [svn r8258] updating 2009-02-24 17:06:56 +01:00
aaron
d19c51daa0 [svn r8257] Not ready for these yet. 2009-02-23 14:11:39 +01:00
aaron
292985f46f [svn r8256] Fixing what I broke. 2009-02-23 14:05:59 +01:00
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