Commit Graph

2718 Commits

Author SHA1 Message Date
Toshi MARUYAMA b73d5d7ecc scm: darcs: add test to override human_attribute_name of "path to repository"
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8959 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 10:01:58 +00:00
Toshi MARUYAMA 873e57dc86 code layout cleanup test/unit/repository_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8958 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 04:09:06 +00:00
Toshi MARUYAMA c0cdde6506 scm: add test to override human_attribute_name of log_encoding
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8957 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-24 04:08:47 +00:00
Jean-Philippe Lang 71c83e1155 Adds functional tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8954 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 15:41:29 +00:00
Jean-Philippe Lang 0bb9579088 Adds required fixtures back.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8952 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 15:23:58 +00:00
Jean-Philippe Lang c49ef8e543 Adds functional tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8948 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 14:39:55 +00:00
Jean-Philippe Lang e6a64aa00b Adds functional tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8947 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 14:26:30 +00:00
Jean-Philippe Lang 0f721f6f7b Adds functional tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8945 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 14:18:54 +00:00
Jean-Philippe Lang 7e347069d5 Better message for file size validation error.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8937 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 12:18:10 +00:00
Toshi MARUYAMA 9774782cab Rails3: test: scm: mercurial: use "repository_path_hash" for path param
Rails3 new route format returns path param as string not array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8936 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 12:18:03 +00:00
Toshi MARUYAMA 844d904426 Rails3: test: scm: darcs: use "repository_path_hash" for path param
Rails3 new route format returns path param as string not array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8935 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 12:17:32 +00:00
Toshi MARUYAMA 5033a155b3 Rails3: test: scm: subversion: use "repository_path_hash" for path param
Rails3 new route format returns path param as string not array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8930 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 10:10:48 +00:00
Jean-Philippe Lang 77626ef6fb Adds support for adding attachments to issues through the REST API (#8171).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8928 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 10:01:16 +00:00
Toshi MARUYAMA d086683b17 Rails3: test: scm: bazaar: use "repository_path_hash" for path param
Rails3 new route format returns path param as string not array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8927 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 08:49:05 +00:00
Toshi MARUYAMA 00ec4e189f Rails3: test: scm: cvs: use "repository_path_hash" for path param
Rails3 new route format returns path param as string not array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8926 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 07:33:44 +00:00
Toshi MARUYAMA 1e7340b448 Rails3: test: scm: filesystem: use "repository_path_hash" for path param
Rails3 new route format returns path param as string not array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 06:12:44 +00:00
Toshi MARUYAMA 08811bd259 Rails3: test: scm: git: use "repository_path_hash" for path param
Rails3 new route format returns path param as string not array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 06:12:22 +00:00
Toshi MARUYAMA 21cb2ee817 Rails3: test: scm: move "repository_path_hash" method in repositories routing test to test_helper.rb for common use
Rails3 new route format returns path param as string not array.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8923 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-23 06:11:59 +00:00
Toshi MARUYAMA f5c4607769 use English as default language at "test_reminders_should_not_include_closed_issues" of unit mailer test
On Rails 3.1.3, test fails and output is not English.

<pre>
Error: test_reminders_should_not_include_closed_issues(MailerTest)
ActiveRecord::RecordInvalid: Validation failed: Tracker non è incluso nella lista
test/unit/mailer_test.rb:459:in `test_reminders_should_not_include_closed_issues'
</pre>

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8918 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-22 03:28:42 +00:00
Jean-Philippe Lang 77287d1f0b Fixed magic link in the note added when closing an issue by a commit from a subproject (#10284).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8917 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-20 21:58:57 +00:00
Toshi MARUYAMA 5b48e4ae58 use assert_select instead of include? at "test_register" of unit mailer test
On Rails 3.0.11, token breaks with new line.
So, test fails.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-20 14:36:43 +00:00
Jean-Philippe Lang a9161a3fde Don't use auth_sources fixtures when not needed.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-19 21:51:03 +00:00
Jean-Philippe Lang 148bc9448b Fixed a test that writes into fixtures directory.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-19 21:42:09 +00:00
Jean-Philippe Lang dedfdefcf3 Disabled on the fly registration for auth_source fixture.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8913 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-19 21:39:29 +00:00
Jean-Philippe Lang 3e3d7c8d4f Friendly response when the LDAP connection fails.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-19 18:13:46 +00:00
Jean-Philippe Lang 37575f27fe Do not recognize invalid textile attributes.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8902 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-17 22:31:01 +00:00
Toshi MARUYAMA 421db739c5 scm: git: replace "write_attribute" at unit model test for database order consistency (#5357)
On Rails 3.0.11, "NoMethodError: private method `write_attribute'" error raises.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8899 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-17 14:28:08 +00:00
Toshi MARUYAMA ff65babd1c scm: git: replace "order" at unit model test of fetching from scratch (#5357)
On Rails 3.0.11, this test fails.
Revision order of Git and Mercurial is not date/time order.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-17 14:27:52 +00:00
Jean-Philippe Lang b455ac2a27 Adds a rake test that removes old unattached uploads (#10253).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8893 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-16 21:18:01 +00:00
Jean-Philippe Lang d4e6355eb3 Better handling of attachments when issue validation fails (#10253).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-16 21:00:11 +00:00
Toshi MARUYAMA 84dd4ecbd4 route: split issue preview route to adding and editing
"No route matches" error raises in "preview_issue_path"
at app/views/issues/new.html.erb:35 on Rails 3.0.11 and Rails 3.1.3 new route format.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 22:49:03 +00:00
Toshi MARUYAMA f7618160ad use with_settings instead of direct "Setting" at "test_index" of functional issues controller test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8885 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 21:42:34 +00:00
Jean-Philippe Lang 3c75601976 Moved redmine links escaping assertions to their own test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8878 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 17:59:13 +00:00
Jean-Philippe Lang 5c3ac1a40e Adds support for "Magic links" to notes (#2715).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8877 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 17:49:31 +00:00
Jean-Philippe Lang 6aae25209a Fixed that partial diffs are done against html instead of original code (#9143).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8876 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-15 17:39:47 +00:00
Jean-Philippe Lang 008557581d Makes user autocompleters work with firstname and lastname.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8875 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-14 16:29:48 +00:00
Jean-Philippe Lang 4ccb898360 Fixed: {{toc}} uses identical anchors for subsections with the same name (#8194).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8871 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-14 08:09:23 +00:00
Jean-Philippe Lang cccfed7006 Fixed: error when creating a project with a version format custom field (#10218).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8865 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-13 18:57:12 +00:00
Jean-Philippe Lang 7fa18cad57 Prevent ActiveRecord::StaleObjectError in Issue#reschedule_after (#7920).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8864 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 19:41:42 +00:00
Jean-Philippe Lang d289619c75 Fixed potential error when sorting members without role (#10053).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8863 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 14:54:30 +00:00
Jean-Philippe Lang 83458ee824 Updated test against r8860.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8861 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 14:18:32 +00:00
Jean-Philippe Lang 0ede069d2c Allows custom styles in textile formatting using a white list of styles (#2416).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8860 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 14:00:43 +00:00
Toshi MARUYAMA 2fa19441a7 scm: git: use default branch from HEAD (#10207)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8856 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 06:22:59 +00:00
Toshi MARUYAMA 804482ef2b scm: git: update test repository (#10207)
New "master-20120212" branch is added.
Git branch is the reference to the specific revision.
This branch points the same revision with "master" branch.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8855 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-12 06:22:33 +00:00
Jean-Philippe Lang 8ddcc4caf5 Adds a News#commentable? method to easily specific additional rules.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8854 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 17:14:56 +00:00
Jean-Philippe Lang 627754366c Prevent random failures due to params order.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8849 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 14:53:31 +00:00
Jean-Philippe Lang b5fabd052b Adds a test for changeset/issue relations deletion.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8848 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 14:19:16 +00:00
Jean-Philippe Lang 8f92121606 Fixed that changesets parents associations are not deleted when deleting a repository.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8847 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 14:17:47 +00:00
Jean-Philippe Lang 60b9e59d15 Displays the full form when creating a version from the issue form so that required custom fields can be filled (#7398).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8845 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 13:05:41 +00:00
Jean-Philippe Lang 2ec55c5337 Only show statuses that can be applied to all issues on the bulk edit form (#10181).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8844 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 12:03:48 +00:00
Jean-Philippe Lang 686430ee36 Fixed: wrong section edit links when a heading contains inline code (#10199).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8841 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 10:02:24 +00:00
Toshi MARUYAMA 1e5f16722f scm: git: call "git log" only once instead of per branch in fetching revisions (#8857)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8839 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-11 05:42:06 +00:00
Toshi MARUYAMA d90cdb1b10 scm: git: raise exception if "git log" is error and block is given in lib revision method (#8857)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8837 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-10 22:56:54 +00:00
Toshi MARUYAMA 4d5d51e322 scm: git: clarify the purpose of the unit model test to fetch history editing revisions
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8832 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-10 07:25:27 +00:00
Jean-Philippe Lang 5e0c1cc5ce Bulk-edit custom fields through context menu (#6296).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8824 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 18:22:11 +00:00
Toshi MARUYAMA c94426d21e scm: git: add explicit :excludes option to calling revision method in "test_revisions_includes_master_two_revs_from_origin" of unit lib test (#8857)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8822 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 15:07:11 +00:00
Toshi MARUYAMA 7f70d2faaa scm: git: add test of get revisions from disjointed histories to unit lib test (#8857)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8821 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 08:34:24 +00:00
Toshi MARUYAMA e34dab7443 scm: git: update test repository (#8857)
New disjointed history revisions are added.
This test repository has two origins.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8820 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 08:20:37 +00:00
Toshi MARUYAMA a9ad2a4dcc scm: git: remove redundant comma from test_revisions_includes_master_two_revs_from_origin of unit lib test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8819 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 07:39:27 +00:00
Toshi MARUYAMA f4de82510a scm: git: code cleanup "test_branches" of unit lib test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8818 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 06:43:42 +00:00
Toshi MARUYAMA 19909bc4c8 scm: git: add lib test to get master branch revisions from origin (#8857)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8817 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 06:05:10 +00:00
Toshi MARUYAMA 693191e8bf scm: git: add model method to get heads from extra_info branches hash (#8857)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8816 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-09 00:11:03 +00:00
Toshi MARUYAMA 34b3a9851f scm: git: add includes and excludes options to lib revisions method (#8857)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8815 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-08 23:38:35 +00:00
Toshi MARUYAMA f319409abc scm: git: remove unused "--all" option of "git log" in lib revisions method
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8813 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-08 03:18:20 +00:00
Toshi MARUYAMA 40a37b194d scm: git: use explicit "master" instead of all for revisions method at unit lib test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8812 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-08 03:04:03 +00:00
Toshi MARUYAMA 186abba94b code layout cleanup test/unit/lib/redmine/scm/adapters/git_adapter_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8811 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-08 03:03:39 +00:00
Toshi MARUYAMA ed8f988a9b scm: git: use explicit "master" for latest_changesets at unit app test
If revision is not set, controller sets default branch for latest_changesets.
"git log" returns HEAD on bare repository if revision is not set.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8810 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-07 23:27:51 +00:00
Toshi MARUYAMA 1489623584 scm: git: remove "test_getting_certain_revisions" from unit lib test
Redmine does not use '899a15d^' syntax.
This test is covered by "test_revisions_master_merged_rev".

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8809 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-07 15:40:56 +00:00
Jean-Philippe Lang cdcf813fa7 Adds membership ids to /users/:id API response.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8805 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 16:32:50 +00:00
Jean-Philippe Lang dfbab5d61e Fixed "can't convert Fixnum into String" error on projects with numerical identifier (#10135).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8804 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 14:44:40 +00:00
Jean-Philippe Lang 6f1d553cff Typo
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8803 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 11:33:39 +00:00
Jean-Philippe Lang be246de161 Adds a simple API for listing roles (#9725).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8799 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 10:06:32 +00:00
Jean-Philippe Lang c5665276b7 REST API for project memberships (#7420).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8798 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-06 09:47:10 +00:00
Jean-Philippe Lang 78bd24c6f7 Resourcified project memberships.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8789 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 16:35:27 +00:00
Jean-Philippe Lang 001b255b08 Ability to edit a wiki page's parent on the edit page (#6449).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8787 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 14:35:27 +00:00
Jean-Philippe Lang 6c27093a8b Fixed an assertion for ruby1.9.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8786 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 13:48:16 +00:00
Jean-Philippe Lang 967f42aa98 Adds a X-Redmine-Sender header to email notifications (#5643).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8785 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 12:57:19 +00:00
Jean-Philippe Lang 4128a8bfd0 Removed mocha availability checks in tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8783 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 12:20:41 +00:00
Jean-Philippe Lang 9f6496b0bc Fixed registration form broken by r8479.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8782 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 12:17:29 +00:00
Jean-Philippe Lang a00f04886f Increase username length limit from 30 to 60 (#2719).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8778 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 11:50:53 +00:00
Jean-Philippe Lang 1d4ef8964d Adds a "Manage related isses" permission to add/remove commits/issues relations manually from the changeset view (#2009).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8777 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-05 10:56:27 +00:00
Jean-Philippe Lang ddc3814d45 Fixes assertion.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8775 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-04 20:08:05 +00:00
Jean-Philippe Lang fb3b904b8f Better handling of issue update conflicts (#8691).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8774 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-04 17:36:15 +00:00
Jean-Philippe Lang 333a6cc370 Fixed rounding issue on spent hours column in CSV export (#10150).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8764 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-04 11:03:44 +00:00
Toshi MARUYAMA 2789cf2506 attachment: fix that diff type is not saved in user preference (#10152)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8761 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-04 06:23:38 +00:00
Toshi MARUYAMA af50c1e13e scm: git: add test that diff type is saved in user preference (#10152)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8760 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-04 06:23:00 +00:00
Jean-Philippe Lang d02f6a8e32 Adds a setting that allows to reference/fix issues of all projects (#3087).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8750 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-02 18:09:37 +00:00
Jean-Philippe Lang 3dc73dcb88 Fixed: associated changesets from other projects are not visible if the current project doesn't have the repository module enabled (#3087).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8749 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-02 17:43:36 +00:00
Jean-Philippe Lang 2808adf99f Adds members of subprojects in assignee and author filters (#10126).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8747 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-01 20:07:01 +00:00
Jean-Philippe Lang 0154d7477b Simplifies Principal.active scope (status defaults to 1 for groups).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8746 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-02-01 19:35:49 +00:00
Toshi MARUYAMA 65a1f54f71 code layout clean up test/unit/mail_handler_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8741 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 23:27:15 +00:00
Toshi MARUYAMA 682efe399d code layout cleanup unit mail handler test fixtures
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8738 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 22:51:55 +00:00
Jean-Philippe Lang 2664693ae8 Removed useless permission check in wiki controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8735 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 18:50:04 +00:00
Jean-Philippe Lang 3d27bf5318 Adds export of all wiki pages to a PDF file (#3463).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8734 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-30 18:42:14 +00:00
Jean-Philippe Lang 24138187eb Allows attachments on news (#1972).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8728 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 22:39:06 +00:00
Jean-Philippe Lang 79b12c73d9 Display of multi custom fields.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8726 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 22:01:40 +00:00
Jean-Philippe Lang 8d5f932660 Do not validate blank default custom field value.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8722 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 21:09:44 +00:00
Jean-Philippe Lang cd6db6a3cb Adds support for multiselect custom fields (#1189).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8721 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 20:51:48 +00:00
Jean-Philippe Lang 0c5af16e14 Support for nested array in API builder.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8720 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 18:29:09 +00:00
Toshi MARUYAMA 64b59f1502 test: add attachment tests at unit mail handler test for Rails3
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8719 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-29 11:24:48 +00:00
Jean-Philippe Lang 83e7ee6729 Extracts custom field values validation from CustomValue so that they can be validated globally from the customized object (#1189).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8717 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-28 11:16:58 +00:00
Toshi MARUYAMA 189bc0f7c8 test: route: repositories: split tests whether 'show' action or not
On Rails3, 'show' action has some problems.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8715 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-28 06:51:08 +00:00
Jean-Philippe Lang 9d372ce6f5 Allow underscores in project identifiers (#1363).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8708 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-27 17:34:58 +00:00
Jean-Philippe Lang ffbd3c0522 Makes all workflow transitions defined for all roles available to administrators (#2323).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8707 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-26 20:30:47 +00:00
Jean-Philippe Lang 1fa341df1c Fixed links to versions anchors on the roadmap.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8700 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-24 18:47:38 +00:00
Jean-Philippe Lang af0fcd22e4 Provide a direct access to completed versions form the roadmap.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8699 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-24 18:45:40 +00:00
Jean-Philippe Lang 22317105f9 Notify previous assignee when assignee changes (#2694).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8695 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-23 17:55:29 +00:00
Jean-Philippe Lang f2e7aa596b Adds support for multiple repositories to redmine links (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8694 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-22 14:23:10 +00:00
Jean-Philippe Lang 13f28858ba Fixed that project is ignored when entering an issue id on /time_entries/new form (#10020).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8693 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-22 10:37:57 +00:00
Jean-Philippe Lang 41eab6615b Enable global time logging at /time_entries/new (#10020).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8691 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-21 14:26:51 +00:00
Jean-Philippe Lang 94b621a99f Fixed that reminders are sent for closed issues (#10006).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8690 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-21 12:28:39 +00:00
Jean-Philippe Lang f2a7f83c82 Adds a <<me>> option for assignee in the context menu (#1102).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8689 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-21 11:11:13 +00:00
Jean-Philippe Lang 45e3dafa8f Adds a <<me>> option at the top of the assignee drop-down (#1102).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8688 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-21 11:06:59 +00:00
Jean-Philippe Lang 1d07bb91a7 Adds a 'Create and continue' button on the spent time form (#9995).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8687 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-21 10:37:19 +00:00
Jean-Philippe Lang 11725be278 Makes Version REST API accept due_date attribute (#10013).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8686 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-21 09:39:29 +00:00
Jean-Philippe Lang fdd79c0448 Updated assertion that fails after r8680.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8681 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-20 22:54:20 +00:00
Jean-Philippe Lang 83e45cad9f Fixed: Git: Mercurial: Branch dropdown broken on repositories page (#10026).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8678 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-20 19:46:28 +00:00
Jean-Philippe Lang fbf30eec7c Adds an option of the copy form to enable/disable attachments copy (#3055).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8677 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-20 18:22:43 +00:00
Jean-Philippe Lang 8a3623733f Copy attachments on issue and project copy (#3055).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8676 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-20 17:56:28 +00:00
Jean-Philippe Lang b4cf4fca9d Fixed an error when trying to copy an issue that does not exist.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8670 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-17 20:20:59 +00:00
Jean-Philippe Lang 141630e771 Removed duplicated test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8666 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-16 20:23:25 +00:00
Jean-Philippe Lang 346fccf782 Do not show revisions links and field on filesystem repositories.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8665 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-16 20:22:12 +00:00
Jean-Philippe Lang 44a898a210 Display the position of the current issue in the query results.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8663 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-16 18:24:59 +00:00
Jean-Philippe Lang fef82e44a6 Fixed previous/next links when navigating in a saved query.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8657 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-16 17:49:04 +00:00
Jean-Philippe Lang abc0b0ea3e Don't use a disabled SCM as a default repository SCM (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8653 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 22:23:56 +00:00
Jean-Philippe Lang 1bd5e58c84 Adds support for multiple repositories per project (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8650 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 18:19:19 +00:00
Jean-Philippe Lang fb1a2fd7cd Resourcified repositories for CRUD operations to prepare for multiple SCM per project (#779).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8648 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-15 14:23:06 +00:00
Etienne Massip 54c0b531e1 Fixed double escaping of Atom feed links.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-14 16:08:51 +00:00
Jean-Philippe Lang a6a627f445 Adds "Status" to the time report criteria (#9985).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-14 09:51:56 +00:00
Jean-Philippe Lang 08bb5e0c0a Fixed wrong assertion.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8640 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-14 09:36:51 +00:00
Jean-Philippe Lang 51030fbe25 Removed assertion that depends on the order of returned records.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8639 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-13 21:22:45 +00:00
Jean-Philippe Lang 980b6db5c0 Adds "me" to user custom fields filters (#9923).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-13 19:38:06 +00:00
Jean-Philippe Lang 919d0a68c3 Adds "my projects" filter on the cross-project issue list.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8637 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-13 18:16:15 +00:00
Toshi MARUYAMA 1054237d82 add missing groups_users fixture to unit issue test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8636 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-11 14:03:29 +00:00
Jean-Philippe Lang 3f33692cb3 Adds assertions to issue destroy tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8633 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 23:02:46 +00:00
Jean-Philippe Lang 3c75d6036f Fixed: Routing error when deleting an issue with spent time.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8632 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 22:58:14 +00:00
Jean-Philippe Lang 8eef72aa1a Separated new/edit views for the timelog controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8628 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-10 17:35:09 +00:00
Jean-Philippe Lang 1b1c510ff9 Ability to add non-member users as watchers (#5159).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-09 18:37:16 +00:00
Jean-Philippe Lang 417219bfc4 Fixed: error when displaying an issue with a query sorted by an association, eg. priority (#9936).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 18:21:00 +00:00
Jean-Philippe Lang 381319c4e8 Fixed that SCM selection is not saved when all SCM are disabled (#9937).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8568 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 18:03:37 +00:00
Toshi MARUYAMA 89b06fa75d test: route: add test for '/' path
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 13:59:14 +00:00
Jean-Philippe Lang 2a55d37619 Check project assignment on issue copy/move.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8553 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 11:48:36 +00:00
Jean-Philippe Lang 121bc44cc5 Use the regular issue form to copy a single issue.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8552 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 11:16:54 +00:00
Toshi MARUYAMA 6e290b7251 test: route: add issue_statuses test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 07:55:27 +00:00
Toshi MARUYAMA b6c920a976 test: route: split documents test whether scoped under project or not
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 06:18:16 +00:00
Toshi MARUYAMA 917d42733a test: route: split issue categories test whether scoped under project or not
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8548 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 06:17:21 +00:00
Toshi MARUYAMA c5f41baa94 test: route: split news tests
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 02:38:41 +00:00
Toshi MARUYAMA b151e0eba9 test: route: add trackers test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8545 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 01:02:37 +00:00
Toshi MARUYAMA df5551a4e5 test: route: simplify /issues/bulk_edit test
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8544 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-08 00:41:44 +00:00
Jean-Philippe Lang f7e1ed71fc Typo.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2012-01-07 20:54:51 +00:00