summaryrefslogtreecommitdiffstats
path: root/test/functional/search_controller_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year to 2023 (#38141).Go MAEDA2023-01-011-1/+1
| | | | git-svn-id: https://svn.redmine.org/redmine/branches/5.0-stable@22014 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
* Ignore from search module params sent with empty values (#34615).Go MAEDA2021-02-061-0/+15
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20738 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
* Code cleanup: RuboCop: Rails/ActiveRecordAliasesGo MAEDA2019-08-171-2/+2
| | | | | | | update_attributes is deprecated in Rails 6.0 and will be removed in Rails 6.1 (#29914). git-svn-id: http://svn.redmine.org/redmine/trunk@18375 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
* Enable frozen_string_literal for some files under test directory (#26561).Go MAEDA2019-03-161-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@17978 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
* Include closed projects in search for scope subprojects (#28636).Go MAEDA2018-12-061-0/+40
| | | | | | | Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17692 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use regular #authorize method.Jean-Philippe Lang2017-06-261-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16724 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
* Use the regular "icon icon-*" on search results (#24313).Jean-Philippe Lang2016-11-191-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15977 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removes calls to #assert_template and #assigns in functional tests.Jean-Philippe Lang2016-07-211-84/+140
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15724 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Pass parameters with :params in controller tests.Jean-Philippe Lang2016-07-161-38/+39
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15666 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds our own class for controller tests.Jean-Philippe Lang2016-07-141-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15661 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
* Upgrade to Rails 4.2.0 (#14534).Jean-Philippe Lang2015-01-171-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13892 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixture to SearchControllerTestToshi MARUYAMA2015-01-151-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13881 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
* Option to search open issues only (#10734).Jean-Philippe Lang2015-01-101-0/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13858 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Option to search attachment filenames and description (#4383).Jean-Philippe Lang2015-01-091-0/+29
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13856 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixtures to SearchControllerTestToshi MARUYAMA2014-12-131-1/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13751 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rewrites search engine to properly paginate results (#18631).Jean-Philippe Lang2014-12-121-13/+17
| | | | | | Instead of counting and retrieving results based on their timestamps, we now load all result ids then load the appropriate results by their ids. This also brings a 2x performance improvement as we search tokens in one of the 2 queries only. git-svn-id: http://svn.redmine.org/redmine/trunk@13739 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Revert r13736, test fails with mysql.Jean-Philippe Lang2014-12-111-9/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13737 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a test for search with limited results.Jean-Philippe Lang2014-12-111-0/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds tests for searching private or archived projects.Jean-Philippe Lang2014-12-051-0/+23
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13710 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaced remaining #assert_tag with #assert_select.Jean-Philippe Lang2014-11-221-6/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13624 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-1/+3
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* add missing fixtures to SearchControllerTestToshi MARUYAMA2014-07-131-0/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13306 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
* Rails4: replace deprecated Relation#update_all at SearchControllerTestToshi MARUYAMA2014-01-111-2/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@12637 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
* Functional tests cleanup.Jean-Philippe Lang2012-12-031-7/+17
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10936 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed some more test/functional/*_test.rb breaking when run alone (#12285)Jean-Baptiste Barth2012-11-011-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10787 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Private issue notes (#1554).Jean-Philippe Lang2012-10-031-0/+33
| | | | | | Adds 2 new permissions for viewing/adding private comments to issues. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10547 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that search results are escaped twice.Jean-Philippe Lang2012-08-101-0/+20
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10185 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Additional tests for SearchController and handle my_projects scope without ↵Jean-Philippe Lang2011-12-171-0/+40
| | | | | | memberships. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8266 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from test/functional/search_controller_test.rb.Toshi MARUYAMA2011-08-311-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6924 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: search options get lost after clicking on a specific result type (#7501).Jean-Philippe Lang2011-07-091-6/+21
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6201 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from functional search controller test.Toshi MARUYAMA2011-05-161-16/+16
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5803 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
* Fixes duplicate custom_values fixture that caused failure with Postgresql.Jean-Philippe Lang2010-12-111-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4488 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds leading slash to all assert_redirected_to arguments (#6887).Jean-Philippe Lang2010-11-141-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4407 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Typecast issue ids when searched for.Eric Davis2010-06-201-0/+6
| | | | | | | | Older Postgres versions don't allow searching over the id field's max size. Contributed by Holger Just git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3806 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
* SCM:Jean-Philippe Lang2009-08-171-2/+2
| | | | | | | * Fixes file log for non-Git repositories (Repository#latest_changesets ignores path argument) * No longer used Repository#changesets_for_path method removed git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2844 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Allows multiple roles on the same project (#706). Prerequisite for user ↵Jean-Philippe Lang2009-05-101-1/+1
| | | | | | groups feature. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2726 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged Rails 2.2 branch. Redmine now requires Rails 2.2.2.Jean-Philippe Lang2009-02-211-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2493 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Different icon for closed issues in search result (#992).Jean-Philippe Lang2009-01-111-0/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2256 e93f8b46-1217-0410-a6f0-8f06a7374b81