]> source.dussan.org Git - redmine.git/log
redmine.git
10 years agoClear @assignable_users on reload.
Jean-Philippe Lang [Sat, 25 Oct 2014 11:14:57 +0000 (11:14 +0000)]
Clear @assignable_users on reload.

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

10 years agoMakes Project#assignable_users return a scope that prevents 2*n queries.
Jean-Philippe Lang [Sat, 25 Oct 2014 11:14:16 +0000 (11:14 +0000)]
Makes Project#assignable_users return a scope that prevents 2*n queries.

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

10 years agoCode cleanup.
Jean-Philippe Lang [Sat, 25 Oct 2014 09:35:17 +0000 (09:35 +0000)]
Code cleanup.

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

10 years agoGemfile: update rbpdf to version 1.18.2 (#18176)
Toshi MARUYAMA [Sat, 25 Oct 2014 07:09:20 +0000 (07:09 +0000)]
Gemfile: update rbpdf to version 1.18.2 (#18176)

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

10 years agoCode cleanup, use safer #closed?
Jean-Philippe Lang [Fri, 24 Oct 2014 21:40:26 +0000 (21:40 +0000)]
Code cleanup, use safer #closed?

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

10 years agoRestores commits reverted when rails-4.1 branch was merged (#18174).
Jean-Philippe Lang [Fri, 24 Oct 2014 18:41:35 +0000 (18:41 +0000)]
Restores commits reverted when rails-4.1 branch was merged (#18174).

Patch by Mischa The Evil.

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

10 years agoadd missing fixtures to CalendarsControllerTest
Toshi MARUYAMA [Fri, 24 Oct 2014 04:13:17 +0000 (04:13 +0000)]
add missing fixtures to CalendarsControllerTest

Tests fail randomly.

<pre>
  1) Error:
CalendarsControllerTest#test_cross_project_calendar:
ActionView::Template::Error: undefined method `name' for nil:NilClass
    app/helpers/issues_helper.rb:57:in `render_issue_tooltip'
    app/views/common/_calendar.html.erb:17:in `block in _app_views_common__calendar_html_erb__4084073314711523042_57686480'
    app/views/common/_calendar.html.erb:12:in `each'
    app/views/common/_calendar.html.erb:12:in `_app_views_common__calendar_html_erb__4084073314711523042_57686480'
    app/views/calendars/show.html.erb:30:in `_app_views_calendars_show_html_erb___1639405444546230501_53808060'
    test/functional/calendars_controller_test.rb:44:in `test_cross_project_calendar'
</pre>

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

10 years agofix ja.yml and zh-TW.yml merge mistake of r13482 (#14534)
Toshi MARUYAMA [Fri, 24 Oct 2014 02:48:29 +0000 (02:48 +0000)]
fix ja.yml and zh-TW.yml merge mistake of r13482 (#14534)

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

10 years agoremove unneeded "references" of joins
Toshi MARUYAMA [Fri, 24 Oct 2014 02:18:45 +0000 (02:18 +0000)]
remove unneeded "references" of joins

"references" is needed for includes, but not needed for joins.

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

10 years agouse includes instead of joins at Issue#visible
Toshi MARUYAMA [Fri, 24 Oct 2014 02:18:28 +0000 (02:18 +0000)]
use includes instead of joins at Issue#visible

"rake test" passes all test, but following test fails on command line.

<pre>
$ ruby test/unit/issue_test.rb -n test_visible_scope_for_member_with_groups_should_return_assigned_issues

  1) Failure:
IssueTest#test_visible_scope_for_member_with_groups_should_return_assigned_issues [test/unit/issue_test.rb:321]:
Failed assertion, no message given.
</pre>

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

10 years agoAdds translation strings (#11702).
Jean-Philippe Lang [Thu, 23 Oct 2014 21:47:13 +0000 (21:47 +0000)]
Adds translation strings (#11702).

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

10 years agoAdds a single controller for users and groups memberships and support for adding...
Jean-Philippe Lang [Thu, 23 Oct 2014 21:46:40 +0000 (21:46 +0000)]
Adds a single controller for users and groups memberships and support for adding multiple projects at once (#11702).

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

10 years agoCode cleanup: use #project_condition.
Jean-Philippe Lang [Thu, 23 Oct 2014 17:23:02 +0000 (17:23 +0000)]
Code cleanup: use #project_condition.

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

10 years agoUse regular AR query instead of raw SQL.
Jean-Philippe Lang [Thu, 23 Oct 2014 17:22:32 +0000 (17:22 +0000)]
Use regular AR query instead of raw SQL.

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

10 years agoadd missing fixtures to test/unit/helpers/routes_helper_test.rb
Toshi MARUYAMA [Thu, 23 Oct 2014 04:55:37 +0000 (04:55 +0000)]
add missing fixtures to test/unit/helpers/routes_helper_test.rb

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

10 years agoSpanish wiki_syntax.html translation updated by Jesus Gutierrez de la Vega (#18156)
Toshi MARUYAMA [Thu, 23 Oct 2014 01:48:20 +0000 (01:48 +0000)]
Spanish wiki_syntax.html translation updated by Jesus Gutierrez de la Vega (#18156)

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

10 years agoreflect r13487 and r13488 svn:ignore changes to .hgignore and .gitignore (#8817)
Toshi MARUYAMA [Wed, 22 Oct 2014 23:56:12 +0000 (23:56 +0000)]
reflect r13487 and r13488 svn:ignore changes to .hgignore and .gitignore (#8817)

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

10 years agoReplaced Board#topics with a regular method.
Jean-Philippe Lang [Wed, 22 Oct 2014 19:40:55 +0000 (19:40 +0000)]
Replaced Board#topics with a regular method.

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

10 years agoFixed an SQL error with SQLServer (#14534).
Jean-Philippe Lang [Wed, 22 Oct 2014 19:34:00 +0000 (19:34 +0000)]
Fixed an SQL error with SQLServer (#14534).

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

10 years agoAdds path to plugin_assets directory in admin/info (#8817).
Jean-Philippe Lang [Wed, 22 Oct 2014 19:10:12 +0000 (19:10 +0000)]
Adds path to plugin_assets directory in admin/info (#8817).

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

10 years agoSet svn:ignore to * for plugin_assets subdirectories (#8817).
Jean-Philippe Lang [Wed, 22 Oct 2014 18:56:51 +0000 (18:56 +0000)]
Set svn:ignore to * for plugin_assets subdirectories (#8817).

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

10 years agoRemoved svn:ignore for public/plugin_assets directory (#8817).
Jean-Philippe Lang [Wed, 22 Oct 2014 18:55:23 +0000 (18:55 +0000)]
Removed svn:ignore for public/plugin_assets directory (#8817).

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

10 years agoAdd public/plugin_assets directory (#8817).
Jean-Philippe Lang [Wed, 22 Oct 2014 18:54:32 +0000 (18:54 +0000)]
Add public/plugin_assets directory (#8817).

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

10 years agoCode cleanup, use array instead of handcrafted update.
Jean-Philippe Lang [Wed, 22 Oct 2014 18:51:00 +0000 (18:51 +0000)]
Code cleanup, use array instead of handcrafted update.

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

10 years agoRemoved unneeded :foreign_key option on belongs_to associations.
Jean-Philippe Lang [Wed, 22 Oct 2014 18:41:03 +0000 (18:41 +0000)]
Removed unneeded :foreign_key option on belongs_to associations.

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

10 years agoRemoved deprecated stuff for Redmine 3.0.
Jean-Philippe Lang [Wed, 22 Oct 2014 18:28:33 +0000 (18:28 +0000)]
Removed deprecated stuff for Redmine 3.0.

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

10 years agoMerged rails-4.1 branch (#14534).
Jean-Philippe Lang [Wed, 22 Oct 2014 17:37:16 +0000 (17:37 +0000)]
Merged rails-4.1 branch (#14534).

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

10 years agoGerman translation updated by Gundolf Dampf (#18157)
Toshi MARUYAMA [Wed, 22 Oct 2014 08:24:22 +0000 (08:24 +0000)]
German translation updated by Gundolf Dampf (#18157)

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

10 years agoSpanish translation updated by Jesus Gutierrez de la Vega (#18156)
Toshi MARUYAMA [Wed, 22 Oct 2014 07:47:13 +0000 (07:47 +0000)]
Spanish translation updated by Jesus Gutierrez de la Vega (#18156)

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

10 years agoAdds a Cancel button on issue edit view (#18051).
Jean-Philippe Lang [Tue, 21 Oct 2014 20:53:07 +0000 (20:53 +0000)]
Adds a Cancel button on issue edit view (#18051).

Patch by Marcin Świątkiewicz.

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

10 years agoUpdates for 2.6.0 release.
Jean-Philippe Lang [Tue, 21 Oct 2014 18:58:59 +0000 (18:58 +0000)]
Updates for 2.6.0 release.

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

10 years agoFixed test failure with MySQL introduced by r13467.
Jean-Philippe Lang [Tue, 21 Oct 2014 18:44:33 +0000 (18:44 +0000)]
Fixed test failure with MySQL introduced by r13467.

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

10 years agoFixed test failure with SQLServer introduced by r13461.
Jean-Philippe Lang [Tue, 21 Oct 2014 17:47:18 +0000 (17:47 +0000)]
Fixed test failure with SQLServer introduced by r13461.

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

10 years agoFixed tests broken by r13461.
Jean-Philippe Lang [Mon, 20 Oct 2014 21:47:43 +0000 (21:47 +0000)]
Fixed tests broken by r13461.

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

10 years agoFixed: German translation on "delete my account" page showing a "\n" (#18144).
Jean-Philippe Lang [Mon, 20 Oct 2014 21:22:42 +0000 (21:22 +0000)]
Fixed: German translation on "delete my account" page showing a "\n" (#18144).

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

10 years agoCode cleanup, removed raw SQL queries.
Jean-Philippe Lang [Mon, 20 Oct 2014 19:16:09 +0000 (19:16 +0000)]
Code cleanup, removed raw SQL queries.

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

10 years agopdf: define "general_pdf_fontname" at i18n yaml for multilingual environment (#13781)
Toshi MARUYAMA [Mon, 20 Oct 2014 04:15:11 +0000 (04:15 +0000)]
pdf: define "general_pdf_fontname" at i18n yaml for multilingual environment (#13781)

Contributed by Jun NAITOH.

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

10 years agouse deep_dup to prevent losing mail receiving options (#14491)
Toshi MARUYAMA [Mon, 20 Oct 2014 04:04:38 +0000 (04:04 +0000)]
use deep_dup to prevent losing mail receiving options (#14491)

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

10 years agoUse relative URL for thumbnails according to :only_path option (#18119).
Jean-Philippe Lang [Sat, 18 Oct 2014 10:14:17 +0000 (10:14 +0000)]
Use relative URL for thumbnails according to :only_path option (#18119).

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

10 years agoIgnore locales without :general_lang_name key (#18110).
Jean-Philippe Lang [Sat, 18 Oct 2014 09:07:51 +0000 (09:07 +0000)]
Ignore locales without :general_lang_name key (#18110).

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

10 years agoAbility to render multiple partials with view hook (#17763).
Jean-Philippe Lang [Sat, 18 Oct 2014 08:09:31 +0000 (08:09 +0000)]
Ability to render multiple partials with view hook (#17763).

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

10 years agoJapanese translation updated by Go MAEDA (#18069)
Toshi MARUYAMA [Sun, 12 Oct 2014 13:50:50 +0000 (13:50 +0000)]
Japanese translation updated by Go MAEDA (#18069)

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

10 years agoSet version to 2.6.0.
Jean-Philippe Lang [Sun, 12 Oct 2014 13:02:03 +0000 (13:02 +0000)]
Set version to 2.6.0.

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

10 years agoMailHandler: Don't use String#respond_to?(:force_encoding) (#18047)
Toshi MARUYAMA [Wed, 8 Oct 2014 14:59:21 +0000 (14:59 +0000)]
MailHandler: Don't use String#respond_to?(:force_encoding) (#18047)

Contributed by Felix Schäfer.

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

10 years agoremove unneeded instance variable assignment from ProjectNestedSetTest
Toshi MARUYAMA [Wed, 8 Oct 2014 14:20:34 +0000 (14:20 +0000)]
remove unneeded instance variable assignment from ProjectNestedSetTest

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

10 years agoReverts change in r13428, project can't be found by identifier (#17959).
Jean-Philippe Lang [Sun, 5 Oct 2014 13:24:24 +0000 (13:24 +0000)]
Reverts change in r13428, project can't be found by identifier (#17959).

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

10 years agoFixed that preview doesn't show notes when issue project is changed (#17959).
Jean-Philippe Lang [Sun, 5 Oct 2014 13:18:55 +0000 (13:18 +0000)]
Fixed that preview doesn't show notes when issue project is changed (#17959).

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

10 years agoDon't link multiple changesets from the same commit multiple times (#17931).
Jean-Philippe Lang [Sun, 5 Oct 2014 12:10:33 +0000 (12:10 +0000)]
Don't link multiple changesets from the same commit multiple times (#17931).

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

10 years agoAdds a test for adding a group membership with the REST API (#17904).
Jean-Philippe Lang [Sat, 4 Oct 2014 09:46:50 +0000 (09:46 +0000)]
Adds a test for adding a group membership with the REST API (#17904).

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

10 years agoAdds css classes to get sort order on the issue list (#17993).
Jean-Philippe Lang [Sat, 4 Oct 2014 09:36:35 +0000 (09:36 +0000)]
Adds css classes to get sort order on the issue list (#17993).

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

10 years agoRemoves routes for time entries nested under project/issues.
Jean-Philippe Lang [Sat, 4 Oct 2014 09:14:17 +0000 (09:14 +0000)]
Removes routes for time entries nested under project/issues.

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

10 years agoAdds a link to /time_entries/new from My Page Spent Time block (#17955).
Jean-Philippe Lang [Sat, 4 Oct 2014 07:26:48 +0000 (07:26 +0000)]
Adds a link to /time_entries/new from My Page Spent Time block (#17955).

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

10 years agoLet the new time_entry form be submitted without project (#17954).
Jean-Philippe Lang [Sat, 4 Oct 2014 07:23:14 +0000 (07:23 +0000)]
Let the new time_entry form be submitted without project (#17954).

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

10 years agoTraditional Chinese translation updated by ChunChang Lo (#18002)
Toshi MARUYAMA [Wed, 1 Oct 2014 07:22:38 +0000 (07:22 +0000)]
Traditional Chinese translation updated by ChunChang Lo (#18002)

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

10 years agoFixed test failure with ruby1.8.7 and postgresql (#17976).
Jean-Philippe Lang [Tue, 30 Sep 2014 20:41:15 +0000 (20:41 +0000)]
Fixed test failure with ruby1.8.7 and postgresql (#17976).

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

10 years agoBulgarian translation updated by Ivan Cenov (#17992)
Toshi MARUYAMA [Mon, 29 Sep 2014 11:15:29 +0000 (11:15 +0000)]
Bulgarian translation updated by Ivan Cenov (#17992)

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

10 years agoAdds locales strings (#17976).
Jean-Philippe Lang [Sun, 28 Sep 2014 14:51:42 +0000 (14:51 +0000)]
Adds locales strings (#17976).

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

10 years agoAdds buit-in groups to give specific permissions to anonymous and non members users...
Jean-Philippe Lang [Sun, 28 Sep 2014 14:51:08 +0000 (14:51 +0000)]
Adds buit-in groups to give specific permissions to anonymous and non members users per project (#17976).

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

10 years agoimport jQuery Datepicker i18n files version 1.11.1
Toshi MARUYAMA [Sat, 27 Sep 2014 05:22:10 +0000 (05:22 +0000)]
import jQuery Datepicker i18n files version 1.11.1

https://github.com/jquery/jquery-ui/commit/874945e66d6684e7ef7013e1bc2723b485ed6178

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

10 years agorename jQuery Datepicker i18n file name
Toshi MARUYAMA [Sat, 27 Sep 2014 05:14:53 +0000 (05:14 +0000)]
rename jQuery Datepicker i18n file name

jquery-ui renamed these files.
https://github.com/jquery/jquery-ui/commit/21154cfa2e02ef1814a6aff68b14553bdad165cb

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

10 years agoIgnore email keywords after truncation line (#8758).
Jean-Philippe Lang [Sat, 20 Sep 2014 07:51:37 +0000 (07:51 +0000)]
Ignore email keywords after truncation line (#8758).

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

10 years agoExpire other sessions on password change (#17796).
Jean-Baptiste Barth [Tue, 16 Sep 2014 21:38:54 +0000 (21:38 +0000)]
Expire other sessions on password change (#17796).

Contributed by Jan Schulz-Hofen.

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

10 years agoAdd a constraint on "shoulda-matchers" version (#17828).
Jean-Baptiste Barth [Tue, 16 Sep 2014 21:17:29 +0000 (21:17 +0000)]
Add a constraint on "shoulda-matchers" version (#17828).

This helps bundler find its dependencies in case shoulda-matchers v1.4.2 is
already installed. In such a case bundler breaks while it shouldn't.

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

10 years agoremove trailing white-space from app/models/issue_custom_field.rb
Toshi MARUYAMA [Tue, 16 Sep 2014 02:54:12 +0000 (02:54 +0000)]
remove trailing white-space from app/models/issue_custom_field.rb

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

10 years agoGemfile: update rbpdf version to 1.18.1 (#17570)
Toshi MARUYAMA [Tue, 16 Sep 2014 02:18:48 +0000 (02:18 +0000)]
Gemfile: update rbpdf version to 1.18.1 (#17570)

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

10 years agoBackport r13313 from rails-4.1 to trunk.
Toshi MARUYAMA [Sun, 14 Sep 2014 14:17:52 +0000 (14:17 +0000)]
Backport r13313 from rails-4.1 to trunk.

Upgrade to JQuery 1.11.1

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

10 years agoBackport r13315 from rails-4.1 to trunk.
Toshi MARUYAMA [Sun, 14 Sep 2014 14:16:56 +0000 (14:16 +0000)]
Backport r13315 from rails-4.1 to trunk.

Use .on() instead of .live().

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

10 years agostricter check of uploading attachments (#17581)
Toshi MARUYAMA [Sun, 14 Sep 2014 13:44:24 +0000 (13:44 +0000)]
stricter check of uploading attachments (#17581)

Contributed by fred bregar.

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

10 years agoCode cleanup (#17717).
Jean-Philippe Lang [Sun, 14 Sep 2014 11:38:52 +0000 (11:38 +0000)]
Code cleanup (#17717).

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

10 years agoLowering configuration.example.yml confusion (#17492)
Jean-Philippe Lang [Sun, 14 Sep 2014 11:32:10 +0000 (11:32 +0000)]
Lowering configuration.example.yml confusion (#17492)

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

10 years agoLong strings such as URL break out of box (#17322).
Jean-Philippe Lang [Sun, 14 Sep 2014 10:47:24 +0000 (10:47 +0000)]
Long strings such as URL break out of box (#17322).

Patch by Go MAEDA.

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

10 years agoParent issue autocomplete does not follow to the "Allow cross-project subtasks" setti...
Jean-Philippe Lang [Sun, 14 Sep 2014 10:42:31 +0000 (10:42 +0000)]
Parent issue autocomplete does not follow to the "Allow cross-project subtasks" setting (#14281).

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

10 years agoLong hyperlinks inserted in task description breaks right frame boundary (#12580).
Jean-Philippe Lang [Sun, 14 Sep 2014 09:49:02 +0000 (09:49 +0000)]
Long hyperlinks inserted in task description breaks right frame boundary (#12580).

Patch by Go MAEDA.

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

10 years agoFixed: Issues counters in roadmap only link to issues in the same project (#9660).
Jean-Philippe Lang [Sun, 14 Sep 2014 09:41:39 +0000 (09:41 +0000)]
Fixed: Issues counters in roadmap only link to issues in the same project (#9660).

Contributed by Sridhar Dhanapalan.

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

10 years agoInvalidate security tokens on password or email changes (#17717).
Jean-Baptiste Barth [Sun, 14 Sep 2014 08:22:25 +0000 (08:22 +0000)]
Invalidate security tokens on password or email changes (#17717).

Contributed by Jan Schulz-Hofen.

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

10 years agoIssue API: include is_private attribute in xml/json output (#10914).
Jean-Philippe Lang [Sat, 13 Sep 2014 11:22:49 +0000 (11:22 +0000)]
Issue API: include is_private attribute in xml/json output (#10914).

Patch by Shivam Daryanani.

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

10 years agoAdds a test for default context of controller hooks (#16930).
Jean-Philippe Lang [Sat, 13 Sep 2014 11:09:01 +0000 (11:09 +0000)]
Adds a test for default context of controller hooks (#16930).

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

10 years agoMoves project sidebar content to a partial (#17380).
Jean-Philippe Lang [Sat, 13 Sep 2014 10:53:13 +0000 (10:53 +0000)]
Moves project sidebar content to a partial (#17380).

Patch by Jérôme BATAILLE.

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

10 years agoMakes sys#fetch_changesets accept POST requests (#17077).
Jean-Philippe Lang [Sat, 13 Sep 2014 10:49:31 +0000 (10:49 +0000)]
Makes sys#fetch_changesets accept POST requests (#17077).

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

10 years agoFixed: The error flash message on session expiration is not in the language of the...
Jean-Philippe Lang [Sat, 13 Sep 2014 10:35:46 +0000 (10:35 +0000)]
Fixed: The error flash message on session expiration is not in the language of the user but of the user of the previous request (#17023).

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

10 years agoFixed: Files assigned to a version can not be deleted if Issue Tracking module is...
Jean-Philippe Lang [Sat, 13 Sep 2014 10:17:15 +0000 (10:17 +0000)]
Fixed: Files assigned to a version can not be deleted if Issue Tracking module is disabled (#17163).

Patch by Michael Esemplare.

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

10 years agoadd missing fixtures to TimeEntryActivityTest
Toshi MARUYAMA [Fri, 12 Sep 2014 13:40:07 +0000 (13:40 +0000)]
add missing fixtures to TimeEntryActivityTest

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

10 years agoadd missing fixtures to Redmine::VersionFieldFormatTest
Toshi MARUYAMA [Fri, 12 Sep 2014 13:39:58 +0000 (13:39 +0000)]
add missing fixtures to Redmine::VersionFieldFormatTest

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

10 years agoPortuguese translation updated by Rui Rebelo (#17853)
Toshi MARUYAMA [Fri, 12 Sep 2014 10:38:24 +0000 (10:38 +0000)]
Portuguese translation updated by Rui Rebelo (#17853)

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

10 years agoadd missing fixtures to TimeEntryQueryTest
Toshi MARUYAMA [Fri, 12 Sep 2014 07:37:45 +0000 (07:37 +0000)]
add missing fixtures to TimeEntryQueryTest

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

10 years agoadd missing fixtures to Redmine::UserFieldFormatTest
Toshi MARUYAMA [Fri, 12 Sep 2014 04:03:01 +0000 (04:03 +0000)]
add missing fixtures to Redmine::UserFieldFormatTest

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

10 years agoInclude new standard macros in wiki syntax detailed help pages (#17847).
Jean-Baptiste Barth [Thu, 11 Sep 2014 21:25:37 +0000 (21:25 +0000)]
Include new standard macros in wiki syntax detailed help pages (#17847).

Contributed by Felix Schäfer.

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

10 years agoadd missing fixtures to NewsControllerTest
Toshi MARUYAMA [Thu, 11 Sep 2014 17:19:42 +0000 (17:19 +0000)]
add missing fixtures to NewsControllerTest

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

10 years agoadd missing fixtures to CustomFieldTest
Toshi MARUYAMA [Thu, 11 Sep 2014 17:19:33 +0000 (17:19 +0000)]
add missing fixtures to CustomFieldTest

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

10 years agopdf: fix r13368 test name (#17826)
Toshi MARUYAMA [Thu, 11 Sep 2014 14:14:11 +0000 (14:14 +0000)]
pdf: fix r13368 test name (#17826)

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

10 years agopdf: add test to export issue pdf with UTF-8 U+FFFD (#17826)
Toshi MARUYAMA [Thu, 11 Sep 2014 13:46:38 +0000 (13:46 +0000)]
pdf: add test to export issue pdf with UTF-8 U+FFFD (#17826)

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

10 years agoMark private notes more clearly (#16240).
Jean-Baptiste Barth [Tue, 9 Sep 2014 03:53:25 +0000 (03:53 +0000)]
Mark private notes more clearly (#16240).

Contributed by Jan Schulz-Hofen.

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

10 years agoUpdate yard rake task for Redmine 2.x (#14796).
Jean-Baptiste Barth [Sun, 7 Sep 2014 03:11:35 +0000 (03:11 +0000)]
Update yard rake task for Redmine 2.x (#14796).

Contributed by Mischa The Evil.

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

10 years agoMake 2nd parameter optional in User#allowed_to_globally? for consistency (#6498).
Jean-Baptiste Barth [Sat, 6 Sep 2014 03:39:52 +0000 (03:39 +0000)]
Make 2nd parameter optional in User#allowed_to_globally? for consistency (#6498).

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

10 years agoInclude enabled modules in projects API (#17602).
Jean-Baptiste Barth [Sat, 6 Sep 2014 03:17:51 +0000 (03:17 +0000)]
Include enabled modules in projects API (#17602).

Contributed by Jan Schulz-Hofen <jan@plan.io>

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

10 years agoFix syntax for ruby 1.8.7 (#13487).
Jean-Baptiste Barth [Sun, 31 Aug 2014 17:36:06 +0000 (17:36 +0000)]
Fix syntax for ruby 1.8.7 (#13487).

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

10 years agoOptimize committers/users map retrieval for statistic graphs (#13487).
Jean-Baptiste Barth [Sun, 31 Aug 2014 17:23:48 +0000 (17:23 +0000)]
Optimize committers/users map retrieval for statistic graphs (#13487).

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

10 years agoremove general_pdf_encoding from locale yamls (#17570)
Toshi MARUYAMA [Thu, 28 Aug 2014 10:24:30 +0000 (10:24 +0000)]
remove general_pdf_encoding from locale yamls (#17570)

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

10 years agoremove general_pdf_encoding from lib/redmine/export/pdf.rb (#17570)
Toshi MARUYAMA [Thu, 28 Aug 2014 10:23:54 +0000 (10:23 +0000)]
remove general_pdf_encoding from lib/redmine/export/pdf.rb (#17570)

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

10 years agouse rbpdf gem instead of bundled rfpdf (#17570)
Toshi MARUYAMA [Thu, 28 Aug 2014 10:23:46 +0000 (10:23 +0000)]
use rbpdf gem instead of bundled rfpdf (#17570)

Contributed by Jun NAITOH.

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