stable

Clone or download

Read-only

feat: Introduce table to manage OO servers

Site administrators are supposed to be able to manage more than one server. This contribution changes the way we display the current default server to prepare the field. * If nothing is configured, the table is empty and user can add a new server * If there is an existing server, the table has one entry and user cannot add a new one (for now), but can edit it. This is only a frontend change, backend is left as is. Part of story #29981: restrict an OnlyOffice server to some projects only Change-Id: I8b3779812e28a9f69747d4e26b660750f94eb4f6

Modified Files

Name
M plugins/onlyoffice/include/Administration/OnlyOfficeAdminSettingsController.php +5 −0 Go to diff View file
M plugins/onlyoffice/include/Administration/OnlyOfficeAdminSettingsPresenter.php +7 −2 Go to diff View file
A plugins/onlyoffice/include/Administration/OnlyOfficeServerPresenter.php +33 −0 Go to diff View file
M plugins/onlyoffice/include/onlyofficePlugin.php +14 −3 Go to diff View file
M plugins/onlyoffice/package.json +1 −0 Go to diff View file
M plugins/onlyoffice/pnpm-lock.yaml +4 −0 Go to diff View file
A plugins/onlyoffice/scripts/onlyoffice-siteadmin.ts +27 −0 Go to diff View file
M plugins/onlyoffice/site-content/fr_FR/LC_MESSAGES/tuleap-onlyoffice.po +23 −2 Go to diff View file
M plugins/onlyoffice/site-content/pr_BR/LC_MESSAGES/tuleap-onlyoffice.po +22 −1 Go to diff View file
M plugins/onlyoffice/templates/site-admin.mustache +139 −31 Go to diff View file
M plugins/onlyoffice/tests/unit/Administration/OnlyOfficeAdminSettingsControllerTest.php +6 −1 Go to diff View file
M plugins/onlyoffice/vite.config.ts +4 −0 Go to diff View file