Commit Graph

1577 Commits

Author SHA1 Message Date
aaron
5876ccd5fc [svn r8315] I worked on the trip_report view for a while before realizing it would be easier to just customize the LogbookEntry admin view to achieve the same effect. I never meant to commit it, but it snuck in to the urls.py 2009-03-30 09:50:56 +02:00
aaron
c9d1b31207 [svn r8314] Added wikilink hints to logbook admin page. Also added some inlines in admin
Change get_absolute_url methods to use reverse() to decouple from urlconf.
2009-03-30 09:24:17 +02:00
aaron
5438ce9d60 [svn r8313] Decoupled get_absolute_url methods from urlconf by using reverse() 2009-03-30 08:12:50 +02:00
aaron
0a0abd4f6e [svn r8312] 2009-03-27 20:32:07 +01:00
aaron
e614e86d85 [svn r8311] Smart url joining 2009-03-27 17:11:41 +01:00
aaron
4ce8ca0a5e [svn r8310] Temporary fix for double slash problem 2009-03-27 16:58:03 +01:00
aaron
d4bf076890 [svn r8309] Mistake in get_absolute_url for LogbookEntry 2009-03-16 21:22:00 +01:00
aaron
333705092f [svn r8308] Logbook entries are now at /YYYY-MM-DD/slug .
Try editing a logbook entry title in the admin now. The django built in auto slug field is fun and javascripty.
2009-03-16 20:27:52 +01:00
aaron
6f62771552 [svn r8307] Up to late programming last night and forgot that not all logbookentries will have caves attached. The function I wrote for making the "add a qm link" was breaking stuff.
Fixed now.
2009-03-16 19:09:26 +01:00
aaron
5c84cc7674 [svn r8306] Revert change that won't work until we upgrade to django 1.1 2009-03-16 10:00:09 +01:00
aaron
bcd223bc71 [svn r8305] Added QM wiki markup. The format is [[cave:204 QM:2005-04A]] with the grade (A) being optional. The links color red if the QM does not exist, and in that case clicking on them goes to an admin add page with fields prepopulated.
Various other little things, e.g. filled in the footer with links.
2009-03-16 09:53:24 +01:00
aaron
e57ac77f24 [svn r8304] 2009-03-16 00:12:48 +01:00
julian
61e59bdd83 [svn r8303] fix year links 2009-03-15 23:44:40 +01:00
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