Commit graph

4785 commits

Author SHA1 Message Date
Julian Stirling
1255b35635 Add better comments to test_gallery 2026-06-24 11:35:41 +01:00
Julian Stirling
d31d1154cc Apply suggestions from code review of branch image-capture
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2026-06-24 11:35:41 +01:00
Julian Stirling
58dd3f2afe Fix unit tests and use trueLabel not onLabel to not confuse vue mocks 2026-06-24 11:35:41 +01:00
Julian Stirling
0e24bb01f4 Add better testing for camera gallery functions 2026-06-23 15:12:38 +00:00
Julian Stirling
03d74bb044 Improve gallery tests and fix behaviour if a provider errors 2026-06-23 15:12:38 +00:00
Julian Stirling
cc6caa39d7 Gallery can delete all data. 2026-06-23 15:12:38 +00:00
Julian Stirling
bef63769df Further renaming within gallery 2026-06-23 15:12:38 +00:00
Julian Stirling
6ece96e802 Update gallery test now camera is a gallery thing. 2026-06-23 15:12:38 +00:00
Julian Stirling
5a07721fc2 Start showing images in gallery (requires tidy) 2026-06-23 15:12:38 +00:00
Julian Stirling
1e12900506 Use switch for whether to capture to the microscope 2026-06-23 15:12:38 +00:00
Julian Stirling
af18850c41 Add a toggle switch for image capture to gallery 2026-06-23 15:12:38 +00:00
Julian Stirling
2bcc98094f Merge branch 'smoke_test_components' into 'v3'
ui_migration Smoke test VUE components

Closes #733

See merge request openflexure/openflexure-microscope-server!604
2026-06-23 13:41:18 +00:00
Julian Stirling
7ec831c271 Merge branch 'log-empty' into 'v3'
Logging more info

Closes #799

See merge request openflexure/openflexure-microscope-server!618
2026-06-21 22:23:08 +00:00
Julian Stirling
559d211df8 Use same colours for empty log message as for info logs 2026-06-21 16:14:43 +01:00
Julian Stirling
131342253c Apply suggestions from code review of branch smoke_test_components
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2026-06-21 13:58:54 +00:00
Julian Stirling
60ee0a7f37 Merge branch 'camera-snapshot' into 'v3'
Provide an API endpoint for camera snapshots rather than relying on legacy.

Closes #557

See merge request openflexure/openflexure-microscope-server!619
2026-06-21 13:55:52 +00:00
Julian Stirling
2af87e6a35 Update picamera test results 2026-06-21 14:22:28 +01:00
Julian Stirling
267a02d0e8 Test snapshot image is generated 2026-06-21 14:07:00 +01:00
Julian Stirling
4d5fd0b698 Provide an API endpoint for camera snapshots rather than relying on legacy. 2026-06-21 13:41:29 +01:00
Antonio Anaya
3cc7a9f4e8 ui_migration fix(vitest) Add Error watchdog that fails test if vue raises functioning errors, add specific global to gallery that raised silent error and passed test, add JDDocs for documentation 2026-06-19 17:52:18 +00:00
Antonio Anaya
c33782e9d6 ui_migration feature(vitest) Reduce boilerplate code at overrides 2026-06-19 17:52:18 +00:00
Antonio Anaya
ffcc7f936b ui_migration feature(vitest) Split allComponents.spec.js for readability using now overrides.js for prop,mock component injection 2026-06-19 17:52:18 +00:00
Antonio Anaya
7e8f0b3957 ui_migration chore(gitignore) Ignore fixtures 2026-06-19 17:52:18 +00:00
Antonio Anaya
5ec088e07a ui_migration feature(vitest) Revisit allComponents.spec.js add jsdocstrings 2026-06-19 17:52:18 +00:00
Antonio Anaya
8f20e1211e ui_migration feature(vitest) Add setup for skipped experimental components 2026-06-19 17:52:18 +00:00
Antonio Anaya
3cc5875fdf ui_migration feature(vitest) Add setup for mock localStorage, a .spec.js file that loads all components for testing 2026-06-19 17:52:18 +00:00
Joe Knapper
9b12d5ca52 Merge branch 'dots-in-dirs' into 'v3'
Allow dots within filepaths if not trailing.

