Julian Stirling
90f106c87d
Change the classes for gallery cards information to be XxxGalleryInfo
...
ScanInfo -> ScanGalleryInfo
CaptureInfo -> CaptureGalleryInfo - note there were two classes
called CaptureInfo, only one has been changed to deduplicate the names
2026-07-02 16:38:18 +01:00
Julian Stirling
5a07721fc2
Start showing images in gallery (requires tidy)
2026-06-23 15:12:38 +00:00
Julian Stirling
a16d47ed61
ScanList gets scans from GalleryThing, no ongoing scans shown.
2026-05-06 16:01:09 +01:00
Beth Probert
349485d43b
Remove multi-underscores from allowed names
2026-03-06 15:52:50 +00:00
Julian Stirling
fbdea68ab7
Capture logs when scanning
2026-02-23 11:35:03 +00:00
Julian Stirling
19a6943d60
Use Invocation errors for expected errors.
2026-02-21 21:57:20 +00:00
Julian Stirling
8f30f08bdf
Apply suggestions from code review of branch scan-workflows
...
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-02-06 13:28:30 +00:00
Julian Stirling
c82523dd5b
Start updating unit tests after refactoring into ScanWorkflows
2026-01-16 09:28:15 +00:00
Julian Stirling
11ef1217e0
Docstrings and tweaks of ScanWorflow refactor
2026-01-16 09:28:15 +00:00
Julian Stirling
c938560f00
Docstrings and final tweaks of ScanWorflow refactor
2026-01-15 21:59:53 +00:00
Julian Stirling
665622a802
First working interation of ScanWorkflows. Needs a tidy
2026-01-15 20:59:53 +00:00
Julian Stirling
adab5bae24
Start smart stack parameters in scan workflow
2026-01-15 16:05:02 +00:00
Julian Stirling
b6343362b2
Start splitting ScanData into workflow specific data.
2026-01-15 12:59:06 +00:00
Julian Stirling
2e03ad28c4
Type fix scan directories
2026-01-09 15:18:05 +00:00
Julian Stirling
4060c06a2b
Assorted type fixes
2026-01-09 15:18:04 +00:00
Julian Stirling
7bc4c514a6
Autofix import order
2025-12-02 16:26:15 +00:00
Julian Stirling
ff70e44858
Don't read json data of ongoing scans
2025-11-04 18:50:17 +00:00
Julian Stirling
04d3162091
Send scan duration as a number (or null) from backend. Format in UI
2025-10-21 11:47:10 +01:00
Julian Stirling
6b1e40f689
Add flake8-simplicity rules
2025-09-18 16:21:45 +01:00
Julian Stirling
2ce49088e7
Add return typehints to magic methods
2025-08-27 18:56:09 +01:00
Julian Stirling
4c46330959
Add ANN20X rules to ruff
2025-08-27 18:56:08 +01:00
Julian Stirling
24233412af
Start adding ANN ruff rules
2025-08-27 18:54:15 +01:00
Julian Stirling
7f7809de9d
Update BaseModels to use ConfigDict rather than directly use a dictionary
2025-08-26 16:12:41 +01:00
Julian Stirling
5caae613dc
Apply suggestions from code review of branch yet-another-smart-scan-refactor
...
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-08-07 13:55:47 +00:00
Julian Stirling
f9fcdf628b
Squash final todos for SmartScan refactor
2025-08-06 17:27:26 +01:00
Julian Stirling
4e9b07c78f
Consolidate information into ScanData, remove ad-hoc differences for specific error in _run_scan
2025-08-06 17:27:26 +01:00
Julian Stirling
d7a7ac4c7d
More complete testing of code that runs stitching subprocess.
2025-08-06 17:27:26 +01:00
Julian Stirling
7569c7d6b2
Add validation checks to prevent arbitrary code execution via stitching.
2025-08-06 17:27:26 +01:00
Julian Stirling
573fc20dec
Add new tests new scan directory function and for scan data serialisation
2025-08-06 17:27:26 +01:00
Julian Stirling
6ceb1a9845
Pull stitching out of SmartScanThing
2025-08-06 17:27:26 +01:00
Julian Stirling
f449bcdd78
Turn scan_data into a BaseModel with validation for custom formatting
2025-08-06 17:27:26 +01:00
Julian Stirling
9be9097246
Make scan directory manager thread safe
2025-08-05 23:13:11 +01:00
Julian Stirling
e33fecaef0
Documentation of python magic class methods
2025-07-10 16:46:10 +01:00
Julian Stirling
a30b726b91
Class docstrings
2025-07-10 13:27:41 +01:00
Julian Stirling
80beeea07b
Add punctuation to docstrings
2025-07-10 09:24:50 +01:00
Julian Stirling
4dc41bb008
Single line summaries of docstrings
2025-07-10 09:24:49 +01:00
Julian Stirling
35d47fe3ed
Starting docstring on the same lines as the quotations
2025-07-10 09:24:49 +01:00
Julian Stirling
be6a6ca6fe
No starting docstrings with This
2025-07-10 09:24:49 +01:00
Julian Stirling
f51dae7b3a
Doc strings to imperative mood
2025-07-10 09:24:49 +01:00
Julian Stirling
a84a916719
Restructured text fixes so that pydoctor would return without an error
2025-07-09 23:59:08 +01:00
Julian Stirling
2e18c2017a
Apply suggestions from code review of branch download-stitched-image
...
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-07-02 09:39:33 +00:00
Julian Stirling
7295b86cf6
Split up ScanDirectory._find_files into seperate functions
2025-07-01 19:45:45 +01:00
Julian Stirling
254305a7a5
Clarify whether name or path is returned in scan directory functions
2025-07-01 19:21:56 +01:00
Julian Stirling
3671d52499
Do not zip DZI files, or their associated tiles
2025-07-01 09:04:14 +01:00
Julian Stirling
daf2cee481
Add tests and correct stitch path
2025-06-30 23:03:54 +01:00
jaknapper
ff43deae36
Download stitched image of scan (if present)
...
* Docstring for download stitch
* use global STITCH_SUFFIX
2025-06-30 20:18:48 +01:00
Julian Stirling
51f9df995d
More changes suggested in review, generally docstring issues.
2025-06-30 17:25:58 +01:00
Julian Stirling
ad838e8643
Apply suggestions from code review of branch split-scan-dir-operations
...
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-06-30 17:25:58 +01:00
Julian Stirling
7f0745d772
Add some more scan_directories tests
2025-06-28 23:59:35 +01:00
Julian Stirling
3aa9b9100a
Add a number of tests for scan directories and fix bugs
2025-06-27 21:06:16 +01:00