-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to add datasets through wk-connect #3843
Merged
Merged
Changes from 18 commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
656e944
add first version of add remote dataset view
daniel-wer ca790e8
add isConnector property to datastores
fm3 2618efa
add dataset tab to import wk-connect datasets, refactor add dataset s…
daniel-wer 372c749
only show wk-connect tab if there are wk-connect datastores
daniel-wer 149e47d
Update dataStores.csv
fm3 27c4eb8
Merge branch 'master' of github.com:scalableminds/webknossos into add…
daniel-wer 7885b9f
add some comments
daniel-wer 4e93e56
update snapshots
daniel-wer 7bd54a1
Merge branch 'master' of github.com:scalableminds/webknossos into add…
daniel-wer afa284a
apply PR feedback
daniel-wer a5e05de
Merge branch 'master' of github.com:scalableminds/webknossos into add…
daniel-wer 970d167
apply PR feedback #2
daniel-wer 68341c9
update changelog
daniel-wer 63d010a
update migration log
fm3 55ef403
Merge branch 'master' of github.com:scalableminds/webknossos into add…
daniel-wer 8acfcdc
fix issues after sample datasets merge, use generic useFetch
daniel-wer 187816c
fix lint
daniel-wer 5d07aad
Merge branch 'master' of github.com:scalableminds/webknossos into add…
daniel-wer 1b645e4
Merge branch 'master' into add-wk-connect-dataset
daniel-wer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
-- https://github.com/scalableminds/webknossos/pull/3843 | ||
|
||
START TRANSACTION; | ||
|
||
DROP VIEW webknossos.dataStores_; | ||
|
||
ALTER TABLE webknossos.dataStores ADD COLUMN isConnector BOOLEAN NOT NULL DEFAULT false; | ||
|
||
CREATE VIEW webknossos.dataStores_ AS SELECT * FROM webknossos.dataStores WHERE NOT isDeleted; | ||
|
||
UPDATE webknossos.releaseInformation SET schemaVersion = 41; | ||
|
||
COMMIT TRANSACTION; |
11 changes: 11 additions & 0 deletions
11
conf/evolutions/reversions/041-add-datastore-isconnector.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
START TRANSACTION; | ||
|
||
DROP VIEW webknossos.dataStores_; | ||
|
||
ALTER TABLE webknossos.dataStores DROP COLUMN isConnector; | ||
|
||
CREATE VIEW webknossos.dataStores_ AS SELECT * FROM webknossos.dataStores WHERE NOT isDeleted; | ||
|
||
UPDATE webknossos.releaseInformation SET schemaVersion = 40; | ||
|
||
COMMIT TRANSACTION; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not clear to me what source is. Is it an url? Then I'd suggest
sourceUrl
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unfortunately this is coming from Neuroglancer and wk-connect adopted the same format for simplicity's sake, but yes it is the URL.
If we really want to we could change it, but I think adding a comment will be easier