Jean-Philippe Lang
eae9c9ab2b
Isolates all API routing tests to a specific test case.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13604 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-16 10:54:33 +00:00
Jean-Philippe Lang
cd6b2f2268
Adds tests for new routes.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13603 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-16 09:01:44 +00:00
Jean-Philippe Lang
1508cd7b8b
Moved new group user to its own action GroupsController#new_users.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13602 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-16 08:53:39 +00:00
Jean-Philippe Lang
67835aa74d
Adds a hook at the bottom of the calender ( #6586 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13601 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-15 20:46:11 +00:00
Jean-Philippe Lang
36fc7beb2f
Moved new project member to its own action MemberController#new.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13600 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-15 11:20:47 +00:00
Jean-Philippe Lang
f21a005fea
Removed debug messages ( #18349 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13599 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-14 21:58:44 +00:00
Jean-Philippe Lang
8712a0f13e
Use named routes.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13598 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-14 21:51:32 +00:00
Jean-Philippe Lang
209babeedb
Code cleanup.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13597 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-14 21:39:34 +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
46756cbd56
Fixed 500 error when displaying a news with comments in reverse order ( #18332 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13595 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-14 20:53:14 +00:00
Jean-Philippe Lang
48205aa7d9
Removed debug messages ( #18349 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13594 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-14 20:49:05 +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
Toshi MARUYAMA
429e266bef
Bulgarian translation updated by Ivan Cenov ( #18324 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13591 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-12 03:55:27 +00:00
Toshi MARUYAMA
f2ddfcda9a
add missing fixtures to test/functional/wiki_controller_test.rb
...
Tests fail randomly.
<pre>
1) Error:
WikiControllerTest#test_show_with_sidebar:
ActionView::Template::Error: undefined method `name' for nil:NilClass
app/helpers/application_helper.rb:797:in `block in parse_redmine_links'
app/helpers/application_helper.rb:757:in `gsub!'
app/helpers/application_helper.rb:757:in `parse_redmine_links'
app/helpers/application_helper.rb:601:in `block (2 levels) in textilizable'
app/helpers/application_helper.rb:600:in `each'
app/helpers/application_helper.rb:600:in `block in textilizable'
app/helpers/application_helper.rb:621:in `parse_non_pre_blocks'
app/helpers/application_helper.rb:599:in `textilizable'
app/views/wiki/_content.html.erb:2:in `_app_views_wiki__content_html_erb___3773333740575742579_33736820'
app/views/wiki/show.html.erb:44:in `_app_views_wiki_show_html_erb__965327089377623997_33504680'
app/controllers/wiki_controller.rb:97:in `show'
test/functional/wiki_controller_test.rb:119:in `test_show_with_sidebar'
</pre>
It can be reproduced by following change.
<pre>
class WikiControllerTest < ActionController::TestCase
fixtures :projects, :users, :roles, :members, :member_roles,
:enabled_modules, :wikis, :wiki_pages, :wiki_contents,
- :wiki_content_versions, :attachments
+ :wiki_content_versions, :attachments,
+ :issues #, :issue_statuses
</pre>
git-svn-id: http://svn.redmine.org/redmine/trunk@13590 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-12 03:44:47 +00:00
Jean-Philippe Lang
05edd89811
Use bundle exec.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13589 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-11 21:13:18 +00:00
Jean-Philippe Lang
a0ca45b99c
Code cleanup, removed duplicate project activity route.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13588 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-11 18:07:50 +00:00
Jean-Philippe Lang
c74098bbd6
Don't load user activity for API responses ( #18128 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13587 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-11 13:28:41 +00:00
Jean-Philippe Lang
47e723c617
Display visible users only for when adding project members ( #11724 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13586 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-11 13:18:01 +00:00
Jean-Philippe Lang
78620da801
Adds strings to locales ( #11724 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13585 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-11 13:10:11 +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
140ca9532c
Adds a test for default issue columns order ( #18310 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13583 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-11 12:33:06 +00:00
Toshi MARUYAMA
55c49a6d46
German "button_update" translation changed by Alexander Loechel ( #18314 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13582 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-10 23:14:47 +00:00
Toshi MARUYAMA
c01822af8a
German "label_roadmap_overdue" and "setting_autologin" translation changed by Jan from Planio www.plan.io ( #14151 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13581 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-10 23:14:38 +00:00
Toshi MARUYAMA
698f7b51a1
Bulgarian translation updated by Ivan Cenov ( #18309 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13580 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-10 23:14:30 +00:00
Toshi MARUYAMA
32d270cda7
Japanese translation updated by Go MAEDA ( #18308 )
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13579 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-09 04:04:11 +00:00
Jean-Philippe Lang
9f5eb59113
Code cleanup.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13578 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-08 19:06:48 +00:00
Jean-Philippe Lang
84d380c677
Prevents a status load in #status_was when status is not changed ( #18290 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13577 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-08 11:17:45 +00:00
Jean-Philippe Lang
f095633f2f
Prevents author load ( #18290 ).
...
Patch by Ondřej Ezr.
git-svn-id: http://svn.redmine.org/redmine/trunk@13576 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-08 11:09:42 +00:00
Jean-Philippe Lang
700736de5d
Fixed duplicate test names ( #18306 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13575 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-08 11:02:44 +00:00
Jean-Philippe Lang
fb0485d8a3
Adds text_subversion_repository_note string to locales ( #1415 ).
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13574 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-08 10:53:54 +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
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
4da77616be
Code cleanup.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13568 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-06 20:45:13 +00:00
Jean-Philippe Lang
fee3a3ae50
Use em.info tags.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13567 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-06 20:35:22 +00:00
Jean-Philippe Lang
3a0a340bbd
Preload users and projects for latest news on welcome page.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13566 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-06 18:54:23 +00:00
Jean-Philippe Lang
4d6c52a82b
Use IssueRelation#to_s.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13565 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-05 16:33:45 +00:00
Jean-Philippe Lang
78cc63e52c
Use IssueRelation#to_s in PDF export.
...
git-svn-id: http://svn.redmine.org/redmine/trunk@13564 e93f8b46-1217-0410-a6f0-8f06a7374b81
2014-11-05 16:27:47 +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