Commit graph

4492 commits

Author SHA1 Message Date
Julian Stirling
a11f9b7f62 Start making a structure for general UI specification 2026-03-10 15:25:36 +00:00
Julian Stirling
68c057f890 Merge branch 'uncropped-checkbox' into 'v3'
Remove uk-input from checkbox

See merge request openflexure/openflexure-microscope-server!535
2026-03-10 13:36:44 +00:00
Joe Knapper
22999f7d52 Remove uk-input from checkbox 2026-03-10 12:12:55 +00:00
Joe Knapper
11d8c6d604 Stop closing seadragon when going full screen 2026-03-09 19:45:40 +00:00
Joe Knapper
2e99e4c4c2 Merge branch '523-improve-validation-checks' into 'v3'
Improve Validation Checks

Closes #523

See merge request openflexure/openflexure-microscope-server!524
2026-03-09 19:19:18 +00:00
Joe Knapper
b0c9223b04 Move pre_scan and switch stream as late as possible 2026-03-09 18:53:39 +00:00
Julian Stirling
85eefcc903 Merge branch 'spinners-dont-tab' into 'v3'
Don't tab to spinners in webapp

Closes #717

See merge request openflexure/openflexure-microscope-server!531
2026-03-09 17:41:35 +00:00
Joe Knapper
7532dfcfa3 Merge branch 'jaknapper-v3-patch-32977' into 'v3'
Reorder Bug.md expected and actual behaviour with correct comments

See merge request openflexure/openflexure-microscope-server!532
2026-03-09 17:23:25 +00:00
Joe Knapper
16e5e09133 Edit Bug.md 2026-03-09 17:03:10 +00:00
Joe Knapper
d5bc855114 Update prettier to use automatic line endings 2026-03-09 16:18:45 +00:00
Joe Knapper
a9fdb376fe Tab index -1 for spinners so we dont tab to them 2026-03-09 15:50:22 +00:00
Beth Probert
6d66dd0ed8 Change make_path_safe to is_path_safe and update tests to reflect this 2026-03-09 15:45:32 +00:00
Beth Probert
3776828699 Fix final typo 2026-03-09 14:52:23 +00:00
Beth Probert
ada7585706 Fix typos 2026-03-09 14:40:51 +00:00
Beth Probert
f50b3d5cfa Allow spaces in linux paths 2026-03-09 14:29:24 +00:00
Beth Probert
b1d47c8aae Add final test case for path checking 2026-03-09 14:09:00 +00:00
Beth Probert
968237bec0 Ruff checks 2026-03-09 14:02:15 +00:00
Beth Probert
fc437f529c Merge branch '523-improve-validation-checks' of https://gitlab.com/openflexure/openflexure-microscope-server into 523-improve-validation-checks 2026-03-09 13:54:45 +00:00
Beth Probert
f67699fbc8 Raise warnings if there are unsafe file path elements rather than coercing file paths. Stitching still raises an error if your file name is unsafe 2026-03-09 13:54:43 +00:00
Julian Stirling
4fe0341225 Merge branch '714-improve-bug-template' into 'v3'
Update bug template to include table or configuration, more detail about how...

Closes #714

See merge request openflexure/openflexure-microscope-server!527
2026-03-09 12:16:45 +00:00
Julian Stirling
3fee78a213 Tweak css of dev docs to remove spaces between code and adjacent text. 2026-03-08 18:30:17 +00:00
Julian Stirling
e4c8f43c9c Merge branch 'check-setting-validation' into 'v3'
Add limits to background detect and settling time settings

Closes #421

