]> source.dussan.org Git - redmine.git/log
redmine.git
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

9 years agoMissing fixtures.
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

9 years agoMissing fixtures.
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

9 years agoSend password reset email to the email used in lost password form (#4244).
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

9 years agoAdds strings to locales (#4244).
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

9 years agoAdd support for multiple email addresses per user (#4244).
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

9 years agoIssuesControllerTest: make encoding tests independent of ordering (#18856)
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

9 years agofix UsersControllerTest failure randomly
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

9 years agoJapanese translation updated by Go MAEDA (#18844)
Toshi MARUYAMA [Thu, 15 Jan 2015 13:48:58 +0000 (13:48 +0000)]
Japanese translation updated by Go MAEDA (#18844)

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

9 years agoadd missing fixture to SearchControllerTest
Toshi MARUYAMA [Thu, 15 Jan 2015 13:38:44 +0000 (13:38 +0000)]
add missing fixture to SearchControllerTest

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Patch by Ondřej Ezr.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Patch by Jérôme BATAILLE.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

On Rails 4.1.8, pg 0.18.0 cause error.

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

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

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

Ruby 2.2 shows warning.

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

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

Ruby 2.2 shows warning.

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

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

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

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

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

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

1.3.13 breaks test/functional/issues_controller_test.rb.

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

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

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

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

Patch by Matt Wiseley.

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

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

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

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

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

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

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

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

Contributed by Go MAEDA.

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

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

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

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

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

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

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

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

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

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

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