<feed xmlns='http://www.w3.org/2005/Atom'>
<title>FreshRSS (Customized)/tests/app/Models/SearchTest.php, branch 1.21.0</title>
<subtitle>Customized version of FreshRSS, a self-hosted RSS feed aggregator</subtitle>
<id>https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.21.0</id>
<link rel='self' href='https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.21.0'/>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/'/>
<updated>2023-01-09T11:59:09+00:00</updated>
<entry>
<title>Handling of parentheses as special characters in searches (#4989)</title>
<updated>2023-01-09T11:59:09+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2023-01-09T11:59:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=3fb8ab8eb5c88042320bbe006825b21f5a8f21de'/>
<id>urn:sha1:3fb8ab8eb5c88042320bbe006825b21f5a8f21de</id>
<content type='text'>
#fix https://github.com/FreshRSS/FreshRSS/issues/4987</content>
</entry>
<entry>
<title>Better restrict tag search (#4882)</title>
<updated>2022-11-23T21:41:00+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2022-11-23T21:41:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=aa07582419998cfa82465c28559f2fa1bba15ee3'/>
<id>urn:sha1:aa07582419998cfa82465c28559f2fa1bba15ee3</id>
<content type='text'>
* Better restrict tag search
#fix https://github.com/FreshRSS/FreshRSS/issues/4877
Search only on full tag names and not on parts of tag names

* Better whitespace handling</content>
</entry>
<entry>
<title>Easier full-text search possibility (#4505)</title>
<updated>2022-08-18T10:06:31+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2022-08-18T10:06:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=4f111c5b305078a641d13ac41ce7d798e3cc19ce'/>
<id>urn:sha1:4f111c5b305078a641d13ac41ce7d798e3cc19ce</id>
<content type='text'>
* Easier full-text search possibility
Contributes to https://github.com/FreshRSS/FreshRSS/issues/1331
Avoid concats in searches to make text indexes easier to build

* Fix tests

* Documentation</content>
</entry>
<entry>
<title>Basic support for negative searches with parentheses (#4503)</title>
<updated>2022-08-16T08:56:07+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2022-08-16T08:56:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=e27eb1ca9198119ea1b0bd79be5f1aead45d615a'/>
<id>urn:sha1:e27eb1ca9198119ea1b0bd79be5f1aead45d615a</id>
<content type='text'>
* Basic support for negative searches with parentheses
* `!((author:Alice intitle:hello) OR (author:Bob intitle:world))`
* `(author:Alice intitle:hello) !(author:Bob intitle:world)`
* `!(S:1 OR S:2)`

* Minor documentation / comment

* Remove syslog debug line</content>
</entry>
<entry>
<title>New search engine (#4378)</title>
<updated>2022-06-02T06:41:08+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2022-06-02T06:41:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=f85c510ed49be031145f6b35e815ce890cd4f9aa'/>
<id>urn:sha1:f85c510ed49be031145f6b35e815ce890cd4f9aa</id>
<content type='text'>
* New possibility to invoke user queries from a search expression
From the search field: `S:"My query"`.
Can be combined with other filters such as `S:"My query" date:P3d` as long as the user queries do not contain `OR`.
A use-case is to have an RSS filter with a stable address or an external API call with the ability to update the user query.

* Draft of parenthesis logic

* More draft

* Working parenthesis (a OR b) (c OR d)

* Working (A) OR (B)

* Support nested parentheses + unit tests + documentation

* search:MySearch and S:3</content>
</entry>
<entry>
<title>Fix some search expressions (#4277)</title>
<updated>2022-03-21T11:51:03+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2022-03-21T11:51:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=4d153eeaf85905e8402cc8d175f202967d909020'/>
<id>urn:sha1:4d153eeaf85905e8402cc8d175f202967d909020</id>
<content type='text'>
* Fix some search expressions
* Fix decoding bug when using quotes to search free text containing some spaces such as `"ab cd"`
* Fix use of `-` wrongly triggering a negative search in e.g. `ab-cd`

* Fix edge cases

* A couple of tests</content>
</entry>
<entry>
<title>Fix various typos and spelling errors in documentation, comments and code. (#4134)</title>
<updated>2022-01-08T15:25:17+00:00</updated>
<author>
<name>Thomas Renes</name>
<email>thomas@renesweb.nl</email>
</author>
<published>2022-01-08T15:25:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=916df412f5b6f7fb9bcfb705a3c8c23e35304410'/>
<id>urn:sha1:916df412f5b6f7fb9bcfb705a3c8c23e35304410</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Travis: Enforce phpcs line length + whitespace (#3488)</title>
<updated>2021-02-28T11:26:24+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2021-02-28T11:26:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=947e918f05d70d5dce4efa4ef403e593581c3fa9'/>
<id>urn:sha1:947e918f05d70d5dce4efa4ef403e593581c3fa9</id>
<content type='text'>
* Update Travis line length

* Also check whitespace in CSS files

* Fix line length ext.php

* More syntax, string templates

* Fix exclude-pattern

* Test JS files as well</content>
</entry>
<entry>
<title>Remove + conversion in search except for tags (#3489)</title>
<updated>2021-02-27T16:34:48+00:00</updated>
<author>
<name>Alexis Degrugillier</name>
<email>aledeg@users.noreply.github.com</email>
</author>
<published>2021-02-27T16:34:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=ea5cd595c962ae29465c8f23e503868cc605b9b2'/>
<id>urn:sha1:ea5cd595c962ae29465c8f23e503868cc605b9b2</id>
<content type='text'>
Before, every + sign was converted to a space to allow to search for
spaces. But the documentation stated that to search for space one has
to enclose the string in quotes. This has a confusing behavior when
searching for a string containing a + sign.
Now, the + conversion is kept only for the tag search since it's the
only one documented that way.

See #3454</content>
</entry>
<entry>
<title>tec: Fix test suite (#2721)</title>
<updated>2019-12-23T10:00:22+00:00</updated>
<author>
<name>Marien Fressinaud</name>
<email>dev@marienfressinaud.fr</email>
</author>
<published>2019-12-23T10:00:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=8f5d8af72f91e3fa1d47717379570964fe970069'/>
<id>urn:sha1:8f5d8af72f91e3fa1d47717379570964fe970069</id>
<content type='text'>
* Rework the travis file to enable PHPUnit

I realized that unit tests weren't executed on Travis. While working on
this file to enable these tests, I started to think we could simplify
it.

I separated jobs so:

- PHP linter and tests are only performed on PHP 7.3
- Translations are tested separatly so they can fail (it was already the
  case but it was hard to understand the way it was done)
- PHP 5.6 only checks syntax issues
- the last job checks css, js, etc. (it didn't change)

PHPUnit is not executed on 5.6 because only the version 5 is available
while the latest version is the 8 (https://phpunit.de/supported-versions.html).

I think it's easier to read (each job is more explicit) but I'm not a
Travis expert so maybe there's some room for improvements.

* Fix failing tests

The category `_name` regression was introduced in commit b323ed084.

I wasn't able to understand when and why Search tests was wrong.

The rest is about upgrade of PHPUnit.
</content>
</entry>
</feed>
