]> source.dussan.org Git - redmine.git/log
redmine.git
9 years agoadd missing fixture to SearchControllerTest
Toshi MARUYAMA [Thu, 15 Jan 2015 13:38:44 +0000 (13:38 +0000)]
add missing fixture to SearchControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@13881 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoremove jruby-21mode from .travis.yml
Toshi MARUYAMA [Thu, 15 Jan 2015 13:38:36 +0000 (13:38 +0000)]
remove jruby-21mode from .travis.yml

git-svn-id: http://svn.redmine.org/redmine/trunk@13880 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoJapanese translation updated and changed by Go MAEDA (#18794)
Toshi MARUYAMA [Thu, 15 Jan 2015 06:38:49 +0000 (06:38 +0000)]
Japanese translation updated and changed by Go MAEDA (#18794)

git-svn-id: http://svn.redmine.org/redmine/trunk@13879 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoTraditional Chinese translation updated by ChunChang Lo (#18819)
Toshi MARUYAMA [Thu, 15 Jan 2015 06:38:41 +0000 (06:38 +0000)]
Traditional Chinese translation updated by ChunChang Lo (#18819)

git-svn-id: http://svn.redmine.org/redmine/trunk@13878 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agogenerate i18n key (#10734)
Toshi MARUYAMA [Thu, 15 Jan 2015 06:38:33 +0000 (06:38 +0000)]
generate i18n key (#10734)

git-svn-id: http://svn.redmine.org/redmine/trunk@13877 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUpdates for 2.6.1 release.
Jean-Philippe Lang [Sun, 11 Jan 2015 09:15:24 +0000 (09:15 +0000)]
Updates for 2.6.1 release.

git-svn-id: http://svn.redmine.org/redmine/trunk@13874 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoCopyright update.
Jean-Philippe Lang [Sun, 11 Jan 2015 09:09:50 +0000 (09:09 +0000)]
Copyright update.

git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGemfile: update rbpdf version to 1.18.4 (#18629)
Toshi MARUYAMA [Sun, 11 Jan 2015 04:19:33 +0000 (04:19 +0000)]
Gemfile: update rbpdf version to 1.18.4 (#18629)

git-svn-id: http://svn.redmine.org/redmine/trunk@13870 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoFixed: Custom field is rendered, even if its value is empty (for multiple) (#18654).
Jean-Philippe Lang [Sat, 10 Jan 2015 13:03:52 +0000 (13:03 +0000)]
Fixed: Custom field is rendered, even if its value is empty (for multiple) (#18654).

git-svn-id: http://svn.redmine.org/redmine/trunk@13864 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoFixed: Redmine::FieldFormat::IntFormat does not accept "real" Integer values (#18781).
Jean-Philippe Lang [Sat, 10 Jan 2015 11:06:27 +0000 (11:06 +0000)]
Fixed: Redmine::FieldFormat::IntFormat does not accept "real" Integer values (#18781).

git-svn-id: http://svn.redmine.org/redmine/trunk@13863 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUnlock capybara gem version (#18789).
Jean-Philippe Lang [Sat, 10 Jan 2015 10:26:09 +0000 (10:26 +0000)]
Unlock capybara gem version (#18789).

git-svn-id: http://svn.redmine.org/redmine/trunk@13862 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoTime dependend failures in UI tests (#18789).
Jean-Philippe Lang [Sat, 10 Jan 2015 10:24:19 +0000 (10:24 +0000)]
Time dependend failures in UI tests (#18789).

Patch by Ondřej Ezr.

git-svn-id: http://svn.redmine.org/redmine/trunk@13861 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoFixed errors in UI tests (#18782).
Jean-Philippe Lang [Sat, 10 Jan 2015 10:20:50 +0000 (10:20 +0000)]
Fixed errors in UI tests (#18782).

git-svn-id: http://svn.redmine.org/redmine/trunk@13860 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoFixed open div tag position.
Jean-Philippe Lang [Sat, 10 Jan 2015 10:10:48 +0000 (10:10 +0000)]
Fixed open div tag position.

git-svn-id: http://svn.redmine.org/redmine/trunk@13859 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoOption to search open issues only (#10734).
Jean-Philippe Lang [Sat, 10 Jan 2015 10:09:34 +0000 (10:09 +0000)]
Option to search open issues only (#10734).

git-svn-id: http://svn.redmine.org/redmine/trunk@13858 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds strings to locales (#4383).
Jean-Philippe Lang [Fri, 9 Jan 2015 21:06:50 +0000 (21:06 +0000)]
Adds strings to locales (#4383).

git-svn-id: http://svn.redmine.org/redmine/trunk@13857 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoOption to search attachment filenames and description (#4383).
Jean-Philippe Lang [Fri, 9 Jan 2015 21:06:09 +0000 (21:06 +0000)]
Option to search attachment filenames and description (#4383).

git-svn-id: http://svn.redmine.org/redmine/trunk@13856 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoSearch custom fields and journals with different queries to take advantage of indexes...
Jean-Philippe Lang [Thu, 8 Jan 2015 22:04:00 +0000 (22:04 +0000)]
Search custom fields and journals with different queries to take advantage of indexes on text columns if present.

git-svn-id: http://svn.redmine.org/redmine/trunk@13855 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoreplace tab to space at test/test_helper.rb
Toshi MARUYAMA [Thu, 8 Jan 2015 06:20:32 +0000 (06:20 +0000)]
replace tab to space at test/test_helper.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@13854 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoSame fix as r13582 for trackers and statuses (#18769).
Jean-Philippe Lang [Wed, 7 Jan 2015 22:56:34 +0000 (22:56 +0000)]
Same fix as r13582 for trackers and statuses (#18769).

git-svn-id: http://svn.redmine.org/redmine/trunk@13853 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRedirect to the current page when reordering roles (#18769).
Jean-Philippe Lang [Wed, 7 Jan 2015 22:52:23 +0000 (22:52 +0000)]
Redirect to the current page when reordering roles (#18769).

Patch by Jérôme BATAILLE.

git-svn-id: http://svn.redmine.org/redmine/trunk@13852 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoSkip validation if attribute did not change.
Jean-Philippe Lang [Wed, 7 Jan 2015 22:51:45 +0000 (22:51 +0000)]
Skip validation if attribute did not change.

git-svn-id: http://svn.redmine.org/redmine/trunk@13851 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMissing break (#18734).
Jean-Philippe Lang [Wed, 7 Jan 2015 22:45:11 +0000 (22:45 +0000)]
Missing break (#18734).

git-svn-id: http://svn.redmine.org/redmine/trunk@13850 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoDeprecates Project#set_allowed_parent!.
Jean-Philippe Lang [Wed, 7 Jan 2015 22:33:25 +0000 (22:33 +0000)]
Deprecates Project#set_allowed_parent!.

git-svn-id: http://svn.redmine.org/redmine/trunk@13849 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoFixed that project copy triggers a 500 error if project validation fails.
Jean-Philippe Lang [Wed, 7 Jan 2015 22:29:50 +0000 (22:29 +0000)]
Fixed that project copy triggers a 500 error if project validation fails.

git-svn-id: http://svn.redmine.org/redmine/trunk@13848 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoCleans up parent project assignment in ProjectsController.
Jean-Philippe Lang [Wed, 7 Jan 2015 22:19:57 +0000 (22:19 +0000)]
Cleans up parent project assignment in ProjectsController.

git-svn-id: http://svn.redmine.org/redmine/trunk@13847 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMove always possible for new records.
Jean-Philippe Lang [Wed, 7 Jan 2015 22:18:58 +0000 (22:18 +0000)]
Move always possible for new records.

git-svn-id: http://svn.redmine.org/redmine/trunk@13846 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse r13844 workaround for SQLServer only.
Jean-Philippe Lang [Wed, 7 Jan 2015 21:11:05 +0000 (21:11 +0000)]
Use r13844 workaround for SQLServer only.

git-svn-id: http://svn.redmine.org/redmine/trunk@13845 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoFixed dead locks with SQLServer.
Jean-Philippe Lang [Wed, 7 Jan 2015 20:57:52 +0000 (20:57 +0000)]
Fixed dead locks with SQLServer.

git-svn-id: http://svn.redmine.org/redmine/trunk@13844 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMoved Project#hierarchy to NestedSet::Traversing.
Jean-Philippe Lang [Wed, 7 Jan 2015 20:37:06 +0000 (20:37 +0000)]
Moved Project#hierarchy to NestedSet::Traversing.

git-svn-id: http://svn.redmine.org/redmine/trunk@13843 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoInsert children issues to respect same order as ids.
Jean-Philippe Lang [Wed, 7 Jan 2015 20:26:21 +0000 (20:26 +0000)]
Insert children issues to respect same order as ids.

git-svn-id: http://svn.redmine.org/redmine/trunk@13842 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoReplaces awesome_nested_set gem with a simple and more robust implementation of neste...
Jean-Philippe Lang [Wed, 7 Jan 2015 20:19:49 +0000 (20:19 +0000)]
Replaces awesome_nested_set gem with a simple and more robust implementation of nested sets.

The concurrency tests added in this commit trigger dead locks and/or nested set inconsistency with awesome_nested_set.

git-svn-id: http://svn.redmine.org/redmine/trunk@13841 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGemfile: pin pg version 0.17
Toshi MARUYAMA [Sun, 4 Jan 2015 07:31:41 +0000 (07:31 +0000)]
Gemfile: pin pg version 0.17

On Rails 4.1.8, pg 0.18.0 cause error.

<pre>
  1) Failure:
WikiContentTest#test_update_with_gzipped_history [test/unit/wiki_content_test.rb:88]:
Expected: "gzip"
  Actual: ""
</pre>

git-svn-id: http://svn.redmine.org/redmine/trunk@13839 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoremove duplicated :remote key from app/views/messages/show.html.erb
Toshi MARUYAMA [Sun, 4 Jan 2015 04:20:49 +0000 (04:20 +0000)]
remove duplicated :remote key from app/views/messages/show.html.erb

Ruby 2.2 shows warning.

git-svn-id: http://svn.redmine.org/redmine/trunk@13836 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoremove duplicated :id key from app/views/timelog/report.html.erb
Toshi MARUYAMA [Sun, 4 Jan 2015 04:20:40 +0000 (04:20 +0000)]
remove duplicated :id key from app/views/timelog/report.html.erb

Ruby 2.2 shows warning.

git-svn-id: http://svn.redmine.org/redmine/trunk@13835 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agofix Ruby 2.2 warning at lib/redmine/scm/adapters/cvs_adapter.rb
Toshi MARUYAMA [Sat, 3 Jan 2015 17:31:01 +0000 (17:31 +0000)]
fix Ruby 2.2 warning at lib/redmine/scm/adapters/cvs_adapter.rb

On ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]:

<pre>
lib/redmine/scm/adapters/cvs_adapter.rb:342:
  warning: Comparable#== will no more rescue exceptions of #<=> in the next release.
lib/redmine/scm/adapters/cvs_adapter.rb:342:
  warning: Return nil in #<=> if the comparison is inappropriate or avoid such comparison.
</pre>

git-svn-id: http://svn.redmine.org/redmine/trunk@13831 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoGemfile: pin activerecord-jdbcsqlite3-adapter version 1.3.11
Toshi MARUYAMA [Sat, 3 Jan 2015 16:18:31 +0000 (16:18 +0000)]
Gemfile: pin activerecord-jdbcsqlite3-adapter version 1.3.11

1.3.13 breaks test/functional/issues_controller_test.rb.

git-svn-id: http://svn.redmine.org/redmine/trunk@13829 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoadd jruby-21mode to .travis.yml
Toshi MARUYAMA [Sat, 3 Jan 2015 15:56:53 +0000 (15:56 +0000)]
add jruby-21mode to .travis.yml

git-svn-id: http://svn.redmine.org/redmine/trunk@13826 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds table reference to textile help (#12734).
Toshi MARUYAMA [Sat, 3 Jan 2015 14:59:01 +0000 (14:59 +0000)]
Adds table reference to textile help (#12734).

Patch by Matt Wiseley.

git-svn-id: http://svn.redmine.org/redmine/trunk@13825 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoJapanese wiki_syntax_detailed.html translation updated by Go MAEDA (#18637)
Toshi MARUYAMA [Sat, 3 Jan 2015 13:36:05 +0000 (13:36 +0000)]
Japanese wiki_syntax_detailed.html translation updated by Go MAEDA (#18637)

git-svn-id: http://svn.redmine.org/redmine/trunk@13824 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoWiki formatting documentation for nested lists in translated languages (#4518)
Toshi MARUYAMA [Sat, 3 Jan 2015 13:35:56 +0000 (13:35 +0000)]
Wiki formatting documentation for nested lists in translated languages (#4518)

git-svn-id: http://svn.redmine.org/redmine/trunk@13823 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agorevert r13762 because character encodings are broken (#12734)
Toshi MARUYAMA [Sat, 3 Jan 2015 13:35:45 +0000 (13:35 +0000)]
revert r13762 because character encodings are broken (#12734)

git-svn-id: http://svn.redmine.org/redmine/trunk@13822 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agofix Japanese "label_sort_by" misspelling (#18671)
Toshi MARUYAMA [Sat, 3 Jan 2015 12:00:40 +0000 (12:00 +0000)]
fix Japanese "label_sort_by" misspelling (#18671)

Contributed by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@13821 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoSwedish translation updated by Khedron Wilk (#18587)
Toshi MARUYAMA [Sat, 3 Jan 2015 11:05:24 +0000 (11:05 +0000)]
Swedish translation updated by Khedron Wilk (#18587)

git-svn-id: http://svn.redmine.org/redmine/trunk@13819 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoThe descendant count in the issues delete confirmation message is wrong if issues...
Jean-Philippe Lang [Tue, 30 Dec 2014 11:24:00 +0000 (11:24 +0000)]
The descendant count in the issues delete confirmation message is wrong if issues share some descendants.

git-svn-id: http://svn.redmine.org/redmine/trunk@13818 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoPreload wiki page content for search results.
Jean-Philippe Lang [Fri, 26 Dec 2014 12:23:05 +0000 (12:23 +0000)]
Preload wiki page content for search results.

git-svn-id: http://svn.redmine.org/redmine/trunk@13814 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoFixed duplicate content_url tag introduced in r13806 (#18707).
Jean-Philippe Lang [Fri, 26 Dec 2014 12:08:55 +0000 (12:08 +0000)]
Fixed duplicate content_url tag introduced in r13806 (#18707).

git-svn-id: http://svn.redmine.org/redmine/trunk@13813 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUpdates comments for r13811.
Jean-Philippe Lang [Fri, 26 Dec 2014 12:05:01 +0000 (12:05 +0000)]
Updates comments for r13811.

git-svn-id: http://svn.redmine.org/redmine/trunk@13812 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoConverts timestamps to integers in #search_result_ranks_and_ids.
Jean-Philippe Lang [Fri, 26 Dec 2014 12:03:01 +0000 (12:03 +0000)]
Converts timestamps to integers in #search_result_ranks_and_ids.

git-svn-id: http://svn.redmine.org/redmine/trunk@13811 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoForce UTF-8 encoding of language names.
Jean-Philippe Lang [Fri, 26 Dec 2014 11:38:52 +0000 (11:38 +0000)]
Force UTF-8 encoding of language names.

git-svn-id: http://svn.redmine.org/redmine/trunk@13807 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAllow attachment thumbnails from REST API (#18707).
Jean-Philippe Lang [Fri, 26 Dec 2014 11:26:24 +0000 (11:26 +0000)]
Allow attachment thumbnails from REST API (#18707).

git-svn-id: http://svn.redmine.org/redmine/trunk@13806 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoadd Ruby 2.2 to .travis.yml
Toshi MARUYAMA [Fri, 26 Dec 2014 05:08:09 +0000 (05:08 +0000)]
add Ruby 2.2 to .travis.yml

git-svn-id: http://svn.redmine.org/redmine/trunk@13797 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoDo not truncate subissue/related issues titles on the issue view (#18659).
Jean-Philippe Lang [Wed, 24 Dec 2014 12:29:49 +0000 (12:29 +0000)]
Do not truncate subissue/related issues titles on the issue view (#18659).

Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@13796 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds News and Forum link documentation (#13497).
Jean-Philippe Lang [Wed, 24 Dec 2014 12:27:45 +0000 (12:27 +0000)]
Adds News and Forum link documentation (#13497).

Patch by Matt Wiseley.

git-svn-id: http://svn.redmine.org/redmine/trunk@13795 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds p/n access keys for previous/next links (#18692).
Jean-Philippe Lang [Wed, 24 Dec 2014 12:24:00 +0000 (12:24 +0000)]
Adds p/n access keys for previous/next links (#18692).

Patch by Go MAEDA.

git-svn-id: http://svn.redmine.org/redmine/trunk@13794 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse upload helper method.
Jean-Philippe Lang [Mon, 22 Dec 2014 14:14:36 +0000 (14:14 +0000)]
Use upload helper method.

git-svn-id: http://svn.redmine.org/redmine/trunk@13793 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse raw request content in tests to make sure that XML/JSON payload is properly parsed.
Jean-Philippe Lang [Mon, 22 Dec 2014 13:46:31 +0000 (13:46 +0000)]
Use raw request content in tests to make sure that XML/JSON payload is properly parsed.

git-svn-id: http://svn.redmine.org/redmine/trunk@13792 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds tests for creating an issue with multiple uploads.
Jean-Philippe Lang [Mon, 22 Dec 2014 13:41:51 +0000 (13:41 +0000)]
Adds tests for creating an issue with multiple uploads.

git-svn-id: http://svn.redmine.org/redmine/trunk@13791 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoXML parameters parser extracted to actionpack-xml_parser gem in Rails 4 (#14534).
Jean-Philippe Lang [Mon, 22 Dec 2014 13:41:15 +0000 (13:41 +0000)]
XML parameters parser extracted to actionpack-xml_parser gem in Rails 4 (#14534).

git-svn-id: http://svn.redmine.org/redmine/trunk@13790 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoSet en locale in test (#18679).
Jean-Philippe Lang [Sun, 21 Dec 2014 21:24:46 +0000 (21:24 +0000)]
Set en locale in test (#18679).

git-svn-id: http://svn.redmine.org/redmine/trunk@13789 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoSend the content type as parameter when uploading a file.
Jean-Philippe Lang [Sun, 21 Dec 2014 21:07:13 +0000 (21:07 +0000)]
Send the content type as parameter when uploading a file.

git-svn-id: http://svn.redmine.org/redmine/trunk@13788 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAttachment content type not set when uploading attachment (#18667).
Jean-Philippe Lang [Sun, 21 Dec 2014 21:02:38 +0000 (21:02 +0000)]
Attachment content type not set when uploading attachment (#18667).

git-svn-id: http://svn.redmine.org/redmine/trunk@13787 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoFixed: LabelledFormBuilder#label outputs 2 label elements (#18679).
Jean-Philippe Lang [Sun, 21 Dec 2014 20:19:39 +0000 (20:19 +0000)]
Fixed: LabelledFormBuilder#label outputs 2 label elements (#18679).

Patch by Masato NODA.

git-svn-id: http://svn.redmine.org/redmine/trunk@13786 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoError when adding user to group where he is already assigned (#18665).
Jean-Philippe Lang [Sun, 21 Dec 2014 20:15:24 +0000 (20:15 +0000)]
Error when adding user to group where he is already assigned (#18665).

git-svn-id: http://svn.redmine.org/redmine/trunk@13785 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoDon't overwrite headers that were already set (#14699).
Jean-Philippe Lang [Sun, 21 Dec 2014 19:46:33 +0000 (19:46 +0000)]
Don't overwrite headers that were already set (#14699).

git-svn-id: http://svn.redmine.org/redmine/trunk@13784 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoLeading slash required with Rails 4.2.
Jean-Philippe Lang [Sun, 21 Dec 2014 15:05:18 +0000 (15:05 +0000)]
Leading slash required with Rails 4.2.

git-svn-id: http://svn.redmine.org/redmine/trunk@13783 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoSubclasses may not be loaded when running the test.
Jean-Philippe Lang [Sun, 21 Dec 2014 12:50:43 +0000 (12:50 +0000)]
Subclasses may not be loaded when running the test.

git-svn-id: http://svn.redmine.org/redmine/trunk@13782 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoReplaced "can't" with "cannot" in error messages.
Jean-Philippe Lang [Sun, 21 Dec 2014 12:39:48 +0000 (12:39 +0000)]
Replaced "can't" with "cannot" in error messages.

git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoPermissionsAttributeCoder.load called twice when mocha expectation is set.
Jean-Philippe Lang [Sun, 21 Dec 2014 11:57:01 +0000 (11:57 +0000)]
PermissionsAttributeCoder.load called twice when mocha expectation is set.

git-svn-id: http://svn.redmine.org/redmine/trunk@13780 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse DOM assertion instead.
Jean-Philippe Lang [Sun, 21 Dec 2014 11:48:00 +0000 (11:48 +0000)]
Use DOM assertion instead.

git-svn-id: http://svn.redmine.org/redmine/trunk@13779 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse DOM assertions as attributes order changes from a Rails version to another.
Jean-Philippe Lang [Sat, 20 Dec 2014 14:41:04 +0000 (14:41 +0000)]
Use DOM assertions as attributes order changes from a Rails version to another.

git-svn-id: http://svn.redmine.org/redmine/trunk@13778 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMake sure that themes are reloaded after test.
Jean-Philippe Lang [Sat, 20 Dec 2014 14:33:17 +0000 (14:33 +0000)]
Make sure that themes are reloaded after test.

git-svn-id: http://svn.redmine.org/redmine/trunk@13777 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRewrites assertions.
Jean-Philippe Lang [Sat, 20 Dec 2014 14:30:33 +0000 (14:30 +0000)]
Rewrites assertions.

git-svn-id: http://svn.redmine.org/redmine/trunk@13776 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved that quote in a fixture subject.
Jean-Philippe Lang [Sat, 20 Dec 2014 14:22:50 +0000 (14:22 +0000)]
Removed that quote in a fixture subject.

git-svn-id: http://svn.redmine.org/redmine/trunk@13775 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse a CustomFieldValue instead of CustomValue.
Jean-Philippe Lang [Sat, 20 Dec 2014 13:51:34 +0000 (13:51 +0000)]
Use a CustomFieldValue instead of CustomValue.

git-svn-id: http://svn.redmine.org/redmine/trunk@13774 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoves test menu item after test.
Jean-Philippe Lang [Sat, 20 Dec 2014 13:42:57 +0000 (13:42 +0000)]
Removes test menu item after test.

git-svn-id: http://svn.redmine.org/redmine/trunk@13773 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoSet locale for error messages.
Jean-Philippe Lang [Sat, 20 Dec 2014 13:35:57 +0000 (13:35 +0000)]
Set locale for error messages.

git-svn-id: http://svn.redmine.org/redmine/trunk@13772 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoReset current user on each test.
Jean-Philippe Lang [Sat, 20 Dec 2014 13:35:33 +0000 (13:35 +0000)]
Reset current user on each test.

git-svn-id: http://svn.redmine.org/redmine/trunk@13771 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoCache search result ids for faster search pagination (#18631).
Jean-Philippe Lang [Sat, 20 Dec 2014 09:33:02 +0000 (09:33 +0000)]
Cache search result ids for faster search pagination (#18631).

git-svn-id: http://svn.redmine.org/redmine/trunk@13770 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMoved search logic to Redmine::Search (#18631).
Jean-Philippe Lang [Sat, 20 Dec 2014 08:10:05 +0000 (08:10 +0000)]
Moved search logic to Redmine::Search (#18631).

git-svn-id: http://svn.redmine.org/redmine/trunk@13769 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoPlugin migration confuses two plugins with similar names (#18685).
Jean-Philippe Lang [Sat, 20 Dec 2014 07:27:53 +0000 (07:27 +0000)]
Plugin migration confuses two plugins with similar names (#18685).

git-svn-id: http://svn.redmine.org/redmine/trunk@13768 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRestore accent insensitive search with mysql (#18537).
Jean-Philippe Lang [Mon, 15 Dec 2014 19:22:13 +0000 (19:22 +0000)]
Restore accent insensitive search with mysql (#18537).

git-svn-id: http://svn.redmine.org/redmine/trunk@13767 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse logger.info? (#18605).
Jean-Philippe Lang [Sun, 14 Dec 2014 21:53:38 +0000 (21:53 +0000)]
Use logger.info? (#18605).

git-svn-id: http://svn.redmine.org/redmine/trunk@13766 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoSupport for named route in project menu and a new :permission option (#6426).
Jean-Philippe Lang [Sun, 14 Dec 2014 21:46:53 +0000 (21:46 +0000)]
Support for named route in project menu and a new :permission option (#6426).

git-svn-id: http://svn.redmine.org/redmine/trunk@13765 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoCode cleanup.
Jean-Philippe Lang [Sun, 14 Dec 2014 21:01:51 +0000 (21:01 +0000)]
Code cleanup.

git-svn-id: http://svn.redmine.org/redmine/trunk@13764 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUser detail : show user login to admins (#17354).
Jean-Philippe Lang [Sun, 14 Dec 2014 20:47:31 +0000 (20:47 +0000)]
User detail : show user login to admins (#17354).

Patch by Jérôme BATAILLE.

git-svn-id: http://svn.redmine.org/redmine/trunk@13763 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoAdds table reference to textile help (#12734).
Jean-Philippe Lang [Sun, 14 Dec 2014 20:34:54 +0000 (20:34 +0000)]
Adds table reference to textile help (#12734).

Patch by Matt Wiseley.

git-svn-id: http://svn.redmine.org/redmine/trunk@13762 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMissing test helper (#18537).
Jean-Philippe Lang [Sun, 14 Dec 2014 16:31:11 +0000 (16:31 +0000)]
Missing test helper (#18537).

git-svn-id: http://svn.redmine.org/redmine/trunk@13761 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoSQLite does not support case insensitive match for non-ASCII characters (#18537).
Jean-Philippe Lang [Sun, 14 Dec 2014 16:30:36 +0000 (16:30 +0000)]
SQLite does not support case insensitive match for non-ASCII characters (#18537).

git-svn-id: http://svn.redmine.org/redmine/trunk@13760 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse custom SQL for MySQL to behave like others DBMS: case-insensitive search without...
Jean-Philippe Lang [Sun, 14 Dec 2014 13:55:52 +0000 (13:55 +0000)]
Use custom SQL for MySQL to behave like others DBMS: case-insensitive search without ignoring accentuation (#18537).

git-svn-id: http://svn.redmine.org/redmine/trunk@13759 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoadd missing fixtures to test/unit/search_test.rb
Toshi MARUYAMA [Sun, 14 Dec 2014 04:27:43 +0000 (04:27 +0000)]
add missing fixtures to test/unit/search_test.rb

git-svn-id: http://svn.redmine.org/redmine/trunk@13758 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMysql LIKE treats Ö and O the same (#18537).
Jean-Philippe Lang [Sat, 13 Dec 2014 23:11:01 +0000 (23:11 +0000)]
Mysql LIKE treats Ö and O the same (#18537).

git-svn-id: http://svn.redmine.org/redmine/trunk@13757 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoWiki formatting documentation for nested lists (#4518).
Jean-Philippe Lang [Sat, 13 Dec 2014 18:49:13 +0000 (18:49 +0000)]
Wiki formatting documentation for nested lists (#4518).

Patch by Matt Wiseley.

git-svn-id: http://svn.redmine.org/redmine/trunk@13756 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoRemoved debug stuff.
Jean-Philippe Lang [Sat, 13 Dec 2014 18:40:55 +0000 (18:40 +0000)]
Removed debug stuff.

git-svn-id: http://svn.redmine.org/redmine/trunk@13755 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoDon't use #downcase on search tokens, let the database handle it (#18537).
Jean-Philippe Lang [Sat, 13 Dec 2014 18:36:35 +0000 (18:36 +0000)]
Don't use #downcase on search tokens, let the database handle it (#18537).

git-svn-id: http://svn.redmine.org/redmine/trunk@13754 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoHTML improvements on project landing page (#18565).
Jean-Philippe Lang [Sat, 13 Dec 2014 18:24:10 +0000 (18:24 +0000)]
HTML improvements on project landing page (#18565).

Patch by Tobias Fischer.

git-svn-id: http://svn.redmine.org/redmine/trunk@13753 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoMerged datepicker.js into application.js.
Jean-Philippe Lang [Sat, 13 Dec 2014 18:05:05 +0000 (18:05 +0000)]
Merged datepicker.js into application.js.

git-svn-id: http://svn.redmine.org/redmine/trunk@13752 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoadd missing fixtures to SearchControllerTest
Toshi MARUYAMA [Sat, 13 Dec 2014 17:42:18 +0000 (17:42 +0000)]
add missing fixtures to SearchControllerTest

git-svn-id: http://svn.redmine.org/redmine/trunk@13751 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoUse a simple count query.
Jean-Philippe Lang [Sat, 13 Dec 2014 16:55:28 +0000 (16:55 +0000)]
Use a simple count query.

git-svn-id: http://svn.redmine.org/redmine/trunk@13750 e93f8b46-1217-0410-a6f0-8f06a7374b81

9 years agoadd missing fixture to MembersHelperTest
Toshi MARUYAMA [Sat, 13 Dec 2014 15:38:49 +0000 (15:38 +0000)]
add missing fixture to MembersHelperTest

Test fails randomly.

<pre>
  1) Error:
MembersHelperTest#test_render_principals_for_new_members:
ActiveRecord::RecordInvalid: Validation failed: trackers is invalid, trackers is invalid, trackers is invalid
    test/object_helpers.rb:38:in `generate!'
    test/unit/helpers/members_helper_test.rb:29:in `test_render_principals_for_new_members'
</pre>

It can be reproduced on clean database and following change.

<pre>
-  fixtures :projects, :users, :members, :member_roles
+  fixtures :projects, :users, :members, :member_roles,
+           :trackers
</pre>

git-svn-id: http://svn.redmine.org/redmine/trunk@13749 e93f8b46-1217-0410-a6f0-8f06a7374b81