Skip to content
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

Use new zip.js version to allow zip64 uploads #6939

Merged
merged 10 commits into from
Mar 27, 2023
Merged

Conversation

daniel-wer
Copy link
Member

@daniel-wer daniel-wer commented Mar 23, 2023

I wasn't able to upload the recent negative_float test dataset, getting the message that the zip file was invalid, even after re-zipping. I investigated and found out that the 4 year old repackaged version of zip.js we used doesn't support zip64 (which is used if the files > 4 GB are zipped). In the meantime, zip.js supports webpack and also supports zip64 which is why I decided to use the official version instead. Review ignoring white space changes.

URL of deployed dev instance (used for testing):

  • https://___.webknossos.xyz

Steps to test:

  • Upload a dataset and check that the uploader still is able to find wkw and nml files inside the zip

(Please delete unneeded items, merge only when none are left open)

@daniel-wer daniel-wer self-assigned this Mar 23, 2023
Base automatically changed from upload-check-storage-quota to master March 27, 2023 08:29
@philippotto
Copy link
Member

Very cool! Since you just looked into the topic: Any chance we could ditch the jszip library, too? It's currently used to let the user import a hybrid annotation as a zip into the skeleton tab via drag and drop. The code around it is a bit more complex, but maybe the interface didn't change much? If it's too much of a hassle, feel free to keep it as is :)

@daniel-wer
Copy link
Member Author

@philippotto Good suggestion! Was fairly easy to replace :)

Copy link
Member

@philippotto philippotto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay! Works great for me :)

@daniel-wer daniel-wer merged commit 27dcf80 into master Mar 27, 2023
@daniel-wer daniel-wer deleted the use-new-zip-js-version branch March 27, 2023 12:10
hotzenklotz added a commit that referenced this pull request Apr 3, 2023
…come-toast

* 'master' of github.com:scalableminds/webknossos:
  Log all details on deleting annotation layer (#6950)
  fix typo
  Rename demo instance to wkorg instance (#6941)
  Add LOD mesh support for frontend (#6909)
  Fix layout of view mode switcher and move it (#6949)
  VaultPath no longer extends nio.Path (#6942)
  Release 23.04.0 (#6945)
  Use new zip.js version to allow zip64 uploads (#6939)
  Implement viewing sharded neuroglancer precomputed datasets (#6920)
  Reject dataset uploads if organization storage quota is exceeded (#6893)
  Refactor deprecated antd Dropdown menus (#6898)
hotzenklotz added a commit that referenced this pull request Apr 4, 2023
…wings

* 'master' of github.com:scalableminds/webknossos:
  updates docs for docker installation (#6963)
  Fix misc stuff when viewing tasks/annotations of another user (#6957)
  Remove segment from list and add undo/redo for segments (#6944)
  Log all details on deleting annotation layer (#6950)
  fix typo
  Rename demo instance to wkorg instance (#6941)
  Add LOD mesh support for frontend (#6909)
  Fix layout of view mode switcher and move it (#6949)
  VaultPath no longer extends nio.Path (#6942)
  Release 23.04.0 (#6945)
  Use new zip.js version to allow zip64 uploads (#6939)
  Implement viewing sharded neuroglancer precomputed datasets (#6920)
  Reject dataset uploads if organization storage quota is exceeded (#6893)
  Refactor deprecated antd Dropdown menus (#6898)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants