Commit Graph

31 Commits

Author SHA1 Message Date
aaron
95d6ae7011 [svn r8154] Whoops, commented out lines with were just for my local debugging. 2009-01-15 20:32:41 +01:00
aaron
083b5a3f1d [svn r8152] Add beginnings of virtual survey binder: new Survey and ScannedImage models, survey parser. Still has lots of problems, but I need some help with the file upload aspect so am committing now. Biggest problem is trying to call save() on the images from the API. It needs arguments that I don't understand. Also, the # in our survey paths was causing trouble. I worked around this with a correctURL method which urlencodes the actual URL, but admin still tries to use a URL with a # in it. 2009-01-15 07:22:54 +01:00
aaron
96288429f3 [svn r8151] Undo some changes that were only meant for my local use. 2009-01-07 05:50:55 +01:00
aaron
785a130d0c [svn r8150] Added new photo model.
Logbook parser now looks for mugshots when adding people. If it finds an image, it adds a new photo model instance linked to that person. If it finds an html page, it adds the body text of that page as the person's "blurb" and then adds the mugshot.

My interface web design isn't working, sorry. Need a blank slate on that one.
2009-01-04 15:06:01 +01:00
aaron
134c6f8694 [svn r8094] QM parser now parses Hauchhoehle QMs.py
Photo model added.

Logbook parser now puts mugshots in as photo models, and descriptions from the old folk html pages in as "blurbs" on the person model.

Experimented with eye candy and a random logbook quote generator.
2008-12-31 03:59:15 +01:00
aaron
7a4f8987f8 [svn r8093] Added QM model and parser. Had to merge models_cave.py and models_logbooks.py into models.py. This is because logbook entries now have an optional foreign key to caves, and QMs have a required foreign key to a logbook entry of the trip that created them. So, the two files became circularly dependent.
Also, the urls for the person model now allow lookups using their actual first and last name in the url instead of the primary key. We should do similar things for all models, maybe even using the url as a search which results in a page with multiple model instance results if the input is ambiguous (e.g. they only enter a first name).
2008-12-14 00:17:33 +01:00
aaron
97332b8103 [svn r8081] Added cave and logbook search, collapsible footer navbar, useless statistics page. Also fixed broken css. Toying with forms but not committing those yet. 2008-12-08 05:28:03 +01:00
julian
503d00db90 [svn r8077] *teams and *date identified and scrapped 2008-11-09 00:23:27 +01:00
julian
b85c962575 [svn r8076] Djangoed Julians code
added underscores to field names
turned __str__ to __unicode__
2008-11-08 19:24:03 +01:00
julian
657046ca8c [svn r8071] convert unfound files to lower case and try again 2008-11-07 09:55:37 +01:00
julian
abcd18531d [svn r8069] going back now works 2008-11-07 03:31:52 +01:00
julian
5f18df3822 [svn r8068] going back now works 2008-11-07 03:30:53 +01:00
julian
e8b493d070 [svn r8067] remove nonasc 2008-11-07 03:25:00 +01:00
julian
c057ec34f3 [svn r8066] quick 2008-11-07 03:09:23 +01:00
julian
9e26b652b2 [svn r8065] long putting in 2008-11-07 03:08:47 +01:00
julian
d5f15a98e2 [svn r8063] Converted <p> tags to wiki style "\n\n"
Tidied header
2008-11-07 00:29:38 +01:00
julian
91f24887ab [svn r8059] forgotten 2008-11-06 22:29:46 +01:00
julian
00dbc91314 [svn r8056] Moved up a directory 2008-11-03 00:19:53 +01:00
julian
c2876c0b64 [svn r8054] Removed last of the sqlite save hack
Started to add reading of dates
Changed character encoding code so it works
2008-11-03 00:17:28 +01:00
julian
65caea6e05 [svn r8051] Removed last of the sqlite save hack 2008-11-03 00:13:04 +01:00
julian
233f376608 [svn r8047] more parsing back to 2002 2008-10-31 15:43:57 +01:00
julian
727c2994fb [svn r8044] make the person logbooks work 2008-10-30 14:13:35 +01:00
aaron
dfebde5da1 [svn r8043] Add Martin's reset script 2008-10-29 08:35:01 +01:00
aaron
8bfa77583e [svn r8042] Add QM model. Note that I had to put models_logbook into models cave because it referred to models from both. Will try to split them back up, should be possible. 2008-10-28 23:21:35 +01:00
aaron
0575f0630e [svn r8041] Fix edit conflict screwup 2008-10-27 19:12:12 +01:00
julian
2f0f92a1f6 [svn r8039] parsing of 2007 logbook. still problems 2008-10-27 03:03:52 +01:00
julian
7dc74cf94c [svn r8038] add personindex templates 2008-10-27 01:36:06 +01:00
aaron
1577624c28 [svn r8037] Commented out sqlite reference for use on other databases 2008-10-27 01:01:42 +01:00
julian
9ee6f4668b [svn r8036] we can parse one 2004 logbook in here. corrections made to folk.csv 2008-10-27 00:27:31 +01:00
julian
4fc413a570 [svn r8035] 2008-10-26 22:46:49 +01:00
julian
8bccfd9ed8 [svn r8034] Initial troggle checkin
This is a development site using Django 1.0
2008-10-26 22:04:06 +01:00