Commit Graph

1200 Commits

Author SHA1 Message Date
Jean-Philippe Lang dcce70095b Option to set parent automatically for new wiki pages (#3108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-17 11:44:04 +00:00
Jean-Philippe Lang 7c00a4a11f Restores migration broken by r8182 and removes default scope on Role (#9800).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8213 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 22:24:20 +00:00
Etienne Massip 7d2298f39c Save an @Issue#save@.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8212 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 20:31:34 +00:00
Etienne Massip 90010d1f3b Removed code duplicated in lib.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-14 18:07:27 +00:00
Jean-Philippe Lang e1f885feda Use safe_attributes for issue watchers assignment.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-13 19:50:44 +00:00
Jean-Philippe Lang f9b6e57d24 Fixed error on project creation due to unrecognized route.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8192 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-12 18:05:13 +00:00
Jean-Philippe Lang 0471de41ff Resourcified enumerations.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8189 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-11 10:26:12 +00:00
Etienne Massip 7ba57e517b Explicitly declare all routes and deactivate default route.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8162 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 13:33:01 +00:00
Jean-Philippe Lang 467503fd4b Changed ProjectsController#destroy to DELETE only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 09:32:41 +00:00
Jean-Philippe Lang 52a7fa6176 Changed IssuesController#destroy to DELETE only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 09:10:51 +00:00
Jean-Philippe Lang 3dcd71a082 REST urls for user memberships.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8146 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-10 08:37:48 +00:00
Jean-Philippe Lang 532a76f78c Resourcified roles.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8145 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 23:29:58 +00:00
Jean-Philippe Lang b127f9157d Resourcified custom fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8144 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-09 22:58:30 +00:00
Jean-Philippe Lang 1050993348 Removed unnecessary calculations in time entries index.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 23:01:42 +00:00
Jean-Philippe Lang 9e5ed4208b Adds named scopes for time entries index.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8084 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 22:49:46 +00:00
Jean-Philippe Lang ff0f141126 Adds named scopes for projects index.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 22:31:02 +00:00
Jean-Philippe Lang f52410be19 Adds named scopes for users index.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-04 22:24:33 +00:00
Jean-Philippe Lang fd18c51938 Adds tests for plugin settings editing.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8039 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 10:06:41 +00:00
Jean-Philippe Lang 8bbb5d9686 Tests/cleanup VersionsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8038 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-03 09:12:51 +00:00
Jean-Philippe Lang 69a2431dd0 Dropped TimeEntryReportsController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 19:33:05 +00:00
Jean-Philippe Lang caf898d7d1 Extracted time report logic from the controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-02 18:46:43 +00:00
Jean-Philippe Lang 6475fe6474 Controller cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8021 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-01 21:16:44 +00:00
Jean-Philippe Lang 2967023a0e Resourcified boards.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8020 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-01 21:14:09 +00:00
Jean-Philippe Lang c3c2a4afe0 Resourcified documents.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8010 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 19:51:16 +00:00
Jean-Philippe Lang 1a28bd8e7e Removed #find_project already defined as #find_project_by_project_id in parent class.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8009 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 19:08:06 +00:00
Jean-Philippe Lang 7a68ae27b0 Reverted r8007.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8008 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 19:02:40 +00:00
Jean-Philippe Lang 33e25255e3 Removed #find_project already defined in parent class.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8007 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-30 19:01:14 +00:00
Jean-Philippe Lang 740dc53aab Removed useless rescue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 18:20:39 +00:00
Jean-Philippe Lang 361c059a6f Removed unused method.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7980 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 18:15:27 +00:00
Jean-Philippe Lang b7d0ee3f47 Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7979 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 18:14:12 +00:00
Jean-Philippe Lang f45fc1a1ba Removed a useless rescue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-29 18:11:59 +00:00
Jean-Philippe Lang 2dbbdafbc6 Removed EnumerationsController#list action.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7973 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 20:23:57 +00:00
Jean-Philippe Lang b8a924e4e1 Adds #current_version? method to wiki content.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7972 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 20:12:03 +00:00
Jean-Philippe Lang 63dc83fc0d Fixed: Section-edit buttons not available when a the version parameter is provided even if it's the current version (#9674).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7970 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-28 18:11:30 +00:00
Jean-Philippe Lang 5a51ac7663 Update MessagesController#quote to match the input id changed in r7682 (#9672).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7961 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 21:30:50 +00:00
Jean-Philippe Lang 5ac8020801 Do not include extra_info attribute in SysController responses because it breaks reposman activeresource client (#8707).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7956 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 17:30:28 +00:00
Jean-Philippe Lang 885605b439 Resourcified attachments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 11:16:47 +00:00
Jean-Philippe Lang f680e7f8ac Adds routes for group users.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-27 10:47:36 +00:00
Jean-Philippe Lang 703211c0a6 Fixed time entries context menu display according permissions (#9405).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7922 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-24 21:31:21 +00:00
Jean-Philippe Lang 3e0936606e Removed object name from form_for arguments.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7904 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-23 20:09:57 +00:00
Jean-Philippe Lang 68f3e91bd7 Resourcified issue statuses.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7890 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 22:04:07 +00:00
Jean-Philippe Lang 6577f37fc3 Resourcified trackers.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-22 21:32:45 +00:00
Jean-Philippe Lang 34c73c7573 REST API for issue categories (#9553).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7882 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 17:09:01 +00:00
Jean-Philippe Lang 6f4fb8b892 Resourcified issue categories (#9553).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 15:55:19 +00:00
Jean-Philippe Lang 248b725875 Adds API response to /issue_statuses to get the list of all available statuses (#7180).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7878 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:25:58 +00:00
Jean-Philippe Lang 053adaef52 Adds API response to /trackers to get the list of all available trackers (#7181).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 14:17:43 +00:00
Jean-Philippe Lang ca300ccdea Adds a dialog box for CSV export options (#4742).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7874 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 13:23:20 +00:00
Toshi MARUYAMA 245b534c83 attachment: add a new feature to switch "side by side" and "inline" for patches (#9612)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-20 06:13:26 +00:00
Etienne Massip 872f631396 Remove reference to deleted method.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7836 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 21:29:50 +00:00
Jean-Philippe Lang 1e8a9da131 Handle the case of a text formatter that doesn't support section edit (#2222).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:41:54 +00:00
Jean-Philippe Lang 2770e28535 Do not show section edit links for wiki page history (#2222).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7830 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:31:17 +00:00
Jean-Philippe Lang 6fc245327c Wiki: allows single section edit (#2222).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-18 16:25:00 +00:00
Toshi MARUYAMA 00faf35e05 pdf: add a new feature to export wiki pdf (#401)
Contributed by Jun NAITOH.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-06 10:49:09 +00:00
Etienne Massip 269014ced8 Added an administration setting to allow issue start date to be defaulted to blank (nil) at issue creation (#2269).
Based on the patch of #2277 contributed by Mischa The Evil.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7733 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-05 18:40:33 +00:00
Toshi MARUYAMA 4ae7f82f3a do not annotate text files which exceed the size limit for viewing (#9484)
Contributed by Antonio García-Domínguez.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-05 03:47:03 +00:00
Toshi MARUYAMA e33ce24849 scm: controller: include parents in changesets (#5501)
Contributed by Jan Topiński.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-11-03 08:11:38 +00:00
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
Jean-Philippe Lang 521eaa79cb Ability to load relations on /issues API (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-24 15:34:41 +00:00
Jean-Philippe Lang d0889f9127 Author should be displayed as assignable on a single issue right click menu (#7136).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6310 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 20:02:31 +00:00
Jean-Philippe Lang fdd5367eba Respond with errors and appropriate content type on /issues API calls with invalid query params (#8883).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6309 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 19:45:23 +00:00
Jean-Philippe Lang 578fdc62f2 Ability to assign issues to groups (#2964).
Option is disabled by default. It can be turned on in application settings.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6306 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 18:18:13 +00:00
Jean-Philippe Lang e1832f25c9 Set menu item for IssueMovesController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6305 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-23 13:44:15 +00:00
Jean-Philippe Lang 82f5831545 Adds 'Create and continue' button on the new group form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-21 15:55:50 +00:00
Jean-Philippe Lang f595197ecf Adds a 'Create and continue' button on project form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6303 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-21 15:51:58 +00:00
Jean-Philippe Lang f89483a206 REST API for reading attachments (#7671).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6295 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-18 20:53:10 +00:00
Jean-Philippe Lang f208fcecca Adds issue id link in the issue creation flash message (#3033).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 19:23:50 +00:00
Jean-Philippe Lang 621850d5a0 Typo in api_key_auth deprecation code (#8773).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6208 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 18:48:34 +00:00
Jean-Philippe Lang 389c7779e6 Fixed: search options get lost after clicking on a specific result type (#7501).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6201 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 11:25:01 +00:00
Jean-Philippe Lang 93c2b92a4b Separation of RSS/API auth actions.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6197 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-09 08:56:07 +00:00
Jean-Philippe Lang c8b627dfc7 Mitigates vulnerability in API authentication introduced in r3218.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6187 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-06 19:02:58 +00:00
Jean-Philippe Lang d48ea90876 Makes custom queries available through the REST API (#5737).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-06 16:57:04 +00:00
Jean-Philippe Lang 42f9dc7d2c Makes relations resource shallow (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-05 16:47:34 +00:00
Jean-Philippe Lang 852cb183b1 Makes versions resource shallow (#7403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-05 16:29:06 +00:00
Jean-Philippe Lang b86a748b1d Adds REST API for versions (#7403).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 19:34:58 +00:00
Jean-Philippe Lang daa426167f Adds support for GET on /issues/:issue_id/relations (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:44:41 +00:00
Jean-Philippe Lang 21b3718744 Adds REST API for issue relations (#7366).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6176 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-04 17:03:04 +00:00
Jean-Philippe Lang 7d658e1477 Adds a 'New version' link on the roadmap.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6169 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 12:56:27 +00:00
Jean-Philippe Lang 8914d323ee Fixed: private queries should not be accessible to other users (#8729).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-07-03 11:01:08 +00:00
Jean-Baptiste Barth 115d227298 Do not cache I18n strings when truncating a long diff (#5089).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6073 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-13 22:09:01 +00:00
Jean-Baptiste Barth ffe7aef0ea Do not show inactive document categories where not necessary (#8573).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6071 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-13 20:33:06 +00:00
Jean-Baptiste Barth d5cc7424a8 Do not show inactive issue priorities where not necessary (#8573).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6070 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-13 19:43:40 +00:00
Jean-Philippe Lang fccf15c2a2 Fixed: Private flag ignored when creating an issue with set_own_issues_private permission only (#8472).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-06-01 17:16:38 +00:00
Toshi MARUYAMA f5aec8f562 remove trailing white-spaces from sys controller source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5888 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-25 04:39:33 +00:00
Jean-Philippe Lang 12801ca031 Fixed: GET /time_entries.xml ignores limit/offset parameters (#8356).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5881 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-22 10:48:59 +00:00
Toshi MARUYAMA 5543ec5f5a scm: code clean up repositories controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5875 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 06:16:19 +00:00
Toshi MARUYAMA 782f7ca3bf scm: remove trailing white-spaces from repositories controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5874 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-21 06:15:34 +00:00
Toshi MARUYAMA 5e36c24f66 remove trailing white-spaces from mail handler controller source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5838 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:13:08 +00:00
Toshi MARUYAMA 7e308ae375 remove trailing white-spaces from files controller source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5837 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:12:48 +00:00
Toshi MARUYAMA 554c6f0d4a remove trailing white-spaces from attachments controller source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5836 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:12:27 +00:00
Toshi MARUYAMA 5d4e4f241c remove trailing white-spaces and an empty line from activities controller source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5835 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 07:12:04 +00:00
Toshi MARUYAMA 71088ed847 remove trailing white-spaces from settings controller source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5827 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-18 02:18:47 +00:00
Toshi MARUYAMA 5b8dfe0372 remove trailing white-spaces from wiki controller source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 04:34:44 +00:00
Toshi MARUYAMA 4eb3af53d0 remove trailing white-spaces from issues controller source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5823 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 04:34:03 +00:00
Toshi MARUYAMA e357057559 remove trailing white-spaces from issue moves controller source.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5821 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-17 03:59:02 +00:00
Toshi MARUYAMA 57c5b4ea74 scm: use repository merge_extra_info() to save extra_ parameter (#8365, #7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5770 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 03:52:18 +00:00
Toshi MARUYAMA ab430a13b5 scm: switch to save repository setting params in "extra_" or not (#8365, #7047).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5769 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-13 03:51:43 +00:00
Toshi MARUYAMA 092cfc0229 remove trailing white-spaces from app/controllers/application_controller.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5749 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-12 04:25:47 +00:00
Toshi MARUYAMA 615c81f3df scm: code clean up Repositories Controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5708 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-08 09:47:42 +00:00
Toshi MARUYAMA 69bb041c46 scm: set disable a button if scm is not selected in project scm setting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-04 04:59:28 +00:00
Toshi MARUYAMA ca5ce92cfc scm: code clean up RepositoriesController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-03 07:32:50 +00:00
Toshi MARUYAMA ed7091cda1 Fix potential Execution After Redirect bugs.
Execution After Redirect (EAR) happens when redirect in a controller is
triggered but there still is code that is executed in the action.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-05-01 23:15:03 +00:00