Commit graph

3792 commits

Author SHA1 Message Date
Julian Stirling
c89a2d24c2 Merge branch 'vue-matrix-display' into 'v3'
A matrix display component with copy button that copys as code.

See merge request openflexure/openflexure-microscope-server!436
2025-11-10 13:50:39 +00:00
Julian Stirling
89f318f982 All CSM details in a list, ensure details only show when defined, disable download option if calibration undefined 2025-11-10 12:54:26 +00:00
Julian Stirling
a267b82311 Improve copy button's style in dark mode 2025-11-10 12:33:11 +00:00
Julian Stirling
045410b2e6 A matrix display component with copy button that copys as code. 2025-11-10 12:33:11 +00:00
Julian Stirling
5fd16bd113 Merge branch 'skip-vs-next-in-cal' into 'v3'
Skip buttons on calibration wizard

Closes #403

See merge request openflexure/openflexure-microscope-server!433
2025-11-10 12:26:39 +00:00
Julian Stirling
1f22346ce6 Camera calibration step in wizard skip until calibrated. 2025-11-05 09:05:24 +00:00
Julian Stirling
e1172248b0 Camera stage mapping step in wizard says skip until complete. 2025-11-05 09:05:24 +00:00
Julian Stirling
e71a25733b Fix CSM settings from erroring
CSM settings was erroring due to reading properties that don't exist and calculating
using nulls.
2025-11-05 09:05:17 +00:00
Julian Stirling
40b3d993ee Merge branch 'ongoing-scan-data-warning' into 'v3'
Stop reading scan_data.json for ongoing scan.

Closes #583

See merge request openflexure/openflexure-microscope-server!426
2025-11-04 22:15:59 +00:00
Julian Stirling
cd5d74b5e6 Add tests for not reading ongoing scan data 2025-11-04 18:50:17 +00:00
Julian Stirling
093bbcfd72 Report duration as ongoing for ongoing scans 2025-11-04 18:50:17 +00:00
Julian Stirling
ff70e44858 Don't read json data of ongoing scans 2025-11-04 18:50:17 +00:00
Julian Stirling
46e9070a33 Rename ScanListData to ScanListInfo as it containts ScanInfo not ScanData objects 2025-11-04 18:50:17 +00:00
Julian Stirling
c2b8706fb5 Merge branch 'update-js-toolchain' into 'v3'
Update js toolchain

