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

11213 Commits

Author SHA1 Message Date
Toshi MARUYAMA
ebda9caa87 add missing fixture to test/unit/project_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@13548 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-03 07:19:47 +00:00
Toshi MARUYAMA
08f1056e24 Japanese translation changed (fix terms mismatch "default") by Go MAEDA (#18261)
git-svn-id: http://svn.redmine.org/redmine/trunk@13547 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-03 00:45:13 +00:00
Toshi MARUYAMA
7302201493 Japanese translation updated by Go MAEDA (#18260)
git-svn-id: http://svn.redmine.org/redmine/trunk@13546 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-03 00:45:04 +00:00
Jean-Philippe Lang
e4fa94bf8c Prevents one query per group.
git-svn-id: http://svn.redmine.org/redmine/trunk@13545 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-02 21:30:20 +00:00
Jean-Philippe Lang
4e815e25d7 Make sure that invalid cache from older versions is not used for languages_options (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13544 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-02 21:25:59 +00:00
Jean-Philippe Lang
b3f377dfc4 Prevents one query per tracker.
git-svn-id: http://svn.redmine.org/redmine/trunk@13543 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-02 21:16:12 +00:00
Jean-Philippe Lang
4f4a019beb Moved controller code to new method Project#add_default_member.
git-svn-id: http://svn.redmine.org/redmine/trunk@13542 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-02 20:55:02 +00:00
Jean-Philippe Lang
f5e5822945 Adds a 'sorted' scope to Project.
git-svn-id: http://svn.redmine.org/redmine/trunk@13541 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-02 20:44:11 +00:00
Jean-Philippe Lang
655a4a1ba0 Code cleanup, #roadmap no longer exists.
git-svn-id: http://svn.redmine.org/redmine/trunk@13540 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-02 20:36:16 +00:00
Jean-Philippe Lang
ce55a79fc8 Removed unused helpers.
git-svn-id: http://svn.redmine.org/redmine/trunk@13539 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-02 20:35:49 +00:00
Jean-Philippe Lang
50bb640c53 Code cleanup, removed conditions on request method.
git-svn-id: http://svn.redmine.org/redmine/trunk@13538 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-02 20:32:11 +00:00
Jean-Philippe Lang
ea2df369dc Adds (un)check all buttons to select all projects (#11702).
git-svn-id: http://svn.redmine.org/redmine/trunk@13537 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-02 20:16:59 +00:00
Jean-Philippe Lang
72115ec093 Adds :field_default_status to locales (#5991).
git-svn-id: http://svn.redmine.org/redmine/trunk@13536 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-02 19:46:15 +00:00
Jean-Philippe Lang
dfc594c337 Default status per tracker (#5991).
git-svn-id: http://svn.redmine.org/redmine/trunk@13535 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-02 19:45:14 +00:00
Jean-Philippe Lang
32b79b6fd4 Fixed that IssueRelation should not be responsible for calling Issue#init_journal (#18237).
git-svn-id: http://svn.redmine.org/redmine/trunk@13534 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-02 15:38:11 +00:00
Toshi MARUYAMA
43f6914f52 Japanese translation updated by Go MAEDA (#18254)
git-svn-id: http://svn.redmine.org/redmine/trunk@13533 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-02 03:50:44 +00:00
Toshi MARUYAMA
3b4e96d48c Japanese wiki_syntax_detailed.html translation updated by Go MAEDA (#18252)
git-svn-id: http://svn.redmine.org/redmine/trunk@13531 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-01 07:36:20 +00:00
Toshi MARUYAMA
7e8afc960a Gemfile: update Rails to 4.1.7
git-svn-id: http://svn.redmine.org/redmine/trunk@13529 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-31 04:01:59 +00:00
Jean-Philippe Lang
36ee95c1f4 Removed ORDER option on acts_as_tree that duplicates default_scope.
git-svn-id: http://svn.redmine.org/redmine/trunk@13528 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-30 08:01:19 +00:00
Jean-Philippe Lang
3ea84bd7e4 Fixed SQL errors with SQLServer (column specified more than once in the order by list) after r13526.
git-svn-id: http://svn.redmine.org/redmine/trunk@13527 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-29 22:30:25 +00:00
Jean-Philippe Lang
522bebe5ed Order scopes cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@13526 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-29 21:49:33 +00:00
Jean-Philippe Lang
47e74dc689 Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@13525 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-28 19:36:11 +00:00
Jean-Philippe Lang
65997d4ff8 Removed unused instance variable.
git-svn-id: http://svn.redmine.org/redmine/trunk@13524 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-28 18:50:25 +00:00
Jean-Philippe Lang
78f65df8f7 Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@13523 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-28 18:48:07 +00:00
Jean-Philippe Lang
abff0531de Code cleanup, removed raw SQL.
git-svn-id: http://svn.redmine.org/redmine/trunk@13522 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-28 18:43:11 +00:00
Jean-Philippe Lang
cb2cd12dad Need to require net/ldap in tests (#18192).
git-svn-id: http://svn.redmine.org/redmine/trunk@13521 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-28 18:29:44 +00:00
Toshi MARUYAMA
e88513967f Latvian translation updated by Jānis Elmeris (#18182)
git-svn-id: http://svn.redmine.org/redmine/trunk@13520 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-27 07:40:29 +00:00
Toshi MARUYAMA
94654286b9 Latvian translation changed by Jānis Elmeris (#18182)
git-svn-id: http://svn.redmine.org/redmine/trunk@13519 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-27 07:40:20 +00:00
Toshi MARUYAMA
362c107755 Traditional Chinese translation updated by ChunChang Lo (#18200)
git-svn-id: http://svn.redmine.org/redmine/trunk@13518 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-27 07:40:09 +00:00
Toshi MARUYAMA
65c32524f9 Bulgarian translation updated by Ivan Cenov (#18190)
git-svn-id: http://svn.redmine.org/redmine/trunk@13517 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-27 07:40:00 +00:00
Jean-Philippe Lang
bdbfe4f7ba Query IssueStatus model to prevent workflows instanciation.
git-svn-id: http://svn.redmine.org/redmine/trunk@13516 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-26 22:35:04 +00:00
Jean-Philippe Lang
f33dfe9243 Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@13515 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-26 22:33:33 +00:00
Jean-Philippe Lang
05462a145f Prevents useless COUNT queries.
git-svn-id: http://svn.redmine.org/redmine/trunk@13514 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-26 22:20:10 +00:00
Jean-Philippe Lang
46d4d75ccd Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@13513 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-26 14:44:11 +00:00
Jean-Philippe Lang
0b6a159622 Don't rely on users fixtures.
git-svn-id: http://svn.redmine.org/redmine/trunk@13512 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-26 14:43:14 +00:00
Jean-Philippe Lang
b6c0e80d37 Add ci:about task to display ruby version in build output.
git-svn-id: http://svn.redmine.org/redmine/trunk@13511 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-26 14:11:08 +00:00
Jean-Philippe Lang
5691826491 Clear @assignable_users on reload.
git-svn-id: http://svn.redmine.org/redmine/trunk@13510 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-25 11:14:57 +00:00
Jean-Philippe Lang
2d64a22dd9 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
2014-10-25 11:14:16 +00:00
Jean-Philippe Lang
c0f082ad02 Code cleanup.
git-svn-id: http://svn.redmine.org/redmine/trunk@13508 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-25 09:35:17 +00:00
Toshi MARUYAMA
caccb57b55 Gemfile: update rbpdf to version 1.18.2 (#18176)
git-svn-id: http://svn.redmine.org/redmine/trunk@13506 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-25 07:09:20 +00:00
Jean-Philippe Lang
d62574badb Code cleanup, use safer #closed?
git-svn-id: http://svn.redmine.org/redmine/trunk@13505 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-24 21:40:26 +00:00
Jean-Philippe Lang
67c4936908 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
2014-10-24 18:41:35 +00:00
Toshi MARUYAMA
b63123ac1e 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
2014-10-24 04:13:17 +00:00
Toshi MARUYAMA
5859c10517 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
2014-10-24 02:48:29 +00:00
Toshi MARUYAMA
6f92548b38 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
2014-10-24 02:18:45 +00:00
Toshi MARUYAMA
374f4dd52e 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
2014-10-24 02:18:28 +00:00
Jean-Philippe Lang
b43a4f048e Adds translation strings (#11702).
git-svn-id: http://svn.redmine.org/redmine/trunk@13499 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-23 21:47:13 +00:00
Jean-Philippe Lang
c2e73160da 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
2014-10-23 21:46:40 +00:00
Jean-Philippe Lang
ca5946d82e Code cleanup: use #project_condition.
git-svn-id: http://svn.redmine.org/redmine/trunk@13497 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-23 17:23:02 +00:00
Jean-Philippe Lang
41d81a09b3 Use regular AR query instead of raw SQL.
git-svn-id: http://svn.redmine.org/redmine/trunk@13496 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-23 17:22:32 +00:00