Commit Graph

463 Commits

Author SHA1 Message Date
wookey
0dfbd1c84f Add csrf token to registration forms 2013-07-02 17:26:35 +01:00
Wookey
ca1a1dfb97 parsing_log should not be saved in the vcs 2013-07-02 00:49:07 +01:00
Wookey
c3bde999c1 Don't explode if a master survex file is not found for a directory -
that shouldn't cause total failure to read the database in.
2013-07-02 00:47:42 +01:00
wookey
97c7a2fd87 Add 'people' option to DatabaseReset.py, to read in just the folk list after update.
Not sure that it actually works mind...
2013-07-02 00:34:58 +01:00
wookey
ce249ab957 Set title to show 1976-2013
Put quick link to 2011 back as that one works
2013-07-02 00:33:53 +01:00
wookey
81d9d7533e Add a function for running people parser
And comments on how logbooks can't be read in until 'year' exists in database
2013-06-25 15:59:19 +01:00
wookey
badb93fcde Add note on how to create a new year in troggle. 2013-06-25 15:56:19 +01:00
wookey
8badd8b556 Removed asserts which meant that if any 'odd' .svx files, or directories
with no obvious 'controlling' svx file, were added to the dataset then the
survex viewer code exploded and the website didn't work.

It's wrong that adding a new cave with an oddly-named .svx file can break
the website in this way, so these asserts are wrong.
2013-06-24 23:32:12 +01:00
wookey
00bd49ef2c Add parsing_log.txt to the files ignored by the VCS. 2013-06-24 23:29:14 +01:00
wookey
261ff3cdae Add help command and usage info to databaseReset.py 2013-06-24 01:31:14 +01:00
wookey
511c379fe0 Add comment to identifycavedir function
and remove now-disused special-case filename
2013-06-24 01:30:17 +01:00
wookey
25c951b250 Change template headers to show 2012/2013 as shortcuts 2013-06-23 03:19:41 +01:00
Wookey
7437ac1d38 Add checking for compass too
Only print filenames on error by default
2013-05-22 02:33:47 +01:00
Wookey
b002ca6cc7 Add error check in place where parser died 2013-05-22 02:10:58 +01:00
wookey
fb495119ab Add some exception checking to parsers/caves.py so that missing entrance
slugs don't blow up the import. Also reduce the noise, so
you just get a warning about missing slugs printed out
2012-09-24 23:23:38 +01:00
wookey
631ac20c12 Add debug for which entrance file was being read so we get a clue where to look when 'databasereset newcaves' falls over 2012-09-24 22:38:35 +01:00
Wookey
6060ae1c08 Add some debug to cave parser as it's easy to make it fail
e.g. by referring to slugs that don't exist.
2012-09-24 22:29:18 +01:00
expoonserver
e2c6845ae0 Remove jgtfile URLs (presumably no longer needed) 2012-09-08 01:12:17 +01:00
Martin
71289d9b0f Merge 2012-08-14 23:49:26 +02:00
Martin
25a73c4ab7 Bug fixing of cave and entrance forms removal of slugs 2012-08-14 22:51:15 +02:00
Martin
a4f9f5bb5a ignore files ending in ~ 2012-08-14 15:31:34 +02:00
Martin
29c2c5f88d added entrance locations 2012-08-14 15:08:08 +02:00
Martin
532b8e064b fixed spelling 2012-08-14 15:06:18 +02:00
Martin
951f88a59a allow extensions to be capatalised 2012-08-14 15:05:15 +02:00
expo
28047277f1 Started removing foreignkeys to caves, to achieve greater flexability. Some log book entries stuff may be broken. Add ability to make new caves and entrances via website. 2012-08-12 19:10:23 +02:00
Martin Green
5ff163efaa Prospecting template 2012-08-10 19:34:44 +02:00
Martin Green
52736ca1b3 Made a prospecting guide and fixed survex station description. Removed parsing of underground descriptions to wikis. 2012-08-10 19:02:13 +02:00
expo
484f8f76cc Fixed directory names for the survey scans such that surveys could be found. It did not seem possible to simply change the localsettings.py file to get it to work. 2012-08-08 11:29:15 +02:00
expo
70a743f88b Prevent modification of auto generated files 2012-08-06 12:56:20 +02:00
expo
44eb3c0caf Editing no longer changes files more than nesecary. Removed TinyMCE editing. /Sumbit/Submit 2012-08-06 12:19:48 +02:00
expo
c221b75afc Fix broken markup 2012-08-05 21:37:46 +02:00
expo
b2fc3dd35b Fixed cave order 2012-08-05 19:28:34 +02:00
expo
2208f0748b Fixed cave order 2012-08-05 19:26:24 +02:00
expo
0785455bac FIx base template so admin link, expoweb link work and use consistent base URL 2012-08-05 02:33:48 +02:00
expo
742848409b Note that the instructions for adding a survey are all wrong. 2012-08-05 00:35:02 +02:00
expo
0c20ef2a04 Fix up parser paths so everything is found 2012-08-05 00:26:05 +02:00
Martin Green
833ddeef8b Merge 2012-06-10 17:24:10 +01:00
Martin Green
d37001962b no need to export to cavetab2 anymore 2012-06-10 17:22:50 +01:00
ExpoOnServer
6ba6f108ab merge 2012-06-10 17:21:26 +01:00
ExpoOnServer
0fabcaedf8 no need to export cavetab2 anymore 2012-06-10 17:20:57 +01:00
Martin Green
f369f34c8f update caves from new cave file format not cavetab2.csv 2012-06-10 17:16:33 +01:00
Martin Green
0d346c80f7 Merge 2012-06-10 16:56:44 +01:00
Martin Green
19055d01fb New parser for new cave format 2012-06-10 16:56:12 +01:00
ExpoOnServer
00c0358855 Looks like photos have been added by editing urls.py. 2012-06-10 16:19:17 +01:00
Martin Green
9024520184 Start to change dataformat for caves, along with there editing. Start to change survex reader to cope better with equates/tags. 2012-06-10 14:59:21 +01:00
Martin Green
52620ea1c5 Editing for entrances along with caves
More detailed display of entrances
2012-05-23 09:23:40 +01:00
Martin Green
599c59454a Render a cave editing page. Nb it does not do save anything yet. 2012-01-07 19:05:25 +00:00
Wookey
8222ed3b6a merge from upstream 2011-09-15 12:13:07 +01:00
Wookey
58a2f5340b Add 2010 and 2011 logbooks to parsing list (can we make this auto
somehow - by agreeing a logbook format, or letting it guess)?
2011-09-15 12:12:18 +01:00
expo
378ddfe96d branch merge 2011-09-02 03:39:20 +02:00