Commit Graph

970 Commits

Author SHA1 Message Date
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
Jean-Philippe Lang fab9aca747 Fixed: selected modules are not activated when copying a project (#8244).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-29 07:26:45 +00:00
Toshi MARUYAMA 6da0d5d366 code clean up AdminController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-25 23:21:34 +00:00
Jean-Philippe Lang f89d04074e Warn about subtasks before deleting a parent issue (#6562).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5495 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-17 15:17:18 +00:00
Jean-Philippe Lang 6968d0da19 Fixed no method error due to typo.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5446 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 19:50:48 +00:00
Jean-Philippe Lang 7cdb4f2a87 No need to query changesets if user is not allowed to view them.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5445 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-12 19:45:47 +00:00
Jean-Philippe Lang 3cc7353093 Do a redirect when accessing a renamed wiki page.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5423 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 19:21:57 +00:00
Jean-Philippe Lang 6db0e8dcef Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5422 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 19:04:39 +00:00
Jean-Philippe Lang aa0d01b3d9 Adds an issues visibility level on roles (#7412).
It can be set so that users only see their own issues (created or assigned).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5416 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-11 17:53:15 +00:00
Jean-Philippe Lang 5f7f69e214 Removed calls to deprecated Project.visible_by method.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5328 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 12:57:18 +00:00
Jean-Philippe Lang e3dae9ddbf Cleaner way to handle the replacement of watch links (#8071).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5320 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 12:09:15 +00:00
Jean-Philippe Lang efccc61d79 Fixed: DoubleRenderError introduced by #7996.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5318 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-05 11:38:45 +00:00
Toshi MARUYAMA 098fabd6ce add function of bulk delete time entries (#7996).
Contributed by Adam Soltys.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5316 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-04 11:54:47 +00:00
Toshi MARUYAMA 8a31517288 add bulk edit and bulk update actions for time entries (#7996).
get bulk edit form action working by mapping permissions.

Contributed by Adam Soltys.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5313 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-04 11:53:29 +00:00
Toshi MARUYAMA ab31a114fd add controller for bulk edit time entries (#7996).
Contributed by Adam Soltys.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5312 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-04 11:53:03 +00:00
Jean-Philippe Lang 3c06f66d71 Shorten query[column_names] param name.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5304 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-03 14:31:32 +00:00
Jean-Philippe Lang afbd83d404 Skip a count(*) SQL query.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5294 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-02 11:46:20 +00:00
Jean-Philippe Lang b972b5a647 Fixed: list of users for adding to a group may be empty if 100 first users have been added (#8029).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5284 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 16:47:30 +00:00
Jean-Philippe Lang 4e7835c68c Fixed: bulk destroying parent and child issues raises a stale object error (#7920).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 16:26:53 +00:00
Jean-Philippe Lang a669dfbd7f Shortens filter param names.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5279 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 15:00:23 +00:00
Jean-Philippe Lang a80b909cc8 Converted issue filters to non-AJAX GET requests (#1965).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5276 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 14:34:44 +00:00
Jean-Philippe Lang c6e34b0c11 Initialize TimeEntry with issue and project for the issue edit form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5274 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-04-01 14:00:31 +00:00
Jean-Philippe Lang 13d6b3129b Adds support for preview when editing an issue note (#5520).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5246 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-28 21:45:30 +00:00
Toshi MARUYAMA f15b12556f scm: set mime type in downloading file.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 16:56:52 +00:00
Toshi MARUYAMA 79eba572af scm: fix non ascii text files displaying (#6256).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-22 15:31:17 +00:00
Jean-Philippe Lang 3d551f97e1 Fixed: Simultaneous wiki updates cause internal error (#7939).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-21 16:55:28 +00:00
Jean-Philippe Lang 9df5750906 Indentation.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5154 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-16 19:36:53 +00:00
Jean-Philippe Lang 899d410e0b Adds a Group filter on the admin users list (#7893).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5150 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-16 18:20:08 +00:00
Jean-Philippe Lang 0786b9ef99 Replaces TimeEntry.visible_by with a visible scope.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5149 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-16 17:29:30 +00:00
Toshi MARUYAMA b6dfa0b081 scm: recovery showing "root @ branch" in repository tree viewing.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5139 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-15 08:21:26 +00:00
Jean-Philippe Lang b8b35ab05f Moved wiki page updated_on eager load to a scope and fixed timestamp titles on wiki page index (#7818).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5098 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-03-12 18:09:46 +00:00