Commit Graph

9857 Commits

Author SHA1 Message Date
Jean-Philippe Lang 7e41730293 Display error messages when attachment validation fails (#13949).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11842 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-13 18:50:04 +00:00
Jean-Philippe Lang 288c3b863d Fixed that JS warning is not displayed when attachment maximum size is 0 (#13949).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11841 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-13 18:30:56 +00:00
Jean-Philippe Lang 4a59b869c0 Update notified_project_ids while saving record.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11840 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-13 17:11:38 +00:00
Jean-Philippe Lang 10ed306b19 Fixed that locking and unlocking a user resets the email notification checkbox (#14020).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11839 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-13 16:38:08 +00:00
Jean-Philippe Lang 0dce4761a8 Disable autofetching of repository changesets if projects are closed (#13945).
Patch by Mischa The Evil.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11838 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 10:05:35 +00:00
Jean-Philippe Lang 9b7d312a0e Fix handling multiple text parts in email (#13646).
Patch by Alex Shulgin.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11834 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 09:38:20 +00:00
Jean-Philippe Lang 76a3298306 Issue#children is never nil (#14015).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11833 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 08:49:54 +00:00
Jean-Philippe Lang 922acdbcc2 Check inclusion only once (#14015).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11832 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 08:45:40 +00:00
Jean-Philippe Lang a7102db8c4 Replaces camelcase variable names (#14015).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 08:42:41 +00:00
Jean-Philippe Lang a2b6088772 Removes some empty lines (#14015).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11830 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 08:41:21 +00:00
Jean-Philippe Lang cf30a68312 Removes then's (#14015).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 08:39:18 +00:00
Jean-Philippe Lang 8c9bba1cbf Replaces camelcase variable names (#14015).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11828 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 08:37:54 +00:00
Jean-Philippe Lang 78dc37d8af Improved Issue#all_dependent_issues (#14015).
Patch by Jost Baron.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11827 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-12 08:33:21 +00:00
Jean-Baptiste Barth ef153a5bca Improve plugins' Gemfile loading (#14028).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11826 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-11 11:19:21 +00:00
Toshi MARUYAMA f9e6414de6 sync Lithuanian jQuery datepicker (#13674)
This is from following revision.
ce73a2688d

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11825 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-11 07:22:29 +00:00
Toshi MARUYAMA b49ea330d1 prevent failure of test_create_issue_with_watchers at UI IssuesTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-10 09:22:57 +00:00
Toshi MARUYAMA 8a87ff96f9 code layout clean up app/views/issues/_attributes.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11823 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-10 06:44:45 +00:00
Toshi MARUYAMA 72a46e53ed prevent failure of test_create_issue_with_watchers at UI IssuesTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-10 05:51:31 +00:00
Toshi MARUYAMA ed956ba5d4 use with_settings at test_post_create_without_start_date_and_default_start_date_is_creation_date of IssuesControllerTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11821 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-10 04:37:42 +00:00
Toshi MARUYAMA e1ba9012c6 use with_settings at test_post_create_without_start_date_and_default_start_date_is_not_creation_date of IssuesControllerTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11820 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-10 04:37:31 +00:00
Toshi MARUYAMA a3766c5281 use with_settings at test_get_new_with_default_start_date_is_creation_date of IssuesControllerTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-10 04:37:21 +00:00
Toshi MARUYAMA af2053fe13 use with_settings at test_get_new_without_default_start_date_is_creation_date of IssuesControllerTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-10 04:37:09 +00:00
Toshi MARUYAMA 68ef3aeaa8 remove redundant empty lines from test_show_by_manager of IssuesControllerTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11817 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-10 03:50:44 +00:00
Toshi MARUYAMA d65c0e8ed7 remove redundant empty lines from test_show_by_anonymous of IssuesControllerTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-10 03:50:33 +00:00
Toshi MARUYAMA 644455d56b remove redundant empty line from test_index_with_fixed_version_column of IssuesControllerTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-10 03:50:22 +00:00
Toshi MARUYAMA 4b5677101c remove redundant empty line from test_index_should_not_show_spent_hours_column_without_permission of IssuesControllerTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-10 03:50:11 +00:00
Toshi MARUYAMA 47235f7b23 remove redundant empty line from test_index_with_spent_hours_column of IssuesControllerTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11813 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-10 03:50:00 +00:00
Toshi MARUYAMA 2542afbc3b remove redundant empty lines from test_index_with_done_ratio_column of IssuesControllerTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-10 03:49:48 +00:00
Toshi MARUYAMA 83d3aaf170 remove redundant empty lines from test_index_with_date_column of IssuesControllerTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-09 16:14:16 +00:00
Toshi MARUYAMA cd2776a96f run test:ui on CI Server Ruby 1.9.3 or higher (#12822)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-09 13:45:32 +00:00
Toshi MARUYAMA e038d630d5 prevent assert_difference failure of test_bulk_watch_issues_via_context_menu at UI IssuesTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11809 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-09 13:45:21 +00:00
Toshi MARUYAMA 6d4e43f3fb prevent assert_difference failure of test_watch_issue_via_context_menu at UI IssuesTest
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11808 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-09 13:45:09 +00:00
Toshi MARUYAMA aaa37be223 fix failure of test_remove_issue_watcher_from_sidebar at UI IssuesTest
<pre>
  2) Failure:
test_remove_issue_watcher_from_sidebar(Redmine::UiTest::IssuesTest) [test/ui/issues_test.rb:186]:
"Watcher.count" didn't change by -1.
<3> expected but was
<4>.
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11807 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-09 13:03:41 +00:00
Toshi MARUYAMA 2b022ac097 install capybara on only Ruby 1.9.3 or higher (#12822)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11806 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-09 13:03:28 +00:00
Toshi MARUYAMA 00f15828a2 upgrade capybara to 2.1 (#12822)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-09 12:21:45 +00:00
Toshi MARUYAMA 9f41c7283c add more asserting to test_create_issue_with_watchers of ui issues_test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-09 11:34:25 +00:00
Jean-Baptiste Barth 1e7c26d9a5 Document project links in ApplicationHelper#parse_redmine_links (#6689).
Contributed by Mischa The Evil


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-08 07:59:14 +00:00
Toshi MARUYAMA fe0293a110 sync Lithuanian jQuery datepicker (#13674)
This is from following revision.
49f9b849b9

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11802 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-08 03:51:04 +00:00
Toshi MARUYAMA 79e394a0c5 Enhanced Arabic translation by Amr Noaman (#13988)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11800 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-08 01:17:28 +00:00
Toshi MARUYAMA 5b95b6a6aa Swedish Translation for trunk updated by Nicklas Holm (#14003)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11799 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-07 23:38:11 +00:00
Toshi MARUYAMA d994ff79f4 Swedish Translation for 2.3-stable updated by Nicklas Holm (#14003, #14005)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11798 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-07 23:37:59 +00:00
Jean-Baptiste Barth 0d2fb4503b Add documentation about horizontal rule syntax (#2427).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11797 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-07 06:22:40 +00:00
Jean-Baptiste Barth b4c3bb0558 Fix Trac importer breaking on exotic characters with ruby 1.9+ (#13990).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11796 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-06 22:19:37 +00:00
Jean-Baptiste Barth 2b3111122e Ensure Tranc and Mantis importers don't reset global notification settings (#13989).
Contributed by Brandon Valentine


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11795 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-06 20:39:03 +00:00
Toshi MARUYAMA db3b3d3a1c Lithuanian "label_attachment" translation changed by Andrius Kriučkovas (#13674)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11794 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-05 10:58:19 +00:00
Toshi MARUYAMA be0da7aaa8 Lithuanian "field_generate_password" translation updated by Andrius Kriučkovas (#13674)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11793 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-05 10:58:08 +00:00
Toshi MARUYAMA 2183c673d1 remove duplicate Lithuanian "error_attachment_too_big" translation keys (#13950)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11791 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-05 09:24:25 +00:00
Jean-Baptiste Barth ec4dbbced5 Add status to /users/:id API for admins (#13948).
Patch by Kambiz Darabi


git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11790 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-05 08:19:17 +00:00
Jean-Philippe Lang afa9100453 Fixed test broken by r11787 (#13943).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-04 15:44:09 +00:00
Jean-Philippe Lang d69de691a7 Fixed that bulk copy raises an error on validation failure (#13943).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11788 e93f8b46-1217-0410-a6f0-8f06a7374b81
2013-05-04 15:18:16 +00:00