Commit Graph

1044 Commits

Author SHA1 Message Date
Etienne Massip 8f96f0c40d Refactor : convert queries to REST resources (also fixes #9108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7649 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-24 20:19:26 +00:00
Toshi MARUYAMA 1f4ff3687c Rails3: controller: repositories: use to_s for revision parameter
On Rails 3.0 and Ruby 1.8.7, following error raises.

Error:
test_revision(RepositoriesControllerTest):
NoMethodError: undefined method `strip' for 1:Fixnum
    app/controllers/repositories_controller.rb:252:in `find_repository'
    test/functional/repositories_controller_test.rb:44:in `test_revision'

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7622 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-09 23:34:53 +00:00
Toshi MARUYAMA 2a27cc41f0 remove hard-coded '.rxml' from ApplicationController 'render_feed' (#6317)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7573 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-10-04 11:07:47 +00:00
Toshi MARUYAMA 3504fd038c respond nothing in case of content type is not html with invalid query params (#8883, #6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7024 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 23:40:59 +00:00
Toshi MARUYAMA bf233552df remove hard-coded '.rhtml' from IssuesController 'show' (#6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7023 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 16:31:07 +00:00
Toshi MARUYAMA bf603b0eb1 remove hard-coded '.rhtml' from IssuesController 'index' (#6317).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7022 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-01 16:30:27 +00:00
Toshi MARUYAMA b61c0983bc remove trailing white-spaces from app/controllers/enumerations_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6905 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 12:20:21 +00:00
Toshi MARUYAMA a98a341be0 remove trailing white-spaces from app/controllers/groups_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6904 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 12:19:39 +00:00
Toshi MARUYAMA fefb5fb298 remove trailing white-spaces from app/controllers/issue_categories_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6903 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 12:18:53 +00:00
Toshi MARUYAMA cb2c5cd658 remove trailing white-spaces from app/controllers/custom_fields_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6901 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 12:11:19 +00:00
Toshi MARUYAMA 10f2e70dba remove trailing white-spaces from app/controllers/account_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6900 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 12:08:29 +00:00
Toshi MARUYAMA 43eb8c3455 remove trailing white-spaces from app/controllers/auth_sources_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6899 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 12:07:34 +00:00
Toshi MARUYAMA 892b4bafd3 remove trailing white-spaces from app/controllers/comments_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 12:06:52 +00:00
Toshi MARUYAMA bba7d26697 remove trailing white-spaces from app/controllers/members_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6896 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 12:05:15 +00:00
Toshi MARUYAMA 1f990cda00 remove trailing white-spaces from app/controllers/messages_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 12:04:25 +00:00
Toshi MARUYAMA 751c0b0813 remove trailing white-spaces from app/controllers/project_enumerations_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6894 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 12:03:37 +00:00
Toshi MARUYAMA 08653afa2d remove trailing white-spaces from app/controllers/projects_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 12:02:48 +00:00
Toshi MARUYAMA cc454e0f1d remove trailing white-spaces from app/controllers/queries_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 12:02:01 +00:00
Toshi MARUYAMA d84565220b remove trailing white-spaces from app/controllers/repositories_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 12:01:01 +00:00
Toshi MARUYAMA 41be39405a remove trailing white-spaces from app/controllers/issue_moves_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6890 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 11:15:09 +00:00
Toshi MARUYAMA cd410eb38e remove trailing white-spaces from app/controllers/issue_relations_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6889 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 11:14:13 +00:00
Toshi MARUYAMA d439e12aa5 remove trailing white-spaces from app/controllers/issue_statuses_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 11:13:17 +00:00
Toshi MARUYAMA 698fc53c94 remove trailing white-spaces from app/controllers/issues_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6884 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 10:10:56 +00:00
Toshi MARUYAMA db1ddd5509 remove trailing white-spaces from app/controllers/journals_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6883 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 10:10:33 +00:00
Toshi MARUYAMA 3a4ec49fe4 remove trailing white-spaces from app/controllers/wikis_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6872 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 08:45:29 +00:00
Toshi MARUYAMA 13d44f9d70 remove trailing white-spaces from app/controllers/workflows_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6871 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 08:45:01 +00:00
Toshi MARUYAMA 01456d66a2 remove trailing white-spaces from app/controllers/roles_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6869 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 08:43:49 +00:00
Toshi MARUYAMA 011b505f9a remove trailing white-spaces from app/controllers/time_entry_reports_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6868 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 08:43:13 +00:00
Toshi MARUYAMA b21374891d remove trailing white-spaces from app/controllers/users_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6867 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-31 08:42:38 +00:00
Toshi MARUYAMA 39d77565e0 remove trailing white-spaces from app/controllers/welcome_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 15:17:44 +00:00
Toshi MARUYAMA 239bc3c795 remove trailing white-spaces from app/controllers/news_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6809 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 14:13:52 +00:00
Toshi MARUYAMA 44ea52dac3 remove trailing white-spaces from app/controllers/previews_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6808 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 14:13:09 +00:00
Toshi MARUYAMA 4ed5041965 remove trailing white-spaces from app/controllers/reports_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 14:12:20 +00:00
Toshi MARUYAMA 7b3c92ae05 remove trailing white-spaces from app/controllers/search_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6806 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 14:11:21 +00:00
Toshi MARUYAMA c6c6087284 remove trailing white-spaces from app/controllers/trackers_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 14:10:37 +00:00
Toshi MARUYAMA b22fe90370 remove trailing white-spaces from app/controllers/watchers_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 14:09:58 +00:00
Toshi MARUYAMA c3a9d10e3b remove trailing white-spaces from app/controllers/documents_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 13:07:52 +00:00
Toshi MARUYAMA 52b7603d77 remove trailing white-spaces from app/controllers/gantts_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6802 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 13:07:12 +00:00
Toshi MARUYAMA 7542a48981 remove trailing white-spaces from app/controllers/ldap_auth_sources_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6801 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 13:06:32 +00:00
Toshi MARUYAMA b840af0db0 remove trailing white-spaces from app/controllers/my_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6800 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 13:05:53 +00:00
Toshi MARUYAMA 3fbf8e2382 remove trailing white-spaces from app/controllers/boards_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6799 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 13:05:09 +00:00
Toshi MARUYAMA a5d0a7e679 remove trailing white-spaces from app/controllers/calendars_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6798 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 13:04:34 +00:00
Toshi MARUYAMA 4c803780d2 remove trailing white-spaces from app/controllers/context_menus_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6797 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 13:03:57 +00:00
Toshi MARUYAMA e028e54258 remove trailing white-spaces from app/controllers/auto_completes_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6796 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-30 13:03:05 +00:00
Toshi MARUYAMA ffcbbca81c remove trailing white-spaces from app/controllers/versions_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6691 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-28 06:49:08 +00:00
Toshi MARUYAMA a0e7713c8a remove trailing white-spaces from app/controllers/admin_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-27 05:49:47 +00:00
Toshi MARUYAMA 59849253dd remove trailing white-spaces from app/controllers/application_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6525 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-22 13:29:48 +00:00
Toshi MARUYAMA dd43df8180 remove trailing white-spaces from app/controllers/timelog_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6518 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-21 09:26:32 +00:00
Jean-Philippe Lang b81149fa47 Remove autologin cookie on unverified request.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6316 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-25 21:15:09 +00:00
Jean-Philippe Lang 130b71d121 Sets forgery protection filter first.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6315 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-25 21:02:27 +00:00