diff --git a/README.md b/README.md index 7e3aaced162..59f54cd4c16 100644 --- a/README.md +++ b/README.md @@ -61,7 +61,6 @@ The backbone of this project is built by the following parts of the `packages`: - **runtime:** Central place of (user) authentication, provisioning of the user interface layout, client side storage, routing, theming, dependencies and (sub)application handling The repository's `packages` also contains the following apps, which can be en-/disabled via the `config.json`: -- **draw-io:** An extension for creating, opening and editing `.draw` files - **external:** An extension for creating, opening and editing files using the WOPI server - **files:** The default extension and core part of the project, responsible for file sync-and-share - up- and downloading, sharing with other users/groups or via links, version management and more - **pdf-viewer:** An extension for opening PDF files without leaving the UI diff --git a/changelog/unreleased/change-remove-draw-io b/changelog/unreleased/change-remove-draw-io new file mode 100644 index 00000000000..f4ade45556a --- /dev/null +++ b/changelog/unreleased/change-remove-draw-io @@ -0,0 +1,8 @@ +Change: Remove draw-io as default app + +BREAKING CHANGE: draw-io has been removed as default web app. The app is now available via the [web-extensions repository](https://github.com/owncloud/web-extensions). + +Please refer to [the web-app docs](https://owncloud.dev/services/web/#web-apps) to see how to load an external web app. + +https://github.com/owncloud/web/pull/11252 +https://github.com/owncloud/web/issues/11248 diff --git a/config/config.json.dist b/config/config.json.dist index b3543bee538..a6f43734001 100644 --- a/config/config.json.dist +++ b/config/config.json.dist @@ -7,7 +7,6 @@ "authUrl": "" }, "apps" : [ - "draw-io", "files", "pdf-viewer", "preview", diff --git a/config/config.json.sample-ocis b/config/config.json.sample-ocis index 146211e41d9..c9737cbc2a2 100644 --- a/config/config.json.sample-ocis +++ b/config/config.json.sample-ocis @@ -14,7 +14,6 @@ "pdf-viewer", "search", "text-editor", - "draw-io", "external", "admin-settings", "epub-reader" diff --git a/dev/docker/ocis.web-federated.config.json b/dev/docker/ocis.web-federated.config.json index e124fa5d79b..45564242109 100644 --- a/dev/docker/ocis.web-federated.config.json +++ b/dev/docker/ocis.web-federated.config.json @@ -35,14 +35,6 @@ "mimeTypes": ["image/tiff", "image/bmp", "image/x-ms-bmp"] } }, - { - "id": "draw-io", - "path": "web-app-draw-io", - "config": { - "url": "https://embed.diagrams.net", - "theme": "minimal" - } - }, { "id": "importer", "path": "web-app-importer", diff --git a/dev/docker/ocis.web.config.json b/dev/docker/ocis.web.config.json index a3c8ddff4a7..ab8739bf936 100644 --- a/dev/docker/ocis.web.config.json +++ b/dev/docker/ocis.web.config.json @@ -35,14 +35,6 @@ "mimeTypes": ["image/tiff", "image/bmp", "image/x-ms-bmp"] } }, - { - "id": "draw-io", - "path": "web-app-draw-io", - "config": { - "url": "https://embed.diagrams.net", - "theme": "minimal" - } - }, { "id": "importer", "path": "web-app-importer", diff --git a/docs/deployments/oc10-app.md b/docs/deployments/oc10-app.md index aeace71bf2f..bf2c3332422 100644 --- a/docs/deployments/oc10-app.md +++ b/docs/deployments/oc10-app.md @@ -85,8 +85,7 @@ There are a few config values which need to be set in order for ownCloud Web to "apps" : [ "files", "preview", - "search", - "draw-io" + "search" ], "applications" : [ { diff --git a/docs/development/repo-structure.md b/docs/development/repo-structure.md index 5fff4dbcf2c..edd41c901c1 100644 --- a/docs/development/repo-structure.md +++ b/docs/development/repo-structure.md @@ -118,7 +118,6 @@ Both `web-app-admin-settings` and `web-app-files` are standalone apps which are Apps which fall into the categories `viewer` or `editor` can be opened from the context of a file or folder. This mostly happens from within the `files` app. We currently bundle the following apps with the default ownCloud Web release artifact: -- `web-app-draw-io` an editor for `.drawio` files - `web-app-external` an iframe integration of all the apps coming from the [app provider](https://owncloud.dev/services/app-provider/) (e.g. OnlyOffice, Collabora Online and others) - `web-app-pdf-viewer` a viewer for `.pdf` files, which relies on native PDF rendering support from the browser diff --git a/docs/extension-system/viewer-editor-apps.md b/docs/extension-system/viewer-editor-apps.md index 24f0a2906c0..a38b4cd5a2e 100644 --- a/docs/extension-system/viewer-editor-apps.md +++ b/docs/extension-system/viewer-editor-apps.md @@ -20,7 +20,7 @@ This section will guide you through the process of implementing such an app with An app is essentially a distinct package that must be specified as an external application in the Web configuration. -The structure of an app is quite simple and straightforward. Consider, for example, the [draw.io app](https://github.com/owncloud/web/tree/master/packages/web-app-draw-io). It consists of a `package.json` file, a `src` directory containing all the source code, and a `l10n` directory for translations. Optionally, you may also include a `tests` directory if your application requires testing. +The structure of an app is quite simple and straightforward. Consider, for example, the [pdf-viewer app](https://github.com/owncloud/web/tree/master/packages/web-app-pdf-viewer). It consists of a `package.json` file, a `src` directory containing all the source code, and a `l10n` directory for translations. Optionally, you may also include a `tests` directory if your application requires testing. To learn more about apps in general, please refer to the [Web app docs]({{< ref "_index.md#apps" >}}). diff --git a/package.json b/package.json index 65743cb6aa2..fc075e4a7e9 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "serve": "SERVER=true pnpm build:w", "test:e2e:cucumber": "NODE_TLS_REJECT_UNAUTHORIZED=0 TS_NODE_PROJECT=./tests/e2e/cucumber/tsconfig.json cucumber-js --profile=e2e -f json:tests/e2e/cucumber/report/cucumber_report.json", "test:unit": "NODE_OPTIONS=--unhandled-rejections=throw vitest", - "licenses:check": "license-checker-rseidelsohn --summary --relativeLicensePath --onlyAllow 'Python-2.0;Apache*;Apache License, Version 2.0;Apache-2.0;Apache 2.0;Artistic-2.0;BSD;BSD-3-Clause;CC-BY-3.0;CC-BY-4.0;CC0-1.0;ISC;MIT;MPL-2.0;Public Domain;Unicode-TOU;Unlicense;WTFPL' --excludePackages '@ownclouders/babel-preset;@ownclouders/eslint-config;@ownclouders/prettier-config;@ownclouders/tsconfig;@ownclouders/web-client;@ownclouders/web-pkg;draw-io;external;web-app-files;text-editor;preview;web-app-ocm;@ownclouders/design-system;pdf-viewer;web-app-search;admin-settings;webfinger;web-runtime'", + "licenses:check": "license-checker-rseidelsohn --summary --relativeLicensePath --onlyAllow 'Python-2.0;Apache*;Apache License, Version 2.0;Apache-2.0;Apache 2.0;Artistic-2.0;BSD;BSD-3-Clause;CC-BY-3.0;CC-BY-4.0;CC0-1.0;ISC;MIT;MPL-2.0;Public Domain;Unicode-TOU;Unlicense;WTFPL' --excludePackages '@ownclouders/babel-preset;@ownclouders/eslint-config;@ownclouders/prettier-config;@ownclouders/tsconfig;@ownclouders/web-client;@ownclouders/web-pkg;external;web-app-files;text-editor;preview;web-app-ocm;@ownclouders/design-system;pdf-viewer;web-app-search;admin-settings;webfinger;web-runtime'", "licenses:csv": "license-checker-rseidelsohn --relativeLicensePath --csv --out ./third-party-licenses/third-party-licenses.csv", "licenses:save": "license-checker-rseidelsohn --relativeLicensePath --out /dev/null --files ./third-party-licenses/third-party-licenses", "vite": "vue-demi-fix && vite", diff --git a/packages/web-app-draw-io/l10n/.tx/config b/packages/web-app-draw-io/l10n/.tx/config deleted file mode 100644 index ae325069f34..00000000000 --- a/packages/web-app-draw-io/l10n/.tx/config +++ /dev/null @@ -1,9 +0,0 @@ -[main] -host = https://www.transifex.com - -[o:owncloud-org:p:owncloud-web:r:draw-io] -file_filter = locale//app.po -minimum_perc = 0 -source_file = template.pot -source_lang = en -type = PO diff --git a/packages/web-app-draw-io/l10n/translations.json b/packages/web-app-draw-io/l10n/translations.json deleted file mode 100644 index faba5127b8e..00000000000 --- a/packages/web-app-draw-io/l10n/translations.json +++ /dev/null @@ -1 +0,0 @@ -{"af":{},"ar":{},"bs":{},"bg":{"Draw.io document":"Draw.io документ","Draw.io editor":"Draw.io редактор"},"cs":{"Draw.io document":"Draw.io dokument","Draw.io editor":"Editor Draw.io"},"de":{"Draw.io document":"Draw.io-Datei","Draw.io editor":"Draw.io Editor"},"el":{},"es":{"Draw.io document":"Documento Draw.io","Draw.io editor":"Editor Draw.io"},"et":{},"fr":{"Draw.io document":"Document Draw.io","Draw.io editor":"Éditeur Draw.io"},"gl":{},"he":{"Draw.io document":"מסמך Draw.io","Draw.io editor":"עורך Draw.io"},"id":{},"hr":{},"it":{"Draw.io document":"Documento Draw.io","Draw.io editor":"Editor Draw.io"},"ja":{},"pl":{"Draw.io document":"Dokument Draw.io","Draw.io editor":"Edytor Draw.io"},"pt":{},"nl":{"Draw.io document":"Draw.io document","Draw.io editor":"Draw.io editor"},"ka":{},"ko":{"Draw.io document":"Draw.io 문서","Draw.io editor":"Draw.io 편집기"},"ro":{},"ru":{"Draw.io document":"Документ Draw.io","Draw.io editor":"Редактор Draw.io"},"si":{},"sk":{"Draw.io document":"Dokument draw.io","Draw.io editor":"Editor draw.io"},"sq":{"Draw.io document":"Dokument Draw.io","Draw.io editor":"Përpunuesi Draw.io"},"sv":{},"sr":{},"ta":{},"tr":{"Draw.io document":"Draw.io dokümanı","Draw.io editor":"Draw.io editörü"},"ug":{},"uk":{"Draw.io document":"Документ Draw.io","Draw.io editor":"Редактор Draw.io"},"zh":{"Draw.io document":"Draw.io 文档","Draw.io editor":"Draw.io 编辑器"}} \ No newline at end of file diff --git a/packages/web-app-draw-io/package.json b/packages/web-app-draw-io/package.json deleted file mode 100644 index 4e024b2071b..00000000000 --- a/packages/web-app-draw-io/package.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "name": "draw-io", - "version": "0.0.0", - "private": true, - "description": "ownCloud web draw.io integration", - "license": "AGPL-3.0", - "devDependencies": { - "@types/luxon": "3.2.1", - "web-test-helpers": "workspace:*" - }, - "peerDependencies": { - "@ownclouders/web-client": "workspace:*", - "@ownclouders/web-pkg": "workspace:*", - "luxon": "3.2.1" - } -} diff --git a/packages/web-app-draw-io/src/App.vue b/packages/web-app-draw-io/src/App.vue deleted file mode 100644 index ea38c1a77a5..00000000000 --- a/packages/web-app-draw-io/src/App.vue +++ /dev/null @@ -1,173 +0,0 @@ -