Commit Graph

235 Commits

Author SHA1 Message Date
Toshi MARUYAMA 6bcbdd44fc route: scm: fix diff of two revisions
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 05:29:58 +00:00
Toshi MARUYAMA b0414ec1fb route: scm: split entry and raw actions
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-05 01:01:29 +00:00
Toshi MARUYAMA b4350ca91a route: scm: fix git and mercurial changes action
If branch name has special character, "View revisions" link has route error.
For example, Redmine Mercurial hgsubversion mirror has "../sandbox/rails-3.2" named branch.

Git default branch of bare repository is defined at HEAD.
In most cases, it is *master*.
Mercurial GUI standard behavior is showing all revisions on top page.
So, Redmine default branch is *nil*.
Mercurial top page "View revisions" link has route error.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-03 14:49:29 +00:00
Toshi MARUYAMA f4b9d2a7ee route: remove duplicate repository committers
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-01 05:08:07 +00:00
Jean-Philippe Lang 301e0386f5 Reverts r9547 that breaks 2 tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-27 17:04:37 +00:00
Toshi MARUYAMA d2f779d6e8 remove trailing white-spaces from config/routes.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9548 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-27 16:17:31 +00:00
Toshi MARUYAMA 8047a8cd28 route: use constraints for repositories ":format => 'raw'" and :action
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-27 16:17:17 +00:00
Toshi MARUYAMA dd23e07111 route: add constraints to repositories which are lost in Rails3 route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9546 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-27 16:17:03 +00:00
Jean-Philippe Lang 5e57a1a9d9 Merged rails-3.2 branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-25 17:17:49 +00:00
Jean-Philippe Lang 28f0c4f131 Adds the ability for users to delete their own account (#10664). Can be disabled in application settings.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9417 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-15 14:31:54 +00:00
Jean-Philippe Lang d2cb9d5289 Adds missing route to project search.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9371 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-08 20:06:53 +00:00
Toshi MARUYAMA f0936aaf18 scm: fix revisions page "OK" button always returns 404 error (#10567)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9299 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-04-02 05:09:36 +00:00
Jean-Philippe Lang fae5250e52 Ability to add non-member watchers on issue creation (#5159).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-24 12:57:28 +00:00
Jean-Philippe Lang 71e636ff71 Resourcified auth_sources.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9233 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 11:53:28 +00:00
Jean-Philippe Lang bd47af098f Merged LdapAuthSourceController into AuthSourceController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9232 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-03-11 11:43:27 +00:00
Jean-Philippe Lang 81554eae5a Fixed routing failure with jruby 1.6.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9021 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-27 18:35:10 +00:00
Jean-Philippe Lang 77626ef6fb Adds support for adding attachments to issues through the REST API (#8171).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 10:01:16 +00:00
Toshi MARUYAMA 84dd4ecbd4 route: split issue preview route to adding and editing
"No route matches" error raises in "preview_issue_path"
at app/views/issues/new.html.erb:35 on Rails 3.0.11 and Rails 3.1.3 new route format.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 22:49:03 +00:00
Jean-Philippe Lang c5665276b7 REST API for project memberships (#7420).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8798 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 09:47:10 +00:00
Jean-Philippe Lang 78bd24c6f7 Resourcified project memberships.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 16:35:27 +00:00
Jean-Philippe Lang 1d4ef8964d Adds a "Manage related isses" permission to add/remove commits/issues relations manually from the changeset view (#2009).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 10:56:27 +00:00
Toshi MARUYAMA f49d8d8c5f route: repository: move :repository_id routes before non :repository_id routes
On Rails3 new route format, tests pass except following routes.

* 'projects/:id/repository' :action => 'show'
* 'projects/:id/repository/:repository_id' :action => 'show'

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8718 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 01:23:15 +00:00
Toshi MARUYAMA 3fc9a606eb route: scm: fix indents of repository revision requirement
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8684 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-21 06:09:43 +00:00
Toshi MARUYAMA 58ece4b887 route: scm: add revision requirements for git/mercurial branches (#10026)
hgsubversion mirror (https://bitbucket.org/redmine/redmine-all) has
"../sandbox/rails-2.3" and "../sandbox/rails-2.2" *named* branches.

"View revisions" link of "../sandbox/rails-2.3" generates
"repository/revisions/..%2Fsandbox%2Frails-2.3/changes".
But, passenger returns "Not Found".

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8683 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-21 05:16:02 +00:00
Jean-Philippe Lang 1bd5e58c84 Adds support for multiple repositories per project (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 18:19:19 +00:00
Jean-Philippe Lang fb1a2fd7cd Resourcified repositories for CRUD operations to prepare for multiple SCM per project (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 14:23:06 +00:00
Jean-Philippe Lang 1b1c510ff9 Ability to add non-member users as watchers (#5159).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-09 18:37:16 +00:00
Toshi MARUYAMA 5835648290 route: use ":controller" instead of ":as" for project_enumerations
Rails3 new route format needs this syntax.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8570 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-09 00:08:50 +00:00
Toshi MARUYAMA 3ed0c93857 route: remove redundant :path_prefix from time entries route scoped under project
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 16:04:09 +00:00
Toshi MARUYAMA 03e10cbc8f route: move news after project scope
On Rails 3.0, news test passes.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8546 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 02:37:59 +00:00
Jean-Philippe Lang 065376c160 Copy issues via bulk update action.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 17:27:47 +00:00
Jean-Philippe Lang d29638845a Allows project to be changed from the bulk edit form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8536 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 16:18:53 +00:00
Jean-Philippe Lang bc3c151236 Makes /projects/:project_id/issues/new accept PUT requests for when serializing a form with a PUT _method hidden tag.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-06 21:01:35 +00:00
Toshi MARUYAMA e97db2589d route: code layout clean up timelog route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8516 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-05 08:03:53 +00:00
Toshi MARUYAMA 8d9dcfa39b route: fix messages quote action method defined at r8162
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8499 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 12:38:20 +00:00
Toshi MARUYAMA 6e17b5dccf route: simplify repositories route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-04 08:51:00 +00:00
Toshi MARUYAMA 888f9fd5e1 route: code layout clean up repositories route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8471 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 13:26:00 +00:00
Toshi MARUYAMA a9f25961af route: code layout clean up repositories route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8470 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-02 12:13:32 +00:00
Toshi MARUYAMA 25ead5fd42 route: move time entries matchings and resources after /issues matchings
Time log tests pass except /time_entries delete action on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8446 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-31 06:19:12 +00:00
Toshi MARUYAMA e5cc53c19c route: move queries resources after projects resources
This change passes queries test on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8443 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 23:53:29 +00:00
Toshi MARUYAMA dd769d2af8 route: change order users resources and matchings
This changes pass users tests on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8442 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 16:08:42 +00:00
Toshi MARUYAMA 561f7090c8 route: change order of some issues and projects resources and matchings
This change passes issues and projects routing tests on Rails 3.0.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8441 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 14:55:05 +00:00
Toshi MARUYAMA dbc78746d2 route: move 'issues/new' matching before project/issues resources
On Rails3.0, 'match' needs before resources.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8440 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 12:53:15 +00:00
Toshi MARUYAMA 5127f3dcbc route: move attachments resources after matching
On Rails3.0, 'match' needs before resources.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8439 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 12:52:08 +00:00
Toshi MARUYAMA 49ceb577ec route: code layout clean up versions resources
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8438 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 10:10:02 +00:00
Toshi MARUYAMA 96de4a0822 route: code layout clean up project_enumerations route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8435 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 05:15:18 +00:00
Toshi MARUYAMA ff3230bd9a route: code layout clean up issues bulk deletion route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8434 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 05:14:51 +00:00
Toshi MARUYAMA ba44548332 route: code layout clean up issues resources
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8431 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 02:17:47 +00:00
Toshi MARUYAMA 5b71790843 route: code layout clean up issue_moves route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 02:17:23 +00:00
Toshi MARUYAMA f00c851fc5 route: code layout clean up issues context menu route
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-30 02:16:53 +00:00