See merge request openflexure/openflexure-microscope-server!431
2025-11-04 17:10:28 +00:00
Julian Stirling
7ea5c74626 Remove --openssl-legacy-provider node option 2025-11-03 11:33:35 +00:00
Julian Stirling
65db119791 Update axios, less, material-symbols, and uikit; fix to osd scan viewer 2025-11-03 11:33:35 +00:00
Julian Stirling
1601bdd123 Let prettier change a load of things because new prettier has new rules :( 2025-11-03 11:33:33 +00:00
Julian Stirling
a05156407b Update JS toolchain to use newer core-js and vue-cli 2025-11-03 11:28:51 +00:00
Julian Stirling
0b4c90ed9d Merge branch 'local-storage-in-store' into 'v3'
Local storage in store

See merge request openflexure/openflexure-microscope-server!430
2025-11-03 11:27:25 +00:00
Julian Stirling
97fa0b03b2 Move all other local storage into the store. 2025-11-02 13:16:44 +00:00
Julian Stirling
e9eec20027 Store can optionally (per key) read/load from local storage tested with appTheme 2025-11-02 12:07:24 +00:00
Julian Stirling
d4e9d4c348 Remove unused syncDataWithLocalStorage.js 2025-11-02 12:06:10 +00:00
Julian Stirling
2bc8955f9c Merge branch 'split-action-button-methods' into 'v3'
Split up the action button methods for monitoring and starting a task

Closes #442

See merge request openflexure/openflexure-microscope-server!428
2025-10-30 20:37:03 +00:00
Julian Stirling
d7e406113e Merge branch 'dont-mutate-tuning-files' into 'v3'
Update the picamera tuning file utilities to not modify the dictionaries in place

Closes #474 and #579

See merge request openflexure/openflexure-microscope-server!418
2025-10-30 13:28:39 +00:00
Julian Stirling
830929a693 Split up the action button methods for monitoring and starting a task
Previously the start task method of action button handled awaiting
polling and resetting variables when the task completes. If an ongoing
task was found polling was started so that logs could be communicated
but no clean up happened when the task finished. This has been split
up and the checks for ongoing tasks improved so they also clean up
after ongoing tasks finish.

Closes #442
2025-10-30 10:28:12 +00:00
Julian Stirling
a1ae2c516b Merge branch 'scan-pagination' into 'v3'
Add pagination to scan list

Closes #368

See merge request openflexure/openflexure-microscope-server!421
2025-10-29 13:53:40 +00:00
Julian Stirling
3da1b8a9c3 Add event to scroll to top on scan page change 2025-10-29 13:29:36 +00:00
jaknapper
cd5d5149a3 Add pagination to scan list 2025-10-29 13:18:25 +00:00
Julian Stirling
9a01f74cfd Update picamera test coverage data 2025-10-29 13:15:16 +00:00
Julian Stirling
7d583dcf94 Apply suggestions from code review of branch dont-mutate-tuning-files
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk>
2025-10-29 13:08:10 +00:00
Julian Stirling
e9c912d910 Add unit test to check tuning is persistent after picamera calibration and modifying LST 2025-10-29 13:08:10 +00:00
Julian Stirling
ee2ef848b1 Add native implementation of find_tuning_algo 2025-10-29 13:08:10 +00:00
Julian Stirling
2010e8eeb2 Further improve picamera tests to reuse fixtures and context managers. 2025-10-29 13:08:10 +00:00
Julian Stirling
995a464ba2 Rearrange Picamera tests to start using server context manager. 2025-10-29 13:08:10 +00:00
Julian Stirling
815b112069 Update the picamera tuning file utilities to not modify the dictionaries in place 2025-10-29 13:08:10 +00:00
Julian Stirling
93ff7999f5 Merge branch 'deduplicate-tabs-and-scroll' into 'v3'
De-duplicate HTML for tab content, add way for tab to request scroll to top

See merge request openflexure/openflexure-microscope-server!424
2025-10-29 12:51:49 +00:00
Joe Knapper
631971ed50 Merge branch 'strict-raise-tests' into 'v3'
Stricter rules on pytest.raises, requiring match for generic error types

Closes #560

See merge request openflexure/openflexure-microscope-server!425
2025-10-29 10:51:44 +00:00
Julian Stirling
e4cb48eb6d Stricter rules on pytest.raises, requiring match for generic error types
Closes #560
2025-10-28 17:20:40 +00:00
Julian Stirling
d2c9122720 De-duplicate HTML for tab content, add way for tab to request scroll to top 2025-10-28 16:32:47 +00:00
Julian Stirling
a89306b3b8 Merge branch 'format-js' into 'v3'
Enable JS formatting checks in CI, reformat to match

See merge request openflexure/openflexure-microscope-server!422
2025-10-28 16:27:36 +00:00
Julian Stirling
758a5a73e9 Remove field components that we don't use 2025-10-28 15:44:17 +00:00
Julian Stirling
a5da5241ae Fix lint warnings 2025-10-28 15:44:17 +00:00
Julian Stirling
c085d2c0ac Run lint:fix and accept a huge formatting change 2025-10-28 15:44:17 +00:00
Julian Stirling
3900c3e1ad Add prettier config, stop npm lint formatting, warn if formatting bad 2025-10-28 15:44:17 +00:00
Joe Knapper
5cd8a0a38d Merge branch 'remove-whitebalance' into 'v3'
Set Colour Gains from lens shading tables

Closes #451

See merge request openflexure/openflexure-microscope-server!417
2025-10-28 15:29:25 +00:00
Julian Stirling
49b757a091 Update picamera coverage info 2025-10-28 14:42:37 +00:00
Julian Stirling
2bc315f85d Update picamera cal docstring now white balance isn't its own method. 2025-10-28 14:00:02 +00:00
jaknapper
ba3f7f6cf5 Remove unused code, add comments 2025-10-28 14:00:01 +00:00
jaknapper
506693f653 Set colour gains directly from Lens Shading Table 2025-10-28 13:58:53 +00:00
Julian Stirling
21f0c81a88 Merge branch 'patch-config' into 'v3'
Specify config patches rather than full config files in settings

See merge request openflexure/openflexure-microscope-server!420
2025-10-27 17:29:38 +00:00