]>
source.dussan.org Git - redmine.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jean-Philippe Lang [Sat, 17 Jan 2015 14:55:17 +0000 (14:55 +0000)]
Missing fixtures.
git-svn-id: http://svn.redmine.org/redmine/trunk@13890
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 17 Jan 2015 14:54:38 +0000 (14:54 +0000)]
Missing fixtures.
git-svn-id: http://svn.redmine.org/redmine/trunk@13889
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 17 Jan 2015 14:51:29 +0000 (14:51 +0000)]
Send password reset email to the email used in lost password form (#4244).
git-svn-id: http://svn.redmine.org/redmine/trunk@13888
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 17 Jan 2015 14:17:58 +0000 (14:17 +0000)]
Adds strings to locales (#4244).
git-svn-id: http://svn.redmine.org/redmine/trunk@13887
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Jean-Philippe Lang [Sat, 17 Jan 2015 14:14:12 +0000 (14:14 +0000)]
Add support for multiple email addresses per user (#4244).
git-svn-id: http://svn.redmine.org/redmine/trunk@13886
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Fri, 16 Jan 2015 04:57:10 +0000 (04:57 +0000)]
IssuesControllerTest: make encoding tests independent of ordering (#18856)
Contributed by Antonio Terceiro.
git-svn-id: http://svn.redmine.org/redmine/trunk@13885
e93f8b46 -1217-0410-a6f0-
8f06a7374b81
Toshi MARUYAMA [Thu, 15 Jan 2015 16:31:01 +0000 (16:31 +0000)]
fix UsersControllerTest failure randomly
<pre>
1) Error:
UsersControllerTest#test_show:
ActionView::Template::Error: undefined method `name' for nil:NilClass
app/models/issue.rb:53:in `block in <class:Issue>'
lib/plugins/acts_as_event/lib/acts_as_event.rb:62:in `call'
lib/plugins/acts_as_event/lib/acts_as_event.rb:62:in `event_title'
app/views/users/show.html.erb:57:in `block (2 levels) in _app_views_users_show_html_erb___2965700471773239267_46119700'
app/views/users/show.html.erb:53:in `each'
app/views/users/show.html.erb:53:in `block in _app_views_users_show_html_erb___2965700471773239267_46119700'
app/views/users/show.html.erb:50:in `each'
app/views/users/show.html.erb:50:in `_app_views_users_show_html_erb___2965700471773239267_46119700'
app/controllers/users_controller.rb:75:in `block (2 levels) in show'
app/controllers/users_controller.rb:71:in `show'
test/functional/users_controller_test.rb:76:in `test_show'
</pre>
This can be reproduced with following change.
<pre>
fixtures :users, :projects, :members, :member_roles, :roles,
:custom_fields, :custom_values, :groups_users,
- :auth_sources
+ :auth_sources,
+ :enabled_modules,
+ :issues, :issue_statuses
</pre>
git-svn-id: http://svn.redmine.org/redmine/trunk@13883
e93f8b46 -1217-0410-a6f0-
8f06a7374b81