Skip to content

Kh/dev/delegate legal link settings - #303

Merged
bromiesTM merged 4 commits into
ionos-devfrom
kh/dev/delegate-legal-link-settings
May 18, 2026
Merged

Kh/dev/delegate legal link settings#303
bromiesTM merged 4 commits into
ionos-devfrom
kh/dev/delegate-legal-link-settings

Conversation

@bromiesTM

@bromiesTM bromiesTM commented May 6, 2026

Copy link
Copy Markdown

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a dedicated delegated admin settings page in the theming app for managing the “Legal notice” and “Privacy policy” URLs, including a new Vue-based UI and the corresponding PHP settings provider registration.

Changes:

  • Register a new delegated admin settings provider (OCA\Theming\Settings\AdminLegalUrls) and template for the theming admin area.
  • Add a new Vue settings view (AdminLegalUrls.vue) plus a dedicated JS entrypoint (admin-legal-urls.js) to mount it.
  • Extend the webpack modules mapping and update theming’s composer autoload maps to include the new settings class.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
webpack.modules.js Adds a new webpack entry for the theming admin legal URLs bundle.
apps/theming/templates/settings-admin-legal.php New template mount point for the delegated legal URLs admin UI.
apps/theming/src/AdminLegalUrls.vue New Vue UI for editing imprint/privacy URLs.
apps/theming/src/admin-legal-urls.js Bootstraps and mounts the new Vue settings view.
apps/theming/lib/Settings/AdminLegalUrls.php New delegated settings provider that supplies initial state and script.
apps/theming/composer/composer/autoload_static.php Updates classmap autoload to include the new settings class.
apps/theming/composer/composer/autoload_classmap.php Updates classmap autoload to include the new settings class.
apps/theming/appinfo/info.xml Registers the new admin settings class in the theming app.

Comment thread apps/theming/src/AdminLegalUrls.vue
Comment thread apps/theming/lib/Settings/AdminLegalUrls.php
Comment thread apps/theming/lib/Settings/AdminLegalUrls.php
Comment thread apps/theming/lib/Settings/AdminLegalUrls.php
@bromiesTM
bromiesTM force-pushed the kh/dev/delegate-legal-link-settings branch from 264d435 to c6f72ab Compare May 11, 2026 14:01

@tanyaka tanyaka left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Conflicts looks trivial. Locally works fine. Still outstanding check_release confirm after the pipelines run and conflicts resolved.

bromiesTM and others added 3 commits May 18, 2026 09:12
Add new admin settings page for managing legal notice and privacy policy
URLs. Includes PHP settings class, Vue component, and webpack entry
point.

Signed-off-by: Kai Henseler <kai.henseler@strato.de>
…, add unit tests

Agent-Logs-Url: https://github.com/IONOS-Productivity/ncw-server/sessions/c5d41e63-5f86-40e0-9910-8cafd7390b28

Co-authored-by: bromiesTM <78687674+bromiesTM@users.noreply.github.com>
Signed-off-by: Kai Henseler <kai.henseler@strato.de>
Expose imprintUrlDefault and privacyUrlDefault in admin settings.
Use default values if custom URLs are not set. Update tests and UI.

Signed-off-by: Kai Henseler <kai.henseler@strato.de>
@bromiesTM
bromiesTM force-pushed the kh/dev/delegate-legal-link-settings branch 2 times, most recently from 7530bc6 to e063e78 Compare May 18, 2026 08:42
Signed-off-by: Kai Henseler <kai.henseler@strato.de>
@bromiesTM
bromiesTM force-pushed the kh/dev/delegate-legal-link-settings branch from e063e78 to 1e270f3 Compare May 18, 2026 09:35
@bromiesTM
bromiesTM merged commit 08c04ff into ionos-dev May 18, 2026
17 of 19 checks passed
@bromiesTM
bromiesTM deleted the kh/dev/delegate-legal-link-settings branch May 18, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants