Commit Graph

9542 Commits

Author SHA1 Message Date
Jean-Philippe Lang cd437b7e1d Code cleanup, use named routes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11067 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-22 10:00:00 +00:00
Jean-Philippe Lang 3976d5e740 Use #assert_select instead of #assert_tag.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11066 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-22 09:35:35 +00:00
Jean-Philippe Lang eecabc5bb0 Use #assert_select instead of #assert_tag.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11065 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-22 08:17:59 +00:00
Jean-Philippe Lang 7f74044854 "New issue" menu item should not link to copy form (#12652).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11064 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-21 21:17:21 +00:00
Jean-Philippe Lang 94d9172634 Changed revision regexp to make source: links accept a branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-21 20:59:35 +00:00
Jean-Philippe Lang 852b336f5e Adds CSS classes on pagination links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11062 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-21 20:58:55 +00:00
Toshi MARUYAMA b4aab7b375 remove trailing white-spaces from app/models/issue_relation.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11061 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-21 04:52:58 +00:00
Toshi MARUYAMA 77a974b4ee Russian "about_x_hours" and "x_hours" translation changed by Mikhail Velkin (#12645)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11060 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-20 05:17:55 +00:00
Toshi MARUYAMA f0c227613a remove unused "label_modification" i18n keys (#12645)
These keys were removed from app/views/repositories/revision.rhtml by r535
and app/views/repositories/revisions.rhtml by r381.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-20 03:57:29 +00:00
Toshi MARUYAMA 7c194ea59a remove unused "label_download" i18n keys (#12645)
These keys were removed from app/views/documents/show.rhtml by r1180.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11058 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-20 03:56:53 +00:00
Toshi MARUYAMA 7eb53ae50f remove unused "gui_validation_error" i18n keys (#12645)
These keys were removed from app/helpers/application_helper.rb by r2493.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11057 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-20 03:55:35 +00:00
Toshi MARUYAMA 5dacff5ccc add "few" and "many" to Russian "x_hours" (#12640)
Contributed by Mikhail Velkin.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11056 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-19 15:03:38 +00:00
Toshi MARUYAMA d42aaf2254 German "label_issues_by" changed by Daniel Felix (#12629)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-18 23:19:53 +00:00
Toshi MARUYAMA 82d4adc356 Russian "about_x_hours" translation changed by Mikhail Velkin (#12640)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-18 23:19:25 +00:00
Toshi MARUYAMA c3cfdfadfd Russian "x_hours" translation updated by Mikhail Velkin (#12630)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11051 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-18 22:50:53 +00:00
Toshi MARUYAMA c7fae614f0 Japanese "permission_commit_access" and "button_view" translation changed by Ian Walker (#12626)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-18 14:18:11 +00:00
Toshi MARUYAMA 16bddb9d24 replace tabs to spaces at Redmine.pm
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11049 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-18 14:17:27 +00:00
Jean-Philippe Lang 8396fff19b Changelog for 2.2.0 release.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11041 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-18 12:23:31 +00:00
Toshi MARUYAMA 9a1262846a Russian translation changed by Kirill Bezrukov (#12615, #12619)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11036 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 23:06:09 +00:00
Toshi MARUYAMA 2881a7245d Russian translation updated by Kirill Bezrukov (#12615)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11035 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 22:34:15 +00:00
Jean-Philippe Lang 352ec0e9e4 #pagination_links_each yields all links!
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11034 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 20:27:56 +00:00
Jean-Philippe Lang 1a58737004 Reset the page parameter when changing the number of items per page.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11033 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 20:20:56 +00:00
Jean-Philippe Lang 7f152d3485 Makes #per_page_links take a paginator.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11032 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 20:19:48 +00:00
Jean-Philippe Lang 56669f9b13 Split #per_page_links helper and moved test to specific test case.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11031 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 20:17:52 +00:00
Jean-Philippe Lang ab3330a945 All spaces after links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11030 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 19:39:32 +00:00
Jean-Philippe Lang 7143bd6d27 Makes #pagination_links_full accept a block for building custom links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11029 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 19:38:17 +00:00
Jean-Philippe Lang 42d3ec3a59 Display 25 items.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11028 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 18:24:06 +00:00
Jean-Philippe Lang 85fb937a4e Use scoped models for pagination.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11027 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 18:23:30 +00:00
Jean-Philippe Lang 1cf379f370 Replaces the classic_pagination plugin with a simple pagination module.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11026 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 18:21:24 +00:00
Toshi MARUYAMA dfe2b6fbe9 Dutch translation updated (#12614)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11022 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 11:49:46 +00:00
Toshi MARUYAMA dd26ac3038 code cleanup gantt_helper.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11021 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-17 07:14:26 +00:00
Toshi MARUYAMA 44413d3db7 Norwegian translation changed by Ketil Mehl (#12605, #12608)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11015 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-16 06:37:02 +00:00
Toshi MARUYAMA 341431d44a Norwegian translation for 1.4-stable updated by Ketil Mehl (#12605)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11014 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-16 06:36:49 +00:00
Toshi MARUYAMA 1538ab894b Japanese translation updated by Go MAEDA (#12606)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-16 05:44:04 +00:00
Toshi MARUYAMA b5820ce54f Japanese translation for 2.2-stable updated (#12607)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11012 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-16 05:43:50 +00:00
Jean-Philippe Lang ccb886b715 Verifies that the param is a Hash.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11011 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-15 10:03:52 +00:00
Jean-Philippe Lang 39e7bab2b9 Save the selected file just in case uploading stuff fails/is not supported.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11010 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-15 10:03:34 +00:00
Toshi MARUYAMA 0d86303e3f Korean translation updated by Jongwook Choi (#12602)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10999 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-15 00:01:54 +00:00
Toshi MARUYAMA 301d7e7cb1 German translation updated by Daniel Felix (#10191)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10998 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-14 14:47:46 +00:00
Etienne Massip bc51058a7c Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10997 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-13 18:43:34 +00:00
Jean-Philippe Lang 7775f86a69 Code cleanup in AuthSource controller and views.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10996 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-13 15:04:11 +00:00
Jean-Philippe Lang c31f498ba6 Code cleanup: implement Plugin#to_param for generating routes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10995 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-13 13:52:56 +00:00
Jean-Philippe Lang c93fccc84a Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10994 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-13 13:43:01 +00:00
Jean-Philippe Lang d46a0a3a4f NoMethodError: private method `now' called for DateTime:Class error in tests with ruby < 1.9.3 (#5298).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10993 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-13 13:18:41 +00:00
Jean-Philippe Lang 0a773bcbb3 Fixed that validation fails when receiving an email with list custom fields (#12400).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10992 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-13 13:14:46 +00:00
Jean-Philippe Lang b99a6f11f3 Fixed: clicking journal edit multiple times shows multiple forms (#12568).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10991 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-13 12:42:10 +00:00
Jean-Philippe Lang c99b638d61 Store attachments in subdirectories (#5298).
Existing files can be moved to their target subdirectories using rake redmine:attachments:move_to_subdirectories.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10990 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-13 12:07:19 +00:00
Toshi MARUYAMA d0bbaef308 remove trailing white-spaces from public/javascripts/attachments.js
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10989 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-12 10:23:08 +00:00
Jean-Philippe Lang cabfece11b Use browser language as default when registering.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10988 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-12 06:05:35 +00:00
Jean-Philippe Lang 24be0551cc Code cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10987 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-12-11 20:38:26 +00:00