-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for redmine 2.x and add configurable default landing pages #8
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Tobias Droste <tdroste@gmx.de>
This adds configurable default landing pages for redmine and projects that don't have a landing page defined. If nothing is defined as a landing page the redmine defaults are used. There's a small change in behaviour that makes the original landing pages work again if they are called directly, so no functionality is lost when using landing pages. Additionally to be more robust to server changes allow relatives URLs to reference modules in the same project/scope Signed-off-by: Tobias Droste <tdroste@gmx.de>
Good job man, hoping it gets added :) |
Guys, use this branch. https://github.com/hicknhack-software/redmine_time_tracker |
That's not the same plugin!? |
Oops. =) Sorry, I was wrong with the notification title. Anyway, I this fork on currrent redmine trunk. It is - https://github.com/srathbun/redmine_landing_page. |
Regarding https://github.com/srathbun/redmine_landing_page: My changes makes the changes done there obsolete by doing the same (and more) but differently. |
OK, I'll check it out later. Thanks for these commits, Tobias. |
Signed-off-by: Tobias Droste <tdroste@gmx.de>
Since biow0lf doesn't seem to be interested in this plugin anymore I also sent the changes to srathbun |
What's the status, Stratus? |
just use this one: https://github.com/srathbun/redmine_landing_page |
Thanks @dro123 for the advice. I tried that plugin, I can see the configuration settings in both the Admin settings and profile settings but whatever I configure doesn't get picked up, even after restarting the webserver. I am using thin. Redmine behaves the same as always. I'm on redmine 2.5.1. I'm writing this here because there is no issue tracker on the other page. |
Works fine here with Redmine 2.5.1. Are you sure you ran rake redmine:plugins:migrate? |
Yeah, I'm sure. Do you use relative links (like /projects/foobar/activity) or absolute links (http://...)? |
relative links (make sure they don't include the / in front!) and absolute links are working here. |
Rails 4 disallows 'match' in routes.rb without specifying the http method. Replace all 'match' with 'get'. Signed-off-by: Tobias Droste <tdroste@gmx.de>
These 2 commits add support for redmine 2.x and allow the
redmine admin to setup global default landing pages for
redmine and projects that don't have landing pages defined.