Skip to content

Commit

Permalink
Remove theme seeder
Browse files Browse the repository at this point in the history
  • Loading branch information
oliverguenther committed Jan 28, 2025
1 parent ed32281 commit 92cf999
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 110 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ This plugin provides extensions and hooks into the openDesk application suite, s

- Navigation UI changes to match style
- Integration into central navigation portal
- Custom seeder to provide another base theme
- Extensions to the ENV configuration to provide settings

## Copyright and License
Expand Down
Binary file removed app/assets/images/open_desk/favicon.png
Binary file not shown.
10 changes: 0 additions & 10 deletions app/assets/images/open_desk/logo.svg

This file was deleted.

28 changes: 0 additions & 28 deletions app/seeders/demo_data/open_desk/theme_seeder.rb

This file was deleted.

7 changes: 0 additions & 7 deletions lib/open_project/open_desk/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,11 @@ class Engine < ::Rails::Engine
include OpenProject::Plugins::ActsAsOpEngine

patch_with_namespace :Redmine, :MenuManager, :TopMenuHelper
patch_with_namespace :OpenProject, :CustomStyles, :ColorThemes
patch_with_namespace :OpenProject, :Plugins, :AuthPlugin
patch_with_namespace :Authorization, :EnterpriseService

patches [:CustomStylesHelper]

assets %w(
open_desk/logo.svg
)

register(
"openproject-open_desk",
Expand Down Expand Up @@ -51,9 +47,6 @@ class Engine < ::Rails::Engine
end

config.to_prepare do
# Preload the open_desk theme seeder so it becomes discoverable,
# as the core seeder relies on .subclasses
::DemoData::OpenDesk::ThemeSeeder
::DemoData::OpenDesk::TokenSeeder
end
end
Expand Down
64 changes: 0 additions & 64 deletions lib/open_project/open_desk/patches/color_themes_patch.rb

This file was deleted.

0 comments on commit 92cf999

Please sign in to comment.