Skip to content
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

updated plugin to redmine 2.0 #6

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

srathbun
Copy link

I've updated and tested the plugin with Redmine 2.0-stable. It's set as a separate branch, to keep the two versions from stepping on each other.

srathbun and others added 10 commits July 27, 2012 09:04
…url includes the current project name, then we are already in the project, so do not redirect the overview page.
…rent code short circuits before the string manipulation if the value is nil, because ruby only scans enough of the if statement to determine truth. The or check makes sure that the string check only happens if the value is not nil.
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>
Signed-off-by: Tobias Droste <tdroste@gmx.de>
Conflicts:
	README.rdoc
	init.rb
	lib/redmine_landing_page/patches/projects_controller_patch.rb

Signed-off-by: Tobias Droste <tdroste@gmx.de>
Add support for redmine 2.x and add configurable default landing pages
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.

None yet

2 participants