Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert all uses of Chef::REST to Chef::ServerAPItm/no_more_rest | Thom May | 2016-01-11 | 1 | -4/+18 |
| | | | | | | | In the process, stop auto-expanding JSON in the HTTP client, and let individual classes control that themselves. Fixes #2737, Fixes #3518 | ||||
* | Fix search result paginationssd/search-pagination-fix | Steven Danna | 2015-10-09 | 1 | -2/+16 |
| | | | | | | | | | | | | | | | | | | | The start and rows parameter that are passed as part of the search request are passed directly to Solr on the backend. Results from Solr may contain deleted nodes no longer in the erchef database. Erchef will filter such nodes from the results. Thus, a user may receive fewer rows than they asked for. Incrementing 'start' only by the number of rows received will then result in the next Solr response overlapping the first, which can lead to duplicate results. In the case of a Solr results page that was completely filtered, it would lead to an infinite loop. This commit changes the code to always increment by the requested page size (args[:rows]) when it is non-nil. Incrementing by the length of the response set is still wrong in the case when the args[:rows] is nil, but the server doesn't give us anything else to increment by. Fixes #4027 | ||||
* | Ensure that a search query makes progress | Tom Hughes | 2015-03-25 | 1 | -1/+1 |
| | | | | | | | | If a search doesn't return a full result then increment the start pointer by the number of rows returned, rather than assuming that it was equal to the row limit, and defaulting to zero. This should fix #3099 | ||||
* | Build configurable search string.mcquin/bugfix/search-filtering | Claire McQuin | 2014-12-19 | 1 | -1/+9 |
| | |||||
* | Remaining fixes. | Claire McQuin | 2014-12-19 | 1 | -3/+3 |
| | | | | | | * Exclude rows from query if rows are nil. * Update defaults in knife/search to match query defaults. * Update start when polling more rows. | ||||
* | Fix spelling. | Claire McQuin | 2014-12-19 | 1 | -1/+1 |
| | |||||
* | Make config a reader. | Claire McQuin | 2014-12-19 | 1 | -2/+2 |
| | |||||
* | Use 2.0 syntax (required keyword arguments are 2.1+). | Claire McQuin | 2014-12-19 | 1 | -2/+2 |
| | |||||
* | Fix whitespace. | Claire McQuin | 2014-12-19 | 1 | -5/+4 |
| | |||||
* | Allow search to receive either an array or hash of arguments. | Claire McQuin | 2014-12-19 | 1 | -44/+37 |
| | |||||
* | Add optional config parameter. | Claire McQuin | 2014-12-18 | 1 | -3/+9 |
| | |||||
* | Return all matches by default. | Claire McQuin | 2014-12-18 | 1 | -2/+1 |
| | |||||
* | Make search with filtering match partial_search. | Claire McQuin | 2014-12-18 | 1 | -86/+60 |
| | | | | * Updated search to use argument parameters. | ||||
* | Add InvalidSearchQuery exception for malformed searches. | Claire McQuin | 2014-09-04 | 1 | -4/+17 |
| | |||||
* | Fix typos, add partial_search spec. | Claire McQuin | 2014-09-04 | 1 | -13/+7 |
| | |||||
* | Comment :keys => :filter_result in partial_search | Claire McQuin | 2014-09-04 | 1 | -3/+5 |
| | |||||
* | DEPRECATION | Scott Hain | 2014-09-04 | 1 | -0/+1 |
| | |||||
* | updated partial again | Scott Hain | 2014-09-04 | 1 | -2/+20 |
| | |||||
* | Updated based on mcq and others feedback | Scott Hain | 2014-09-04 | 1 | -38/+53 |
| | |||||
* | added a default for ruby 1.8 compatibility | Scott Hain | 2014-09-04 | 1 | -1/+2 |
| | |||||
* | Last round of life improvement | Scott Hain | 2014-09-04 | 1 | -10/+9 |
| | |||||
* | Refactored thanks to some great input | Scott Hain | 2014-09-04 | 1 | -32/+17 |
| | |||||
* | Fixed the stupid typo that broke the last build | Scott Hain | 2014-09-04 | 1 | -2/+2 |
| | |||||
* | fixed up some little naming nuances | Scott Hain | 2014-09-04 | 1 | -2/+4 |
| | |||||
* | Updated based on awesome feedback | Scott Hain | 2014-09-04 | 1 | -48/+65 |
| | |||||
* | Finished up search with filtering | Scott Hain | 2014-09-04 | 1 | -6/+67 |
| | |||||
* | [CHEF-4176] remove unneeded aliases for chef_server_url | danielsdeleo | 2013-05-10 | 1 | -2/+2 |
| | |||||
* | [OC-3564] move core Chef to the repo root \o/ \m/ | Seth Chisamore | 2012-10-30 | 1 | -0/+65 |
The opscode/chef repository now only contains the core Chef library code used by chef-client, knife and chef-solo! |