]> source.dussan.org Git - redmine.git/log
redmine.git
9 years agoDon't call #upcase on nil.
Jean-Philippe Lang [Sun, 8 Feb 2015 16:24:19 +0000 (16:24 +0000)]
Don't call #upcase on nil.

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

9 years agoFixed filtering on date custom field with SQLServer.
Jean-Philippe Lang [Sun, 8 Feb 2015 16:23:16 +0000 (16:23 +0000)]
Fixed filtering on date custom field with SQLServer.

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

9 years agoFixed assertions for SQLServer that format dates with MM/DD/YYYY in queries.
Jean-Philippe Lang [Sun, 8 Feb 2015 16:01:20 +0000 (16:01 +0000)]
Fixed assertions for SQLServer that format dates with MM/DD/YYYY in queries.

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

9 years agoFixed an error in IssuesControllerTest#test_index_with_query_grouped_by_tracker_in_re...
Jean-Philippe Lang [Sun, 8 Feb 2015 15:35:12 +0000 (15:35 +0000)]
Fixed an error in IssuesControllerTest#test_index_with_query_grouped_by_tracker_in_reverse_order with SQLServer.

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

9 years agoFixed the migration for SQLServer (#18855).
Jean-Philippe Lang [Sun, 8 Feb 2015 15:25:11 +0000 (15:25 +0000)]
Fixed the migration for SQLServer (#18855).

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

9 years agoSupport for accent insensitive search with PostgreSQL (#18801).
Jean-Philippe Lang [Sun, 8 Feb 2015 15:13:57 +0000 (15:13 +0000)]
Support for accent insensitive search with PostgreSQL (#18801).

If the unaccent extension is installed, the search engine will use it in order to do accent insensitive search.

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

9 years agoLinks to completed versions on the roadmap page might lead to a "403 not authorized...
Jean-Philippe Lang [Sun, 8 Feb 2015 15:06:31 +0000 (15:06 +0000)]
Links to completed versions on the roadmap page might lead to a "403 not authorized page" (#19030).

Patch by Felix Schäfer.

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

9 years agoAdds :permission_copy_issues string to locales (#18855).
Jean-Philippe Lang [Sun, 8 Feb 2015 12:07:49 +0000 (12:07 +0000)]
Adds :permission_copy_issues string to locales (#18855).

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

9 years agoAdds a :copy_issues permission (#18855).
Jean-Philippe Lang [Sun, 8 Feb 2015 12:07:00 +0000 (12:07 +0000)]
Adds a :copy_issues permission (#18855).

When copy is allowed, target projects are those on which the user has the :add_issues permission.

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

9 years agoRemoved :move_issues permission (#18855).
Jean-Philippe Lang [Sun, 8 Feb 2015 10:20:53 +0000 (10:20 +0000)]
Removed :move_issues permission (#18855).

This permission was wrongly used to allow bulk issue copy. To prevent user from moving an issue to another project, the project field should now be set to read-only in the workflow permissions. A migration does this automatically for roles that have the edit_issues permission without having the move_issues permission.

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

9 years agoFixed assertion (#18918).
Jean-Philippe Lang [Sun, 8 Feb 2015 09:39:23 +0000 (09:39 +0000)]
Fixed assertion (#18918).

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

9 years agoAdds a specific string for blank values (#18918).
Jean-Philippe Lang [Sun, 8 Feb 2015 09:37:27 +0000 (09:37 +0000)]
Adds a specific string for blank values (#18918).

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

9 years agoDon't use current user locale to format dates (#19039).
Jean-Philippe Lang [Sun, 8 Feb 2015 09:34:48 +0000 (09:34 +0000)]
Don't use current user locale to format dates (#19039).

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

9 years agopdf: remove styles by fontname instated of Arabic/Persian/Thai locale (#10681, #18586)
Toshi MARUYAMA [Sun, 8 Feb 2015 04:04:35 +0000 (04:04 +0000)]
pdf: remove styles by fontname instated of Arabic/Persian/Thai locale (#10681, #18586)

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

9 years agopdf: remove styles of Arabic/Persian Italic and Thai Bold (#10681, #18586)
Toshi MARUYAMA [Sun, 8 Feb 2015 04:04:24 +0000 (04:04 +0000)]
pdf: remove styles of Arabic/Persian Italic and Thai Bold (#10681, #18586)

Contributed by Jun NAITOH.

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

9 years agoJapanese translation fix (label_age) by Go MAEDA (#19035)
Toshi MARUYAMA [Sun, 8 Feb 2015 02:59:52 +0000 (02:59 +0000)]
Japanese translation fix (label_age) by Go MAEDA (#19035)

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

9 years agoremove "label_per_page" from locale files (#19055)
Toshi MARUYAMA [Sun, 8 Feb 2015 02:59:39 +0000 (02:59 +0000)]
remove "label_per_page" from locale files (#19055)

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

9 years agoJapanese translation updated and changed by Go MAEDA (#19054)
Toshi MARUYAMA [Sun, 8 Feb 2015 02:58:56 +0000 (02:58 +0000)]
Japanese translation updated and changed by Go MAEDA (#19054)

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

9 years agoExtract grouping logic to an helper.
Jean-Philippe Lang [Sat, 7 Feb 2015 09:39:39 +0000 (09:39 +0000)]
Extract grouping logic to an helper.

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

9 years agoTimeEntry acts_as_activity_provider scope should joins(:project) (#18818).
Jean-Philippe Lang [Sat, 7 Feb 2015 09:10:57 +0000 (09:10 +0000)]
TimeEntry acts_as_activity_provider scope should joins(:project) (#18818).

Patch by Ondřej Ezr.

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

9 years agoSort helper undefined to_a for string (#18817).
Jean-Philippe Lang [Sat, 7 Feb 2015 09:08:54 +0000 (09:08 +0000)]
Sort helper undefined to_a for string (#18817).

Patch by Ondřej Ezr.

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

9 years agoRespect cross-project subtask setting on issue bulk edit form (#18711).
Jean-Philippe Lang [Sat, 7 Feb 2015 09:06:49 +0000 (09:06 +0000)]
Respect cross-project subtask setting on issue bulk edit form (#18711).

Patch by Felix Schäfer.

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

9 years agoDefault admin user may not be crated in Redmine 3.0 (#18804).
Jean-Philippe Lang [Sat, 7 Feb 2015 09:04:37 +0000 (09:04 +0000)]
Default admin user may not be crated in Redmine 3.0 (#18804).

Patch by Ondřej Ezr.

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

9 years agoRenamed test (#18983).
Jean-Philippe Lang [Sat, 7 Feb 2015 08:25:31 +0000 (08:25 +0000)]
Renamed test (#18983).

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

9 years agoFixed wrong test (#18983).
Jean-Philippe Lang [Sat, 7 Feb 2015 08:24:58 +0000 (08:24 +0000)]
Fixed wrong test (#18983).

Issue was not assigned to the version and assert_equal 1, ActionMailer::Base.deliveries.size was passing because of the issue creation notification.

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

9 years agoRaise an error if version is not found (#18983).
Jean-Philippe Lang [Sat, 7 Feb 2015 08:12:06 +0000 (08:12 +0000)]
Raise an error if version is not found (#18983).

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

9 years agoAllow filtering of Redmine Reminders by Version (#18983).
Jean-Philippe Lang [Sat, 7 Feb 2015 07:56:58 +0000 (07:56 +0000)]
Allow filtering of Redmine Reminders by Version (#18983).

Patch by Merul Patel.

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

9 years agoAdds string to locales (#19005).
Jean-Philippe Lang [Sat, 7 Feb 2015 07:45:31 +0000 (07:45 +0000)]
Adds string to locales (#19005).

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

9 years agoMake search results per page configurable (#19005).
Jean-Philippe Lang [Sat, 7 Feb 2015 07:44:44 +0000 (07:44 +0000)]
Make search results per page configurable (#19005).

Patch by Go MAEDA.

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

9 years agordm-mailhandler.rb should catch EOFError (#18922).
Jean-Philippe Lang [Sat, 7 Feb 2015 07:37:21 +0000 (07:37 +0000)]
rdm-mailhandler.rb should catch EOFError (#18922).

Patch by Go MAEDA.

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

9 years agolink_to in Redmine::Hook::ViewListener omits relative url root (#19024).
Jean-Philippe Lang [Sat, 7 Feb 2015 07:32:25 +0000 (07:32 +0000)]
link_to in Redmine::Hook::ViewListener omits relative url root (#19024).

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

9 years agoJapanese translation updated by Go MAEDA (#18991)
Toshi MARUYAMA [Sun, 1 Feb 2015 16:24:47 +0000 (16:24 +0000)]
Japanese translation updated by Go MAEDA (#18991)

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

9 years agoremove empty lib/vendor/ from Subversion repository
Toshi MARUYAMA [Sun, 1 Feb 2015 16:10:43 +0000 (16:10 +0000)]
remove empty lib/vendor/ from Subversion repository

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

9 years agoremove vendor/rails from .hgignore and .gitignore
Toshi MARUYAMA [Sun, 1 Feb 2015 16:04:26 +0000 (16:04 +0000)]
remove vendor/rails from .hgignore and .gitignore

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

9 years agoremove "rails" from vendor/ svn:ignore
Toshi MARUYAMA [Sun, 1 Feb 2015 15:59:11 +0000 (15:59 +0000)]
remove "rails" from vendor/ svn:ignore

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

9 years agoDon't process macro descriptions with text formatter (#18961).
Jean-Philippe Lang [Sat, 31 Jan 2015 14:26:32 +0000 (14:26 +0000)]
Don't process macro descriptions with text formatter (#18961).

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

9 years agoShow long text custom field changes as a diff (#15236).
Jean-Philippe Lang [Sat, 31 Jan 2015 10:42:41 +0000 (10:42 +0000)]
Show long text custom field changes as a diff (#15236).

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

9 years agoRemoved :update key and use :edit instead.
Jean-Philippe Lang [Tue, 27 Jan 2015 21:55:34 +0000 (21:55 +0000)]
Removed :update key and use :edit instead.

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

9 years agoThe :change_status permission was removed in r1043.
Jean-Philippe Lang [Tue, 27 Jan 2015 21:52:34 +0000 (21:52 +0000)]
The :change_status permission was removed in r1043.

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

9 years agoAdds rtl and ltr css classes for use in text formatting (#8121).
Jean-Philippe Lang [Tue, 27 Jan 2015 21:29:36 +0000 (21:29 +0000)]
Adds rtl and ltr css classes for use in text formatting (#8121).

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

9 years agoIMAP STARTTLS support (#16823).
Jean-Philippe Lang [Tue, 27 Jan 2015 20:54:45 +0000 (20:54 +0000)]
IMAP STARTTLS support (#16823).

Patch by Jan Pipek.

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

9 years agoBulgarian translation updated by Ivan Cenov (#18931)
Toshi MARUYAMA [Sun, 25 Jan 2015 10:50:02 +0000 (10:50 +0000)]
Bulgarian translation updated by Ivan Cenov (#18931)

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

9 years agoadd missing fixture to FilesControllerTest
Toshi MARUYAMA [Sun, 25 Jan 2015 10:44:40 +0000 (10:44 +0000)]
add missing fixture to FilesControllerTest

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

9 years agoGemfile: remove mocha version
Toshi MARUYAMA [Sun, 25 Jan 2015 10:44:29 +0000 (10:44 +0000)]
Gemfile: remove mocha version

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

9 years agoRender issue description and journal notes with #textilizable (#13051).
Jean-Philippe Lang [Sun, 25 Jan 2015 09:23:45 +0000 (09:23 +0000)]
Render issue description and journal notes with #textilizable (#13051).

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

9 years agoRemoved an instance variable.
Jean-Philippe Lang [Sun, 25 Jan 2015 09:08:13 +0000 (09:08 +0000)]
Removed an instance variable.

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

9 years agoAdds support for macro and Redmine links in PDF export (#13051).
Jean-Philippe Lang [Sun, 25 Jan 2015 09:04:52 +0000 (09:04 +0000)]
Adds support for macro and Redmine links in PDF export (#13051).

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

9 years agoRequire rbpdf 1.18.5 that is Rails 4.2 compatible (#14534).
Jean-Philippe Lang [Sat, 24 Jan 2015 21:39:47 +0000 (21:39 +0000)]
Require rbpdf 1.18.5 that is Rails 4.2 compatible (#14534).

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

9 years agoFixed attachment fixture (should be attached to issue 3 because one of its journals...
Jean-Philippe Lang [Sat, 24 Jan 2015 11:27:28 +0000 (11:27 +0000)]
Fixed attachment fixture (should be attached to issue 3 because one of its journals references it), r13937.

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

9 years agoUse named route.
Jean-Philippe Lang [Sat, 24 Jan 2015 10:58:21 +0000 (10:58 +0000)]
Use named route.

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

9 years agoLink to the anchor only.
Jean-Philippe Lang [Sat, 24 Jan 2015 10:54:41 +0000 (10:54 +0000)]
Link to the anchor only.

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

9 years agoUse .klass instead of .class_name.constantize.
Jean-Philippe Lang [Sat, 24 Jan 2015 10:47:21 +0000 (10:47 +0000)]
Use .klass instead of .class_name.constantize.

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

9 years agoMemorize journal details value name to display.
Jean-Philippe Lang [Sat, 24 Jan 2015 10:45:45 +0000 (10:45 +0000)]
Memorize journal details value name to display.

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

9 years agoUse journalized attachments to prevent a query when displaying added file.
Jean-Philippe Lang [Sat, 24 Jan 2015 10:25:05 +0000 (10:25 +0000)]
Use journalized attachments to prevent a query when displaying added file.

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

9 years agoSet :inverse_of on details association.
Jean-Philippe Lang [Sat, 24 Jan 2015 10:23:53 +0000 (10:23 +0000)]
Set :inverse_of on details association.

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

9 years agoDon't check if attachments are editable individually.
Jean-Philippe Lang [Sat, 24 Jan 2015 09:07:33 +0000 (09:07 +0000)]
Don't check if attachments are editable individually.

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

9 years agoMemorize project override roles.
Jean-Philippe Lang [Sat, 24 Jan 2015 08:54:04 +0000 (08:54 +0000)]
Memorize project override roles.

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

9 years agoadd missing fixtures
Toshi MARUYAMA [Wed, 21 Jan 2015 15:03:14 +0000 (15:03 +0000)]
add missing fixtures

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

9 years agoadd missing fixtures
Toshi MARUYAMA [Wed, 21 Jan 2015 13:32:36 +0000 (13:32 +0000)]
add missing fixtures

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

9 years agoscm: git: simplify nil check (#18923)
Toshi MARUYAMA [Wed, 21 Jan 2015 12:04:24 +0000 (12:04 +0000)]
scm: git: simplify nil check (#18923)

On Ruby, "if []" is true

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

9 years agoadd missing fixture to TimeEntryReportsControllerTest
Toshi MARUYAMA [Wed, 21 Jan 2015 11:51:10 +0000 (11:51 +0000)]
add missing fixture to TimeEntryReportsControllerTest

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

9 years agoadd missing fixture to test/unit/journal_test.rb
Toshi MARUYAMA [Wed, 21 Jan 2015 11:47:39 +0000 (11:47 +0000)]
add missing fixture to test/unit/journal_test.rb

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

9 years agoremove trailing white-spaces from lib/redmine/scm/adapters/git_adapter.rb
Toshi MARUYAMA [Wed, 21 Jan 2015 11:47:28 +0000 (11:47 +0000)]
remove trailing white-spaces from lib/redmine/scm/adapters/git_adapter.rb

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

9 years agoscm: git: branches return cache too when there is no branch (#18923)
Toshi MARUYAMA [Wed, 21 Jan 2015 10:58:57 +0000 (10:58 +0000)]
scm: git: branches return cache too when there is no branch (#18923)

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

9 years agoscm: git: explicitly tags return [] if there is no tag (#18923)
Toshi MARUYAMA [Wed, 21 Jan 2015 10:58:45 +0000 (10:58 +0000)]
scm: git: explicitly tags return [] if there is no tag (#18923)

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

9 years agoDon't change Setting.default_language in Mailer tests.
Jean-Philippe Lang [Wed, 21 Jan 2015 08:40:44 +0000 (08:40 +0000)]
Don't change Setting.default_language in Mailer tests.

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

9 years agoDon't change Setting.default_language in tests.
Jean-Philippe Lang [Wed, 21 Jan 2015 08:34:02 +0000 (08:34 +0000)]
Don't change Setting.default_language in tests.

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

9 years agoSet :inverse_of option on journals association.
Jean-Philippe Lang [Wed, 21 Jan 2015 08:27:46 +0000 (08:27 +0000)]
Set :inverse_of option on journals association.

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

9 years agoFixed that group is not displayed when the first group is a boolean custom field...
Jean-Philippe Lang [Mon, 19 Jan 2015 21:36:59 +0000 (21:36 +0000)]
Fixed that group is not displayed when the first group is a boolean custom field group with "No" value (#18896).

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

9 years agoFixed that boolean custom field groups have same label for blank and false values...
Jean-Philippe Lang [Mon, 19 Jan 2015 21:23:11 +0000 (21:23 +0000)]
Fixed that boolean custom field groups have same label for blank and false values (#18894).

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

9 years agoFixed #down for migration 20141029181824_remove_issue_statuses_is_default (#18898).
Jean-Philippe Lang [Mon, 19 Jan 2015 21:00:42 +0000 (21:00 +0000)]
Fixed #down for migration 20141029181824_remove_issue_statuses_is_default (#18898).

Patch by Denis Savitskiy.

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

9 years agoMakes RedCloth3#retrieve MUCH faster (#18883).
Jean-Philippe Lang [Mon, 19 Jan 2015 20:46:08 +0000 (20:46 +0000)]
Makes RedCloth3#retrieve MUCH faster (#18883).

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

9 years agoFaster textile table parsing by using a single scan instead of a regexp matching...
Jean-Philippe Lang [Mon, 19 Jan 2015 20:38:48 +0000 (20:38 +0000)]
Faster textile table parsing by using a single scan instead of a regexp matching for each cell (#18883).

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

9 years agoadd missing fixture to test/integration/api_test/groups_test.rb
Toshi MARUYAMA [Mon, 19 Jan 2015 04:50:29 +0000 (04:50 +0000)]
add missing fixture to test/integration/api_test/groups_test.rb

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

9 years agoadd missing fixture
Toshi MARUYAMA [Mon, 19 Jan 2015 04:41:49 +0000 (04:41 +0000)]
add missing fixture

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

9 years agopin order at RepositoryCvsTest#test_entries_rev3
Toshi MARUYAMA [Mon, 19 Jan 2015 04:03:01 +0000 (04:03 +0000)]
pin order at RepositoryCvsTest#test_entries_rev3

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

9 years agoSet proper default language.
Jean-Philippe Lang [Sun, 18 Jan 2015 23:14:48 +0000 (23:14 +0000)]
Set proper default language.

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

9 years ago#shelve should not be called if cell doesn't match attributes regexp (#18883).
Jean-Philippe Lang [Sun, 18 Jan 2015 22:57:55 +0000 (22:57 +0000)]
#shelve should not be called if cell doesn't match attributes regexp (#18883).

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

9 years agoSet proper locale.
Jean-Philippe Lang [Sun, 18 Jan 2015 20:43:04 +0000 (20:43 +0000)]
Set proper locale.

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

9 years agoadd missing fixtures
Toshi MARUYAMA [Sun, 18 Jan 2015 18:11:19 +0000 (18:11 +0000)]
add missing fixtures

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

9 years agofix tests (#13120)
Toshi MARUYAMA [Sun, 18 Jan 2015 18:00:38 +0000 (18:00 +0000)]
fix tests (#13120)

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

9 years agomake language names all the same format (#13120)
Toshi MARUYAMA [Sun, 18 Jan 2015 17:33:09 +0000 (17:33 +0000)]
make language names all the same format (#13120)

Contributed by Go MAEDA.

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

9 years agoTraditional Chinese translation updated by ChunChang Lo (#18876)
Toshi MARUYAMA [Sun, 18 Jan 2015 17:32:49 +0000 (17:32 +0000)]
Traditional Chinese translation updated by ChunChang Lo (#18876)

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

9 years agofix assertion order at RepositoryCvsTest#test_entries_rev3
Toshi MARUYAMA [Sun, 18 Jan 2015 16:40:59 +0000 (16:40 +0000)]
fix assertion order at RepositoryCvsTest#test_entries_rev3

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

9 years agoadd tests to RepositoryCvsTest#test_entries_rev3
Toshi MARUYAMA [Sun, 18 Jan 2015 16:40:50 +0000 (16:40 +0000)]
add tests to RepositoryCvsTest#test_entries_rev3

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

9 years agofix code indent at app/models/repository/cvs.rb
Toshi MARUYAMA [Sun, 18 Jan 2015 16:40:42 +0000 (16:40 +0000)]
fix code indent at app/models/repository/cvs.rb

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

9 years agouse "where" instead of find_by_ at Repository::Cvs class
Toshi MARUYAMA [Sun, 18 Jan 2015 16:40:34 +0000 (16:40 +0000)]
use "where" instead of find_by_ at Repository::Cvs class

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

9 years agorevert r13901
Toshi MARUYAMA [Sun, 18 Jan 2015 16:27:31 +0000 (16:27 +0000)]
revert r13901

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

9 years agoMake sure that #scm_iconv returns a string with the target encoding (#14534).
Jean-Philippe Lang [Sun, 18 Jan 2015 16:16:23 +0000 (16:16 +0000)]
Make sure that #scm_iconv returns a string with the target encoding (#14534).

filechanges.find_by_revision_and_path fails with SQLite if arguments are not UTF-8 encoded.

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

9 years agoworkaround unit cvs test failure on sqlite3
Toshi MARUYAMA [Sun, 18 Jan 2015 16:13:05 +0000 (16:13 +0000)]
workaround unit cvs test failure on sqlite3

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

9 years agosvn propset svn:executable bin/ files
Toshi MARUYAMA [Sun, 18 Jan 2015 16:04:48 +0000 (16:04 +0000)]
svn propset svn:executable bin/ files

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

9 years agoprevent "config.log_level" DEPRECATION WARNING
Toshi MARUYAMA [Sun, 18 Jan 2015 14:05:35 +0000 (14:05 +0000)]
prevent "config.log_level" DEPRECATION WARNING

DEPRECATION WARNING: You did not specify a `log_level` in `production.rb`.
Currently, the default value for `log_level` is `:info` for the production environment
and `:debug` in all other environments.
In Rails 5 the default value will be unified to `:debug` across all environments.
To preserve the current setting, add the following line to your `production.rb`:

   config.log_level = :info

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

9 years agoadd missing fixture to Redmine::Hook::ManagerTest
Toshi MARUYAMA [Sun, 18 Jan 2015 14:05:27 +0000 (14:05 +0000)]
add missing fixture to Redmine::Hook::ManagerTest

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

9 years agoPrevents calling #truncate on nil.
Jean-Philippe Lang [Sun, 18 Jan 2015 11:45:08 +0000 (11:45 +0000)]
Prevents calling #truncate on nil.

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

9 years agoUse attribute writers instead of before_create callback to normalize comments and...
Jean-Philippe Lang [Sun, 18 Jan 2015 11:43:58 +0000 (11:43 +0000)]
Use attribute writers instead of before_create callback to normalize comments and committer (#14534).

Unlike other adapters, SQLite raises Encoding::UndefinedConversionError before the callback that reencodes attributes is called.

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

9 years agoFixed that Redmine::Activity::Fetcher should consider activity provider permission...
Jean-Philippe Lang [Sun, 18 Jan 2015 09:07:42 +0000 (09:07 +0000)]
Fixed that Redmine::Activity::Fetcher should consider activity provider permission option if given (#18832).

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

9 years agoFix migration and use Rails 4.2.0 release (#14534).
Jean-Philippe Lang [Sun, 18 Jan 2015 09:04:21 +0000 (09:04 +0000)]
Fix migration and use Rails 4.2.0 release (#14534).

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

9 years agoGemfile: use GitHub rails gem
Toshi MARUYAMA [Sun, 18 Jan 2015 05:56:17 +0000 (05:56 +0000)]
Gemfile: use GitHub rails gem

20091114105931 AddViewIssuesPermission: db migrating fails on ruby 1.9.3p551 sqlite3

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

9 years agoUpgrade to Rails 4.2.0 (#14534).
Jean-Philippe Lang [Sat, 17 Jan 2015 17:02:55 +0000 (17:02 +0000)]
Upgrade to Rails 4.2.0 (#14534).

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

9 years agoMissing fixtures.
Jean-Philippe Lang [Sat, 17 Jan 2015 14:55:37 +0000 (14:55 +0000)]
Missing fixtures.

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