1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-20 23:41:12 +00:00

11548 Commits

Author SHA1 Message Date
Toshi MARUYAMA
e10b3fe305 add missing fixtures
git-svn-id: http://svn.redmine.org/redmine/trunk@13932 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-21 13:32:36 +00:00
Toshi MARUYAMA
585642d072 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
2015-01-21 12:04:24 +00:00
Toshi MARUYAMA
693badf5ff add missing fixture to TimeEntryReportsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@13930 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-21 11:51:10 +00:00
Toshi MARUYAMA
84abe25b57 add missing fixture to test/unit/journal_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@13929 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-21 11:47:39 +00:00
Toshi MARUYAMA
4dbdff1479 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
2015-01-21 11:47:28 +00:00
Toshi MARUYAMA
6097e247f4 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
2015-01-21 10:58:57 +00:00
Toshi MARUYAMA
64d65b6e27 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
2015-01-21 10:58:45 +00:00
Jean-Philippe Lang
cb8639a7b2 Don't change Setting.default_language in Mailer tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13925 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-21 08:40:44 +00:00
Jean-Philippe Lang
ad0937e446 Don't change Setting.default_language in tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13924 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-21 08:34:02 +00:00
Jean-Philippe Lang
6f661d40b3 Set :inverse_of option on journals association.
git-svn-id: http://svn.redmine.org/redmine/trunk@13923 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-21 08:27:46 +00:00
Jean-Philippe Lang
4730ef894f 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
2015-01-19 21:36:59 +00:00
Jean-Philippe Lang
0cde1fccbc 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
2015-01-19 21:23:11 +00:00
Jean-Philippe Lang
93ced61b2a 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
2015-01-19 21:00:42 +00:00
Jean-Philippe Lang
dd79e8e31f Makes RedCloth3#retrieve MUCH faster (#18883).
git-svn-id: http://svn.redmine.org/redmine/trunk@13919 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-19 20:46:08 +00:00
Jean-Philippe Lang
b7b1f64079 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
2015-01-19 20:38:48 +00:00
Toshi MARUYAMA
0bc87002d2 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
2015-01-19 04:50:29 +00:00
Toshi MARUYAMA
caa02e6537 add missing fixture
git-svn-id: http://svn.redmine.org/redmine/trunk@13916 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-19 04:41:49 +00:00
Toshi MARUYAMA
75b5ff5e75 pin order at RepositoryCvsTest#test_entries_rev3
git-svn-id: http://svn.redmine.org/redmine/trunk@13915 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-19 04:03:01 +00:00
Jean-Philippe Lang
e3ee940745 Set proper default language.
git-svn-id: http://svn.redmine.org/redmine/trunk@13914 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 23:14:48 +00:00
Jean-Philippe Lang
c686912de5 #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
2015-01-18 22:57:55 +00:00
Jean-Philippe Lang
c9dd7dbe15 Set proper locale.
git-svn-id: http://svn.redmine.org/redmine/trunk@13912 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 20:43:04 +00:00
Toshi MARUYAMA
eacd619f5f add missing fixtures
git-svn-id: http://svn.redmine.org/redmine/trunk@13911 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 18:11:19 +00:00
Toshi MARUYAMA
98683d0097 fix tests (#13120)
git-svn-id: http://svn.redmine.org/redmine/trunk@13910 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 18:00:38 +00:00
Toshi MARUYAMA
d1aba7984c 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
2015-01-18 17:33:09 +00:00
Toshi MARUYAMA
224893f2fb Traditional Chinese translation updated by ChunChang Lo (#18876)
git-svn-id: http://svn.redmine.org/redmine/trunk@13908 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 17:32:49 +00:00
Toshi MARUYAMA
403fb37d1c fix assertion order at RepositoryCvsTest#test_entries_rev3
git-svn-id: http://svn.redmine.org/redmine/trunk@13907 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 16:40:59 +00:00
Toshi MARUYAMA
ae2dee14ef add tests to RepositoryCvsTest#test_entries_rev3
git-svn-id: http://svn.redmine.org/redmine/trunk@13906 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 16:40:50 +00:00
Toshi MARUYAMA
8327f650c3 fix code indent at app/models/repository/cvs.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@13905 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 16:40:42 +00:00
Toshi MARUYAMA
ad9fd2b66b 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
2015-01-18 16:40:34 +00:00
Toshi MARUYAMA
2cc3ba063f revert r13901
git-svn-id: http://svn.redmine.org/redmine/trunk@13903 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 16:27:31 +00:00
Jean-Philippe Lang
9915962356 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
2015-01-18 16:16:23 +00:00
Toshi MARUYAMA
6cc1f2be54 workaround unit cvs test failure on sqlite3
git-svn-id: http://svn.redmine.org/redmine/trunk@13901 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 16:13:05 +00:00
Toshi MARUYAMA
e4a3fc50b2 svn propset svn:executable bin/ files
git-svn-id: http://svn.redmine.org/redmine/trunk@13900 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 16:04:48 +00:00
Toshi MARUYAMA
3a1e7106f4 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
2015-01-18 14:05:35 +00:00
Toshi MARUYAMA
4dfc0f04ad add missing fixture to Redmine::Hook::ManagerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@13898 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 14:05:27 +00:00
Jean-Philippe Lang
93d270388b Prevents calling #truncate on nil.
git-svn-id: http://svn.redmine.org/redmine/trunk@13897 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-18 11:45:08 +00:00
Jean-Philippe Lang
0bcd5be0a5 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
2015-01-18 11:43:58 +00:00
Jean-Philippe Lang
886b9c14d0 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
2015-01-18 09:07:42 +00:00
Jean-Philippe Lang
5190fef9d6 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
2015-01-18 09:04:21 +00:00
Toshi MARUYAMA
73762a7d62 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
2015-01-18 05:56:17 +00:00
Jean-Philippe Lang
d85f73a30d Upgrade to Rails 4.2.0 (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13892 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 17:02:55 +00:00
Jean-Philippe Lang
3ea8b70697 Missing fixtures.
git-svn-id: http://svn.redmine.org/redmine/trunk@13891 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:55:37 +00:00
Jean-Philippe Lang
471df16f9c Missing fixtures.
git-svn-id: http://svn.redmine.org/redmine/trunk@13890 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:55:17 +00:00
Jean-Philippe Lang
193bb9362d Missing fixtures.
git-svn-id: http://svn.redmine.org/redmine/trunk@13889 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:54:38 +00:00
Jean-Philippe Lang
a3a8fee8ad 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
2015-01-17 14:51:29 +00:00
Jean-Philippe Lang
14473f45a1 Adds strings to locales (#4244).
git-svn-id: http://svn.redmine.org/redmine/trunk@13887 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:17:58 +00:00
Jean-Philippe Lang
e3618bdbec Add support for multiple email addresses per user (#4244).
git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-17 14:14:12 +00:00
Toshi MARUYAMA
7f29c2fd88 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
2015-01-16 04:57:10 +00:00
Toshi MARUYAMA
e7346625f0 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
2015-01-15 16:31:01 +00:00
Toshi MARUYAMA
d31ecd9ec2 Japanese translation updated by Go MAEDA (#18844)
git-svn-id: http://svn.redmine.org/redmine/trunk@13882 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-01-15 13:48:58 +00:00