Commit graph

3780 commits

Author SHA1 Message Date
Julian Stirling
8b7de05a9c Building a recentre action with ROM methods 2025-11-04 18:54:15 +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
Julian Stirling
adf9736fab Add testing for patching json files 2025-10-27 15:07:45 +00:00
Julian Stirling
c7e4160a08 Implement patching base labthings configuration files 2025-10-27 15:07:45 +00:00
Julian Stirling
9e9764e196 Implement JSON Merge Patch from IETF RFC 7396 2025-10-27 15:07:43 +00:00
Julian Stirling
551e392e91 Merge branch 'pil-simulation' into 'v3'
Improve simulation frame rate

See merge request openflexure/openflexure-microscope-server!419
2025-10-27 14:29:55 +00:00
Julian Stirling
418a6b5364 Merge branch 'calibration-wizard-refactor' into 'v3'
Refactor Calibration Wizard

Closes #578

See merge request openflexure/openflexure-microscope-server!415
2025-10-27 14:15:05 +00:00
Julian Stirling
d27948a155 Reduce time jitter in simulation. 2025-10-27 13:37:53 +00:00
Julian Stirling
c8a028e27c And file coms in PIL 2025-10-27 13:37:53 +00:00
Julian Stirling
b8bdb430b7 Do blur in PIL 2025-10-27 13:37:53 +00:00
Julian Stirling
5282f03271 Apply suggestions from code review of branch calibration-wizard-refactor
Co-authored-by: Joe Knapper <joe.knapper@glasgow.ac.uk> and Julian
Stirling <julian@julianstirling.co.uk>
2025-10-27 13:00:54 +00:00
Julian Stirling
94c9a0e7dd Merge branch 'rom_test_only' into 'v3'
Adding automatic range of motion measurements

See merge request openflexure/openflexure-microscope-server!335
2025-10-27 12:18:31 +00:00
Julian Stirling
1a0338ae90 Update picamera coverage zip 2025-10-26 15:47:41 +00:00
Julian Stirling
df979eb3cf Add checks for new calibration required property to tests 2025-10-26 15:47:41 +00:00