See merge request openflexure/openflexure-microscope-server!606
2026-06-19 10:47:52 +00:00
Joe Knapper
bbe6e99736 Always show results message 2026-06-19 10:38:45 +01:00
Joe Knapper
b14b30f9c7 Remove competing css from actionStatusModal including max-height 2026-06-18 17:11:05 +01:00
Joe Knapper
9796695b54 Padding around status 2026-06-18 14:54:54 +01:00
Joe Knapper
4c835d7be5 Clamp log summary to two lines with elipsis 2026-06-18 14:30:18 +01:00
Joe Knapper
816dad79fa Add task status messages to collapsed log, give summary more space 2026-06-18 12:59:41 +01:00
Joe Knapper
3c64c00b74 Help message appears if no logs at current level, conditional pagination 2026-06-18 12:59:05 +01:00
Julian Stirling
763a454c64 Merge branch 'sb-bump' into 'v3'
pysangaboard version bump

Closes #703

See merge request openflexure/openflexure-microscope-server!617
2026-06-18 10:49:28 +00:00
Joe Knapper
22f998ec60 pysangaboard version bump 2026-06-17 17:27:12 +00:00
Joe Knapper
9807643da1 Merge branch 'action-log-collapse' into 'v3'
Collapse action logs by default

See merge request openflexure/openflexure-microscope-server!616
2026-06-17 17:05:18 +00:00
Julian Stirling
7c753347ff Merge branch '756-update-debug-mode' into 'v3'
Debug flag

Closes #756

See merge request openflexure/openflexure-microscope-server!615
2026-06-17 17:05:11 +00:00
Joe Knapper
adbbed3961 More flexible resizing for small screens 2026-06-17 17:49:23 +01:00
Beth Probert
05b802b53e Fix docstring for document generation 2026-06-17 17:11:47 +01:00
Beth Probert
cf6fd4ccea Update to cover new logic. Updatee READMEs and Guides with --debug arg information 2026-06-17 16:59:43 +01:00
Joe Knapper
c860e1ee22 Apparently we do extra linting checks now? 2026-06-17 16:40:58 +01:00
Beth Probert
b1202723a1 Fix ruff
Add debug test

Add info log message for sanity

Add more useful logs

Edit configure_logging to change OFM level to debug if set in CLI

Update log message

Fix boot and int mix up

Fix string

Change string

Update logging string again

try changing OFM handler level

Change log slice

Fix syntax error

Add in OFMHandler logic, update webapp to show in logging tab and fix ruff
2026-06-17 16:29:50 +01:00
Joe Knapper
3f340ccabd Collapse action logs by default 2026-06-17 15:11:18 +01:00
Beth Probert
b235de39f6 Update customise_server to poll the debug flag in the LT server instead of re-reading the value from CLI arguments. 2026-06-17 12:22:12 +01:00
Joe Knapper
d3c4773884 Merge branch 'camera_modes' into 'v3'
Update camera API to use defined capture modes

Closes #424, #436, #786, #405, and #593

See merge request openflexure/openflexure-microscope-server!601
2026-06-16 13:53:04 +00:00
Julian Stirling
236190da64 Merge branch 'webapp-help' into 'v3'
Help text for errors

See merge request openflexure/openflexure-microscope-server!610
2026-06-16 09:15:01 +00:00
Joe Knapper
9ed4a005ab Merge branch 'about-links' into 'v3'
Add extra links to about

See merge request openflexure/openflexure-microscope-server!613
2026-06-12 15:23:28 +00:00
Joe Knapper
2bc5a95f25 Links as bullet points 2026-06-12 16:12:52 +01:00
Joe Knapper
806f60b1f2 Add extra links to about 2026-06-12 13:59:35 +01:00
Joe Knapper
d3958a90e0 Help text for errors 2026-06-11 12:57:44 +00:00