Commit Graph

2371 Commits

Author SHA1 Message Date
Jean-Philippe Lang
4989c9f6a8 Removed some test contexts.
git-svn-id: http://svn.redmine.org/redmine/trunk@13646 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-23 20:25:46 +00:00
Jean-Philippe Lang
e0a034164f Move wiki page to other project (#5450).
git-svn-id: http://svn.redmine.org/redmine/trunk@13643 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-23 13:36:01 +00:00
Jean-Philippe Lang
827ab38725 Selected projects in email notifications on "my account" are lost when the page is redisplayed after a validation error (#18060).
Patch by Felix Schäfer.

git-svn-id: http://svn.redmine.org/redmine/trunk@13638 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-22 10:56:59 +00:00
Jean-Philippe Lang
2a43f1adbc Quote values in DOM selectors for Nokogiri compatibility.
git-svn-id: http://svn.redmine.org/redmine/trunk@13619 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-20 19:38:40 +00:00
Toshi MARUYAMA
08bae5928a fix English syntax of skipping test comment of Bazaar non ASCII environment
git-svn-id: http://svn.redmine.org/redmine/trunk@13614 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-18 11:23:16 +00:00
Jean-Philippe Lang
eac3b2b27d Fixed that Redmine links should not be parsed inside links (#18301).
git-svn-id: http://svn.redmine.org/redmine/trunk@13596 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-14 21:31:27 +00:00
Jean-Philippe Lang
9b971925db Ignore bogus issue strings like [some-string#1234] in email subjects (#17705).
git-svn-id: http://svn.redmine.org/redmine/trunk@13593 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-14 20:43:15 +00:00
Jean-Philippe Lang
c12ba8a76c Fixed that URLs separated by line break are not rendered as links (#18349).
git-svn-id: http://svn.redmine.org/redmine/trunk@13592 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-14 20:18:09 +00:00
Jean-Philippe Lang
bdd3ccf8e5 Adds a role setting for controlling visibility of users: all or members of visible projects (#11724).
git-svn-id: http://svn.redmine.org/redmine/trunk@13584 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-11 13:08:52 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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-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
Toshi MARUYAMA
34beae1c7a add missing fixtures to TimeEntryActivityTest
git-svn-id: http://svn.redmine.org/redmine/trunk@13386 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-09-12 13:40:07 +00:00
Toshi MARUYAMA
7e88c2a990 add missing fixtures to Redmine::VersionFieldFormatTest
git-svn-id: http://svn.redmine.org/redmine/trunk@13385 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-09-12 13:39:58 +00:00
Toshi MARUYAMA
3170ffbf85 add missing fixtures to TimeEntryQueryTest
git-svn-id: http://svn.redmine.org/redmine/trunk@13381 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-09-12 07:37:45 +00:00
Toshi MARUYAMA
d4d124eb0e add missing fixtures to Redmine::UserFieldFormatTest
git-svn-id: http://svn.redmine.org/redmine/trunk@13379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-09-12 04:03:01 +00:00
Toshi MARUYAMA
652ea628ad add missing fixtures to CustomFieldTest
git-svn-id: http://svn.redmine.org/redmine/trunk@13374 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-09-11 17:19:33 +00:00
Jean-Baptiste Barth
d00f875800 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
2014-09-06 03:39:52 +00:00
Jean-Baptiste Barth
8c945fb791 Honnor committers/users mapping in repository statistics (#13487).
git-svn-id: http://svn.redmine.org/redmine/trunk@13353 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-08-26 17:32:01 +00:00
Jean-Baptiste Barth
fc99c1851f Fix text failing on some rubies/sql drivers because of improper length in Change#action (#13487).
git-svn-id: http://svn.redmine.org/redmine/trunk@13352 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-08-26 17:15:55 +00:00
Jean-Baptiste Barth
41bf39df36 Move some RepositoriesController logic to Repository#stats_by_author (#13487).
git-svn-id: http://svn.redmine.org/redmine/trunk@13351 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-08-26 13:58:58 +00:00