Jean-Philippe Lang
|
7fd04e1f8d
|
Update copyright.
git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-06-25 08:40:31 +00:00 |
|
Toshi MARUYAMA
|
01defc7514
|
remove trailing white spaces from test/functional/wiki_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@16645 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-06-10 04:55:17 +00:00 |
|
Jean-Philippe Lang
|
b834e81d7f
|
Use Rails 5 syntax for functional tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@16585 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2017-05-31 17:32:34 +00:00 |
|
Jean-Philippe Lang
|
650a64cb00
|
Creating a wiki page named "Sidebar" without proper permission raises an exception (#23700).
git-svn-id: http://svn.redmine.org/redmine/trunk@15749 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-08-30 19:21:42 +00:00 |
|
Jean-Philippe Lang
|
29ddc82a11
|
Removes calls to #assert_template and #assigns in functional tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15724 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-07-21 16:58:59 +00:00 |
|
Jean-Philippe Lang
|
6cc6a918b4
|
Pass parameters with :params in controller tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15666 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-07-16 07:43:16 +00:00 |
|
Jean-Philippe Lang
|
2e4e610930
|
Adds our own class for controller tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15661 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-07-14 09:35:49 +00:00 |
|
Jean-Philippe Lang
|
bda78a4679
|
Adds "New wiki page" link to create a new wiki page (#5536).
git-svn-id: http://svn.redmine.org/redmine/trunk@15346 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-04-22 17:47:11 +00:00 |
|
Jean-Philippe Lang
|
cda9c63d9c
|
Updates copyright for 2016.
git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2016-03-13 10:30:10 +00:00 |
|
Jean-Philippe Lang
|
c2fe2d0c06
|
Fixed that #destroy_version with invalid version destroys wiki page content (#21155).
git-svn-id: http://svn.redmine.org/redmine/trunk@14856 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-11-09 17:53:13 +00:00 |
|
Jean-Philippe Lang
|
84ca9ac7fd
|
Missing fixtures.
git-svn-id: http://svn.redmine.org/redmine/trunk@14711 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-10-20 18:04:01 +00:00 |
|
Jean-Philippe Lang
|
7b12145ed9
|
Raises wiki edits comments limit to 1024 (#19886).
git-svn-id: http://svn.redmine.org/redmine/trunk@14622 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-09-21 21:13:06 +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 |
|
Jean-Philippe Lang
|
000124f44f
|
Copyright update.
git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2015-01-11 09:09:50 +00:00 |
|
Jean-Philippe Lang
|
2a6692248b
|
Replaced "can't" with "cannot" in error messages.
git-svn-id: http://svn.redmine.org/redmine/trunk@13781 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-12-21 12:39:48 +00:00 |
|
Jean-Philippe Lang
|
5222650d95
|
Adds a few tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@13695 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-12-03 20:21:03 +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
|
f3e573b5f8
|
Replaced remaining #assert_tag with #assert_select.
git-svn-id: http://svn.redmine.org/redmine/trunk@13624 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-11-22 09:38:21 +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
|
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
|
c075626462
|
Fixed that requesting a specific version of a non-existent wiki page raises an error (#16255).
git-svn-id: http://svn.redmine.org/redmine/trunk@12971 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-03-15 11:41:24 +00:00 |
|
Toshi MARUYAMA
|
35cc911192
|
update copyright year (#15977)
Contributed by Daniel Felix.
git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-29 22:45:39 +00:00 |
|
Toshi MARUYAMA
|
378a3e684f
|
Rails4: replace deprecated Relation#first with finder options at WikiControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12635 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-11 09:24:40 +00:00 |
|
Toshi MARUYAMA
|
a313d540a6
|
code format cleanup WikiControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12634 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2014-01-11 09:24:24 +00:00 |
|
Jean-Philippe Lang
|
ba083225b7
|
Return to section anchor after wiki section edit (#15182).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12239 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-10-26 09:03:08 +00:00 |
|
Jean-Philippe Lang
|
5f747faa58
|
Fixed that viewing/editing a wiki page without WikiContent raises an error (#14986).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12220 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-10-13 11:19:47 +00:00 |
|
Jean-Philippe Lang
|
8f00d31ec6
|
Accommodates fixtures for databases with case sensitive sort.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11260 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-01-23 18:09:03 +00:00 |
|
Jean-Philippe Lang
|
1cb1bc7c96
|
Attachment name is added in the generated link.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11192 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-01-14 22:43:26 +00:00 |
|
Jean-Philippe Lang
|
e396a0eebe
|
Copyright for 2013 (#12788).
Patch by Daniel Felix.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-01-12 09:29:31 +00:00 |
|
Jean-Philippe Lang
|
d0ffc0575a
|
Fixed that viewing the history of a wiki page with attachments raises an error (#12801).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11157 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2013-01-10 21:38:11 +00:00 |
|
Jean-Philippe Lang
|
4cc4e8bfd3
|
Functional tests cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10936 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-12-03 22:23:23 +00:00 |
|
Jean-Philippe Lang
|
29fc292b18
|
Respond with 404 instead of 500 when requesting a wiki diff with invalid versions (#12434).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10877 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-11-24 12:27:00 +00:00 |
|
Jean-Philippe Lang
|
9e31308720
|
REST API for retrieving wiki pages (#7082).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10716 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-10-25 19:44:04 +00:00 |
|
Jean-Philippe Lang
|
6cccdce06e
|
Ability to delete a version from a wiki page history (#10852).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10705 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-10-23 18:45:14 +00:00 |
|
Jean-Philippe Lang
|
d66b3452db
|
Wiki page versions routes cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10687 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-10-21 18:46:26 +00:00 |
|
Jean-Philippe Lang
|
57c38a33e5
|
Adds assertions on the confirmation form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10405 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-09-16 15:39:11 +00:00 |
|
Jean-Philippe Lang
|
b81a578eb6
|
Adjust tests for new fixture.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10404 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-09-16 15:36:05 +00:00 |
|
Jean-Philippe Lang
|
6529035ee1
|
Fixed that wiki diff may produce html (#11209).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9895 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-06-26 16:57:09 +00:00 |
|
Jean-Philippe Lang
|
ba5a052c8c
|
Copyright update.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-05-05 12:56:53 +00:00 |
|
Jean-Philippe Lang
|
5e57a1a9d9
|
Merged rails-3.2 branch.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-04-25 17:17:49 +00:00 |
|
Jean-Philippe Lang
|
eabbab6e2b
|
Adds assertions on the content of a versioned wiki page export (#6941).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9362 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-04-06 15:31:06 +00:00 |
|
Jean-Philippe Lang
|
d25defe276
|
Adds assertions on the content of a wiki page export (#6941).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9361 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-04-06 14:09:15 +00:00 |
|
Jean-Philippe Lang
|
001b255b08
|
Ability to edit a wiki page's parent on the edit page (#6449).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8787 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-02-05 14:35:27 +00:00 |
|
Jean-Philippe Lang
|
2664693ae8
|
Removed useless permission check in wiki controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8735 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-01-30 18:50:04 +00:00 |
|
Jean-Philippe Lang
|
3d27bf5318
|
Adds export of all wiki pages to a PDF file (#3463).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8734 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-01-30 18:42:14 +00:00 |
|
Jean-Philippe Lang
|
53d5ff299a
|
Test cleanup.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8463 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2012-01-01 20:02:39 +00:00 |
|
Jean-Philippe Lang
|
849463558d
|
Additional tests for WikiController.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8262 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2011-12-17 15:02:28 +00:00 |
|
Jean-Philippe Lang
|
dcce70095b
|
Option to set parent automatically for new wiki pages (#3108).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8255 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2011-12-17 11:44:04 +00:00 |
|
Jean-Philippe Lang
|
a398faa5d7
|
Adds a test for when accessing wiki history without permission.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8064 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2011-12-03 20:30:50 +00:00 |
|
Jean-Philippe Lang
|
744e4357a0
|
Fixed: Wiki export link doesn't work for users without :view_wiki_edits permission (#9682).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7971 e93f8b46-1217-0410-a6f0-8f06a7374b81
|
2011-11-28 20:04:38 +00:00 |
|