See merge request openflexure/openflexure-microscope-server!518
2026-03-07 21:34:01 +00:00
Julian Stirling
e1b467424b Add configuration file docs to dev docs sidebar 2026-03-07 21:17:25 +00:00
Julian Stirling
5900306835 Add developer documentation for the config file. 2026-03-07 21:12:07 +00:00
Julian Stirling
e1a8b9907e Update picamera tests 2026-03-07 20:15:06 +00:00
Julian Stirling
1fa9e0b772 Move more development information to the dev docs to minimise repitition and getting out of sync 2026-03-07 19:03:01 +00:00
Beth Probert
14b3e5a627 Apply suggestions from code review of branch 523-improve-validation-checks
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-03-07 18:17:43 +00:00
Joe Knapper
25c733a0c3 Apply suggestions from code review of branch check-setting-validation
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-03-07 18:14:22 +00:00
Joe Knapper
c9cc4e8468 Apply suggestions from code review of branch check-setting-validation
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-03-07 18:14:22 +00:00
Joe Knapper
99b9b0f3d6 Add limits to noise level, sample density and downsample 2026-03-07 18:14:22 +00:00
Joe Knapper
06f12973f4 Add limits to background detect and settling time settings 2026-03-07 18:14:22 +00:00
Beth Probert
cfe49b21bf Fix typos 2026-03-06 16:34:28 +00:00
Beth Probert
538f8ffe09 Update bug template to include table or configuration, more detail about how often the bug happens, confirming that the user has checked this is a new bug, and the difference in expected and current behaviour. 2026-03-06 16:31:40 +00:00
Beth Probert
2395234322 Merge branch 'v3' into 523-improve-validation-checks 2026-03-06 16:11:19 +00:00
Julian Stirling
ba8de65fd2 Merge branch 'codespell-update' into 'v3'
Fix spellings found as codespell updates

See merge request openflexure/openflexure-microscope-server!526
2026-03-06 16:10:17 +00:00
Beth Probert
349485d43b Remove multi-underscores from allowed names 2026-03-06 15:52:50 +00:00
Beth Probert
2c2f97cb56 Force file names to be lower case to avoid Windows issues around case sensitivity when checking if a file already exists. Path names can be uppercase as these will be defined on a users system and pre-exist. Files are created by us so we can force sanitation 2026-03-06 15:37:01 +00:00
Julian Stirling
011fc5a795 Fix spellings found as codespell updates 2026-03-06 15:06:53 +00:00
Beth Probert
35f7adcf07 Codespell 2026-03-06 14:16:42 +00:00
Beth Probert
4395d4001c Allow relative imports with two dots at start of path. Update unit tests. 2026-03-06 14:13:00 +00:00
Beth Probert
e5429d6cda Change make_path_safe to allow single dot relative imports, but no dots anywhere else. Added new unit tests for this. 2026-03-06 14:07:07 +00:00
Beth Probert
713df248ff Add underscores to fix unit test 2026-03-06 09:53:41 +00:00
Julian Stirling
f7cb84bff5 Merge branch 'align-modal' into 'v3'
Align buttons in confirmation modal

Closes #709

See merge request openflexure/openflexure-microscope-server!525
2026-03-06 09:42:18 +00:00
Joe Knapper
76e80b299f Align buttons in confirmation modal 2026-03-05 16:36:10 +00:00
Beth Probert
7a17c92d3e Apply suggestions from code review of branch 523-improve-validation-checks
Co-authored-by: Julian Stirling <julian@julianstirling.co.uk>
2026-03-05 15:13:42 +00:00
Beth Probert
f52ce85b3e Ruff formatting 2026-03-05 14:04:33 +00:00
Beth Probert
35efba19b8 Use pytest parametrize for better coverage of forbidden commands and reserved names 2026-03-05 13:55:05 +00:00
Beth Probert
fa9ea77812 Ruff check 2026-03-05 13:42:55 +00:00
Beth Probert
48f6e1b369 Allow python and python3 as stitching commands. They are allowed. Move stitching tests into one file 2026-03-05 13:35:21 +00:00
Beth Probert
98e71207c5 Add forbidden windows commands to stitching and utilities to check for file name sanitation. Unit tests also added 2026-03-05 13:03:17 +00:00