Commit Graph

163 Commits

Author SHA1 Message Date
cucc
0dedf19a4c [svn r8335] Fixes to deal with reorganization of expo surveys repository. Now that survey scans and Surveys.csv are in different directories, we have two settings variables, settings.SURVEYS for the root of the survey repo, and settings.SURVEY_SCANS for the surveyscans directory.
Fixed tab / indent muck in surveys parser. Commented out some "file abstraction" stuff for the time being.
2009-05-10 09:26:36 +02:00
cucc
bc509a19b1 [svn r8334] Improve registration system.
Add jquery fade effects and quick search.
2009-05-10 07:23:55 +02:00
cucc
229c725aee [svn r8333] 2009-05-08 22:20:30 +02:00
cucc
b451720a25 [svn r8332] 2009-05-08 22:17:52 +02:00
cucc
424f9fb7a9 [svn r8331] Interface improvements. Code will need some cleaning up. 2009-05-08 22:16:57 +02:00
cucc
5e78ef50f5 [svn r8328] 2009-05-03 08:33:21 +02:00
cucc
6f82f7f0e6 [svn r8327] fix it for real this time 2009-05-03 08:18:22 +02:00
cucc
9cabd7203e [svn r8326] fix import naming mistake 2009-05-03 08:17:03 +02:00
cucc
a5b2db7206 [svn r8325] django_evolution is a nice thing to have for development (allows updating db with changes to models without wiping whole tables) but for development and not deployment. 2009-05-03 08:11:37 +02:00
cucc
c24359cb87 [svn r8324] Weeks of local changes.
- Import is now non-destructive
- Parsers write output to a log file (path be specified in settings)
- databaseReset.py content been divided into separate functions which can be called for varying levels of deletion and importing
- control panel (view, template, urlpattern) added for deleting and importing
- Logins and signup fixed
- CaveArea model updated, view, hierarchical url patterns, and beginning of template added
- New site style
2009-05-03 07:56:03 +02:00
aaron
a9e0e33d0f [svn r8316] Persontrip wikilinks not ready yet 2009-03-30 19:26:02 +02:00
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
9150ee1229 [svn r8267] revert some of the changes (href element) so that the links work 2009-03-11 11:44:15 +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
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
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
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