Commit graph

2726 commits

Author SHA1 Message Date
Richard Bowman
1339c23757 Bump some logging statements to DEBUG
Any action that takes captures ends up with
a log that's full of capture write operations,
because each new capture generates 6-10
messages.

I'm moving said messages to DEBUG because I
don't think they are important any more, and
they do clutter up the log.
2022-01-13 14:56:18 +00:00
Richard Bowman
23bf3410f3 Code formatting fixes from black 2022-01-13 14:47:38 +00:00
Joe Knapper
2d494b41d9 Added docstring for measure_settling_time and hold 2022-01-11 15:46:15 +00:00
Joe Knapper
ecbdd8a5bf Added measure_settling_time function to autofocus 2021-12-01 13:09:32 +00:00
Guillaume Gay
046c28db97 Fix small typo, fixes #243 2021-11-26 11:07:59 +00:00
Richard Bowman
315ee0950b Merge branch 'zenodo-upload' into 'master'
Added automatic upload of tags to Zenodo.

See merge request openflexure/openflexure-microscope-server!146
2021-09-28 10:21:33 +00:00
Richard
e26331f2ba Disable sandbox - it works! 2021-09-28 10:56:53 +01:00
Richard
c19ff84344 Fix CI configuration 2021-09-28 10:24:02 +01:00
Richard
a0788ac333 Added automatic upload of tags to Zenodo.
Co-authored-by: Kaspar Emanuel <kaspar@monostable.co.uk>
2021-09-28 10:20:39 +01:00
Richard Bowman
8bd661a066 Merge branch 'release-prep' into 'master'
Release prep

See merge request openflexure/openflexure-microscope-server!145
2021-09-27 13:55:22 +00:00
Richard
e5ba12aab1 Version bump 2021-09-22 00:15:14 +01:00
Richard
dc3801d444 Wrote a changelog for the latest release 2021-09-22 00:14:40 +01:00
Richard
47cc594a3b Mention the user guide in README 2021-09-22 00:03:40 +01:00
Kaspar Emanuel
4048b62674 Merge branch 'fix-readthedocs' into 'master'
Documentation improvements

See merge request openflexure/openflexure-microscope-server!140
2021-09-21 17:48:23 +00:00
Richard
67b57727f6 Format fixes 2021-09-21 17:45:17 +01:00
Richard
3971a92a5f Install more dependencies
This commit fixes a couple of errors in the Sphinx docs, by
removing mock imports and replacing them with real ones.
2021-09-21 17:38:15 +01:00
Richard
f0fcd53487 Update link to openapi documentation 2021-09-21 15:41:29 +01:00
Richard
ebf8376bd4 Formatting fixes 2021-09-21 14:48:41 +01:00
Richard
72c060c213 Workaround for LFS images
There is now code in `conf.py` to install git LFS and to check images
are correctly fetched.
2021-09-21 14:22:22 +01:00
Richard
107ef80b9e Track documentation images with LFS
PNG images in the docs/ directory will be tracked using LFS, to
avoid the repo becoming unmanageable.
2021-09-21 14:04:08 +01:00
Richard
151d9f1bc0 Various fixes to docs
I've added a lot more mock imports so the automatic documentation now works.

I've updated the links between pages (removing .rst extension) so they work.

I've added a link to the settings pane image.
2021-09-21 14:04:08 +01:00
Richard
a09d2411a0 Add documentation of the web app
A first pass of documentation describing the web app GUI.  Screenshots
are committed as LFS objects, I've been deliberately conservative here
(only png files in the docs/ directory are LFSed) to avoid messing
with any static files in the web app.
2021-09-21 14:04:08 +01:00
Richard
3b40ae9918 Don't build OpenAPI automatically
Readthedocs won't be able to build OpenAPI, so I've removed this from
the makefile.
2021-09-21 14:04:08 +01:00
Richard Bowman
1cd097b7aa First attempt at fixing readthedocs
This removes the API documentation - we will render it separately.
2021-09-21 14:04:08 +01:00
Richard Bowman
a611d4f5ce Deploy OpenAPI description properly 2021-09-21 14:04:08 +01:00
Richard Bowman
a2de316e31 Merge branch 'update-js-dependencies' into 'master'
Run `npm audit fix`

See merge request openflexure/openflexure-microscope-server!141
2021-09-16 16:28:16 +00:00
Kaspar Emanuel
9cc26b8060 Merge branch 'hide-smart-stack-controls' into 'master'
Hide smart stack controls when they are not required

