Restream / redmine_user_specific_theme

Redmine user specific theme plugin
Apache License 2.0
31 stars 24 forks source link

Redmine 3.x compatibility? #3

Open hameno opened 8 years ago

hameno commented 8 years ago

It seems this plugin is not compatible with Redmine 3.x, any plans to update/add support?

fbender commented 8 years ago

I'd be interested in this as well. Support for 2.x may end this year.

Bolik commented 8 years ago

+1

JOY commented 8 years ago

+1

When I installed, it showed error below.

Bundler could not find compatible versions for gem "nokogiri":
  In Gemfile:
    capybara was resolved to 2.6.2, which depends on
      nokogiri (>= 1.3.3)

    deface (< 1.0.0) was resolved to 0.8.0, which depends on
      nokogiri (~> 1.5.0)

    rails (= 4.2.5) was resolved to 4.2.5, which depends on
      railties (= 4.2.5) was resolved to 4.2.5, which depends on
        actionpack (= 4.2.5) was resolved to 4.2.5, which depends on
rails-html-sanitizer (>= 1.0.2, ~> 1.0) was resolved to 1.0.2, which
depends on
            loofah (~> 2.0) was resolved to 2.0.0, which depends on
              nokogiri (>= 1.5.9)

    rails (= 4.2.5) was resolved to 4.2.5, which depends on
      railties (= 4.2.5) was resolved to 4.2.5, which depends on
        actionpack (= 4.2.5) was resolved to 4.2.5, which depends on
rails-dom-testing (>= 1.0.5, ~> 1.0) was resolved to 1.0.5, which
depends on
            nokogiri (~> 1.6.0)

    roadie-rails was resolved to 1.1.0, which depends on
      roadie (~> 3.1) was resolved to 3.1.1, which depends on
        nokogiri (< 1.7.0, >= 1.5.0)

    capybara was resolved to 2.6.2, which depends on
      xpath (~> 2.0) was resolved to 2.0.0, which depends on
        nokogiri (~> 1.3)
Bundler could not find compatible versions for gem "rails":
  In Gemfile:
    rails (= 4.2.5)

    deface (< 1.0.0) was resolved to 0.9.0, which depends on
      rails (~> 3.1)
mikini commented 8 years ago

Check #7 for a solution to both the deface dependency lock (old deface requires old rails, which new redmine doesn't support) and fixes changes to the api of deface that caused the theme preferences drop down to not show up. Unfortunately, maintainers here seem idle, but you can clone directly from https://github.com/seyedmmousavi/redmine_user_specific_theme.

I also had a dependency issue with mime-types using Redmine 3.2.0 (it didn't restrict version to <3 which requires ruby3), this was resolved by updating to Redmine 3.2.1 (released 2016-03-13, https://www.redmine.org/news/105).

Thanks to Undev for the plugin.