summaryrefslogtreecommitdiffstats
path: root/settings.py
Commit message (Collapse)AuthorAgeFilesLines
* Just removing dud whitespacedjango-1.10Sam Wenham2020-02-241-23/+23
|
* Part one of getting troggle to work with django 1.10Sam Wenham2019-07-161-12/+26
| | | | Major rework of how survex is processed
* Backed out changeset: 4552f42bdf54Sam Wenham2019-06-261-1/+1
|
* Remove this stupid hard coded name matchSam Wenham2019-06-261-1/+1
|
* Add expo.survex.com to ALLOWED_HOSTS in troggle settingsexpo on server2019-06-261-1/+1
|
* Add SURVEX_TOPNAME (top-level survex file) as a setting item in settings.py ↵expo on server2019-06-261-0/+3
| | | | so it's not hardcoded.
* Move cave and entrance data out of 'noinfo'expoonserver2019-04-011-2/+2
|
* Make the logbook parser a little more saneSam Wenham2019-03-061-0/+34
| | | | | | Move the parser to expo mapping to settings Set a default parser Iterate over the expo years rather than the mapping list!
* Stop django moaning about unit tests from pre 1.6, like we have any anyway!Sam Wenham2019-02-241-0/+2
|
* Django 1.7 mostly working. Big refactor so probably bugsSam Wenham2018-04-151-18/+32
|
* Clean up indenting in modelsSam Wenham2018-04-141-0/+3
| | | | add registration required modules
* Upgrade to django 1.5, some functions have been changedSam Wenham2018-04-111-0/+1
| | | | | url in templates now requires quotes roung the first arg USE_TZ added
* Import Image from PIL to support newer pythonSam Wenham2018-04-101-1/+1
| | | | import the Django registration module rather than the troggle one
* Moved notable caves to settings.py, link to a script to fix permissionsexpo2015-06-211-0/+2
|
* Prospecting guide and images and few minor other things.expo2013-08-011-2/+2
|
* Add support for old and new (1.4 on) location for auth module.wookey2013-07-021-1/+6
|
* Add csrf token to registration formswookey2013-07-021-6/+1
|
* Start to change dataformat for caves, along with there editing. Start to ↵Martin Green2012-06-101-0/+2
| | | | change survex reader to cope better with equates/tags.
* Removed conversion to wiki, replaced Surveystation models with text, added ↵Martin Green2011-07-111-0/+1
| | | | area 1623 to all relevant caves.
* Get CSRF middleware to work on django 1.1- and 1.2+Martin Green2011-05-021-1/+7
|
* settings.PUBLIC_SITE, login required if public for logbook entry, CRCF ↵Martin Green2011-05-021-0/+1
| | | | middleware
* Added variables to configure TinyMCEMartin Green2011-05-011-1/+11
|
* [svn] override save for CaveDescriptions to scan qm wikilinks and add into ↵substantialnoninfringinguser2009-07-111-1/+1
| | | | the manytomany field linked_qms
* [svn] Remove old subcave model, along with mptt and feincms. Also move ↵substantialnoninfringinguser2009-07-041-2/+0
| | | | OtherCaveNames admin representation to an inline in Cave.
* [svn] Change to get js in admin work for feincmsmartin speleo2009-07-041-1/+1
|
* [svn]substantialnoninfringinguser2009-07-031-0/+2
|
* [svn] Renaming troggle.expo to troggle.core. To do this, used:substantialnoninfringinguser2009-07-021-3/+3
| | | | | | perl -p -i -e "s/expo(?=[\s\.']+)/core/g" `find -name \*.py` and then manually checked each change (had to remove a couple)
* [svn] Updates to allow subcave tree with nice admin.substantialnoninfringinguser2009-05-211-0/+2
|
* [svn]substantialnoninfringinguser2009-05-191-1/+1
|
* [svn] semi ugly hack...substantialnoninfringinguser2009-05-151-2/+4
|
* [svn] Add: new generic object list template object_list.html, and ↵substantialnoninfringinguser2009-05-151-8/+6
| | | | convenience filter named "link" for making links from objects, and make expeditions list page using those two. Also, fixed survey parsing in databaseReset.py
* [svn] localsettings should override settings, so the import should be at the ↵substantialnoninfringinguser2009-05-141-1/+2
| | | | bottom of the file, unless someone has a better way of doing this
* [svn]substantialnoninfringinguser2009-05-141-4/+6
|
* [svn] Made the subcaves work! Now we just have to figure out how to parse ↵substantialnoninfringinguser2009-05-131-1/+1
| | | | | | them... Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8343 by cucc @ 5/11/2009 6:36 AM
* [svn]substantialnoninfringinguser2009-05-131-1/+1
| | | | Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8342 by cucc @ 5/11/2009 3:23 AM
* [svn] django-evolution is optional so shouldn't be in main settingssubstantialnoninfringinguser2009-05-131-1/+1
| | | | Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8340 by cucc @ 5/11/2009 3:18 AM
* [svn] Dynamic thumbnail generation for photos and survey scans using ↵substantialnoninfringinguser2009-05-131-3/+4
| | | | | | imagekit, further improving registration system, other misc. Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8336 by cucc @ 5/10/2009 11:05 PM
* [svn] django_evolution is a nice thing to have for development (allows ↵substantialnoninfringinguser2009-05-131-1/+1
| | | | | | updating db with changes to models without wiping whole tables) but for development and not deployment. Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8325 by cucc @ 5/3/2009 6:11 AM
* [svn] Weeks of local changes.substantialnoninfringinguser2009-05-131-1/+2
| | | | | | | | | | | - 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 Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8324 by cucc @ 5/3/2009 5:56 AM
* [svn]substantialnoninfringinguser2009-05-131-1/+1
| | | | Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8312 by aaron @ 3/27/2009 7:32 PM
* [svn] Smart url joiningsubstantialnoninfringinguser2009-05-131-5/+5
| | | | Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8311 by aaron @ 3/27/2009 4:11 PM
* [svn] Temporary fix for double slash problemsubstantialnoninfringinguser2009-05-131-1/+2
| | | | Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8310 by aaron @ 3/27/2009 3:58 PM
* [svn] Further attempts to make troggle work on windows using surveys stored ↵substantialnoninfringinguser2009-05-131-1/+1
| | | | | | | | | | | 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 Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8262 by julian @ 3/2/2009 1:30 AM
* [svn] Not ready for these yet.substantialnoninfringinguser2009-05-131-2/+2
| | | | Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8257 by aaron @ 2/23/2009 1:11 PM
* [svn] Fixing what I broke.substantialnoninfringinguser2009-05-131-0/+2
| | | | Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8256 by aaron @ 2/23/2009 1:05 PM
* [svn] Photo file handling and mugshots parsing sorted.substantialnoninfringinguser2009-05-131-1/+7
| | | | | 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
* [svn] My crusade to make our project more Djangoic.substantialnoninfringinguser2009-05-131-1/+1
| | | | | | | | | 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
* [svn] Add user registration and user profiles.substantialnoninfringinguser2009-05-131-0/+10
| | | | | | | | | 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
* [svn] Changed admin media prefix and enabled smart slash addingsubstantialnoninfringinguser2009-05-131-1/+1
| | | | Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8170 by julian @ 1/17/2009 8:35 PM
* [svn] Try and sort out settings mess.substantialnoninfringinguser2009-05-131-10/+0
| | | | Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/, rev. 8087 by aaron @ 12/9/2008 4:48 AM