Skip to content

Commit 619bde4

Browse files
authored
Merge pull request #39 from owncloud/feat/unzip-extension
feat: add unzip extension
2 parents 0ab416a + 96b55d6 commit 619bde4

File tree

16 files changed

+3351
-5
lines changed

16 files changed

+3351
-5
lines changed

.drone.star

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ APPS = [
99
"cast",
1010
"draw-io",
1111
"external-sites",
12-
"progress-bars",
1312
"json-viewer",
13+
"progress-bars",
14+
"unzip",
1415
]
1516

1617
def main(ctx):

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,6 @@
1717
"typescript.format.enable": false,
1818
"editor.quickSuggestions": {
1919
"strings": true
20-
}
20+
},
21+
"vitest.disableWorkspaceWarning": true
2122
}

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,15 @@ Extensions are provided by apps. These are the apps, that are provided by this r
1414
- [web-app-cast](./packages/web-app-cast/)
1515
- [web-app-draw-io](./packages/web-app-draw-io/)
1616
- [web-app-external-sites](./packages/web-app-external-sites/)
17-
- [web-app-progress-bars](./packages/web-app-progress-bars/)
1817
- [web-app-json-viewer](./packages/web-app-json-viewer/)
18+
- [web-app-progress-bars](./packages/web-app-progress-bars/)
19+
- [web-app-unzip](./packages/web-app-unzip/)
20+
21+
## Installing apps in oCIS
22+
23+
Please refer to [the Web app docs](https://owncloud.dev/services/web/#loading-applications) to learn how to install apps in oCIS.
1924

20-
## Adding a new app
25+
## Adding a new app to this repository
2126

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

docker-compose.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@ services:
2626
- ./packages/web-app-cast/dist:/web/apps/cast
2727
- ./packages/web-app-draw-io/dist:/web/apps/draw-io
2828
- ./packages/web-app-external-sites/dist:/web/apps/external-sites
29-
- ./packages/web-app-progress-bars/dist:/web/apps/progress-bars
3029
- ./packages/web-app-json-viewer/dist:/web/apps/json-viewer
30+
- ./packages/web-app-progress-bars/dist:/web/apps/progress-bars
31+
- ./packages/web-app-unzip/dist:/web/apps/unzip
3132
depends_on:
3233
- traefik
3334

packages/web-app-unzip/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# web-app-unzip
2+
3+
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.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"name": "web-app-unzip",
3+
"version": "0.0.0",
4+
"private": true,
5+
"description": "ownCloud Web unzip",
6+
"license": "AGPL-3.0",
7+
"type": "module",
8+
"scripts": {
9+
"build": "pnpm vite build",
10+
"build:w": "pnpm vite build --watch --mode development",
11+
"check:types": "vue-tsc --noEmit",
12+
"test:unit": "NODE_OPTIONS=--unhandled-rejections=throw vitest"
13+
},
14+
"dependencies": {
15+
"@zip.js/zip.js": "2.7.48"
16+
},
17+
"devDependencies": {
18+
"@vue/compiler-dom": "3.4.34",
19+
"@vue/server-renderer": "3.4.34",
20+
"@vue/test-utils": "^2.4.6",
21+
"happy-dom": "^14.0.0",
22+
"vitest-mock-extended": "2.0.0",
23+
"vitest": "^2.0.4",
24+
"vue-tsc": "2.0.29"
25+
},
26+
"peerDependencies": {
27+
"@ownclouders/web-client": "^10.1.0-alpha.1",
28+
"@ownclouders/web-pkg": "^10.1.0-alpha.1",
29+
"@uppy/core": "3.3.0",
30+
"p-queue": "^6.6.2",
31+
"typescript": "5.5.4",
32+
"uuid": "9.0.1",
33+
"vue": "^3.4.21",
34+
"vue3-gettext": "3.0.0-beta.5"
35+
}
36+
}

0 commit comments

Comments
 (0)