Skip to content

feat(theming): migrate from nc_theming to apps/theming IonosTheme - #151

Merged
tanyaka merged 1 commit into
ionos-dev-v33from
ionos-dev-v33-enhanced-theming
Sep 2, 2026
Merged

feat(theming): migrate from nc_theming to apps/theming IonosTheme#151
tanyaka merged 1 commit into
ionos-dev-v33from
ionos-dev-v33-enhanced-theming

Conversation

@tanyaka

@tanyaka tanyaka commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • configs/enable-theme.config.php: Switch from legacy 'theme' => 'nc-ionos-theme' (OC_Theme) to 'enforce_theme' => 'ionos' (ThemesService key), matching the new IonosTheme class in apps/theming
  • configure.sh: Update FAVICON_DIR from apps-custom/nc_theming/imgapps/theming/img; clear slogan (was "powered by IONOS" — footer content is now provided by CSS in apps/theming/css/ionos/guest.css)
  • Makefile: Remove nc_theming from SPECIAL_BUILD_APPS and drop the build_nc_theming_app target — CSS is now static, no build step needed

Context

Part of the enhanced theming consolidation: IONOS theming moves from two git submodules (apps-custom/nc_theming and themes/nc-ionos-theme) into the core apps/theming app, mirroring the ncw-server architecture. The companion PR in nc-server adds IonosTheme.php to apps/theming/lib/Themes/ and registers it in ThemesService.

AI Disclosure

This PR was created with assistance from Claude Code (claude-sonnet-4-6). All changes have been reviewed and tested manually.

…sTheme

- enforce_theme: replace legacy 'nc-ionos-theme' with 'ionos' (ThemesService key)
- configure.sh: update FAVICON_DIR to apps/theming/img (was apps-custom/nc_theming/img)
- Makefile: remove nc_theming SPECIAL_BUILD_APP and build_nc_theming_app target

Signed-off-by: Tatjana Kaschperko Lindt <kaschperko-lindt@strato.de>
Assisted-by: ClaudeCode:claude-sonnet-4-6
@tanyaka
tanyaka force-pushed the ionos-dev-v33-enhanced-theming branch 2 times, most recently from 1032608 to 802a9e1 Compare August 27, 2026 13:04
@tanyaka
tanyaka requested a lite review from Copilot August 27, 2026 13:49

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

Migrates IONOS theming integration away from the legacy nc_theming / nc-ionos-theme approach toward the consolidated apps/theming IonosTheme setup, aligning build/config tooling with the new theme registration model.

Changes:

  • Updates shipped Nextcloud config to enforce the ionos theme via enforce_theme.
  • Adjusts configure.sh theming setup: favicon source directory and clears the slogan.
  • Simplifies the build by removing nc_theming from special-build handling in the Makefile.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
Makefile Removes nc_theming from SPECIAL_BUILD_APPS and deletes its custom build target.
configure.sh Points favicon lookup at apps/theming/img and clears the theming slogan value.
configs/enable-theme.config.php Switches from legacy theme to enforce_theme with key ionos.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread configure.sh
@tanyaka
tanyaka merged commit 7a9c914 into ionos-dev-v33 Sep 2, 2026
31 checks passed
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.

3 participants