Skip to content

Commit 7f2c957

Browse files
committed
Merge branch 'master' of github.com:scalableminds/webknossos into pricing
* 'master' of github.com:scalableminds/webknossos: (23 commits) Guard against invalid-mag bucket volume save actions (#6660) Add OIDC authentication (#6534) Add second (non-admin) default user to "initial data" trigger (#6666) Fix and improve miscellaneous things in Folders tab (#6674) Improves mag and voxelSize inferral for remote datasets (#6670) Squashed commit of the following: Fix import of N5 datasets by adding n5 schema to frontend validation (#6668) Virtual Folder Structure for Datasets (#6591) Ability to recover from webGL context loss (#6663) Fix assertion that referenced teams cannot be deleted (#6664) fix task summary with pending jobs (#6662) Only allow taskTypeId as parameter in task creation (#6640) Release 22.12.0 (#6661) Create Annotation From View Mode: Keep Activated Mapping (#6647) Workaround to avoid false-positive version warning (#6656) Fix WK-lib download snippet (#6605) Use LZ4 with WASM for volume saving/undo/redo (#6652) Fix version number extraction when building docker image (#6655) Pass mapping name to precompute meshes (#6651) Deduplicate bboxes when importing NML (#6648) ...
2 parents 2a7a123 + e3dfdd2 commit 7f2c957

File tree

213 files changed

+5963
-1567
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

213 files changed

+5963
-1567
lines changed

CHANGELOG.released.md

+36
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,42 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
77
and this project adheres to [Calendar Versioning](http://calver.org/) `0Y.0M.MICRO`.
88
For upgrade instructions, please check the [migration guide](MIGRATIONS.released.md).
99

10+
## [22.12.0](https://github.com/scalableminds/webknossos/releases/tag/22.12.0) - 2022-11-24
11+
[Commits](https://github.com/scalableminds/webknossos/compare/22.11.2...22.12.0)
12+
13+
### Highlights
14+
- Added a new Quick-Select tool for volume annotation. This tools allows to draw a rectangle over a segment to annotate it automatically. The tool operates on the intensity data of the visible color layer and automatically fills out the segment starting from the center of the rectangle. Next to the tool, there is a settings button which allows to enable a preview mode and to tweak some other parameters. If the preview is enabled, the parameters can be fine-tuned while the preview updates instantly. [#6542](https://github.com/scalableminds/webknossos/pull/6542)
15+
- The scale bar is now included in screenshots of the viewports made using the `Q` shortcut or the "Screenshot" menu entry. If the scale bar should not be included, disable it using "Settings - Viewport Options - Show Scalebars". [#6644](https://github.com/scalableminds/webknossos/pull/6644)
16+
17+
### Added
18+
- The largest segment id for a segmentation layer can be computed automatically from the dataset settings page. [#6415](https://github.com/scalableminds/webknossos/pull/6415)
19+
- Button for switching organizations for Voxelytics workflows. [#6572](https://github.com/scalableminds/webknossos/pull/6572)
20+
- Added ability to shuffle / set colors for a whole tree group. [#6586](https://github.com/scalableminds/webknossos/pull/6586)
21+
- Annotation layers can now be removed. [#6593](https://github.com/scalableminds/webknossos/pull/6593)
22+
- When adding remote Zarr datasets with multiple channels, channels are converted into layers. [#6609](https://github.com/scalableminds/webknossos/pull/6609)
23+
- When adding a remote OME-NGFF dataset with labels, these are added as segmentation layers. [#6638](https://github.com/scalableminds/webknossos/pull/6638)
24+
- When creating an annotation from the dataset view, a previously selected mapping of the segmentation layer is now automatically selected in the volume annotation layer fallback segmentation as well. [#6647](https://github.com/scalableminds/webknossos/pull/6647)
25+
26+
### Changed
27+
- The log viewer in the Voxelytics workflow reporting now uses a virtualized list. [#6579](https://github.com/scalableminds/webknossos/pull/6579)
28+
- Node positions are always handled as integers. They have always been persisted as integers by the server, anyway, but the session in which a node was created handled the position as floating point in earlier versions. [#6589](https://github.com/scalableminds/webknossos/pull/6589)
29+
- Jobs can no longer be started on datastores without workers. [#6595](https://github.com/scalableminds/webknossos/pull/6595)
30+
- When downloading volume annotations with volume data skipped, the nml volume tag is now included anyway (but has no location attribute in this case). [#6566](https://github.com/scalableminds/webknossos/pull/6566)
31+
- Re-phrased some backend (error) messages to improve clarity and provide helping hints. [#6616](https://github.com/scalableminds/webknossos/pull/6616)
32+
- The layer visibility is now encoded in the sharing link. The user opening the link will see the same layers that were visible when copying the link. [#6634](https://github.com/scalableminds/webknossos/pull/6634)
33+
- Voxelytics workflows can now be viewed by anyone with the link who is in the right organization. [#6622](https://github.com/scalableminds/webknossos/pull/6622)
34+
- Improve performance for handling of volume annotation data (saving/undo/redo). [#6652](https://github.com/scalableminds/webknossos/pull/6652)
35+
- When importing an annotation into an existing annotation, webKnossos ensures that bounding boxes are not duplicated in case they exist in the current *and* imported annotation. [#6648](https://github.com/scalableminds/webknossos/pull/6648)
36+
- Reworked the proofreading mode so that agglomerate skeletons are no longer needed (nor automatically loaded). Instead, segments can be selected by left-clicking onto them, indicated by a small white cross. To merge or split agglomerates, then either use the shortcuts `Shift + Leftclick`/`Ctrl + Leftclick` or use the context menu. [#6625](https://github.com/scalableminds/webknossos/pull/6625)
37+
38+
### Fixed
39+
- Fixed a bug in the dataset import view, where the layer name text field would lose focus after each key press. [#6615](https://github.com/scalableminds/webknossos/pull/6615)
40+
- Fixed importing NGFF Zarr datasets with non-scale transforms. [#6621](https://github.com/scalableminds/webknossos/pull/6621)
41+
- Fixed a regression in NGFF Zarr import for datasets with no channel axis. [#6636](https://github.com/scalableminds/webknossos/pull/6636)
42+
- Fixed broken creation of tasks using base NMLs. [#6634](https://github.com/scalableminds/webknossos/pull/6634)
43+
- Fixed that the precomputation of meshes didn't take the active mapping into account. [#6651](https://github.com/scalableminds/webknossos/pull/6651)
44+
- Fixed false-positive warning about an outdated annotation version. [#6656](https://github.com/scalableminds/webknossos/pull/6656)
45+
1046
## [22.11.2](https://github.com/scalableminds/webknossos/releases/tag/22.11.2) - 2022-11-10
1147
[Commits](https://github.com/scalableminds/webknossos/compare/22.11.1...22.11.2)
1248

CHANGELOG.unreleased.md

+10-12
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,11 @@ and this project adheres to [Calendar Versioning](http://calver.org/) `0Y.0M.MIC
88
For upgrade instructions, please check the [migration guide](MIGRATIONS.released.md).
99

1010
## Unreleased
11-
[Commits](https://github.com/scalableminds/webknossos/compare/22.11.2...HEAD)
11+
[Commits](https://github.com/scalableminds/webknossos/compare/22.12.0...HEAD)
1212

1313
### Added
14-
- Added a new Quick-Select tool for volume annotation. This tools allows to draw a rectangle over a segment to annotate it automatically. The tool operates on the intensity data of the visible color layer and automatically fills out the segment starting from the center of the rectangle. Next to the tool, there is a settings button which allows to enable a preview mode and to tweak some other parameters. If the preview is enabled, the parameters can be fine-tuned while the preview updates instantly. [#6542](https://github.com/scalableminds/webknossos/pull/6542)
15-
- The largest segment id for a segmentation layer can be computed automatically from the dataset settings page. [#6415](https://github.com/scalableminds/webknossos/pull/6415)
16-
- Button for switching organizations for Voxelytics workflows. [#6572](https://github.com/scalableminds/webknossos/pull/6572)
17-
- Added ability to shuffle / set colors for a whole tree group. [#6586](https://github.com/scalableminds/webknossos/pull/6586)
18-
- Annotation layers can now be removed. [#6593](https://github.com/scalableminds/webknossos/pull/6593)
19-
- When adding remote Zarr datasets with multiple channels, channels are converted into layers. [#6609](https://github.com/scalableminds/webknossos/pull/6609)
14+
- Added sign in via OIDC. [#6534](https://github.com/scalableminds/webknossos/pull/6534)
15+
- Added a new datasets tab to the dashboard which supports managing datasets in folders. Folders can be organized hierarchically and datasets can be moved into these folders. Selecting a dataset will show dataset details in a sidebar. [#6591](https://github.com/scalableminds/webknossos/pull/6591)
2016

2117
### Changed
2218
- The log viewer in the Voxelytics workflow reporting now uses a virtualized list. [#6579](https://github.com/scalableminds/webknossos/pull/6579)
@@ -26,13 +22,15 @@ For upgrade instructions, please check the [migration guide](MIGRATIONS.released
2622
- Re-phrased some backend (error) messages to improve clarity and provide helping hints. [#6616](https://github.com/scalableminds/webknossos/pull/6616)
2723
- The layer visibility is now encoded in the sharing link. The user opening the link will see the same layers that were visible when copying the link. [#6634](https://github.com/scalableminds/webknossos/pull/6634)
2824
- Voxelytics workflows can now be viewed by anyone with the link who is in the right organization. [#6622](https://github.com/scalableminds/webknossos/pull/6622)
25+
- webKnossos is now able to recover from a lost webGL context. [#6663](https://github.com/scalableminds/webknossos/pull/6663)
26+
- Bulk task creation now needs the taskTypeId, the task type summary will no longer be accepted. [#6640](https://github.com/scalableminds/webknossos/pull/6640)
2927
- Redesigned organization page to include more infos on organization users, storage, webKnossos plan and provided opportunities to upgrade. [#6602](https://github.com/scalableminds/webknossos/pull/6602)
30-
28+
3129
### Fixed
32-
- Fixed a bug in the dataset import view, where the layer name text field would lose focus after each key press. [#6615](https://github.com/scalableminds/webknossos/pull/6615)
33-
- Fixed importing NGFF Zarr datasets with non-scale transforms. [#6621](https://github.com/scalableminds/webknossos/pull/6621)
34-
- Fixed a regression in NGFF Zarr import for datasets with no channel axis. [#6636](https://github.com/scalableminds/webknossos/pull/6636)<<<<<<< task-creation-nml
35-
- Fixed broken creation of tasks using base NMLs. [#6634](https://github.com/scalableminds/webknossos/pull/6634)
30+
- Fixed import of N5 datasets. [#6668](https://github.com/scalableminds/webknossos/pull/6668)
31+
- Fixed a bug where it was possible to create invalid an state by deleting teams that are referenced elsewhere. [6664](https://github.com/scalableminds/webknossos/pull/6664)
32+
- Miscellaneous fixes for the new folder UI. [#6674](https://github.com/scalableminds/webknossos/pull/6674)
33+
- Fixed import of remote datasets with multiple layers and differing resolution pyramid. #[6670](https://github.com/scalableminds/webknossos/pull/6670)
3634

3735
### Removed
3836

DEV_INSTALL.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ For non-localhost deployments, check out the [installation guide in the document
2323
* [PostgreSQL 10+](https://www.postgresql.org/)
2424
* [Redis 5+](https://redis.io/)
2525
* [Blosc](https://github.com/Blosc/c-blosc)
26-
* [node.js 16+](http://nodejs.org/download/)
26+
* [node.js 16 or 18](http://nodejs.org/download/)
2727
* [yarn package manager](https://yarnpkg.com/)
2828
* [git](http://git-scm.com/downloads)
2929

@@ -152,4 +152,4 @@ yarn test-verbose
152152

153153
# End-to-end tests
154154
docker-compose run e2e-tests
155-
```
155+
```

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM eclipse-temurin:11
22
RUN apt-get update \
3-
&& apt-get -y install libblosc1 postgresql-client \
3+
&& apt-get -y install libblosc1 postgresql-client git \
44
&& rm -rf /var/lib/apt/lists/*
55

66
RUN mkdir -p /webknossos

Dockerfile.dev

+1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ RUN apt-get update \
2323
nodejs \
2424
postgresql-client \
2525
yarn \
26+
git \
2627
# The following packages are necessary to run headless-gl
2728
&& apt-get install -y \
2829
mesa-utils xvfb libgl1-mesa-dri libglapi-mesa libosmesa6 pkg-config x11proto-xext-dev xserver-xorg-dev libxext-dev libxi-dev \

MIGRATIONS.released.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,25 @@ See `MIGRATIONS.unreleased.md` for the changes which are not yet part of an offi
55
This project adheres to [Calendar Versioning](http://calver.org/) `0Y.0M.MICRO`.
66
User-facing changes are documented in the [changelog](CHANGELOG.released.md).
77

8+
## [22.12.0](https://github.com/scalableminds/webknossos/releases/tag/22.12.0) - 2022-11-24
9+
[Commits](https://github.com/scalableminds/webknossos/compare/22.11.2...22.12.0)
10+
11+
### Postgres Evolutions:
12+
None.
13+
14+
815
## [22.11.2](https://github.com/scalableminds/webknossos/releases/tag/22.11.2) - 2022-11-10
916
[Commits](https://github.com/scalableminds/webknossos/compare/22.11.1...22.11.2)
1017

1118
### Postgres Evolutions:
19+
None.
1220

1321

1422
## [22.11.1](https://github.com/scalableminds/webknossos/releases/tag/22.11.1) - 2022-10-27
1523
[Commits](https://github.com/scalableminds/webknossos/compare/22.11.0...22.11.1)
1624

1725
### Postgres Evolutions:
26+
None.
1827

1928

2029
## [22.11.0](https://github.com/scalableminds/webknossos/releases/tag/22.11.0) - 2022-10-24
@@ -476,4 +485,4 @@ No migrations necessary.
476485
477486
478487
## [18.07.0](https://github.com/scalableminds/webknossos/releases/tag/18.07.0) - 2018-07-05
479-
First release
488+
First release

MIGRATIONS.unreleased.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ This project adheres to [Calendar Versioning](http://calver.org/) `0Y.0M.MICRO`.
66
User-facing changes are documented in the [changelog](CHANGELOG.released.md).
77

88
## Unreleased
9-
[Commits](https://github.com/scalableminds/webknossos/compare/22.11.2...HEAD)
9+
[Commits](https://github.com/scalableminds/webknossos/compare/22.12.0...HEAD)
10+
11+
- Bulk task creation now needs the taskTypeId, the task type summary will no longer be accepted. If you have scripts generating CSVs for bulk task creation, they should not output task type summaries. [#6640](https://github.com/scalableminds/webknossos/pull/6640)
1012

1113
### Postgres Evolutions:
14+
15+
- [091-folders.sql](conf/evolutions/091-folders.sql)
16+
- [092-oidc.sql](conf/evolutions/092-oidc.sql)

app/controllers/AnnotationController.scala

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ import scala.concurrent.duration._
3333

3434
case class AnnotationLayerParameters(typ: AnnotationLayerType,
3535
fallbackLayerName: Option[String],
36+
mappingName: Option[String] = None,
3637
resolutionRestrictions: Option[ResolutionRestrictions],
3738
name: String)
3839
object AnnotationLayerParameters {

0 commit comments

Comments
 (0)