]> source.dussan.org Git - redmine.git/log
redmine.git
7 years agoFix edit description link in low resolution (#25064).
Jean-Philippe Lang [Tue, 6 Jun 2017 22:05:31 +0000 (22:05 +0000)]
Fix edit description link in low resolution (#25064).

Patch by Felix Gliesche.

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

7 years agoLink to issues assigned to user or his groups (#25212).
Jean-Philippe Lang [Tue, 6 Jun 2017 22:01:09 +0000 (22:01 +0000)]
Link to issues assigned to user or his groups (#25212).

Patch by Felix Schäfer.

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

7 years agoTests for Redmine::SyntaxHighlighting::CodeRay.retrieve_supported_languages (#26055).
Jean-Philippe Lang [Tue, 6 Jun 2017 21:56:56 +0000 (21:56 +0000)]
Tests for Redmine::SyntaxHighlighting::CodeRay.retrieve_supported_languages (#26055).

Patch by Mischa The Evil.

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

7 years agoUse stored ref. to array holding supported languages symbols via a constant (#26055).
Jean-Philippe Lang [Tue, 6 Jun 2017 21:55:57 +0000 (21:55 +0000)]
Use stored ref. to array holding supported languages symbols via a constant (#26055).

Patch by Mischa The Evil.

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

7 years agoPull-up retrieve_supported_languages private class method (#26055).
Jean-Philippe Lang [Tue, 6 Jun 2017 21:55:29 +0000 (21:55 +0000)]
Pull-up retrieve_supported_languages private class method (#26055).

Patch by Mischa The Evil.

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

7 years agoRemove internal CodeRay scanners (#26055).
Jean-Philippe Lang [Tue, 6 Jun 2017 21:54:55 +0000 (21:54 +0000)]
Remove internal CodeRay scanners (#26055).

Patch by Mischa The Evil.

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

7 years agoSet default assignee before validation (#26072).
Jean-Philippe Lang [Tue, 6 Jun 2017 21:11:37 +0000 (21:11 +0000)]
Set default assignee before validation (#26072).

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

7 years agoFixes typo in safe attributes declaration (#25724).
Jean-Philippe Lang [Tue, 6 Jun 2017 20:48:30 +0000 (20:48 +0000)]
Fixes typo in safe attributes declaration (#25724).

Patch by Jens Kraemer.

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

7 years agoremove trailing white space from test/functional/workflows_controller_test.rb
Toshi MARUYAMA [Tue, 6 Jun 2017 04:57:39 +0000 (04:57 +0000)]
remove trailing white space from test/functional/workflows_controller_test.rb

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

7 years agoGemfile: ping roadie version 3.2 to prevent decadency failure on CI server Ruby 2.1
Toshi MARUYAMA [Tue, 6 Jun 2017 03:41:42 +0000 (03:41 +0000)]
Gemfile: ping roadie version 3.2 to prevent decadency failure on CI server Ruby 2.1

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

7 years agoremove trailing white space from test/unit/project_nested_set_test.rb
Toshi MARUYAMA [Tue, 6 Jun 2017 02:12:24 +0000 (02:12 +0000)]
remove trailing white space from test/unit/project_nested_set_test.rb

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

7 years agoallow unicode whitespace after mail handler body delimiters (#17718)
Toshi MARUYAMA [Tue, 6 Jun 2017 01:34:52 +0000 (01:34 +0000)]
allow unicode whitespace after mail handler body delimiters (#17718)

Contributed by Holger Just and Marius BALTEANU.

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

7 years agoUsing #joins is needed here with Rails 5.
Jean-Philippe Lang [Sat, 3 Jun 2017 09:22:41 +0000 (09:22 +0000)]
Using #joins is needed here with Rails 5.

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

7 years agoDon't check that param is a Hash.
Jean-Philippe Lang [Sat, 3 Jun 2017 09:21:27 +0000 (09:21 +0000)]
Don't check that param is a Hash.

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

7 years agoDon't check that param is a Hash.
Jean-Philippe Lang [Sat, 3 Jun 2017 09:20:58 +0000 (09:20 +0000)]
Don't check that param is a Hash.

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

7 years agoPermit role_ids on update.
Jean-Philippe Lang [Sat, 3 Jun 2017 08:52:49 +0000 (08:52 +0000)]
Permit role_ids on update.

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

7 years agoMake sure we can call #values.
Jean-Philippe Lang [Sat, 3 Jun 2017 08:44:29 +0000 (08:44 +0000)]
Make sure we can call #values.

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

7 years agoUse strong params for CustomFieldEnumeration.
Jean-Philippe Lang [Sat, 3 Jun 2017 08:43:04 +0000 (08:43 +0000)]
Use strong params for CustomFieldEnumeration.

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

7 years agoPermit enumeration params.
Jean-Philippe Lang [Sat, 3 Jun 2017 08:36:39 +0000 (08:36 +0000)]
Permit enumeration params.

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

7 years agoDon't check that param is a Hash.
Jean-Philippe Lang [Sat, 3 Jun 2017 08:30:32 +0000 (08:30 +0000)]
Don't check that param is a Hash.

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

7 years agoPrevent clash with Rails 5.1 Mailer class.
Jean-Philippe Lang [Sat, 3 Jun 2017 08:20:20 +0000 (08:20 +0000)]
Prevent clash with Rails 5.1 Mailer class.

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

7 years agoMake sure that the journal is not created if issue is saved.
Jean-Philippe Lang [Sat, 3 Jun 2017 08:10:20 +0000 (08:10 +0000)]
Make sure that the journal is not created if issue is saved.

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

7 years agoAR uniq deprecated in Rails 5.
Jean-Philippe Lang [Sat, 3 Jun 2017 08:07:47 +0000 (08:07 +0000)]
AR uniq deprecated in Rails 5.

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

7 years agoUse regular instance methods instead of association extensions.
Jean-Philippe Lang [Sat, 3 Jun 2017 08:04:13 +0000 (08:04 +0000)]
Use regular instance methods instead of association extensions.

Rails 5.1 seems to mess things up in this particular case (role.workflow_rules.copy calls the extension declare in Tracker model).

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

7 years agoredirect_to :back deprecated in Rails 5.
Jean-Philippe Lang [Sat, 3 Jun 2017 07:51:48 +0000 (07:51 +0000)]
redirect_to :back deprecated in Rails 5.

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

7 years agoErrors#get is deprecated in Rails 5.
Jean-Philippe Lang [Thu, 1 Jun 2017 21:30:39 +0000 (21:30 +0000)]
Errors#get is deprecated in Rails 5.

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

7 years agoUse query parameters intead of params in CSV link.
Jean-Philippe Lang [Thu, 1 Jun 2017 21:28:12 +0000 (21:28 +0000)]
Use query parameters intead of params in CSV link.

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

7 years agoAdjust reposman log messages.
Jean-Philippe Lang [Thu, 1 Jun 2017 20:29:42 +0000 (20:29 +0000)]
Adjust reposman log messages.

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

7 years agoShow message before registering repository in Redmine.
Jean-Philippe Lang [Thu, 1 Jun 2017 20:14:49 +0000 (20:14 +0000)]
Show message before registering repository in Redmine.

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

7 years agoUse JSON instead of XML for reposman.rb.
Jean-Philippe Lang [Thu, 1 Jun 2017 20:09:08 +0000 (20:09 +0000)]
Use JSON instead of XML for reposman.rb.

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

7 years agoUse #safe_attributes= instead.
Jean-Philippe Lang [Thu, 1 Jun 2017 19:56:13 +0000 (19:56 +0000)]
Use #safe_attributes= instead.

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

7 years agoUse #skip_after_action instead of #skip_after_filter.
Jean-Philippe Lang [Thu, 1 Jun 2017 18:29:18 +0000 (18:29 +0000)]
Use #skip_after_action instead of #skip_after_filter.

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

7 years agoDon't call #head with a hash.
Jean-Philippe Lang [Thu, 1 Jun 2017 18:28:18 +0000 (18:28 +0000)]
Don't call #head with a hash.

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

7 years agoCreate tmp directory on test launch.
Jean-Philippe Lang [Thu, 1 Jun 2017 18:25:23 +0000 (18:25 +0000)]
Create tmp directory on test launch.

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

7 years agoUse Rails 5 syntax for integration tests.
Jean-Philippe Lang [Thu, 1 Jun 2017 18:17:27 +0000 (18:17 +0000)]
Use Rails 5 syntax for integration tests.

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

7 years agoUse Rails 5 syntax for functional tests.
Jean-Philippe Lang [Wed, 31 May 2017 17:32:34 +0000 (17:32 +0000)]
Use Rails 5 syntax for functional tests.

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

7 years agoremove trailing white-space from test/unit/mailer_test.rb
Toshi MARUYAMA [Tue, 30 May 2017 18:18:18 +0000 (18:18 +0000)]
remove trailing white-space from test/unit/mailer_test.rb

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

7 years agoMarkdown: Upgrade redcarpet gem to 3.4 (#25781)
Toshi MARUYAMA [Tue, 30 May 2017 17:06:57 +0000 (17:06 +0000)]
Markdown: Upgrade redcarpet gem to 3.4 (#25781)

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

7 years agoGemfile: pin test_after_commit version 0.4 (#25794)
Toshi MARUYAMA [Tue, 30 May 2017 14:00:54 +0000 (14:00 +0000)]
Gemfile: pin test_after_commit version 0.4 (#25794)

test_after_commit >= 0.5 requires Ruby >= 2.0.0

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

7 years agouse only one if with two conditions in issue show instead of two ifs (if in if) ...
Toshi MARUYAMA [Tue, 30 May 2017 12:04:53 +0000 (12:04 +0000)]
use only one if with two conditions in issue show instead of two ifs (if in if) (#25731)

Contributed by Marius BALTEANU.

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

7 years agofix wrong German translation of logging time error message (#24268)
Toshi MARUYAMA [Sat, 27 May 2017 16:28:14 +0000 (16:28 +0000)]
fix wrong German translation of logging time error message (#24268)

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

7 years agoremove trailing white-spaces from test/unit/issue_subtasking_test.rb
Toshi MARUYAMA [Sat, 27 May 2017 16:26:41 +0000 (16:26 +0000)]
remove trailing white-spaces from test/unit/issue_subtasking_test.rb

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

7 years agoChange french translation for indentation (#25687).
Jean-Philippe Lang [Sat, 27 May 2017 10:19:55 +0000 (10:19 +0000)]
Change french translation for indentation (#25687).

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

7 years agoShow the same trackers and statuses on time entry queries (#5385).
Jean-Philippe Lang [Sat, 27 May 2017 09:19:14 +0000 (09:19 +0000)]
Show the same trackers and statuses on time entry queries (#5385).

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

7 years agoStatuses of subprojects should be showed too (#5385).
Jean-Philippe Lang [Sat, 27 May 2017 09:13:35 +0000 (09:13 +0000)]
Statuses of subprojects should be showed too (#5385).

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

7 years agoShow statuses of project trackers only (#5385).
Jean-Philippe Lang [Sat, 27 May 2017 09:12:42 +0000 (09:12 +0000)]
Show statuses of project trackers only (#5385).

Patch by Marius BALTEANU.

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

7 years agoCusotom field label should not be associated to the first input (#25760).
Jean-Philippe Lang [Sat, 27 May 2017 08:49:08 +0000 (08:49 +0000)]
Cusotom field label should not be associated to the first input (#25760).

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

7 years agoSend journal notification after commit (#25794).
Jean-Philippe Lang [Sat, 27 May 2017 08:44:24 +0000 (08:44 +0000)]
Send journal notification after commit (#25794).

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

7 years agoRescue any EncodingError exceptions (#25861).
Jean-Philippe Lang [Sat, 27 May 2017 08:40:39 +0000 (08:40 +0000)]
Rescue any EncodingError exceptions (#25861).

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

7 years agoCheck tracker permissions when copying an issue (#25791).
Jean-Philippe Lang [Sat, 27 May 2017 08:34:41 +0000 (08:34 +0000)]
Check tracker permissions when copying an issue (#25791).

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

7 years agoHighlight language aliases are no more supported (#25634).
Jean-Philippe Lang [Sat, 27 May 2017 07:53:16 +0000 (07:53 +0000)]
Highlight language aliases are no more supported (#25634).

Patch by Go MAEDA.

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

7 years agoBetter wording for issue update conflict resolution in German by Felix Schäfer (...
Toshi MARUYAMA [Fri, 19 May 2017 16:06:33 +0000 (16:06 +0000)]
Better wording for issue update conflict resolution in German by Felix Schäfer (#25628)

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

7 years agoTraditional Chinese translation updated by ChunChang Lo (#25664)
Toshi MARUYAMA [Fri, 19 May 2017 15:00:31 +0000 (15:00 +0000)]
Traditional Chinese translation updated by ChunChang Lo (#25664)

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

7 years agoSend reminders about visible issues only (#25713).
Jean-Philippe Lang [Sat, 13 May 2017 09:38:05 +0000 (09:38 +0000)]
Send reminders about visible issues only (#25713).

Patch by Felix Schäfer.

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

7 years agoOptimize gantt charts for mobile screens (#25745).
Jean-Philippe Lang [Sat, 13 May 2017 09:35:32 +0000 (09:35 +0000)]
Optimize gantt charts for mobile screens (#25745).

Patch by Felix Gliesche.

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

7 years agoRender register page on all non-POST requests to account#register (#25653).
Jean-Philippe Lang [Sat, 13 May 2017 09:32:53 +0000 (09:32 +0000)]
Render register page on all non-POST requests to account#register (#25653).

Patch by Holger Just.

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

7 years agoOnly perform login action on explicit POST (#25653).
Jean-Philippe Lang [Sat, 13 May 2017 09:32:09 +0000 (09:32 +0000)]
Only perform login action on explicit POST (#25653).

Patch by Holger Just.

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

7 years agoUse mysql2 0.4.6 instead of 0.3 (#25829).
Jean-Philippe Lang [Sat, 13 May 2017 09:28:46 +0000 (09:28 +0000)]
Use mysql2 0.4.6 instead of 0.3 (#25829).

Patch by Pavel Rosický.

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

7 years agoShow no data message when searching only.
Jean-Philippe Lang [Sat, 13 May 2017 09:26:43 +0000 (09:26 +0000)]
Show no data message when searching only.

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

7 years agoPreserve jump param when searching for projects.
Jean-Philippe Lang [Sat, 13 May 2017 09:23:44 +0000 (09:23 +0000)]
Preserve jump param when searching for projects.

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

7 years agoMoves project quick search to a dedicated action.
Jean-Philippe Lang [Sat, 13 May 2017 09:20:29 +0000 (09:20 +0000)]
Moves project quick search to a dedicated action.

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

7 years agoremove trailing white spaces from test/unit/issue_test.rb
Toshi MARUYAMA [Wed, 10 May 2017 12:30:50 +0000 (12:30 +0000)]
remove trailing white spaces from test/unit/issue_test.rb

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

7 years agoGemfile: pin roadie-rails version 1.1 (#25807)
Toshi MARUYAMA [Wed, 10 May 2017 11:54:27 +0000 (11:54 +0000)]
Gemfile: pin roadie-rails version 1.1 (#25807)

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

7 years agoremove trailing white-space from app/models/time_entry_query.rb
Toshi MARUYAMA [Tue, 25 Apr 2017 17:44:08 +0000 (17:44 +0000)]
remove trailing white-space from app/models/time_entry_query.rb

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

7 years agoremove trailing white-space from app/models/user.rb
Toshi MARUYAMA [Tue, 25 Apr 2017 17:04:41 +0000 (17:04 +0000)]
remove trailing white-space from app/models/user.rb

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

7 years agoJapanese translation for field_attr_* changed by Go MAEDA (#25609)
Toshi MARUYAMA [Sun, 16 Apr 2017 14:45:46 +0000 (14:45 +0000)]
Japanese translation for field_attr_* changed by Go MAEDA (#25609)

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

7 years agoPreview when editing journal notes broken by r15621.
Jean-Philippe Lang [Thu, 13 Apr 2017 12:15:21 +0000 (12:15 +0000)]
Preview when editing journal notes broken by r15621.

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

7 years agoPrevent deadlocks by only locking the exact records we need to have locked (#25590).
Jean-Philippe Lang [Thu, 13 Apr 2017 12:10:03 +0000 (12:10 +0000)]
Prevent deadlocks by only locking the exact records we need to have locked (#25590).

Patch by Jens Kraemer.

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

7 years agoBulgarian translation updated by Ivan Cenov (#25573)
Toshi MARUYAMA [Thu, 13 Apr 2017 05:19:41 +0000 (05:19 +0000)]
Bulgarian translation updated by Ivan Cenov (#25573)

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

7 years agoFor 3 comments or more, show reply link at top of comments as well (#24089).
Jean-Philippe Lang [Sun, 9 Apr 2017 09:39:59 +0000 (09:39 +0000)]
For 3 comments or more, show reply link at top of comments as well (#24089).

Patch by Jan Schulz-Hofen.

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

7 years agoAdds setting_show_custom_fields_on_registration string to locales (#24089).
Jean-Philippe Lang [Sun, 9 Apr 2017 09:35:10 +0000 (09:35 +0000)]
Adds setting_show_custom_fields_on_registration string to locales (#24089).

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

7 years agoIntroduce setting to hide optional user custom fields on registration form (#24089).
Jean-Philippe Lang [Sun, 9 Apr 2017 09:34:24 +0000 (09:34 +0000)]
Introduce setting to hide optional user custom fields on registration form (#24089).

Patch by Jan Schulz-Hofen.

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

7 years agoUpdates for 3.3.3 release.
Jean-Philippe Lang [Sun, 9 Apr 2017 08:28:03 +0000 (08:28 +0000)]
Updates for 3.3.3 release.

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

7 years agoJapanese translation updated by Go MAEDA (#25557)
Toshi MARUYAMA [Sun, 9 Apr 2017 04:02:03 +0000 (04:02 +0000)]
Japanese translation updated by Go MAEDA (#25557)

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

7 years agogenerate i18n keys (#482)
Toshi MARUYAMA [Sat, 8 Apr 2017 16:42:49 +0000 (16:42 +0000)]
generate i18n keys (#482)

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

7 years agoTraditional Chinese translation updated by ChunChang Lo (#25556)
Toshi MARUYAMA [Sat, 8 Apr 2017 16:42:11 +0000 (16:42 +0000)]
Traditional Chinese translation updated by ChunChang Lo (#25556)

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

7 years agoAdds tests for default assignments (#482).
Jean-Philippe Lang [Sat, 8 Apr 2017 08:15:52 +0000 (08:15 +0000)]
Adds tests for default assignments (#482).

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

7 years agoOption to set a default assignee on each project (#482).
Jean-Philippe Lang [Sat, 8 Apr 2017 08:02:06 +0000 (08:02 +0000)]
Option to set a default assignee on each project (#482).

Patch by Felix Schäfer.

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

7 years agoUse rbpdf 1.19.2 (#22335, #24271).
Jean-Philippe Lang [Sat, 8 Apr 2017 07:33:25 +0000 (07:33 +0000)]
Use rbpdf 1.19.2 (#22335, #24271).

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

7 years agoGemfile: remove jruby definitions
Toshi MARUYAMA [Thu, 6 Apr 2017 22:10:27 +0000 (22:10 +0000)]
Gemfile: remove jruby definitions

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

7 years agoGemfile: pin sqlite3 1.3.12 on Windows Ruby 1.9.3
Toshi MARUYAMA [Thu, 6 Apr 2017 22:10:15 +0000 (22:10 +0000)]
Gemfile: pin sqlite3 1.3.12 on Windows Ruby 1.9.3

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

7 years agoGemfile: pin ffi 1.9.14 on Windows Ruby 1.9.3
Toshi MARUYAMA [Thu, 6 Apr 2017 21:45:20 +0000 (21:45 +0000)]
Gemfile: pin ffi 1.9.14 on Windows Ruby 1.9.3

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

7 years agoshow Windows code page on appveyor
Toshi MARUYAMA [Thu, 6 Apr 2017 21:45:09 +0000 (21:45 +0000)]
show Windows code page on appveyor

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

7 years agoFixed that watchers list is not updated when changing project on the new issue form...
Jean-Philippe Lang [Thu, 6 Apr 2017 19:57:00 +0000 (19:57 +0000)]
Fixed that watchers list is not updated when changing project on the new issue form (#17762).

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

7 years agoOption to copy watchers when copying issues (#10460).
Jean-Philippe Lang [Thu, 6 Apr 2017 17:34:45 +0000 (17:34 +0000)]
Option to copy watchers when copying issues (#10460).

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

7 years agoLet the context menu work on elements that are not tr.
Jean-Philippe Lang [Thu, 6 Apr 2017 17:17:54 +0000 (17:17 +0000)]
Let the context menu work on elements that are not tr.

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

7 years agoReverts to rbpdf 1.19.0 for now.
Jean-Philippe Lang [Thu, 6 Apr 2017 17:16:36 +0000 (17:16 +0000)]
Reverts to rbpdf 1.19.0 for now.

Using rbpdf-font 1.19.1

Encoding::UndefinedConversionError: "\x81" to UTF-8 in conversion from Windows-1
252 to UTF-8
An error occurred while installing rbpdf (1.19.1), and Bundler cannot continue.
Make sure that `gem install rbpdf -v '1.19.1'` succeeds before bundling.

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

7 years agoSet autocomplete to off on project quick search (#23310).
Jean-Philippe Lang [Thu, 6 Apr 2017 17:13:45 +0000 (17:13 +0000)]
Set autocomplete to off on project quick search (#23310).

Patch by Marius BALTEANU.

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

7 years agoFixed that related to "no open issues" filter shows all issues (#25478).
Jean-Philippe Lang [Thu, 6 Apr 2017 16:57:44 +0000 (16:57 +0000)]
Fixed that related to "no open issues" filter shows all issues (#25478).

Patch by Kevin Fischer.

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

7 years agoRename @noborder@ CSS class to @wiki-class-noborder@ in order to be accessible from...
Jean-Philippe Lang [Thu, 6 Apr 2017 16:43:48 +0000 (16:43 +0000)]
Rename @noborder@ CSS class to @wiki-class-noborder@ in order to be accessible from user-provided Textile markup (#25503).

Patch by Jan Schulz-Hofen.

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

7 years agoFilter arbitrary class names and ids in rendered HTML output (#25503).
Jean-Philippe Lang [Thu, 6 Apr 2017 16:41:52 +0000 (16:41 +0000)]
Filter arbitrary class names and ids in rendered HTML output (#25503).

* Disallow setting arbitrary classes and ids via Textile syntax
* Only allow valid/supported languages for syntax highlighted code blocks

Patch by Jan Schulz-Hofen.

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

7 years agoHelper methods to find out if a given language is supported (#25503).
Jean-Philippe Lang [Thu, 6 Apr 2017 16:37:18 +0000 (16:37 +0000)]
Helper methods to find out if a given language is supported (#25503).

Patch by Jan Schulz-Hofen.

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

7 years agoAdd kbd to ALLOWED_TAGS (#25503).
Jean-Philippe Lang [Thu, 6 Apr 2017 16:34:52 +0000 (16:34 +0000)]
Add kbd to ALLOWED_TAGS (#25503).

Patch by Jan Schulz-Hofen.

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

7 years agoRussian "setting_timespan_format" translation updated by Kirill Bezrukov (#25349)
Toshi MARUYAMA [Wed, 5 Apr 2017 17:07:08 +0000 (17:07 +0000)]
Russian "setting_timespan_format" translation updated by Kirill Bezrukov (#25349)

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

7 years agoBulgarian translation updated by Ivan Cenov (#25518)
Toshi MARUYAMA [Wed, 5 Apr 2017 16:50:37 +0000 (16:50 +0000)]
Bulgarian translation updated by Ivan Cenov (#25518)

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

7 years agoRussian translation for label_user_mail_option_only_(assigned|owner) changed by Ilya...
Toshi MARUYAMA [Wed, 5 Apr 2017 16:50:26 +0000 (16:50 +0000)]
Russian translation for label_user_mail_option_only_(assigned|owner) changed by Ilya Potapov (#25397, #24177)

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

7 years agoAdds a test for #25526.
Jean-Philippe Lang [Wed, 5 Apr 2017 16:10:16 +0000 (16:10 +0000)]
Adds a test for #25526.

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

7 years agoAlways set spent_hours instance variables to a Float in Issue instances (#25526).
Jean-Philippe Lang [Wed, 5 Apr 2017 16:09:58 +0000 (16:09 +0000)]
Always set spent_hours instance variables to a Float in Issue instances (#25526).

Patch by Holger Just.

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

7 years agoCode cleanup.
Jean-Philippe Lang [Wed, 5 Apr 2017 15:59:43 +0000 (15:59 +0000)]
Code cleanup.

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

7 years agoBulgarian translation updated by Ivan Cenov (#25518)
Toshi MARUYAMA [Wed, 5 Apr 2017 13:35:07 +0000 (13:35 +0000)]
Bulgarian translation updated by Ivan Cenov (#25518)

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