See merge request openflexure/openflexure-microscope-server!142
2021-09-16 15:17:42 +00:00
Richard
bb4b7335a3 Hide smart stack controls when they are not required
The code that checked for the presence of the smart stack plugin had a typo,
and would display smart stack controls whenever the stack and scan extension
was detected (whether or not the smart stack extension was enabled).

This is now fixed.
2021-09-16 15:47:11 +01:00
Kaspar Emanuel
f5c01c612b Run npm audit fix 2021-09-16 15:45:12 +01:00
Kaspar Emanuel
0e628e0d53 Merge branch 'move-js' into 'master'
Move Vue app to a "webapp" directory

See merge request openflexure/openflexure-microscope-server!122
2021-09-16 14:37:00 +00:00
Kaspar Emanuel
b2eb1e0f05 Rename js directory to webapp 2021-09-16 15:13:19 +01:00
Richard
375bcf4e73 fix typo in artifact path 2021-09-16 15:13:19 +01:00
Richard
a42e94ce66 Fix JS build artifact
The JS build step was reporting the JS source folder as an artifact.
I've updated it to use the output folder instead.
2021-09-16 15:13:19 +01:00
Kaspar Emanuel
c835bf3b7e Update readme with new js directory 2021-09-16 15:13:18 +01:00
Kaspar Emanuel
caa6284e7d Add missing vue-config 2021-09-16 15:13:18 +01:00
Kaspar Emanuel
dd0b8b9a8b Change static folder to js folder in gitlab-ci 2021-09-16 15:13:17 +01:00
Kaspar Emanuel
13f7252dd7 Move Vue app to a js directory 2021-09-16 15:13:17 +01:00
Richard Bowman
515bee1422 Merge branch 'check-error-in-task-submitter-response' into 'master'
Move error handling for taskSubmitter

See merge request openflexure/openflexure-microscope-server!138
2021-09-07 14:57:25 +00:00
Richard Bowman
74dbbf7d18 Merge branch 'expose-openapi-artifact' into 'master'
Make OpenAPI easier to download from a MR

See merge request openflexure/openflexure-microscope-server!139
2021-09-07 14:56:59 +00:00
Kaspar Emanuel
c5f47c922c Merge branch 'remove-defunct-error-handler' into 'master'
Remove vestigial error handling code

See merge request openflexure/openflexure-microscope-server!137
2021-09-07 13:20:46 +00:00
Richard
5ba285ac15 Make OpenAPI easier to download from a MR 2021-08-26 23:38:27 +01:00
Richard
3d33218072 Move error handling for taskSubmitter
taskSubmitter ended up in a confused state if the initial POST request
encountered an error.
I've updated `startPolling` to return a Promise, and moved the
error handling code to the top level.

This doesn't change anything for the case where we get a non-error
response to the POST request, but means that e.g. 400 errors
get caught and displayed properly.
2021-08-26 23:12:47 +01:00
Richard
ae96340d79 Remove unused import 2021-08-23 20:53:04 +01:00
Richard Bowman
6a484514a9 Remove vestigial error handling code
LabThings now handles HTTPErrors properly, so I am removing
this copy-pasted workaround.
2021-08-23 16:08:50 +01:00
Richard Bowman
76a807fba5 Merge branch 'beta-release-prep' into 'master'
Readme, changelog, version bump

See merge request openflexure/openflexure-microscope-server!136
2021-08-19 07:36:01 +00:00
Richard Bowman
feedda87ed Merge branch 'upload-test-reports' into 'master'
Generate and use pytest XML reports

See merge request openflexure/openflexure-microscope-server!135
2021-08-17 15:30:39 +00:00
Richard Bowman
3e02fe4790 Merge branch 'static-docs' into 'master'
Improved API docs

See merge request openflexure/openflexure-microscope-server!133
2021-08-17 11:33:40 +00:00
Richard Bowman
7860b6eda7 deleted some commented-out extensions 2021-08-17 12:18:10 +01:00
Richard Bowman
040d7d4ba6 Fix action wrapper
The action wrapper was using an unbound function - it
now passes the extension object as self.

We were incorrectly passing endpoint names as positional arguments -
this is fixed and I now use a keyword argument.
2021-08-17 12:11:20 +01:00
Kaspar Emanuel
6d25dcfa9e Merge branch 'smart-stack-controls' into 'master'
Added controls for smart stack

See merge request openflexure/openflexure-microscope-server!134
2021-08-17 09:43:32 +00:00