Commit Graph

22 Commits

Author SHA1 Message Date
substantialnoninfringinguser
b7bf1b37ac [svn] 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.
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8150 by aaron @ 1/4/2009 2:06 PM
2009-05-13 05:26:14 +01:00
substantialnoninfringinguser
f525235e94 [svn] Fix plurals because they're starting to get on my nerves!
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8095 by aaron @ 12/31/2008 5:07 PM
2009-05-13 05:25:39 +01:00
substantialnoninfringinguser
7aee3fb920 [svn] 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.
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8094 by aaron @ 12/31/2008 2:59 AM
2009-05-13 05:25:17 +01:00
substantialnoninfringinguser
8c818906b5 [svn] 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).
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8093 by aaron @ 12/13/2008 11:17 PM
2009-05-13 05:24:37 +01:00
substantialnoninfringinguser
ebbebfd81d [svn] Fix settings reference.
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8089 by aaron @ 12/9/2008 8:49 AM
2009-05-13 05:23:48 +01:00
substantialnoninfringinguser
315a4ce2c7 [svn]
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8083 by aaron @ 12/8/2008 5:17 AM
2009-05-13 05:22:38 +01:00
substantialnoninfringinguser
29984ff15a [svn] Added cave and logbook search, collapsible footer navbar, useless statistics page. Also fixed broken css. Toying with forms but not committing those yet.
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8081 by aaron @ 12/8/2008 4:28 AM
2009-05-13 05:22:14 +01:00
substantialnoninfringinguser
469a520e5c [svn] Generalised the way dates are stored, and added a personRole and Role field
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8079 by julian @ 11/8/2008 11:27 PM
2009-05-13 05:21:39 +01:00
substantialnoninfringinguser
5757df28a1 [svn] Added survex persons to admin site
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8078 by julian @ 11/8/2008 11:24 PM
2009-05-13 05:21:27 +01:00
substantialnoninfringinguser
fa6bf04522 [svn] Djangoed Julians code
added underscores to field names
turned __str__ to __unicode__
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8076 by julian @ 11/8/2008 6:24 PM
2009-05-13 05:21:05 +01:00
substantialnoninfringinguser
71b9468677 [svn] Use URL_ROOT for links
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8074 by julian @ 11/7/2008 9:12 AM
2009-05-13 05:20:43 +01:00
substantialnoninfringinguser
a8ad3a3b1e [svn] long putting in
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8065 by julian @ 11/7/2008 2:08 AM
2009-05-13 05:19:07 +01:00
substantialnoninfringinguser
f5ddbafcb0 [svn] Wiki_markup imporved to include paragraphs
wiki_to_html should be used when the field will include paragraphs
wiki_to_html_short should be used when the field will not include paragraphs
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8061 by julian @ 11/6/2008 11:24 PM
2009-05-13 05:18:26 +01:00
substantialnoninfringinguser
64f0b54275 [svn] Added date field
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8053 by julian @ 11/2/2008 11:15 PM
2009-05-13 05:17:06 +01:00
substantialnoninfringinguser
7ddc730ad0 [svn] Increased maximum length of some of the fields to fit with the cavetab data
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8050 by julian @ 11/2/2008 11:10 PM
2009-05-13 05:16:33 +01:00
substantialnoninfringinguser
32e1e6b9ab [svn] make the person logbooks work
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8044 by julian @ 10/30/2008 1:13 PM
2009-05-13 05:15:49 +01:00
substantialnoninfringinguser
01cd961229 [svn] 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.
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8042 by aaron @ 10/28/2008 10:21 PM
2009-05-13 05:15:20 +01:00
substantialnoninfringinguser
dde16108dd [svn] This file was created on Seagrass, but it looks like someone forgot to add it to the repo so I SCP'd it to my laptop and added it.
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8040 by aaron @ 10/27/2008 6:04 PM
2009-05-13 05:14:51 +01:00
substantialnoninfringinguser
18f6731b5b [svn] add personindex templates
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8038 by julian @ 10/27/2008 12:36 AM
2009-05-13 05:14:28 +01:00
substantialnoninfringinguser
a33700ca1e [svn] we can parse one 2004 logbook in here. corrections made to folk.csv
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8036 by julian @ 10/26/2008 11:27 PM
2009-05-13 05:14:03 +01:00
substantialnoninfringinguser
302f4a1a0f [svn]
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8035 by julian @ 10/26/2008 9:46 PM
2009-05-13 05:13:51 +01:00
substantialnoninfringinguser
b503d3d588 [svn] Initial troggle checkin
This is a development site using Django 1.0
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8034 by julian @ 10/26/2008 9:04 PM
2009-05-13 05:13:38 +01:00