summaryrefslogtreecommitdiffstats
path: root/test/unit/wiki_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Use `fixtures :all` to ensure consistent test data and improve test ↵Go MAEDA11 days1-2/+0
| | | | | | | | | reliability (#41961). Patch by Katsuya HIDAKA (user:hidakatsuya). git-svn-id: https://svn.redmine.org/redmine/trunk@23391 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove current year from source file copyright headers and update year in ↵Marius Balteanu2024-02-261-1/+1
| | | | | | footer to 2024 (#40043). git-svn-id: https://svn.redmine.org/redmine/trunk@22746 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Reinitialize an empty Wiki page after after project wiki is deleted (#34634).Marius Balteanu2023-10-231-0/+6
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22370 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revert r22368.Marius Balteanu2023-10-231-6/+0
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22369 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Traditional Chinese translation update (#39221).Marius Balteanu2023-10-231-0/+6
| | | | | | Patch by ChunChang (Nagaharu) Lo. git-svn-id: https://svn.redmine.org/redmine/trunk@22368 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use `require_relative` instead of `require File.expand_path(..., __FILE__)` ↵Go MAEDA2023-01-011-1/+1
| | | | | | | | | (#38093). Patch by Go MAEDA. git-svn-id: https://svn.redmine.org/redmine/trunk@22016 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/trunk@22013 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2022 (#36379).Go MAEDA2022-01-021-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@21342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2021 (#33069).Go MAEDA2021-03-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@20846 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ordering wiki pages should not be case sensitive (#31287).Go MAEDA2020-06-201-0/+10
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19831 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year in source files to 2020 (#33069).Go MAEDA2020-03-031-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@19553 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix test failure due to missing call to set_tmp_attachments_directory (#32122).Go MAEDA2019-10-041-0/+2
| | | | | | | Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@18593 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright year.Go MAEDA2019-05-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@18198 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support frozen_string_literal in test/**/*.rb (#26561).Go MAEDA2019-03-211-1/+1
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17996 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Decode hexadecimal-encoded literals in order to be frozen string literals ↵Go MAEDA2019-03-191-1/+1
| | | | | | | | | friendly (#31004). Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@17991 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Remove unnecessary encoding magic comment (#31034).Go MAEDA2019-03-161-2/+0
| | | | | | | | | The default script encoding is UTF-8 in Ruby 2.0 or later. Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@17976 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Set User.current to nil before unit tests.Jean-Philippe Lang2018-12-161-0/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17761 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Move wiki page to other project (#5450).Jean-Philippe Lang2014-11-231-0/+14
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13643 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-2/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Don't create duplicate wikis in test (#15420).Jean-Philippe Lang2013-11-231-1/+1
| | | | | | Patch by George Gensure. git-svn-id: http://svn.redmine.org/redmine/trunk@12317 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed some shoulda context.Jean-Philippe Lang2013-05-181-15/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11864 e93f8b46-1217-0410-a6f0-8f06a7374b81
* 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
* 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
* replace hard-coded non ASCII literal to UTF-8 hexadecimal at ↵Toshi MARUYAMA2012-03-141-1/+3
| | | | | | test/unit/wiki_test.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9239 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed some generate! calls.Jean-Philippe Lang2012-03-041-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9079 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from unit wiki test.Toshi MARUYAMA2011-05-171-15/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5812 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do a redirect when accessing a renamed wiki page.Jean-Philippe Lang2011-04-111-5/+28
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5423 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: wiki page with backslash in title can not be found (#7589).Jean-Philippe Lang2011-03-121-1/+4
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5097 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: wiki pages with cyrillic characters not found with postgresql (#7245).Jean-Philippe Lang2011-01-101-0/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4680 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: Wiki#find_page should not be case sensitive because page title ↵Jean-Philippe Lang2010-11-271-0/+9
| | | | | | uniqueness is not (#6987). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4430 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes the wiki sidebar editable (#5208).Jean-Philippe Lang2010-04-111-0/+19
| | | | | | 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
* Sets file encoding to utf-8 for ruby 1.9.Jean-Philippe Lang2009-10-101-0/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2910 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds missing native eol properties.Jean-Philippe Lang2009-09-201-5/+5
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2895 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Upgraded to Rails 2.3.4 (#3597)Eric Davis2009-09-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Ran the Rails upgrade * Upgraded to Rails Engines 2.3.2 * Added a plugin to let Engines override application views. * Converted tests to use the new classes: ** ActionController::TestCase for functional ** ActiveSupport::TestCase for units * Converted ActiveRecord::Error message to a string. * ActiveRecord grouping returns an ordered hash which doesn't have #sort! * Updated the I18n storage_units format. * Added some default initializers from a fresh rails app * Changed the order of check_box_tags and hidden_field_tags. The hidden tag needs to appear first in Rails 2.3, otherwise it will override any value in the check_box_tag. * Removed the custom handler for when the cookie store is tampered with. Rails 2.3 removed the TamperedWithCookie exception and instead Rails will not load the data from it when it's been tampered with (e.g. no user login). * Fixed mail layouts, 2.3 has problems with implicit multipart emails that use layouts. Also removed some custom Redmine mailer code. * Fixed a bug that occurred in tests where the "required" span tag would be added to the :field_status translation. This resulted in an email string of: <li>Status<span class="required"> *</span><span class="required"> *</span> Instead of: <li>Status: New</li> git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2887 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: Title with non-ascii characters breaks wikiJean-Philippe Lang2007-10-051-0/+5
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@805 e93f8b46-1217-0410-a6f0-8f06a7374b81
* wiki branch merged into trunkJean-Philippe Lang2007-03-101-0/+39
git-svn-id: http://redmine.rubyforge.org/svn/trunk@323 e93f8b46-1217-0410-a6f0-8f06a7374b81