Commit Graph

4552 Commits

Author SHA1 Message Date
Jean-Philippe Lang
13f9ccaed8 Adds configuration settings to limit valid repository path (#1415).
git-svn-id: http://svn.redmine.org/redmine/trunk@13573 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-08 10:52:59 +00:00
Toshi MARUYAMA
34bb545e4f prevent test failures with "trackers is invalid"
See r13571 comment.

git-svn-id: http://svn.redmine.org/redmine/trunk@13572 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-08 07:22:44 +00:00
Toshi MARUYAMA
3815bb3bdc add missing fixture to test/unit/enabled_module_test.rb
Test fails randomly.

<pre>
  1) Error:
EnabledModuleTest#test_enabling_wiki_should_create_a_wiki:
ActiveRecord::RecordInvalid: Validation failed: trackers is invalid, trackers is invalid, trackers is invalid
    test/unit/enabled_module_test.rb:25:in `test_enabling_wiki_should_create_a_wiki'
</pre>

It can be reproduced on clean db and following change.

<pre>
-  fixtures :projects, :wikis
+  fixtures :projects, :trackers, :wikis
</pre>

git-svn-id: http://svn.redmine.org/redmine/trunk@13571 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-08 06:40:38 +00:00
Toshi MARUYAMA
2a5bc15344 remove duplicated IssuesControllerTest#test_new_should_select_default_status (#5991, #18305)
git-svn-id: http://svn.redmine.org/redmine/trunk@13570 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-08 04:46:44 +00:00
Toshi MARUYAMA
426780c6b1 add missing fixtures to test/unit/issue_status_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@13569 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-07 00:38:21 +00:00
Jean-Philippe Lang
5326eb233e Overrides IssueRelation#to_s.
git-svn-id: http://svn.redmine.org/redmine/trunk@13563 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-05 16:14:20 +00:00
Jean-Philippe Lang
b2ba7db4e1 Time entries CSV export should include the tracker and subject of the issue (#18269).
git-svn-id: http://svn.redmine.org/redmine/trunk@13562 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-05 15:23:22 +00:00
Jean-Philippe Lang
4c9fcb34b6 Typo.
git-svn-id: http://svn.redmine.org/redmine/trunk@13561 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-05 15:17:21 +00:00
Jean-Philippe Lang
5052d48491 Fixed that setting a status as closed should update issue closed_on attribute (#18280).
git-svn-id: http://svn.redmine.org/redmine/trunk@13560 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-05 14:51:04 +00:00
Toshi MARUYAMA
6bb699d65f use English in test (#18276)
git-svn-id: http://svn.redmine.org/redmine/trunk@13559 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-04 23:43:17 +00:00
Jean-Philippe Lang
bc3bd8aff2 Let QueryColumn accept a Proc as caption (#18276).
git-svn-id: http://svn.redmine.org/redmine/trunk@13558 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-04 21:00:59 +00:00
Jean-Philippe Lang
4cd67587ce Fixed that a disabled field which is required by workflow rules blocks issue creation/update (#17744).
git-svn-id: http://svn.redmine.org/redmine/trunk@13557 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-04 20:49:46 +00:00
Jean-Philippe Lang
984e5a36bb Fixed that parent column should not include issue subject (#13673).
git-svn-id: http://svn.redmine.org/redmine/trunk@13556 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-04 20:17:44 +00:00
Jean-Philippe Lang
db63f5a925 Fixed CSV content for parent issue column (#13608).
git-svn-id: http://svn.redmine.org/redmine/trunk@13555 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-04 20:02:27 +00:00
Toshi MARUYAMA
41023cb5ff add missing fixture to test/unit/query_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@13551 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-03 08:25:12 +00:00
Toshi MARUYAMA
9357ba1d4b add missing fixtures to test/functional/custom_fields_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@13550 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-03 08:13:08 +00:00
Toshi MARUYAMA
fb6955b21c add missing fixture to test/functional/issue_statuses_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@13549 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-03 07:37:15 +00:00
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
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
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
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
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
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
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
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
Toshi MARUYAMA
44a5eedf8f 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
2014-10-23 04:55:37 +00:00
Jean-Philippe Lang
360895068e Code cleanup, use array instead of handcrafted update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13485 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-22 18:51:00 +00:00
Jean-Philippe Lang
2d1866d966 Merged rails-4.1 branch (#14534).
git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-22 17:37:16 +00:00
Jean-Philippe Lang
c4484a40c0 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
2014-10-18 10:14:17 +00:00
Jean-Philippe Lang
6bdef3ca64 Ignore locales without :general_lang_name key (#18110).
git-svn-id: http://svn.redmine.org/redmine/trunk@13450 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-18 09:07:51 +00:00
Jean-Philippe Lang
ff9be52e45 Ability to render multiple partials with view hook (#17763).
git-svn-id: http://svn.redmine.org/redmine/trunk@13449 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-18 08:09:31 +00:00
Toshi MARUYAMA
bfe7997e38 remove unneeded instance variable assignment from ProjectNestedSetTest
git-svn-id: http://svn.redmine.org/redmine/trunk@13430 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-08 14:20:34 +00:00
Jean-Philippe Lang
74cd72a2d9 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
2014-10-05 13:18:55 +00:00
Jean-Philippe Lang
a567546335 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
2014-10-05 12:10:33 +00:00
Jean-Philippe Lang
8b678837a3 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
2014-10-04 09:46:50 +00:00
Jean-Philippe Lang
8b998ec05b 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
2014-10-04 09:36:35 +00:00
Jean-Philippe Lang
2e9b28906d Removes routes for time entries nested under project/issues.
git-svn-id: http://svn.redmine.org/redmine/trunk@13424 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-10-04 09:14:17 +00:00
Jean-Philippe Lang
15d5c331eb 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
2014-10-04 07:23:14 +00:00
Jean-Philippe Lang
86a33395db 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
2014-09-30 20:41:15 +00:00
Jean-Philippe Lang
7e7ac5340a 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
2014-09-28 14:51:08 +00:00
Toshi MARUYAMA
5ce32798f2 rename jQuery Datepicker i18n file name
jquery-ui renamed these files.
21154cfa2e

git-svn-id: http://svn.redmine.org/redmine/trunk@13415 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-09-27 05:14:53 +00:00
Jean-Philippe Lang
8ae41b4846 Ignore email keywords after truncation line (#8758).
git-svn-id: http://svn.redmine.org/redmine/trunk@13413 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-09-20 07:51:37 +00:00
Jean-Baptiste Barth
b519aba63e 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
2014-09-16 21:38:54 +00:00
Jean-Philippe Lang
51db15ac61 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
2014-09-14 10:42:31 +00:00
Jean-Philippe Lang
4fba4ca691 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
2014-09-14 09:41:39 +00:00
Jean-Baptiste Barth
2eb95f41b4 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
2014-09-14 08:22:25 +00:00
Jean-Philippe Lang
d30367d46b 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
2014-09-13 11:22:49 +00:00
Jean-Philippe Lang
416ebc222d 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
2014-09-13 11:09:01 +00:00