diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2025-06-14 14:12:13 +0300 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2025-06-14 14:12:13 +0300 |
commit | e1d7b350159ba577cfa791da7ea43726e4516796 (patch) | |
tree | 875ec3ead0ffe9b781721ddea0877dc32a72fe2d | |
parent | 40aeee9bf97ca3aadbebb48cd8221fefb8a094f8 (diff) | |
download | troggle-e1d7b350159ba577cfa791da7ea43726e4516796.tar.gz troggle-e1d7b350159ba577cfa791da7ea43726e4516796.tar.bz2 troggle-e1d7b350159ba577cfa791da7ea43726e4516796.zip |
documentaiton for Becka as to where to find drawings files
-rw-r--r-- | parsers/drawings.py | 5 | ||||
-rw-r--r-- | parsers/logbooks.py | 1 | ||||
-rw-r--r-- | templates/dwgfiles.html | 7 |
3 files changed, 12 insertions, 1 deletions
diff --git a/parsers/drawings.py b/parsers/drawings.py index f34cd70..309926e 100644 --- a/parsers/drawings.py +++ b/parsers/drawings.py @@ -16,11 +16,14 @@ todo = """ - Rename functions more consistently between tunnel and therion variants - Refactor to use pathlib instead of whacky resetting of loop variable inside loop - to scan sub-folders. + to scan sub-folders. This will definitely break at some point.. - Recode rx_valid_ext to use pathlib suffix() function - Recode load_drawings_files() to use a list of suffices - not the huge if-else monstrosity + +- implement: findimportinsert(therionfile, imp) + Tries to link the scrap (Therion format) to the referenced therion scrap """ rx_valid_ext = re.compile(r"(?i)\.(?:png|jpg|pdf|jpeg|gif|txt)$") diff --git a/parsers/logbooks.py b/parsers/logbooks.py index 3c1d3f5..b53756b 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -58,6 +58,7 @@ LOGBOOK_PARSER_SETTINGS = { LOGBOOKS_DIR = "years" # subfolder of settings.EXPOWEB ENTRIES = { + "2025": 1, "2024": 127, "2023": 131, "2022": 94, diff --git a/templates/dwgfiles.html b/templates/dwgfiles.html index 8325d87..cfda968 100644 --- a/templates/dwgfiles.html +++ b/templates/dwgfiles.html @@ -3,7 +3,14 @@ {% block title %}Drawings files{% endblock %} {% block content %} +<h3>All Tunnel and Therion files - in the repository</h3> +<p>You can see an up to date list of drawings files by looking at +<a href="/repositories/drawings/.git/tree/">the drawings repository</a>. This is up to date even if the upload +has been done <em>after</em> the most recent database reset. + <h3>All Tunnel and Therion files - linked to wallets, survey scans, frames and scraps</h3> +<p>This is the list of drawings as at the most recent database reset. + <table style="font-size: 85%" width=95%> <tr><th>Drawing (Tunnel or Therion) File</th><th>Size</th><th>Paths</th><th>Wallets</th><th>Scan files in the wallets</th><th>Frames</th></tr> |