summaryrefslogtreecommitdiffstats
path: root/test/functional/wiki_controller_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that viewing the history of a wiki page with attachments raises an ↵Jean-Philippe Lang2013-01-101-0/+13
| | | | | | error (#12801). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11157 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Functional tests cleanup.Jean-Philippe Lang2012-12-031-7/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10936 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Respond with 404 instead of 500 when requesting a wiki diff with invalid ↵Jean-Philippe Lang2012-11-241-0/+15
| | | | | | versions (#12434). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10877 e93f8b46-1217-0410-a6f0-8f06a7374b81
* REST API for retrieving wiki pages (#7082).Jean-Philippe Lang2012-10-251-0/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10716 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to delete a version from a wiki page history (#10852).Jean-Philippe Lang2012-10-231-2/+22
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10705 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Wiki page versions routes cleanup.Jean-Philippe Lang2012-10-211-1/+28
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10687 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds assertions on the confirmation form.Jean-Philippe Lang2012-09-161-0/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10405 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adjust tests for new fixture.Jean-Philippe Lang2012-09-161-6/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10404 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that wiki diff may produce html (#11209).Jean-Philippe Lang2012-06-261-3/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9895 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2012-05-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-3.2 branch.Jean-Philippe Lang2012-04-251-3/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9528 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds assertions on the content of a versioned wiki page export (#6941).Jean-Philippe Lang2012-04-061-0/+24
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9362 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds assertions on the content of a wiki page export (#6941).Jean-Philippe Lang2012-04-061-0/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9361 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to edit a wiki page's parent on the edit page (#6449).Jean-Philippe Lang2012-02-051-4/+52
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8787 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed useless permission check in wiki controller.Jean-Philippe Lang2012-01-301-2/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8735 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds export of all wiki pages to a PDF file (#3463).Jean-Philippe Lang2012-01-301-2/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8734 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Test cleanup.Jean-Philippe Lang2012-01-011-33/+20
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8463 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Additional tests for WikiController.Jean-Philippe Lang2011-12-171-0/+30
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8262 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option to set parent automatically for new wiki pages (#3108).Jean-Philippe Lang2011-12-171-10/+35
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8255 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for when accessing wiki history without permission.Jean-Philippe Lang2011-12-031-0/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8064 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Wiki export link doesn't work for users without :view_wiki_edits ↵Jean-Philippe Lang2011-11-281-0/+7
| | | | | | permission (#9682). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7971 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Section-edit buttons not available when a the version parameter is ↵Jean-Philippe Lang2011-11-281-0/+18
| | | | | | provided even if it's the current version (#9674). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7970 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes section edit links when text includes pre/code tag (#2222).Jean-Philippe Lang2011-11-181-0/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7835 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Wiki: allows single section edit (#2222).Jean-Philippe Lang2011-11-181-0/+115
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7829 e93f8b46-1217-0410-a6f0-8f06a7374b81
* test: functional: wiki: add tests to show pdf (#401)Toshi MARUYAMA2011-11-061-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7742 e93f8b46-1217-0410-a6f0-8f06a7374b81
* test: functional: wiki: add tests to show html and txt (#401)Toshi MARUYAMA2011-11-061-0/+20
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7739 e93f8b46-1217-0410-a6f0-8f06a7374b81
* code layout clean up of test/functional/wiki_controller_test.rbToshi MARUYAMA2011-11-061-1/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7738 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from test/functional/wiki_controller_test.rb.Toshi MARUYAMA2011-08-241-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6558 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Wiki annotated page does not display author of version 1 (#8449).Jean-Philippe Lang2011-07-091-7/+17
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6206 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from functional wiki controller test.Toshi MARUYAMA2011-05-161-50/+50
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5802 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do a redirect when accessing a renamed wiki page.Jean-Philippe Lang2011-04-111-0/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5423 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: atom links on wiki index broken by r4266.Jean-Philippe Lang2011-03-211-0/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5186 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Simultaneous wiki updates cause internal error (#7939).Jean-Philippe Lang2011-03-211-0/+36
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5185 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Moved wiki page updated_on eager load to a scope and fixed timestamp titles ↵Jean-Philippe Lang2011-03-121-2/+3
| | | | | | on wiki page index (#7818). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5098 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use absolute paths in test/**/* requires for Ruby 1.9.2 compatibility. #4050Jean-Baptiste Barth2010-12-121-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4509 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Missing template wiki/update.erb error introduced in r4272 (#6987).Jean-Philippe Lang2010-11-271-0/+46
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4429 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a combo to select parent on wiki page rename (#5136).Jean-Philippe Lang2010-11-061-0/+48
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4375 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: convert WikiController to a REST resourceEric Davis2010-10-281-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4303 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: use :id instead of :page when linking to Wiki PagesEric Davis2010-10-271-31/+31
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4296 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: convert WikiController#destroy to use HTTP DELETEEric Davis2010-10-261-5/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4295 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Rename WikiController#page_index to #indexEric Davis2010-10-251-7/+7
| | | | | | | index is the action that should list a collection of records, which is what #page_index does. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4290 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: split WikiController#edit into #updateEric Davis2010-10-221-2/+2
| | | | | | update will handle the saving and should be accessed via POST only. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4272 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: rename WikiController#index to #show, it's a single resource actionEric Davis2010-10-211-14/+14
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4266 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: change :id on WikiController to use :project_idEric Davis2010-10-201-43/+43
| | | | | | | Using :id to track projects on non-project controllers is confusing and makes routing with resources difficult. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4265 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: extract method from WikiController#specialEric Davis2010-10-181-0/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4261 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: extract #page_index from WikiController#specialEric Davis2010-10-151-6/+6
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4253 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: extract method in WikiController#special to create a new #export ↵Eric Davis2010-10-131-0/+28
| | | | | | method git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4251 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Move more routing tests into the routing integration test.Eric Davis2010-04-201-100/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3686 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes the wiki sidebar editable (#5208).Jean-Philippe Lang2010-04-111-0/+11
| | | | | | The content of the wiki page named 'Sidebar' is rendered in the sidebar if it exists. Permission to edit protected pages is required to create this page. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3632 e93f8b46-1217-0410-a6f0-8f06a7374b81