Commit graph

3536 commits

Author SHA1 Message Date
Julian Stirling
fd70c8a558
Merge branch 'reload-background-tab' into 'v3'
Reload background detect settings when tab opened

Closes #551

See merge request openflexure/openflexure-microscope-server!385
2025-09-09 16:24:36 +00:00
Julian Stirling
d6e8a9a9b3
Merge branch 'better-modal-formatting' into 'v3'
Format values in value confirmation modal to prevent overflow.

Closes #545

See merge request openflexure/openflexure-microscope-server!384
2025-09-08 12:23:30 +00:00
jaknapper
de0e74820c Reload background detect settings when tab opened 2025-09-05 17:27:34 +01:00
Joe Knapper
9973221ed9
Merge branch 'neighbour-ratio' into 'v3'
Change neighbour ratio to dx and dy

See merge request openflexure/openflexure-microscope-server!371
2025-09-05 10:56:29 +00:00
jaknapper
980b1e5187 Type hints to inits in scan planners 2025-09-05 11:22:43 +01:00
jaknapper
ce5a22eb64 Added neighbour ratio to spiral scan init 2025-09-05 10:55:21 +01:00
Julian Stirling
764d34c766 Format values in value confirmation modal to prevent overflow. 2025-08-28 18:41:58 +01:00
Julian Stirling
bb29c50032 Merge branch 'tweak-property-controls' into 'v3'
Improve property control UI

Closes #456

See merge request openflexure/openflexure-microscope-server!383
2025-08-28 17:30:51 +00:00
Julian Stirling
cb62bc3cc6 Merge branch 'ANN-rules' into 'v3'
Enable ruff checks for type annotations

See merge request openflexure/openflexure-microscope-server!382
2025-08-28 17:30:47 +00:00
Julian Stirling
a391d41750 Improve comments for inputFromSchema value setting 2025-08-28 17:47:01 +01:00
Julian Stirling
4fe922cbfc Improve tooltip text 2025-08-28 17:36:04 +01:00
Julian Stirling
acb24d9713 Fix accept animation in chrome 2025-08-28 17:21:51 +01:00
Julian Stirling
212b8fe062 Colour propery box on input, flash green on update, only modal notify if value is not set exactly 2025-08-28 14:44:34 +01:00
Julian Stirling
80ee303ac9 Update the reload property button next to property controls 2025-08-28 11:12:19 +01:00
Julian Stirling
823456dbc2 Refresh property value if failed to set. 2025-08-28 11:11:27 +01:00
Julian Stirling
51f0ac3d82 Update Picamera coverage data 2025-08-28 09:34:30 +01:00
Julian Stirling
8500b479f5 No Never returns from actions in base Thing classes 2025-08-28 09:13:44 +01:00
Julian Stirling
8f78369aaf fixup! Add ANN20X rules to ruff 2025-08-27 18:56:19 +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
d673196671 Add ANN002, and ANN003 rules 2025-08-27 18:54:16 +01:00
Julian Stirling
24233412af Start adding ANN ruff rules 2025-08-27 18:54:15 +01:00
Julian Stirling
154f063ab3 Merge branch 'unify-jpeg-capture' into 'v3'
Deduplicating camera functionality

Closes #299, #429, and #355

See merge request openflexure/openflexure-microscope-server!378
2025-08-27 17:14:41 +00:00
Julian Stirling
87815f7678 Update picamera_coverage.zip for camera capture changes 2025-08-27 17:30:51 +01:00
Julian Stirling
b46f429c1f Apply suggestions from code review of branch unify-jpeg-capture
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2025-08-27 17:30:51 +01:00
Julian Stirling
5bb742881f Fix typehints and docs for opencv camera 2025-08-27 17:30:51 +01:00
Julian Stirling
b124355fed Fix capture array for raw stream 2025-08-27 17:14:49 +01:00
Julian Stirling
23a3a5b464 Update argument names in picamera tests 2025-08-27 17:14:49 +01:00
Julian Stirling
7cd6b11411 Further unification of camera array functionality 2025-08-27 17:14:49 +01:00
Julian Stirling
5484b51a1e Unify JPEG capture, metadata, and saving; reducing duplication 2025-08-27 17:14:49 +01:00
Julian Stirling
4450fda945 Merge branch 'simulation_wrap' into 'v3'
Make simulation image wrap to prevent errors when moving out of range.

Closes #513

See merge request openflexure/openflexure-microscope-server!380
2025-08-27 16:13:24 +00:00
Julian Stirling
2325dced5e Merge branch 'test-server-startup' into 'v3'
Test server startup

See merge request openflexure/openflexure-microscope-server!379
2025-08-27 16:11:34 +00:00
Julian Stirling
19ae7e9802 Merge branch 'pydantic-syntax' into 'v3'
Update BaseModels to use ConfigDict rather than directly use a dictionary

See merge request openflexure/openflexure-microscope-server!381
2025-08-27 16:10:28 +00:00
Julian Stirling
4af4e89c0a Merge branch 'no-uvicorn.error-logs-without-error' into 'v3'
Stop reporting uvicorn.error in log file unless log it is an error

Closes #511

See merge request openflexure/openflexure-microscope-server!375
2025-08-27 14:30:11 +00:00
Julian Stirling
5515d55e6d Merge branch 'error-types' into 'v3'
Tweak a few error types.

Closes #320

See merge request openflexure/openflexure-microscope-server!376
2025-08-27 13:47:26 +00:00
Julian Stirling
94eb331435 Merge branch 'add-fullscreen-toggle' into 'v3'
Add fullscreen toggle button.

Closes #390

See merge request openflexure/openflexure-microscope-server!377
2025-08-27 13:38:18 +00:00
Julian Stirling
353d311c1e Apply suggestions from code review of branch no-uvicorn.error-logs-without-error
Co-authored-by: Richard Bowman <richard.bowman@cantab.net>
2025-08-27 13:24:37 +00: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
c31fffad5b Make simulation image wrap to prevent errors when moving out of range. 2025-08-26 16:03:56 +01:00
Julian Stirling
2d89cdd3a3 Add tests for the legacy api 2025-08-24 20:45:55 +01:00
Julian Stirling
e53f4e3b2b Remove the conftest defined fixtures as mock methods return mocks already removing the need for the defined mocks 2025-08-24 19:22:19 +01:00
Julian Stirling
867cd0cad1 Add further server setup tests splitting up configuration testing from CLI 2025-08-24 19:11:03 +01:00
Julian Stirling
405299b221 Test server configuration helper functions 2025-08-22 23:11:27 +01:00
Julian Stirling
98193189f8 Add fullscreen toggle button. 2025-08-21 18:48:31 +01:00
Julian Stirling
a0f7441a42 Merge branch 'prevent-broken-frames-ending-scans' into 'v3'
Prevent broken frames ending scans

Closes #431

See merge request openflexure/openflexure-microscope-server!374
2025-08-21 17:43:55 +00:00
Julian Stirling
3db16003b5 Update picamera_coverage.zip as base camera changed 2025-08-21 18:10:48 +01:00
Julian Stirling
9257c4489e Apply suggestions from code review of branch prevent-broken-frames-ending-scans
Co-authored-by: Beth Probert <beth_probert@outlook.com>
2025-08-21 18:05:46 +01:00
Julian Stirling
d5e2a48f32 Fix tests to catch correct error types 2025-08-21 16:21:09 +01:00
Julian Stirling
dade26cde1 Tweak a few error types. 2025-08-21 16:11:30 +01:00
Julian Stirling
95969c5daa Improve typehinting for logging 2025-08-21 15:49:00 +01:00