substantialnoninfringinguser
24dc7c5a0c
[svn] Photo file handling and mugshots parsing sorted.
...
Made URL settings more relative, less redundant.
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8246 by aaron @ 2/18/2009 6:45 AM
2009-05-13 05:53:37 +01:00
substantialnoninfringinguser
25b695e53d
[svn]
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8245 by aaron @ 2/17/2009 1:09 AM
2009-05-13 05:52:59 +01:00
substantialnoninfringinguser
d25fd97864
[svn] 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.
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8244 by aaron @ 2/16/2009 8:31 AM
2009-05-13 05:52:15 +01:00
substantialnoninfringinguser
cb52c47aa9
[svn] yorkshire work with tunnel integration
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8232 by julian @ 1/29/2009 11:40 PM
2009-05-13 05:48:47 +01:00
substantialnoninfringinguser
ed345f2576
[svn] 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!
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8231 by aaron @ 1/29/2009 11:02 PM
2009-05-13 05:48:10 +01:00
substantialnoninfringinguser
cdd4e685ee
[svn] cave maps to all logbook entry trips done there
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8228 by julian @ 1/24/2009 11:59 PM
2009-05-13 05:46:12 +01:00
substantialnoninfringinguser
efd4708526
[svn] I initial work at adding caveareas. (Descirprion of parts of caves)
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8226 by julian @ 1/24/2009 6:49 PM
2009-05-13 05:45:26 +01:00
substantialnoninfringinguser
98a3d44eed
[svn] fix martins front page links
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8225 by julian @ 1/24/2009 6:36 PM
2009-05-13 05:45:01 +01:00
substantialnoninfringinguser
1e1453f443
[svn] Added links to front page
...
Add names for views in order to link from the main page
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8223 by julian @ 1/24/2009 3:11 PM
2009-05-13 05:44:01 +01:00
substantialnoninfringinguser
aeef470c6d
[svn] Survey table improvements, added calendar to urls
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8201 by aaron @ 1/19/2009 7:19 AM
2009-05-13 05:40:35 +01:00
substantialnoninfringinguser
0ba4dd4ef4
[svn] survey block object
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8199 by julian @ 1/19/2009 12:22 AM
2009-05-13 05:39:52 +01:00
substantialnoninfringinguser
0f5109cb09
[svn] new person expedition
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8189 by julian @ 1/18/2009 7:50 PM
2009-05-13 05:38:18 +01:00
substantialnoninfringinguser
f229ff35f9
[svn] Julian playing with the logbooks and expoyears
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8180 by julian @ 1/18/2009 3:59 PM
2009-05-13 05:35:59 +01:00
substantialnoninfringinguser
832f1f53c6
[svn] Modifications to allow survey files to be pulled from another server. By providing directory listing and download functions,. which could also be used by tunnel
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8172 by julian @ 1/17/2009 11:25 PM
2009-05-13 05:34:33 +01:00
substantialnoninfringinguser
8d13864181
[svn] julian's quick makework and index page
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8169 by julian @ 1/17/2009 7:46 PM
2009-05-13 05:33:29 +01:00
substantialnoninfringinguser
b2366cfe11
[svn] Got rid of ugly old design; brought in ugly new design. This one works a little better, still needs a lot of work.
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8164 by aaron @ 1/17/2009 7:11 AM
2009-05-13 05:31:44 +01:00
substantialnoninfringinguser
f02c91901c
[svn] More work on survey images parser and virtual survey binder. Renamed expedition_year field of Survey model to expedition because this makes more sense.
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8163 by aaron @ 1/16/2009 7:50 PM
2009-05-13 05:31:21 +01:00
substantialnoninfringinguser
67f24d76ae
[svn]
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8162 by aaron @ 1/16/2009 2:47 AM
2009-05-13 05:30:59 +01:00
substantialnoninfringinguser
c6cce8d2fe
[svn] 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.
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8152 by aaron @ 1/15/2009 6:22 AM
2009-05-13 05:27:43 +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
1d8f647699
[svn]
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8092 by aaron @ 12/9/2008 6:58 PM
2009-05-13 05:24:21 +01:00
substantialnoninfringinguser
3d7a5b15ad
[svn] undo stupid change
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8091 by aaron @ 12/9/2008 6:51 PM
2009-05-13 05:24:10 +01:00
substantialnoninfringinguser
17ae38f109
[svn]
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8090 by aaron @ 12/9/2008 5:45 PM
2009-05-13 05:23:59 +01:00
substantialnoninfringinguser
89ea3a5106
[svn] Try and sort out settings mess.
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8087 by aaron @ 12/9/2008 4:48 AM
2009-05-13 05:23:25 +01:00
substantialnoninfringinguser
2aeabf14c1
[svn] whoops, no slash
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8086 by aaron @ 12/9/2008 2:05 AM
2009-05-13 05:23:13 +01:00
substantialnoninfringinguser
5867432965
[svn] Trying to fix framos troggle
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8085 by aaron @ 12/9/2008 2:01 AM
2009-05-13 05:23:02 +01:00
substantialnoninfringinguser
c06585b3e8
[svn] Remove MEDIA_ROOT from settings.py because it belongs in local settings, and comment out urlconf line for unfinished edit form which I haven't checked in.
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8082 by aaron @ 12/8/2008 5:10 AM
2009-05-13 05:22:26 +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
5e6bf2436d
[svn] Removed troggle from urls
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8075 by julian @ 11/8/2008 3:37 PM
2009-05-13 05:20:53 +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
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
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