stable
Clone or download
Go to site admin ยป ONLYOFFICE Have a server that is restricted (you may have to hack the database). You should be able to search for a project to be allowed. The project cannot be added yet, the corresponding button is disabled for now. Allowing a project for a server is intertwined with its existing presence in other servers (a project cannot be allowed for more than one server). In order to anticipate this exclusion (and the fact that project autocompleter developer experience is poor), the frontend is now a Vue3 app to have fine control of various components. No functional changes in displaying/adding/editing/removing servers. Part of story #29981: restrict an OnlyOffice server to some projects only Change-Id: I6c8bd50f2e9a1f75707b9fd2c012fefdb281b0d8
Modified Files
Name | ||||
---|---|---|---|---|
M | .eslintrc.js | +1 | โ0 | Go to diff View file |
A | plugins/onlyoffice/build-manifest.json | +9 | โ0 | Go to diff View file |
M | plugins/onlyoffice/include/Administration/OnlyOfficeAdminSettingsController.php | +4 | โ2 | Go to diff View file |
M | plugins/onlyoffice/include/Administration/OnlyOfficeAdminSettingsPresenter.php | +1 | โ6 | Go to diff View file |
M | plugins/onlyoffice/include/Open/OnlyOfficeEditorController.php | +1 | โ1 | Go to diff View file |
M | plugins/onlyoffice/include/onlyofficePlugin.php | +9 | โ6 | Go to diff View file |
D | plugins/onlyoffice/pnpm-lock.yaml | +0 | โ11 | Go to diff View file |
R | plugins/onlyoffice/package.json | Go to diff View file | ||
A | plugins/onlyoffice/scripts/open-in-onlyoffice/pnpm-lock.yaml | +7 | โ0 | Go to diff View file |
R | plugins/onlyoffice/scripts/onlyoffice-editor.ts | Go to diff View file | ||
R | plugins/onlyoffice/scripts/open-in-onlyoffice.ts | Go to diff View file | ||
R | plugins/onlyoffice/scripts/style.scss | Go to diff View file | ||
R | plugins/onlyoffice/tsconfig.json | Go to diff View file | ||
R | plugins/onlyoffice/vite.config.ts | Go to diff View file | ||
A | plugins/onlyoffice/scripts/siteadmin/package.json | +27 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/pnpm-lock.yaml | +543 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/po/fr_FR.po | +110 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/components/CsrfToken.vue | +34 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/components/Servers/AddServerButton.vue | +39 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/components/Servers/AddServerModal.vue | +123 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/components/Servers/DeleteServerButton.vue | +36 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/components/Servers/DeleteServerModal.vue | +110 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/components/Servers/EditServerButton.vue | +36 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/components/Servers/EditServerModal.vue | +137 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/AllowAllProjectsCheckbox.vue | +41 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/AllowedProjectsTable.vue | +81 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/components/Servers/Restrict/ProjectAutocompleter.vue | +42 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/components/Servers/RestrictServerButton.vue | +36 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/components/Servers/RestrictServerModal.vue | +100 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/components/Servers/ServerRow.vue | +68 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/components/Servers/ServersEmptyState.vue | +29 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/components/ServersApp.vue | +70 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/helpers/emitter.ts | +30 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/helpers/strict-inject.test.ts | +65 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/helpers/strict-inject.ts | +33 | โ0 | Go to diff View file |
R | plugins/onlyoffice/scripts/onlyoffice-siteadmin.ts | Go to diff View file | ||
A | plugins/onlyoffice/scripts/siteadmin/src/onlyoffice-siteadmin.ts | +41 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/src/type.ts | +46 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/tsconfig.json | +10 | โ0 | Go to diff View file |
A | plugins/onlyoffice/scripts/siteadmin/vite.config.ts | +41 | โ0 | Go to diff View file |
M | plugins/onlyoffice/site-content/fr_FR/LC_MESSAGES/tuleap-onlyoffice.po | +0 | โ82 | Go to diff View file |
M | plugins/onlyoffice/site-content/pr_BR/LC_MESSAGES/tuleap-onlyoffice.po | +0 | โ79 | Go to diff View file |
M | plugins/onlyoffice/templates/site-admin.mustache | +3 | โ284 | Go to diff View file |
M | src/common/include/CSRFSynchronizerTokenPresenter.php | +1 | โ10 | Go to diff View file |