Toshi MARUYAMA
be79553f33
code layout clean up test_overdue of unit issue test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10633 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 10:14:42 +00:00
Toshi MARUYAMA
dd887891f7
code layout clean up test_rescheduling_an_issue_should_reschedule_following_issue of unit issue test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10632 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 10:14:16 +00:00
Jean-Philippe Lang
55dbd8886f
Tests cleanup, use #assert_select instead of #assert_tag.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10631 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 09:54:31 +00:00
Jean-Philippe Lang
43da05f3cb
Set proper locale.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10629 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 08:22:49 +00:00
Jean-Philippe Lang
6c3e38c4c0
Tests cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 08:21:18 +00:00
Jean-Philippe Lang
a88782bdec
Tests cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10627 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 08:14:53 +00:00
Jean-Philippe Lang
31ee1d22eb
Test moved to tests with transactional fixtures disabled.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10626 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 08:03:19 +00:00
Jean-Philippe Lang
9af6141c91
Reverts r10623 for clarity, this test does not need the default language to be forced to "en".
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10625 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 07:56:45 +00:00
Jean-Philippe Lang
8a6ce3a646
Make sure that custom field format cannot be changed.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10624 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-13 07:40:07 +00:00
Toshi MARUYAMA
e04bd297e0
set language en at test_put_update_with_spent_time_and_failure_should_not_add_spent_time at functional issues controller test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10623 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 23:23:32 +00:00
Jean-Philippe Lang
7b5d15eca8
Test that spent time should not be added when issue update fails ( #11283 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10621 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 21:30:12 +00:00
Jean-Philippe Lang
ad94777d9c
Expose roles details via REST API ( #11502 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10620 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 17:22:52 +00:00
Toshi MARUYAMA
90e0d681dc
code layout cleanup test/unit/issue_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 14:33:22 +00:00
Toshi MARUYAMA
924e5ad61b
set language en at test_create_with_invalid_parent_issue_id of unit issue test ( #11979 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10618 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 14:32:55 +00:00
Toshi MARUYAMA
b537a2f1de
add test of parent issue id beginning sharp to unit issue test ( #11979 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10617 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 14:32:24 +00:00
Jean-Philippe Lang
2b797fa82f
Fixed: No validation errors when entering an invalid "Parent task" ( #11979 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10615 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 13:40:41 +00:00
Jean-Philippe Lang
8358dc1cc5
Fixed that User#allowed_to? should return true or false ( #12078 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10614 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 09:12:03 +00:00
Jean-Philippe Lang
92391abd1e
Removed issue_create! helper in favour of Issue.generate!
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10613 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 09:02:25 +00:00
Jean-Philippe Lang
51818cbbb6
Makes Issue.generate_with_descendants! helper accept attributes only.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10612 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 08:56:09 +00:00
Jean-Philippe Lang
8bde60dc56
Remove Issue.generate_for_project! test helper and use Issue.generate! instead.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10611 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-12 08:39:22 +00:00
Jean-Philippe Lang
d8f039f489
Isolate the test that actually require non transactional fixtures.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10610 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-11 19:07:08 +00:00
Jean-Philippe Lang
3e706adddd
Preserve username when authentification failed ( #11846 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10609 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-11 17:17:30 +00:00
Jean-Philippe Lang
5344a35f72
Adds an optional X-Redmine-Switch-User header to let admin users swicth user in API calls ( #11755 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10608 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-11 17:07:24 +00:00
Toshi MARUYAMA
2ac9f7d6ac
remove empty line and add newline at end of test/fixtures/wikis.yml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10607 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-11 04:30:29 +00:00
Toshi MARUYAMA
f9b073f9d0
remove empty line and add newline at end of test/fixtures/watchers.yml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10606 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-11 04:30:15 +00:00
Toshi MARUYAMA
ee3ef85157
remove empty line and add newline at end of test/fixtures/issue_categories.yml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10605 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-11 04:30:00 +00:00
Toshi MARUYAMA
3ba648e2dc
remove empty line and add newline at end of test/fixtures/groups_users.yml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10604 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-11 04:29:45 +00:00
Toshi MARUYAMA
fd79c1b5b4
remove empty line and add newline at end of test/fixtures/comments.yml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-11 04:29:30 +00:00
Toshi MARUYAMA
3a683c8ef3
remove empty line and add newline at end of test/fixtures/changesets.yml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-11 04:29:14 +00:00
Toshi MARUYAMA
2f555a3183
remove empty line and add newline at end of test/fixtures/changes.yml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10599 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-11 03:37:32 +00:00
Toshi MARUYAMA
667ad23f9c
add newline at end of test/fixtures/user_preferences.yml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10595 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-11 01:15:31 +00:00
Toshi MARUYAMA
578d15ed00
add newline at end of test/fixtures/documents.yml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-11 01:15:17 +00:00
Toshi MARUYAMA
70d75ad222
remove empty line from end of test/fixtures/issue_relations.yml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-11 01:15:02 +00:00
Toshi MARUYAMA
00100a15eb
remove empty line and add newline at end of test/fixtures/projects.yml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10591 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-10 23:57:14 +00:00
Toshi MARUYAMA
6c692d9715
remove empty line and add newline at end of test/fixtures/projects_trackers.yml
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-10 23:56:38 +00:00
Jean-Philippe Lang
83bcc1f043
Adds a setting to allow subtasks to belong to other projects ( #5487 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10587 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-10 17:38:17 +00:00
Jean-Philippe Lang
5a02dcf0a9
Fixed that issue notes preview is broken by r10547 ( #1554 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10585 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-09 19:11:49 +00:00
Jean-Philippe Lang
3a178a42cf
Add "last 2 weeks" preset to time entries reporting ( #11862 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10583 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-09 17:40:00 +00:00
Jean-Philippe Lang
340b4a30d0
Removed invalid/duplicate test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10582 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-09 17:38:46 +00:00
Jean-Philippe Lang
7263862ce3
Cleanup ( #12050 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-09 17:03:40 +00:00
Jean-Philippe Lang
7626b21a1e
Fixed that export: links are broken ( #12050 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10580 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-09 17:02:22 +00:00
Toshi MARUYAMA
92f9280352
code layout cleanup test/integration/api_test/issues_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10574 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-09 11:03:20 +00:00
Toshi MARUYAMA
178f64950f
code layout cleanup test/unit/issue_relation_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10573 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-09 11:02:56 +00:00
Toshi MARUYAMA
727aad50b7
add missing fixtures to test/unit/issue_relation_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10572 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-09 10:41:16 +00:00
Toshi MARUYAMA
3599cb15a2
add missing fixture to test/integration/api_test/issues_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10571 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-09 10:14:14 +00:00
Jean-Philippe Lang
fa237901b0
Adjusts test for r10569.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10570 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-07 13:47:22 +00:00
Jean-Philippe Lang
b9d7c22297
Adds no_issue_in_project operator for relations filter ( #3265 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-04 18:10:41 +00:00
Toshi MARUYAMA
88e1587b08
sort custom field issue filter by type and position ( #12018 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10555 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-04 04:48:48 +00:00
Toshi MARUYAMA
7c0c699f95
change "is_private" issue filter order from 15 to 16 ( #12018 )
...
Order 15 is duplicate with "watcher_id" filter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-04 04:09:41 +00:00
Toshi MARUYAMA
eaf46c5512
change "status" issue filter order from 1 to 0 ( #12018 )
...
Order 1 is duplicate with "project" filter.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10551 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-04 04:09:14 +00:00
Toshi MARUYAMA
b571c3dbc9
split QueriesHelper filters_options_for_select method and add new unit test ( #12018 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-04 04:08:38 +00:00
Toshi MARUYAMA
5ddd6e7d1f
insert position field to custom_fields fixture ( #12018 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-04 03:44:47 +00:00
Jean-Philippe Lang
0178b5a2fe
Private issue notes ( #1554 ).
...
Adds 2 new permissions for viewing/adding private comments to issues.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-03 21:36:19 +00:00
Toshi MARUYAMA
bb1563f23f
fix integration hook test name
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10546 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-02 22:30:44 +00:00
Toshi MARUYAMA
a29854707b
add new user format "lastname" ( #10937 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10543 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-01 07:08:04 +00:00
Toshi MARUYAMA
5f794b5af5
fix replacing shoulda test name at r10540
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10541 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-01 07:07:35 +00:00
Toshi MARUYAMA
df44af819c
replace "User#before_create" and "User.login" shoulda contexts at unit user test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-01 06:41:18 +00:00
Toshi MARUYAMA
b04f44f944
fix 'object_daddy creation' test name at unit user test
...
Redmine dropped object_daddy at r9469 for Rails3 porting.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-10-01 06:41:04 +00:00
Jean-Philippe Lang
61248d1dbc
Test failure.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10517 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-29 15:19:34 +00:00
Jean-Philippe Lang
1b6da80e16
Makes related issues available for display and filtering on the issue list ( #3239 , #3265 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-29 12:57:38 +00:00
Toshi MARUYAMA
69b8931e92
add functional test of sub repository diff path ( #11966 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10503 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-28 03:43:51 +00:00
Toshi MARUYAMA
69a3941ac8
add functional test of main repository diff path ( #11966 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10502 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-28 03:43:25 +00:00
Toshi MARUYAMA
086478c5a6
set user preference diff type nil at functional tests
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10501 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-28 02:02:30 +00:00
Toshi MARUYAMA
1efd303b4a
scm: git: use with_settings instead of assigned setting at functional test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10498 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-27 23:16:56 +00:00
Jean-Philippe Lang
3e7bb3c632
Missing fixtures.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-27 22:30:10 +00:00
Jean-Philippe Lang
f58ed6c206
Fixed that issue author is assigned with current user when the edit form is updated ( #11975 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10494 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-27 22:12:11 +00:00
Jean-Philippe Lang
cc4cff9f11
Adds a "Copied from/to" relation when copying issue(s) ( #6899 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10491 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-27 19:09:30 +00:00
Toshi MARUYAMA
7690aff8bd
remove empty setup method from test/unit/changeset_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10480 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-26 11:17:53 +00:00
Toshi MARUYAMA
455738cbe9
use set_language_if_valid 'en' at test_parent_should_be_in_same_project at unit board test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10478 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-26 10:54:47 +00:00
Toshi MARUYAMA
cf52a6ccb4
set default_language en at test_commit_closing_a_subproject_issue of unit changeset test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10477 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-26 10:54:30 +00:00
Toshi MARUYAMA
c91ce512a9
fix number_to_currency() raises exception on Rails3 bs and de locale ( #11922 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10476 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-26 08:45:39 +00:00
Jean-Philippe Lang
917a89fbf7
Fixed JSON escaping of filters ( #11929 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10465 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-25 18:23:11 +00:00
Jean-Philippe Lang
838025372d
Potential can't dup NilClass error in UserPreference ( #11905 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10438 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-22 06:16:53 +00:00
Jean-Philippe Lang
5328c4adcb
Anonymous users should always see public issues only ( #11872 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10437 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-20 19:26:58 +00:00
Jean-Philippe Lang
59d8ae61ef
Anonymous users should not see private issues with anonymous author ( #11872 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10433 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-19 21:48:33 +00:00
Toshi MARUYAMA
37351ddecc
remove empty setup method from test/unit/lib/redmine/unified_diff_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-19 03:02:17 +00:00
Toshi MARUYAMA
551c024b45
add functional attachment test of mercurial export file ( #11868 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10429 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-19 03:02:03 +00:00
Toshi MARUYAMA
f18edc4e1c
use git diff format for all diff ( #11868 )
...
Mercurial diff uses git format.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10428 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-19 02:29:11 +00:00
Jean-Philippe Lang
d277d14432
Remove trailing (revision nn) from filenames in subversion diffs.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10425 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-18 19:44:08 +00:00
Jean-Philippe Lang
12de6a177a
Fixed that git diff displays deleted files as /dev/null ( #11868 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10424 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-18 19:32:58 +00:00
Toshi MARUYAMA
74f7fc38f0
scm: bazaar: add more comment to non ASCII path tests at unit model test ( #11834 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10423 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-18 10:10:55 +00:00
Toshi MARUYAMA
1fcd3d956f
scm: bazaar: add non ASCII path test to unit model test ( #11834 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10421 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-18 09:30:35 +00:00
Toshi MARUYAMA
51e6c7589e
scm: bazaar: update test repository ( #11834 )
...
Add new "non_ascii" branch.
It was created by "bzr branch --no-tree branch00 non_ascii".
It is equivalent to Git bare repository and Mercurial "hg update null".
It has non ASCII path name files and directory.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10414 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-17 22:49:31 +00:00
Toshi MARUYAMA
01e2472c92
scm: bazaar: add entry test to unit lib test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10411 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-17 10:41:59 +00:00
Toshi MARUYAMA
2da70de1a7
scm: git: add entry test to unit lib test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10410 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-17 10:41:33 +00:00
Toshi MARUYAMA
55748b6fc0
scm: bazaar: add revisions test to unit lib test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10408 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-17 07:58:05 +00:00
Jean-Philippe Lang
e05e9179fd
Added a test for JSON upload.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10407 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 19:14:44 +00:00
Jean-Philippe Lang
f825167003
Removed test contexts.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10406 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 19:11:59 +00:00
Jean-Philippe Lang
57c38a33e5
Adds assertions on the confirmation form.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10405 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 15:39:11 +00:00
Jean-Philippe Lang
b81a578eb6
Adjust tests for new fixture.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10404 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 15:36:05 +00:00
Jean-Philippe Lang
8593e34722
Adds missing WikiContent fixture.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10403 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 15:31:59 +00:00
Jean-Philippe Lang
747e4ecd3a
Adds a "depth" option to the child_pages macro ( #10789 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10401 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 15:24:35 +00:00
Jean-Philippe Lang
ca4f2c59b6
Attachments should be available to the text formatter when previewing an existing news.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10400 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 14:18:43 +00:00
Toshi MARUYAMA
53e2eb1867
scm: bazaar: add asserting entries root path at unit model test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10398 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 14:14:52 +00:00
Jean-Philippe Lang
a81da3491e
Do not consider that versions that are due today are completed.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10397 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 14:09:41 +00:00
Toshi MARUYAMA
17db2dca3d
scm: mercurial: add test of diff from new to old revision to unit lib test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10390 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 08:51:19 +00:00
Toshi MARUYAMA
3cd15102c6
scm: bazaar: add diff test to unit lib test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10389 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 08:50:55 +00:00
Toshi MARUYAMA
dd5844b86c
scm: bazaar: separate constant repository path to repository and trunk branch at unit model test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10388 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 06:13:23 +00:00
Toshi MARUYAMA
ee0fc2e1d5
scm: bazaar: do not use file:// for repository path at unit app test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10387 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 04:12:42 +00:00
Toshi MARUYAMA
4a7e148aff
scm: bazaar: add asserting entries subdirectory path at unit app test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-16 00:22:25 +00:00
Toshi MARUYAMA
c2b12d853f
scm: git: remove unnecessary encoding header from unit adapter test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10385 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-15 15:42:14 +00:00
Toshi MARUYAMA
67cdaabe6f
scm: git: change test author encoding in unit adapter test to ASCII-8BIT
...
Author encoding in adapter is ASCII-8BIT.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10384 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-15 15:41:47 +00:00
Toshi MARUYAMA
c70bc540dd
add copyright statement to test/unit/lib/redmine/scm/adapters/*.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10378 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-14 21:40:45 +00:00
Toshi MARUYAMA
d1606fd3e3
add asserting that issue estimated hours is nil when creating minimal issue
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10363 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-11 14:13:11 +00:00
Toshi MARUYAMA
2461d12388
gantt: remove redundant empty lines from unit gantt helper test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10360 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-11 02:58:59 +00:00
Jean-Philippe Lang
62d5b4c710
Issues assigned to a locked/closed version are now copied ( #11207 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10336 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-09 11:04:55 +00:00
Jean-Philippe Lang
197a14a82e
Fixed that the reminder email excludes issues assigned to groups ( #11723 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10335 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-09 11:02:13 +00:00
Jean-Philippe Lang
ff86c37ed3
Fixed: Issues associated with a locked version are not copied when copying a project ( #11207 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10334 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-09 10:11:49 +00:00
Jean-Philippe Lang
5e9320137b
Fixed that target version is lost on project copy for issues that are assigned to a shared version from another project.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10333 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-09 10:01:03 +00:00
Jean-Philippe Lang
b72d40a429
Do not copy subtasks twice when copying an issue and its descendants ( #6965 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10329 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-08 06:14:35 +00:00
Jean-Philippe Lang
6a37151b5c
Adapt subtasks copy when copying a project ( #6965 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10328 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-08 05:56:48 +00:00
Jean-Philippe Lang
5003927f13
Option to copy subtasks when copying issue(s) ( #6965 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10327 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-08 05:34:07 +00:00
Jean-Philippe Lang
ca7498c2d6
Create role by copy ( #9258 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10285 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-03 17:04:28 +00:00
Jean-Philippe Lang
3a32edc3bd
Adds a view for editing all trackers fields.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10283 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-02 16:55:16 +00:00
Toshi MARUYAMA
e1492f771c
remove redundant empty lines from test/test_helper.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10278 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-02 11:09:56 +00:00
Jean-Philippe Lang
8b72710d7e
Fixed: New multi-line macros regexp is too eager ( #11736 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10276 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-02 10:24:56 +00:00
Jean-Philippe Lang
265baa1b2c
Upgrade to Rails 3.2.8 ( #11758 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10275 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-02 10:08:51 +00:00
Toshi MARUYAMA
e4b7b7cc38
code cleanup test_with_a_start_date_attribute_* of unit IssuesHelperTest
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10264 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 05:33:43 +00:00
Toshi MARUYAMA
8eb39d682d
replace shoulder "with a due_date attribute" context of unit IssuesHelperTest and use with_settings
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10263 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 05:33:28 +00:00
Toshi MARUYAMA
4bca584024
use date_format setting at unit IssuesHelperTest test_with_a_start_date_attribute_*
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10257 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 04:10:33 +00:00
Toshi MARUYAMA
935d8e594b
add missing fixtures to test/unit/lib/redmine/hook_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10256 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 03:47:20 +00:00
Toshi MARUYAMA
374a0cc7cb
add missing fixture to test/unit/lib/redmine/safe_attributes_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10255 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 02:55:13 +00:00
Toshi MARUYAMA
53dd8dc11a
add unit query test of French label
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10254 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 02:37:20 +00:00
Toshi MARUYAMA
444987ce91
replace shoulder "with a start_date attribute" context of test/unit/helpers/issues_helper_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10253 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 02:23:59 +00:00
Toshi MARUYAMA
43add0d306
scm: git: use with_settings at test_diff_truncated of functional test ( #11752 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10252 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 02:23:44 +00:00
Toshi MARUYAMA
3581782ec2
scm: git: use diff_max_lines_displayed setting at test_diff_with_rev_and_path of functional test ( #11752 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10251 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 02:23:29 +00:00
Toshi MARUYAMA
8d4c0e5ecd
set language en to test_label_for at test/unit/query_test.rb
...
Test on CI Server fails.
http://www.redmine.org/builds/logs/build_trunk_sqlite3_ruby-1.9.3-p194_581.html
<pre>
Failure:
<"Assignee">("US-ASCII") expected but was
<"Assigné à">("UTF-8").
test_label_for(QueryTest)
test/unit/query_test.rb:860:in `test_label_for'
</pre>
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10249 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-09-01 01:29:48 +00:00
Toshi MARUYAMA
6ea1bc725a
scm: git: add functional test of diff with revision and path ( #11752 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10245 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-31 22:22:26 +00:00
Jean-Philippe Lang
a7be337a4c
Updates test for r10243.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10244 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-27 11:21:08 +00:00
Jean-Philippe Lang
d33fa1f8c8
Do not build a projects_by_role Hash that gets updated when accessing a key that is not present ( #11662 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10242 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-27 10:11:20 +00:00
Jean-Philippe Lang
c68ee7f545
Fixed that destroying a user from the edit page returns a 404 response ( #11691 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10240 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-26 10:50:59 +00:00
Jean-Philippe Lang
ebc979e9b1
Do not use escaped back_url param ( #11691 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10239 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-26 10:40:09 +00:00
Jean-Philippe Lang
3cc6d5e815
Reverted r10234 and r10235 that broke redirect after login ( #11691 ).
...
Tests in account_controller_test.rb should not have been changed.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10238 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-26 09:29:48 +00:00
Jean-Philippe Lang
5969df8142
MailHandler: Match assignee on the full display name ( #11552 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10236 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-26 09:03:17 +00:00
Etienne Massip
2ed4364c8a
Reverted changes made to tests for r1893 ( #11691 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10235 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-24 21:41:52 +00:00
Toshi MARUYAMA
a1d8cab6c6
remove empty setup method from unit enumeration test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10232 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-22 16:31:26 +00:00
Toshi MARUYAMA
3478a21c2f
add unit test that enumeration returns default in regardless of active or not
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10231 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-22 16:31:13 +00:00
Toshi MARUYAMA
44c15c7560
add check default document category is not defined on database in tests ( #11665 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10230 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-22 16:18:01 +00:00
Toshi MARUYAMA
377ef084ad
add position to DocumentCategory in enumerations fixture ( #11665 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10222 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-21 16:14:33 +00:00
Toshi MARUYAMA
665a331cc4
force set default document category if it is not set on database ( #11665 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10221 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-21 13:45:53 +00:00
Toshi MARUYAMA
185ab2a020
add unit test to get default document category defined on database ( #11665 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10220 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-21 13:45:40 +00:00
Toshi MARUYAMA
02fb4c3b2c
add functional test to create non default document category ( #11665 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10219 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-21 06:15:29 +00:00
Toshi MARUYAMA
8376311ee1
add missing fixtures to test/functional/documents_controller_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10216 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-21 04:49:22 +00:00
Toshi MARUYAMA
ac5e3c2036
add missing fixtures to test/unit/document_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10213 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-21 02:15:04 +00:00
Jean-Philippe Lang
fc3a09e49a
Let macros optionally accept a block of text ( #3061 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10210 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-18 08:25:22 +00:00
Jean-Philippe Lang
73aece0baf
Macros processing overhaul ( #3061 , #11633 ).
...
* macro arguments are no longer parsed by text formatters
* macro output is escaped unless it's html safe
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10209 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-17 14:46:55 +00:00
Jean-Philippe Lang
3673fbd881
Fixed: Can't use non-latin anchor in wiki ( #11577 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10206 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-13 19:36:00 +00:00
Jean-Philippe Lang
d79bcc4369
Fixed that text email templates are escaped ( #11355 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10205 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-13 19:05:42 +00:00
Jean-Philippe Lang
327660eb7f
Respond with 404 on ActionView::MissingTemplate ( #11503 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10204 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-13 18:34:00 +00:00
Jean-Philippe Lang
3119d1996c
Use abbr_day_name to get the first letter of the day name ( #9839 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10202 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-13 18:13:10 +00:00
Jean-Philippe Lang
861ca78179
Fixed that roadmap anchor links can be ambigous ( #11540 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10200 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-13 14:41:53 +00:00
Jean-Philippe Lang
8fb1a7e3cc
Fixed that open scope on Project#issues raises an error ( #11545 ).
...
Patch by Petr Pospisil.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10199 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-13 14:23:33 +00:00
Jean-Philippe Lang
91c875437d
Adds a title to the issue link in the flash message.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10198 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-13 14:04:00 +00:00
Toshi MARUYAMA
163659d0a5
cherry-pick avatar test from reverted r10184
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10194 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-11 00:31:18 +00:00
Jean-Philippe Lang
e52219f09d
Fixed that projects are not ordered alphabetically after renaming project ( #11508 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10187 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-10 16:50:15 +00:00
Jean-Philippe Lang
02b2a61e15
Reverted r10184 ( #9365 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-10 16:35:58 +00:00
Jean-Philippe Lang
8b12702ebe
Fixed that search results are escaped twice.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10185 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-10 16:22:26 +00:00
Jean-Philippe Lang
cbfafcd5e2
Use SSL for gravatars according to the protocol in settings ( #9365 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10184 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-09 18:04:54 +00:00
Jean-Philippe Lang
e06bf0c464
Don't show the project dropdown when logging time on an issue.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10183 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-09 17:12:24 +00:00
Jean-Philippe Lang
f1650b8ff4
Adds autocomplete to issue field on time logging form.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10182 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-09 16:58:36 +00:00
Jean-Philippe Lang
908b960e71
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10180 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-09 16:43:12 +00:00
Jean-Philippe Lang
0ce0b52342
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10179 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-08 21:28:07 +00:00
Jean-Philippe Lang
b907398788
Slight change to the macro regexp.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10178 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-08 18:54:01 +00:00
Jean-Philippe Lang
e2d6f0af4e
Adds an option to macro definition to disable arguments parsing ( #11578 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10174 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-08 16:28:33 +00:00
Jean-Philippe Lang
3676783052
Ability to filter issues using project, author, assignee and target version custom fields ( #8161 ).
...
Custom fields must be marked as "Used as filter" to show up in the filters list.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10164 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-07 19:17:59 +00:00
Jean-Philippe Lang
599736aca7
Update the new custom field form with remotely.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10163 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-07 16:58:51 +00:00
Jean-Philippe Lang
1949f61d0c
Fixed: Custom fields of type version not proper handled in receiving e-mails ( #11571 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10157 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-06 21:16:19 +00:00
Jean-Philippe Lang
2275f46138
Makes Version#<=> consistent with SQL sort.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10152 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-02 16:47:53 +00:00
Jean-Philippe Lang
34cdac1669
Sort issues by scheduled versions first then unscheduled versions.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10151 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-08-02 16:47:06 +00:00
Jean-Philippe Lang
b603aa74f9
Adds sharing attribute to the versions API ( #11541 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10148 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-31 18:14:28 +00:00
Jean-Philippe Lang
bc153cb61d
Support for subforums ( #3831 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10142 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-31 17:17:52 +00:00
Jean-Philippe Lang
e4518af32a
Removed line numbers from syntax highlightment.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10131 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-29 14:52:57 +00:00
Jean-Philippe Lang
308010c7c9
Fixed assertion.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10116 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-29 11:17:36 +00:00
Jean-Philippe Lang
c6106543e1
html5 compliance.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10110 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-29 10:12:26 +00:00
Jean-Philippe Lang
a7caf3faf0
Use assert_select instead of assert_tag.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10108 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-28 18:41:08 +00:00
Jean-Philippe Lang
cc79feabe2
Adds assertions for subversion annotate.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10107 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-28 18:36:03 +00:00
Jean-Philippe Lang
71c5d6c8ee
Use assert_select instead of assert_tag.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10106 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-28 18:16:55 +00:00
Jean-Philippe Lang
65524cc1cc
Don't repeat revision on annotate view.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10105 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-28 18:11:03 +00:00
Jean-Philippe Lang
93d9d459c5
Fixed broken assertion.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10101 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-28 16:54:21 +00:00
Jean-Philippe Lang
8088749f10
Fixed tests broken by r10088.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10089 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-28 14:59:36 +00:00
Jean-Philippe Lang
3c3bdb8bb0
Adds JSONP support to the API ( #11469 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10088 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-27 19:56:49 +00:00
Jean-Philippe Lang
9b4d29dc0d
Do not propose non-assignable version ( #11506 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10087 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-27 19:41:36 +00:00
Jean-Philippe Lang
9eb041fbc7
Versions that are not shared should not be assignable when selecting another project ( #11506 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10086 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-27 19:36:53 +00:00
Jean-Philippe Lang
ed165f6716
Do not user user session for API requests.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10085 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-27 18:24:42 +00:00
Toshi MARUYAMA
8ed4620bb9
fix confirmation page has broken HTML when a project folding sub project is deleted ( #11511 )
...
Contributed by Haruka Yoshihara.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10083 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-26 23:45:17 +00:00
Jean-Philippe Lang
8e1f7607ec
Identifier is now frozen.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10082 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-26 18:41:44 +00:00
Jean-Philippe Lang
87f284dcb6
Repository Identifier should be frozen ( #11109 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10081 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-26 17:41:47 +00:00
Jean-Philippe Lang
f03e21fb45
Changed issues css class from priority-{position} to status-{id} ( #2071 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10079 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-26 16:55:40 +00:00
Jean-Philippe Lang
28cdc8adfc
Don't turn #nnn with leading zeros into link ( #11494 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10077 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-24 21:51:10 +00:00
Jean-Philippe Lang
8fa787719a
Fixed broken test.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10075 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-24 18:39:14 +00:00
Jean-Philippe Lang
faab8678d4
Ability to group and sort the issue list by user/version custom field ( #9419 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10073 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-24 17:39:30 +00:00
Jean-Philippe Lang
cd54e15a8d
Use JQuery Datepicker ( #11445 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10069 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-22 14:43:19 +00:00
Jean-Philippe Lang
6a2ca5e034
JQuery in, Prototype/Scriptaculous out ( #11445 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10068 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-22 13:29:26 +00:00
Jean-Philippe Lang
387836f8aa
Fixed that settings raises an error if not trackers exist ( #11467 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10067 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-21 15:43:44 +00:00
Toshi MARUYAMA
dadd294a25
code layout cleanup test/unit/lib/redmine/helpers/gantt_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10063 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-21 08:08:06 +00:00
Toshi MARUYAMA
bd85428b01
add copyright statement to test/functional/gantts_controller_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10062 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-21 07:12:18 +00:00
Toshi MARUYAMA
eb62603144
replace shoulda to Rails standard tests at functional gantts controller test
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10061 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-21 07:03:36 +00:00
Jean-Philippe Lang
47e496f049
Removes RJS from UsersController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10059 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-21 06:35:49 +00:00
Jean-Philippe Lang
d3bfbb800c
Removes RJS from MembersController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10058 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-21 06:35:11 +00:00
Jean-Philippe Lang
3eaa998c28
Removes RJS from JournalsController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10054 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-19 19:10:18 +00:00
Jean-Philippe Lang
e8469e2c5b
Removes RJS from MessagesController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10053 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-19 18:23:45 +00:00
Jean-Philippe Lang
3386008491
Removes RJS from VersionsController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10052 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-19 18:13:21 +00:00
Jean-Philippe Lang
dee586e9eb
Removes RJS from WikisController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10051 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-19 18:13:08 +00:00
Jean-Philippe Lang
5b6732cfaf
Removes RJS from IssuesController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10050 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-19 17:54:26 +00:00
Jean-Philippe Lang
87da04c808
Removes RJS from RepositoriesController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10048 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-19 17:27:14 +00:00
Jean-Philippe Lang
38060a2cf0
Removes RJS from WatchersController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10047 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-19 17:17:10 +00:00
Jean-Philippe Lang
c178aded61
Test cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10046 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-19 17:07:43 +00:00
Jean-Philippe Lang
8553107016
Removes RJS from IssueRelationsController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10045 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-19 17:06:30 +00:00
Jean-Philippe Lang
21ee2e2cf2
Removes RJS from GroupsController.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10044 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-19 16:57:59 +00:00
Jean-Philippe Lang
035805fbd0
Start removing the RJS stuff.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10043 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-19 16:43:33 +00:00
Jean-Philippe Lang
7e5bad993d
Removes most of the ajax stuff on my page layout.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10033 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-18 18:26:10 +00:00
Jean-Philippe Lang
fe95692f10
Test if convert binary is available.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10014 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-16 17:37:24 +00:00
Jean-Philippe Lang
537be80be2
Adds a macro for inserting thumbnails in formatted text ( #3510 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10013 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-16 17:15:40 +00:00
Jean-Philippe Lang
5c2de4dfc9
Adds Attachment#title.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10012 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-16 16:42:23 +00:00
Jean-Philippe Lang
570e1b1d62
Removed assertion that is susceptible to fail if test runs slowly.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10011 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-16 16:35:21 +00:00
Jean-Philippe Lang
7f1fb7ce81
Don't show "Required" option for standard/custom fields that are always required.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10010 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-16 16:33:27 +00:00
Jean-Philippe Lang
ba647689f4
Additional tests for custom field formats.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10004 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 19:30:47 +00:00
Jean-Philippe Lang
54d2b07bff
Test for when group does not exist.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10002 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 19:05:34 +00:00
Jean-Philippe Lang
e23511076c
No blank option for custom fields marked as required on workflow settings.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10001 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 16:57:04 +00:00
Jean-Philippe Lang
a7bdc5e0af
Adds option for displaying all statuses on workflow permissions.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9995 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 15:46:14 +00:00
Jean-Philippe Lang
7946f4a696
Adds a sorted scope to IssueStatus model.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9989 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 15:33:17 +00:00
Jean-Philippe Lang
7f0bb136ad
Validate attachment description length ( #11365 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9984 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 14:42:00 +00:00
Jean-Philippe Lang
391d9b14fb
Rewrites assertions with assert_select.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9983 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 14:36:13 +00:00
Jean-Philippe Lang
e0fb60c6b5
Adds maxlength=255 attribute on attachment description input field ( #11365 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9982 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 14:34:28 +00:00
Jean-Philippe Lang
6c1db9c3a8
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9981 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 14:28:18 +00:00
Jean-Philippe Lang
004a13b75c
Routing tests for r9977.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9978 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 14:13:48 +00:00
Jean-Philippe Lang
d7b669e50b
Workflow enhancement: editable and required fields configurable by role, tracker and status ( #703 , #3521 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9977 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-15 14:12:17 +00:00
Jean-Philippe Lang
54d55a360a
Adds assertions on response status and body.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9976 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-14 08:31:45 +00:00
Jean-Philippe Lang
18f693f9f7
Fixed that 200 API responses have a body containing one space ( #11388 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9975 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-14 08:13:55 +00:00
Jean-Philippe Lang
165c2be523
Fixed that link to the assignee is escaped twice on the issue view ( #11352 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9967 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-09 16:46:22 +00:00
Jean-Philippe Lang
5d90228866
Test failure.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9964 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-08 17:10:58 +00:00
Jean-Philippe Lang
23a1ef543f
Show shared versions when editing issues from different projects with the context menu ( #11345 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9961 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-08 13:19:46 +00:00
Jean-Philippe Lang
7acd04fb87
Tests should not change settings.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9949 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-08 12:23:47 +00:00
Jean-Philippe Lang
c11f5a23fe
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9946 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-08 07:36:58 +00:00
Jean-Philippe Lang
ab96a29460
Fixed test failure.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9945 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-08 07:20:48 +00:00
Jean-Philippe Lang
c02594af96
Test failure.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9944 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 22:08:10 +00:00
Jean-Philippe Lang
193b571e67
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9943 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 18:27:34 +00:00
Jean-Philippe Lang
6adf61fd02
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9941 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 17:55:54 +00:00
Jean-Philippe Lang
efc6abea07
Fixed that deleting the last reply of a topic does not update last_reply_id.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9939 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 15:09:57 +00:00
Jean-Philippe Lang
a0c495b953
Displays thumbnails of attached images of the issue view ( #1006 ).
...
This behaviour can be turned on/off in Settings -> Display (off by default). Thumbnail size can be configured there too.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9933 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 13:48:07 +00:00
Jean-Philippe Lang
3b207ee77c
Adds a configurable timeout for LDAP authentication ( #8978 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9931 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 09:36:04 +00:00
Jean-Philippe Lang
553066e804
Fixed test case name.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9930 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 09:26:26 +00:00
Jean-Philippe Lang
76a4b81cf3
Fixed: Openid registration form should not require user to enter password ( #11331 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9929 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 06:22:35 +00:00
Jean-Philippe Lang
6086aa1be4
Code cleanup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 05:42:52 +00:00
Jean-Philippe Lang
8a080d8e53
Enable openid in test case setup.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9927 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 05:41:58 +00:00
Jean-Philippe Lang
6351631ec6
Moved openid functional tests for their own test case.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 05:40:01 +00:00
Jean-Philippe Lang
5981aee06d
Fixed: escaped link in conflict resolution form ( #11341 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 05:23:52 +00:00
Jean-Philippe Lang
232edc6237
Ignore emails with "Auto-Submitted: auto-*" header ( #11338 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-07 05:08:58 +00:00
Jean-Philippe Lang
196f96fff1
Adds Private filter to the issue list ( #8577 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9920 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-05 13:51:56 +00:00
Jean-Philippe Lang
a1f17b982c
Perf: use a custom decoder for Role#permissions instead of YAML.load.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-05 13:04:38 +00:00
Jean-Philippe Lang
4cecc1beed
Ability to disable standard fields on a per tracker basis ( #1091 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-05 12:20:07 +00:00
Jean-Philippe Lang
ad68830a1b
Fixed test failure.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-04 19:24:25 +00:00
Jean-Philippe Lang
1d1aef9d61
Fixed: unified diff link broken on specific file/revision diff ( #11325 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9909 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-04 19:17:43 +00:00
Jean-Philippe Lang
d00ba6d2bb
Fixed: Can't filter for negative numeric custom field ( #11307 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-07-04 18:50:09 +00:00
Jean-Philippe Lang
f9f5e9e7c6
Fixed: Link is escaped in wiki added/updated notification email ( #11262 ).
...
Patch by Łukasz Jachymczyk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9896 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-26 17:03:08 +00:00
Jean-Philippe Lang
6529035ee1
Fixed that wiki diff may produce html ( #11209 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9895 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-26 16:57:09 +00:00
Jean-Philippe Lang
7f6ac407ef
Fixed that root projects are escaped twice in the project drop down ( #11217 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9894 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-26 16:54:30 +00:00
Jean-Philippe Lang
21ac4a3d0e
Makes Redmine.pm handle project status ( #3640 ).
...
Repositories of archived projects are no longer accessible. Repositories of closed projects are read-only.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-25 20:08:49 +00:00
Jean-Philippe Lang
ac56c0c99c
Ability to close projects (read-only) ( #3640 ).
...
A new permission (Close/reopen project) is available to give non-admin users the ability to close their projects.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9883 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-25 17:49:35 +00:00
Toshi MARUYAMA
5961a1e70d
add missing fixture to test/unit/query_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9882 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-23 23:29:42 +00:00
Jean-Philippe Lang
7ed2c481d8
Reversed order of priorities on the issue summary page ( #11205 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9879 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-20 19:24:58 +00:00
Jean-Philippe Lang
26e75568cf
Makes repository url read-only after saving.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9878 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-20 18:45:51 +00:00
Jean-Philippe Lang
3b854bee59
Make repository identifier accept underscores ( #11192 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9875 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-19 19:12:17 +00:00
Toshi MARUYAMA
6c6aae07a2
fix test_global_index of functional activities controller test fails around UTC 00:00
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9871 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-19 00:43:10 +00:00
Toshi MARUYAMA
9c060fe33a
scm: git: fix unable to run unit lib test if git binary is not available on Windows
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9870 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-18 23:57:27 +00:00
Jean-Philippe Lang
2311f80c5d
Fix: Unable to run unit and functional tests if git binary is not available.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-18 18:33:33 +00:00
Jean-Philippe Lang
f62507dae5
Fixed that deleting a project with subtasks may fail ( #11185 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9858 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-18 17:16:13 +00:00
Toshi MARUYAMA
b93e040bb8
fix unit test fails on Ruby 1.8 and JRuby ( #2190 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9850 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-17 09:34:12 +00:00
Etienne Massip
dbdc9b9da7
Display dates using user's locale if available ( #2190 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9838 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-16 21:45:47 +00:00
Jean-Philippe Lang
2c07b478bb
Fixed that time entries should be sorted by date and created_on ( #11178 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9837 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-16 20:09:12 +00:00
Jean-Philippe Lang
542b355210
Fixed that sticky messages are not displayed first ( #11170 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9836 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-16 19:34:19 +00:00
Jean-Philippe Lang
76eeb64d1a
Fixed that time report raises a SQL error if there are multiple CustomValue for a time entry ( #11160 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9831 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-14 10:47:04 +00:00
Jean-Philippe Lang
e199c4b823
Adds support for Git's smart HTTP protocol to Redmine.pm ( #4905 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9829 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-14 08:13:53 +00:00
Jean-Philippe Lang
9eef74f09a
Additional tests for Redmine.pm.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9828 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-14 08:04:44 +00:00
Jean-Philippe Lang
48a557a79e
Use a random filename.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9827 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-12 19:59:28 +00:00
Jean-Philippe Lang
4fda1f6cd1
Start implementing tests for Redmine.pm perl module.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9826 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-12 19:33:09 +00:00
Jean-Philippe Lang
667693b32c
Fixed that Subversion#load_entries_changesets raises an error if entries is nil.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9823 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-12 17:43:23 +00:00
Jean-Philippe Lang
965ef33192
Fixed that lines with spaces only before headings break wiki section extraction ( #11133 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-11 17:51:14 +00:00
Toshi MARUYAMA
fdd36ce713
fix test_user_index of activities controller test fails at Japanese morning and afternoon
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9814 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-11 04:42:54 +00:00
Toshi MARUYAMA
96f5d315ea
add some avatar tests
...
* the default size was 50px
* class="gravatar"'
* some tests to test the default and option parsing
Contributed Felix Schäfer.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-11 00:18:09 +00:00
Jean-Philippe Lang
9b60214b3a
Fixed that Repository#entries returns an Array.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-10 17:01:33 +00:00
Jean-Philippe Lang
74645eb017
Configurable session lifetime and timeout ( #6597 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9797 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-10 13:16:56 +00:00
Jean-Philippe Lang
26ff9e1c26
Fixed: German umlauts in Subject get striped with ruby1.8 ( #11065 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9796 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-10 08:15:22 +00:00
Jean-Philippe Lang
898a4164a0
Fixed that link to user is escaped in activity title ( #11124 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-09 10:32:34 +00:00
Jean-Philippe Lang
d21bacb01d
Fixed that content_for does not work in Hook.render_on ( #11105 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-09 09:19:15 +00:00
Jean-Philippe Lang
9f788310b1
Fixed that custom_fields property is ignored for time entries in REST API ( #11112 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-09 07:55:26 +00:00
Jean-Philippe Lang
7fba8bc682
Change in Rails' for handling localized number precision ( #11118 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-09 07:46:07 +00:00
Jean-Philippe Lang
2314e41474
Priorities have the same position and can't be reordered ( #11098 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9781 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-09 07:27:43 +00:00
Jean-Philippe Lang
77bac4b14d
Ability to set default column order in issue list ( #11068 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9780 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-08 18:50:22 +00:00
Jean-Philippe Lang
234e5d59ac
Show repository images inline when clicking 'View' ( #10362 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9776 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-07 17:00:29 +00:00
Jean-Philippe Lang
327d5d2132
Makes users optional in GET /groups/:id ( #8981 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9765 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-03 13:32:14 +00:00
Jean-Philippe Lang
0523ac387b
Test failure due to a regression in Rails 3.2.5.
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9762 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-03 12:15:55 +00:00
Jean-Philippe Lang
2cbf9c9cc4
Renamed #changes association to #filechanges (clash with AR::Base.changes that triggers errors with Rails 3.2.5).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9759 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-03 11:46:58 +00:00
Jean-Philippe Lang
dd9c2cafa7
REST Api for Groups ( #8981 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9758 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-03 10:40:32 +00:00
Toshi MARUYAMA
ba25d27e3a
scm: git: skip Latin-1 path tests on Git for Windows above 1.7.10
...
Git for Windows (msysGit) changed internal API from ANSI to Unicode in 1.7.10.
http://code.google.com/p/msysgit/issues/detail?id=80
So, Latin-1 path tests fail on Japanese Windows
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-02 18:36:23 +00:00
Jean-Philippe Lang
733fef458c
Replaced group[lastname] parameter with group[name].
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9745 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-06-01 18:24:33 +00:00
Jean-Philippe Lang
4ee133e77e
Fixed that project, issue and activity should be preserved when logging time with "Create and continue" ( #11038 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-29 18:54:26 +00:00
Jean-Philippe Lang
53a0cee57a
Fixed that logging time inside redirects at global time logging ( #11038 ).
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9740 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-29 17:07:07 +00:00
Toshi MARUYAMA
cfaa0fc23e
fix project list is not shown on Email notifications ( #11032 )
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-28 08:24:31 +00:00
Toshi MARUYAMA
87783362cf
code layout cleanup test/functional/users_controller_test.rb
...
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9730 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-05-28 07:07:00 +00:00