PhilipSargent
900d46fc3a
trying to fix logging on server
2026-02-14 19:54:14 +00:00
PhilipSargent
4659519791
extend logging to the previously-ignored .php etc paths
2026-02-13 17:46:15 +00:00
PhilipSargent
55c3eb4e25
can i write to /var/log/troggle
2026-02-13 16:58:14 +00:00
PhilipSargent
9f2874f86c
can i write to /var/log/troggle
2026-02-13 16:56:09 +00:00
PhilipSargent
f563d7253b
crash on server, /var/log access ? or elsewhere??
2026-02-13 16:49:51 +00:00
PhilipSargent
3c40720a95
Now set up full Django logging for 404
2026-02-13 16:41:27 +00:00
PhilipSargent
4d5b21dfce
add URL to other kataster areas scannned details for Pending caves
2026-02-11 16:22:28 +00:00
PhilipSargent
b73ffdee50
format right justify
2026-02-10 19:14:13 +00:00
PhilipSargent
177047127c
add timestampt
2026-02-10 19:13:14 +00:00
PhilipSargent
9a47648e4a
formatting
2026-02-10 19:00:04 +00:00
PhilipSargent
10e270b8d6
reformat 404 message
2026-02-10 17:26:10 +00:00
PhilipSargent
4b4098f782
[] not .
2026-02-09 23:28:53 +00:00
PhilipSargent
457b5ef6bd
[] not .
2026-02-09 23:24:33 +00:00
PhilipSargent
e49375419d
[] not .
2026-02-09 23:23:23 +00:00
PhilipSargent
f475996a6b
remove referer
2026-02-09 23:21:47 +00:00
PhilipSargent
78c7d580fc
bugs from bots
2026-02-09 23:00:42 +00:00
PhilipSargent
640b6d8059
reject *.php etc, log more request.META data
2026-02-09 19:22:59 +00:00
PhilipSargent
0647451a02
discard *.php, /wp-admin.. etc etc
2026-02-09 19:12:21 +00:00
PhilipSargent
3b93507770
stop print msgs in cave model
2026-02-09 16:19:03 +00:00
PhilipSargent
23619f3175
stop print msgs in utils and models
2026-02-09 16:10:52 +00:00
PhilipSargent
b5d20373b0
a few missing 'pass' statements
2026-02-09 15:45:19 +00:00
PhilipSargent
a153905e15
stop print msgs many more
2026-02-09 15:38:37 +00:00
PhilipSargent
b4221e01e8
stop print msgs many
2026-02-09 15:28:05 +00:00
PhilipSargent
5b7bf62826
stop print msg
2026-02-09 14:53:46 +00:00
PhilipSargent
26c70cc8fa
stop print msg
2026-02-09 14:48:36 +00:00
PhilipSargent
fe06448d38
log all 404 as DataIssues.. will fill up database with ephemera
2026-02-09 14:32:33 +00:00
PhilipSargent
883b24e0d7
stop print msg
2026-02-09 14:25:24 +00:00
PhilipSargent
8dea7e304f
stop print msg
2026-02-09 14:16:05 +00:00
PhilipSargent
17ec91acce
debug output
2026-02-09 14:11:28 +00:00
PhilipSargent
03e1f61a9f
Trim print statements from settings to clean up logs
2026-02-09 13:14:23 +00:00
PhilipSargent
1a2dab89c9
remove QM print statements
2026-02-09 12:09:32 +00:00
PhilipSargent
0abbf06b9c
old file now deleted
2026-02-04 20:18:46 +00:00
PhilipSargent
e7ecae6295
cope with zero lat long
2026-02-04 20:18:14 +00:00
PhilipSargent
8204a40667
attempt new year signup
2026-02-01 16:10:20 +00:00
PhilipSargent
fd2f920745
SurvexPersonTeam renamed form survexpersonrole
2026-02-01 14:56:31 +00:00
PhilipSargent
c899c0749c
New year for signups - partial
2026-02-01 14:47:03 +00:00
PhilipSargent
8a0de50793
typos
2026-02-01 14:45:25 +00:00
PhilipSargent
e04554e0db
sqlite now all bulk_create, MariaDB all single
2026-01-31 20:45:53 +00:00
PhilipSargent
d41ee79606
working (qm, pr, sb)
2026-01-31 20:03:50 +00:00
PhilipSargent
b3d2b68d56
restore survexify(wallets)
2026-01-31 20:03:03 +00:00
PhilipSargent
a04652af75
remove os.path
2026-01-31 20:02:40 +00:00
PhilipSargent
c3eecdb880
sync tests to code
2026-01-31 20:02:21 +00:00
PhilipSargent
c4e2ac66b5
updated instrumentation
2026-01-31 20:02:00 +00:00
PhilipSargent
3939668e0d
We know Lucas
2026-01-31 16:53:36 +00:00
PhilipSargent
831e0a3897
known foreigner
2026-01-31 16:15:00 +00:00
PhilipSargent
f815b367f3
fix transactions on full import
2026-01-31 16:14:47 +00:00
PhilipSargent
a997b16c94
missing fields on survexblock fixed
2026-01-31 01:20:13 +00:00
PhilipSargent
0553bf72fe
fix QM loop confusion
2026-01-31 00:50:20 +00:00
PhilipSargent
83770824a5
QMs now sorted out
2026-01-31 00:40:11 +00:00
PhilipSargent
c5c9b91374
re-systematized
2026-01-31 00:24:55 +00:00
PhilipSargent
bbaf52b8b7
tidied diagnostics
2026-01-30 23:32:09 +00:00
PhilipSargent
cec59ccaa3
typo
2026-01-30 22:05:49 +00:00
PhilipSargent
0e19353f8f
condense debug prints
2026-01-30 22:04:58 +00:00
PhilipSargent
e4c5009d0a
bug
2026-01-30 20:55:57 +00:00
PhilipSargent
34ed30ce55
dammit, SB creation now failing, and that was OK before
2026-01-30 20:47:55 +00:00
PhilipSargent
c7ddd79978
sequential fallback on exceptions in bulk update
2026-01-30 20:31:07 +00:00
PhilipSargent
767e3d568c
wrap in try/except so continues
2026-01-30 19:43:44 +00:00
PhilipSargent
a72950b546
transactions boundaries relocated
2026-01-30 19:25:28 +00:00
PhilipSargent
8b1e754ded
MariaDB foibles, try to work around them
2026-01-30 05:08:06 +00:00
PhilipSargent
7c5bd1d9cc
MariaDB fix thanks to Google gemini
2026-01-30 04:29:51 +00:00
PhilipSargent
5a749ee039
bug++
2026-01-30 04:02:39 +00:00
PhilipSargent
6b012414c8
bug
2026-01-30 03:51:43 +00:00
PhilipSargent
5b91de1d13
typo
2026-01-30 03:45:53 +00:00
PhilipSargent
2141dc1eba
Fixed weird QM issues, all working
2026-01-30 03:32:15 +00:00
PhilipSargent
3e203f992e
QMs a bit dodgy, but everything else good
2026-01-30 01:54:49 +00:00
PhilipSargent
e5e960ac3f
Working. survex parsing now 2x as fast
2026-01-30 00:29:37 +00:00
PhilipSargent
89bc27b1f8
cleaned horrible hack a bit and renames
2026-01-29 23:53:15 +00:00
PhilipSargent
5152802c6b
remove poor algorithm
2026-01-29 23:07:34 +00:00
PhilipSargent
1b7798e2fc
primary key now UUID on SurvexBlock
2026-01-29 23:06:30 +00:00
PhilipSargent
7a779555ac
moved pending team setting from *date to *end
2026-01-29 13:50:31 +00:00
PhilipSargent
647e8f5698
fixed bug/exception
2026-01-29 13:04:56 +00:00
PhilipSargent
c2818b4c97
apparently working, after *fix fiasco
2026-01-29 12:29:01 +00:00
PhilipSargent
8f4ad8e72f
fixed mismatches types in stash_data_issues()
2026-01-29 11:59:23 +00:00
PhilipSargent
8455f39809
working, moved stuff around a bit, UUID
2026-01-29 11:35:54 +00:00
PhilipSargent
3783b49162
bugfix
2026-01-28 21:53:59 +00:00
PhilipSargent
b31c404d2b
caching works for survex blocks on *end pop-up
2026-01-28 21:38:33 +00:00
PhilipSargent
1a7e8c94cb
partially done bulk update
2026-01-28 19:26:23 +00:00
PhilipSargent
0d6d1fd4b6
cached parent blocks: saved to db only at the end
2026-01-28 18:54:15 +00:00
PhilipSargent
8f576c0a94
commented out cProfile code
2026-01-28 18:35:20 +00:00
PhilipSargent
76354a4c8d
removing profiling code
2026-01-28 18:33:05 +00:00
PhilipSargent
b780006dfb
profiling on only begin/end/date
2026-01-28 18:10:21 +00:00
PhilipSargent
5a1c0a2bd6
star statement detailed timing code
2026-01-28 18:00:56 +00:00
PhilipSargent
86ba377bd8
profiling
2026-01-28 16:58:56 +00:00
PhilipSargent
5c451610ba
cache expeditions - trivial
2026-01-28 16:17:26 +00:00
PhilipSargent
7b6a066b91
update only changed fields optimisation now done
2026-01-28 16:10:30 +00:00
PhilipSargent
95352a0d18
select_related added
2026-01-28 15:47:11 +00:00
PhilipSargent
d19c38ef46
tidied print
2026-01-28 15:44:08 +00:00
PhilipSargent
fa598c61ea
drop print line
2026-01-28 15:39:21 +00:00
PhilipSargent
97c6b5459a
bulk add mod. AI
2026-01-28 15:39:10 +00:00
PhilipSargent
5ffdf0c055
New year, new expo: bugs for auto-creating new expo
2026-01-27 15:41:47 +00:00
PhilipSargent
c898055cc6
add link to cave edit form
2025-12-28 14:59:27 +00:00
PhilipSargent
8f2bc70387
make fields required
2025-12-28 14:40:55 +00:00
PhilipSargent
1636fd7063
enough for now
2025-12-28 01:47:20 +00:00
PhilipSargent
441dd557eb
added more fields
2025-12-28 01:36:24 +00:00
PhilipSargent
136f9bf935
with more styling
2025-12-28 01:16:14 +00:00
PhilipSargent
8706991888
initial new prospect form
2025-12-28 00:50:36 +00:00
PhilipSargent
6fa8f24ba5
bug fix, lost import
2025-12-27 23:12:45 +00:00
PhilipSargent
3a93d10d4f
attempt to refactor *team/*dte interation
2025-12-19 01:38:50 +00:00
PhilipSargent
c58857d1e1
renaming now fixed properly
2025-12-19 01:38:21 +00:00
PhilipSargent
243796ede6
remove dead code
2025-12-18 23:50:56 +00:00
PhilipSargent
9870c00c91
tidied survex file editing error conditions
2025-12-18 23:36:24 +00:00
PhilipSargent
484698e565
postition != GPS in survex
2025-12-18 12:07:34 +00:00
PhilipSargent
9392d4a2d9
fixed tempfile bleed through
2025-12-17 22:10:32 +00:00
PhilipSargent
09a9b6e18f
clean up tests
2025-12-17 21:59:43 +00:00
PhilipSargent
31a7b62ca9
broken test
2025-12-17 19:49:39 +00:00
PhilipSargent
67e154ab83
err messages for newbies and change to subprocess.run() from os.system()
2025-12-17 19:45:10 +00:00
PhilipSargent
677bf92565
remove template in-code step 2
2025-12-17 18:27:12 +00:00
PhilipSargent
70d1db41b1
removing template in-code step 1
2025-12-17 18:22:34 +00:00
PhilipSargent
0a2386f179
fix survexfile bad filenames
2025-12-16 20:36:01 +00:00
PhilipSargent
d17077aade
stop using fixtures, repalce with factories
2025-12-16 20:15:34 +00:00
PhilipSargent
bd474c1d59
chnage main menu
2025-12-16 20:03:48 +00:00
PhilipSargent
120e632bcb
making test more robust
2025-12-16 19:29:00 +00:00
PhilipSargent
7789590796
fixed order on second table
2025-12-16 13:17:27 +00:00
PhilipSargent
2af8e19d4f
dev system updated to django 6.0
2025-12-16 12:35:31 +00:00
PhilipSargent
0866321ddc
remove non-kataster caves list
2025-12-16 12:35:19 +00:00
PhilipSargent
eefbdb59bb
finds case-insensitive scan file filenames and suppresses old error messages
2025-12-16 02:33:53 +00:00
PhilipSargent
542e9c778a
now handles reanmed KH wallets
2025-12-16 01:50:04 +00:00
PhilipSargent
4d52cdbf18
finds scans in renamed electronic wallets
2025-12-16 00:54:58 +00:00
PhilipSargent
39be4a2886
refactoring warnings
2025-12-15 22:50:08 +00:00
PhilipSargent
e23cab50ed
refactored wallet identification
2025-12-15 20:51:07 +00:00
PhilipSargent
d6b2811457
bulk updates for all drawings now, after parsing.
2025-12-15 19:56:55 +00:00
PhilipSargent
f3b46856ee
chunked helper to return DrawinGFile objects
2025-12-15 19:42:23 +00:00
PhilipSargent
dd2bfe8fe3
refactored filename extensions
2025-12-15 19:00:46 +00:00
PhilipSargent
3d07cec143
All working
2025-12-15 17:06:05 +00:00
PhilipSargent
e1a49c8727
refactoring
2025-12-15 17:03:52 +00:00
PhilipSargent
ba2fa3caf5
now using bulk_update
2025-12-15 16:38:50 +00:00
PhilipSargent
7669f85984
ignores .git now
2025-12-15 16:27:43 +00:00
PhilipSargent
c136360060
refactor using Pathlib (AI written)
2025-12-15 16:22:00 +00:00
PhilipSargent
551711fb34
cope with pre 2000 years
2025-12-15 15:56:27 +00:00
PhilipSargent
e40a798974
updated scans forlders
2025-12-14 21:38:12 +00:00
PhilipSargent
ab110f9f04
updated scans folders
2025-12-14 18:50:52 +00:00
PhilipSargent
762d11b720
rearranged scanfolders
2025-12-14 16:52:06 +00:00
PhilipSargent
18a9bcc258
rearranged old scanned survey book folders
2025-12-14 12:00:14 +00:00
PhilipSargent
31d7c4a718
add to do git commit field
2025-12-11 17:43:30 +00:00
PhilipSargent
137b6bce7d
apparently all working
2025-11-26 02:00:09 +02:00
PhilipSargent
ced9a7b024
SHould be nearly working, but crashes on saving edited entry
2025-11-26 01:22:38 +02:00
PhilipSargent
0e6a3e457d
nearly complete store logbook entries in separate JSON files
2025-11-22 22:38:47 +02:00
PhilipSargent
88833941b5
nearly parsed JSON into correct form for database
2025-11-22 14:32:16 +02:00
PhilipSargent
e2c1bc3516
parsing JSON logentries OK as valid
2025-11-22 13:50:50 +02:00
PhilipSargent
2807ed5c21
removed limit on number of entries exported
2025-11-22 13:10:58 +02:00
PhilipSargent
0a16a0bd9d
now doing dates and foreign keyed objects corretly
2025-11-22 13:08:08 +02:00
PhilipSargent
76fe0c0379
got author OK
2025-11-22 11:46:21 +02:00
PhilipSargent
7889162420
more progress to better serializer
2025-11-22 11:38:00 +02:00
PhilipSargent
f52eab842f
refactored
2025-11-22 11:19:25 +02:00
PhilipSargent
8b00c441f5
entry individual export working mostly
2025-11-22 01:42:01 +02:00
PhilipSargent
d4ec144434
logbook entries json exporter
2025-11-21 23:57:00 +02:00
PhilipSargent
f378406893
notable caves
2025-11-21 23:56:47 +02:00
PhilipSargent
90ae23fc05
cave formatting
2025-11-21 23:56:28 +02:00
PhilipSargent
8d5fa586ca
protect against MariaDB crash
2025-11-01 11:44:30 +02:00
PhilipSargent
7e5201edc6
extend allowed length of ref_text, crashes MariaDB
2025-11-01 11:42:44 +02:00
PhilipSargent
7e599afd40
something
2025-11-01 00:22:56 +02:00
PhilipSargent
66834caffb
need login to do these things
2025-10-31 23:10:37 +02:00
PhilipSargent
7bbc413902
cartesian survex blocks now handled
2025-10-31 22:32:14 +02:00
PhilipSargent
c6647907e5
enable search for survexblock in admin console
2025-10-31 17:39:11 +02:00
PhilipSargent
5b53264316
more explanation of early years
2025-10-31 12:48:10 +02:00
PhilipSargent
e39037b333
now consistent with survex blocks only from expo
2025-10-31 12:19:21 +02:00
PhilipSargent
0a5e779dfd
fixing many things which are just wrong
2025-10-31 12:00:26 +02:00
PhilipSargent
f573838e89
to do additions comments
2025-10-27 22:01:15 +02:00
PhilipSargent
061738d56d
refactored expofilerename() - a bit complex, needs simplifying
2025-10-27 21:58:29 +02:00
PhilipSargent
b2104e191b
refactored photoupload()
2025-10-27 21:34:53 +02:00
PhilipSargent
3fb310ed97
refactored photoupload, but a small bug
2025-10-27 20:44:57 +02:00
PhilipSargent
f5c1c6a90e
refactored gpxupload() into new standard form
2025-10-27 20:06:44 +02:00
PhilipSargent
c08d06d81f
refactored and extended gpxfix()
2025-10-27 19:41:32 +02:00
PhilipSargent
78699b934d
Refactored to use _get(), _post() in upload form
2025-10-25 21:51:04 +03:00
PhilipSargent
28914916b6
refactored to reduce duplicated code
2025-10-24 22:40:26 +03:00
PhilipSargent
179ba32c5a
moved stuff
2025-10-24 22:27:59 +03:00
PhilipSargent
1968c099fe
now gets the wallet id from the .th files and links it in
2025-10-24 22:02:33 +03:00
PhilipSargent
d9953d8bbe
now reading .xml drawings as utf-8 not binary, after correcting corrupt files
2025-10-24 19:52:54 +03:00
PhilipSargent
6e5b893646
comment
2025-10-23 00:28:35 +03:00
PhilipSargent
993005761c
better output format
2025-10-22 23:49:27 +03:00
PhilipSargent
43b3d712a7
fix bug and make table better
2025-10-22 23:12:11 +03:00
PhilipSargent
ac50d28d36
better unwalleted survex report
2025-10-21 14:16:08 +03:00
PhilipSargent
7daef9f253
more detail in wild survex report
2025-10-20 22:34:28 +03:00
PhilipSargent
5e4ab5006f
more explanation about wallet survey lengths
2025-10-20 17:25:30 +03:00
PhilipSargent
79ef45a99f
make Eexplorers field on Cave disabled
2025-10-20 16:26:28 +03:00
PhilipSargent
ed43ab4bcf
fixing tests
2025-10-20 13:50:05 +03:00
PhilipSargent
4bbbdba571
work in progress, now uploads several GPX files..
2025-10-12 21:57:44 +03:00
PhilipSargent
6ccd16a508
comments edited
2025-10-12 20:23:50 +03:00
PhilipSargent
d25a2154af
tidying unused fileds on classes
2025-10-11 23:59:11 +03:00
PhilipSargent
e842ae1ca3
removing new_since_parsing and fixing tests
2025-10-11 23:31:15 +03:00
PhilipSargent
905d9af978
utility to find empty fields on databse classes: for tidying
2025-10-11 21:07:43 +03:00
PhilipSargent
9806212395
Explorers field annotations in report pages
2025-10-10 22:26:22 +03:00
PhilipSargent
76854a84d7
fix Explorers field
2025-10-10 22:18:29 +03:00
PhilipSargent
870dfb5129
fix count of expos
2025-10-10 22:18:14 +03:00
PhilipSargent
bba585acf1
documented dodgy file creation
2025-10-10 20:18:11 +03:00
Wookey
305cb8a392
Fix typo on statistics page
2025-10-04 13:10:54 +01:00
Wookey
90141c4263
Update notes on software used on server
2025-10-04 13:08:58 +01:00
PhilipSargent
deead77c08
display drawings on wallet data
2025-09-27 21:59:37 +03:00
PhilipSargent
4d3821f572
expanded search for wallets inside tunnel files
2025-09-27 16:49:27 +03:00
PhilipSargent
ff739b9e24
comment added, to-do
2025-09-27 12:09:55 +03:00
PhilipSargent
d455b9aee7
fixed bug when extra unneeded ent file exists
2025-09-27 11:01:16 +03:00
PhilipSargent
4138dd0671
update out of data stuff after server update
2025-09-26 21:08:34 +03:00
PhilipSargent
400fd8430e
add survey by year to wallets for each cave: Charlotte's request
2025-09-26 20:38:18 +03:00
PhilipSargent
1370524479
using io buffer to speedup, but it doesnt
2025-09-25 22:18:55 +03:00
PhilipSargent
6025f0b1dc
spelix fixedpts allow
2025-09-25 22:18:20 +03:00
PhilipSargent
68621a4a92
use AI to redo MariaDB reinit
2025-09-25 18:30:27 +03:00
PhilipSargent
bc154c9016
old file removed
2025-09-25 18:30:05 +03:00
PhilipSargent
b1e518b3aa
trying to track down error messages related to cave aliases in DataIssues
2025-09-23 20:55:20 +03:00
PhilipSargent
a7ec46cb70
bulk update seriously speeds up logbook database storing
2025-09-21 21:40:30 +03:00
PhilipSargent
9df466de2f
QM links to explanations in reports
2025-09-21 20:45:33 +03:00
PhilipSargent
ca9fd8ec55
comments updated
2025-09-21 20:45:21 +03:00
PhilipSargent
64419ffb7c
refactored to use a dataclass not a tuple
2025-09-21 19:33:20 +03:00
PhilipSargent
5b129fee8f
bugfix
2025-09-20 22:44:48 +03:00
PhilipSargent
a32bee3c8c
fix test based on chnaged data
2025-09-20 22:11:20 +03:00
PhilipSargent
02fe1f9750
revised colours for 'tunnelled' wallets
2025-09-20 22:10:59 +03:00
PhilipSargent
544cf0522a
Google Keep extraction code, temporarily here
2025-09-18 18:01:03 +03:00
PhilipSargent
810f4a8af8
this needs rewriting competely
2025-09-18 17:17:20 +03:00
PhilipSargent
a7152b591d
working..
2025-09-06 17:39:39 +03:00
PhilipSargent
19c3f02c2d
more gpx fix
2025-08-29 19:38:23 +03:00
PhilipSargent
cc3203a31f
initial GPX track averager
2025-08-29 19:18:47 +03:00
PhilipSargent
4933515be6
stop verbose warnings, change colour on cave names
2025-08-28 23:35:09 +03:00
PhilipSargent
bab1736636
fix in-file package requirements used by uv
2025-08-28 22:07:47 +03:00
PhilipSargent
b982a0a3ca
pure python version of Fernet
2025-08-28 21:03:48 +03:00
PhilipSargent
d24c992482
hack to avoid Fernet
2025-08-28 16:03:43 +03:00
PhilipSargent
eec9760b6c
avoiding rust version incompatibility bug
2025-08-28 15:46:30 +03:00
PhilipSargent
26332d86e7
copilot refactoring, nice
2025-08-28 15:46:15 +03:00
PhilipSargent
1b82113f11
testing bad import under wsgi
2025-08-28 14:38:40 +03:00
PhilipSargent
87fd355985
updated schema
2025-08-28 13:46:23 +03:00
PhilipSargent
2a0001d994
fixed bug preventing QMs being detected
2025-08-28 01:57:55 +03:00
PhilipSargent
8e147986ae
tighten QM recognizer to prevent spurious warnings
2025-08-27 16:59:38 +01:00
PhilipSargent
afe9190c97
rearranged QM code, added red triangle for open QMs
2025-08-26 22:52:13 +01:00
PhilipSargent
0cf76e8c6b
remove ancient comment
2025-08-26 20:16:00 +01:00
PhilipSargent
53e03d5462
Much regex engineering, used co pilot
2025-08-26 19:13:34 +01:00
PhilipSargent
8379f7b154
uv lock in _deploy
2025-08-25 21:28:09 +03:00
PhilipSargent
ebfdc6c34c
add 2 years before caves to recent page
2025-08-02 21:26:38 +02:00
PhilipSargent
ae88d279cb
fixed bug looking for survex file with no .svx
2025-08-02 19:01:08 +02:00
PhilipSargent
e70dfec759
expand weird error due to unexpected file
2025-08-02 18:41:52 +02:00
PhilipSargent
4dece336f2
fix survex file specified without .svx issue
2025-08-02 18:40:36 +02:00
PhilipSargent
9d235ff10a
prevent crash on broken QM parsing
2025-08-02 15:31:41 +02:00
PhilipSargent
b4f719d7bb
label for field
2025-08-02 14:22:09 +02:00
PhilipSargent
6123c03ef4
made robust to unknown names
2025-08-01 21:20:00 +02:00
PhilipSargent
579389589b
SPecial links for Lara
2025-08-01 21:11:59 +02:00
PhilipSargent
0bbb0a5173
typo bug
2025-08-01 14:19:39 +02:00
PhilipSargent
6ee06f0879
tidy return failure value
2025-08-01 12:48:41 +02:00
PhilipSargent
962263beb0
fixed entracne creation bug
2025-08-01 09:44:11 +02:00
PhilipSargent
08e545f03a
starting rotate on cave descrip images
2025-07-31 20:32:48 +02:00
PhilipSargent
c2c70e6a95
revised tables
2025-07-31 12:25:53 +02:00
PhilipSargent
f76fd8ab65
made last table more useful
2025-07-31 11:13:17 +02:00
PhilipSargent
4075f43c5f
whwre the hell did this come from
2025-07-29 19:44:14 +02:00
PhilipSargent
7a9bcd02f7
Adding SUrvexFix class
2025-07-29 19:42:59 +02:00
PhilipSargent
959c358c09
undropped caves code -> GPX
2025-07-29 17:08:36 +02:00
PhilipSargent
7564ce4d27
big fix
2025-07-29 12:07:50 +02:00
PhilipSargent
5fa4e3f72a
undropped caves page
2025-07-29 11:53:21 +02:00
PhilipSargent
cf566d4bc7
restored original url /caves to point ot all caves
2025-07-29 11:34:11 +02:00
PhilipSargent
08577deeb5
fix long-standing problem of multi-columns on firefox
2025-07-29 11:10:55 +02:00
Anathema Device
2e26532837
anathema runs troggle
2025-07-29 10:24:48 +02:00
PhilipSargent
9b0da4ef2f
better formatting
2025-07-28 22:57:05 +02:00
PhilipSargent
51c9fe8839
fixing undescended caves thinggy
2025-07-28 22:16:50 +02:00
PhilipSargent
5f2791816d
UNDESCENDED caves now written in red ink
2025-07-28 19:10:02 +02:00
PhilipSargent
89e38397b9
Shorter, faster default caves index list
2025-07-28 18:17:54 +02:00
PhilipSargent
c82ed82aba
add productivity per caver for each expo
2025-07-27 21:56:59 +02:00
PhilipSargent
1bae6c6cd1
removing voluminous, unneeded debug printout
2025-07-27 20:11:30 +02:00
PhilipSargent
57fb3a0078
fixing redundant messages
2025-07-27 16:16:32 +02:00
PhilipSargent
f0c5168067
trap bug that Tom B found
2025-07-26 22:56:08 +02:00
PhilipSargent
df0ea7ab30
add label text
2025-07-26 21:03:43 +02:00
PhilipSargent
786261fcfd
reduce size of text box
2025-07-26 19:07:13 +02:00
PhilipSargent
751f677c44
explorer added properly now
2025-07-26 17:19:20 +02:00
PhilipSargent
bbb769faab
typo
2025-07-26 15:13:23 +02:00
PhilipSargent
76f7b10777
Revised text on pending cave creation
2025-07-26 14:31:11 +02:00
PhilipSargent
d6dcd7a39a
formatting
2025-07-25 20:50:29 +02:00
PhilipSargent
e3df02076c
notables chnaged
2025-07-25 19:27:48 +02:00
PhilipSargent
bf09ee0054
no, don't do this
2025-07-25 18:51:44 +02:00
PhilipSargent
4fa767585c
add TUNNELLED as a field on wallets
2025-07-25 18:24:38 +02:00
PhilipSargent
5204e3cc68
tunnel fucsia
2025-07-25 16:54:16 +02:00
PhilipSargent
29eae4e9b2
fixing resolved QM regex
2025-07-25 16:06:26 +02:00
PhilipSargent
3032386852
Insert troggle menu on 4 pages for caves and entrances
2025-07-25 14:58:05 +02:00
PhilipSargent
07e702c458
meddling with menus
2025-07-25 12:24:59 +02:00
PhilipSargent
2b5d3ecb01
fixed out of date comment
2025-07-25 11:32:16 +02:00
PhilipSargent
6ffcae16a2
go knows
2025-07-24 19:32:27 +02:00
PhilipSargent
ec4feaee8b
protect against tom beech
2025-07-24 18:07:34 +02:00
PhilipSargent
6a6ec66a88
default number
2025-07-24 17:53:31 +02:00
PhilipSargent
0135d47536
tidied format of caves index page
2025-07-24 16:06:42 +02:00
PhilipSargent
2f7354d556
this year's cave list
2025-07-24 15:02:33 +02:00
PhilipSargent
c1bf6e94aa
bugfix i hope
2025-07-24 14:35:15 +02:00
PhilipSargent
8e9ae0dd92
template now sexytopo compatible
2025-07-24 14:34:55 +02:00
PhilipSargent
9e9122da81
remove javascript from template
2025-07-24 13:11:49 +02:00
PhilipSargent
8cf85ca5ef
aliases twiddle
2025-07-24 12:56:27 +02:00
PhilipSargent
bb74b95aaf
partially fixing results from create entrance bug (not fixed)
2025-07-23 22:16:23 +02:00
PhilipSargent
1ca7fd5a2c
gix bug on new cave created and entracne immediately edited
2025-07-23 20:48:00 +02:00
PhilipSargent
57b68fc7db
being responsive to user requests
2025-07-23 20:40:38 +02:00
PhilipSargent
f9d8a2bea3
recheck
2025-07-22 21:11:58 +02:00
PhilipSargent
1d7603a7fe
pre-run script
2025-07-22 19:39:43 +02:00
PhilipSargent
b79523e4e4
fix missing mugshots
2025-07-22 15:36:26 +03:00
PhilipSargent
226b13b136
plsifer dev system
2025-07-22 14:51:50 +03:00
PhilipSargent
67b366a2d0
single quote on server
2025-07-21 21:25:07 +02:00
PhilipSargent
e983ac2f00
single quote on server
2025-07-21 21:24:00 +02:00
PhilipSargent
a319863654
single quote on server
2025-07-21 21:22:15 +02:00
PhilipSargent
9409e27e1d
reduce spam print
2025-07-21 21:18:45 +02:00
PhilipSargent
833aeaeeba
Blrubfile field
2025-07-21 21:03:56 +02:00
PhilipSargent
9a3651ed8b
fixed bug from people who did not turn up, optimised parsing a bit
2025-07-21 19:24:14 +02:00
PhilipSargent
b5540fd543
used cache instead of .get query, vastly faster
2025-07-21 18:29:06 +02:00
PhilipSargent
2039501672
refactoring people import from folk.csv
2025-07-21 15:41:05 +02:00
PhilipSargent
1cfcbccf76
must be lower case when specifying survey stations
2025-07-20 17:17:31 +02:00
PhilipSargent
083de7fdd5
no logs
2025-07-20 17:11:33 +02:00
PhilipSargent
29840aabff
fixed survey station casesensitivity
2025-07-20 16:57:58 +02:00
PhilipSargent
5770a9b2e7
remove redundant code
2025-07-20 12:46:27 +02:00
PhilipSargent
24079ab5fe
remove endmatter creation from now on
2025-07-20 11:46:27 +02:00
PhilipSargent
af22823e7a
typo
2025-07-19 22:04:36 +02:00
PhilipSargent
25e5f5ccde
add OSMand version of OSM online
2025-07-18 22:18:01 +02:00
PhilipSargent
543d30c84a
fix bad *instrument line
2025-07-18 16:09:11 +02:00
PhilipSargent
2aee915abc
attmept to catch upper case in entrance filenames
2025-07-17 18:10:51 +02:00
PhilipSargent
b206d08b39
hannah ug special case
2025-07-17 16:45:36 +02:00
PhilipSargent
d7bfe83039
fix test to match new page text
2025-07-17 16:19:00 +02:00
PhilipSargent
db5be84d77
remove redundant calls to cavern in locations.py
2025-07-17 15:54:22 +02:00
PhilipSargent
17347850b3
label of field
2025-07-17 08:18:28 +02:00
Wookey
93172f3b70
Update initial containerfile to use official base debian image and work over network
2025-07-17 01:50:40 +01:00
Wookey
a2356d9559
Update initial containerfile to use official base debian image and work over network
2025-07-17 01:43:29 +01:00
PhilipSargent
14222dd3fc
bugfix
2025-07-16 18:57:20 +03:00
PhilipSargent
b53f09bb8f
extra link on form
2025-07-16 18:45:29 +03:00
PhilipSargent
5ea359561a
survey area label on form
2025-07-16 18:34:32 +03:00
PhilipSargent
7149b5d379
Place being surveyed
2025-07-16 18:28:45 +03:00
PhilipSargent
0c97c11d82
tick boxes meddling
2025-07-16 13:59:16 +02:00
PhilipSargent
ae6e8205a1
Notice for Mr Balister
2025-07-16 11:47:55 +02:00
PhilipSargent
7d0155fea8
move label text
2025-07-16 11:31:43 +02:00
PhilipSargent
f12f788248
remove pointless warning DataIssue
2025-07-16 11:31:28 +02:00
PhilipSargent
51d8a50d90
fix no people on wallet bug
2025-07-16 10:31:55 +02:00
PhilipSargent
15156aa79c
working Containerfile for podman build
2025-07-13 19:31:15 +03:00
PhilipSargent
ea0a5b153f
better validation for survey stations tag/other on an entrance, and bugs fixed
2025-07-13 19:30:53 +03:00
PhilipSargent
6cf7bbb7d9
*fix suggestions more
2025-07-13 18:29:45 +03:00
PhilipSargent
c2292038c4
*fix suggestions
2025-07-13 18:19:57 +03:00
PhilipSargent
d19e60976e
improved areacode check in Cave edit form
2025-07-13 11:36:39 +03:00
PhilipSargent
38744a1781
fix non appearing cave ids on wallets
2025-07-12 18:43:16 +03:00
PhilipSargent
5f1b01bea7
fix non-appearing cave id info on wallets
2025-07-12 17:30:40 +03:00
PhilipSargent
dbec098bba
cave areacode requirement enforced
2025-07-12 16:48:01 +03:00
PhilipSargent
468634527f
many logbook entries in 2025 already
2025-07-12 16:32:54 +03:00
Expo laptop Crowley
a9e687c7ce
added support buttons to logbook template
...
Commited in Aug 2024 on Crowely but not pushed. Rebased onto current head by Jonty, Jul 2025
2025-07-12 10:47:48 +02:00
PhilipSargent
4b4ab973f8
bug fi, always need to regenerate the import .pos file
2025-07-08 16:58:27 +03:00
PhilipSargent
6c962c0132
correct totals without non-expo surveys
2025-06-30 12:15:09 +03:00
PhilipSargent
8d901efdfc
refactoring wallets and expos survey lengths code
2025-06-30 12:05:54 +03:00
PhilipSargent
823ef5b7e7
add {{year}}
2025-06-29 13:16:42 +03:00
PhilipSargent
501692586d
add multi year menu
2025-06-28 20:24:04 +03:00
PhilipSargent
fc427993e7
separating out ARGE surveys from badly recorded Jenny&Olly surveys
2025-06-28 18:27:25 +03:00
PhilipSargent
c89e8cea90
remaining shared-use machine cookie tyimeouts set
2025-06-25 23:39:41 +03:00
PhilipSargent
c29548db01
shared use machine short-cookie timeout implemented for wallets and logbook edits
2025-06-25 23:33:05 +03:00
PhilipSargent
a7966e714d
shared use machine short-cookie timeout implemented for survex file editing only
2025-06-25 23:30:20 +03:00
PhilipSargent
19844cd94a
iniital framework for testing shared use cookie
2025-06-25 22:34:09 +03:00
PhilipSargent
3d12397d9a
databaseReset.py fixed to use uv with manage.py
2025-06-21 20:14:45 +03:00
PhilipSargent
576e4a20f0
extract heights.json and fix manage.py to use uv
2025-06-21 20:10:43 +03:00
PhilipSargent
6e3279e585
made test for cavern more robust against legs v shots
2025-06-18 07:58:10 +01:00
PhilipSargent
fdc656dbba
okchai settings
2025-06-18 07:21:03 +01:00
PhilipSargent
7a95c6478c
updated tests to cope with moved file in expofiles
2025-06-14 20:55:53 +03:00
PhilipSargent
40fb066e2b
refactoring cookie age as a function not a constant
2025-06-14 20:36:31 +03:00
PhilipSargent
d8cdf7bc5a
new to do item
2025-06-14 14:25:39 +03:00
PhilipSargent
e1d7b35015
documentaiton for Becka as to where to find drawings files
2025-06-14 14:12:13 +03:00
PhilipSargent
40aeee9bf9
Updated dev config
2025-06-13 19:52:51 +03:00
PhilipSargent
1bb950ec45
initial method for identifying potato hut laptops as cookie
2025-05-23 21:58:21 +03:00
PhilipSargent
c7df859d80
Changed pre-push bash script to be per-machine not per architecture
2025-05-22 21:47:54 +03:00
PhilipSargent
955baeb238
only allows registration once, except for admins
2025-05-22 14:40:08 +03:00
PhilipSargent
9ae9ca9ec3
notice inserted if ADMIN, not fully implemented
2025-05-21 09:40:09 +03:00
PhilipSargent
06f9de360a
notes made, work still to do
2025-05-20 21:29:12 +03:00
PhilipSargent
d06526846f
prevent re-register not working
2025-05-20 21:13:09 +03:00
PhilipSargent
e0c87b167b
blank unofficial number for Pending caves
2025-04-16 00:35:18 +01:00
PhilipSargent
63ff01700f
Add entry for bad GPS/photo
2025-04-14 14:28:43 +01:00
PhilipSargent
85185c23b4
dev config updated to Django 5.2
2025-04-10 00:48:35 +01:00
PhilipSargent
da28aa7b22
Add <br>
2025-03-24 13:45:00 +00:00
PhilipSargent
38130c876b
attempt to reformat logbook entries.. fail. Too many side efefcts.
2025-03-16 13:15:45 +00:00
PhilipSargent
31c77fd89c
fix bug if no exif on file
2025-03-11 17:00:38 +00:00
PhilipSargent
2b010384f1
update template to standard survex 2025 syntax for *team
2025-03-11 17:00:23 +00:00
PhilipSargent
9a4916cc58
year fixed if not in exif data
2025-03-08 07:09:50 +00:00
PhilipSargent
ec3f513308
bugfix in .url file
2025-03-03 00:16:07 +00:00
PhilipSargent
ab8d527163
fix latitude bugs
2025-03-02 23:30:40 +00:00
PhilipSargent
3bdf73ccad
improving cave identification in logbooks
2025-03-02 00:37:28 +00:00
PhilipSargent
7fb42c926f
more fields added
2025-03-01 23:34:50 +00:00
PhilipSargent
06861144c3
more selective tag location report
2025-03-01 22:34:29 +00:00
PhilipSargent
71c3fb12ab
new report for Lost entrances
2025-03-01 22:13:46 +00:00
PhilipSargent
4e9c766493
formatting
2025-03-01 22:13:35 +00:00
PhilipSargent
2f098b7333
bug fix, missing form field.
2025-03-01 12:52:57 +00:00
PhilipSargent
b1d10a41d5
Now matching 2025 survex standard *team
2025-02-25 01:16:04 +00:00
PhilipSargent
54717a436c
*team new code to fit updated survex
2025-02-25 00:54:49 +00:00
PhilipSargent
c98f386c13
bug fix, missing import
2025-02-24 21:20:59 +00:00
PhilipSargent
73812b41b1
fix URLS for links
2025-02-24 12:25:47 +00:00
PhilipSargent
ddb90b3a39
tidy survex file writing
2025-02-24 12:25:35 +00:00
PhilipSargent
3118b717a0
fix tests to match cleaned-up urls.py
2025-02-22 23:06:33 +00:00
PhilipSargent
e95cff5818
produce .url file in same folder as orig. photo in expofiles
2025-02-22 10:11:24 +02:00
PhilipSargent
8a95b0609d
create marker .url file for uploaded image
2025-02-21 22:14:17 +02:00
PhilipSargent
81fba01d1e
comments
2025-02-21 19:31:24 +02:00
PhilipSargent
731095e2d9
GPS of photo now has href to OSM online
2025-02-19 23:18:53 +02:00
PhilipSargent
6586c00a37
now outputs lat+lon onto /l/*.html page for a photo with GPS exif
2025-02-19 23:13:13 +02:00
PhilipSargent
0ab0750511
fixed display bug
2025-02-19 23:12:33 +02:00
PhilipSargent
aeaf7cf57f
make more robust against data error
2025-02-19 18:32:58 +02:00
PhilipSargent
a950cc60d9
tidy trailing slash everywhere & fix tests
2025-02-19 16:00:53 +02:00
PhilipSargent
cc06e2e1f4
Attempt at append_slash, and backtrack.
2025-02-18 19:59:12 +02:00
PhilipSargent
95190324fb
final final final: logbook edit form (humph)
2025-02-17 23:01:56 +02:00
PhilipSargent
c23e93d7a7
bugfix
2025-02-17 22:44:27 +02:00
PhilipSargent
61c0f91088
Drawing file upload now using identified_login (oops)
2025-02-17 22:31:10 +02:00
PhilipSargent
6c30a9ffcb
Bug: create year directory if a new year
2025-02-17 21:32:31 +02:00
PhilipSargent
95878e630d
identified login for last form: survexfile. All done now.
2025-02-17 21:23:20 +02:00
PhilipSargent
6a5513e52b
idenitifed login stuff
2025-02-15 16:27:25 +00:00
PhilipSargent
dc83ae1bc6
bugs
2025-02-13 23:15:51 +00:00
PhilipSargent
9fd86dc0c4
cookie and logon working nicely together: cave & entrance
2025-02-13 17:30:40 +00:00
PhilipSargent
ae36f1a9ce
moved textedit from uploads to expo
2025-02-13 16:55:12 +00:00
PhilipSargent
a976497b3a
text file editor now using validated logon properly
2025-02-13 16:42:51 +00:00
PhilipSargent
3fb99eb4be
lgoing/cookie interaction betetr
2025-02-13 15:10:12 +00:00
PhilipSargent
3a3e5765f9
now including direction of vview of the photo
2025-02-11 21:15:25 +00:00
PhilipSargent
d05b6b9b5f
fix many glitches for unusual JPGs
2025-02-11 19:28:20 +00:00
PhilipSargent
096c3be4e5
copies uploaded photos to expofiles too (as originals)
2025-02-11 17:40:07 +00:00
PhilipSargent
b8b2d52866
robust against photos with no exif
2025-02-11 13:36:01 +00:00
PhilipSargent
c099bf8071
typo for python 3.12
2025-02-11 01:32:18 +00:00
PhilipSargent
89afdded38
Removed obligatory typing when uploading photo
2025-02-11 00:59:33 +00:00
PhilipSargent
91d8d33e95
re-inserted GPS into re-scaled images
2025-02-10 23:34:45 +00:00
PhilipSargent
f4afa0c672
documeting the kataster tool
2025-02-09 23:32:42 +00:00
PhilipSargent
1c07dc5a94
new user registration
2025-02-09 22:39:50 +00:00
PhilipSargent
54c2e3c9c3
Fix tool on control panel
2025-02-09 22:17:27 +00:00
PhilipSargent
10352f2ccb
Signup adds person to current expedition
2025-02-09 22:06:19 +00:00
PhilipSargent
0e2ccee678
Admin search and filters
2025-02-09 22:05:58 +00:00
PhilipSargent
79b2280cde
menu
2025-02-09 14:30:39 +00:00
PhilipSargent
60fcb831d1
signup readonly, but visible
2025-02-09 14:16:30 +00:00
PhilipSargent
441049b0f1
kanboard in menu
2025-02-09 14:16:08 +00:00
PhilipSargent
c4f990f002
Better description
2025-02-08 23:04:19 +00:00
PhilipSargent
875145fc38
add edit-entry link to report
2025-02-08 21:15:19 +00:00
PhilipSargent
a357f4cf5b
fix error msg
2025-02-07 23:36:40 +00:00
PhilipSargent
06b81ea825
tidied PATHs
2025-02-07 15:13:59 +00:00
PhilipSargent
28d24e48de
tidy settigs PATHs
2025-02-07 15:12:21 +00:00
PhilipSargent
7c8253dcfc
synch laptop and PC
2025-02-07 13:02:42 +00:00
PhilipSargent
c3eed61080
turn off print stmts
2025-02-07 13:02:25 +00:00
PhilipSargent
ea77d4f3e4
fixing bad url handling
2025-02-06 00:09:42 +00:00
PhilipSargent
f757d7632c
moving i/l/t folders
2025-02-05 17:35:37 +00:00
PhilipSargent
7b462a883b
new fix too for misplaced images i,t,l
2025-02-04 21:25:41 +00:00
PhilipSargent
f39e2c9bb5
many bugs fixed
2025-02-02 03:10:10 +00:00
PhilipSargent
3003b3c3c3
kataaster tool complete (probably buggy)
2025-02-02 01:10:13 +00:00
PhilipSargent
a0243c030e
progress on URLS
2025-02-01 17:49:02 +00:00
PhilipSargent
859a1dd4a8
fixed TOTALS
2025-02-01 17:48:50 +00:00
PhilipSargent
e9e0050162
catch bug
2025-02-01 13:28:03 +00:00
PhilipSargent
59599ecdbf
nearly done
2025-02-01 00:09:46 +00:00
PhilipSargent
afa3727757
sed basics done for survex files in :loser:
2025-01-31 21:55:52 +00:00
PhilipSargent
062ab3e5f8
renaming script
2025-01-31 19:19:04 +00:00
PhilipSargent
43634fb475
initial rename script textarea
2025-01-31 18:30:22 +00:00
PhilipSargent
49ea30cf06
fields in cave.html file
2025-01-31 02:00:06 +00:00
PhilipSargent
4a0496b3b4
begun to do fields, blue
2025-01-31 01:51:22 +00:00
PhilipSargent
e080610010
More diagnostics
2025-01-31 00:37:20 +00:00
PhilipSargent
6d5c6c0d0b
more recipe
2025-01-30 22:00:56 +00:00
PhilipSargent
8073aca5d2
more to-do
2025-01-30 20:20:20 +00:00
PhilipSargent
d275211aa7
Katastering, list files
2025-01-30 18:54:15 +00:00
PhilipSargent
0084412258
Initial Cave Kayaster STatus form
2025-01-30 17:34:21 +00:00
PhilipSargent
3d1dbf2e0d
another tweak
2025-01-29 22:46:04 +00:00
PhilipSargent
2681127037
tweaks to make it clearer which logbook entry is being saved
2025-01-29 22:05:32 +00:00
PhilipSargent
53865e64d8
make clear what filename is being saved. Phil Underwood issue.
2025-01-29 21:55:11 +00:00
PhilipSargent
bb4df7d07f
need to login as personal user before seeing signup form
2025-01-28 21:09:50 +00:00
PhilipSargent
cf89b1b67f
bug fix
2025-01-28 20:54:12 +00:00
PhilipSargent
e39760590f
fix bogus check on readonly field
2025-01-28 20:41:06 +00:00
PhilipSargent
798ffc248e
_edit Preview now displayed properly
2025-01-28 20:07:53 +00:00
PhilipSargent
db1c1fec6c
bad expo pages format
2025-01-28 19:56:40 +00:00
PhilipSargent
6e7f0d39cc
troggle pages menu
2025-01-28 19:56:16 +00:00
PhilipSargent
1f0a4806a2
fix bad url in header menu
2025-01-28 16:21:35 +00:00
PhilipSargent
11cf61b0a3
Put troggle reports menu on troggle handbook pages
2025-01-28 15:38:37 +00:00
PhilipSargent
bac65b5897
old user, first registration. cleaner
2025-01-27 23:50:08 +00:00
PhilipSargent
98594a07e2
reistration of previously attending expoer working again.
2025-01-27 16:42:52 +00:00
PhilipSargent
1825ed55fc
password reset for logged-on users now working
2025-01-27 15:15:54 +00:00
PhilipSargent
6d25f70491
detect misplaced entrances
2025-01-26 23:18:02 +00:00
PhilipSargent
f1682367ee
cp simples
2025-01-26 23:17:51 +00:00
PhilipSargent
aef0de715d
bugfix
2025-01-26 19:23:07 +00:00
PhilipSargent
ce508b0eb2
Use logon not cookie when editing pages
2025-01-26 19:04:56 +00:00
PhilipSargent
7fab42fa9e
add insurance info
2025-01-26 14:51:37 +00:00
PhilipSargent
5a678dcb0e
quotes on 3.11
2025-01-26 14:37:27 +00:00
PhilipSargent
288ce80e07
Signup now saves list for bierbook & commits chnages
2025-01-26 14:12:19 +00:00
PhilipSargent
3ad75d4439
add prior expo experience (readonly)
2025-01-26 13:38:10 +00:00
PhilipSargent
4f1d808720
wording
2025-01-26 12:46:34 +00:00
PhilipSargent
622dfc34e3
bug
2025-01-25 22:29:47 +00:00
PhilipSargent
d78345e335
JSON link
2025-01-25 22:26:58 +00:00
PhilipSargent
1c3d2f7b73
formatting
2025-01-25 22:18:57 +00:00
PhilipSargent
2446758e6e
blank out "expo" as a signedup user
2025-01-25 22:16:37 +00:00
PhilipSargent
95ea87233f
Pre-load form with saved data
2025-01-25 20:36:35 +00:00
PhilipSargent
0d105d40da
Signup form now saving data (and encrypting it)
2025-01-25 19:56:36 +00:00
PhilipSargent
c479345b6c
bug fix
2025-01-24 23:13:04 +00:00
PhilipSargent
1e3a684c4b
bug typo
2025-01-24 22:51:56 +00:00
PhilipSargent
a5bce14226
typos
2025-01-24 22:49:04 +00:00
PhilipSargent
9c3a40dd98
allow new registration only once
2025-01-24 22:48:45 +00:00
PhilipSargent
8af4fc5b90
missing imagemagik in new machine setup
2025-01-24 22:48:19 +00:00
PhilipSargent
1502ffb0c4
remove uneeded decorator as middleware does this universally
2025-01-24 22:23:52 +00:00
PhilipSargent
27cc23fe3b
pythion3.11 funny
2025-01-24 02:35:13 +00:00
PhilipSargent
fedcc6d201
whack a mole
2025-01-24 02:33:42 +00:00
PhilipSargent
61722fd6c0
duplicate email prevention
2025-01-24 01:49:37 +00:00
PhilipSargent
27a14d0a0f
Signup now stitched in
2025-01-24 01:31:06 +00:00
PhilipSargent
072a04487d
stitch together the login sequence better
2025-01-24 01:10:45 +00:00
PhilipSargent
2daad646e3
bug
2025-01-23 23:52:26 +00:00
PhilipSargent
a5d0ad3e4f
New User registration form
2025-01-23 23:38:06 +00:00
PhilipSargent
f842dab12a
bugfix
2025-01-22 23:15:17 +00:00
PhilipSargent
173ee2348f
password reset via encrypted token by email
2025-01-22 23:03:01 +00:00
PhilipSargent
a5341c4eb2
tidied login and control panel pages
2025-01-22 20:19:33 +00:00
PhilipSargent
18517f5ec7
typo
2025-01-22 19:25:02 +00:00
PhilipSargent
c602587990
oops bug
2025-01-21 19:21:24 +00:00
PhilipSargent
c5357cab3d
Model change: add 1:1 link Person:User
2025-01-21 19:18:17 +00:00
PhilipSargent
a784ca8641
ensure anonymous before changing registration
2025-01-21 19:17:51 +00:00
PhilipSargent
d19b1e79ab
now saves encrypted file after new registration.
2025-01-21 17:59:33 +00:00
PhilipSargent
157f1fcf27
add 'users' phase into database re-import
2025-01-21 17:58:46 +00:00
PhilipSargent
bb66c09498
new fomatting on form
2025-01-21 17:58:16 +00:00
PhilipSargent
e632a0d918
remove mention of CaveSlug class
2025-01-21 17:47:06 +00:00
PhilipSargent
fd4a3bc015
more explanation
2025-01-21 14:50:01 +00:00
PhilipSargent
8ac3791fcf
fix bad warning message
2025-01-21 14:47:01 +00:00
PhilipSargent
b59ab47bc2
extend cookie timeout to 2 years
2025-01-21 13:18:43 +00:00
PhilipSargent
65cdeb4994
Loads and resaves same file. Round trip working.
2025-01-21 11:29:20 +00:00
PhilipSargent
01afb09a6e
Registering existing and new users works, but is ephemeral.
2025-01-21 01:15:13 +00:00
PhilipSargent
b34ad3a82b
infelicities
2025-01-20 22:09:34 +00:00
PhilipSargent
ba5987b674
form now working with basic validation
2025-01-20 21:57:11 +00:00
PhilipSargent
d79ffd8354
re-order names
2025-01-20 20:50:21 +00:00
PhilipSargent
8d8bc47e79
user registration pages
2025-01-20 20:43:21 +00:00
PhilipSargent
650cee4b0e
gethostname
2025-01-20 20:42:43 +00:00
PhilipSargent
7769fa868e
new page listing people's ids
2025-01-20 20:42:26 +00:00
PhilipSargent
1fcb2c5203
generated to-do lists updated
2025-01-20 15:30:15 +00:00
PhilipSargent
960958c922
cleanup
2025-01-20 14:51:11 +00:00
PhilipSargent
e37165f136
include users module in calc.
2025-01-20 14:49:23 +00:00
PhilipSargent
df52ee9251
split out users from people
2025-01-20 14:43:31 +00:00
PhilipSargent
4f9468ec66
update capabilities
2025-01-20 14:35:18 +00:00
PhilipSargent
0201281e38
do not write file until git integration done
2025-01-20 14:35:09 +00:00
PhilipSargent
b9f9cba672
fix for python 3.11 which is ok in python 3.13
2025-01-20 13:10:36 +00:00
PhilipSargent
3351d949d9
adding cryptography module with uv
2025-01-20 13:03:41 +00:00
PhilipSargent
4d49eefccb
encryption round-trip works
2025-01-20 02:07:26 +00:00
PhilipSargent
79cf342d33
days before, not days 'ago'
2025-01-18 16:37:22 +00:00
PhilipSargent
a4957df557
TOTAL duration and colour highlighting
2025-01-18 16:33:01 +00:00
PhilipSargent
551e849a0f
probably ARGE or VfHO
2025-01-17 23:01:27 +00:00
PhilipSargent
d903f883eb
fix printing
2025-01-17 20:26:34 +00:00
PhilipSargent
ba4851fe80
add TOTALS to databaeReset timings
2025-01-17 20:21:23 +00:00
PhilipSargent
1678dedf08
protect against both sorts of capitalisation mismatches
2025-01-17 19:27:26 +00:00
PhilipSargent
b94ea8eb22
make people fill out git repo author field
2025-01-17 19:27:06 +00:00
PhilipSargent
54566ef092
renamed form and more comments
2025-01-17 18:42:19 +00:00
PhilipSargent
c4eb14148a
make cookie default to empty string - form validation then works
2025-01-17 18:41:54 +00:00
PhilipSargent
d21278c5de
rename Forms to be more understandable
2025-01-17 18:41:24 +00:00
PhilipSargent
d49d2eecee
improve test resilience
2025-01-17 18:40:36 +00:00
PhilipSargent
05c687b253
tests needed who_am_i field for cookie id
2025-01-17 16:00:13 +00:00
Expo on server
919e02cee9
.gitignore not ignoring
2025-01-17 14:18:20 +00:00
PhilipSargent
6cfb6f3373
debug
2025-01-17 01:28:34 +00:00
PhilipSargent
8ce5db9175
re-enable string conversion
2025-01-17 01:28:34 +00:00
Expo on server
219cc2870a
this should notbe happeneing
2025-01-17 01:28:22 +00:00
PhilipSargent
1a044759c6
tidying
2025-01-17 00:19:05 +00:00
PhilipSargent
a6a0db3c8f
copy of expo server local settings in case it gets overwritten again
2025-01-16 23:46:22 +00:00
PhilipSargent
0c7fafd07f
ignore localsettings again
2025-01-16 23:46:22 +00:00
Expo on server
999d3fd02b
what a mess
2025-01-16 23:46:16 +00:00
PhilipSargent
abb32e6b5d
fix Path()
2025-01-16 23:28:40 +00:00
Expo on server
fe9589039e
still fixing things
2025-01-16 23:28:30 +00:00
PhilipSargent
ea2f4526e8
new localsettings
2025-01-16 23:22:15 +00:00
PhilipSargent
9331d7e1db
now using secret credentials
2025-01-16 22:59:26 +00:00
PhilipSargent
d1ca37f00e
remove old stuff
2025-01-16 21:16:06 +00:00
PhilipSargent
4116b32c33
tidy after git problem
2025-01-16 21:11:58 +00:00
PhilipSargent
3353b4e1fc
forgotten deploy-specific tools
2025-01-16 21:08:52 +00:00
PhilipSargent
12499f423d
moving to different credentials management
2025-01-16 21:08:28 +00:00
PhilipSargent
afd2b7cc18
remove mistake
2025-01-16 21:06:45 +00:00
PhilipSargent
d2fade5a3d
making error handling mroe robust
2025-01-16 17:36:24 +00:00
PhilipSargent
eb22047c08
cover case when cave data is re-parsed online
2025-01-16 12:57:24 +00:00
PhilipSargent
f4fe681524
more fine tuning
2025-01-15 21:07:16 +00:00
PhilipSargent
3df9b1a3d6
tidy default if cookie has expired
2025-01-15 20:22:49 +00:00
PhilipSargent
8db340fd62
more signup mods
2025-01-15 20:22:16 +00:00
PhilipSargent
c5b08ce80f
stumbled on bug when no entries in logbook, fixed.
2025-01-15 20:21:49 +00:00
PhilipSargent
f3bd9024cf
formatting and defaults done
2025-01-15 18:48:23 +00:00
PhilipSargent
21d69994e7
new signup form now split out
2025-01-15 17:00:01 +00:00
PhilipSargent
d603bef64e
prompt placeholders added
2025-01-15 16:37:28 +00:00
PhilipSargent
d31777dc8d
initial signup form, copy of PHP
2025-01-15 14:34:29 +00:00
PhilipSargent
49c0c0fe3a
First attempts at better use of Django query optimisation
2025-01-10 00:28:01 +00:00
PhilipSargent
486a50f876
Added two indexes to foreign keys
2025-01-09 22:07:27 +00:00
PhilipSargent
219b8b792e
AI comments on regexes
2025-01-09 21:59:27 +00:00
PhilipSargent
5b97cd83dd
tidying and new setting for emojies
2024-12-31 22:16:08 +00:00
PhilipSargent
4435836313
cleaning version history of these which have no secrets in them
2024-12-31 22:14:58 +00:00
PhilipSargent
f5441e4c6b
enable emojies in text strings on MariaDB
2024-12-31 21:59:40 +00:00
PhilipSargent
f73f1b50fe
Bug fixes
2024-12-29 23:37:20 +00:00
PhilipSargent
1ddd4da27b
Upload drawings now using git_add()
2024-12-29 22:53:26 +00:00
PhilipSargent
2623af92c4
Documn. and tidy import
2024-12-29 22:53:04 +00:00
PhilipSargent
52600df2f2
logbookedit now using git functions in troggle.utils
2024-12-29 21:18:07 +00:00
PhilipSargent
f2a43558f9
Split out logbook_edit.py and ruff fix
2024-12-29 20:31:51 +00:00
PhilipSargent
e3a9498656
Wallet edit now using refactored git add/commit system
2024-12-29 19:35:20 +00:00
PhilipSargent
a3c7f165b9
Cookie/ git author now working on Wallet updates
2024-12-29 17:05:08 +00:00
PhilipSargent
ace2325773
Add commit msg when on a devserver
2024-12-29 15:49:07 +00:00
PhilipSargent
6d2484376a
refactor & git author work
2024-12-29 03:42:58 +00:00
PhilipSargent
13c5d14a9f
Allow edit of another non .txt file
2024-12-29 02:04:55 +00:00
PhilipSargent
dac3e6e288
Entrances now do cookie / git author thing. + tidyup.
2024-12-28 23:49:26 +00:00
PhilipSargent
e7444d20a4
cave edit working with cookies
2024-12-28 22:43:21 +00:00
PhilipSargent
ecd187e88e
nearly done cave edit commit thing with cookie
2024-12-28 19:47:28 +00:00
PhilipSargent
09a16fed3b
remove unused reference to function
2024-12-28 19:04:01 +00:00
PhilipSargent
9274600f1e
clean up cave edit form
2024-12-28 18:48:08 +00:00
PhilipSargent
6cdf883ad7
unravelling writetrogglefiles
2024-12-28 18:47:54 +00:00
PhilipSargent
b71bb05fcd
remove unneeded comments
2024-12-28 18:44:19 +00:00
PhilipSargent
4652d83b49
Comments adjusted
2024-12-28 17:04:36 +00:00
PhilipSargent
8dbad16ece
Editor field & cookie working for survex online edits
2024-12-27 22:57:34 +00:00
PhilipSargent
60d24dc48e
Cookie setting enabled for 'git editor'
2024-12-27 20:23:04 +00:00
PhilipSargent
dccd465354
oops
2024-12-27 19:15:27 +00:00
PhilipSargent
2e62f3c7d4
retain newline in body but replace \r
2024-12-27 16:54:38 +00:00
PhilipSargent
2b97c8f783
git-compatible editor field for updated page
2024-12-27 16:02:38 +00:00
PhilipSargent
5ee26af02a
comments changed
2024-12-27 12:26:21 +00:00
PhilipSargent
42b978197c
fixed wrong name of pending caves file in template
2024-12-22 15:22:24 +00:00
PhilipSargent
90ecdda407
debugging install scripts on a new 24.04 machine
2024-12-20 21:24:46 +00:00
PhilipSargent
1b6333fdef
fixing setup scripts for a new Ubuntu 24.04 install
2024-12-20 16:03:28 +00:00
PhilipSargent
011e6777c9
bugfixes and more comments
2024-12-19 22:55:08 +00:00
PhilipSargent
19bbb00dcc
bug fix
2024-12-16 23:35:44 +00:00
PhilipSargent
151cba336b
fix absolute addressing in templates
2024-12-16 22:42:50 +00:00
PhilipSargent
d8ab17217f
docm
2024-12-16 13:08:58 +00:00
PhilipSargent
f560cce348
no VScode when pulling everything now
2024-12-16 00:24:21 +00:00
PhilipSargent
407e97f91c
toml tidying
2024-12-15 23:31:48 +00:00
PhilipSargent
e532b15c1d
comments
2024-12-15 21:59:54 +00:00
PhilipSargent
a836dd2619
archiving the pip venv mechanisms
2024-12-15 21:59:41 +00:00
PhilipSargent
b541e258ec
remove deptry and isort chnages uv.lock when sync'd
2024-12-15 18:56:37 +00:00
PhilipSargent
4677ac8b2c
sorting imports code snippet
2024-12-15 18:55:07 +00:00
PhilipSargent
30760654b7
import order fixed by ruff
2024-12-15 18:54:47 +00:00
PhilipSargent
eb74940ca8
ruff config
2024-12-15 18:48:28 +00:00
PhilipSargent
5475a0b853
separate survex install from troggle install
2024-12-15 18:48:16 +00:00
PhilipSargent
492f2b00b0
fixing width different for caves re handbook
2024-12-14 23:16:40 +00:00
PhilipSargent
8eb248bb13
Dev versions, user server.toml for server mimic testing
2024-12-14 03:25:20 +00:00
PhilipSargent
3b5ead22f2
Variant versiosn of pyproject.toml
2024-12-14 03:14:55 +00:00
PhilipSargent
36bb964845
fix tests for caveform chnages
2024-12-14 03:14:08 +00:00
PhilipSargent
f04aa7d067
tidying dev environment
2024-12-14 01:42:12 +00:00
PhilipSargent
1d3b8d44b4
More form layout chnages for Django v5
2024-12-14 01:41:26 +00:00
PhilipSargent
cfc7a4b9f6
Make edit fields wider
2024-12-14 00:27:19 +00:00
PhilipSargent
7730b2535f
tidying
2024-12-12 17:09:36 +00:00
PhilipSargent
321f912083
fixing pre-run script
2024-12-12 17:08:00 +00:00
PhilipSargent
58c9dd7d09
used by uv to set default python version
2024-12-12 17:07:46 +00:00
PhilipSargent
bbdd2cc58f
fixing deprecated syntax
2024-12-12 17:07:14 +00:00
PhilipSargent
1ffc971285
move buttons to top in JavaScript
2024-12-12 17:06:56 +00:00
PhilipSargent
c401af7bfc
upgrading scripts to use uv
2024-12-12 01:26:36 +00:00
PhilipSargent
f3235f8b76
using uv not pip
2024-12-12 00:38:28 +00:00
PhilipSargent
8b6a8be2c8
comments, configuring vscode
2024-12-11 22:34:51 +00:00
PhilipSargent
eb07a36eaf
minor comments
2024-12-11 22:22:51 +00:00
PhilipSargent
54a069df84
comments
2024-12-11 21:46:37 +00:00
PhilipSargent
2bebc781a1
making os-trog.sh work on WSL/Ubuntu24.04
2024-12-11 21:32:36 +00:00
PhilipSargent
8c91d2f47d
we do need a space between names after all
2024-12-10 21:31:45 +00:00
PhilipSargent
555cb63be3
Fix the order of participants in a logbook entry
2024-12-10 21:29:05 +00:00
PhilipSargent
8c56a45e7c
preserving expoer order in logbook entries attempt 1
2024-12-10 20:09:25 +00:00
PhilipSargent
700512c008
disambiguate error messages
2024-12-10 19:06:55 +00:00
PhilipSargent
26eff0172b
disambiguate error messages
2024-12-10 18:43:09 +00:00
PhilipSargent
aa164e9d81
bug typo fixed
2024-12-10 17:46:13 +00:00
PhilipSargent
cb9bfbf5d2
Add 'surface' to list of roles
2024-11-23 22:48:01 +00:00
PhilipSargent
d3042264b3
better error message
2024-11-23 22:07:49 +00:00
PhilipSargent
2598126879
remove date from cave .html files when editing or creating
2024-10-14 21:12:35 +03:00
PhilipSargent
29a7b984da
Error ms inserted
2024-10-14 20:59:01 +03:00
PhilipSargent
7e92ee2084
more logbook entries
2024-09-01 22:57:52 +03:00
PhilipSargent
e6601e1bf7
fix pointless error messages in tests
2024-08-21 15:48:49 +03:00
PhilipSargent
2787b6c4ec
comment
2024-08-15 23:25:49 +03:00
PhilipSargent
b6fc5f3d32
remove python 3.12 thing
2024-08-15 23:24:45 +03:00
PhilipSargent
fd189c68b3
cleaner wallets import disgnostics
2024-08-15 22:54:18 +03:00
PhilipSargent
c7f0061605
format tidy
2024-08-15 22:40:20 +03:00
PhilipSargent
005e1c132a
number of entries
2024-08-12 19:42:24 +03:00
PhilipSargent
9063e54e6c
local import of DataIssue
2024-08-11 19:45:51 +03:00
PhilipSargent
3e198fc410
cleaned up wallets import process
2024-08-11 18:41:27 +03:00
PhilipSargent
fc145648e6
Rearranging wallets setting from scanning surveyscans
2024-08-11 17:06:27 +03:00
PhilipSargent
6e1c83ec6e
Catch exception when database reset ongoing
2024-08-11 17:06:27 +03:00
PhilipSargent
d57e49b5b2
Label changed
2024-08-11 17:03:13 +03:00
PhilipSargent
aaabcafcfe
Message while database reset ongoing.. untested
2024-08-11 15:43:41 +03:00
PhilipSargent
74ce8894d2
wallets subfolders fiddling
2024-08-11 15:19:59 +03:00
PhilipSargent
e64cb212c1
make more robust
2024-08-11 14:07:26 +03:00
PhilipSargent
581f0259e2
bug fix again
2024-08-11 13:40:56 +03:00
PhilipSargent
f99141b0cb
bug fix
2024-08-11 13:38:01 +03:00
PhilipSargent
89ef1afbe8
check slashes in dates in wallets
2024-08-11 13:29:30 +03:00
PhilipSargent
1203b51530
chnage logbook default to 2024
2024-08-10 08:37:25 +01:00
PhilipSargent
517d27458c
make default date sensible for LBEs
2024-08-09 02:02:46 +03:00
PhilipSargent
7dbaea5d24
forbid changing year when editing existing logbook entry
2024-08-09 00:58:40 +03:00
PhilipSargent
859d9a5b22
changed msg for QM import
2024-08-05 11:35:28 +03:00
PhilipSargent
beb83e93f4
remove old warnings
2024-08-05 11:08:08 +03:00
PhilipSargent
e97d60a1c4
check pre exisiting scan files for proposed new wallet
2024-08-04 10:39:18 +03:00
PhilipSargent
3bfb082e83
?
2024-08-04 08:48:37 +03:00
PhilipSargent
5e6aa0a175
wallet link
2024-08-04 01:04:21 +03:00
PhilipSargent
490fb61571
linki to wallets for a person
2024-08-04 00:55:19 +03:00
PhilipSargent
c1f9a26f5b
debug msg
2024-07-30 08:50:23 +03:00
PhilipSargent
62320e9f7e
fixing ,, bug in logbook rewriting, and fixing persons order
2024-07-30 00:53:24 +03:00
PhilipSargent
526d0ad904
fixing bad ids on newly entrered LBEs
2024-07-26 14:31:54 +02:00
PhilipSargent
9166b6ed74
fix year menu, fix name display, fix no of entries
2024-07-24 21:55:46 +02:00
PhilipSargent
245486666c
comment & docm re timestamps
2024-07-24 11:43:27 +02:00
PhilipSargent
6ec90b4665
fixed test text
2024-07-24 07:59:41 +02:00
PhilipSargent
7c36fd5d2b
comment
2024-07-23 23:43:08 +02:00
PhilipSargent
f590d0c12c
redirect to edit page
2024-07-23 16:38:24 +02:00
PhilipSargent
219637e215
bug
2024-07-23 16:20:56 +02:00
PhilipSargent
957f78b1a3
trying to debug dup lbe
2024-07-23 16:18:09 +02:00
PhilipSargent
ca103fde22
more debug for logbook edits
2024-07-23 15:52:04 +02:00
PhilipSargent
a2f4591f72
offline message
2024-07-23 11:42:36 +02:00
PhilipSargent
07fc372b41
belt and braces prevent bad lbe ids
2024-07-23 11:34:12 +02:00
PhilipSargent
feaf38aa39
bug fix
2024-07-23 09:39:21 +02:00
PhilipSargent
c01f0e1dff
debug stuff for logreport
2024-07-23 08:58:17 +02:00
PhilipSargent
48f2407a06
annotation on heading
2024-07-22 17:24:57 +02:00
PhilipSargent
2de4ad2a2f
link to mugshots
2024-07-22 13:58:55 +02:00
PhilipSargent
baf58a5433
simpler person icon in calendar report
2024-07-20 21:19:20 +02:00
PhilipSargent
41fff1f3dd
mugshots on expo page
2024-07-20 19:10:05 +02:00
PhilipSargent
bca1123d4d
mugshots on the expo calendar page
2024-07-20 18:41:30 +02:00
PhilipSargent
83e22f828c
extra comment re number of scans
2024-07-20 17:49:33 +02:00
PhilipSargent
c95d861516
fixed orde rof author and others in log
2024-07-20 17:11:23 +02:00
PhilipSargent
afa8ff4f66
debug commented out
2024-07-20 16:35:57 +02:00
PhilipSargent
c25a4b47de
fix expofiles photos not appearing
2024-07-20 16:22:07 +02:00
PhilipSargent
78bc7323e9
fix YEAR separate for title banner and for current_year beging investigated
2024-07-20 13:52:39 +02:00
PhilipSargent
210174b901
fix photos link to expofiles in logbooks
2024-07-19 11:55:44 +02:00
PhilipSargent
c27a4f0ddc
FIxed new survex file in editor crashed I think
2024-07-18 23:42:59 +02:00
PhilipSargent
5740a6b0d6
fixing new survex file editing
2024-07-18 20:12:18 +02:00
PhilipSargent
ff08e05485
remove print
2024-07-18 20:07:04 +02:00
PhilipSargent
0ce2ae4d1c
commnt added
2024-07-18 16:14:11 +02:00
PhilipSargent
5a4d874b9f
remove trial new QM bits
2024-07-18 13:59:35 +02:00
PhilipSargent
41893b81e8
remove trial new QM bits
2024-07-18 13:57:45 +02:00
PhilipSargent
3ba1454f15
add link to logbook delete in control panel
2024-07-18 10:12:30 +02:00
PhilipSargent
12fa55f537
new entry deletuion capability
2024-07-17 21:58:27 +02:00
PhilipSargent
6729698d7b
fix for non existent logbook between 1st Jan and start of expo
2024-07-17 16:10:55 +02:00
PhilipSargent
00f5ffa1b6
re-order names
2024-07-17 14:05:58 +02:00
PhilipSargent
a6ca40becd
fix bug
2024-07-16 18:13:07 +02:00
PhilipSargent
5b23b2df8a
nicer display
2024-07-16 17:30:04 +02:00
PhilipSargent
ceb20f8565
fix 'year'
2024-07-16 15:29:03 +02:00
PhilipSargent
1365190330
More links
2024-07-16 14:45:08 +02:00
PhilipSargent
b907dcc993
debug comment
2024-07-15 12:42:46 +02:00
PhilipSargent
2cb665e141
to-do comments updated
2024-07-15 12:41:58 +02:00
PhilipSargent
11756fa0bb
relax duplicate alias removal: assume 1623 area
2024-07-14 21:39:56 +02:00
PhilipSargent
ee5b36a33c
remove spurious headers
2024-07-14 18:16:18 +02:00
PhilipSargent
35b04d096e
New log report by title
2024-07-14 16:01:44 +02:00
PhilipSargent
f4c25ba163
bugfix
2024-07-14 13:29:21 +02:00
PhilipSargent
1a5e6167fd
fix
2024-07-13 14:52:24 +02:00
PhilipSargent
f874bdc55e
fix
2024-07-13 14:51:19 +02:00
PhilipSargent
cef872d038
GPX upload
2024-07-13 14:49:55 +02:00
PhilipSargent
fca95ce539
2024 defauklt year
2024-07-12 17:56:15 +02:00
PhilipSargent
24c5ba9711
Remove CaveSLug as a Class. Now each Cave has only one slug for sure.
2024-07-12 17:18:05 +02:00
PhilipSargent
a4783d2332
fix for python 3.11
2024-07-10 22:18:39 +02:00
PhilipSargent
7908257d63
fix directory for uploaded cave description photos
2024-07-10 21:07:45 +02:00
PhilipSargent
f5f3adf7da
fixing index.htm as troggle-managed page
2024-07-10 13:10:55 +02:00
PhilipSargent
63ef8c9fb1
link to new logbook entry in menues
2024-07-09 14:46:42 +02:00
PhilipSargent
a8c9f8b899
bug fix from unfinished work, aborted
2024-07-08 22:28:09 +01:00
PhilipSargent
a68ef27284
make some pages sensitive to current_expo()
2024-07-08 20:22:42 +02:00
PhilipSargent
35e6bbe1ac
comment about gpx files
2024-07-08 18:48:49 +02:00
PhilipSargent
cb854696c9
content type for gpx and kml
2024-07-08 11:59:10 +02:00
PhilipSargent
5ffe8230b1
addnewlogbook url
2024-07-07 10:08:48 +02:00
PhilipSargent
8b2ec54676
now 2024 logbook exists
2024-07-06 22:57:13 +02:00
PhilipSargent
f36f10d903
debug op
2024-07-05 00:28:48 +03:00
PhilipSargent
69ce1d91f3
all tests working except for git troggle and survex parsing
2024-07-04 22:36:40 +03:00
PhilipSargent
57bab53cec
Nearly fixed test suite
2024-07-04 22:10:49 +03:00
PhilipSargent
b28b590b60
Makefile
2024-07-04 17:40:51 +03:00
PhilipSargent
0ae1315f59
add .tex and .sty files to text editable
2024-07-04 15:41:17 +03:00
PhilipSargent
3ba9f9d5c7
added link to control panel page
2024-07-03 21:06:54 +03:00
PhilipSargent
8732641cfd
title changed
2024-07-03 19:56:38 +03:00
PhilipSargent
1c8c36c82f
loading cave aliases from file now working
2024-07-03 19:27:37 +03:00
PhilipSargent
b6ffcb63bf
error handling for txt editor
2024-07-03 12:34:21 +03:00
PhilipSargent
cb81a066db
initial text file editing stuff
2024-07-03 11:48:38 +03:00
PhilipSargent
704ff8335d
still some bugs in cave ids
2024-07-02 20:01:15 +03:00
PhilipSargent
c58f2716b0
chnage to cave data model field: fully_explored, taken from kataster code
2024-07-02 13:15:34 +03:00
PhilipSargent
e4d3e33dec
bug fix
2024-07-02 12:23:33 +03:00
PhilipSargent
208c0ffa1f
something odd with 2023-ww-01
2024-07-02 11:49:53 +03:00
PhilipSargent
0f754694ed
alias glitch
2024-07-02 11:12:16 +03:00
PhilipSargent
c3b08c85ef
typo
2024-07-02 10:57:08 +03:00
PhilipSargent
a6730b1b3a
deal with absent uneeded items
2024-07-02 10:55:11 +03:00
PhilipSargent
c51f76ed83
rename alias still giving error messges.. but why?
2024-07-02 02:50:38 +03:00
PhilipSargent
e432098f6a
renaming aliases
2024-07-02 02:18:09 +03:00
PhilipSargent
8e1cf1021d
using filename for entrance_slug not the <slug> field in entrance_data file
2024-06-30 20:38:02 +03:00
PhilipSargent
6789d4f627
detecting mismatched entrance slugs and filenames
2024-06-30 00:17:39 +03:00
PhilipSargent
24a97b9dbd
fixing entrance import messages
2024-06-29 12:12:16 +03:00
PhilipSargent
897cdf9aee
fix messages
2024-06-29 12:10:35 +03:00
PhilipSargent
313d4bde30
try again
2024-06-29 12:09:41 +03:00
PhilipSargent
d1e853ef47
ignore temp script
2024-06-29 12:09:41 +03:00
Expo on server
b93ff5552b
remove mvscript.sh
2024-06-29 10:09:34 +01:00
PhilipSargent
a6c47b2654
<caveslg> now taken from filename not <caveslug> field
2024-06-29 10:32:10 +03:00
PhilipSargent
87d67f5820
ignore mvscript.sh in /troggle
2024-06-29 10:31:46 +03:00
PhilipSargent
6d16f8f7ca
fixing cave slug <caveslug> issues
2024-06-29 10:31:45 +03:00
Expo on server
09dbe5b14b
bogus, fixing..
2024-06-29 08:30:27 +01:00
PhilipSargent
70bdb50ae7
more fixes to cave_edit mess
2024-06-28 18:56:17 +03:00
PhilipSargent
03fa36576b
fixing cave_edit
2024-06-28 18:55:41 +03:00
Expo on server
5fff060487
utility to rename katastered files
2024-06-28 16:55:24 +01:00
PhilipSargent
c18ebeb992
fixing more misnamed file stuff
2024-06-28 13:53:44 +03:00
PhilipSargent
36ef9f961d
Trying to make kataster renumbering easier
2024-06-08 13:30:39 +03:00
PhilipSargent
f156b89f32
New cave renumbering 2023 kataster
2024-06-08 13:09:53 +03:00
PhilipSargent
efbb5b1b97
update number of log entries
2024-06-08 13:09:30 +03:00
PhilipSargent
76f5ca3f45
Where JS is put
2024-05-09 21:07:52 +03:00
PhilipSargent
1874a755a9
error message for new person pre database reset
2024-04-21 20:26:27 +01:00
Wookey
b8d5ce2542
Update for bulseye
2024-04-21 00:01:49 +01:00
Wookey
77fafc378e
Update server requirements for bullseye
2024-04-21 00:00:21 +01:00
PhilipSargent
af414396d6
matching fix for db import to match folklist parser
2024-04-20 12:05:05 +01:00
PhilipSargent
dfdf21459a
fix current year in top menu
2024-04-10 23:25:13 +01:00
PhilipSargent
b73ac24a3b
infinite loop bug fixed
2024-04-10 21:23:52 +01:00
PhilipSargent
65f0c1e29f
preventing _edit_edit_edit* loops by bots
2024-04-10 20:24:29 +01:00
Expo on server
2743be281e
WHy are these files not committed ont he server? Philip
2024-04-06 15:27:30 +01:00
PhilipSargent
8bafe9be98
maybe ARGE
2024-03-16 19:45:56 +00:00
PhilipSargent
a0ef426cdb
fix year in menu for older survexfiles
2024-03-15 16:37:30 +00:00
PhilipSargent
5dfaa893ad
make missing Expo work if mroe than one year skipped
2024-03-15 15:26:32 +00:00
PhilipSargent
5523c7a484
update menu to show 2024 or whatever it can
2024-03-15 13:55:40 +00:00
PhilipSargent
e2d7ab4416
detect missing current expo on expo page
2024-03-15 12:49:01 +00:00
PhilipSargent
dbfe72071e
auto git auto created files
2024-03-15 02:16:33 +00:00
PhilipSargent
d970942f04
auto new year stuff
2024-03-15 01:50:34 +00:00
PhilipSargent
e1eb85969a
next year auto for wallets
2024-03-14 23:59:39 +00:00
PhilipSargent
4c8a88d20c
more base.html automation
2024-03-14 21:35:58 +00:00
PhilipSargent
b3490aa52d
current year auto
2024-03-14 19:53:01 +00:00
PhilipSargent
7325d934f9
initial / inserted on {{cave.url}}
2024-03-09 17:28:03 +00:00
PhilipSargent
83920e4d83
new menu item
2024-03-05 23:47:28 +00:00
PhilipSargent
e9255a2cb5
new menu item
2024-03-05 23:42:23 +00:00
PhilipSargent
abfa5b2757
p12d5 working
2024-02-21 01:26:55 +00:00
PhilipSargent
5948db2555
trying python v 3.12
2024-02-21 01:04:54 +00:00
PhilipSargent
a61751e1fb
remove // in URLs
2024-02-06 18:52:46 +00:00
PhilipSargent
422d2324e8
fix bad url in logbookentry
2024-02-06 16:59:25 +00:00
PhilipSargent
957002507c
Replace Charfield with TextField
2024-02-05 22:33:09 +00:00
PhilipSargent
18a8fcbfb5
restore crash to try to debug
2024-02-05 22:16:51 +00:00
PhilipSargent
478f8b9ea1
atomic
2024-02-05 21:39:21 +00:00
PhilipSargent
974b91d939
exceptio
2024-02-05 21:38:23 +00:00
PhilipSargent
e46cbe5d41
dataerror
2024-02-05 21:36:56 +00:00
PhilipSargent
f26c9d1ff2
suppress DataError exception
2024-02-05 21:32:34 +00:00
PhilipSargent
c518fbc5af
more fix
2024-02-05 21:27:04 +00:00
PhilipSargent
1b44bc2867
typo
2024-02-05 21:22:47 +00:00
PhilipSargent
00ce42c1cf
typo
2024-02-05 21:21:21 +00:00
PhilipSargent
c72efe1326
trying to debug crashing db
2024-02-05 21:18:40 +00:00
PhilipSargent
1e00e56522
check for non-existent expo
2024-02-05 20:02:03 +00:00
PhilipSargent
1c19211c33
Copilot tests automatically written
2023-12-31 12:51:09 +00:00
PhilipSargent
96b034d026
enhancing list of wallets on cave description page
2023-12-23 18:37:20 +00:00
PhilipSargent
ebfab4da45
add comment to wallets
2023-12-23 16:46:48 +00:00
PhilipSargent
8fd09bef92
python 3.12 discovered syntax issues
2023-11-23 18:46:44 +00:00
PhilipSargent
521fd20e37
Remove unused fossils incompatible with Django 5
2023-11-23 18:17:33 +00:00
PhilipSargent
480b98a704
comment
2023-11-23 18:04:04 +00:00
PhilipSargent
3158bfb746
venv updates
2023-11-23 18:03:57 +00:00
PhilipSargent
857b4c5809
repairing tests
2023-11-23 11:19:05 +00:00
PhilipSargent
32e487eca6
still working on tests
2023-11-22 18:58:19 +00:00
PhilipSargent
a63f04d194
fix tests
2023-11-22 18:14:00 +00:00
PhilipSargent
80c19864ad
trying to make it work with xubuntu 22.04
2023-11-22 17:38:52 +00:00
Your Name
c0e35e964b
more raw strings
2023-11-22 17:09:22 +00:00
Your Name
e1945feef5
fix raw string
2023-11-22 17:05:01 +00:00
Your Name
b191678570
working on django 5
2023-11-22 16:54:49 +00:00
Your Name
ab1212dd8a
make tests work
2023-11-22 16:54:38 +00:00
PhilipSargent
bd81bd0b01
Made kataster_status field invisible.
2023-11-20 19:27:09 +00:00
PhilipSargent
740a5a4fa8
Working on removing 'katatser status' field
2023-11-20 19:04:42 +00:00
PhilipSargent
7c7c0812e8
removing unused fields
2023-11-18 14:17:50 +00:00
PhilipSargent
7a61bc47ea
Make 'bearings' a read-only field on entrances
2023-11-18 13:27:08 +00:00
PhilipSargent
76688695b8
srtm altitude parsing
2023-11-18 12:38:07 +00:00
PhilipSargent
688a1795e7
Removing cave field underground_centre_line
2023-11-17 21:41:07 +02:00
PhilipSargent
026d959aeb
Detecting data in field on cave
2023-11-17 21:26:26 +02:00
PhilipSargent
d333ebe88e
url code commented out
2023-11-17 18:30:00 +02:00
PhilipSargent
ddf88d5394
make robust against None value
2023-11-17 13:03:48 +02:00
PhilipSargent
41e64a217c
working regex
2023-11-17 12:53:05 +02:00
PhilipSargent
5961175193
found why regex is not finding ; comment, to fix
2023-11-16 10:27:06 +02:00
PhilipSargent
e1c9de14ca
trying to find srtm *fix stations
2023-11-16 08:49:18 +02:00
PhilipSargent
7b67eb52dc
re-enable /map/tools/
2023-11-14 19:43:49 +02:00
PhilipSargent
680477d2d5
better error msg
2023-11-14 18:01:44 +02:00
PhilipSargent
6bc0884d43
better labels on forms
2023-11-14 15:55:11 +02:00
PhilipSargent
d2ee32d3e6
fixing side effects of the new cave url scheme
2023-11-12 01:23:20 +02:00
PhilipSargent
699c19245a
regenerating .pos file more carefully
2023-11-11 14:36:03 +02:00
PhilipSargent
7fb0f0734d
re-located *fix in different area
2023-11-10 15:34:13 +02:00
PhilipSargent
2761fb5867
tidy up more 'url' fossils
2023-11-10 15:33:39 +02:00
PhilipSargent
0c1601e1b0
beter(?) git error reporting
2023-11-10 15:33:04 +02:00
PhilipSargent
08c56644eb
Make maps an 'unvarnished' url
2023-11-08 22:53:30 +02:00
PhilipSargent
ca289afe68
fix headers & | safe
2023-11-08 15:43:19 +02:00
PhilipSargent
717ef2fad9
headings
2023-11-08 15:34:36 +02:00
PhilipSargent
d5900b6b7a
no longer use expowebcache
2023-11-08 15:28:22 +02:00
Expo on server
29e16b66b7
Table sorting.
2023-11-08 13:05:57 +00:00
Expo on server
51cf09ece7
Add comments about units and datum.
2023-11-08 12:55:55 +00:00
PhilipSargent
dec7acaf14
move text
2023-11-08 14:39:32 +02:00
PhilipSargent
9bc94f59b5
remove last url field niggle from cave_data
2023-11-08 02:49:57 +02:00
PhilipSargent
2215464cfa
fix error on first creating new ent
2023-11-08 02:12:37 +02:00
PhilipSargent
b5cc66a576
ent and cave templates
2023-11-08 02:12:21 +02:00
PhilipSargent
1e8a5bea6e
ent.url removed and entrance edit path simplified
2023-11-07 23:23:15 +02:00
PhilipSargent
1ba37665b5
<p> now OK in logbook entries
2023-11-07 23:20:59 +02:00
PhilipSargent
3f94955883
Fix .3d filename
2023-11-07 18:37:52 +02:00
PhilipSargent
5652b9b66a
Javascript how it is.
2023-11-07 18:35:21 +02:00
PhilipSargent
07d9365747
fixed many problems in creating new entrances
2023-11-07 02:12:57 +02:00
PhilipSargent
bd0a9332df
pending entrance locations
2023-11-05 22:59:23 +02:00
PhilipSargent
df79bdb711
fine tuning search for SRTM point
2023-11-05 22:59:02 +02:00
PhilipSargent
c0687615a4
bugfix and ongoing issue
2023-11-05 21:59:01 +02:00
PhilipSargent
2c67351424
bugfix and making more robust
2023-11-05 15:20:45 +02:00
PhilipSargent
d524f94c47
more stations
2023-11-05 02:24:37 +02:00
PhilipSargent
3c62defdfd
fixes and bugfix
2023-11-04 18:28:14 +02:00
PhilipSargent
a63275f913
do NOT inherit *date between *include files - policy decision
2023-11-04 18:27:41 +02:00
PhilipSargent
55bbccb4ca
add link to exact logbookentry page
2023-11-04 10:40:46 +02:00
PhilipSargent
70c629f455
downgrade error to warning
2023-11-04 01:53:10 +02:00
PhilipSargent
6630877b02
making the #00 wallet a catch-all and no complaining
2023-11-03 21:56:10 +02:00
PhilipSargent
99b87f808c
make cave url canonical form
2023-11-03 16:54:57 +02:00
PhilipSargent
f78c719fd7
remove unneeded table
2023-11-03 16:54:44 +02:00
PhilipSargent
fc60bde3ec
comments and tidy
2023-11-03 16:54:29 +02:00
PhilipSargent
c7cb8ece2e
comments trying to understand..
2023-11-02 21:05:08 +02:00
PhilipSargent
685131a4c1
tidied tables of stations and entrances
2023-11-02 19:24:07 +02:00
PhilipSargent
c95e6e8097
better display
2023-11-02 01:22:08 +02:00
PhilipSargent
cc4a7f04da
improves stations srtm report
2023-11-02 01:05:36 +02:00
PhilipSargent
742ccb5f0b
update tests for page name change
2023-11-02 00:02:21 +02:00
PhilipSargent
62de8095d8
lat long in italics
2023-10-27 22:44:44 +03:00
PhilipSargent
84e0b4fe3f
SRTM on all stations report
2023-10-27 22:28:10 +03:00
PhilipSargent
f706bd814e
add SRTM alts
2023-10-27 22:23:03 +03:00
PhilipSargent
97bb1a3ad1
comment corrections
2023-10-27 22:13:32 +03:00
PhilipSargent
788de853dc
ported radosts SRTM altitude tool
2023-10-27 22:13:14 +03:00
PhilipSargent
7672de2dd1
more fixing bad *ref and null dates on blocks
2023-10-26 22:46:16 +03:00
PhilipSargent
87d9804864
findng variant data on survexblocks and setting wallet *ref
2023-10-26 18:28:59 +03:00
PhilipSargent
f14bd984f8
extract more into ARGE pending cave pages
2023-10-25 22:35:51 +03:00
PhilipSargent
0843a27966
Revised (faster, less brain damaged) wallet pages
2023-10-25 01:56:30 +03:00
PhilipSargent
33477f2b40
refactoring duplicate code
2023-10-23 22:54:46 +03:00
PhilipSargent
b522899216
remove print stmts
2023-10-23 20:54:38 +03:00
PhilipSargent
c8c21fbe04
JSON cache per python instance - working
2023-10-23 20:50:28 +03:00
PhilipSargent
1694d01536
before big revision to wallet model code
2023-10-23 20:24:05 +03:00
PhilipSargent
2b96086535
caves->wallets at parse time
2023-10-23 03:24:34 +03:00
PhilipSargent
54ffab3e93
checking wallets earlier int he process
2023-10-23 02:32:44 +03:00
PhilipSargent
8f87e4f77a
bugfix - hack
2023-10-22 21:28:38 +03:00
PhilipSargent
1641dfe5f1
tidy with new multicave wallets
2023-10-21 22:31:33 +03:00
PhilipSargent
e7a0c57330
wallets & caves now many:many
2023-10-21 16:22:20 +03:00
PhilipSargent
24029be7d3
wookeys new not-scan files
2023-10-21 12:39:47 +03:00
PhilipSargent
850e87b97a
fix because of format change
2023-10-21 12:39:02 +03:00
PhilipSargent
dfd8f4a453
instrucitons
2023-10-20 18:06:19 +03:00
PhilipSargent
8c7d4f8ebb
photo map more
2023-10-20 14:01:54 +03:00
PhilipSargent
423347dbe5
cope with bad exif error
2023-10-20 14:00:38 +03:00
PhilipSargent
a823a7b2d8
New geocoding photos
2023-10-20 00:36:15 +03:00
PhilipSargent
0874ca38f4
to do
2023-10-19 18:37:27 +03:00
PhilipSargent
c4da7f6fa7
italics for 'official name'
2023-10-19 18:33:39 +03:00
PhilipSargent
9b96c4c745
scanning photos for GPS datat
2023-10-19 18:33:20 +03:00
PhilipSargent
c1d14ea49d
aliases update
2023-10-19 01:01:28 +03:00
PhilipSargent
c0e4bee26b
still trying to find why 78d is duplicated
2023-10-18 00:42:50 +03:00
PhilipSargent
1cbbdad1b3
trying to fin dup entrance bug
2023-10-18 00:19:17 +03:00
PhilipSargent
de298748e3
aliases of refound caves
2023-10-16 22:47:28 +03:00
PhilipSargent
0762d53c18
bug fix
2023-10-16 19:03:54 +03:00
PhilipSargent
bf8bf7b3d2
bug in getting cave slug
2023-10-16 13:35:56 +03:00
PhilipSargent
6b94829315
bug in pending caves parsing
2023-10-16 13:35:36 +03:00
PhilipSargent
d88ae2f78c
corrected message
2023-10-15 18:43:15 +03:00
PhilipSargent
a786f4813f
tidying
2023-10-15 18:39:00 +03:00
PhilipSargent
c51c2326fe
Better standard entrances report
2023-10-15 01:11:21 +03:00
PhilipSargent
5d383e0445
fix bug in <p> removal
2023-10-14 02:05:25 +03:00
PhilipSargent
5cfc237448
minor updates
2023-10-14 00:17:57 +03:00
PhilipSargent
bf8d881770
Edit entrance form explanation text
2023-10-12 16:13:28 +03:00
PhilipSargent
246fb29193
more easting northing removal
2023-10-12 01:26:33 +03:00
PhilipSargent
d3a7a9823a
remove exact station
2023-10-12 00:58:20 +03:00
PhilipSargent
3b1fd56fe4
REMOVED northing and easting fields
2023-10-12 00:25:24 +03:00
PhilipSargent
a2bddaeb89
tooling to check unevidenced locations
2023-10-11 23:26:41 +03:00
PhilipSargent
0cd527761e
easting first, then northing: always
2023-10-11 20:53:41 +03:00
PhilipSargent
7e1c8797b8
fix edit entrance bug
2023-10-11 17:02:11 +03:00
PhilipSargent
2452fe5752
extra message
2023-10-11 15:05:58 +03:00
PhilipSargent
d34c2c50d7
comments in pages
2023-10-11 01:38:41 +03:00
PhilipSargent
d6a3006444
x/y distances between explicit data and survey points
2023-10-11 01:03:28 +03:00
PhilipSargent
973f9bedd5
WSL useful script
2023-10-10 20:03:05 +03:00
PhilipSargent
12293e4513
add alias
2023-10-10 14:31:17 +03:00
PhilipSargent
67136e9881
href to OSM on located stations
2023-10-10 12:41:52 +03:00
PhilipSargent
eed031cf71
1623-114 alias
2023-10-10 12:41:32 +03:00
PhilipSargent
0151626c0b
added popup text for triangkles
2023-10-08 00:15:16 +03:00
PhilipSargent
31461531fc
add 1624 caves
2023-10-08 00:06:12 +03:00
PhilipSargent
152156227d
remove print statements
2023-10-07 23:42:04 +03:00
PhilipSargent
7c0187c75b
Black triangles on cave index
2023-10-07 19:41:25 +03:00
PhilipSargent
5f67af35f0
Better tag locations
2023-10-07 02:26:52 +03:00
PhilipSargent
c3642f1ae4
More entrance data on report
2023-10-07 02:24:41 +03:00
PhilipSargent
2f3827d60e
Display * triangle caves with no ent or survex
2023-10-06 17:01:48 +03:00
PhilipSargent
dfdbba6550
Orange ▲ for caves with no Entranes
2023-10-06 14:57:41 +03:00
PhilipSargent
0a72e50c90
tests now do all work, honest
2023-10-05 15:36:04 +03:00
PhilipSargent
207513b8b5
tests now work again
2023-10-05 15:33:01 +03:00
PhilipSargent
ed993761a1
clean up small errors and debugging
2023-10-05 14:45:46 +03:00
PhilipSargent
fcfa59cdf7
Make people listed in wallets url-linkable
2023-10-05 14:11:05 +03:00
PhilipSargent
eae919e5b2
Digging out failed name recognition
2023-10-04 23:34:36 +03:00
PhilipSargent
6950fc1d1d
make wgs84 location visible on cave descritpion page (if present)
2023-10-04 22:23:52 +03:00
PhilipSargent
adbc8f7955
disambiguating names on wallets
2023-10-04 22:23:26 +03:00
PhilipSargent
da10605d75
show WGS84 lat/long of entrances on the Cave page, ideally a link to OSM too?
2023-10-04 20:25:36 +03:00
PhilipSargent
bc621efc36
wallets-per-person now finding non-survex wallets
2023-10-04 18:22:54 +03:00
PhilipSargent
9f4306e367
FIx bad hard-wired links
2023-10-04 13:24:39 +03:00
PhilipSargent
21e0700b8d
CLean up accented names display
2023-10-04 13:05:33 +03:00
PhilipSargent
ad2d25ed00
remove first attempts are fixing this stuff
2023-10-04 12:17:04 +03:00
PhilipSargent
f161ed3cf4
fixing accented names
2023-10-01 17:53:25 +03:00
PhilipSargent
d8aad0ba2b
All working except floklist script
2023-10-01 16:10:17 +03:00
PhilipSargent
7b8703dadc
part-way though converting to slugs for people
2023-10-01 15:55:28 +03:00
PhilipSargent
16d3ee9f92
Rename lookupAttribs and nonLookupAttribs + add slug to Person
2023-10-01 12:42:47 +03:00
PhilipSargent
fd94909ee7
removed fossil URL_ROOT from active code
2023-10-01 12:21:34 +03:00
PhilipSargent
c80db1a55f
added caves URL table at end of report
2023-09-30 22:28:43 +03:00
PhilipSargent
c884156889
fixed duplicate paths to same page
2023-09-30 22:09:18 +03:00
PhilipSargent
8dcae6437e
Comments chnaged to be more accurate
2023-09-30 20:35:40 +03:00
PhilipSargent
904b6309cf
First attempts at reforming the FirstnameSurname parsing
2023-09-29 22:00:10 +03:00
PhilipSargent
a67a97b9fc
red *
2023-09-28 01:23:18 +03:00
PhilipSargent
e98c63f51c
Fix odd glitches in cave parsing
2023-09-28 01:01:32 +03:00
PhilipSargent
7f9f598f11
comment updates
2023-09-27 21:44:04 +03:00
PhilipSargent
421b47c137
bugfix
2023-09-27 21:43:35 +03:00
PhilipSargent
0d5297f08c
lat/long values now persistent on Entrances
2023-09-27 00:38:07 +03:00
PhilipSargent
9aad95bfd0
Mark caves with no survex files
2023-09-26 22:16:19 +03:00
PhilipSargent
505eb6475e
pending caves aliases stuff
2023-09-26 19:44:06 +03:00
PhilipSargent
51dbf5e9e6
setting up fresh venv
2023-09-26 18:32:11 +03:00
PhilipSargent
98e7cf6d1b
test stuff for Django 5.0a (alpha)
2023-09-26 15:20:59 +03:00
PhilipSargent
d6eadeffd6
Add digital file reminder
2023-09-26 01:40:34 +03:00
PhilipSargent
cf6ba7568f
Check the url field too
2023-09-26 01:26:50 +03:00
PhilipSargent
d4cf76da40
slightly cleaning up slug/areacode/unofficial_number mess
2023-09-26 01:10:50 +03:00
PhilipSargent
f10db6d73d
clean up ignore lists for survex files
2023-09-25 20:57:25 +03:00
PhilipSargent
18e1775cff
fix for eastings page test
2023-09-23 01:45:38 +03:00
PhilipSargent
85dba41601
better text
2023-09-23 01:37:53 +03:00
PhilipSargent
9c05cb6af0
rotatable images & text
2023-09-23 00:48:35 +03:00
PhilipSargent
017f916ef9
Entrance locations showing lat long screwups
2023-09-16 22:46:17 +03:00
PhilipSargent
a85f859f88
add WGS84 lat/long entrance locations
2023-09-16 21:12:49 +03:00
PhilipSargent
81b5198cd1
fix code so tests work
2023-09-16 19:53:39 +03:00
PhilipSargent
9db0b2a191
recognise old cave id codes in old wallets "1623-"
2023-09-16 13:53:05 +03:00
PhilipSargent
a8d4b05617
finding the right survex file for a cave
2023-09-15 22:41:40 +03:00
PhilipSargent
3390f17aa4
.3d cave file links
2023-09-15 22:41:02 +03:00
PhilipSargent
29879fdde2
fix comment
2023-09-15 10:20:01 +02:00
PhilipSargent
7ddf7fe373
1624 arge caves
2023-09-14 15:29:00 +03:00
PhilipSargent
1effc10e3f
tidyup of image rotate
2023-09-14 15:08:10 +03:00
PhilipSargent
85487efee3
debug mogrify
2023-09-14 14:24:36 +03:00
PhilipSargent
db3d1ff4ef
ROTATE image option
2023-09-14 14:15:16 +03:00
PhilipSargent
1085a14b92
comments
2023-09-14 13:40:33 +03:00
PhilipSargent
0295fce110
logic rearranged
2023-09-14 13:40:19 +03:00
PhilipSargent
724989f985
prompt text
2023-09-13 18:57:35 +03:00
PhilipSargent
70dd61b2ba
sanitize filenames
2023-09-13 18:46:10 +03:00
PhilipSargent
33a485d207
notable caves fix
2023-09-13 18:45:59 +03:00
PhilipSargent
af136d3432
fixes
2023-09-11 22:42:12 +03:00
PhilipSargent
d323ff2700
debugging Cave page links..
2023-09-11 20:38:14 +03:00
PhilipSargent
47db19f1a2
formatting
2023-09-10 17:28:13 +03:00
PhilipSargent
9d6552ea22
ARGE caves, fixed bug in non-numeric ids
2023-09-10 16:35:00 +03:00
PhilipSargent
2f6017d6d3
testsuite passes - Area removed
2023-09-10 15:55:01 +03:00
PhilipSargent
ab79a43afa
Removed class Area, use Cave.areacode Cave.subarea
2023-09-10 15:42:36 +03:00
PhilipSargent
ad272fab3b
Now creating ARGE caves properly
2023-09-10 13:44:06 +03:00
PhilipSargent
327b1923b0
Cleaning auto Cave creation from survex file detection
2023-09-10 02:06:38 +03:00
PhilipSargent
54136721b8
fix for survex file url
2023-09-09 23:03:37 +03:00
PhilipSargent
5a191ee554
Big refactor of cave lookuo & creation. Works.
2023-09-08 19:51:04 +03:00
PhilipSargent
7779544c0c
refactoring cave id stuff in survex parser - working
2023-09-08 18:35:47 +03:00
PhilipSargent
28d1092956
Removing unneeded svx from parse list
2023-09-08 01:26:01 +03:00
PhilipSargent
5fc5c1285a
bugfix - bad variable
2023-09-07 21:47:40 +03:00
PhilipSargent
e1aabc84e8
url bugfix
2023-09-07 21:47:15 +03:00
PhilipSargent
8b76cad15a
EPOCH = 1970-01-01
2023-09-07 21:47:02 +03:00
PhilipSargent
1631111a7f
page title chnaged
2023-09-07 21:44:52 +03:00
PhilipSargent
335ffb360d
/drawings
2023-09-07 21:40:39 +03:00
PhilipSargent
6d5cee7f6a
tidy
2023-09-07 00:42:26 +03:00
PhilipSargent
6b64149131
cleaned out unused code
2023-09-07 00:27:38 +03:00
PhilipSargent
2c5ebde308
Survex directories report tidied
2023-09-07 00:01:03 +03:00
PhilipSargent
69340db438
SurvexDirectory removed from active code
2023-09-06 22:58:14 +03:00
PhilipSargent
1ddb8248df
SUrvexDirectory no longer necessary
2023-09-06 21:38:45 +03:00
PhilipSargent
0dc0e27519
moving primary survex file to each survexfile
2023-09-06 17:19:20 +03:00
PhilipSargent
3c6cae20ed
fix link to cave_edit
2023-09-06 13:32:36 +03:00
PhilipSargent
83d058221d
Fixed survex file list for one or more caves
2023-09-06 13:20:29 +03:00
PhilipSargent
38d0e855c9
Working on survexdirectory removals..
2023-09-05 23:43:07 +03:00
PhilipSargent
cc9f425fb5
Ongoing work to remove SurvexDirectory as a concept
2023-09-05 23:14:48 +03:00
PhilipSargent
8c721e905a
New SurvexDirectory report
2023-09-05 21:46:10 +03:00
PhilipSargent
8e2990ca7a
validate year in logbook entry form
2023-09-05 17:19:09 +03:00
PhilipSargent
220e1327d7
validate author of trip on editing
2023-09-05 15:49:12 +03:00
PhilipSargent
0ea8fadaeb
moer people/logbook improvements
2023-09-05 14:35:56 +03:00
PhilipSargent
f3d5a389eb
hide warning msgs about pre 1999 wallets
2023-09-05 13:29:49 +03:00
PhilipSargent
2506517e17
Keeping *person and guests such as Karl in the list
2023-09-04 20:12:09 +03:00
PhilipSargent
ac128705f6
Keep nicknames, not full names, in lbes
2023-09-04 19:30:29 +03:00
PhilipSargent
d3ac321d38
fix bugs on reload of logbook
2023-09-04 18:56:32 +03:00
PhilipSargent
a5dc78b04d
30 valid 1979 logbook entries
2023-09-04 16:35:59 +03:00
PhilipSargent
a2e30b29ef
1979 logbook enabled
2023-09-04 16:16:58 +03:00
PhilipSargent
f53b551d5a
add data upload prompt
2023-09-04 00:49:51 +03:00
PhilipSargent
3a04a8490e
debugged lbe edit tests
2023-09-04 00:25:35 +03:00
PhilipSargent
2c89cdc1b9
login fix for protected pages in tests
2023-09-03 23:28:36 +03:00
PhilipSargent
101910a957
fix link
2023-09-03 00:05:35 +03:00
PhilipSargent
eb7a1efea5
Path seems newly fragile re int rather than str
2023-09-02 19:43:50 +03:00
PhilipSargent
a4f676fd32
bugfixing
2023-09-02 19:23:22 +03:00
PhilipSargent
1a8bc17f80
Fixed parsers
2023-09-02 17:49:37 +03:00
PhilipSargent
c9729c046c
Adding field to logbookentry
2023-09-02 14:49:43 +03:00
PhilipSargent
34064972e9
Still one test failing when it shouldnt
2023-09-01 21:50:03 +03:00
PhilipSargent
5a7eda0968
new test for lbe
2023-09-01 21:35:26 +03:00
PhilipSargent
98bc6007a5
fix tests to match code chnages
2023-09-01 21:14:19 +03:00
PhilipSargent
33a08bed4f
bugfix and remove swapped order for title/people
2023-09-01 20:57:23 +03:00
PhilipSargent
98412c140d
more robust tripid labelling
2023-09-01 20:31:19 +03:00
PhilipSargent
1cf02afec9
add tempest nickname
2023-09-01 19:34:05 +03:00
PhilipSargent
9380f751b2
Inelegances fixes
2023-09-01 19:09:57 +03:00
PhilipSargent
e209a9bb37
bugfix, name[0] may not exist
2023-08-31 19:17:44 +03:00
PhilipSargent
2dc8faee35
URL to edit entry in logbook
2023-08-31 19:08:16 +03:00
PhilipSargent
c29c12ea76
Edit Logbook Entry mostly working
2023-08-31 18:55:20 +03:00
PhilipSargent
bbb821e2f9
error message prepare
2023-08-31 00:34:48 +03:00
PhilipSargent
069a1d57c9
Parser fixed to work on 2023 UKcaving blog
2023-08-31 00:09:02 +03:00
PhilipSargent
df86103407
cosmetic
2023-08-30 21:29:51 +03:00
PhilipSargent
d48163f167
update comment
2023-08-30 21:17:25 +03:00
PhilipSargent
f23ea0ce4b
edits today mean test needs fixing
2023-08-26 18:53:15 +03:00
PhilipSargent
d08a6aa204
Nicknames preserved, date checked
2023-08-26 18:39:29 +03:00
PhilipSargent
93397a774f
fix _edit access loophole
2023-08-25 22:08:04 +03:00
PhilipSargent
f2a76da7e2
fix error in test suite when full reset has not been done
2023-08-25 21:49:05 +03:00
PhilipSargent
3d51588cc1
update test to match code
2023-08-11 07:43:47 +03:00
PhilipSargent
c44dea4d2b
More comment, to-do
2023-08-10 23:36:56 +03:00
PhilipSargent
24b5018c8d
re-order display
2023-08-10 23:28:05 +03:00
PhilipSargent
d3c1736119
extending logbook entry edit
2023-08-10 23:17:03 +03:00
PhilipSargent
da8e22c856
more
2023-08-08 19:24:18 +03:00
PhilipSargent
741754e676
some input validation
2023-08-08 19:23:55 +03:00
PhilipSargent
c2ae586e5b
Tom <=>Thomas
2023-08-08 18:23:32 +03:00
PhilipSargent
a4f84f0812
better placeholdering
2023-08-08 01:27:20 +03:00
PhilipSargent
9e9c24ad44
better placeholder/value setting
2023-08-08 01:17:36 +03:00
PhilipSargent
b1a5251768
Format new logbook entry
2023-08-08 00:43:12 +03:00
PhilipSargent
0b7a9cf03e
suppress pointless msg
2023-08-07 23:51:35 +03:00
PhilipSargent
eec0426612
Cope with ARGE people
2023-08-07 23:10:30 +03:00
PhilipSargent
65936bdce5
duplicate removed, number fixed
2023-08-07 22:10:40 +03:00
PhilipSargent
f949d3732e
extras
2023-08-06 14:06:45 +03:00
PhilipSargent
9269d1ec52
Logbook entry initial form
2023-08-06 13:47:09 +03:00
PhilipSargent
1baf528d0a
better msg
2023-08-05 23:30:46 +03:00
PhilipSargent
99ff7c741b
bug fix for server
2023-08-05 18:54:20 +03:00
PhilipSargent
12aa6ced86
length of unreference cave survey added
2023-08-05 14:15:35 +03:00
PhilipSargent
ee5a2c9ef8
slash
2023-08-05 13:26:55 +03:00
PhilipSargent
126aaa0633
add url to wallets
2023-08-05 13:14:45 +03:00
PhilipSargent
68409c70fd
explanations
2023-08-05 13:04:23 +03:00
PhilipSargent
33026ca9ea
who to blame
2023-08-05 12:57:38 +03:00
PhilipSargent
7df2d44748
wild survex file report
2023-08-05 12:43:06 +03:00
PhilipSargent
b709dd2f1b
filename correction
2023-08-05 01:26:50 +03:00
PhilipSargent
51298786c3
debugging entrance creation, single ent works
2023-08-04 23:33:49 +03:00
PhilipSargent
1375b34cbe
bugfix2
2023-08-04 16:17:52 +03:00
PhilipSargent
2c74a7317d
bugfix
2023-08-04 16:11:35 +03:00
PhilipSargent
c8430d1ff7
more correct error message
2023-08-04 16:08:07 +03:00
PhilipSargent
3b9a2b990d
bugfix
2023-08-04 10:29:20 +03:00
PhilipSargent
2c509d085e
allow editing ent letter if blank on many ent caves
2023-08-04 09:29:25 +03:00
PhilipSargent
bed663a031
trying to enable eidting of blank letter for entrance
2023-08-04 09:08:18 +03:00
PhilipSargent
e101f4ed2f
trying to isolate bug in letter setting on ents
2023-08-03 16:11:46 +03:00
PhilipSargent
0dfe9d94b2
update pendingcaves only on local dev machine
2023-08-03 12:06:35 +03:00
PhilipSargent
0efdfe66d5
recover from missing letter field
2023-08-03 11:48:03 +03:00
PhilipSargent
a0f85454f8
detecting orphan cave ids and adding to pending list
2023-08-02 18:23:04 +03:00
PhilipSargent
c76c09fced
remove excess prints
2023-08-02 15:48:36 +03:00
PhilipSargent
efa40b47ca
change of id for this class of data issue
2023-08-02 15:47:24 +03:00
PhilipSargent
6bca75b877
NOEDIT fixed
2023-08-02 13:41:12 +03:00
PhilipSargent
585eb534a9
Entrance locations explanations
2023-08-02 10:17:48 +03:00
PhilipSargent
7fc058b1da
return to correct wallet
2023-07-31 22:00:46 +03:00
PhilipSargent
8d9b320d89
filesize now shown
2023-07-31 16:16:43 +03:00
PhilipSargent
89c1c65340
hack wallet scan rename job
2023-07-31 15:49:54 +03:00
PhilipSargent
5f07f234ef
electronic surveys still need notes
2023-07-29 18:21:07 +03:00
PhilipSargent
af6081e406
better sort order for issues
2023-07-29 18:11:19 +03:00
PhilipSargent
1165b10fe4
Clearer issues message
2023-07-29 17:21:27 +03:00
PhilipSargent
4a7c14f8dc
remove unused page
2023-07-27 14:40:52 +03:00
PhilipSargent
955fe9661a
fix for notice on edit cave form
2023-07-27 12:21:50 +03:00
PhilipSargent
d93133c338
ambiguous aliases removed more thoroughly
2023-07-27 00:38:47 +03:00
Martin Green
a86f251423
Fixed parsing and rendering of an entrances last visited field
2023-07-26 20:40:30 +01:00
PhilipSargent
6482aa697f
helpful comments on form
2023-07-26 17:38:19 +03:00
PhilipSargent
0706d5dc77
fix entrqnce edit bug
2023-07-26 16:54:37 +03:00
PhilipSargent
cdac10fdcf
<figure> forr folk bios
2023-07-26 15:03:26 +03:00
PhilipSargent
1f656b2101
properly turn off automagic entrance creation
2023-07-26 01:23:49 +03:00
PhilipSargent
fab7adf079
Cleaning up entrance importing robustly
2023-07-26 00:14:46 +03:00
PhilipSargent
72a6b091e6
make more robust
2023-07-25 22:14:13 +03:00
PhilipSargent
af552a3d62
better detect unknown cave identifer strings from users
2023-07-25 21:07:13 +03:00
PhilipSargent
5ce21564fc
Remove unused field on survexstation class
2023-07-25 18:56:13 +03:00
PhilipSargent
7d4ca5dae2
Make robust against duplicate objects
2023-07-25 18:55:42 +03:00
PhilipSargent
3c78ab79ca
better fix for variant date formats
2023-07-25 01:34:02 +03:00
PhilipSargent
748cb91a20
lengthen url field, i hope
2023-07-25 01:34:02 +03:00
Martin Green
8463f8947e
Merge branch 'master' of ssh://expo.survex.com/home/expo/troggle
2023-07-24 23:03:47 +01:00
Martin Green
380565c6f5
save connection between cave and entrances, before writing out the cavedata file
2023-07-24 23:03:12 +01:00
PhilipSargent
31c815eeb0
bugfix in error message
2023-07-24 17:33:39 +03:00
PhilipSargent
c31615b1ff
clean up after Mark changed things a bit
2023-07-24 15:26:36 +03:00
PhilipSargent
3bd7684d4b
formatting terminal o/p
2023-07-24 14:24:53 +03:00
PhilipSargent
64fa602a07
ignore /subsections/ files
2023-07-24 14:24:39 +03:00
PhilipSargent
9f2b77bf1d
More compact parsing report to terminal
2023-07-24 13:14:42 +03:00
PhilipSargent
9473b22bd9
detect non-ISO dates in JSON and from user and fix
2023-07-23 23:30:19 +03:00
PhilipSargent
3ea014ec57
add new *team role
2023-07-23 22:01:01 +03:00
PhilipSargent
3ffb07371d
warning message to people who have got here before they are ready, and link to docm
2023-07-22 22:26:50 +03:00
PhilipSargent
f76c22e843
moving dev configs to _deploy/
2023-07-17 19:25:40 +03:00
PhilipSargent
33d279b95a
rearrange variant debian, ubuntu dev environemnts
2023-07-17 19:05:22 +03:00
PhilipSargent
f8faf6c2ba
updated build stuff
2023-07-17 19:00:56 +03:00
PhilipSargent
6e452b2ee9
current settings on server - sanitized
2023-07-17 17:40:29 +03:00
PhilipSargent
dc06744444
fix exception?
2023-07-14 11:26:47 +02:00
PhilipSargent
26e96839e4
stop crash onloading wallet with blank caveid
2023-07-14 11:22:48 +02:00
PhilipSargent
4e4824546a
stop crash on live system
2023-07-14 11:21:49 +02:00
PhilipSargent
387bdf4f91
shorter msg
2023-07-14 11:20:57 +02:00
PhilipSargent
b650095588
calendar S T colour >10 per date
2023-07-14 11:13:06 +02:00
PhilipSargent
761a71930b
hack to stop crash
2023-07-13 22:20:01 +02:00
PhilipSargent
127002d736
more entries
2023-07-13 21:36:48 +02:00
PhilipSargent
a062e9ea44
moving venv stuff to _deploy
2023-07-13 16:02:51 +02:00
Martin Green
380fe8cc32
Merge branch 'master' of ssh://expo.survex.com/home/expo/troggle
2023-07-13 12:35:00 +02:00
Martin Green
bdb5e3208b
Rotate and reflect images, as specified in EXIF whilst uploading
2023-07-13 12:34:52 +02:00
Martin Green
c119c99308
removed print statement
2023-07-13 12:33:55 +02:00
Martin Green
2af4f4b10e
ignore javascript dir that should be downloaded from the deployment server
2023-07-13 12:27:13 +02:00
Expo laptop Crowley
a5968121a0
add DEPRECATed SURVEX FILES TO IGNORE LIST
2023-07-12 22:04:46 +02:00
PhilipSargent
5eb6ef4d31
more synonyms
2023-07-12 16:44:45 +02:00
Mark Shinwell
5f6359694d
Update test to reflect change in loser repo
2023-07-12 14:12:40 +02:00
Martin Green
90a6eaa26d
Updated requirements to match expo.survex.com
2023-07-10 17:42:29 +02:00
Martin Green
67361fa66c
Merge branch 'master' of ssh://expo.survex.com/home/expo/troggle
2023-07-10 17:00:56 +02:00
Martin Green
b27852c1f3
redirect to actual login page
2023-07-10 16:55:09 +02:00
Expo laptop Crowley
8ff438942d
handle shortform months and days in svx file
2023-07-10 12:49:14 +02:00
Expo laptop Crowley
b3e2f34960
hack fix
2023-07-10 10:33:57 +02:00
Expo laptop Crowley
d0ccc46260
better test & msg
2023-07-10 10:03:23 +02:00
Expo laptop Crowley
5a7f197bcb
hack to make server reset quickly
2023-07-10 09:24:11 +02:00
Expo laptop Crowley
389fb6c409
add month
2023-07-10 09:18:17 +02:00
Expo laptop Crowley
4d48dd4386
Logbook debugging
2023-07-09 11:30:50 +02:00
Expo on server
086537cb56
=Added string to caveslugs so admin interface works. Added explanation for the rational for cave slugs.
2023-07-08 23:45:32 +01:00
Expo on server
beab42323b
Added CaveSlugs to Admin
2023-07-08 23:43:57 +01:00
Expo on server
3d43c0ec12
Allow for parent directories to be created when created photos.
2023-07-08 22:42:06 +01:00
PhilipSargent
b1c5b03104
link to 2023 in menus
2023-07-08 17:13:57 +01:00
Martin Green
68724a0504
Merge branch 'master' of ssh://expo.survex.com/home/expo/troggle
2023-07-08 17:57:33 +02:00
Martin Green
3359889d97
Better attempt at creating a default url for caves created by svx files
2023-07-08 17:56:49 +02:00
PhilipSargent
2f24a7f7bb
Barbie setup
2023-07-08 15:35:43 +01:00
Martin Green
66ee96cd63
Merge branch 'master' of ssh://expo.survex.com/home/expo/troggle
2023-07-05 21:11:04 +01:00
Martin Green
ad37a82713
git comitting allowing files to be comitted in different directories.
2023-07-05 21:10:05 +01:00
Martin Green
ffed6e3ba6
convert uploaded images to RGB so that it can be saved as jpg
2023-07-05 21:08:51 +01:00
Expo laptop Crowley
7b8e93cdb5
menus and logbook
2023-07-05 21:54:25 +02:00
Expo laptop Crowley
4158f5ba63
add 2023
2023-07-05 20:17:08 +02:00
Martin Green
a70cf6cad3
Merge branch 'master' of ssh://expo.survex.com/home/expo/troggle
2023-07-05 18:27:49 +01:00
Martin Green
63599cb27a
Removed ability to add other caves entrances to a cave.
2023-07-05 18:22:08 +01:00
Martin Green
a0fcb78e95
Removed kataster area for unoffical numbers of pending caves. Added .html to urls of pending caves.
2023-07-05 18:21:15 +01:00
Expo laptop Crowley
745ccd7f88
Show when running locally
2023-07-05 19:05:07 +02:00
Martin Green
2b30b7b624
Merge branch 'master' of ssh://expo.survex.com/home/expo/troggle
2023-07-05 17:45:21 +01:00
Martin Green
410a285085
Bug fixes to allow adding of a new cave. No longer ask users about filenames or urls.
2023-07-05 17:43:57 +01:00
Expo laptop Crowley
d2bcef6e36
Turn menu bar magenta if running on localserver
2023-07-05 18:35:40 +02:00
Martin Green
067fcd9892
Merge branch 'master' of ssh://expo.survex.com/home/expo/troggle
2023-07-05 13:19:11 +01:00
Martin Green
c4095eb336
Have images saved to correct place, when edited in the cave or entrance view. etc
2023-07-05 13:18:02 +01:00
Expo laptop Crowley
020a083afa
more fix
2023-07-05 13:09:49 +02:00
Expo laptop Crowley
fd9f21de2e
more local fixups
2023-07-05 12:49:30 +02:00
Expo laptop Crowley
7268eb4f30
synch localsettings variants
2023-07-05 12:11:44 +02:00
Expo laptop Crowley
910e0e3123
updating requirements for testing
2023-07-05 11:22:31 +02:00
Expo laptop Crowley
7db17154ad
ugh stage problem
2023-07-05 11:22:31 +02:00
Expo laptop Crowley
ebcc0db665
ugh stage problem
2023-07-05 11:22:31 +02:00
Expo on server
73675ca1b9
Radost fiux for narrow screens
2023-07-05 10:22:30 +01:00
Martin Green
973d05f9fb
Modification to templates to make them more suitable on a stand alone website.
2023-07-03 21:35:00 +01:00
Martin Green
52299fb6fd
Add links to entrances page
2023-07-03 09:32:34 +01:00
Martin Green
01964e7cf6
Merge branch 'master' of ssh://expo.survex.com/home/expo/troggle
2023-07-03 08:06:45 +01:00
Martin Green
929f6732d0
Add some sort of orderinng
2023-07-03 08:04:26 +01:00
Martin Green
b91223da66
Add list of entrances
2023-07-03 08:00:03 +01:00
PhilipSargent
a04d9ef056
capitalisation fix
2023-06-28 20:37:06 +01:00
Martin Green
e4fe5eaf5d
removed extranius bracket from html
2023-06-08 01:10:07 +01:00
Martin Green
c7494fe379
bug fix
2023-06-07 23:49:19 +01:00
Martin Green
e4112431be
bug fix
2023-06-07 23:47:14 +01:00
Martin Green
65eec8e91d
attempt to use {% url %} tag to point at 3d file for cave viewer
2023-06-07 23:44:44 +01:00
Martin Green
0b0f2f07e1
Try having caveviewer using same url as download link again
2023-06-07 23:25:25 +01:00
Martin Green
ee34f87563
Replaced cave viewer link to 3d file with the working orginal
2023-06-07 23:20:51 +01:00
Martin Green
e42f0569fd
Made the sources of the 3d download files consistent
2023-06-07 23:19:08 +01:00
Martin Green
d242a8bb1d
Try using url template command to link to 3d files
2023-06-07 23:08:28 +01:00
Martin Green
0cd32d6a15
See what breaks when put .3d on the end of urls for dowloading 3d files
2023-06-07 22:58:28 +01:00
Martin Green
fc9977952e
Changed source of cave 3d files back.
2023-06-07 22:47:06 +01:00
Martin Green
56e9273047
changed source of 3d files for cave viewer, to see if it works better
2023-06-07 22:45:36 +01:00
Martin Green
12cee59605
Try not showing kataster codes if they are empty/None
2023-06-07 22:38:22 +01:00
Martin Green
90862e9a89
Add editlink classes for editing the entrances
2023-06-07 22:26:11 +01:00
Martin Green
ec3ebe8499
Fixed comments again
2023-06-07 22:21:41 +01:00
Martin Green
1ef636ca6f
fixed broken commment tags
2023-06-07 22:19:12 +01:00
Martin Green
174d7bfe13
Commented out Kataster status. Chnaged Survey heading to Surveys and Rigging Guides. Moved explorers and references down the page.
2023-06-07 22:08:11 +01:00
Martin Green
4e34ae0530
Reordered cave description and survey.
2023-06-07 21:54:25 +01:00
Expo on server
f477507d27
Ignore Windows Zone.identifier files
...
Ignore all of media/jslib except the readme
2023-06-04 11:17:48 +01:00
PhilipSargent
969ed6cce5
added 1627 caves to 'caves'page
2023-05-20 22:47:09 +03:00
PhilipSargent
2e6b8d44f1
adding BS4 because of Martin's KML stuff
2023-05-20 21:47:14 +03:00
PhilipSargent
93201ab458
better layout to understand apache interactions
2023-05-20 21:36:05 +03:00
Martin Green
43724f1cf6
When reloading a cave, do so from cave.filename, rather than inorrectly assuming the cave is named after its slug
2023-05-08 23:09:15 +01:00
Martin Green
7d140af87a
Do not rename caves when saving
2023-05-08 22:34:45 +01:00
Martin Green
77ed1b444c
Hack to turn cave URL to absolute links, so they can work from anywhere on the website.
2023-05-08 22:32:49 +01:00
Martin Green
f7fca58c57
Start of creating kmz file, with entrance photos and links to expo.survex.com
2023-05-08 01:10:43 +01:00
Martin Green
ea7c29a54e
Merge branch 'master' of ssh://expo.survex.com/home/expo/troggle
2023-05-02 22:41:36 +01:00
Martin Green
0052385333
Add lat long to entrance locations on cave pages
2023-05-02 22:40:44 +01:00
PhilipSargent
7f0e7d8fa3
Ubuntu 22.04 + python3.11
2023-05-02 23:26:53 +03:00
Philip Sargent (laptop)
ef467ad481
Making the dummy entrance thing clear
2023-05-02 17:42:58 +03:00
Philip Sargent (laptop)
175307773b
More fixes for laptop
2023-05-02 15:28:28 +03:00
Philip Sargent (laptop)
8e982bd6be
Fixing new dev machine setup
2023-05-02 14:27:55 +03:00
Martin Green
783154d24a
Restored check of git status after a committ, but only for the one file being committed
2023-05-01 22:06:48 +01:00
Philip Sargent (laptop)
40126f6e2f
fixing laptop SNowWHite
2023-05-01 23:29:20 +03:00
Martin Green
1ccd9c418b
template missing from last commit
2023-05-01 00:03:58 +01:00
Martin Green
896af43994
kml file output for google earth etc
2023-05-01 00:01:41 +01:00
Martin Green
2ee63a9804
If a cave is made with no entrances, redirect to a new entrance form for the cave
2023-04-30 21:42:03 +01:00
Martin Green
c7b3e8aff0
Added an ordering of entrances
2023-04-30 21:41:17 +01:00
Martin Green
c50236575f
Dummy entrances were being written to a global variable, recording that they have a filename. But the filename was not written. This was then causing an exception when the user asked to edit a cave, leading to all entrances being reread. Obviously the dummy entrances file ould not be read.
...
PS. Do we really want to reread all entrances when we start editing a cave?
2023-04-30 21:06:57 +01:00
Martin Green
e8d1265ee4
Be more specific about what is being commited and do not check for unadded changes, and then through an error at the user, which they are unlikely to understand.
2023-04-30 21:04:05 +01:00
Martin Green
10ff8a5aab
Fixed errors when creating new caves and entrances via the website. Moved slug logic to forms (previously checked in). This allows slug uniqueness to be validated in the form
2023-04-30 19:05:57 +01:00
Martin Green
941100a8a3
Previously if a cave was found without an entrance an entrance was added to the database. However as this was not also added as a file, the new entrance could not be edited via the web interface. Without an entrance being made, they can still be added.
2023-04-30 19:03:09 +01:00
Martin Green
374caa0d9a
Fixeed spelling error in variable name
2023-04-30 19:01:07 +01:00
Martin Green
82aaa2b523
Improved cave form, layout text and validations
2023-04-30 19:00:22 +01:00
Martin Green
31a60ce85c
For a cave, force users to enter are and have a unique URL. Cope better if area not defined
2023-04-30 18:58:41 +01:00
Martin Green
0a3a6934c4
Added some commented out lines for allowing for local development, where files are server from /usr/share/javascript or expofilescache
2023-04-30 18:54:53 +01:00
Martin Green
ed9f7b03bf
Have entrance coordinates displayed to web pages. (Requires expo web entrance survey points to start with 1623 or 1626)
2023-04-30 00:59:58 +01:00
Expo on server
fc8584775e
Get CaveView working again on cave pages. (v2.2.0)
...
Move caveView section back to bottom of page.
2023-04-29 23:35:18 +01:00
Martin Green
b7ec4f2efe
python virtual library
2023-04-29 22:49:26 +01:00
Martin Green
0b566575f3
Change uploaded images to jpg to png, for much smaller files
2023-04-29 22:49:26 +01:00
Expo on server
73af227fb3
remove unused copy of CaveView in troggle and updated cave.html
...
template for caveview2
2023-04-29 22:46:14 +01:00
PhilipSargent
8aec40f951
todo
2023-04-22 23:27:06 +01:00
PhilipSargent
c5a9bdc724
xml parser attmpt retract
2023-04-22 23:15:50 +01:00
PhilipSargent
30ef427b90
refactor cave import
2023-04-22 22:05:12 +01:00
PhilipSargent
275adc8efa
mistaken default fixed
2023-04-22 03:46:34 +01:00
PhilipSargent
02e46ed723
Remove uneeded print
2023-04-22 03:35:07 +01:00
PhilipSargent
94b8b357fb
Fix entrance edit too, saving slug now
2023-04-22 03:26:53 +01:00
PhilipSargent
2ed66fe3d0
edit cave reads from HTML file not just db
2023-04-22 01:24:32 +01:00
PhilipSargent
116cfc7c6e
bad tests.
2023-04-06 00:57:19 +01:00
PhilipSargent
f15555a3bd
more tests
2023-04-06 00:51:04 +01:00
PhilipSargent
dcfff1ede7
tests for QM pages
2023-04-06 00:16:44 +01:00
PhilipSargent
0f76422d85
format change
2023-04-05 23:33:01 +01:00
PhilipSargent
d3d983eedb
QM check-box report for open leads
2023-04-05 23:13:12 +01:00
PhilipSargent
2541766dd5
typo
2023-04-05 20:42:19 +01:00
PhilipSargent
e002a634ff
remove obsolete setting, add PHOTOS_ROOT
2023-04-05 20:42:09 +01:00
PhilipSargent
489dd157b6
context processor documn link
2023-04-05 20:41:34 +01:00
PhilipSargent
0a76acd664
test checked
2023-04-05 12:46:10 +01:00
PhilipSargent
4d8cb82ef9
initial refactoring
2023-03-31 12:19:22 +01:00
PhilipSargent
9ffe3f690b
tidy up entranceSlug all now deleted
2023-03-28 20:30:00 +01:00
PhilipSargent
e7d9e9402a
bugfixes
2023-03-28 20:05:38 +01:00
PhilipSargent
3ef5c1aa0b
add FLUSH command
2023-03-28 19:51:20 +01:00
PhilipSargent
9a28e93ac6
EntranceSlug removed from data model.
2023-03-28 19:26:37 +01:00
PhilipSargent
5738da8566
cached_slug str now a .slug field & pending fixed
2023-03-28 19:08:05 +01:00
PhilipSargent
bbc13c4eb9
remove 'primary' concept from entrance slugs. tested.
2023-03-28 17:08:55 +01:00
PhilipSargent
6ca5d5bfa8
debug ent report
2023-03-28 15:37:25 +01:00
PhilipSargent
2091eb8e8b
remove unused versionControlForm
2023-03-28 14:19:06 +01:00
PhilipSargent
860ce6b065
Creates new cave from survex file upload
2023-03-24 00:54:26 +00:00
PhilipSargent
8b5887a87a
Allows creation of new svxfile with unknown cave
2023-03-23 21:26:16 +00:00
PhilipSargent
770edd6391
Survex editor now parses edited files
2023-03-23 19:05:25 +00:00
PhilipSargent
562ef48f19
re-parsing survex file when editing
2023-03-23 01:17:38 +00:00
PhilipSargent
70d6d9eb77
error msgs improved
2023-03-22 23:30:05 +00:00
PhilipSargent
2332bfdc57
comment to resolve confusion
2023-03-22 23:29:40 +00:00
PhilipSargent
1db7c5ffea
change on_delete to cascade for blocks in a file
2023-03-22 23:29:12 +00:00
PhilipSargent
838b358a4a
chnage template comment
2023-03-22 23:28:26 +00:00
PhilipSargent
dd32114698
delete test upload file after test
2023-03-22 17:57:48 +00:00
PhilipSargent
5f46d8fdc5
Fix bugs
2023-03-22 15:18:16 +00:00
PhilipSargent
ad48851118
re-enable login restriction on wallet create
2023-03-22 15:04:34 +00:00
PhilipSargent
ead3f8dc8b
fix broken tick-lists in wallets
2023-03-21 18:23:07 +00:00
PhilipSargent
6b3cb9f02e
samedate for all wallets on wallet edit form
2023-03-21 14:56:34 +00:00
PhilipSargent
435f3cf00b
fixed url glitch, added parent url
2023-03-21 14:29:15 +00:00
PhilipSargent
7caf1690c6
fix download .3d file
2023-03-21 12:56:51 +00:00
PhilipSargent
4ae79a642e
Report format clean-up
2023-03-19 19:12:09 +00:00
PhilipSargent
9489b9209d
obviate meaningless error messages
2023-03-18 20:32:35 +00:00
PhilipSargent
5a90e7b727
fix more twiddly variations of QMs
2023-03-18 03:03:06 +00:00
PhilipSargent
d64948749e
more QMs parsed correctly
2023-03-18 00:57:40 +00:00
PhilipSargent
7345e3a328
Much QM re-engineering
2023-03-17 20:01:52 +00:00
PhilipSargent
de54576d11
Fix QMs reports, remove V grade
2023-03-17 14:33:30 +00:00
PhilipSargent
12c7b9b5d1
+ ? grades
2023-03-16 21:55:14 +00:00
PhilipSargent
c40b56844f
TICK shown
2023-03-16 21:38:03 +00:00
PhilipSargent
09f5741b71
cleaner formatting
2023-03-16 21:31:09 +00:00
PhilipSargent
17fa306b09
More QM fields in JSON export
2023-03-16 21:26:31 +00:00
PhilipSargent
3011e7b114
Adding QM JSON export
2023-03-16 21:06:52 +00:00
PhilipSargent
98066591da
More archaic URLs re-enabled
2023-03-15 14:22:21 +00:00
PhilipSargent
56c78611fb
enable /smkridge/ as /1623/ url
2023-03-15 13:58:09 +00:00
PhilipSargent
a7660c8ec7
QM report updating
2023-03-14 16:11:37 +00:00
PhilipSargent
934a19b879
updated .svx template
2023-03-14 16:10:57 +00:00
PhilipSargent
c247636c4c
Working on QMn TICK lines again
2023-03-14 03:27:05 +00:00
PhilipSargent
85fab88ac9
Fixing inherited *date into sub-blocks
2023-03-14 02:12:28 +00:00
PhilipSargent
b428a87f1a
Better debug messages
2023-03-13 20:27:27 +00:00
PhilipSargent
d0a05af9c6
Now inheriting *date from parent survexblock
2023-03-13 19:44:39 +00:00
PhilipSargent
83dc9e6c09
Move code closer to related code
2023-03-13 19:01:30 +00:00
PhilipSargent
7aeffff00c
Better error msgs for poorly formatted QMs
2023-03-13 16:31:42 +00:00
PhilipSargent
94dd0fe1fd
documn. url reverse() tests
2023-03-12 23:40:11 +00:00
PhilipSargent
45fcaac47d
test revers() function
2023-03-12 16:21:31 +00:00
PhilipSargent
35e9eb558d
Identified survey length discrepencies
2023-03-12 01:09:17 +00:00
PhilipSargent
b88b142332
fixing bad splay detection
2023-03-12 00:35:37 +00:00
PhilipSargent
870b290726
add station to QM report
2023-03-11 21:14:35 +00:00
PhilipSargent
7b10aa0bdf
WSL1 on thinkpad
2023-03-11 17:58:58 +00:00
PhilipSargent
4d66548920
Fix URL to survex file in menus
2023-03-11 00:47:13 +00:00
PhilipSargent
7c923842ca
more comment into generated file
2023-03-11 00:11:56 +00:00
PhilipSargent
02970512c1
link to 204 wallets
2023-03-08 22:42:02 +00:00
PhilipSargent
2c36666d41
tidy test fior git clean
2023-03-08 18:29:14 +00:00
PhilipSargent
b3d9eeecd2
fixing paths in settings to be Path() not str()
2023-03-08 18:24:57 +00:00
PhilipSargent
301fa1fce1
re-enable lookup() on survexblock objects (again)
2023-03-08 18:02:00 +00:00
PhilipSargent
e71939fe00
restore lookup() function
2023-03-06 22:30:36 +00:00
PhilipSargent
859a28b4ee
1979 logbook parsing now works
2023-03-06 22:30:07 +00:00
PhilipSargent
432759bfc1
Import new survexfile ONLY
2023-03-06 16:37:54 +00:00
PhilipSargent
94e145adce
CASCADE fixes in data model
2023-03-06 16:37:38 +00:00
PhilipSargent
ccfc44a423
Saving new survex file parses contents.
2023-03-06 04:52:41 +00:00
PhilipSargent
8f3b329552
obscure bug empty directory inside empty directory
2023-03-05 23:55:00 +00:00
PhilipSargent
63dde36389
100th test
2023-03-05 23:17:11 +00:00
PhilipSargent
8fc25de794
Initial attempts at saving edited survex file
2023-03-05 23:06:06 +00:00
PhilipSargent
d5887e8f99
bloody bugs
2023-03-05 19:53:12 +00:00
PhilipSargent
b086348d38
Bugfixes for new survex file
2023-03-05 19:09:28 +00:00
PhilipSargent
4a2106183a
Bugfix for new survex file
2023-03-05 18:20:18 +00:00
PhilipSargent
06ac840dd0
Needed for django 4.2 admin pages
2023-03-05 17:46:01 +00:00
PhilipSargent
6ab7a340e2
Now 99 tests
2023-03-03 15:15:17 +00:00
PhilipSargent
1cb81cbb09
Duplicate survex files in lists all done properly
2023-02-28 18:52:04 +00:00
PhilipSargent
e8c824a396
More names in cross-references
2023-02-28 17:41:15 +00:00
PhilipSargent
dc03016dbe
clean up de-duplication code
2023-02-28 16:18:29 +00:00
PhilipSargent
5067ef2c8c
reformat template fragment
2023-02-28 16:18:13 +00:00
PhilipSargent
5c3927c25d
all working, queries improved, date-ordered.
2023-02-27 22:23:24 +00:00
PhilipSargent
154722f765
logbook trips, and some wallets working.
2023-02-27 19:14:08 +00:00
PhilipSargent
6387de038b
get events on same date.progress.
2023-02-27 16:42:08 +00:00
PhilipSargent
6de4fa66a2
Initial add of On This Day links to svx file page
2023-02-26 22:13:37 +00:00
PhilipSargent
394d94d5d6
Extended test
2023-02-24 23:12:44 +00:00
PhilipSargent
a3fc9a17ed
New tests for parsing logbooks
2023-02-24 22:55:18 +00:00
PhilipSargent
3d38611e4f
new test for logbook
2023-02-24 20:21:06 +00:00
PhilipSargent
d1dac92034
Now using HTTP status codes properly
2023-02-24 17:38:06 +00:00
PhilipSargent
bc9306fc1b
str() needed with python 3.11.0rc1 & added try/execept
2023-02-24 17:21:56 +00:00
PhilipSargent
4358e6440a
remove unneeded warnings
2023-02-11 23:03:30 +00:00
PhilipSargent
6b5f048b4b
Problems with venv script, ongoing..
2023-02-11 23:03:12 +00:00
PhilipSargent
709b720be9
Update URLs to django documn version
2023-02-10 00:05:04 +00:00
PhilipSargent
19d9942676
Django 3.0 deprecations removed
2023-02-09 20:54:55 +00:00
PhilipSargent
0740f9ea5a
More todos
2023-02-08 23:37:00 +00:00
PhilipSargent
28f87e82e9
page rename fix
2023-02-03 22:36:15 +00:00
PhilipSargent
175e71facf
Many many bugs fixed for >1 svx file on a wallet
2023-02-03 22:19:51 +00:00
PhilipSargent
c1231ff451
refactored and most recent wallet link fixed
2023-02-03 17:13:29 +00:00
PhilipSargent
e70d51e52b
Made JSON visible on wallet edit page
2023-02-03 11:34:38 +00:00
PhilipSargent
7f5bd2c17e
docm. update
2023-02-03 11:34:24 +00:00
PhilipSargent
f7d91b5929
todo updates
2023-02-02 22:02:16 +00:00
PhilipSargent
e94a24bbd4
to-do lists updates
2023-02-02 21:50:40 +00:00
PhilipSargent
e0a198bac5
Added 'Notes not needed' checkbox
2023-02-02 17:39:56 +00:00
PhilipSargent
25e00e02b7
Complete set of todo strings on webpage
2023-02-02 16:15:13 +00:00
PhilipSargent
13f0c6f988
* prefix documented
2023-02-02 15:40:50 +00:00
PhilipSargent
9abfcdd091
re enable
2023-02-02 14:57:44 +00:00
PhilipSargent
18541de371
test file permissions
2023-02-02 14:51:20 +00:00
PhilipSargent
578f02db2d
Better diagnostics from bad slug error
2023-02-02 11:19:46 +00:00
PhilipSargent
3b9695b4f3
spiders are asking for weird urls
2023-02-02 11:13:02 +00:00
PhilipSargent
b55bfb8868
more debug
2023-02-02 00:01:37 +00:00
PhilipSargent
3a348d5d1a
more debug
2023-02-01 23:59:38 +00:00
PhilipSargent
5ed91e1c15
debug msg
2023-02-01 23:56:54 +00:00
PhilipSargent
8aa5a601e7
if db badly corrupt
2023-02-01 23:54:26 +00:00
PhilipSargent
9d1c0ac395
Setting wallet dates earlier in the import process
2023-02-01 23:43:05 +00:00
PhilipSargent
c7d88077ec
renamed wallet form file
2023-02-01 21:58:48 +00:00
PhilipSargent
5798e8dcd5
make nav cope with missing wallets
2023-02-01 21:31:07 +00:00
PhilipSargent
5ae37eef82
Fix to not create an extra wallet
2023-02-01 19:31:29 +00:00
PhilipSargent
587ccff501
date handling now working for new wallet
2023-02-01 19:10:46 +00:00
PhilipSargent
8e51f3aff8
Dedicated 'Create' button for a new wallet
2023-02-01 17:21:33 +00:00
PhilipSargent
e38d29f33d
menu change to go to latest blank wallet
2023-01-31 20:52:22 +00:00
PhilipSargent
3c7661836c
New wallet goes to next available slot now
2023-01-31 20:28:39 +00:00
PhilipSargent
1f5b56a593
Wallet editor into separate file
2023-01-31 17:13:41 +00:00
PhilipSargent
57930b7aa5
Show survey length per survex file
2023-01-31 14:49:54 +00:00
PhilipSargent
76ed801077
Minor bulk create tweak
2023-01-31 01:37:00 +00:00
PhilipSargent
241dde3a84
Bulk_create working for team on a survexblock
2023-01-31 00:39:30 +00:00
PhilipSargent
b98d7d246c
bug fixes renaming
2023-01-30 23:22:28 +00:00
PhilipSargent
3aca0d0c76
ruf cleanup imports, bigly.
2023-01-30 23:04:11 +00:00
PhilipSargent
e35fccea5d
Removed unused properties and moving
2023-01-30 22:27:17 +00:00
PhilipSargent
7808005498
ran 'black' to reformat all the core files
2023-01-30 19:04:36 +00:00
PhilipSargent
d06dd3d166
Updated all.svx documn
2023-01-30 19:00:05 +00:00
PhilipSargent
a12f666e96
Remove unneeded Class ExpeditionDay
2023-01-30 16:42:56 +00:00
PhilipSargent
ebe86d73d4
Renaming class - step 3 complete
2023-01-30 16:27:01 +00:00
PhilipSargent
b29ff61871
Renaming class step 2
2023-01-30 16:18:19 +00:00
PhilipSargent
58f7cf72d4
renaming confusing Class, step 1
2023-01-30 16:07:44 +00:00
PhilipSargent
3742e0f367
fixing Sunday display on calendar
2023-01-30 15:28:11 +00:00
PhilipSargent
7d98980121
Fixing dates on expedition table
2023-01-29 22:11:00 +00:00
PhilipSargent
89d0e1723e
fixing cyclic import problem
2023-01-29 21:45:51 +00:00
PhilipSargent
226cbb6b5c
Fixed coloured T and S on expo calendar
2023-01-29 20:59:56 +00:00
PhilipSargent
a1c34f488d
bugfix from rearranged model files
2023-01-29 18:17:43 +00:00
PhilipSargent
79bccade02
separated out ent locations from survex parser
2023-01-29 17:03:50 +00:00
PhilipSargent
5639435058
Moved Logbooks to separate model file
2023-01-29 16:47:46 +00:00
PhilipSargent
432be660a4
separated out Model for wallet to its own file
2023-01-29 16:23:58 +00:00
PhilipSargent
f73640522b
More public debug reports
2023-01-29 12:41:50 +00:00
PhilipSargent
d9d4181dda
Add new survex import report
2023-01-29 12:11:47 +00:00
PhilipSargent
071f68080c
Inherit *team to anonymous survex blocks
2023-01-29 01:30:10 +00:00
PhilipSargent
03fa5f5548
compiling more regexes
2023-01-28 21:17:16 +00:00
PhilipSargent
0d9d307490
refactor to reduce db hits and fix *team
2023-01-28 21:00:38 +00:00
PhilipSargent
e6fd1f0ec5
Collect dataissues and write to db all at once
2023-01-28 15:10:39 +00:00
PhilipSargent
2704fc42d4
faster db creation, safer file reading with 'with'
2023-01-28 14:04:32 +00:00
PhilipSargent
d9a4069662
moved aliases to people module, faster db too
2023-01-28 14:03:46 +00:00
PhilipSargent
9e71be8169
refactored, global removed
2023-01-28 13:14:54 +00:00
PhilipSargent
db0504057b
no search before db object creation: faster
2023-01-28 11:45:30 +00:00
PhilipSargent
e4c804b305
refactoring author checks
2023-01-28 10:47:25 +00:00
PhilipSargent
e01bd39609
refactored logbooks parser
2023-01-27 23:21:07 +00:00
PhilipSargent
6565b3f9c4
refactored, faster deletion prior to loading
2023-01-27 17:41:10 +00:00
PhilipSargent
2fee216e80
Remove logdataissues from TROG
2023-01-27 17:24:31 +00:00
PhilipSargent
75834902f2
new report on tehrion file parsing
2023-01-26 23:36:56 +00:00
PhilipSargent
719e0fe918
therion issues report
2023-01-26 22:36:49 +00:00
PhilipSargent
a321625f35
fix number of entries expected
2023-01-26 21:52:56 +00:00
PhilipSargent
0c4ce6dc3c
deleted old parser code
2023-01-26 21:33:17 +00:00
PhilipSargent
733765802e
reformatted all old logbook formats
2023-01-26 21:33:06 +00:00
PhilipSargent
1be3a3892c
ruff removed unused imports
2023-01-19 21:34:09 +00:00
PhilipSargent
89b0c0862e
ran ruff to remove unused imports
2023-01-19 21:20:47 +00:00
PhilipSargent
ba2ae6cd82
reformatted using black
2023-01-19 21:18:42 +00:00
PhilipSargent
0f8fe0e290
isrt reordering of import statements
2023-01-19 20:47:26 +00:00
PhilipSargent
be9fcc522a
sort imports using isort. tested.
2023-01-19 18:35:56 +00:00
PhilipSargent
939d3970aa
sort imports using isort. tested.
2023-01-19 18:33:04 +00:00
PhilipSargent
e5a9330a91
reordering import statements using isort
2023-01-19 18:30:05 +00:00
PhilipSargent
1b70ccea3e
consistent tests with logbooks junk removal
2023-01-16 19:52:05 +00:00
PhilipSargent
822965ebe5
remove %s old formatting style (last bits)
2023-01-02 22:26:33 +00:00
PhilipSargent
7738b2836e
removed temp files
2022-12-29 16:26:25 +00:00
PhilipSargent
1ab7528f7b
Clean up unused templates. All checked.
2022-12-29 15:07:58 +00:00
PhilipSargent
de74cd4867
tidy up
2022-12-29 13:56:46 +00:00
PhilipSargent
9dc1853e10
cope with bad wallet name
2022-12-29 13:56:09 +00:00
PhilipSargent
78740a1fc0
remove logbooksearch, use site-wide search on server
2022-12-29 13:54:38 +00:00
PhilipSargent
b131e567b5
logbooksearch ?
2022-12-29 13:52:37 +00:00
PhilipSargent
5bbb363f12
Adding docstrings, deleting unused code
2022-12-23 23:32:59 +00:00
PhilipSargent
0e29cdd48c
bugfix
2022-12-23 22:18:17 +00:00
PhilipSargent
8374500da5
Put colour bar on wallet editor
2022-12-23 22:14:00 +00:00
PhilipSargent
194470841e
logbooks correct numberss of entries expected
2022-12-23 22:13:43 +00:00
PhilipSargent
a71c616afd
update deprecations etc
2022-12-23 22:13:11 +00:00
PhilipSargent
9c39c9dcff
docstrings added
2022-12-23 00:49:22 +00:00
PhilipSargent
a72c2bd96a
Using Path() wherever possible in localsettings.py
2022-12-22 16:04:16 +00:00
PhilipSargent
f23764c486
diagnosing missing entrance file
2022-12-22 00:56:46 +00:00
PhilipSargent
a7a126dd55
Formatting wallets tables
2022-12-21 22:10:55 +00:00
PhilipSargent
d06af5b0ec
rearrange control panel
2022-12-21 15:29:57 +00:00
PhilipSargent
ec040824f6
fix frontmatter/endmatter
2022-12-21 02:05:26 +00:00
PhilipSargent
517da57a0c
All broken logbooks now parsing correctly.
2022-12-20 23:48:56 +00:00
PhilipSargent
5ee3ebad3e
converting 1988 logboog
2022-12-20 21:53:56 +00:00
PhilipSargent
05df2e084c
converting 1987 logbook
2022-12-20 19:59:36 +00:00
PhilipSargent
dc3a61addd
convert old logbooks to modern format
2022-12-20 16:38:32 +00:00
PhilipSargent
9169abdb05
2019 blog edits
2022-12-20 15:18:07 +00:00
PhilipSargent
81e95291e8
More surveyors in list
2022-12-20 12:48:39 +00:00
PhilipSargent
f24f283a07
attempted speedup, explicit dates wallet objects
2022-12-20 00:07:55 +00:00
PhilipSargent
bb14c94ab1
Updates to make 2018 blog merge work (faster)
2022-12-19 20:13:26 +00:00
PhilipSargent
7e9bb73777
Vital fix to stop parsing terminating too early
2022-12-19 11:38:34 +00:00
PhilipSargent
43a98b4421
Not quite getting all the blog post contents
2022-12-19 00:33:32 +00:00
PhilipSargent
f1d5df9933
fix author display for logbook entry
2022-12-18 21:20:30 +00:00
PhilipSargent
8ce86aabee
strip spaces from titles
2022-12-18 20:36:11 +00:00
PhilipSargent
d1b94763b4
Fixing wiki-parsing for 2009 logbook
2022-12-18 19:33:56 +00:00
PhilipSargent
73b710d53f
fix more logbook parsing
2022-12-17 17:05:55 +00:00
PhilipSargent
0a4471e039
Fixed round-trip import-export-import bugs
2022-12-17 03:02:08 +00:00
PhilipSargent
f80e4efed8
parse several UK caving blogs per year - working
2022-12-16 19:57:56 +00:00
PhilipSargent
5e9fd7fd77
bug in python 3.9?
2022-12-15 01:06:54 +00:00
PhilipSargent
5cc6c26606
blog parsing working
2022-12-15 00:35:48 +00:00
PhilipSargent
cb50528e2d
exptl parse UK Caving blog
2022-12-14 23:46:14 +00:00
PhilipSargent
6dd8e5a75c
ignore soft links
2022-12-10 17:11:39 +00:00
PhilipSargent
0e47909704
tidy and comments
2022-12-10 13:00:57 +00:00
PhilipSargent
cabcada0b8
2003 logbook export/re-import as now HTML format
2022-12-09 23:45:07 +00:00
PhilipSargent
17b2b7b89c
fix comments and 2019 LB parsing
2022-12-07 18:22:09 +00:00
PhilipSargent
1eab261b30
fix bugs made visible by py 3.11
2022-11-23 21:59:42 +00:00
Philip Sargent
b06d1dae42
Convert.format() to f-strings with flynt
2022-11-23 10:48:39 +00:00
Philip Sargent
45a640dfe9
Convert .format() to f-strings
2022-11-23 10:41:14 +00:00
Philip Sargent
ca9a3b5c7b
tidy up
2022-11-23 10:36:02 +00:00
Philip Sargent
0b32d51ba3
bugfix
2022-11-23 00:49:47 +00:00
Philip Sargent
1a9e17a7e8
remove entry-type and tidy cache bits
2022-11-23 00:36:44 +00:00
Philip Sargent
995df16bec
bugfix length declaration
2022-11-21 16:52:10 +00:00
Philip Sargent
259f85742a
moved parser settings
2022-11-21 16:47:25 +00:00
Philip Sargent
a795707552
cache tidy and move settings into parser
2022-11-21 16:41:52 +00:00
Philip Sargent
bcb61f9cd9
remove cache and setdatesfromlogbook
2022-11-21 16:26:30 +00:00
Philip Sargent
4260b0f092
Removed misguided ObjStore as we do need multiuser db
2022-11-21 00:04:33 +00:00
Philip Sargent
4514eda311
make compatible with python 3.11 as well as 3.10
2022-11-18 20:42:03 +00:00
Philip Sargent
725c5ad0cd
Updating comments
2022-11-17 01:24:39 +00:00
Philip Sargent
0b89979418
bug found by python 3.11
2022-11-15 23:56:35 +00:00
Philip Sargent
96281c33e8
updating venv generation
2022-11-15 23:56:17 +00:00
Philip Sargent
43bf2620f1
dump3d --legs future possibility
2022-11-15 22:25:39 +00:00
PhilipSargent
5b3f91d3e5
bugfixes
2022-10-27 17:23:41 +01:00
PhilipSargent
73e57a19df
fixes for WSL1 on new machine
2022-10-27 16:29:11 +01:00
PhilipSargent
275ce87e30
OS config for a new dev machine
2022-10-27 12:30:59 +01:00
Philip Sargent
d9ed90b729
update for old PC settings
2022-10-26 00:20:47 +01:00
Philip Sargent
d82c521f4f
direct link to lower table
2022-10-19 14:00:08 +03:00
Philip Sargent
2cafa32c7e
links to other years wallets
2022-10-18 23:28:38 +03:00
Philip Sargent
830150ade6
Making page templates autoadjust to the current year
2022-10-15 21:28:56 +03:00
Philip Sargent
55ac98ebe1
Add survex trips to logbook mentions
2022-10-15 19:33:30 +03:00
Philip Sargent
454c2c2830
Fix links to scans directly from the master drawings list
2022-10-15 18:37:46 +03:00
Philip Sargent
2fa298cae9
cures weird bug
2022-10-15 17:26:09 +03:00
Philip Sargent
3b106a3803
fix PCTEXT better in dis-laying tunnel files
2022-10-15 17:25:41 +03:00
Philip Sargent
da09bc7968
Render tunnel files as XML in webpage, not just text
2022-10-15 14:07:15 +03:00
Philip Sargent
e0ac09d5ec
add 'lastvisit' field to entrances, for the date
2022-10-12 23:12:55 +03:00
Philip Sargent
45f06293f5
Add 'foreign friends' to names alias list
2022-10-12 23:10:48 +03:00
Philip Sargent
004a3e2db1
comment out hr and top heading, never needed and disrupt layout
2022-10-12 23:09:58 +03:00
Philip Sargent
b81b4ef2ef
Add date of update to the generated html file
2022-10-12 22:09:58 +03:00
Philip Sargent
52c0ab213a
Person twiddles
2022-10-11 21:47:18 +03:00
Philip Sargent
c3bfd50cf1
Update link to new person wallets on person page
2022-10-11 21:33:13 +03:00
Philip Sargent
39683cc413
TIdy and docum of cave entry code
2022-10-11 21:01:02 +03:00
Philip Sargent
47e2c6e214
more text on aliases page
2022-10-10 22:12:42 +03:00
Philip Sargent
ff8eaa241e
*team parsing much improved. Copes with everything now.
2022-10-10 15:40:21 +03:00
Philip Sargent
52a035e4cf
more fixes
2022-10-10 01:08:37 +03:00
Philip Sargent
8c8b6966a7
sort output, accept more comma use
2022-10-10 00:28:57 +03:00
Philip Sargent
861980a8e9
More fixes to name resolution checking
2022-10-09 23:50:32 +03:00
Philip Sargent
3c31c333f2
Widen the recognizer capabilities for names
2022-10-09 02:32:34 +03:00
Expo on server
235bd86af3
./pre-run.sh does not fixup git work
2022-10-09 00:32:26 +01:00
Philip Sargent
e6ca20b1ed
new report to make aliases visible
2022-10-09 00:17:53 +03:00
Philip Sargent
b470ab66e2
Now tests that loser repo is clean and survex runs on 1623.svx and 1626.svx
2022-10-08 20:43:01 +03:00
Philip Sargent
e9790e70d6
abbrv. names now accepted when parsing logbooks, survex
2022-10-08 01:52:10 +03:00
Philip Sargent
55bc042798
bugfixes
2022-10-08 00:48:21 +03:00
Philip Sargent
4e9680a3ad
big changes to cope with survexblock not yet dated, no *date yet
2022-10-07 23:48:41 +03:00
Philip Sargent
bec262bb2d
comments
2022-10-07 23:47:45 +03:00
Philip Sargent
74b3147076
fix for running troggle not on master git server
2022-10-07 23:47:30 +03:00
Philip Sargent
f51d1e114e
small chnages to name resolution
2022-10-07 23:47:05 +03:00
Philip Sargent
c76cd38d76
use generator when reading individual survex files too, saves anothe 6MB
2022-10-07 11:41:46 +03:00
Philip Sargent
b4c4f2aefc
reduce mem use by 21.2MB by using a generator
2022-10-07 10:57:30 +03:00
Philip Sargent
d16226c879
bug patch for duplicate SUrvexFile object
2022-10-06 21:55:31 +03:00
Philip Sargent
1f70b77735
fix crash when people put a list of cave ids in a wallet
2022-10-06 21:37:09 +03:00
Philip Sargent
4a34986598
error msg fix
2022-10-06 21:03:14 +03:00
Philip Sargent
70709c505c
Fixing bugs and better error msgs
2022-10-06 21:02:15 +03:00
Philip Sargent
8d08a67302
strip spaces in pending caves list
2022-10-06 12:51:43 +03:00
Philip Sargent
29c5c82337
polishing outputs for importing unseen survex files
2022-10-05 23:18:11 +03:00
Philip Sargent
7e47fe1f30
Parse all files, not just those in the *include tree
2022-10-05 21:11:18 +03:00
Philip Sargent
9e5bdace2c
make cache work even if timestamps wrong
2022-10-05 21:10:05 +03:00
Philip Sargent
a6e60c0bf7
working on loading all the non*inlcuded svx files
2022-10-04 00:00:55 +03:00
Philip Sargent
c8163ab0cd
fix bug for wallet with empty fpath
2022-10-03 21:18:35 +03:00
Philip Sargent
4495be2083
explanation of column headings
2022-10-03 20:35:23 +03:00
Philip Sargent
fe28d9ba39
Add survex files,wallets and same-day LBEs to the logbook entry
2022-09-27 23:59:25 +03:00
Philip Sargent
b60e1f2493
rename data issue tag
2022-09-27 21:37:45 +03:00
Philip Sargent
78a62a1551
error msg was incorrect. fix.
2022-09-26 00:18:41 +03:00
Philip Sargent
f0195682f2
Now shows cave id even if no *ref
2022-09-25 22:39:01 +03:00
Philip Sargent
2f64e2d4c1
FIx pending caves which had got a bit garbled
2022-09-25 21:43:00 +03:00
Philip Sargent
829e18baef
Make scans in wallet subfolders clickable
2022-09-25 21:42:21 +03:00
Philip Sargent
760dbc588a
Make scans in subfolders somewhat visible
2022-09-24 00:34:39 +03:00
Philip Sargent
f3ecdd6d87
Cleaner monitoring output when importing wallets and scans
2022-09-24 00:17:51 +03:00
Philip Sargent
6e3fdd35c1
Replaced maintenance headache with cleaner folder walking
2022-09-23 23:43:34 +03:00
Philip Sargent
c3672b476c
test fixed to match new code
2022-09-23 21:23:15 +03:00
Philip Sargent
9d56e467cd
fix broken upload form
2022-09-23 21:07:51 +03:00
Philip Sargent
97b0ce8c96
removing technical debt, replace convoluted code
2022-09-23 00:49:40 +03:00
Philip Sargent
aa20692ad6
bugfixes and enabling older wallets to be found and listed
2022-09-22 22:41:42 +03:00
Philip Sargent
af88cb4d0f
Show list of folders in a wallet
2022-09-22 19:42:44 +03:00
Philip Sargent
b4cf2bac95
more complete list of caves linked to wallets
2022-09-22 01:37:25 +03:00
Philip Sargent
5c0835e076
create links from cave ids
2022-09-22 00:25:02 +03:00
Philip Sargent
e2b280ccdc
fix mistaken error messages
2022-09-22 00:23:47 +03:00
Philip Sargent
1971f51b52
find more wallets than we thought we had
2022-09-22 00:23:22 +03:00
Philip Sargent
11b1d41a55
increase entires to 64
2022-09-22 00:22:09 +03:00
Philip Sargent
86ea33bbce
Correct and validate JSON dates when they are read from file
2022-09-20 23:06:45 +03:00
Philip Sargent
71bd07e70e
Handling and fixing bad dates in JSON input
2022-09-20 22:52:31 +03:00
Philip Sargent
94b49adc4e
added free text field to wallet JSON
2022-09-20 22:05:35 +03:00
Philip Sargent
36995ec051
handling survex files not linked in completely
2022-09-20 02:36:40 +03:00
Philip Sargent
61f9863a06
bug fixes and coping with a list of cave ids in JSON
2022-09-20 01:02:06 +03:00
Philip Sargent
47878d264b
Make survex file more obvious in table
2022-09-19 23:10:09 +03:00
Philip Sargent
0611c3f00f
documn improvements
2022-09-19 21:54:51 +03:00
Philip Sargent
13b57d2bb6
year list for wallets by year
2022-09-19 21:54:32 +03:00
Philip Sargent
2648bada30
remove URL field from wallet as seen and edited
2022-09-19 20:55:34 +03:00
Philip Sargent
d2c6c4d7fb
find perps guilty of bad *ref brhaviour
2022-09-18 23:53:04 +03:00
Philip Sargent
b5f8c5294e
depry detects uneeded dependencies
2022-09-18 20:28:23 +03:00
Philip Sargent
9cd009f8ba
typo, bugfix
2022-09-16 23:22:45 +03:00
Philip Sargent
68865a80ef
Fixing bad date parsing, better warning msgs
2022-09-16 22:54:22 +03:00
Philip Sargent
ddfc677a1e
bugfix for missing dates
2022-09-16 21:26:03 +03:00
Philip Sargent
0ab3a4ff44
comments added
2022-09-15 22:55:45 +03:00
Philip Sargent
f12d0bd580
Remove unneeded code now svx files have been edited
2022-09-15 22:55:16 +03:00
Philip Sargent
e28f04a51c
add link to Help on using wallets
2022-09-14 01:20:00 +03:00
Philip Sargent
9410dda69e
List the logbook trips and other svx files of the same date
2022-09-14 00:31:37 +03:00
Philip Sargent
04696b7b80
better link text
2022-09-13 00:08:37 +03:00
Philip Sargent
a41cd8eb24
oops. breaking chnage. fixed.
2022-09-12 22:51:33 +03:00
Philip Sargent
29dc99c21f
tidy bad git messages in tests
2022-09-12 22:47:31 +03:00
Philip Sargent
dfc903208e
more useful links ion wallets pages
2022-09-12 22:47:12 +03:00
Philip Sargent
beecb4b0ac
remove redundant code
2022-09-12 22:46:45 +03:00
Philip Sargent
182df351b9
Extra useful links on wallets pages
2022-09-12 22:20:14 +03:00
Philip Sargent
fd57071411
Fixed test to undo side-effect git commit
2022-09-12 21:28:07 +03:00
Philip Sargent
785845598f
catch crashes when no data has been imported
2022-09-12 20:50:57 +03:00
Philip Sargent
6452a7beed
fix green block for survex files on table
2022-08-31 12:09:07 +03:00
Philip Sargent
5c667c1826
update dev environment
2022-08-31 09:28:23 +03:00
Philip Sargent
dc2b8ad431
fixes for crashes,svx files in wallets
2022-08-31 09:27:14 +03:00
Philip Sargent
3af1112847
fix wallet date from survexfile
2022-08-30 20:46:17 +03:00
Philip Sargent
0853bbdd19
Many fixes and speedups
2022-08-30 17:58:49 +03:00
Philip Sargent
6daa96b69e
correcting output comment
2022-08-30 17:30:46 +03:00
Philip Sargent
9aaadafc13
populate with people
2022-08-25 17:29:57 +03:00
Philip Sargent
6c384492be
fix missing .svx as not an error
2022-08-25 17:29:43 +03:00
Philip Sargent
ab184bccf3
comment updates
2022-08-25 16:31:38 +03:00
Philip Sargent
79672dd4b3
bugfix
2022-08-25 16:12:13 +03:00
Philip Sargent
760abe1a9e
cope with swapped people/title
2022-08-25 15:54:00 +03:00
Philip Sargent
8f03e590cc
update test to match new wallet json location
2022-08-25 14:38:14 +03:00
Expo on server
57c4732566
Fix erroring code in core/views/caves.py
2022-08-25 03:31:54 +01:00
Philip Sargent
17bbbd6eab
get the survexfile path when editing a naked wallet
2022-08-24 19:08:08 +03:00
Philip Sargent
7e9fd0f353
Better display of wallet names copied from svx files
2022-08-24 18:28:15 +03:00
Philip Sargent
8ca50d8fd4
bugfix which was deleting metadata
2022-08-24 17:01:20 +03:00
Philip Sargent
43b6b590e8
fix bleed through of previous metadata onto another wallet
2022-08-24 16:22:15 +03:00
Philip Sargent
e98ffced98
better explanation text
2022-08-24 15:07:19 +03:00
Expo on server
d37bacb91a
Clarify databasereset help on subfunction use
2022-08-24 12:42:01 +01:00
Philip Sargent
96b2c6c9ed
fix url for cave edit page in error msg
2022-08-24 14:15:40 +03:00
Philip Sargent
b8cd8c4785
wallets form edits
2022-08-24 13:40:49 +03:00
Philip Sargent
a30a2b9ef9
bugfix
2022-08-20 09:45:28 +03:00
Philip Sargent
e195497829
better commit msg
2022-08-16 21:58:13 +03:00
Philip Sargent
03cda8a897
update prompt from 2019 to 2022
2022-08-16 21:21:03 +03:00
Philip Sargent
13e3da8d26
bugfix
2022-08-16 20:57:34 +03:00
Philip Sargent
ee7e3b6d41
make field longer
2022-08-16 20:54:27 +03:00
Philip Sargent
d05294adaf
better, non-real prompt
2022-08-16 20:52:34 +03:00
Philip Sargent
f1aa6a9794
better hint for svx file name input
2022-08-16 20:47:24 +03:00
Philip Sargent
41c68aef26
detecting empty wallets where we only have JSON and no files
2022-08-16 20:02:28 +03:00
Philip Sargent
e94dc6eb6f
remove more "None" text
2022-08-16 17:49:55 +03:00
Philip Sargent
aaba4fd2a9
minor refactoring
2022-08-16 17:42:37 +03:00
Philip Sargent
1a49e5347f
cleaner table for None values
2022-08-16 17:42:13 +03:00
Philip Sargent
51f5261bfc
bad bug in not clearing out previous data. fixed
2022-08-16 16:48:19 +03:00
Philip Sargent
b2d8b21822
update 2019 to 2022
2022-08-16 16:26:19 +03:00
Philip Sargent
b2a26be8c8
change photo to GPS guide: more useful
2022-08-16 15:28:27 +03:00
Philip Sargent
dcc36f3286
Docum for creating empty wallet
2022-08-16 14:19:25 +03:00
Philip Sargent
3c13f62bd1
re-fettled scan upload, creates Wallet object earlier
2022-08-14 23:40:56 +03:00
Philip Sargent
284e044a03
Fix wallets scan upload faults
2022-08-14 22:52:14 +03:00
Philip Sargent
b093d00ff4
match therion files to wallets, scans names therein
2022-08-14 01:47:53 +03:00
Philip Sargent
8e93680146
personrole is not just about roles
2022-08-13 23:57:57 +03:00
Philip Sargent
8fa25c815a
fix apparent error when running on dev system
2022-08-13 23:57:37 +03:00
Philip Sargent
edfba8d355
git commit edits to wallet data
2022-08-13 23:56:56 +03:00
Philip Sargent
1eadc931cb
Bugfix for git add for uploaded drawings
2022-08-13 21:14:57 +03:00
PhilipSargent
f3002a694d
New troggle config for Barbie Xubuntu pink
2022-08-13 16:14:47 +01:00
Philip Sargent
5149cf1ece
add test for renaming single photo
2022-08-11 23:44:19 +03:00
Philip Sargent
1bbfd1e517
bugfix in photo upload, untidy
2022-08-11 23:35:53 +03:00
Philip Sargent
e35616a611
look in filesystem not database for file location
2022-08-11 22:18:58 +03:00
Philip Sargent
a0a1927437
removed outdated text
2022-08-11 21:57:23 +03:00
Philip Sargent
3607b9f140
enable photo file rename
2022-08-11 21:19:52 +03:00
Philip Sargent
25c425cff8
QMs grayed out for survex files 2014 and earlier
2022-08-07 23:41:45 +03:00
Philip Sargent
7f335e082c
prevent error message repetition in DataIssues
2022-08-07 23:26:31 +03:00
Philip Sargent
9220dbf2e6
bugfix
2022-08-07 22:52:29 +03:00
Philip Sargent
f33c6cc057
bugfix in new wallet
2022-08-06 22:23:39 +03:00
Philip Sargent
186eb20fb3
Make drawings repo the MASTER for contents.json
2022-08-06 21:27:36 +03:00
Philip Sargent
ac22a984ee
missing from Barbie git
2022-08-06 20:02:17 +03:00
Philip Sargent
61c04a1fb9
removing links to most old-style wallets pages
2022-08-01 17:46:54 +03:00
Philip Sargent
0fd3cf43e8
formatting
2022-08-01 17:32:49 +03:00
Martin Green
c1aaf07885
Merge branch 'python3-new' of ssh://expo.survex.com/home/expo/troggle into python3-new
2022-08-01 16:05:17 +02:00
Martin Green
f491264b9e
Allow entrances to be edited with the correct parent url. Commit changes to caves when adding a new entrance. Order entrances alphabetically
2022-08-01 16:04:22 +02:00
Philip Sargent
eed35d01a8
tick lists now on 3 wallets reports
2022-08-01 15:55:20 +03:00
Philip Sargent
df42b1ccb3
remove debugging print
2022-08-01 03:10:07 +03:00
Philip Sargent
129ea3cc5b
debugging ticklist
2022-08-01 02:50:19 +03:00
Martin Green
fa6758b9a0
edit entrances within the correct url parent
2022-07-31 21:29:17 +02:00
Philip Sargent
5da1fce41f
tidy links
2022-07-31 19:33:14 +03:00
Philip Sargent
a2a5e9200e
wallets per person - slow implementation
2022-07-31 18:58:46 +03:00
Martin Green
94252a94fe
Edit caves in the same parent URL as the final file
2022-07-31 17:08:28 +02:00
Philip Sargent
c1ba6a39a5
Wallets by year and by cave
2022-07-31 01:02:02 +03:00
Philip Sargent
724234949f
Populate blank wallet fields with survex data
2022-07-29 20:55:19 +03:00
Philip Sargent
bc3da1182b
starting jsn population when we know the data
2022-07-29 17:49:07 +03:00
Philip Sargent
7872e98cb2
fixing pending caves system to be cleaner
2022-07-28 18:36:57 +03:00
Philip Sargent
c29e240c2b
creating new wallet now copies nd commits
2022-07-28 18:36:40 +03:00
Philip Sargent
93622b111f
obscure bug fixed for lines ;*include
2022-07-28 15:15:11 +03:00
Philip Sargent
9a461c31a8
adding people
2022-07-28 02:37:44 +03:00
Philip Sargent
fea69c0371
Extend wallets by cave report
2022-07-28 01:48:22 +03:00
Philip Sargent
dd0fcc28dd
update todo strings
2022-07-27 23:24:53 +03:00
Philip Sargent
3d7cb78e47
copies all wallet data to drawings repo as backup
2022-07-27 23:24:53 +03:00
Philip Sargent
1468c49723
remove unused SCANS_URL
2022-07-27 23:24:52 +03:00
Philip Sargent
c39fb30707
new urls and dummy functions and rename
2022-07-27 23:24:51 +03:00
Martin Green
91568b7151
Allow HTML to be blank and determine the new files need git commiting.
2022-07-26 17:09:15 +01:00
Martin Green
7090bab632
closed form for search item in right hand menu
2022-07-26 15:56:31 +01:00
Philip Sargent
039792e320
improve reifying process
2022-07-25 15:03:58 +03:00
Philip Sargent
cddcb0e321
fix minor bug in setting dummy entrance
2022-07-25 11:31:43 +03:00
Philip Sargent
f9a7ba7927
alias as separate error type
2022-07-25 04:17:06 +03:00
Philip Sargent
7785843597
error msg when no .pos file
2022-07-25 04:10:28 +03:00
Expo on server
c5b9cd57f2
deleted transient file
2022-07-25 02:10:18 +01:00
Philip Sargent
3577d8cb68
big rewrite of cave alias lookup system
2022-07-25 02:58:13 +03:00
Philip Sargent
9c090f0383
test now matches model schema
2022-07-25 02:57:31 +03:00
Philip Sargent
476ee482fa
Pending caves with 1626 properly
2022-07-25 02:57:00 +03:00
Philip Sargent
25d5361da4
1626 as well as 1623
2022-07-25 02:56:12 +03:00
Philip Sargent
de7388bdc5
GetCave:Lookup neeeds work
2022-07-24 21:38:14 +03:00
Philip Sargent
5007393536
better error handling
2022-07-23 20:05:58 +03:00
Philip Sargent
a1e538e93a
making it work with 1626 no schonberg
2022-07-23 19:26:47 +03:00
Philip Sargent
7288bd9da3
add comment on point where it crashes
2022-07-22 13:42:04 +03:00
Philip Sargent
f194126fb5
better error description
2022-07-22 13:41:47 +03:00
Philip Sargent
3b1b96c4c8
EXTEND MESSAGE FILED. cRASHES mARIAdb
2022-07-22 13:41:28 +03:00
Philip Sargent
31b912f3ca
bugfixes
2022-07-22 12:40:42 +03:00
Philip Sargent
38eb65ac0e
remove unused code
2022-07-22 11:23:00 +03:00
Philip Sargent
796dbf1438
more dead chicken waving
2022-07-21 21:52:10 +03:00
Philip Sargent
f46942fadf
typo again
2022-07-21 21:04:49 +03:00
Philip Sargent
3a52d790f0
typo
2022-07-21 21:03:54 +03:00
Philip Sargent
ce7dfd6510
working on MariaDB crash on server
2022-07-21 21:01:57 +03:00
Philip Sargent
312ecdcfe1
need to see exception with all the renaming going on
2022-07-21 19:51:04 +03:00
Philip Sargent
c747664a26
Better links for 2022
2022-07-21 19:34:52 +03:00
Philip Sargent
931c33cfdb
Clean DataIssues output, new therionrefs.log file
2022-07-21 19:01:04 +03:00
Philip Sargent
f895a7e44c
wallets now sorted as well as deduplicated
2022-07-21 11:10:04 +03:00
Philip Sargent
5161fce32e
remove duplicate lines, add heading link
2022-07-21 10:50:15 +03:00
Philip Sargent
8245ee103e
wallets for just one cave
2022-07-21 10:32:11 +03:00
Philip Sargent
3e869ae76a
fix variables needed for error message
2022-07-21 09:40:35 +03:00
Philip Sargent
dd0a448f90
fix 3d file download on cave page
2022-07-21 01:22:07 +03:00
Philip Sargent
3ab8a5d1ad
layout tidy
2022-07-21 00:40:03 +03:00
Philip Sargent
83bbda7c40
bugfix
2022-07-21 00:07:52 +03:00
Philip Sargent
d058942084
revert, this was a bad idea
2022-07-20 21:04:59 +03:00
Philip Sargent
0a158db97d
Trial QM tick mechanism in survex files
2022-07-20 20:47:29 +03:00
Philip Sargent
de37eea167
typo 290 instead of 291
2022-07-20 17:25:36 +03:00
Philip Sargent
a215ebd62c
fix QM regex for number and rearrange url code
2022-07-20 17:02:38 +03:00
Philip Sargent
549c1649b4
QMs now have working url to survexfile & tick description
2022-07-20 14:44:56 +03:00
Philip Sargent
2a7f1506c9
track down url resoution error
2022-07-20 10:08:23 +03:00
Philip Sargent
9a395eafef
aise exception in cave descriptionb rendering
2022-07-20 10:04:00 +03:00
Philip Sargent
2e14be61a2
bugfix
2022-07-19 20:54:46 +03:00
Philip Sargent
6883ff49a0
Add fields to QM model
2022-07-19 20:54:28 +03:00
Philip Sargent
d9d75b3aee
another attempt to avoid non-null parent pseudo error
2022-07-19 20:00:35 +03:00
Philip Sargent
1395ac76e9
Attempt fix to MariaDB crash in databasereset
2022-07-19 19:48:11 +03:00
Philip Sargent
b79eb9a969
better error msg
2022-07-19 19:18:42 +03:00
Philip Sargent
23462df49c
bugfix
2022-07-19 19:06:56 +03:00
Philip Sargent
3db9c16082
add Homecoming to QMs list
2022-07-18 19:19:30 +03:00
Philip Sargent
6ec7071ffc
Fix display of expoyear
2022-07-18 19:19:06 +03:00
Philip Sargent
4efeefe6c9
git commit when editing survex files online
2022-07-18 18:42:21 +03:00
Philip Sargent
5b7c105c5f
missed a bit of refactoring
2022-07-18 18:06:23 +03:00
Philip Sargent
dd00ff69aa
refactor to put Martins git stuff in utils
2022-07-18 17:37:22 +03:00
Philip Sargent
ee9b808461
moved writetrogglefile() to core.utils
2022-07-18 16:57:13 +03:00
Philip Sargent
8484f26ee9
Fix URL links and better name display
2022-07-18 16:16:58 +03:00
Philip Sargent
deec330990
test for loser git repo sanity
2022-07-18 15:46:57 +03:00
Philip Sargent
145540caf5
more weirdness in circumventing MariaDB/Django misunderstandings
2022-07-17 16:08:01 +03:00
Philip Sargent
b7035f1574
more helpful message
2022-07-17 16:07:27 +03:00
Philip Sargent
6efbec7750
Date and People checks
2022-07-17 15:41:05 +03:00
Philip Sargent
037a50cf47
read 1623/264 as 1623-264 etc
2022-07-17 15:28:20 +03:00
Philip Sargent
bb65ffaee6
bugfix
2022-07-17 15:22:26 +03:00
Philip Sargent
b20e6c5a58
Complaints now on wallet page
2022-07-17 15:01:53 +03:00
Philip Sargent
7c82c2d97c
rename
2022-07-17 15:01:25 +03:00
Philip Sargent
810e058c07
new complaints messages for wallet
2022-07-17 15:00:37 +03:00
Philip Sargent
8aab01c126
cleaner zeroth cave setting
2022-07-15 16:44:02 +03:00
Philip Sargent
73e9ae54fa
cleaner survexdirectory creation
2022-07-15 16:17:40 +03:00
Martin Green
d4c213e0b3
Merge branch 'python3-new' of ssh://expo.survex.com/home/expo/troggle into python3-new
2022-07-15 14:06:43 +01:00
Martin Green
3748840e23
Removed extranious characters where there is one unnnumbered entrance.
2022-07-15 14:05:48 +01:00
Philip Sargent
02cf9b1c22
fixing Beckas complaint
2022-07-15 16:04:07 +03:00
Martin Green
ef27901125
Merge branch 'python3-new' of ssh://expo.survex.com/home/expo/troggle into python3-new
2022-07-15 13:43:50 +01:00
Martin Green
a1560c60c6
Added kataster number to cave heading
2022-07-15 13:42:58 +01:00
Philip Sargent
b8355cbf8d
fix bugs and tidyup in recent changes
2022-07-15 15:11:49 +03:00
Philip Sargent
86a18c3ebc
catch nonUTF8 survex files, DataIssues url editor
2022-07-15 14:09:32 +03:00
Martin Green
5582d545a1
Allow QMS to be rendered to a string, if the case that an optional parameter is missing
2022-07-11 23:29:59 +01:00
Martin Green
c416de6e1e
Allow user to see a caves edit link even if the user is not logged in. Such that they can be prompted to log in if required.
2022-07-11 21:12:53 +01:00
Philip Sargent
91c9cf0c31
2019 logbook error fix
2022-07-09 01:55:11 +03:00
Philip Sargent
278a84a485
better error msg
2022-07-09 01:54:48 +03:00
Philip Sargent
8d31ab763d
improve date parse eror messages
2022-07-09 01:30:49 +03:00
Philip Sargent
a4b1c7b142
remove getqms
2022-07-08 22:20:29 +03:00
Philip Sargent
776f9f7833
remove getqms
2022-07-08 22:19:56 +03:00
Philip Sargent
9803ebe2e8
fix bug in Area creation
2022-07-08 22:19:07 +03:00
Philip Sargent
ca5586fc42
Report badly formatted ;QM lines
2022-07-08 20:08:42 +03:00
Philip Sargent
d3572e18c3
QM reports all working
2022-07-06 17:35:08 +03:00
Philip Sargent
7dc3cc3b91
fix for individual QM display from survex
2022-07-06 15:38:53 +03:00
Philip Sargent
ee4237b14c
cleaner template pages
2022-07-06 13:44:40 +03:00
Philip Sargent
848043f7f4
Linkt to QMs on cave page
2022-07-06 11:39:19 +03:00
Philip Sargent
da4d7d6d5e
shorten slug to fit
2022-07-06 11:10:50 +03:00
Philip Sargent
0ea3ed1ef2
Not quite so broken QMs from survex files
2022-07-05 22:40:58 +03:00
Philip Sargent
2bd617b543
Fixed QM report for survex-imported QMs
2022-07-05 20:24:51 +03:00
Philip Sargent
96101252bd
Documn link
2022-07-05 17:40:31 +03:00
Philip Sargent
9d4a97fc19
Tidy HTML output
2022-07-05 17:02:43 +03:00
Philip Sargent
c9a33a4010
bug fix for forgotten href
2022-07-05 16:34:08 +03:00
Philip Sargent
87fd260051
import diagnostics
2022-07-05 16:30:42 +03:00
Philip Sargent
5d7d2b82b2
Fixing non-null error, even though it should be allowed
2022-07-05 15:57:49 +03:00
Philip Sargent
779afc2f2a
QM report pages now not crashing, working..
2022-07-05 15:38:23 +03:00
Philip Sargent
33eb91346c
CaveView - how to install
2022-07-05 14:16:21 +03:00
Philip Sargent
a11541eb58
prefetch_related initial attempts
2022-07-05 14:14:03 +03:00
Martin Green
dbe6d10fff
Revert "Added some test pages showing different ways pages could be edited. This probably wants removing soon"
...
This reverts commit 2af88353f3 .
2022-06-28 00:24:57 +01:00
Martin Green
2af88353f3
Added some test pages showing different ways pages could be edited. This probably wants removing soon
2022-06-28 00:18:24 +01:00
Martin Green
82fe350493
Added HTMLarea widget to the edit entrance form
2022-06-27 00:34:08 +01:00
Martin Green
47d1662033
Added help writing HTML in the cave editing form. Made the HTML previews optional
2022-06-26 21:29:46 +01:00
Martin Green
4e5d8d1d76
Refactored code, with an aim of allowing more than one HTMLarea on a page
2022-06-26 18:29:20 +01:00
Martin Green
f1fcef2a6f
Refactorising CodeMirror HTML editor, with an ultimate aim to make it reusable. However more work if required...
2022-06-26 14:16:42 +01:00
Martin Green
8f0ea8ed82
Fix for adding images whilst editing, for where the t directory does not exist and at the root directory of expoweb
2022-06-26 11:20:14 +01:00
Martin Green
5fbe0b31c2
Require a login if public and check for CSRF cookies for uploading images
2022-06-26 01:15:00 +01:00
Martin Green
24a016e76a
Fixed spelling of a variable name
2022-06-25 23:36:53 +01:00
Martin Green
5de88ce92d
Merge branch 'python3-new' of ssh://expo.survex.com/home/expo/troggle into python3-new
2022-06-25 23:19:28 +01:00
Martin Green
20583b04c0
Allowed user to select/upload images when editing. When uploaded thumbnails and description pages are automatically created. Git commiting can now handle multiple files at once.
2022-06-25 23:17:19 +01:00
Philip Sargent
2f1ba9cb54
install updates
2022-06-25 21:34:42 +03:00
Philip Sargent
451326789b
updated packages and settings
2022-06-25 20:01:43 +03:00
Philip Sargent
859ae9d825
update pip inside venv
2022-06-25 20:00:19 +03:00
Philip Sargent
364a636fa0
Updated pip packages
2022-06-25 19:37:37 +03:00
Philip Sargent
293eb10ffd
New OS and venv tool
2022-06-25 19:28:01 +03:00
Martin Green
b3d9e81499
Implement redirects after login (using the next parameter)
2022-06-25 16:13:02 +01:00
Martin Green
74a5125cf9
Allow for PosixPaths to work with GetListDir
2022-06-25 16:08:19 +01:00
Martin Green
d607b30953
Do not allow for the main menu to be overriden, instead display old menu at bottom of page. To do this the id of the main menu was changed from links to menulinks
2022-06-25 01:07:17 +01:00
Martin Green
abdea22899
Allow for slightly different wording in git output
2022-06-25 01:05:29 +01:00
Martin Green
48f82aaaca
Merge branch 'python3-new' of ssh://expo.survex.com/home/expo/troggle into python3-new
2022-06-24 21:58:21 +01:00
Martin Green
5ac2e24cc2
Removed jQuery
2022-06-24 21:58:00 +01:00
Philip Sargent
d6db942626
Useful datamanagement link
2022-06-24 23:18:10 +03:00
Martin Green
7db7c67065
Added link to parent cave in menu
2022-06-24 19:28:31 +01:00
Martin Green
54f47c58db
Adding the latest stable jquert, which is used in the 161 names page, to replace the previous frameset implimentation.
2022-06-24 17:09:46 +01:00
Martin Green
ceb6d2fef1
Added a sub menu when in the handbook directory. Imcreased width of edit preview
2022-06-24 15:48:35 +01:00
Martin Green
b38412b145
Added come mirror for the edit page, including some buttons to make html
2022-06-24 14:39:09 +01:00
Martin Green
ef68db080a
Add git commit messages when editing via website. Make sure cust menus are not deleted.
2022-06-23 21:31:57 +01:00
Martin Green
97a9f2aae6
The editing system was accidentally deleting customised sidebar menus. This will stop the happening
2022-06-23 20:03:05 +01:00
Martin Green
2f42f488ab
Merge branch 'python3-new' of ssh://expo.survex.com/home/expo/troggle into python3-new
2022-06-23 19:02:10 +01:00
Martin Green
f1e800d8bf
Move saving and comitting code to a seperate library
2022-06-23 18:48:29 +01:00
Philip Sargent
16c6aed65f
Fix missing images
2022-06-23 19:18:21 +03:00
Philip Sargent
77cf3455a6
Intercept NoReverseMatch eceptions more helpfully
2022-06-23 19:01:57 +03:00
Philip Sargent
4fa8d18621
utf8 encoding checks when reading files in the view
2022-06-23 19:01:25 +03:00
Philip Sargent
6de9181390
Put inside if clause if attribute does not exist
2022-06-23 18:44:53 +03:00
Philip Sargent
bd8d450542
UTF-8 check inserted into databasereset
2022-06-23 16:12:13 +03:00
Philip Sargent
7b0d90182b
Added utf8 test to test suite
2022-06-23 16:03:50 +03:00
Philip Sargent
b5f2d0641d
Provide dummy expedition_id to keep MariaDB happy
2022-06-22 23:08:32 +03:00
Philip Sargent
4662d10c4e
apache now using system locale
2022-06-22 20:22:42 +03:00
Philip Sargent
13a63b64d4
sanitized recent localsettings as on server
2022-06-22 20:17:33 +03:00
Martin Green
4d8125a2fd
removed rest of endocings
2022-06-22 09:10:56 +01:00
Martin Green
ea880915b0
Removed encoding of file paths as encoding now correct
2022-06-22 09:08:01 +01:00
Martin Green
836387057a
Now the servers locale is utf8, try opening files spectifying path using a text string
2022-06-22 08:52:04 +01:00
Martin Green
f0a9c33795
bug fix to previous test
2022-06-21 22:45:11 +01:00
Martin Green
843bfa8ba6
test to find out locale set in the WSGI enivroment
2022-06-21 22:43:06 +01:00
Martin Green
654f8e8c6c
bug fix to prev commit
2022-06-20 22:12:00 +01:00
Martin Green
c6272e4103
Refactorise saving code. Do not save and git change if there are no changes
2022-06-20 22:09:10 +01:00
Martin Green
3420422f29
bug fix to setting encoding
2022-06-20 21:38:46 +01:00
Martin Green
a664e8ce8c
Made it such that opening files for reading and writing when editing to use utf8 encoding
2022-06-20 21:35:51 +01:00
Martin Green
491fba7d64
test
2022-06-19 01:57:08 +01:00
Martin Green
3d35cf713f
test
2022-06-19 01:56:28 +01:00
Martin Green
b75a91ed70
test
2022-06-19 01:55:01 +01:00
Martin Green
02a3d6a359
test
2022-06-19 01:53:13 +01:00
Martin Green
8372d9d85c
test
2022-06-19 01:52:09 +01:00
Martin Green
945373df67
test
2022-06-19 01:50:05 +01:00
Martin Green
26e952154e
test
2022-06-19 01:44:57 +01:00
Martin Green
e33ce724c0
test
2022-06-19 01:41:48 +01:00
Martin Green
86b24c9dfe
test
2022-06-19 01:39:30 +01:00
Martin Green
3465e9bd16
test
2022-06-19 01:37:51 +01:00
Martin Green
c9d7931ccb
test
2022-06-19 01:35:32 +01:00
Martin Green
aad6b70736
test
2022-06-19 01:33:08 +01:00
Martin Green
d560b17ab6
test
2022-06-19 01:16:53 +01:00
Martin Green
18dbb847e3
test
2022-06-19 01:12:49 +01:00
Martin Green
84693b6524
test
2022-06-19 01:04:47 +01:00
Martin Green
5ac6bfd49a
test
2022-06-19 01:03:45 +01:00
Martin Green
5666f1e9a7
test
2022-06-19 01:02:41 +01:00
Martin Green
b39a57786d
test
2022-06-19 00:59:54 +01:00
Martin Green
4fe306d35f
test
2022-06-19 00:57:04 +01:00
Martin Green
60b2e5e8c7
utf8 edit pages
2022-06-19 00:54:50 +01:00
Martin Green
18a58c1042
test
2022-06-19 00:49:07 +01:00
Martin Green
d9cfbc19ed
test
2022-06-19 00:32:25 +01:00
Martin Green
372c7e0804
test
2022-06-19 00:27:10 +01:00
Martin Green
5f34a78d94
test
2022-06-19 00:25:48 +01:00
Martin Green
f0cfed2ef6
Future proof for filesystem encoding changing in the future
2022-06-18 23:43:21 +01:00
Martin Green
59a45871fd
utf debugging
2022-06-18 23:37:37 +01:00
Martin Green
328347f8af
debugging
2022-06-18 23:26:37 +01:00
Martin Green
845e70465e
bug fix
2022-06-18 23:24:21 +01:00
Martin Green
6bcf70bb8b
refactorisation to make debugging easier
2022-06-18 23:13:40 +01:00
Martin Green
41dfe08d2a
try coverting path from utf8
2022-06-18 22:48:30 +01:00
Martin Green
38d23fd76b
Attempting to fix utf8 urls by not type converting to string
2022-06-18 22:41:00 +01:00
Philip Sargent
bf6c6e56a6
fixing to work with python3.10 on a machine where 3.9 is default
2022-05-19 22:38:28 +03:00
Philip Sargent
b259e43de2
bad CSS from typo
2022-05-19 16:13:35 +03:00
Philip Sargent
1556ccd7f6
programmers note
2022-05-19 15:59:44 +03:00
Philip Sargent
a7baf4f3e6
restore Sit Index menu item
2022-05-19 15:58:54 +03:00
Philip Sargent
f0634ff164
specify default encoding explicitly
2022-04-28 00:30:43 +03:00
Philip Sargent
322d454d41
revert
2022-04-27 23:43:15 +03:00
Philip Sargent
cafde67c02
ISO-8859-1 fallback 1
2022-04-27 23:25:37 +03:00
Philip Sargent
362aedc2ac
back to how it was
2022-04-27 23:07:02 +03:00
Philip Sargent
b3b10b0db7
ugh
2022-04-27 23:00:42 +03:00
Philip Sargent
3528587890
raise exception on live system
2022-04-27 22:58:43 +03:00
Philip Sargent
3bd308effa
more superficial fixings
2022-04-27 22:35:20 +03:00
Philip Sargent
fbffbf0909
hack to make borken file less unreadable
2022-04-27 22:29:50 +03:00
Philip Sargent
f05e885517
workaround security update on distsortreversed
...
Due to Django security update CVE-2021-45116 which removed the capability of resolving a method in a template when called dictsortreversed
2022-04-23 22:42:46 +03:00
Philip Sargent
9ead6b00f9
warning text for broken table in page, pending fix
2022-04-20 23:18:05 +03:00
Philip Sargent
00eb978f5f
fixed test broken by recent update
2022-04-20 21:22:38 +03:00
Philip Sargent
c9931fd45e
survey legs calc fixed
2022-04-18 23:33:04 +03:00
Philip Sargent
3813b21dcf
regularising _URL and _ROOT idiom
2022-04-18 22:48:49 +03:00
Philip Sargent
ccd386ff4e
Better error message with permissions problems
2022-04-12 22:42:36 +03:00
Philip Sargent
d29f3030a4
remove redundant and old setting
2022-04-12 21:05:28 +03:00
Expo on server
fe53b08f35
Update the 'pagenotfound' page to reflect what users see.
2022-04-09 22:59:47 +01:00
Philip Sargent
5a64d9d3d0
test checks that localsettings is not out of step with code too
2022-04-07 01:20:44 +03:00
Philip Sargent
4b1012cbb4
comment out unused code prior to deletion
2022-04-07 01:13:54 +03:00
Philip Sargent
c0c4fb72ca
local to new laptop
2022-04-06 21:07:43 +03:00
Philip Sargent
ed71fa48f1
cleaning unused settings
2022-04-06 21:01:31 +03:00
Philip Sargent
18c2892967
Make more robust to WSL chmod failures for tests
2022-04-06 20:43:26 +03:00
Philip Sargent
71ed0815cc
Revert "update oddity with VS Code and WSL2"
...
This reverts commit 41b2bcee4f .
CR LF != LF issue
2022-04-05 10:38:52 +03:00
Philip Sargent
41b2bcee4f
update oddity with VS Code and WSL2
2022-04-02 00:03:53 +03:00
PhilipSargent
1f3f60a6a3
Now easier to fix by hand
2022-03-31 00:21:42 +01:00
PhilipSargent
a9ef96f84e
whackety whack
2022-03-31 00:07:47 +01:00
PhilipSargent
3390a62020
whack, whack..
2022-03-31 00:06:54 +01:00
PhilipSargent
9461eed380
mole whacking
2022-03-30 23:56:40 +01:00
PhilipSargent
aeb210bd30
typo
2022-03-30 23:54:38 +01:00
PhilipSargent
d7246cbb98
UTF-8 failure thing
2022-03-30 23:53:57 +01:00
PhilipSargent
785500241e
better debug
2022-03-30 21:29:52 +01:00
Philip Sargent
dddb9b1f57
Struggling to use venv pip with WSL2 Ubuntu-20.04
2022-03-30 02:17:08 +01:00
PhilipSargent
7f16bca7f7
Better error messaged and url
2022-03-29 15:31:25 +01:00
Philip Sargent
efeb0efd1e
umlauts and edit this page
2022-03-25 02:05:10 +00:00
Philip Sargent
406259a8a2
make 1999 work like other years
2022-03-25 02:04:44 +00:00
Philip Sargent
7fd9497d5c
bugfix
2022-03-24 21:20:53 +00:00
Philip Sargent
3617f9b6d9
bugfix and docum
2022-03-24 20:59:36 +00:00
Philip Sargent
1589188988
enable wallet view even if not logged in
2022-03-24 20:45:15 +00:00
Philip Sargent
a514355e5e
to do updated
2022-03-24 01:16:43 +00:00
Philip Sargent
be410d4d9d
minor refactoring
2022-03-24 01:05:50 +00:00
Philip Sargent
13ffe1fcc6
url to full logbooks fixed in logbookentry
2022-03-23 23:35:42 +00:00
Philip Sargent
9ccf5912d4
restored logbook cacheing
2022-03-23 22:55:59 +00:00
Philip Sargent
4c7deadb9a
documenting fossils
2022-03-23 22:55:43 +00:00
Philip Sargent
42b615d16b
survex legs bug fix
2022-03-23 20:05:38 +00:00
Philip Sargent
70efb10ece
reordered main menu
2022-03-23 11:32:36 +00:00
Philip Sargent
8fd4f818b5
better err text for mysterious error
2022-03-22 02:24:26 +00:00
Philip Sargent
f1b206ad34
fixing bugs after wookey session
2022-03-22 02:22:15 +00:00
Philip Sargent
48171ae824
better fix
2022-03-18 20:45:40 +00:00
Philip Sargent
28fb4d1e94
|Another subtle bug
2022-03-18 20:43:01 +00:00
Philip Sargent
1d504e4066
bugfix
2022-03-18 20:09:49 +00:00
Philip Sargent
6a18511dd0
Fixing URLs for cave descriptions
2022-03-18 20:00:15 +00:00
Philip Sargent
6f32364675
fixed get_absolute_url error
2022-03-18 14:18:16 +00:00
Philip Sargent
3b997a32bf
bugfix if no svx file
2022-03-18 12:55:08 +00:00
Philip Sargent
8b889ade5f
Fix scanned walletindex pages
2022-03-18 12:26:32 +00:00
Philip Sargent
af7fc8f243
use new upload page for most wallets
2022-03-18 11:28:35 +00:00
Philip Sargent
e4ee4abce8
missing print msg
2022-03-18 10:21:25 +00:00
Philip Sargent
2544bc5f3d
extra cross link URL to wallet reports
2022-03-18 02:49:45 +00:00
Philip Sargent
19d017a457
Edit contents.json online
2022-03-17 00:41:29 +00:00
Philip Sargent
e34f162688
Test photo upload
2022-03-16 12:43:39 +00:00
Philip Sargent
60fc66cdf5
package updates for Django 3.2
2022-03-16 11:02:54 +00:00
Philip Sargent
d3ddcba313
bug fixes
2022-03-15 23:00:23 +00:00
Philip Sargent
251e3bf844
Bug fixes
2022-03-15 20:53:55 +00:00
Philip Sargent
6bdd9be092
contnets.json now visible on form
2022-03-15 19:15:45 +00:00
Philip Sargent
3390f51049
Form creates wallet folder and contents.json
2022-03-15 17:04:43 +00:00
Philip Sargent
fac748d2e2
Better table titles
2022-03-13 23:48:22 +00:00
Philip Sargent
ad1283662d
Django 3.2 package settings
2022-03-13 13:26:49 +00:00
Philip Sargent
bb8a92fff1
settings to enable Upload Photos
2022-03-13 11:26:29 +00:00
Philip Sargent
b65639df05
Upload form for Photos
2022-03-13 01:01:00 +00:00
Philip Sargent
f99ebf84e9
running cavern on svx files improved
2022-03-11 16:22:37 +00:00
Philip Sargent
8e78dd4a2e
update menu
2022-03-10 22:59:47 +00:00
Philip Sargent
822f8a1699
Fix URL bug
2022-03-10 18:58:58 +00:00
Philip Sargent
488ce46d73
File upload forms descriptions
2022-03-08 22:59:04 +00:00
Philip Sargent
f32df567f2
Updated troggle menu with 2022 caves
2022-03-08 09:34:52 +00:00
Philip Sargent
d6cc32ee9a
Detect more survex errors
2022-03-07 16:23:20 +00:00
Philip Sargent
3ac617431f
Make .3d files in same dir as .svx
2022-03-06 01:29:45 +00:00
Philip Sargent
7a58aac08e
Drawings uploads git works
2022-03-05 22:16:03 +00:00
Philip Sargent
a3a65524b8
better errors for drawings parsing & upload
2022-03-05 20:29:01 +00:00
Philip Sargent
88f5df0f19
More detailed debug output
2022-03-05 18:02:01 +00:00
Philip Sargent
5fe436e76a
Add git status test for 3 repos
2022-03-05 17:42:12 +00:00
Philip Sargent
d7fd6b00ae
Detect unwriteable file permissions earlier
2022-03-05 17:05:15 +00:00
Philip Sargent
32377f4e6c
Cave import & reports fixes
2022-03-05 12:20:26 +00:00
Philip Sargent
1b9fccc2a4
Upversioned packages. Also now Dj4.0 capable.
2022-03-04 14:54:49 +00:00
Philip Sargent
dc4374cb9e
Update to new Django admin styles for v3.x
2022-03-03 14:18:51 +00:00
Philip Sargent
7f41017ce3
git merge failure caught in svx files
2022-03-03 00:26:04 +00:00
Philip Sargent
02d58d440e
WORKING both py3.9.10 & 3.8.10 (dj2.2.25)
2022-03-02 23:19:48 +00:00
Philip Sargent
73b26ec206
uses venv & links script
2022-03-02 23:18:39 +00:00
Philip Sargent
601fc2cffc
WORKING Dj2.2.24 & 2.2.25 py3.7
2022-03-02 21:15:24 +00:00
Philip Sargent
af50d4912d
Catch error if unfixed merges in survex files
2022-03-01 01:30:09 +00:00
Philip Sargent
8bd20f9600
Prospecting guide disabled - 100s bad URLs
2022-02-28 15:46:19 +00:00
Philip Sargent
6d435ee473
more comments
2022-02-26 23:20:59 +00:00
Philip Sargent
7f542b8936
LIBDIR automatically gets right python version
2022-02-25 18:33:34 +00:00
Philip Sargent
2c13c1b5f3
remove 'testing' from menu template too
2022-02-23 23:04:00 +00:00
Philip Sargent
29c929aba4
Update title to 2022
2022-02-23 22:52:55 +00:00
Philip Sargent
a87ef54492
remove 'testing' in search field
2022-02-23 22:51:37 +00:00
Philip Sargent
32e6d5f891
Update to-do lists and README text
2022-02-20 00:21:56 +00:00
Philip Sargent
ab8813e389
capture git subprocess errors
2021-12-30 23:27:42 +00:00
Philip Sargent
21ad6ecffb
New debug page for subprocess runs
2021-12-30 22:46:34 +00:00
Philip Sargent
b359937eab
remove chmod attempt
2021-12-30 21:13:34 +00:00
Philip Sargent
c0545b8777
separate chmod from context
2021-12-30 20:21:47 +00:00
Philip Sargent
4470c5abbd
chmod after write
2021-12-30 20:08:24 +00:00
Philip Sargent
c3a54858d5
chmod with context handler
2021-12-30 20:03:34 +00:00
Philip Sargent
0a3037f077
let exceptions bubble up
2021-12-30 19:46:44 +00:00
Philip Sargent
84e165b8fc
Move exception handling to calling View
2021-12-30 19:28:33 +00:00
Philip Sargent
5bad82b4f0
bug fix
2021-12-30 19:10:13 +00:00
Philip Sargent
d1e6125d15
add git commit to file saving in 3 places
2021-12-30 19:07:17 +00:00
Philip Sargent
26454bf6c6
first attempt EtP fix for cave pages
2021-12-30 14:15:08 +00:00
Philip Sargent
1da2be03e6
Merge branch 'python3-new' of ssh://expo.survex.com/home/expo/troggle into python3-new
2021-12-30 01:01:07 +00:00
Philip Sargent
5aac280618
Bug fix and extra comment
2021-12-30 00:56:09 +00:00
Philip Sargent
928c451040
msg that control panel not working
2021-12-30 00:55:42 +00:00
PhilipSargent
9b44ba3ef2
precompile regexes
2021-12-19 14:24:20 +00:00
Philip Sargent
02e475642a
fix final \n on edited files
2021-12-07 23:46:55 +00:00
Philip Sargent
406b4590a9
fix tests to match new error messages
2021-12-05 21:45:06 +00:00
Philip Sargent
b3aa99f008
Better error msgs for bad slugs
2021-12-05 21:23:06 +00:00
Philip Sargent
bb97b7c862
Catch permissions error.
2021-12-05 17:45:45 +00:00
Philip Sargent
1aef81dccc
testing WSL2 & docm addn
2021-12-05 17:11:12 +00:00
PhilipSargent
8a43cf7dfb
logbook cache reading broken - disabled
2021-11-11 22:57:49 +02:00
PhilipSargent
2391b5a504
Django 'command' system docm
2021-11-11 19:34:59 +02:00
PhilipSargent
e61bc7416e
to-do list updates
2021-11-07 00:36:44 +02:00
PhilipSargent
64f89be6a9
docm .3d file generation for CaveView
2021-11-06 23:57:51 +02:00
PhilipSargent
b72706356d
fixed mistaken DataIssue report
2021-11-06 23:37:31 +02:00
PhilipSargent
73ffb509f7
CaveView status is now documented
2021-11-06 22:59:10 +02:00
PhilipSargent
5723f57fc5
Add crossrefs to handbook UTM pages, laser points
2021-11-06 00:15:24 +02:00
PhilipSargent
c38aa357b7
Better error msg for overwriting 3d files
2021-11-05 23:51:10 +02:00
PhilipSargent
df43aae33d
2021 docm update re logbook imports
2021-11-05 23:01:10 +02:00
PhilipSargent
b461b87df6
fix unneeded runs of survex on survex mport
2021-11-05 22:59:54 +02:00
PhilipSargent
7575e8c16f
fix old comments
2021-10-31 19:42:06 +02:00
PhilipSargent
2869f228d4
fix side effects in tests: git and file upload
2021-10-31 19:25:45 +02:00
PhilipSargent
252fcc4716
git install test and tidying
2021-10-31 18:01:14 +02:00
PhilipSargent
36f92c5c9c
jslib docum
2021-10-31 17:59:11 +02:00
PhilipSargent
f13a98e53b
moved to handbook
2021-10-29 22:34:49 +03:00
PhilipSargent
3f6fb260a4
moving docm from README to handbook
2021-10-29 22:18:36 +03:00
PhilipSargent
bf5d0556fc
remove broken and ancient AERW map images
2021-10-26 19:00:18 +03:00
PhilipSargent
c774b14e04
remove unused JS code after checking it is redundant
2021-10-26 01:02:27 +03:00
PhilipSargent
b6bbec235c
Remove refs to absent and unused JS & CSS
2021-10-25 01:00:02 +03:00
PhilipSargent
5533029072
tried old jquery CSS
2021-10-25 00:38:24 +03:00
PhilipSargent
5807e4a873
tidying unused and unavailable JSLIB bits
2021-10-25 00:04:02 +03:00
PhilipSargent
f9e8cf60bc
Caveview docum added
2021-10-24 19:17:02 +03:00
PhilipSargent
9294c8c2f1
remove unneeded LIBDIR
2021-10-24 19:16:01 +03:00
PhilipSargent
0d7cbbea37
sanitize passwords before push to git on server
2021-10-23 21:07:16 +03:00
PhilipSargent
0fb6f1e4ed
text moved from README.txt to handbook on expoweb
2021-10-23 00:08:39 +03:00
PhilipSargent
9130160bd6
new tests for CAVERN and SURVEXPORT
2021-05-13 23:15:30 +03:00
PhilipSargent
6410cc1090
, replace raise with error msg
2021-05-13 21:46:29 +03:00
PhilipSargent
ac11c56ca0
update to WSL on different machine
2021-05-13 00:13:11 +03:00
PhilipSargent
515a639fd0
update re git commit within testsuite
2021-05-13 00:10:53 +03:00
PhilipSargent
4503751907
improving README for a new dev install
2021-05-13 00:00:39 +03:00
Philip Sargent
3cc9fe4dd9
fix for server
2021-05-09 01:13:53 +01:00
Philip Sargent
e42cb582c7
1988, 1989 still bad
2021-05-09 00:55:37 +01:00
Philip Sargent
39cd616c90
survexstations also tabulated
2021-05-07 23:46:11 +01:00
Philip Sargent
8c5fdf5021
Entrance locations new report - url to cave
2021-05-07 23:21:57 +01:00
Philip Sargent
1ff723554c
Northings and Easting report
2021-05-07 22:42:10 +01:00
Philip Sargent
41ed15f47f
1987 crashes too..
2021-05-07 21:43:46 +01:00
Philip Sargent
d916d4125c
1989 crashes mysql too. duh.
2021-05-07 21:22:40 +01:00
Philip Sargent
4877a7ddc4
omit 1988 logbook, crashes mysql
2021-05-07 21:00:06 +01:00
Philip Sargent
c6bcb5fde9
wgs84 lat long for entrances
2021-05-07 20:44:58 +01:00
Philip Sargent
4cd7367a7e
remove commented out bits
2021-05-07 19:38:26 +01:00
Philip Sargent
47d9d7d242
Parse all logbooks
2021-05-06 21:07:19 +01:00
Philip Sargent
c3c222e045
docm on JS files
2021-05-05 17:56:05 +01:00
Philip Sargent
d374779c47
dwg upload and django admin extra search
2021-05-05 00:35:10 +01:00
Philip Sargent
44b6770b6a
oops. finished update on rename
2021-05-04 21:03:04 +01:00
Philip Sargent
1638f97d0c
moved functions between files
2021-05-04 20:57:16 +01:00
Philip Sargent
b3fcd7765e
renamed to uploadfiles
2021-05-04 20:56:44 +01:00
Philip Sargent
dc3379c186
fix end slash issue
2021-05-04 15:48:11 +01:00
Philip Sargent
b4abd7b6bc
menu update
2021-05-04 15:44:46 +01:00
Philip Sargent
6d341a3cfe
removed field from model
2021-05-04 15:43:10 +01:00
Philip Sargent
1d9d96f467
IFRAMES chnaged to DENY
2021-05-04 14:17:07 +01:00
Philip Sargent
56c3517328
fixed url ambiguity by rename
2021-05-04 14:16:48 +01:00
Philip Sargent
90bb0759a0
Drawing files upload form
2021-05-04 02:46:56 +01:00
Philip Sargent
9ae2e18fe6
delete redundant logbook dump
2021-05-03 23:45:02 +01:00
Philip Sargent
8ad791c594
rearranged config files
2021-05-03 22:47:57 +01:00
Philip Sargent
e6adced39d
removed menu link to edit database object directly
2021-05-03 21:21:28 +01:00
Philip Sargent
fd95bb8198
split surveys->scans + drawings
2021-05-03 20:36:29 +01:00
Philip Sargent
9b9f6720e0
not found now does 404 & moved login
2021-05-03 20:35:35 +01:00
Philip Sargent
254b465755
git integration with Save this page
2021-05-03 00:52:51 +01:00
Philip Sargent
5a085ba7ba
another todo quote
2021-05-02 22:48:25 +01:00
Philip Sargent
4782f3b184
fixed test mistake & bug in Edit This
2021-05-02 22:47:59 +01:00
Philip Sargent
51da26564f
chnage img fix to import, not display
2021-05-02 15:50:20 +01:00
Philip Sargent
a9ffae9b87
Fix images in single logbook entries
2021-05-02 14:50:46 +01:00
Philip Sargent
3393db0fbc
Bigger buttons, phone compatible
2021-05-01 18:35:08 +01:00
Philip Sargent
100209ea16
add cave column to wallets report
2021-05-01 00:19:04 +01:00
Philip Sargent
425b534c30
add wallet column to expo report
2021-05-01 00:18:39 +01:00
Philip Sargent
63640db81f
remove unused templatetags load
2021-05-01 00:18:13 +01:00
Philip Sargent
03160f3863
Fix upload file test
2021-04-30 23:22:33 +01:00
Philip Sargent
7368942488
remove unused templatetags code
2021-04-30 23:21:38 +01:00
Philip Sargent
9a69ce50f9
remove unused templatetag code
2021-04-30 22:48:53 +01:00
Philip Sargent
b545f8ed40
cleaned & removed defunct wiki_to_html
2021-04-30 22:44:03 +01:00
Philip Sargent
be0148d146
removing cruft, renaming badly named things
2021-04-30 21:32:53 +01:00
Philip Sargent
8f1d6e2cc2
file upload integration test working
2021-04-30 18:02:05 +01:00
Philip Sargent
fde30685a8
bugfix
2021-04-30 03:52:30 +01:00
Philip Sargent
bdf535fcbf
Scan Upload working nicely
2021-04-30 03:44:53 +01:00
Philip Sargent
03a5f5989e
chipping away bug in personexpedition, remove role
2021-04-30 00:24:36 +01:00
Philip Sargent
e5cf1b5289
download logbook in standard HTML works
2021-04-28 02:43:09 +01:00
Philip Sargent
62799d196b
tabs to spaces
2021-04-28 00:50:36 +01:00
Philip Sargent
cb6619a90a
buxfixes
2021-04-28 00:50:26 +01:00
Philip Sargent
b9fad1f4fb
new path() interacts badly with include(). fixed
2021-04-28 00:48:20 +01:00
Philip Sargent
5e478c7eb0
Imports in control panel work again
2021-04-27 20:44:24 +01:00
Philip Sargent
821aaa1f66
Changing to new path() url function (initial)
2021-04-27 19:02:11 +01:00
Philip Sargent
942cbdd4b2
clean out broken QM bits
2021-04-27 15:38:20 +01:00
Philip Sargent
13f3057185
bugfixes
2021-04-27 14:51:04 +01:00
Philip Sargent
81d58f1275
delete: never implemented properly
2021-04-27 14:50:26 +01:00
Philip Sargent
e236e792ec
todo: parsing caves
2021-04-27 00:32:01 +01:00
Philip Sargent
9e7414e0e0
remove autologbooks function
2021-04-27 00:31:23 +01:00
Philip Sargent
e6eeaf1674
two caves no longer pending
2021-04-26 23:47:08 +01:00
Philip Sargent
49b9225b6e
rename scansfolder to wallet
2021-04-26 19:50:03 +01:00
Philip Sargent
7f64670f36
reanme manyscansfolders to manywallets
2021-04-26 19:22:29 +01:00
Philip Sargent
7dd5840353
reanem tunnelcontains to dwgcontains
2021-04-26 18:54:17 +01:00
Philip Sargent
72df5d5213
/tunneldata/ to /drawings/
2021-04-26 18:45:21 +01:00
Philip Sargent
d43ce1bdb2
rename TUNNEL_DATA as DRAWINGS_DATA
2021-04-26 18:42:10 +01:00
Philip Sargent
bd647b99ec
rename tunnelname as dwgname
2021-04-26 18:37:59 +01:00
Philip Sargent
0997fd0901
rename ScansFolder class as Wallet
2021-04-26 18:18:16 +01:00
Philip Sargent
dc840c9bc7
tunnelpath to dwgpath
2021-04-26 18:11:14 +01:00
Philip Sargent
37403a7234
renamed tunnel to drawing or dwg
2021-04-26 18:08:42 +01:00
Philip Sargent
f0d291f527
rename surveyscansfolder(s) to scanwallet(s)
2021-04-26 17:46:23 +01:00
Philip Sargent
b8803c8e5b
rename surveyscansingle
2021-04-26 17:40:48 +01:00
Philip Sargent
9e11c0814e
missing entrance .html file now handled differently
2021-04-26 17:23:23 +01:00
Philip Sargent
72fa8a5883
Making entrances work for pending caves
2021-04-26 02:10:45 +01:00
Philip Sargent
a656ada67a
Fixing cave edit form and cave creation parser
2021-04-25 04:04:53 +01:00
Philip Sargent
20c42b14bf
update to MariaDB management
2021-04-25 01:48:03 +01:00
Philip Sargent
4e59c8791f
copied comments from the html template file to the xml template too
2021-04-25 01:47:34 +01:00
Philip Sargent
8128870d57
more robust logbooks parsing
2021-04-24 01:23:55 +01:00
Philip Sargent
b979bdb560
slug too long for field
2021-04-23 16:31:52 +01:00
Philip Sargent
b7659a477c
Deep fix, nonunique ids in logbookentries fixed
2021-04-23 16:11:50 +01:00
Philip Sargent
343d6cf350
delete old forms, templates. fix logdataissues
2021-04-23 11:43:25 +01:00
Philip Sargent
dbd186e299
make ?reload private and clean old error msgs
2021-04-23 03:07:21 +01:00
Philip Sargent
1a4be0f02e
stop file logging from tests
2021-04-23 03:05:22 +01:00
Philip Sargent
8f89b022c7
drawing file upload form working
2021-04-22 02:45:28 +01:00
Philip Sargent
74403d28e9
fix field in search box so no need to delete it
2021-04-21 22:09:42 +01:00
Philip Sargent
1968db62ad
archeology on the logbook entry editing forms
2021-04-21 22:09:20 +01:00
Philip Sargent
bcdb3572fa
Add new per-module ToDo texts
2021-04-21 19:08:42 +01:00
Philip Sargent
18938c9fca
more attempts to recognise scotsmen
2021-04-20 23:57:51 +01:00
Philip Sargent
8f0e7435d6
renaming 'tunnel' to 'dwg' in urls and views
2021-04-20 23:57:19 +01:00
Philip Sargent
bad5484d12
fix for missing scotsmen
2021-04-20 23:14:10 +01:00
Philip Sargent
b4ba3c40eb
catch unknown scotsman error
2021-04-20 22:58:41 +01:00
Philip Sargent
3b0c6ef2ea
Better labels for objects in admin console
2021-04-20 19:47:08 +01:00
Philip Sargent
7a6578e205
Now Django 3.2 compatible without deprcation warnings.
2021-04-20 19:46:32 +01:00
Philip Sargent
a2083c5310
disabling Google FLoC
2021-04-19 01:47:12 +01:00
Philip Sargent
879f6c288e
Make troggle compatible with Django 3.1
2021-04-19 01:32:18 +01:00
Philip Sargent
e17a21defd
Tests work on cave, person, expedition pages
2021-04-18 01:58:24 +01:00
Philip Sargent
eea74406c9
fix template bug for newentrance
2021-04-17 23:59:11 +01:00
Philip Sargent
d4317b5fd3
better error pages
2021-04-17 21:24:37 +01:00
Philip Sargent
25b8fc2e1d
test suite with users logins
2021-04-17 20:45:38 +01:00
Philip Sargent
f8b613e0aa
prospect and moving code to better places
2021-04-17 01:41:06 +01:00
Philip Sargent
4ad7033285
working, but very faint
2021-04-16 21:47:40 +01:00
Philip Sargent
eca0bcc6d8
oops
2021-04-16 21:29:32 +01:00
Philip Sargent
fa1df39923
stopo prospecting map crashing
2021-04-16 21:28:44 +01:00
Philip Sargent
49277216ba
Fixed cave sort-order in cave index
2021-04-16 16:01:35 +01:00
Philip Sargent
16ef4fa9fb
split out prospecting guide code
2021-04-16 03:05:39 +01:00
Philip Sargent
9695e49024
add link to all expedition pages back to expoweb /year/ page
2021-04-16 01:56:43 +01:00
Philip Sargent
540ce7c076
bug fix in error message
2021-04-15 18:06:04 +01:00
Philip Sargent
27491c933a
enabled mugshots & blurb in people pages
2021-04-15 17:51:01 +01:00
Philip Sargent
7124d978d3
add 'del' and 'delfirst' options
2021-04-15 14:27:16 +01:00
Philip Sargent
0fee2bb165
add labels to templates to help debugging
2021-04-15 12:55:13 +01:00
Philip Sargent
3e50d0edca
renaming CSS files for clarity
2021-04-15 12:34:51 +01:00
Philip Sargent
38a63641bc
abort messages when parsing caves
2021-04-15 01:52:09 +01:00
Philip Sargent
5c4a33873f
cull old CSS
2021-04-15 01:51:42 +01:00
Philip Sargent
c2c7de4c59
more cave parsing data fixes
2021-04-14 22:50:47 +01:00
Philip Sargent
d598a6d0f5
better integration of svx file DatIssues
2021-04-14 21:08:06 +01:00
Philip Sargent
db3addc819
Detects missing svx and description files
2021-04-14 18:24:08 +01:00
Philip Sargent
d8b1d59b12
Cave and Entrance forms tuned to user needs
2021-04-14 16:28:30 +01:00
Philip Sargent
54d98f58f3
docum and defaults in template cave-data xml
2021-04-14 01:52:42 +01:00
Philip Sargent
4a13232467
stop being so verbose
2021-04-14 00:12:27 +01:00
Philip Sargent
ba0f573618
restored cave edit capability
2021-04-14 00:11:59 +01:00
Philip Sargent
2f03f77ce4
rename function more accurately
2021-04-13 23:52:56 +01:00
Philip Sargent
daf58e9e45
replace assert() with message logging
2021-04-13 22:27:01 +01:00
Philip Sargent
2467065ac3
actually needed it seems.
2021-04-13 02:29:24 +01:00
Philip Sargent
0820d7c0dc
Docstrings for all modules
2021-04-13 01:37:42 +01:00
Philip Sargent
267741fa8b
fixing typos and changes in importing
2021-04-13 01:13:08 +01:00
Philip Sargent
7bc73d1ca8
move models_survex to models/survex.py
2021-04-13 00:50:12 +01:00
Philip Sargent
957169d9aa
move models_caves to models/caves.py
2021-04-13 00:47:17 +01:00
Philip Sargent
5b3b0e67e9
create core/models/ directroy
2021-04-13 00:43:57 +01:00
Philip Sargent
304bbd230a
deprecated non-raw regex
2021-04-13 00:18:30 +01:00
Philip Sargent
ca1df94be5
moved clever slash middleware & unused.py
2021-04-13 00:14:15 +01:00
Philip Sargent
2a1710596a
moving save_carefully()
2021-04-13 00:11:08 +01:00
Philip Sargent
b602f3ae13
creating core/utils.py
2021-04-12 23:58:48 +01:00
Philip Sargent
5024abc812
add url field to DataIssue
2021-04-12 01:28:54 +01:00
Philip Sargent
dbd9b1a095
Enable svx view if url just misses off .svx
2021-04-12 01:16:49 +01:00
Philip Sargent
f6f83c6f70
data issues much easier to read
2021-04-12 01:00:47 +01:00
Philip Sargent
bc9b4f508b
Public Import Errors webpage
2021-04-11 20:00:09 +01:00
Philip Sargent
7f5ac93cc6
url dispatcher tidying
2021-04-11 03:02:06 +01:00
Philip Sargent
5d4ad93c51
Better FileNotFound in expofiles
2021-04-10 15:30:29 +01:00
Philip Sargent
a7e59b2bb0
clear cache on parsing & 2.2.19 notes
2021-04-10 02:12:13 +01:00
Philip Sargent
876868506f
tidy obsolete troggle/code/reset_db
2021-04-10 01:14:23 +01:00
Philip Sargent
6dc54adec8
Cache enabled for 'expedition' pages
2021-04-10 01:07:49 +01:00
Philip Sargent
16a6e05849
Dj2.2.19 LTS tested.
2021-04-08 01:37:59 +01:00
Philip Sargent
f16d9a5848
Therion renaming missed one
2021-04-08 01:22:09 +01:00
Philip Sargent
cb5b80353d
Therion files now handled
2021-04-08 01:09:06 +01:00
Philip Sargent
b7d54111ba
Import Therion files too
2021-04-07 21:53:43 +01:00
Philip Sargent
bf74913486
compatible with Dj2.1.5
2021-04-07 21:53:17 +01:00
Philip Sargent
e3a341eb22
chnage maintenance menus & move tests
2021-04-07 16:04:27 +01:00
Philip Sargent
785d6360cd
Now compat with Dj2.0.13 & 1.11.29
2021-04-06 22:50:57 +01:00
Philip Sargent
05ed8af158
remove 'register' bad link
2021-04-06 01:19:50 +01:00
Philip Sargent
d1cd72c5f8
New user login/logoff system using standard Dj
2021-04-06 00:49:09 +01:00
Philip Sargent
6d6bec35f2
fix incorrect folder when showing index.html
2021-04-05 15:48:48 +01:00
Philip Sargent
9db1a8490c
fix bug in parsing bad HTML pages e.g.expo 82
2021-04-05 14:49:06 +01:00
Philip Sargent
409037bdf3
tiny tidyings
2021-04-05 14:01:15 +01:00
Philip Sargent
53fef14024
transaction incompatible with migrate Django 2+
2021-04-04 01:44:41 +01:00
Philip Sargent
c08356876d
missed a wiki_markup ref
2021-04-03 21:59:18 +01:00
Philip Sargent
4d7e3d6866
no permission for this on expo server
2021-04-03 21:09:16 +01:00
Philip Sargent
ab5512e9d6
bugger, missed this edit
2021-04-03 20:54:33 +01:00
Philip Sargent
f6ae46e352
3d CaveView regeneates .3d file in cache
2021-04-03 20:52:35 +01:00
Philip Sargent
7ee7a05ea1
typos in templates
2021-04-03 00:35:31 +01:00
Philip Sargent
e559a1dabd
commentary in prospecting guide
2021-04-03 00:35:10 +01:00
Philip Sargent
8707e4a819
fix missing slug field in pending caves
2021-04-03 00:34:34 +01:00
Philip Sargent
912e447200
fix password import error
2021-04-03 00:33:55 +01:00
Philip Sargent
52c1dabd0e
survex_file field inconsistency detection & edit
2021-04-02 23:21:23 +01:00
Philip Sargent
bd8d59b343
restoring wiki_markup where still used
2021-04-02 23:17:54 +01:00
Philip Sargent
ea221281a3
remove unused {% load link %}
2021-04-02 20:54:18 +01:00
Philip Sargent
cc5b4fa650
remove {% load wiki_markup %}
2021-04-02 20:41:42 +01:00
Philip Sargent
663d4a2a02
JSLIB and tidy path settings
2021-04-02 19:22:53 +01:00
Philip Sargent
371542fb1e
Caveview enabled - local copy 3MB
2021-04-02 19:02:10 +01:00
Philip Sargent
b71f2c4ebb
rename wiki folder
2021-04-02 15:52:56 +01:00
Philip Sargent
d841faa057
login decorator moved into views & .gitignore
2021-04-02 15:51:14 +01:00
Philip Sargent
c8cc1673e0
enable non-cave html and images redirection
2021-04-01 21:44:03 +01:00
Philip Sargent
d6409b22c2
Merge branch 'python3-new' of ssh://expo.survex.com/home/expo/troggle into python3-new
2021-04-01 20:46:35 +01:00
Expo on server
35697b9af5
ignoire localsettings AGAIN
2021-04-01 20:46:26 +01:00
Philip Sargent
7374244806
Merge branch 'python3-new' of ssh://expo.survex.com/home/expo/troggle into python3-new
2021-04-01 20:27:52 +01:00
Expo on server
391790d648
ignoire localsettings AGAIN
2021-04-01 20:27:23 +01:00
Philip Sargent
f752f934b6
fix cave description view
2021-04-01 20:08:57 +01:00
Philip Sargent
573dba4712
ignore localsettings.py again
2021-04-01 02:57:35 +01:00
Philip Sargent
51de825189
making PHOTOS files served correctly by troggle
2021-04-01 02:50:30 +01:00
Philip Sargent
4c0ad53b3a
culling unused JS
2021-04-01 02:44:49 +01:00
Philip Sargent
8f790309ce
tests for new /site_media/ management
2021-03-31 23:41:46 +01:00
Philip Sargent
2690203912
new method for /site-media/, /static/, /photos/
2021-03-31 23:19:48 +01:00
Philip Sargent
9d8a44696b
remove garbage & duplicated code
2021-03-31 22:13:51 +01:00
Philip Sargent
7cccf4daf1
move *_views files to /views/*
2021-03-31 21:51:17 +01:00
Philip Sargent
e1cf43c260
trailing slashes fixed
2021-03-31 20:18:46 +01:00
Philip Sargent
a6ed0a964e
making flat files delivery more robust
2021-03-31 17:57:43 +01:00
Philip Sargent
3452c2c5d4
flatpages to expopages
2021-03-31 16:14:36 +01:00
Philip Sargent
577bd51613
Moved secrets to credentials.py
2021-03-31 13:00:09 +01:00
Philip Sargent
b3b2356a7e
expopages now troggle/core/views_expo
2021-03-30 21:48:36 +01:00
Philip Sargent
b75baffdcf
delete unused profiles app
2021-03-30 21:09:01 +01:00
Philip Sargent
cacae6a9cd
rename flatpages as expopages to reduce confusion
2021-03-30 21:05:27 +01:00
Philip Sargent
0f024b27f0
Replace assert() with DataIssue message
2021-03-29 02:06:19 +01:00
Philip Sargent
c81f17c24b
more tests for files served from several places
2021-03-28 23:48:36 +01:00
Philip Sargent
623483f3b1
Fixing multiple caves with same kataser no
2021-03-28 23:47:47 +01:00
Philip Sargent
0ecaa9b8ee
Disable "secure" (i.e. SSL trabsport only) cookies
2021-03-28 15:40:07 +01:00
Philip Sargent
a99020078c
tidy render() calls
2021-03-28 03:48:24 +01:00
Philip Sargent
a4c892b696
fixed serving expofiles from test server
2021-03-28 03:48:04 +01:00
Philip Sargent
c4cd2178f7
we will never test or host on naked Windows
2021-03-27 23:28:12 +00:00
Philip Sargent
c7475cda83
merge expeditions and statistics pages
2021-03-27 20:05:15 +00:00
Philip Sargent
ffaaea497c
re-ordering middleware and logon system
2021-03-27 18:22:07 +00:00
Philip Sargent
e7947069a2
should all be working, but isn't
2021-03-26 23:40:34 +00:00
Philip Sargent
0abd8aedff
layout tidying
2021-03-26 21:20:08 +00:00
Philip Sargent
dba0fd8b20
remove survexblock webpage - redundant
2021-03-26 21:19:31 +00:00
Philip Sargent
ec83c1ff12
csrf continued
2021-03-26 19:42:58 +00:00
Philip Sargent
1c7e99e91b
attempting to enable csrf cookie robustly
2021-03-26 17:33:58 +00:00
Philip Sargent
f5e799d632
new remote expofiles option
2021-03-26 13:51:00 +00:00
Philip Sargent
2e068d3fbb
move mistake to expoweb
2021-03-26 13:30:40 +00:00
Philip Sargent
713db304e2
deleting unused old utilities
2021-03-26 13:14:52 +00:00
Philip Sargent
3487c22da3
Survex 1624, 1626, 1627 now displayed robustly
2021-03-26 02:01:29 +00:00
Philip Sargent
65c3cb31d7
improved display of survex files for a cave
2021-03-25 20:23:25 +00:00
Philip Sargent
80874887cc
404 fix attempt
2021-03-25 16:15:58 +00:00
Philip Sargent
8723d62add
Survex files subdirectories displayed differently
2021-03-25 16:15:26 +00:00
Philip Sargent
213ada4ae9
unused app pending deletion
2021-03-25 16:13:58 +00:00
Philip Sargent
70684a29c6
1982 giving problems. Caved ID issue suspected.
2021-03-24 22:00:51 +00:00
Philip Sargent
06c4d026f8
skip years crashing parser
2021-03-24 21:40:52 +00:00
Philip Sargent
65be64c756
type data added to report
2021-03-24 21:16:06 +00:00
Philip Sargent
2fe2c0515f
update push procedure and fix order in pathsreport
2021-03-24 20:38:43 +00:00
Philip Sargent
ecbef84c37
sanitised server settings
2021-03-24 17:34:40 +00:00
Philip Sargent
39194704f5
pathlib updates
2021-03-24 17:32:45 +00:00
Philip Sargent
9a91487375
pathlib for path management & cavelist fixes
2021-03-24 15:46:35 +00:00
Philip Sargent
7f37327bcd
Fixing cave list webpage
2021-03-24 00:55:36 +00:00
Philip Sargent
a9fa251fee
now robust re svx in folders unofficial numbers
2021-03-23 17:35:41 +00:00
Philip Sargent
4e00645851
fix if empty directory present & display 144, 40
2021-03-23 16:36:55 +00:00
Philip Sargent
87b30741fc
more mimetypes for flatfiles
2021-03-22 02:27:19 +00:00
Philip Sargent
a0f504d1e2
new self-adjusting paths
2021-03-22 02:26:46 +00:00
Philip Sargent
24bab23508
server setup docum
2021-03-22 02:26:11 +00:00
Philip Sargent
a0c3ef8ea1
comments on urls resolution re apache & bugfix
2021-03-21 01:37:52 +00:00
Philip Sargent
b4b343b578
survex syntax colouring - local copies
2021-03-21 01:36:08 +00:00
Philip Sargent
18b570d750
remote /expofiles/ now for runserver dev
2021-03-21 01:33:59 +00:00
Philip Sargent
314f600523
Dj1.11.29 running - trimmed unneeded packages
2021-03-17 21:09:44 +00:00
Philip Sargent
6ac65cf893
Buxfix for cave search not finding any cave file
2021-03-17 20:58:25 +00:00
Philip Sargent
5836c6ff90
Importing old logbooks
2021-02-06 00:18:48 +00:00
Philip Sargent
a4d7183260
Added link to Kataster list on link to new cave form
2020-08-02 23:54:14 +01:00
Philip Sargent
d61c2b20c8
Deleted archaisms and new comments
2020-08-02 23:53:35 +01:00
Philip Sargent
3dcc8883cd
Updated Troggle Article
2020-07-31 04:44:29 +01:00
Philip Sargent
3574dd4b1e
Fix skipped import error messages for drawings
2020-07-29 22:54:53 +01:00
Philip Sargent
95b9daca80
remove commented out code, more comments
2020-07-29 22:54:09 +01:00
Philip Sargent
42456e8e98
fix server instructions + comment in stats output
2020-07-28 01:46:00 +01:00
Philip Sargent
0094cf7054
clean troggle menu and drawingfiles layout
2020-07-28 01:22:06 +01:00
Philip Sargent
d4c79ab66b
add docutils needed and SVX_URL
2020-07-28 00:08:35 +01:00
Philip Sargent
57b8242f7e
utf-8 templates .gitignore
2020-07-28 00:08:34 +01:00
Expo on server
a624cc8a68
restoring .gitignore
2020-07-28 00:06:07 +01:00
Expo on server
b5b0e4191a
Remove generated lines-of-templates.txt file
2020-07-27 01:52:36 +01:00
Philip Sargent
0403c68429
enabling django/admin/ auto documentn. functions
2020-07-26 23:38:17 +01:00
Philip Sargent
f1ceb38f5f
fix for no comma after lat item in django template
2020-07-26 21:11:29 +01:00
Philip Sargent
0cf3b869af
First implementation of html API, both TSV and JSON
2020-07-26 20:48:25 +01:00
Philip Sargent
69b843a824
Removing editLogbookEntry capability
2020-07-26 03:22:37 +01:00
Philip Sargent
924c5a3bf8
Delete commented-out code
2020-07-26 02:26:04 +01:00
Philip Sargent
809633bdd3
Fixed QMs in Admin control panel &remv. OtherCave
2020-07-23 02:16:08 +01:00
Philip Sargent
64727e0d3a
Commented-out unused CaveDescription object
2020-07-23 01:24:06 +01:00
Philip Sargent
2a0aee5bf5
remove NewSubCave
2020-07-23 01:08:45 +01:00
Philip Sargent
c65544a377
differences between sqlite and MariaDB
2020-07-22 23:51:50 +01:00
Philip Sargent
a6ed0997e8
No speedup for database init.
2020-07-22 23:44:25 +01:00
Philip Sargent
721341604c
Speed up migrations and init
2020-07-22 23:43:07 +01:00
Philip Sargent
3e3cae507c
More transactions enabled.
2020-07-22 23:36:46 +01:00
Philip Sargent
1ef5924f0c
Two more transactions
2020-07-22 23:27:25 +01:00
Philip Sargent
070157eacb
TRansX speedup for import + remove fossil profiles
2020-07-22 23:14:10 +01:00
Philip Sargent
fbf5daff0e
gitignor generated files
2020-07-22 23:14:10 +01:00
Philip Sargent
427afa9ebd
Removing foissil: subcave and flatpages-redirects
2020-07-22 23:14:09 +01:00
Philip Sargent
190514597b
apache restart
2020-07-22 23:14:09 +01:00
Expo on server
92de606bc6
removing files which are generated
2020-07-22 23:14:02 +01:00
Philip Sargent
5aed96c5a6
mistake
2020-07-21 00:18:02 +01:00
Philip Sargent
5bc2c132fa
fix makes prospecting_guide work
2020-07-21 00:15:53 +01:00
Expo on server
f7db908cb2
generated files should be in gitignore
2020-07-20 23:51:15 +01:00
Philip Sargent
1bc82dea15
make survexblock titles 200 chars
2020-07-20 23:25:49 +01:00
Philip Sargent
f131509c56
3dtopos to survexpos + comments
2020-07-20 22:53:26 +01:00
Expo on server
8e77a70ad6
remove unused SVX_URL variable
2020-07-20 20:11:07 +01:00
Expo on server
867486e72e
remove leftover diff file
2020-07-20 20:10:31 +01:00
Philip Sargent
28130de9cb
avoiding problem with WSGI populate() error
2020-07-20 18:31:50 +01:00
Philip Sargent
1523586b37
test2 option and gitignore updates
2020-07-20 13:04:30 +01:00
Expo on server
d7838e2a42
migraitons files should be in gitign9ore
2020-07-20 12:54:32 +01:00
Philip Sargent
eb923af44f
webpage tests created (no database)
2020-07-19 01:23:07 +01:00
Philip Sargent
edd5a3efd9
Module documentation docstrings
2020-07-18 16:23:54 +01:00
Philip Sargent
90dfa516da
*team format updates
2020-07-09 18:06:03 +01:00
Philip Sargent
37620b4dbc
*units factor x and feet
2020-07-08 00:00:56 +01:00
Philip Sargent
71b5383090
parse 2006 logbook from html
2020-07-07 19:07:45 +01:00
Philip Sargent
52afb9f466
units conversion not quite working
2020-07-07 02:46:18 +01:00
Philip Sargent
efc43b0863
*units in feet and metres, subcaves
2020-07-07 01:35:58 +01:00
Philip Sargent
ff3cdb10dc
extra error printout and remove old code
2020-07-06 21:46:58 +01:00
Philip Sargent
d27a74c97b
per svxfile debug printing enabled
2020-07-06 21:46:19 +01:00
Philip Sargent
d2833d26cc
fix schema and try cache caves import
2020-07-06 20:27:31 +01:00
Philip Sargent
8530b0643d
person attribution of surveyed length working
2020-07-06 01:24:43 +01:00
Philip Sargent
3f9971d2ee
title and wallet folders working in /survexfile/258
2020-07-05 17:22:26 +01:00
Philip Sargent
5be41c8163
splays and alias splays implemented
2020-07-04 13:31:46 +01:00
Philip Sargent
51d0daafdd
QM placeholder logbook entries sorted out
2020-07-04 01:10:53 +01:00
Philip Sargent
5ed6271c08
rename variables and leglength calc
2020-07-04 01:10:17 +01:00
Philip Sargent
abbe8d467b
refactored LinearLoad(), output unchanged
2020-07-03 18:08:59 +01:00
Philip Sargent
fd6f0b0a35
stack-based state of *data fixed
2020-07-03 17:22:15 +01:00
Philip Sargent
67f66b72e8
State push/pop working
2020-07-03 14:53:36 +01:00
Philip Sargent
e54436e818
chaos monkey
2020-07-02 16:26:05 +01:00
Philip Sargent
9a514e7d3f
rebuild all .3d files and progress on compass/clino/tape
2020-07-02 16:25:51 +01:00
Philip Sargent
6cd660982c
More informative html in templates
2020-07-02 16:24:39 +01:00
Philip Sargent
df434cd399
SurvexBlocks now importing in deatil
2020-07-01 22:49:38 +01:00
Philip Sargent
8cc768e5b6
fix survexdirectories to ref files properly
2020-07-01 17:41:09 +01:00
Philip Sargent
5feb07e3f6
Creates folders as needed on editing new svx file
2020-07-01 00:20:27 +01:00
Philip Sargent
514887d19f
Fix needed for pending caves with no xml file
2020-06-30 17:59:53 +01:00
Philip Sargent
ae892a07d4
ignore autogenerated db schema & migrations files
2020-06-30 17:34:35 +01:00
Philip Sargent
f76e0d3a16
rename Tunnel files to Drawings files - phase 1
2020-06-30 15:52:29 +01:00
Philip Sargent
0a57ac3132
all SurvexDirectory set OK, pending caves made
2020-06-30 15:39:24 +01:00
Philip Sargent
6b0275d035
CASCADE on delete removed from key foregin keys
2020-06-30 15:26:03 +01:00
Philip Sargent
be2b17ea85
More debugging and warnings
2020-06-30 15:24:42 +01:00
Philip Sargent
c4e2ae2395
add memory footprint display
2020-06-30 15:22:41 +01:00
Philip Sargent
39f042240d
Fix SurvexDirectory import
2020-06-29 21:16:13 +01:00
Philip Sargent
a60a495c83
Creating forgotten caves & better GetCaveLookup()
2020-06-29 21:15:42 +01:00
Philip Sargent
459ed11b58
avoiding problem in KH QMs import
2020-06-28 15:57:40 +01:00
Philip Sargent
bf1c683fd0
fixing parent blocks & titles
2020-06-28 14:42:26 +01:00
Philip Sargent
122cdd7fc8
replace GetCaveByReference
2020-06-28 01:50:34 +01:00
Philip Sargent
899ba13df4
working and refactored
2020-06-27 19:00:26 +01:00
Philip Sargent
467baec7da
Renaming functions
2020-06-27 18:00:24 +01:00
Philip Sargent
4716eaa4b6
Working. More fault checking.
2020-06-27 17:55:59 +01:00
Philip Sargent
c55716df08
move function (correctly this time)
2020-06-27 12:08:02 +01:00
Philip Sargent
ca6f7ed587
move function
2020-06-27 12:04:34 +01:00
Philip Sargent
e2713cfe2d
recursive scan *import to make linear filelist
2020-06-27 00:50:40 +01:00
Philip Sargent
030c49ff7c
rewritten QM loading from SVX files
2020-06-25 03:17:56 +01:00
Philip Sargent
d3654266ee
Better error msgs, one bug fix
2020-06-25 02:10:20 +01:00
Philip Sargent
04f14c91f0
rearrange ref and comment detection
2020-06-24 22:46:18 +01:00
Philip Sargent
664c18ebbe
refactor team and ignore sections
2020-06-24 19:07:11 +01:00
Philip Sargent
3645c98685
extract *date function
2020-06-24 17:55:42 +01:00
Philip Sargent
45bbfce4d3
extract *ref, ;ref and ;QMs to functions
2020-06-24 14:49:39 +01:00
Philip Sargent
bb69cc073a
start refactor survex import
2020-06-24 14:10:13 +01:00
Philip Sargent
dc5a53376d
exploring recusrive behaviour
2020-06-24 02:33:43 +01:00
Philip Sargent
6bf762b72f
bin Makesurvexstation, survextitle, survexEquate
2020-06-24 01:57:20 +01:00
Philip Sargent
d6c4ffca5a
tunnelfile.scans name change for compatibility
2020-06-24 00:36:32 +01:00
Philip Sargent
c91aa4be47
Simple renaming too-similar variables
2020-06-24 00:18:01 +01:00
Philip Sargent
9cd70b31ac
simple rename survexscansfolder to scansfolder
2020-06-23 23:46:33 +01:00
Philip Sargent
b64c779a58
rename SurvexScansFolders and tidy survex parser
2020-06-23 23:34:08 +01:00
Philip Sargent
2e7cf188af
cosmetic and moving a funciton
2020-06-23 22:44:06 +01:00
Philip Sargent
674cea629d
clean up import statements: more specific
2020-06-22 00:03:23 +01:00
Philip Sargent
8199e67b79
re-ordered middlkeware
2020-06-21 00:06:03 +01:00
Philip Sargent
7b260006bf
dj.-reg. 2.5.2 all tested.
2020-06-20 23:26:50 +01:00
Philip Sargent
f3232cc5df
More security, middleware upgrade, dj-reg.2.5
2020-06-20 23:08:34 +01:00
Philip Sargent
477a289c2e
Working with django-registration==2.4
2020-06-20 20:42:10 +01:00
Philip Sargent
77c80d1a69
remove in-memory phase of data import
2020-06-20 19:55:23 +01:00
Philip Sargent
f608fc186e
Fixup after rebase and pre- scripts fixed
2020-06-20 17:19:50 +01:00
Philip Sargent
e697466557
Cleanup secrets management, pre-run checks.
2020-06-20 16:51:07 +01:00
Philip Sargent
b35a0b0d26
Fully working dj 1.11.29
2020-06-19 16:39:05 +01:00
Philip Sargent
2c469718f6
caves, scans, survex work in databaseRest
2020-06-19 00:26:15 +01:00
Philip Sargent
4a51de95c4
Django 1.11.19 runs clean on pre-built db.
2020-06-18 22:44:41 +01:00
Philip Sargent
ee1d4bb600
static files icons into troggle repo
2020-06-18 21:51:19 +01:00
Philip Sargent
d9c6986a89
static files redone
2020-06-18 21:50:16 +01:00
Philip Sargent
bd6490631f
edit this page working
2020-06-18 15:54:40 +01:00
Philip Sargent
640e1e3b5e
cleaner warnings but site_media still not ok
2020-06-18 12:10:42 +01:00
Philip Sargent
f4231456e7
admin urls
2020-06-18 11:48:50 +01:00
Philip Sargent
222d85f052
regex deprecation warning
2020-06-18 10:59:11 +01:00
Philip Sargent
ee92182163
n_delete=... soon to be required
2020-06-18 00:20:47 +01:00
Philip Sargent
55dd577275
New url dispatcher OK 1.9.13
2020-06-17 22:55:51 +01:00
Philip Sargent
4941d230e2
TEMPLATES done for dj 1.9.13
2020-06-17 21:27:01 +01:00
Philip Sargent
660479d692
django 1.9.13 initial
2020-06-17 01:00:50 +01:00
Philip Sargent
b153fafa9f
django 1.8.19
2020-06-16 22:16:48 +01:00
Philip Sargent
adc43324f3
move TEMPLATE to localsettings
2020-06-16 19:30:06 +01:00
Philip Sargent
f6bd08029f
remove useless nulls on ManyToMany
2020-06-16 19:28:24 +01:00
Philip Sargent
94e5a06a15
clean up survexlegs
2020-06-16 19:27:32 +01:00
Philip Sargent
8fc0ba136f
removed jgtfileupload
2020-06-16 16:48:19 +01:00
Philip Sargent
9f5e779b5e
remove Survey & virtual survey wallet - never used
2020-06-16 16:17:35 +01:00
Philip Sargent
1b693da5ed
break recursive import cycle
2020-06-16 16:07:36 +01:00
Philip Sargent
4c44a504ed
preparing for django 1.8
2020-06-16 11:14:10 +01:00
Philip Sargent
453af2851b
Stop storing all SurvexStations
2020-06-15 03:28:51 +01:00
Philip Sargent
30e560d808
Dump django.sites, .redirects, registration, extensions
2020-06-14 20:02:52 +01:00
Philip Sargent
277f60e3e2
autogenerated schema
2020-06-14 19:35:18 +01:00
Philip Sargent
77ca2d8830
server config
2020-06-14 10:12:07 +01:00
Philip Sargent
d4deea2019
remove tinyMCE more
2020-06-14 10:05:25 +01:00
Philip Sargent
38fa552c00
Disable TinyMCE
2020-06-13 23:16:19 +01:00
Philip Sargent
f8fa426adb
rearrange for clarity
2020-06-13 01:27:42 +01:00
Philip Sargent
38beb34a38
cleaner import statements
2020-06-13 01:26:59 +01:00
Philip Sargent
fb0438d352
bugfix returning multiple object catch
2020-06-13 01:26:28 +01:00
Philip Sargent
44fe6a8b89
cleanup and better DatIssue msgs
2020-06-13 01:24:46 +01:00
Philip Sargent
269b8840ad
import fixes & statistics table
2020-06-12 18:10:07 +01:00
Philip Sargent
b9a223c049
Fix to /caves/ != /caves
2020-06-12 14:54:00 +01:00
Philip Sargent
db37710b90
fixes: stopped storing survex legs
2020-06-12 14:52:00 +01:00
Philip Sargent
092c8bb913
stopped storing survex legs
2020-06-12 14:06:03 +01:00
Philip Sargent
d807e3de7d
Object storage as alternative to SQL
2020-06-08 21:33:32 +01:00
Philip Sargent
8c965015f3
added static setup
2020-06-08 00:12:50 +01:00
Philip Sargent
538a3b6ca8
fixed circular ref on setup & in-memory db
2020-06-08 00:11:09 +01:00
Philip Sargent
9237a6262e
Make import robust against duplicate kataster numbers
2020-06-07 17:49:58 +01:00
Philip Sargent
fcfda644d3
Fix un-cleared db error (partial)
2020-06-07 16:16:35 +01:00
Philip Sargent
75bac01f3a
Fix bad pages for clashing kataster numbers
2020-06-07 16:13:59 +01:00
Philip Sargent
72fd57ef76
Rearranged caveindex page
2020-06-07 16:12:52 +01:00
Philip Sargent
fda50ed570
attempt to simplify wnt horribly wrong
2020-06-06 22:51:55 +01:00
Philip Sargent
f8a3c8f5bc
Bugfix for capitalised filename extensions
2020-06-05 00:38:05 +01:00
Philip Sargent
681bfcb4c4
removing redundant functions
2020-06-04 23:53:36 +01:00
Philip Sargent
27816724f8
moved 2 funct, deletion of FileAbstraction pending
2020-06-04 23:38:57 +01:00
Philip Sargent
ac9ac5e397
Remove unused Survey object
2020-06-04 23:16:26 +01:00
Philip Sargent
43c6e2f2e1
dlete todo page, partly fix other url pages
2020-06-04 23:00:58 +01:00
Philip Sargent
b7fea2042f
merge exptl & stats, delete millenial & eyecandy
2020-06-04 21:57:04 +01:00
Philip Sargent
c6d68749e0
Comment-out all ScannedImage objects
2020-06-04 19:32:26 +01:00
Philip Sargent
ae89a707ec
Unit tests outline implemented
2020-06-03 21:57:05 +01:00
Philip Sargent
973c6f4ef8
update svx template & fix CRLF
2020-06-02 21:38:29 +01:00
Philip Sargent
4dd0a5ddf2
import syntax fix
2020-06-02 21:38:01 +01:00
Philip Sargent
90dc3dac3b
Change troggle horizontal menu items
2020-06-01 17:41:41 +01:00
Philip Sargent
8c4c2ad1cf
Progress dots on importing data
2020-06-01 00:42:48 +01:00
Philip Sargent
f949bb8dc0
python3 fixes for djsngo admin pages
2020-05-31 22:35:36 +01:00
Philip Sargent
c863bf6e1d
Oops. Remove CSV download pages
2020-05-31 21:38:19 +01:00
Philip Sargent
5d89cf9474
Delete SURVEYS.CSV code
2020-05-31 21:03:40 +01:00
Philip Sargent
09aedecc3b
Unicode fix for SVX display and edit page
2020-05-31 20:46:12 +01:00
Philip Sargent
fe515e9f01
Troggle code documentation pointers
2020-05-31 20:44:09 +01:00
Philip Sargent
69d2c0887c
Adding progress dots to import print output and fix SURVEY_SCANS
2020-05-31 19:23:07 +01:00
Philip Sargent
8e577022b2
Reducing input print output
2020-05-31 19:21:54 +01:00
Philip Sargent
3088727fd4
unicode fix for python3
2020-05-31 19:00:44 +01:00
Philip Sargent
b33ad5833e
delete duplication
2020-05-30 20:48:17 +01:00
Philip Sargent
3264b6edef
bug fix in logbook parser
2020-05-30 20:31:20 +01:00
Philip Sargent
58c2650162
Style chnage to troggle pages for python3
2020-05-30 12:35:47 +01:00
Philip Sargent
01e098339e
Imposrt mad more specific
2020-05-30 12:35:15 +01:00
Philip Sargent
d857cc9084
format tidy & normalise paths in survex *inlcude
2020-05-30 02:35:05 +01:00
Philip Sargent
4205821bac
allow STATIC and tinyMCE to work with runserver
2020-05-30 02:34:33 +01:00
Philip Sargent
0776978c9c
Import rejigging to fix circular refs
2020-05-30 01:11:02 +01:00
Philip Sargent
6568cb8900
import fix to allow manage.py to run
2020-05-28 22:42:50 +01:00
Philip Sargent
6a755598b2
Moved classes to models_caves and fixed imports
2020-05-28 04:54:53 +01:00
Philip Sargent
df3917a677
Expunge cavetab
2020-05-28 02:20:50 +01:00
Philip Sargent
d2192ffd21
delete duplication
2020-05-28 02:09:36 +01:00
Philip Sargent
cb4128436c
expung imagekit and clean import lists
2020-05-28 01:38:35 +01:00
Philip Sargent
6cc578435c
Refactor to avoid loading unused surveystations
2020-05-28 01:16:45 +01:00
Philip Sargent
73637ba53d
Clean install with python3
2020-05-27 01:04:37 +01:00
Philip Sargent
c9657aeb8c
preparing to clean up LoadPos
2020-05-26 16:41:11 +01:00
Expo on server
dfb7cc88cd
Allow being unable to open local LOGFILE.
2020-05-26 02:26:51 +01:00
Expo on server
227120fd57
Add check to avoid running databaseReset as root accidentally
2020-05-26 02:25:30 +01:00
Philip Sargent
8b74ff4bb6
__unicode__ to __str__ 2to3 conversion
2020-05-26 02:21:36 +01:00
Philip Sargent
f4099c6929
fix py3 bug and make settings import clearer
2020-05-26 02:21:03 +01:00
Philip Sargent
6ae5c0d912
remove old imagekit files
2020-05-26 02:19:46 +01:00
Philip Sargent
44d190e91c
partial fix to make OK on python3.8
2020-05-25 01:49:02 +01:00
Philip Sargent
0a864c7f87
2to3 sort comparison key change
2020-05-25 01:46:52 +01:00
Philip Sargent
50d753a87b
Convert codebase for python3 usage
2020-05-24 20:56:27 +01:00
Philip Sargent
35f85c55f1
Update requirements list
2020-05-24 20:55:18 +01:00
Philip Sargent
b69bdcd126
tidying and prep for python3
2020-05-24 13:35:47 +01:00
Philip Sargent
49d5857b36
tabs and spaces format fix
2020-05-24 13:31:38 +01:00
Philip Sargent
40ad04b79f
unused code commented out
2020-05-24 13:30:39 +01:00
Philip Sargent
a3e564855a
removing imagekit
2020-05-22 01:28:45 +01:00
Philip Sargent
15d0d05185
bugfix
2020-05-20 13:40:09 +01:00
Philip Sargent
819eca5dea
cleaning options list
2020-05-20 12:45:10 +01:00
Philip Sargent
edbe793c68
added profile option
2020-05-20 12:18:12 +01:00
Philip Sargent
e017c6effc
Indented msgs for recursive file traversal
2020-05-15 21:45:23 +01:00
Philip Sargent
d4ac28af18
Remove PHOTOS_ROOT and DPhoto class
2020-05-15 21:32:55 +01:00
Philip Sargent
931aa4e3cb
add mysql startup documentation
2020-05-14 19:37:46 +01:00
Philip Sargent
cc4017e481
fix renaming reload to reinit
2020-05-14 17:33:33 +01:00
Philip Sargent
38adb9a52f
typo
2020-05-14 17:27:51 +01:00
Philip Sargent
ccc5813b3f
indent recursion and update comments
2020-05-14 17:21:34 +01:00
Philip Sargent
314d0e8b71
skip fast pass option added as default
2020-05-13 23:11:47 +01:00
Philip Sargent
0338889905
tryng django 1.7 recommended change syncdb to migrate
2020-05-13 22:13:18 +01:00
Philip Sargent
876cd8909f
still not expunged MySQL connection
2020-05-13 21:55:44 +01:00
Philip Sargent
ac7cb45f61
more thorough reset before running :memory:
2020-05-13 21:52:28 +01:00
Philip Sargent
f326bf9148
more thorough reset between dbs
2020-05-13 21:25:17 +01:00
Philip Sargent
b1596c0ac4
Merge branch 'master' of ssh://expo.survex.com/home/expo/troggle
2020-05-13 19:59:46 +01:00
Expo on server
13d3f37f05
menu update
2020-05-13 19:59:41 +01:00
Philip Sargent
e4290c4ab0
adding *ref to troggle svx parser
2020-05-13 19:57:07 +01:00
Expo on server
2918b4b92c
Add simple search function to default menu
2020-05-02 04:14:32 +01:00
Philip Sargent
39c622d5bf
dbReset now loads into memory first (fast err checking), then into db
2020-04-30 23:15:57 +01:00
Philip Sargent
76a6b501f3
LoadPos not-found cache working
2020-04-28 22:51:18 +01:00
Philip Sargent
ecf92e2079
getting the LoadPos to work better
2020-04-28 21:50:53 +01:00
Philip Sargent
b4c0c4d219
Understanding and speeding up LoadPos
2020-04-28 18:26:08 +01:00
Philip Sargent
4be8c81291
reducing clutter in output
2020-04-28 01:18:57 +01:00
Philip Sargent
a8460065a4
Thorough spring clean and profiling
2020-04-27 23:51:41 +01:00
Philip Sargent
2b39dec560
installation notes
2020-04-26 00:49:29 +01:00
PhilipSargent
0b85a9d330
adding sync to databaseRest and cleaning a template
2020-04-19 23:35:41 +01:00
PhilipSargent
b123f6ada7
Dumps loaded data into a .sql file
2020-04-16 20:36:42 +01:00
PhilipSargent
e5c288c764
get the profile display working & bug fix
2020-04-15 23:29:59 +01:00
PhilipSargent
9db7d8e589
Made a jobqueue to time how long importing takes
2020-04-15 04:09:28 +01:00
PhilipSargent
5e48687347
More tidying
2020-04-14 20:46:45 +01:00
PhilipSargent
09bbf81915
Tidy formatting prior to adding some new stuff
2020-04-14 20:19:41 +01:00
PhilipSargent
78f8ea2b5b
bug fixed for new logbook
2020-04-13 17:35:58 +01:00
PhilipSargent
e08b4275a9
2010 is html format not wiki format.
...
Or at least, now it is.
2020-04-12 23:03:00 +01:00
PhilipSargent
ac9f3cf061
New cacheing for parsed logbooks. All logbooks load in 75 seconds now.
2020-04-12 22:29:30 +01:00
PhilipSargent
98fd314a62
Prevent that annoying popup from Google offering to translate the page from German
2020-04-11 18:10:09 +01:00
PhilipSargent
79a31a41f9
Fixed bad import of surveyscans references from tunnel files
2020-04-11 00:36:27 +01:00
PhilipSargent
6aae9083c3
implemened NOEDIT as a meta tag and fixed double-menus problem
2020-04-10 13:13:23 +01:00
PhilipSargent
d71e31417b
scanned image files importing
2020-04-09 02:40:32 +01:00
PhilipSargent
fbe6c0c859
rearrange main menu
2020-04-03 01:11:30 +01:00
PhilipSargent
53b797fb53
Validation of mugshot or blrub file added
2020-04-01 19:58:31 +01:00
PhilipSargent
98eb9173ee
rename troggle log back to what it was
2020-03-31 23:39:52 +01:00
PhilipSargent
ecfa95310d
Documenting installation
2020-03-14 20:08:44 +00:00
PhilipSargent
0e75a9163b
Documenting use of apache
2020-03-12 17:40:03 +00:00
Expo on server
59633d94f5
Remove mention of obsolete EMAIL_HOST_USER to correspond with change made in pathreport.py
2020-03-09 17:44:29 +00:00
PhilipSargent
53206ad1d7
Removed EMAIL_HOST entirely
2020-03-09 16:52:51 +00:00
PhilipSargent
9aa91bf3e2
remove EMAIL_HOST global name
2020-03-09 16:48:51 +00:00
PhilipSargent
867479e05d
Fixing my earlier mistake these are xml not html
2020-03-02 17:08:49 +00:00
PhilipSargent
bb1f69dd90
stuff generated on server
2020-02-29 12:08:22 +00:00
PhilipSargent
d219f7b966
another missing code
2020-02-27 01:35:12 +00:00
PhilipSargent
3f812e5275
comment out missing code
2020-02-27 01:33:19 +00:00
PhilipSargent
cdef395f89
New troggle report on defined directory paths
2020-02-27 00:58:09 +00:00
Philip Sargent
66f6a9ce90
Troggle on Windows 10 using WSL
2020-02-25 14:31:52 +00:00
Philip Sargent
b07c888c7a
debug for crashing tunnel import
2020-02-25 14:22:50 +00:00
Philip Sargent
d170a3c36e
add shortcut for logbooks & note explaining notability metric
2020-02-24 21:49:01 +00:00
PhilipSargent
429c21a8e9
installing on WSL ubuntu on Windows 10
2020-02-22 00:04:41 +00:00
Philip Sargent
8c10908353
Revert "Merge branch 'RW_rebuild' of ssh://expo@expo.survex.com/home/expo/troggle"
...
This reverts commit e0963a1c39 .
2020-02-21 16:31:54 +00:00
Philip Sargent
e0963a1c39
Merge branch 'RW_rebuild' of ssh://expo@expo.survex.com/home/expo/troggle
...
# Conflicts:
# core/models_millenial.py
# core/views_caves.py
# databaseResetM.py
# parsers/cavesM.py
# urls.py
2020-02-21 16:27:34 +00:00
Sam Wenham
e77aa9fb84
Changes needed to stop the survex parser having to go through the data twice
...
Taken from the Django 1.10 upgrade branch
2020-02-21 15:57:07 +00:00
Philip Sargent
f5fe2d9e33
typo
2020-02-21 14:00:33 +00:00
Philip Sargent
5006342b7b
forgot a bit
2020-02-21 13:59:14 +00:00
Philip Sargent
3ce8b67b4f
added rebuild command option
2020-02-21 13:57:04 +00:00
Sam Wenham
52cec290d9
We don't want troggle trying to write out the files
2020-02-20 18:42:31 +00:00
Philip Sargent
a559151c57
Merge remote-tracking branch 'origin/master'
2020-02-20 15:29:30 +00:00
Philip Sargent
2fc60f9f74
Fixing logbooks with parse errors
2020-02-20 15:26:33 +00:00
Wookey
3b1fcb7feb
Merge branch 'master' of ssh://expo.survex.com/~/troggle
2020-02-20 15:02:14 +00:00
Wookey
2838f540d1
Minor text and whitespace fixes
2020-02-20 15:01:50 +00:00
Wookey
f5ec5a61a9
Move survex parsing later in the process as it tends to run out of memory
2020-02-20 14:57:37 +00:00
Philip Sargent
44caf35fd8
typo
2020-02-20 14:15:28 +00:00
Philip Sargent
c5055e7f34
backport order of operations in reset() and change logbook parser to do paragraphs differently
2020-02-20 14:13:38 +00:00
Philip Sargent
de14ecea22
Fixing back mistaken chnage
2020-02-20 01:42:52 +00:00
Philip Sargent
f5174a3248
typo
2020-02-19 22:52:00 +00:00
Philip Sargent
f0889ce0f8
typos fix and more description
2020-02-19 22:51:07 +00:00
Philip Sargent
b6dc711c14
making in-code documentation strings match what actually happens
2020-02-19 22:14:00 +00:00
Philip Sargent
04fb2e8701
DOCTYPE update for template for generated files
2020-02-19 21:48:37 +00:00
Philip Sargent
c1439bed8d
Adding <pre> and </pre> to the logbook entry display so that all the paragraphs are not munged into one when displayed. Untested.
2020-02-19 21:47:13 +00:00
Philip Sargent
a88f326ee6
added year 2019 to logbook parsing
2020-02-17 01:39:00 +00:00
PhilipSargent
56618dbe65
fix CUCC url in template and add years to 2020
2019-12-23 19:40:44 +00:00
Expo on server
71ef710d09
Fix the location of the cave view javascript
2019-12-08 10:53:43 +00:00
Sam Wenham
c74852b60b
Merge branch 'master' of ssh://expo.survex.com/~/troggle
...
# Conflicts:
# README.txt
2019-07-29 11:36:24 +01:00
Sam Wenham
a26109cb30
Allow comments against names in logbooks in brackets
...
Convert accent chars in names into simple chars as this is what people enter in the logbook
2019-07-11 12:29:38 +01:00
Sam Wenham
6b5b9a5315
Merge branch 'master' of ssh://expo.survex.com/~/troggle
2019-07-10 12:37:38 +01:00
Sam Wenham
4ebf3d8a0e
Bring back TinyMCE for editing flatpages
2019-07-10 12:32:04 +01:00
PhilipSargent
37d02b298d
added ssh git clone command variant
2019-07-09 15:55:27 +01:00
Sam Wenham
d6053322e8
Merge branch 'master' of ssh://expo.survex.com/~/troggle
2019-07-09 10:41:21 +01:00
Expo on server
5b5f385b67
Remove .hgignore Change mode on modelvis.py
2019-07-09 05:23:37 +01:00
Sam Wenham
04428c45c9
Fix description of localsettingsdocker
2019-07-09 05:23:30 +01:00
PhilipSargent
a7f605ced9
changes because we do not use svn anymore
...
Signed-off-by: psargent <philip.sargent@gmail.com >
2019-07-09 05:23:22 +01:00
Expo on server
0adb8e528d
Add .gitignore file
2019-07-09 05:23:14 +01:00
Expo on server
f4280f9907
Add info to debian instructions on creating troggle logfile (in /var/log)
2019-07-09 05:22:49 +01:00
PhilipSargent
2d7892e3b1
Merge remote-tracking branch 'troggle/master'
2019-07-02 19:04:13 +01:00
Sam Wenham
8edeb2f622
Merge branch 'master' of ssh://expo.survex.com/~/troggle
2019-07-02 18:15:13 +01:00
Expo on server
d157a081b1
Remove .hgignore
...
Change mode on modelvis.py
2019-07-02 18:14:19 +01:00
Sam Wenham
fcc57cf365
Fix description of localsettingsdocker
2019-07-02 17:52:40 +01:00
PhilipSargent
12c8ab41bf
changes because we do not use svn anymore
...
Signed-off-by: psargent <philip.sargent@gmail.com >
2019-06-27 01:24:38 +01:00
Expo on server
9266e5460e
Add .gitignore file
2019-06-27 00:23:22 +01:00
Expo on server
ad45859071
Add info to debian instructions on creating troggle logfile (in /var/log)
2019-06-27 00:14:39 +01:00
expo on server
ee759980c4
remove hack in logbook parsing to convert ol to olly and wook to wookey.
...
It broke 'Olaf' as a name, for example.
2019-06-26 21:46:57 +01:00
expo on server
18b371bc15
remove hack in logbook parsing to convert ol to olly and wook to wookey.
...
It broke 'Olaf' as a name, for example.
2019-06-26 21:46:57 +01:00
expo on server
9e77b8bb75
Add server setup instructions/recipie for Debian Stretch
2019-06-26 21:45:17 +01:00
expo on server
e6acd4bdbd
Add server setup instructions/recipie for Debian Stretch
2019-06-26 21:45:17 +01:00
Sam Wenham
424219fb6f
Just commit the logbook parser this time (can we move to git now!!!)
2019-06-26 21:21:37 +01:00
Sam Wenham
2ebb37552f
Just commit the logbook parser this time (can we move to git now!!!)
2019-06-26 21:21:37 +01:00
Sam Wenham
822359fe51
Backed out changeset: 4552f42bdf54
2019-06-26 20:57:24 +01:00
Sam Wenham
97426a0ddb
Backed out changeset: 4552f42bdf54
2019-06-26 20:57:24 +01:00
Sam Wenham
3f78382d45
Remove this stupid hard coded name match
2019-06-26 20:56:08 +01:00
Sam Wenham
8a1be45aac
Remove this stupid hard coded name match
2019-06-26 20:56:08 +01:00
Sam Wenham
b5cca8be3b
Merge
2019-06-26 18:43:42 +01:00
Sam Wenham
4d2f9a2b39
Merge
2019-06-26 18:43:42 +01:00
Sam Wenham
8fe02e5c89
Allow html chars in names
2019-06-26 18:36:08 +01:00
Sam Wenham
b2dd905f0e
Allow html chars in names
2019-06-26 18:36:08 +01:00
expo on server
c06d372984
Add expo.survex.com to ALLOWED_HOSTS in troggle settings
2019-06-26 15:23:20 +01:00
expo on server
7a9aef6faf
Add expo.survex.com to ALLOWED_HOSTS in troggle settings
2019-06-26 15:23:20 +01:00
expo on server
6889ae9fa3
Add SURVEX_TOPNAME (top-level survex file) as a setting item in settings.py so it's not hardcoded.
2019-06-26 03:32:18 +01:00
expo on server
02d3cc84d5
Add SURVEX_TOPNAME (top-level survex file) as a setting item in settings.py so it's not hardcoded.
2019-06-26 03:32:18 +01:00
Sam Wenham
768ec83037
Updating caves and entrances is no longer nuclear!
...
Big overhaul of people processing, fullname added to the model
lastname is now names -1 unless you only have one (yes you Wookey)
this allows for Jon Arne Toft and Wookey to live it the same DB
names can now have html chars in them, this should be real unicode but that can
only happen when we go to Python 3!
2019-04-19 22:52:54 +01:00
Sam Wenham
b42249890e
Updating caves and entrances is no longer nuclear!
...
Big overhaul of people processing, fullname added to the model
lastname is now names -1 unless you only have one (yes you Wookey)
this allows for Jon Arne Toft and Wookey to live it the same DB
names can now have html chars in them, this should be real unicode but that can
only happen when we go to Python 3!
2019-04-19 22:52:54 +01:00
Sam Wenham
2f9870644b
missed objects
2019-04-18 19:27:23 +01:00
Sam Wenham
cc313246bb
missed objects
2019-04-18 19:27:23 +01:00
Sam Wenham
4e187581b3
Clear data issues for logbooks before reloading
2019-04-18 19:26:09 +01:00
Sam Wenham
bfe018cde6
Clear data issues for logbooks before reloading
2019-04-18 19:26:09 +01:00
Sam Wenham
dc479b33c5
Add ordering to the data issues model
2019-04-18 19:01:29 +01:00
Sam Wenham
ae284a1f30
Add ordering to the data issues model
2019-04-18 19:01:29 +01:00
Sam Wenham
f1736c53c4
Fix CSRF issues in svx form
...
Set date formats
Add DataIssue model and add errors to it to allow us to give people a list of
stuff to fix
2019-04-14 22:45:31 +01:00
Sam Wenham
23df89cf31
Fix CSRF issues in svx form
...
Set date formats
Add DataIssue model and add errors to it to allow us to give people a list of
stuff to fix
2019-04-14 22:45:31 +01:00
Sam Wenham
05c5e26e99
Sort people by notability
...
Better errors and tidy
Nicer date formats
2019-04-02 02:04:38 +01:00
Sam Wenham
d1d0c24ed8
Sort people by notability
...
Better errors and tidy
Nicer date formats
2019-04-02 02:04:38 +01:00
Wookey
c4301cf6df
Merge lots of troggle fixes
2019-04-02 00:57:54 +01:00
Wookey
b3089fafe9
Merge lots of troggle fixes
2019-04-02 00:57:54 +01:00
Wookey
de7d68b1eb
folk.csv has moved into 'folk' dir out of 'noinfo'
2019-04-02 00:57:13 +01:00
Wookey
e913a56a6b
folk.csv has moved into 'folk' dir out of 'noinfo'
2019-04-02 00:57:13 +01:00
expoonserver
bb8dbb381f
Move cave and entrance data out of 'noinfo'
2019-04-01 23:03:45 +01:00
expoonserver
39c61bd526
Move cave and entrance data out of 'noinfo'
2019-04-01 23:03:45 +01:00
Sam Wenham
144610d6c2
Better error messages
2019-03-31 16:44:58 +01:00
Sam Wenham
10f1cdb458
Better error messages
2019-03-31 16:44:58 +01:00
Sam Wenham
40f413ba47
Ooops shouldn't of commited the DateTime change, yet...
2019-03-31 16:43:21 +01:00
Sam Wenham
a588221524
Ooops shouldn't of commited the DateTime change, yet...
2019-03-31 16:43:21 +01:00
Sam Wenham
9cd8734947
Support html and wiki logbook entrys
...
Move nearest_station to nearest_station_name and make nearest_station a foreign
key to SurvexStation
Lots of tidying
2019-03-31 15:39:53 +01:00
Sam Wenham
9df91b221b
Support html and wiki logbook entrys
...
Move nearest_station to nearest_station_name and make nearest_station a foreign
key to SurvexStation
Lots of tidying
2019-03-31 15:39:53 +01:00
Sam Wenham
c8551991b2
Remove the redundant render_with_context() as django now does this just with the
...
render() shortcut
Move from mimetype to content_type, missed in last commit
2019-03-30 17:02:07 +00:00
Sam Wenham
64a4842dcb
Remove the redundant render_with_context() as django now does this just with the
...
render() shortcut
Move from mimetype to content_type, missed in last commit
2019-03-30 17:02:07 +00:00
Sam Wenham
f666b9c396
Update new management command for DB reset
...
Switch to content_type from mimetype
Make DB reset not nuke so much
Tidy logbook parser
2019-03-30 13:58:38 +00:00
Sam Wenham
a4532a29da
Update new management command for DB reset
...
Switch to content_type from mimetype
Make DB reset not nuke so much
Tidy logbook parser
2019-03-30 13:58:38 +00:00
Wookey
5469794159
Only show unofficial number if it's not already displayed
2019-03-27 01:59:09 +00:00
Wookey
705dd51f30
Only show unofficial number if it's not already displayed
2019-03-27 01:59:09 +00:00
expoonserver
1e26578305
Add reload_db option to databaseReset.py
2019-03-26 23:59:13 +00:00
expoonserver
ddb62f2897
Add reload_db option to databaseReset.py
2019-03-26 23:59:13 +00:00
expoonserver
8b5f81c8f8
Display temporary numbers on main cave index, when they exist.
2019-03-26 23:58:27 +00:00
expoonserver
f8be510509
Display temporary numbers on main cave index, when they exist.
2019-03-26 23:58:27 +00:00
Sam Wenham
27af84da65
Remove the news section as it never gets updated
...
Fix logbook entry so the edit link works
Tidy the control panel page
2019-03-10 11:05:57 +00:00
Sam Wenham
121f0a6aac
Remove the news section as it never gets updated
...
Fix logbook entry so the edit link works
Tidy the control panel page
2019-03-10 11:05:57 +00:00
Sam Wenham
9646c32819
Remove jquery.min.js from troggle as it busts the footer menu. Yep troggle has a footer menu!!
2019-03-09 19:32:00 +00:00
Sam Wenham
8932bdc466
Remove jquery.min.js from troggle as it busts the footer menu. Yep troggle has a footer menu!!
2019-03-09 19:32:00 +00:00
Sam Wenham
c3ab5c6096
Fix person chronology to get the date from te logbook entry
2019-03-09 18:43:58 +00:00
Sam Wenham
9fa93fdd15
Fix person chronology to get the date from te logbook entry
2019-03-09 18:43:58 +00:00
Sam Wenham
7a7433bc84
Fix people list
...
Cope with Jimmy McFoo as a name!
Don't set the top expo value in the code whin it is piss easy to calculate
Fix typo from last commit
2019-03-09 18:21:10 +00:00
Sam Wenham
b4296f1736
Fix people list
...
Cope with Jimmy McFoo as a name!
Don't set the top expo value in the code whin it is piss easy to calculate
Fix typo from last commit
2019-03-09 18:21:10 +00:00
Sam Wenham
ff8c5ef0c1
There is no point having two functions do basicaly the same thing so make the
...
load all logbooks call load logbook(expo)
Remove the return message from load logbook as it isn't used
2019-03-09 11:18:44 +00:00
Sam Wenham
1bac650aee
There is no point having two functions do basicaly the same thing so make the
...
load all logbooks call load logbook(expo)
Remove the return message from load logbook as it isn't used
2019-03-09 11:18:44 +00:00
Sam Wenham
a22b42e832
Make the logbook parser a little more sane
...
Move the parser to expo mapping to settings
Set a default parser
Iterate over the expo years rather than the mapping list!
2019-03-06 23:20:34 +00:00
Sam Wenham
9fc80bed35
Make the logbook parser a little more sane
...
Move the parser to expo mapping to settings
Set a default parser
Iterate over the expo years rather than the mapping list!
2019-03-06 23:20:34 +00:00
Sam Wenham
afa5a8b940
Merge
2019-03-04 20:04:23 +00:00
Sam Wenham
59f8647e0f
Merge
2019-03-04 20:04:23 +00:00
Sam Wenham
f593104c04
Backed out changeset: e80a936faab6
2019-03-04 19:39:57 +00:00
Sam Wenham
384b0438b4
Backed out changeset: e80a936faab6
2019-03-04 19:39:57 +00:00
Sam Wenham
dc6d89b0ca
Backed out changeset: f23440eb11a3
2019-03-04 19:39:43 +00:00
Sam Wenham
e01507d541
Backed out changeset: f23440eb11a3
2019-03-04 19:39:43 +00:00
RadostW
9a7a1728a4
working maps: cave -> desc, survey -> cave, expedition -> person. Added /millnialpeople/ page.
2019-02-28 18:46:40 +00:00
RadostW
240c7eff10
survex parser added
2019-02-28 18:07:50 +00:00
RadostW
6b59e3a689
rebuild descriptions database, some visuals
2019-02-28 12:36:49 +00:00
RadostW
b505a26ce4
rebuild descriptions database, some visuals
2019-02-28 12:36:49 +00:00
RadostW
ce268ec306
working on rebuilding everything
2019-02-27 22:29:45 +00:00
RadostW
a5e1529514
working on rebuilding everything
2019-02-27 22:29:45 +00:00
Sam Wenham
42d10cf43d
Revert (I hate hg!!!)
2019-02-26 20:43:18 +00:00
Sam Wenham
2226aa34d5
merge
2019-02-26 20:41:47 +00:00
Sam
0268ff46b3
Add docker readme, settings and update compose file
...
Fix views_logbooks.py
2019-02-26 19:19:01 +00:00
RadostW
1d7cf3f41a
Messing with millenialcaves.html or similar
2019-02-26 14:07:45 +00:00
RadostW
32c186afd7
Messing with millenialcaves.html or similar
2019-02-26 14:05:41 +00:00
RadostW
54a9f7a37c
Messing with millenialcaves.html or similar
2019-02-26 12:50:19 +00:00
RadostW
e4e8cc5993
Messing with millenialcaves.html or similar
2019-02-26 12:47:50 +00:00
RadostW
8703ed5d94
Messing with millenialcaves.html or similar
2019-02-26 12:30:20 +00:00
RadostW
a4118261e1
Messing with millenialcaves.html or similar
2019-02-26 12:29:46 +00:00
RadostW
6392c1f238
Messing with millenialcaves.html or similar
2019-02-26 12:23:12 +00:00
RadostW
4148ece133
Messing with millenialcaves.html or similar
2019-02-26 12:07:45 +00:00
RadostW
c724f292ca
Messing with millenialcaves.html or similar
2019-02-26 12:03:17 +00:00
RadostW
53513b812b
Messing with millenialcaves.html or similar
2019-02-26 12:01:55 +00:00
RadostW
beffdbd89d
Messing with millenialcaves.html or similar
2019-02-26 12:01:30 +00:00
RadostW
8bd0df1bab
Messing with millenialcaves.html or similar
2019-02-26 10:57:02 +00:00
RadostW
4ae43e94f4
Messing with millenialcaves.html or similar
2019-02-26 10:02:57 +00:00
RadostW
da88771fd4
Messing with millenialcaves.html or similar
2019-02-26 09:45:17 +00:00
RadostW
b6b7d2aa12
Messing with millenialcaves.html or similar
2019-02-26 09:41:02 +00:00
RadostW
c733b0f2eb
Messing with millenialcaves.html or similar
2019-02-26 02:03:26 +00:00
RadostW
9712bf6dfd
Messing with millenialcaves.html or similar
2019-02-26 02:01:09 +00:00
RadostW
5e4c1493a1
Messing with millenialcaves.html or similar
2019-02-26 01:56:39 +00:00
RadostW
41b1334257
Messing with millenialcaves.html or similar
2019-02-26 01:48:52 +00:00
RadostW
a2fcbae129
Messing with millenialcaves.html or similar
2019-02-26 01:46:54 +00:00
RadostW
e9077542c9
Messing with millenialcaves.html or similar
2019-02-26 01:46:05 +00:00
RadostW
79595521a9
Messing with millenialcaves.html or similar
2019-02-26 01:45:03 +00:00
RadostW
38b658fd3f
Messing with millenialcaves.html or similar
2019-02-26 01:43:54 +00:00
RadostW
a89123755c
Messing with millenialcaves.html or similar
2019-02-26 01:43:28 +00:00
RadostW
0fb9accd05
Messing with millenialcaves.html or similar
2019-02-26 01:41:15 +00:00
RadostW
f87df707ab
Messing with millenialcaves.html or similar
2019-02-26 01:37:52 +00:00
RadostW
a2cb771fc1
Messing with millenialcaves.html or similar
2019-02-26 01:35:55 +00:00
RadostW
c888f59ff0
Messing with millenialcaves.html or similar
2019-02-26 01:34:09 +00:00
RadostW
43ff6e09be
Messing with millenialcaves.html or similar
2019-02-26 01:30:32 +00:00
RadostW
810ab3ea4f
Messing with millenialcaves.html or similar
2019-02-26 01:18:47 +00:00
RadostW
cb5978237b
Messing with millenialcaves.html or similar
2019-02-26 01:13:54 +00:00
RadostW
622d523c98
Messing with millenialcaves.html or similar
2019-02-26 01:12:14 +00:00
RadostW
ee7d2529e7
Messing with millenialcaves.html or similar
2019-02-26 01:08:04 +00:00
RadostW
82de967f97
Messing with millenialcaves.html or similar
2019-02-26 01:07:18 +00:00
RadostW
466e667e14
Messing with millenialcaves.html or similar
2019-02-26 01:04:09 +00:00
RadostW
3c563ce665
Messing with millenialcaves.html or similar
2019-02-26 01:03:22 +00:00
RadostW
19a061efa8
Messing with millenialcaves.html or similar
2019-02-26 00:56:46 +00:00
RadostW
a397eb9d00
Messing with millenialcaves.html or similar
2019-02-26 00:48:34 +00:00
RadostW
e5d864359a
Messing with millenialcaves.html or similar
2019-02-26 00:47:35 +00:00
RadostW
b2adc285b6
Messing with millenialcaves.html or similar
2019-02-26 00:45:56 +00:00
RadostW
8af604262d
Messing with millenialcaves.html or similar
2019-02-26 00:43:46 +00:00
RadostW
b33ca2b290
Messing with millenialcaves.html or similar
2019-02-26 00:43:05 +00:00
RadostW
c4455168c6
Messing with millenialcaves.html or similar
2019-02-26 00:35:28 +00:00
RadostW
1b4674acde
Messing with millenialcaves.html or similar
2019-02-26 00:33:37 +00:00
RadostW
4fac4317a3
Messing with millenialcaves.html or similar
2019-02-26 00:33:04 +00:00
RadostW
78bf9986b7
Messing with millenialcaves.html or similar
2019-02-26 00:30:09 +00:00
RadostW
5154c0d8e5
Messing with millenialcaves.html or similar
2019-02-26 00:29:16 +00:00
RadostW
b01fcc3a6d
Messing with millenialcaves.html or similar
2019-02-26 00:23:23 +00:00
RadostW
e8585bec42
Messing with millenialcaves.html or similar
2019-02-26 00:22:58 +00:00
RadostW
521f0241f8
Messing with millenialcaves.html or similar
2019-02-26 00:21:54 +00:00
RadostW
0394becdac
Messing with millenialcaves.html or similar
2019-02-26 00:21:27 +00:00
RadostW
e5fa636776
Messing with millenialcaves.html or similar
2019-02-26 00:17:56 +00:00
RadostW
6beaf4afdd
Messing with millenialcaves.html or similar
2019-02-26 00:17:11 +00:00
RadostW
822812525e
Messing with millenialcaves.html or similar
2019-02-26 00:08:15 +00:00
RadostW
a4a92483bd
Messing with millenialcaves.html or similar
2019-02-26 00:04:27 +00:00
RadostW
3254ba1443
2019-02-26 00:00:34 +00:00
RadostW
4c3d0ce7fa
2019-02-25 23:55:06 +00:00
RadostW
a99afe07c6
2019-02-25 23:53:19 +00:00
RadostW
73bb60eff9
2019-02-25 23:52:47 +00:00
RadostW
0a214c5d4b
2019-02-25 23:51:26 +00:00
RadostW
29c53f35ab
2019-02-25 23:48:58 +00:00
RadostW
3746dab5de
2019-02-25 23:46:52 +00:00
RadostW
18dbadd675
space/tab
2019-02-25 23:42:56 +00:00
RadostW
ee2cd0d391
trying to add new field
2019-02-25 23:40:53 +00:00
RadostW
0cc4e7c7d3
2019-02-25 23:37:12 +00:00
Sam Wenham
478065786f
Merge
2019-02-25 23:34:10 +00:00
Sam Wenham
e64d82cd92
Start of moving databasereset to django management
2019-02-25 23:10:24 +00:00
Sam Wenham
12a991920a
Get get_absolute_url in the correct place
2019-02-25 23:07:20 +00:00
RadostW
0758efb3ec
2019-02-25 22:34:13 +00:00
RadostW
54b782c67e
tab/space fix
2019-02-25 22:28:30 +00:00
RadostW
78a5f656b9
added Rad's playground
2019-02-25 22:24:33 +00:00
RadostW
6e23853759
merge
2019-02-25 21:02:30 +00:00
RadostW
becfaa1504
change to table
2019-02-25 20:58:32 +00:00
Sam Wenham
77a6015ad6
Fix the All Survex page to work with 1623 area
2019-02-25 20:13:28 +00:00
Sam Wenham
7c15a7439d
Decode the url encoded # when looking at wallets
2019-02-24 19:50:45 +00:00
Sam Wenham
b4f4db5754
Deal better with the wallet letter number combo of 2019#X01
2019-02-24 18:55:30 +00:00
Sam Wenham
c6656e6642
Stop django moaning about unit tests from pre 1.6, like we have any anyway!
2019-02-24 16:48:12 +00:00
Sam Wenham
e6fa54d0e5
Fix survey scans
...
Remove the assert for folders in survey wallets, this does mean currently they
will be ignored by troggle.
2019-02-24 16:46:02 +00:00
Sam Wenham
f16b4e3f47
Make the suryeys importer not explode
2019-02-24 14:29:14 +00:00
Sam Wenham
4ad5b68433
Make things more compatiable with newer python
...
Fix the expeditions list
Improvements to make it compatiable with django 1.8
Bump the years to add 2018
Update the .hgignore file to ignore junk
2019-02-24 13:03:34 +00:00
Sam Wenham
552730f0a3
Revert urls.py as it contains Django 1.8 upgrade code
2019-02-23 15:43:38 +00:00
Sam Wenham
a1f02e575f
Prevent troggle adding the menu if there is one in the file
...
Add a Docker compose file to bring up a dev troggle easily
Various PEP improvments
2019-02-23 15:30:58 +00:00
Sam Wenham
f58b1db920
Don't create years that aren't here yet troggle goes boom
2018-06-20 18:14:13 +01:00
Sam Wenham
3d2ac06a72
Move the years on a bit
2018-06-20 18:11:12 +01:00
expoonserver
9802f45452
Add missing linefeed on survey-parsing error message
2018-06-18 23:43:20 +01:00
expoonserver
1ad58d6b5d
Make sure that cave parser only reads .html files in cave_data dir (to stop foo~ causing 'duplicate cave' error)
2018-06-18 23:17:05 +01:00
expoonserver
6805bcb690
Add 'troggle' namespace to databasereset.py so it runs in django >1.5
2018-06-17 02:41:58 +01:00
expoonserver
c162411f0b
FileUploadForm does not work with django 1.7.
...
It tries to use database during class initialisation.
removed it for now - not sure if it's important...
2018-06-17 02:24:00 +01:00
expoonserver
10a05d686e
django.setup needs to be run before any attempt to use database
2018-06-17 02:23:02 +01:00
expoonserver
89ef5c19ff
imports must specify the application name i nlater django versions.
...
databasereset updated accordingly.
2018-06-16 19:00:26 +01:00
Sam Wenham
4385ce86c1
Add the extra setting for the threed cache to all the template configs
2018-04-20 20:58:05 +01:00
Sam Wenham
46124a770f
Fix the django for the spinny js cave viewer.
...
Make the paths settings (don't hard code things like this!!)
Add " round spinny urls from the late merge (the rest were done for the move off 1.4.2
2018-04-20 20:55:12 +01:00
Sam Wenham
6f6327d267
Merge with django-upgrade
2018-04-17 22:19:20 +01:00
expoonserver
6710a469ee
Add CaveView spinny caves view to each troggle cave page
2018-04-17 21:57:02 +01:00
Sam Wenham
174c475ec7
Add default BooleanField(default=False) for django 1.7 compatibility
2018-04-17 21:51:39 +01:00
Sam Wenham
d3b42a125d
1.7 requiremnets
2018-04-15 16:45:07 +01:00
Sam Wenham
2f2f4d396d
New vars needed to make django 1.7 and tinymce work
2018-04-15 16:36:23 +01:00
Sam Wenham
e1eea7088f
Django 1.7 wsgi.py
2018-04-15 16:29:30 +01:00
Sam Wenham
760fa3114f
missed from last commit
2018-04-15 16:28:52 +01:00
Sam Wenham
798ae591c6
Django 1.7 mostly working. Big refactor so probably bugs
2018-04-15 16:28:13 +01:00
Sam Wenham
7877efba0a
Up to 1.6.11 on stretch. New manage.py. Some tidying
2018-04-15 12:00:59 +01:00
Sam Wenham
cfa888fde6
More cleanup and modernisation
2018-04-14 21:37:12 +01:00
Sam Wenham
cedcb0988a
Clean up indenting in models
...
add registration required modules
2018-04-14 21:14:19 +01:00
Sam Wenham
c939013b14
Add ref as a valid survex command to prevent errors
2018-04-14 16:13:21 +01:00
Sam Wenham
458d0e1ebc
add all the docker commands to bulid and run troggle in a container (more of a guide than something to run)
2018-04-11 22:32:47 +01:00
Sam Wenham
776152ef47
Add missing expose container port and commneted command to auto start the dev server
2018-04-11 22:18:15 +01:00
Sam Wenham
9f285a9f34
Update requirements for 1.5.12 and preserve the 1.4.22 requiremnets
2018-04-11 22:13:31 +01:00
Sam Wenham
302ad0632e
Add the docker files and the pip requiremnets.txt to allow install usign pip
2018-04-11 22:03:48 +01:00
Sam Wenham
ffb5d7bdda
Upgrade to django 1.5, some functions have been changed
...
url in templates now requires quotes roung the first arg
USE_TZ added
2018-04-11 22:02:57 +01:00
Sam Wenham
242cf4741a
Import Image from PIL to support newer python
...
import the Django registration module rather than the troggle one
2018-04-10 01:34:06 +01:00
Wookey
41a14f161d
Avoid barf if URL field in new cave form is left blank.
2018-02-28 15:57:27 +00:00
Wookey
f0e1406c5f
Update old website base URL in template from cucc.survex.com/expo to expo.survex.com
2018-02-28 15:55:00 +00:00
expoonserver
d7c6676c49
Test whether url is not 'None' before applying 'startswith' test in
...
forms.py entering new caves, otherwise it barfs.
2017-10-25 03:49:03 +01:00
expoonserver
5e9dfc6ea6
Fix Scan scanning, so that 2015#X01 format (with 'X') is accepted in
...
scan directories. Allows 2016 data to be processed.
2017-03-07 15:44:42 +00:00
Sam Wenham
27fca090fc
Bring troggle a little more up to date
2016-09-04 13:47:26 +01:00
expo
716131f005
Fix cave pages to have entrances and description on one page.
...
Fixes broken links on description and entrance pages.
Removes need for jquery-ui.
2016-07-02 23:42:47 +01:00
expo
496280f3e6
merge serve changes
...
HGerver canges Enter commit message. Lines beginning with 'HG:' are removed.
2016-06-09 04:16:46 +01:00
Sam Wenham
0dd0951b28
Merge
2016-05-20 21:35:58 +01:00
Wookey
b9597fbb57
Merge 'expofiles' instead of 'expoimages' config changes
2016-01-27 04:27:38 +00:00
Wookey
edc6591554
Correct typo on cave and entrance template files
...
('If you edit this files...')
2016-01-27 04:24:44 +00:00
expoonserver
560b9bf985
Move expoimage to expofiles
...
Relies on permanent rediect in apache config to keep old URLs working
everywhere.
2015-10-02 15:10:04 +01:00
expoonserver
6652e3f160
remove code saying we can't do interlaced pngs. It's fine now.
2015-10-02 15:07:03 +01:00
expo
b0f1f73ce4
Store expo user/password info in localsettings file, and not repeated in databaseReset script
2015-09-16 01:58:51 +01:00
expo
214d887c57
Commit changes made on expo 2015
2015-09-16 01:52:45 +01:00
Sam Wenham
6b16724c2a
tidy up after merge
2015-08-22 13:28:17 +01:00
Sam Wenham
f1bb927063
Merge settings changes
2015-08-22 13:26:38 +01:00
expo
eeda1bed73
properly quote JSLIB_PATH and mke clear that example password is just an example
2015-07-26 00:38:10 +01:00
Sam Wenham
751ec9517f
Change JSLIB_PATH to JSLIB_URL and correct the path
2015-07-01 18:22:25 +01:00
Wookey
228814be33
Fix unquoted string in troggle localsettingspotatohut.py
2015-07-01 03:55:12 +01:00
Sam Wenham
cebcbeb73a
sysadmin to expouser for email
2015-07-01 01:26:04 +01:00
Sam Wenham
057b09dca9
Move expo user settings out of databasereset.py to localsettings where they really belong
2015-07-01 01:18:25 +01:00
Sam Wenham
480541ae54
Add a little style
2015-06-28 13:52:33 +01:00
Sam Wenham
60303d041c
Remove unnecessary escape slashes
2015-06-28 13:46:28 +01:00
Sam Wenham
5a911ecec7
I think this is breaking prospecting
2015-06-28 13:39:50 +01:00
Sam Wenham
7056f9a8b2
Remove balkonhoehle from the QM parser as this will need a lot of effort to get working
2015-06-28 12:28:18 +01:00
Sam Wenham
34036581f2
Correct JSLIB_URL
2015-06-27 13:01:15 +01:00
expo
dcc67fddda
Don't put passwords in the repo
2015-06-24 04:41:50 +01:00
expo
03cad0a37f
Survex parser fix to avoid allocation on error (by martin).
2015-06-24 04:09:19 +01:00
expo
a4651eaa0a
Added warnings that the database will need updating is cave or entrance data files are modified
2015-06-21 15:11:51 +01:00
expo
7aed3d3b30
Moved notable caves to settings.py, link to a script to fix permissions
2015-06-21 15:08:09 +01:00
expo
4771f52b20
Have different links for system js files and troggle js files
2015-06-21 15:06:44 +01:00
Wookey
77ad85b05c
merge balconhoehle changes from server
2015-06-19 01:55:51 +01:00
Wookey
01d877d26e
Use django-registration, not a local copy.
...
This old one is uses deprecated hashcompat.
2015-06-10 23:52:49 +01:00
DWalker
e84d990366
Add in balkon hoehle QM list
2015-05-25 21:55:54 +01:00
Wookey
e06be10f7f
Change password of 'expo' user created by databasereset script to match that used elsewhere
2015-05-25 21:26:26 +01:00
Wookey
fe6750e824
Fix up obvious URLs containing subarea names (smkridge)
2015-04-08 03:40:57 +01:00
Wookey
d29fe2ee1c
Merge in Sam's parser debugging
2015-04-08 03:27:48 +01:00
Wookey
1156b1d3ea
rename troggle paper.odt to troggle_paper.odt as space in repo are a
...
pain
2015-04-08 03:24:00 +01:00
Wookey
126a10cf94
Rename troggle paper to not have a space in it.
2015-04-06 02:38:24 +01:00
Sam Wenham
4560e0da84
Revert all of this the date is needed and is a not null in the db
2015-01-26 21:53:32 +00:00
Sam Wenham
f9c2e0e170
One more try
2015-01-26 21:15:17 +00:00
Sam Wenham
cf413dd03c
Ooops that wasn't right
2015-01-26 21:13:47 +00:00
Sam Wenham
4965678443
Don't assert an error on bad date formats
2015-01-26 21:12:27 +00:00
Sam Wenham
67f94f9436
A little more verbosity
2015-01-19 22:48:50 +00:00
Sam Wenham
1186662960
Add a little verbosity
2015-01-19 22:41:48 +00:00
Sam Wenham
3010961383
Try and ignore files that don't end .html (We really need to change to .xml) eg .html.orig!!
...
Change the index on troggle to move on with the year
2015-01-19 21:28:35 +00:00
Wookey
806fd41130
remove two files accidentally included in last commit
2014-09-11 07:41:33 +01:00
Wookey
af07161f05
remove internal copies of jquery, jquiery-forms, jquery-ui+themes,
...
django-feincms and codemirror
2014-09-11 07:40:58 +01:00
Wookey
5ff759db93
Fix templates to use system javascript for jquery, jquery-ui and
...
jquery-ui themes
2014-09-11 07:38:45 +01:00
Wookey
7f292d402b
Use REPOS_ROOT_PATH so there is just one place to change paths
2014-09-11 06:33:34 +01:00
Wookey
c180780da9
Update the README file a bit - still needs work.
2014-09-10 23:46:05 +01:00
Wookey
d75862bc41
Merge change of 'cavesnew'->'caves' in databasereset.
2014-07-28 01:22:52 +01:00
Wookey
7cdb603d75
Add 107 to notable caves (noting that this is hard-coded into
...
core/views_caves.py which is just shoddy)
2014-07-28 01:21:24 +01:00
expo
94c44b0d7b
Change databasereset to use 'caves' instead of 'cavesnew' for reloading the cave database
2014-07-28 00:18:10 +01:00
expo
4a3d181097
Set potato hut localsettingsfile to have correct URLs
2014-07-23 09:47:48 +01:00
Sam
d8863dca48
Fix media url to allow for working in the hut
2014-07-23 09:10:31 +01:00
expo
e0c439e850
Add a new config file for the potato hut setup.
2014-07-23 09:11:17 +01:00
Wookey
f4f1b3ca6d
Allow comma in starcommands (*,fix) (comma is default valid *set blank)
2014-07-01 02:26:26 +01:00
Wookey
4a93790c7e
Fix survex parser to allow whitespace between * and command (as survex
...
does).
2014-07-01 02:12:34 +01:00
Wookey
5265acd9dc
merge in survex parsing changes from server.
2014-06-26 02:37:55 +01:00
expoonserver
9f69bb5fca
Remove spurious real password from example localsettingserver.py file.
...
Add comment on how to use it.
2014-06-26 02:35:37 +01:00
expoonserver
b1d6e1c3d5
Replace assert on unrecognised commands with print, so that a minor
...
parsing issue doesn't completely kill a parsing update.
Add parsing for requires and alias commands.
2014-06-26 02:34:19 +01:00
Wookey
659703b221
Merge with server version
2014-06-09 19:30:06 +01:00
expoonserver
3869bd536e
remove humongous troggle_log.txt from repo
2014-05-19 03:12:16 +01:00
expoonserver
408d154d3f
Refer to debian package, not upstream URL
2014-05-19 03:11:46 +01:00
Wookey
44e3eb8a18
Tidy up urls file a little
2014-05-14 20:46:59 +01:00
wookey
51a3cecc02
Document 'cavesnew' option in databasereset.py - which just reads in
...
caves datafiles.
2013-10-07 23:45:59 +01:00
olly
6b4ea7b83e
merge
2013-08-08 15:48:10 +02:00
expo
da71cca22f
Prospecting guide and images and few minor other things.
2013-08-01 17:00:01 +02:00
wookey
5c945e3431
Put correct user for mysql on seagrass back into config (It was accidentally overwritten in recent changes)
2013-07-06 09:28:39 +01:00
Wookey
ba5bc365c1
merge support for django 1.2 location for auth module
2013-07-02 21:12:59 +01:00
Wookey
c362b1b529
3rd attempt at getting the right syntax for the CSRF protection in
2013-07-02 21:11:07 +01:00
Wookey
f90b6dc7ab
update location of auth module for django 1.4
2013-07-02 21:10:30 +01:00
wookey
a6a9016548
Add support for old and new (1.4 on) location for auth module.
2013-07-02 21:05:48 +01:00
Wookey
5351108ec1
merged in proper CSRF changes from server
2013-07-02 20:23:55 +01:00
Wookey
7759e481d4
Change database syntax to modern format as old style no longer
...
supported in django 1.4
2013-07-02 18:13:27 +01:00
Wookey
69c3a06c98
Remove support for django 1.0 CSRF as we only care about 1.2 or later
2013-07-02 18:12:18 +01:00
Wookey
d1ad8730d7
Add CSRF protection to registration form (and remove annoying second
...
password)
2013-07-02 18:10:45 +01:00
wookey
f3a570a21d
Add csrf token to registration forms
2013-07-02 17:26:35 +01:00
Wookey
f626d3304d
parsing_log should not be saved in the vcs
2013-07-02 00:49:07 +01:00
Wookey
7eb4c89bf0
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
9435be0f19
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
7f108f6d9a
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
3f98470af8
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
e58b69782c
Add note on how to create a new year in troggle.
2013-06-25 15:56:19 +01:00
wookey
e49e22b37c
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
82e69b4f05
Add parsing_log.txt to the files ignored by the VCS.
2013-06-24 23:29:14 +01:00
wookey
ea9266ecf9
Add help command and usage info to databaseReset.py
2013-06-24 01:31:14 +01:00
wookey
99ea6778ad
Add comment to identifycavedir function
...
and remove now-disused special-case filename
2013-06-24 01:30:17 +01:00
wookey
ccd80e74f8
Change template headers to show 2012/2013 as shortcuts
2013-06-23 03:19:41 +01:00
Wookey
3057d2a232
Add checking for compass too
...
Only print filenames on error by default
2013-05-22 02:33:47 +01:00
Wookey
d1ac659d4f
Add error check in place where parser died
2013-05-22 02:10:58 +01:00
wookey
bb1989d0f0
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
418e5e1d3f
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
3b12e6d975
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
54d7f1d097
Remove jgtfile URLs (presumably no longer needed)
2012-09-08 01:12:17 +01:00
Martin
cfc90deb83
Merge
2012-08-14 23:49:26 +02:00
Martin
1a0e577606
Bug fixing of cave and entrance forms removal of slugs
2012-08-14 22:51:15 +02:00
Martin
a05fe94d90
ignore files ending in ~
2012-08-14 15:31:34 +02:00
Martin
8e64062214
added entrance locations
2012-08-14 15:08:08 +02:00
Martin
8c1882eec8
fixed spelling
2012-08-14 15:06:18 +02:00
Martin
8dd51096cf
allow extensions to be capatalised
2012-08-14 15:05:15 +02:00
expo
ecd5bbcb1d
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
6d5babd331
Prospecting template
2012-08-10 19:34:44 +02:00
Martin Green
79b7d32664
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
dd66ad835a
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
a29fd964bd
Prevent modification of auto generated files
2012-08-06 12:56:20 +02:00
expo
1ef274ec1d
Editing no longer changes files more than nesecary. Removed TinyMCE editing. /Sumbit/Submit
2012-08-06 12:19:48 +02:00
expo
0f5627505f
Fix broken markup
2012-08-05 21:37:46 +02:00
expo
c0782e1cca
Fixed cave order
2012-08-05 19:28:34 +02:00
expo
ed1d273e03
Fixed cave order
2012-08-05 19:26:24 +02:00
expo
9654e5da1c
FIx base template so admin link, expoweb link work and use consistent base URL
2012-08-05 02:33:48 +02:00
expo
8040b746b4
Note that the instructions for adding a survey are all wrong.
2012-08-05 00:35:02 +02:00
expo
05004aa874
Fix up parser paths so everything is found
2012-08-05 00:26:05 +02:00
Martin Green
4a21720745
Merge
2012-06-10 17:24:10 +01:00
Martin Green
13cb2e9b0f
no need to export to cavetab2 anymore
2012-06-10 17:22:50 +01:00
ExpoOnServer
0259947cda
merge
2012-06-10 17:21:26 +01:00
ExpoOnServer
080684e56f
no need to export cavetab2 anymore
2012-06-10 17:20:57 +01:00
Martin Green
4b269bb234
update caves from new cave file format not cavetab2.csv
2012-06-10 17:16:33 +01:00
Martin Green
1a62931202
Merge
2012-06-10 16:56:44 +01:00
Martin Green
c2029df3c9
New parser for new cave format
2012-06-10 16:56:12 +01:00
ExpoOnServer
4a074295ad
Looks like photos have been added by editing urls.py.
2012-06-10 16:19:17 +01:00
Martin Green
711fefb0da
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
fd12e70f78
Editing for entrances along with caves
...
More detailed display of entrances
2012-05-23 09:23:40 +01:00
Martin Green
fac89bae30
Render a cave editing page. Nb it does not do save anything yet.
2012-01-07 19:05:25 +00:00
Wookey
ab97e367cb
merge from upstream
2011-09-15 12:13:07 +01:00
Wookey
ae693ca4c5
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
77dea07b40
branch merge
2011-09-02 03:39:20 +02:00
expo
77dcf7f759
Remove old ref to goatchurch in localconfig
2011-09-01 01:50:51 +02:00
Martin Green
59e7c4d5df
Bug fix
2011-08-08 13:11:57 +01:00
Martin Green
0b5e57b85e
ignorecase when finding html tags
2011-08-08 12:58:02 +01:00
Martin Green
c623acf832
template changes. Fix link to css.
2011-08-08 12:40:47 +01:00
Martin Green
36b1888f46
Added 'page not found do you wnat to make this page' page. Minor tweaks
2011-08-08 12:18:47 +01:00
Martin Green
c09a668620
Fix logbook editing
2011-08-08 12:17:38 +01:00
Martin Green
e85c386375
=Make a common base for expoweb pages. Ignore any header information in expoweb except titles.
2011-08-08 10:58:50 +01:00
Martin Green
c66ecc4d7f
Allow pages to be rendered when the body tag has attributes. Put an edit link on the homepage.
2011-08-08 10:04:59 +01:00
Martin Green
13fe89af9f
Allow for editing flatpage titles, and made a common uneditable list of links.
2011-08-08 09:51:47 +01:00
Martin Green
d8fe39ae86
Allow the viewing of noinfo caves on non public website without login
2011-08-08 08:51:12 +01:00
Martin Green
5f5359f933
Changed regex for finding head and body of flat pages.
2011-08-07 19:17:27 +01:00
Martin Green
e820a516de
bug fix for edit link for index files
2011-08-07 17:30:18 +01:00
expo
e9fdea80c0
Changed ubuntu local settings to be applicable to the expo machine
2011-08-07 16:12:52 +02:00
expo
9534bd8881
Make caveindex link to urls in the original hierachy such that their
...
hyperlinks and images work.
2011-08-07 16:11:35 +02:00
ExpoOnServer
5be508620e
update localsettings for server and expo machine
2011-07-14 03:50:49 +01:00
Wookey
82e968d5c7
Attempt 17b to end with the right files as tip
2011-07-12 02:44:07 +01:00
Wookey
b4b060a962
Add odt and ods mime types to our list.
...
Maybe this should just be read in from the real list...
2011-07-12 00:57:48 +01:00
ExpoOnServer
64e5e9d45c
merging correct urls.py for /troggle dir in
2011-07-12 00:49:24 +01:00
ExpoOnServer
881215e815
Add empty troggle_log.txt file to save doing it by hand
2011-07-12 00:02:01 +01:00
ExpoOnServer
35cd983cc9
I seem to be going wrong in circles here
2011-07-11 23:45:12 +01:00
Wookey
0a70039dee
really, really get all version the same!
2011-07-11 23:43:32 +01:00
ExpoOnServer
18ccc57f87
add /troggle dir (Martin's changes to get main site back as entry point)
2011-07-11 23:35:11 +01:00
Wookey
c23fcc5b06
rest of martin's changes, without reverting lineend issues
2011-07-11 23:28:23 +01:00
Wookey
21ff3b8b5d
Add changes from martin
2011-07-11 23:19:48 +01:00
Martin Green
97c388dba0
Moved troggle main page to /troggle added a link in flat pages.
...
Now / takes you to the expoweb index page
2011-07-11 22:38:40 +01:00
Martin Green
10799e2ce3
Do not make an entrance redirect for entrances without there own pages
2011-07-11 22:37:49 +01:00
Martin Green
7ef6b1fcc2
implemented mimetypes, index.htm(l) and fixed edit view
2011-07-11 22:36:48 +01:00
Martin Green
7a220b4c87
Change absolute url for caves to there expoweb url, such that links work
2011-07-11 22:35:32 +01:00
Wookey
dc1327674c
remove all the DOS linefeeds
2011-07-11 02:10:22 +01:00
Wookey
c8ff8e3ef6
Add /index.htm to EXPOWEB root URL in main template so that you get
...
the static stuff
2011-07-11 01:55:12 +01:00
Wookey
f766df597c
undosify lineends
2011-07-11 01:49:03 +01:00
Wookey
bab92cb88c
merge martin's tip again
2011-07-11 00:52:58 +01:00
Martin Green
5d8a5494cd
Split up tags such that they use ajax
2011-07-11 00:50:07 +01:00
Wookey
129d93dfa7
Merge from Martin's tip
2011-07-11 00:49:18 +01:00
Martin Green
65c55f0f21
Removed conversion to wiki, replaced Surveystation models with text, added area 1623 to all relevant caves.
2011-07-11 00:15:59 +01:00
Martin Green
8578a3097a
Added flat pages for entrance and special flatpage redirects.
...
Enetrances should probably store their urls like cavers. Maybe the flatpages should be handled by the app Aaron installed.
2011-07-11 00:13:06 +01:00
Martin Green
de5f68e42c
Removed links to removed forms
2011-07-11 00:04:30 +01:00
Martin Green
f44b0be459
slug views, start of cave eidt form, cavelist splitting up by kataster area etc.
2011-07-11 00:03:36 +01:00
Martin Green
a128401d49
Added parsing of all.svx, along side parsing individual caves.
...
Added the making and parsing of all.pos to determine the location of stations.
Mare work is required so the caves are parsed and stored only once.
Survex parsing appears to include bugs, that print out errors.
2011-07-11 00:01:12 +01:00
Martin Green
5075ded032
Removed modelforms for Caves started to add normal forms
2011-07-10 23:57:31 +01:00
Martin Green
47c2e87979
Removed SurveyStation model (not SurvexStation)
2011-07-10 23:55:54 +01:00
Martin Green
53352e7987
Added THREEDTOPOS setting for survexs 3dtopos program
2011-07-10 23:53:32 +01:00
Martin Green
44f86a7d6f
Added url to cave and turned entrances station names and removed the previous SurveyStation model.
...
Note caves should be rendered in the directory of their original url to make links work.
Note SurveyStations appeared to duplicate SurvexStations.
Note Given we want to be running from a mercurial repository, it is easiest to store the names of survey stations rather than foreign keys.
2011-07-10 23:52:18 +01:00
Martin Green
c37124d9c4
Add ability to views caves via their cave slug. Not recommended until links are fixed.
2011-07-10 23:48:13 +01:00
Martin Green
69ab1e0249
Changed to regex to make 2003 expo logbooks parse
2011-07-10 23:45:45 +01:00
Martin Green
2fd8052ac2
Added redmund style for jquery-ui
2011-07-10 23:40:52 +01:00
Wookey
28924db9f8
merge fix from martin's tip.
2011-07-10 23:30:36 +01:00
Martin Green
50545af223
Added editing of flat pages. Added slugfields to models to refer to them.
2011-06-02 19:16:16 +01:00
expo
30829ff9c8
debug
2011-05-02 03:25:43 +01:00
Martin Green
ede9e4a9bd
debug
2011-05-02 03:23:59 +01:00
Martin Green
04d0e80430
debug
2011-05-02 03:22:45 +01:00
Martin Green
366d4736ca
Try to fake crsf tags so site works on djang0 1.1
2011-05-02 03:20:31 +01:00
Martin Green
f3391a912e
Attempt to get CSRF tag not breaking django 1.1
2011-05-02 03:13:54 +01:00
Martin Green
52eb4030d0
Attempt to get csrf tag working in django 1.1-
2011-05-02 03:11:17 +01:00
Martin Green
835680f0ee
Get CSRF middleware to work on django 1.1- and 1.2+
2011-05-02 02:51:14 +01:00
Martin Green
cdf54e0f9b
Added ability to host website not at the root, eg. http://m.com/troggle/
2011-05-02 02:37:33 +01:00
Martin Green
b439d40120
Debugging, and make get_name function accessable (should really be renamed)
2011-05-02 02:15:54 +01:00
Martin Green
cb744ddeef
CRCF protection
2011-05-02 02:14:15 +01:00
Martin Green
872ffe5882
decorator to check if user is logged in if settings.PUBLIC_SITE
2011-05-02 02:13:27 +01:00
Martin Green
671e946c6d
settings.PUBLIC_SITE, login required if public for logbook entry, CRCF middleware
2011-05-02 02:12:26 +01:00
Martin Green
3928609c29
Bug fix to expedition links
2011-05-02 00:56:53 +01:00
Martin Green
e942c839a1
Link to expowebsite
2011-05-02 00:53:44 +01:00
Martin Green
bff34aafb9
FIX2
2011-05-01 23:21:47 +01:00
Martin Green
7623943f3e
Fix
2011-05-01 23:11:18 +01:00
Martin Green
6d7691791a
Added settings hooks for TinyMCE. On debian apt-get install tinymce python-django-tinymce
2011-05-01 19:58:38 +01:00
Martin Green
b001df1f53
edit logbooks, new logbook format, increased database normalisation
2011-05-01 19:32:41 +01:00
Martin Green
1cc7f2d92e
Allow survey scans to be scrapped with a file in the top level directory of the year
2011-05-01 19:20:25 +01:00
Martin Green
7a0a898bc6
Added variables to configure TinyMCE
2011-05-01 19:17:57 +01:00
Martin Green
41aca4e2d7
Added files for jQuery to allow for UI and dynamic formsets.
2011-05-01 19:15:34 +01:00
Martin Green
7e89b12004
Setup files for hg to ignore (*.pyc, db*, localsettings.py)
2011-05-01 19:13:07 +01:00
Aaron Curtis
7bac9f829e
Renaming main branch from 'svn' to 'default' per mercurial convention.
...
Hopefully this will keep the main branch as the active one, so the Erebus branch is only used if requested.
2009-09-27 00:43:01 -06:00
goatchurch
2435639498
rolled back a bad update
2009-09-14 23:23:09 +01:00
expo
2be3e4ce9d
get survey scans into database
2009-09-14 23:09:50 +01:00
goatchurch
1294444026
make 2008 logbook correctly parse
2009-09-14 22:52:46 +01:00
goatchurch
7578b65573
able to save sketches up from tunnel
2009-09-13 17:27:46 +01:00
goatchurch
ced45c92f7
tunnelfiles scheme added
2009-09-11 23:56:47 +01:00
goatchurch
f21cddb2d0
modelviz added
2009-09-11 09:04:59 +01:00
goatchurch
735b729a41
survey scans features added
2009-09-10 22:07:31 +01:00
goatchurch
c5b933f922
parsing
2009-09-08 23:05:04 +01:00
goatchurch
ce6fe2590d
login required for saving survex files
2009-08-29 18:35:02 +01:00
goatchurch
7509a76eb0
login required for saving survex files
2009-08-29 18:34:18 +01:00
goatchurch
41eaa06e55
login required for saving survex files
2009-08-29 18:34:01 +01:00
goatchurch
7429749004
login required for saving survex files
2009-08-29 18:33:44 +01:00
goatchurch
709f9954f4
login required for saving survex files
2009-08-29 18:33:28 +01:00
expo
29adaa03c6
get rid of photo
2009-08-29 18:08:55 +01:00
goatchurch
9f169fb2b9
enable admin url
2009-08-29 17:30:07 +01:00
goatchurch
6b8294d9dc
remove dependence on latest django
2009-08-29 16:23:11 +01:00
goatchurch
0ea70273fe
quick hack to make work in django1.0 Photo to DPhoto
2009-08-23 23:29:05 +01:00
goatchurch
c66b5e2dad
[svn] latest hacking for various statistics
2009-08-05 11:58:36 +01:00
goatchurch
9077462893
[svn] now with ability to make new svx file
2009-08-01 07:31:27 +01:00
goatchurch
7158a79a34
[svn] full checkin. animations disabled, sorry
2009-07-27 13:43:43 +01:00
goatchurch
68060d6118
[svn] some file reading things
2009-07-27 13:42:54 +01:00
substantialnoninfringinguser
ddbdc73e7e
[svn] fix indexError bug julian found
2009-07-22 16:35:49 +01:00
substantialnoninfringinguser
263b640641
[svn] Various bug fixes, using more raw_id fields in admin so it loads faster. I had to put onLoad="contentHeight();" back into the base template. This is a bad solution, I would rather use Martin's, but it wasn't working.
2009-07-22 16:18:00 +01:00
goatchurch
84ad39f24a
[svn] bugged
2009-07-21 07:20:34 +01:00
substantialnoninfringinguser
408a4c79aa
[svn]
2009-07-17 01:14:37 +01:00
substantialnoninfringinguser
b9bbccfe00
[svn] * Make descriptions parser also replace links to descriptions from Cave models' underground_descriptions with wikilinks for valid (existing) links
...
* Make entrances searchable in admin by cave kataster number
2009-07-16 05:37:33 +01:00
substantialnoninfringinguser
05d262e42b
[svn] only logged in users should see the tasks page thing
2009-07-15 01:55:26 +01:00
substantialnoninfringinguser
18e61d19f5
[svn] * wikilink to html for subcaves and cave descriptions
...
* fix header regex
2009-07-12 06:30:24 +01:00
substantialnoninfringinguser
4a073ea161
[svn] Add regex to turn ==headers== into <h2>headers</2>
2009-07-12 05:54:08 +01:00
substantialnoninfringinguser
2993ca74cc
[svn] override save for CaveDescriptions to scan qm wikilinks and add into the manytomany field linked_qms
2009-07-11 01:36:00 +01:00
substantialnoninfringinguser
1566923d5c
[svn] Make QM wikilinks work in new format, and fix cave description parser to output working wikilinks.
2009-07-09 05:08:21 +01:00
substantialnoninfringinguser
b0073caf5f
[svn] not ready for that yet
2009-07-06 08:35:08 +01:00
substantialnoninfringinguser
8ad044cb2c
[svn] * Make Q< wikilinks work again
...
* Add new ajax bit in LogbookEntry admin which checks for QMs not in wikilink format and allows one click fixes. Soon to be expanded to check for wikilinks that aren't in foreignkey.
* Tweaks to admin including using raw_id_fields for PersonExpedition & other foreignkeyed models with lots of instances.
2009-07-06 08:31:24 +01:00
martin speleo
8a9eb32aaf
[svn] wiki_to_html changes.
...
Changes views of qm model.
2009-07-04 19:35:06 +01:00
substantialnoninfringinguser
7f2199405d
[svn]
2009-07-04 19:29:19 +01:00
substantialnoninfringinguser
38a545e174
[svn] Remove old subcave model, along with mptt and feincms. Also move OtherCaveNames admin representation to an inline in Cave.
2009-07-04 19:26:51 +01:00
substantialnoninfringinguser
4f0271ad49
[svn]
2009-07-04 18:41:48 +01:00
martin speleo
7fc1602f7a
[svn] Initial and poor attempt at a view for cave descriptions.
2009-07-04 18:11:20 +01:00
martin speleo
aa26690e33
[svn] Pareser for cave descriptions
2009-07-04 17:19:30 +01:00
martin speleo
09581829d1
[svn] Changed addToArgsSurveyStation such that it does not pass a surveystation model to html_to_wiki. Which was unecessary as html_to_wiki returned it without modification. By removing it html_to_wiki can be cleaned up.
2009-07-04 17:08:48 +01:00
martin speleo
3afb94f5d2
[svn] Work on turn html pages into cavedescription models.py.
...
Moved parser/cavetabs html_to_wiki function to utils.py
Added databaseReset.py desc to refresh the cavedescriptions.
2009-07-04 16:42:17 +01:00
martin speleo
29f084613d
[svn] removed redundant import
2009-07-04 16:39:59 +01:00
substantialnoninfringinguser
dd76a1a0be
[svn] * Adding JS fill in next QM number via ajax.
...
* Slight models cleanup- get rid of TroggleImageModel class, use mixin instead.
* Collect various troggle shared functions into utils.py
2009-07-04 08:27:49 +01:00
martin speleo
c132477f80
[svn] Added cavedescription and new subcave.
...
Changed parsers/survex to read *title into subcave
2009-07-04 00:28:28 +01:00
martin speleo
92635f6f68
[svn] Change to get js in admin work for feincms
2009-07-04 00:26:12 +01:00
martin speleo
65ef255b99
[svn] Fixed the following of *includes by adding white space to the end of the regex.
2009-07-03 23:56:39 +01:00
substantialnoninfringinguser
854fe85132
[svn]
2009-07-03 21:59:31 +01:00
martin speleo
4da6203828
[svn] Fixed setContentHeight to work properly for eye candy view, whilst removing it from the non-eyecandy view
2009-07-03 21:29:02 +01:00
martin speleo
7db1aae5ee
[svn] Remove broken import search
2009-07-03 21:04:28 +01:00
substantialnoninfringinguser
b4388d838e
[svn]
2009-07-03 20:49:04 +01:00
substantialnoninfringinguser
8446047ab2
[svn] Brief code cleanup.
2009-07-03 05:31:49 +01:00
substantialnoninfringinguser
dc19150eba
[svn] whoops
2009-07-03 00:51:41 +01:00
substantialnoninfringinguser
a89139763f
[svn] Use template block "related" for related objects. Various cleanup, fix personexpedition date views.
2009-07-03 00:50:56 +01:00
substantialnoninfringinguser
dab138c731
[svn] More fallout of renaming expo to core. Also fix
2009-07-02 23:02:42 +01:00
substantialnoninfringinguser
205a73917d
[svn] Fix leftover from expo -> core rename, and add databaseReset.py to README.txt
2009-07-02 22:31:28 +01:00
substantialnoninfringinguser
ae3fe8cd42
[svn] Renaming troggle.expo to troggle.core. To do this, used:
...
perl -p -i -e "s/expo(?=[\s\.']+)/core/g" `find -name \*.py`
and then manually checked each change (had to remove a couple)
2009-07-02 20:43:18 +01:00
substantialnoninfringinguser
c0b274767b
[svn] Add photos wiki syntaxes: e.g.
...
[[display:centre photo:andyc.jpg]] where centre is a class applied to image, and andyc.jpg is the filename of a Photo model instance. Image will be displayed as thumbnail with link to full size image.
[[photo:andyc.jpg]] will produce a link to the admin page for the andyc.jpg Photo model instance.
[[photo:andyc.jpg Title of the link]] will produce a link to the admin page for the andyc.jpg Photo model instance with link text "Title of the link"
2009-07-02 04:10:51 +01:00
martin speleo
620040bde1
[svn] Fixed accidental removal of fading in margin pictures from main page of eye candy site.
...
Reduced non eye candy margins.
Moved set contents style height function into main.js from being embeded js, and ran when eye candy is turned on. Remove style attribute when eye candy is turned back off.
2009-06-28 23:11:45 +01:00
martin speleo
22aa9990a5
[svn] Have different css for plain and eye candy views.
2009-06-28 22:23:56 +01:00
goatchurch
16b7404d9b
[svn] horrid .svns copied accidentally
2009-06-28 21:26:35 +01:00
goatchurch
db5e315db0
[svn] forgot to add directory
2009-06-28 21:22:16 +01:00
goatchurch
4c87ce59d3
[svn] with command option
2009-06-28 20:47:11 +01:00
martin speleo
ca7bc171c9
[svn] Fixed small semantics issues stopping base.js working with IE.
...
Made toggle eyecandy persistent (using a cookie)
Made toggle eyecandy turn off footer menu images
Only load footer menu images if the eyecandy is being used.
2009-06-28 19:33:24 +01:00
substantialnoninfringinguser
b55b17ccc1
[svn] Make header scroll with page because Julian said so
2009-06-19 15:38:32 +01:00
substantialnoninfringinguser
59830c80af
[svn] Add readme with installation instructions.
2009-06-19 07:02:25 +01:00
substantialnoninfringinguser
b4a63eca02
[svn] Adding logbook export features. Troggle can now produce .txt or .html logbooks through the controlPanel or via an action in the LogbookEntry admin pages.
2009-06-18 06:53:52 +01:00
substantialnoninfringinguser
0306723c95
[svn] Whoops, forgot to add the file in last revision.
2009-06-14 04:36:19 +01:00
substantialnoninfringinguser
af9743026e
[svn] Added beginnings subcaves parser. This required importing more information from cavetab, namely the location where the main cave page appeared on the old expo website.
2009-06-14 04:33:19 +01:00
substantialnoninfringinguser
9b44731c33
[svn] * Fix bugs that were causing broken wikilinks. *Add edit link to mugshots. *make admin url trailing-slash tolerant
2009-06-12 05:39:30 +01:00
substantialnoninfringinguser
5946e159bc
[svn] Just realized it makes no sense to have qms ticked off by a logbook entry as an inline. Instead, we need some kind of drop down list where ticked off qms can be searched for and selected. Should be doable.
2009-06-11 06:37:07 +01:00
substantialnoninfringinguser
327ea9cacf
[svn] Edited wiki page through web user interface.
2009-06-11 06:35:18 +01:00
substantialnoninfringinguser
6d6991e266
[svn] Added detection of noinfo in cave parser. It sets the non_public flag to true, and the view then shows nonpublic.html instead of the cave if the user isn't logged in.
2009-06-10 17:47:05 +01:00
substantialnoninfringinguser
e4ea57932e
[svn] Whoops, forgot the template during last commit.
2009-06-10 06:37:38 +01:00
substantialnoninfringinguser
484a17d496
[svn] * Added non-public field for protecting copyright info etc. Field is on all models but needs to be checked for in views. So far, only the cave view checks.
...
* Added the Person wiki syntax which looks like [[person:John Doe]]
2009-06-10 06:34:50 +01:00
substantialnoninfringinguser
1d421b2d7c
[svn] Fixed a bug with QMs with numbers between 1 and 10, and fixed the links in the recent changes box.
2009-06-10 05:37:53 +01:00
substantialnoninfringinguser
4ce282b88b
[svn] Created wiki page through web user interface.
2009-06-10 00:22:29 +01:00
substantialnoninfringinguser
85ada36973
[svn] * Added admin inlines for QMs in LogbookEntry model
...
* Added QM list edit view
* Fixed "recent changes" box on front page
2009-06-10 00:05:02 +01:00
substantialnoninfringinguser
a3e42d3b19
[svn]
2009-06-09 23:13:11 +01:00
goatchurch
542f55d43e
[svn] backup settings
2009-06-09 19:52:32 +01:00
goatchurch
d87f221a2b
[svn] fix the revert and css
2009-06-09 19:15:31 +01:00
goatchurch
6237a19d17
[svn] the ajax page
2009-06-09 19:13:48 +01:00
goatchurch
17175637dc
[svn] codemirror
2009-06-09 18:59:54 +01:00
substantialnoninfringinguser
32b5c7fbb0
[svn] fix logfile setting
2009-06-09 18:20:55 +01:00
substantialnoninfringinguser
ef47d092e6
[svn] Edited wiki page through web user interface.
2009-06-09 02:29:21 +01:00
substantialnoninfringinguser
8648c85b67
[svn] Edited wiki page through web user interface.
2009-06-09 02:21:30 +01:00
substantialnoninfringinguser
657c37d45c
[svn] Created wiki page through web user interface. Lost the goddamn thing twice now due to browser crash and stupid back button so it's not done but I'm saving it anyway!
2009-06-09 02:06:13 +01:00
substantialnoninfringinguser
006becf6ca
[svn] Removed redundant fields "date" and "place" from Persontrip model. A PersonTrip's date and place are stored in its parent LogbookEntry. PersonTrips are the people who participate in the trip in a LogbookEntry, so it would make no sense to have different dates and places from the LogbookEntry they are foreignkeyed to.
2009-06-09 00:29:00 +01:00
substantialnoninfringinguser
012d948193
[svn] Rewrote get_absolute_url methods of models to use urlparse.urljoin instead of just +ing the urls together. This fixes problems with double slashes.
2009-06-08 20:16:18 +01:00
pjrharley
a048adcdac
[svn] A few registration updates
...
-display an error for nonmatching passwords
-display an error for short passwords
-dont direct people to http://http://sitename....
2009-05-30 16:17:19 +01:00
substantialnoninfringinguser
b091e8eb09
[svn] Have control panel display an error for logged in, non-superuser users.
2009-05-24 23:24:59 +01:00
pjrharley
14b39d906c
[svn] Use the django compatability thing - webserver might have old python on it....
2009-05-23 21:13:53 +01:00
substantialnoninfringinguser
0508ba299c
[svn] Fix mistakes in export admin actions. The python serializer only works on simple objects (lists, dicts etc) and not model instances so nix that part.
2009-05-23 20:46:10 +01:00
substantialnoninfringinguser
02db5a9170
[svn] Re-enable JSON and XML export actions in admin pages now that troggle is using latest SVN version of Django.
2009-05-23 20:37:42 +01:00
substantialnoninfringinguser
93a68ff43e
[svn] Fix broken admin link.
2009-05-23 20:06:05 +01:00
substantialnoninfringinguser
97e423ba86
[svn] fix imports
2009-05-23 16:51:21 +01:00
substantialnoninfringinguser
3033f1eecd
[svn] Created wiki page through web user interface.
2009-05-22 22:38:41 +01:00
pjrharley
f4405a16f1
[svn] Dont say activation failed if it didn't\!
2009-05-22 21:02:48 +01:00
pjrharley
025b743070
[svn] Accidentally commited another change... so might as well add the template to go with it. Send activation email as text and html so the link is clickable
2009-05-22 21:02:24 +01:00
pjrharley
e27f5565cb
[svn] Use hashlib rather than depreciated sha
2009-05-22 20:59:03 +01:00
substantialnoninfringinguser
7fe5cd6ede
[svn] Edited wiki page through web user interface.
2009-05-22 08:17:17 +01:00
substantialnoninfringinguser
7052355596
[svn] Edited wiki page through web user interface.
2009-05-22 07:59:37 +01:00
substantialnoninfringinguser
1e6d1a9f2f
[svn] Created wiki page through web user interface.
2009-05-22 07:58:58 +01:00
substantialnoninfringinguser
a776c6ba13
[svn] Created wiki page through web user interface.
2009-05-22 07:47:11 +01:00
substantialnoninfringinguser
75f782ab71
[svn] more survey binder updates
2009-05-22 06:49:13 +01:00
substantialnoninfringinguser
832f56a6d0
[svn] fix wrongly named template tags
2009-05-22 06:43:25 +01:00
substantialnoninfringinguser
f6d3a7c84e
[svn] switched from dodgy manually writing to logfile to using python's logging module, which seems great
2009-05-22 06:17:24 +01:00
substantialnoninfringinguser
7769a35f07
[svn] - Remove feature (admin JSON / XML downloads) which won't work until we have django 1.1 installed (works on my SVN version, but not on seagrass debian package version).
...
- Copy feincms media to project so that we don't have to serve it separately. Also useful because we may want to customize it.
2009-05-22 02:54:09 +01:00
substantialnoninfringinguser
c38dfd20a1
[svn] * Make subcave urls work.
...
* Add json and xml download to admin.
2009-05-22 01:50:16 +01:00
substantialnoninfringinguser
83634fe95a
[svn] minor logfile mistake
2009-05-21 22:55:08 +01:00
substantialnoninfringinguser
e336e9c770
[svn] allow the recreate tables thing on control panel to work
2009-05-21 20:46:24 +01:00
substantialnoninfringinguser
3ac1169aa7
[svn] fix minor logfile error
2009-05-21 20:24:21 +01:00
substantialnoninfringinguser
3d8a6fb55a
[svn]
2009-05-21 20:17:07 +01:00
substantialnoninfringinguser
891b3abb44
[svn] Updates to allow subcave tree with nice admin.
2009-05-21 19:47:19 +01:00
substantialnoninfringinguser
01b0980c44
[svn] forgot to add earlier
2009-05-20 03:28:48 +01:00
substantialnoninfringinguser
2c2f11be39
[svn]
2009-05-19 06:32:42 +01:00
substantialnoninfringinguser
d71078d03d
[svn]
2009-05-18 04:30:26 +01:00
substantialnoninfringinguser
12009e36df
[svn] Turn main menu into dropdown (well actually, drop up) menu.
2009-05-18 04:25:42 +01:00
substantialnoninfringinguser
21c39f70de
[svn] - Make control panel downloads (qm.csv for each cave, CAVETAB2.CSV) work.
...
- Fix problems in QM parsing script
2009-05-17 04:31:23 +01:00
substantialnoninfringinguser
7566faf77b
[svn] Make the workaround to avoid parsing interlaced pngs actually work (see issue # 14)
2009-05-15 03:56:11 +01:00
substantialnoninfringinguser
f27d5988f0
[svn] semi ugly hack...
2009-05-15 03:38:11 +01:00
substantialnoninfringinguser
d8a215a575
[svn] Add: new generic object list template object_list.html, and convenience filter named "link" for making links from objects, and make expeditions list page using those two. Also, fixed survey parsing in databaseReset.py
2009-05-15 03:29:19 +01:00
substantialnoninfringinguser
118d132797
[svn] Forgot to upload with earlier commit
2009-05-14 14:24:46 +01:00
substantialnoninfringinguser
06487e5534
[svn] localsettings should override settings, so the import should be at the bottom of the file, unless someone has a better way of doing this
2009-05-14 06:39:36 +01:00
substantialnoninfringinguser
c0b73d4777
[svn]
2009-05-14 06:32:58 +01:00
substantialnoninfringinguser
e9e755b517
[svn] Fixed broken buttons on controlpanel, added CAVETAB2.CSV export and download buttons and made them work too.
...
Changed ordering on PersonExpeditions so that it is based on their expedition. That way, even if we don't have date info on when a user was on expo exactly, pages like personindex work correctly.
2009-05-14 06:19:46 +01:00
substantialnoninfringinguser
191619e6d8
[svn] Add link to google code issue tracker
2009-05-13 07:01:45 +01:00
substantialnoninfringinguser
0f64e786b5
[svn] Made the subcaves work! Now we just have to figure out how to parse them...
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8343 by cucc @ 5/11/2009 6:36 AM
2009-05-13 06:28:36 +01:00
substantialnoninfringinguser
7164296c9d
[svn]
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8342 by cucc @ 5/11/2009 3:23 AM
2009-05-13 06:27:45 +01:00
substantialnoninfringinguser
787445c071
[svn]
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8341 by cucc @ 5/11/2009 3:21 AM
2009-05-13 06:27:00 +01:00
substantialnoninfringinguser
d9d119c0c9
[svn] django-evolution is optional so shouldn't be in main settings
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8340 by cucc @ 5/11/2009 3:18 AM
2009-05-13 06:26:17 +01:00
substantialnoninfringinguser
c45eb31e8f
[svn] Switch from photologue to imagekit. Less bloat.
...
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8338 by cucc @ 5/11/2009 3:08 AM
2009-05-13 06:24:52 +01:00
substantialnoninfringinguser
b31d022c1a
[svn] Dynamic thumbnail generation for photos and survey scans using 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
2009-05-13 06:23:57 +01:00
substantialnoninfringinguser
919c7e932a
[svn] Fixes to deal with reorganization of expo surveys repository. Now that survey scans and Surveys.csv are in different directories, we have two settings variables, settings.SURVEYS for the root of the survey repo, and settings.SURVEY_SCANS for the surveyscans directory.
...
Fixed tab / indent muck in surveys parser. Commented out some "file abstraction" stuff for the time being.
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8335 by cucc @ 5/10/2009 7:26 AM
2009-05-13 06:22:53 +01:00
substantialnoninfringinguser
9489fe56d9
[svn] Improve registration system.
...
Add jquery fade effects and quick search.
Copied from http://cucc@cucc.survex.com/svn/trunk/expoweb/troggle/ , rev. 8334 by cucc @ 5/10/2009 5:23 AM
2009-05-13 06:22:07 +01:00