Skip to content

Commit

Permalink
feat: add unzip extension
Browse files Browse the repository at this point in the history
  • Loading branch information
JammingBen committed Aug 5, 2024
1 parent 0ab416a commit 96b55d6
Show file tree
Hide file tree
Showing 16 changed files with 3,351 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ APPS = [
"cast",
"draw-io",
"external-sites",
"progress-bars",
"json-viewer",
"progress-bars",
"unzip",
]

def main(ctx):
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
"typescript.format.enable": false,
"editor.quickSuggestions": {
"strings": true
}
},
"vitest.disableWorkspaceWarning": true
}
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,15 @@ Extensions are provided by apps. These are the apps, that are provided by this r
- [web-app-cast](./packages/web-app-cast/)
- [web-app-draw-io](./packages/web-app-draw-io/)
- [web-app-external-sites](./packages/web-app-external-sites/)
- [web-app-progress-bars](./packages/web-app-progress-bars/)
- [web-app-json-viewer](./packages/web-app-json-viewer/)
- [web-app-progress-bars](./packages/web-app-progress-bars/)
- [web-app-unzip](./packages/web-app-unzip/)

## Installing apps in oCIS

Please refer to [the Web app docs](https://owncloud.dev/services/web/#loading-applications) to learn how to install apps in oCIS.

## Adding a new app
## Adding a new app to this repository

New apps must be placed inside the `packages` folder and be prefixed with `web-app-`. Additionally, the following changes are needed:

Expand Down
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ services:
- ./packages/web-app-cast/dist:/web/apps/cast
- ./packages/web-app-draw-io/dist:/web/apps/draw-io
- ./packages/web-app-external-sites/dist:/web/apps/external-sites
- ./packages/web-app-progress-bars/dist:/web/apps/progress-bars
- ./packages/web-app-json-viewer/dist:/web/apps/json-viewer
- ./packages/web-app-progress-bars/dist:/web/apps/progress-bars
- ./packages/web-app-unzip/dist:/web/apps/unzip
depends_on:
- traefik

Expand Down
3 changes: 3 additions & 0 deletions packages/web-app-unzip/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# web-app-unzip

This application provides a way to extract `zip` archives on the client side. The extraction utilizes web workers to ensure the web ui stays responsive during the process.
1 change: 1 addition & 0 deletions packages/web-app-unzip/l10n/translations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
36 changes: 36 additions & 0 deletions packages/web-app-unzip/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"name": "web-app-unzip",
"version": "0.0.0",
"private": true,
"description": "ownCloud Web unzip",
"license": "AGPL-3.0",
"type": "module",
"scripts": {
"build": "pnpm vite build",
"build:w": "pnpm vite build --watch --mode development",
"check:types": "vue-tsc --noEmit",
"test:unit": "NODE_OPTIONS=--unhandled-rejections=throw vitest"
},
"dependencies": {
"@zip.js/zip.js": "2.7.48"
},
"devDependencies": {
"@vue/compiler-dom": "3.4.34",
"@vue/server-renderer": "3.4.34",
"@vue/test-utils": "^2.4.6",
"happy-dom": "^14.0.0",
"vitest-mock-extended": "2.0.0",
"vitest": "^2.0.4",
"vue-tsc": "2.0.29"
},
"peerDependencies": {
"@ownclouders/web-client": "^10.1.0-alpha.1",
"@ownclouders/web-pkg": "^10.1.0-alpha.1",
"@uppy/core": "3.3.0",
"p-queue": "^6.6.2",
"typescript": "5.5.4",
"uuid": "9.0.1",
"vue": "^3.4.21",
"vue3-gettext": "3.0.0-beta.5"
}
}
Loading

0 comments on commit 96b55d6

Please sign in to comment.