<feed xmlns='http://www.w3.org/2005/Atom'>
<title>FreshRSS (Customized)/tests/app/Models, branch 1.19.2</title>
<subtitle>Customized version of FreshRSS, a self-hosted RSS feed aggregator</subtitle>
<id>https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.19.2</id>
<link rel='self' href='https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.19.2'/>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/'/>
<updated>2022-01-08T15:25:17+00:00</updated>
<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>Update Travis.yaml to support newer PHP versions (#3459)</title>
<updated>2021-02-19T23:35:53+00:00</updated>
<author>
<name>Brooke</name>
<email>hi@broo.ke</email>
</author>
<published>2021-02-19T23:35:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=2942d64d4fbae0cfedab05b8518b4403c4fb8926'/>
<id>urn:sha1:2942d64d4fbae0cfedab05b8518b4403c4fb8926</id>
<content type='text'>
* Update Travis

* Drop Older PHP Versions

Drops PHP 7.1 and 7.3 from tests. Also updates Translations to use PHP 7.4 instead of 7.3

* Update Test Class Names to Fix Warnings

This updates the Class name for 'CategoryTest', `passwordUtilTest.php`, and `MigratorTest.php`</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>
<entry>
<title>[ci] Add Travis (#1619)</title>
<updated>2017-09-22T10:13:46+00:00</updated>
<author>
<name>Frans de Jonge</name>
<email>fransdejonge@gmail.com</email>
</author>
<published>2017-09-22T10:13:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=4e174ed9dd84ce4f8de410baf6a6e0fde9160055'/>
<id>urn:sha1:4e174ed9dd84ce4f8de410baf6a6e0fde9160055</id>
<content type='text'>
* [ci] Add Travis

* Exclude some libs

* Semi-auto whitespace fixes

* line length in SQLite

* Exclude tests from line length

* Feed.php line length

* Feed.php: get rid of unnecessary concat

* Feed.php: line length

* bootstrap.php: no newline at end of file

* Allow concatenating across multiple lines

* Add Travis badge

* do-install line length

* update-or-create-user line length

* cli/create-user line length

* tests/app/Models/SearchTest.php fix indentation

* tests/app/Models/UserQueryTest.php fix indentation

* tests/app/Models/CategoryTest.php fix indentation

* [fix] PHP 5.3 on precise

* cli/do-install no spaces

* cli/list-users line length

* cli/reconfigure line length

* empty catch statements

* api/index line length nonsense

* spaces before semicolon

* app/Models/EntryDAO bunch of indentation

* extra blank lines

* spaces before comma in function call

* testing tabwidth

* increase to 10

* comment out tabwidth line

* try older phpcs version 3.0.0RC4

* line length exception for app/install.php

* proper spaces

* stray spaces in i18n

* Minz/ModelPdo line length

* Minz whitespace

* greader line length

* greader elseif placement

* app/Models/Feed.php spacing in function argument

* ignore php 5.3

* app/Models/ConfigurationSetter.php stray whitespace

* EntryDAOSQLite line length

* I vote for higher max line length =P

* ignore SQL

* remove classname complaint

* line length/more legible SQL

* ignore line length nonsense

* greader line length

* feedController issues

* uppercase TRUE, FALSE, NULL

* revert

* importExportController lowercase null

* Share.php default value not necessary because ! is_array () a few lines down

* CategoryDAO constants should be UPPERCASE

* EntryDAO reduce line length

* contentious autofix

* Allow failures on all versions of PHP except 7.1 because reasons
</content>
</entry>
<entry>
<title>Improve search: intitle, author, inurl</title>
<updated>2017-04-01T20:31:12+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2017-04-01T20:31:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=d9c0d25b85ef3df7ea2cdc261e274efcdd5cfce0'/>
<id>urn:sha1:d9c0d25b85ef3df7ea2cdc261e274efcdd5cfce0</id>
<content type='text'>
Allow multiple values of intitle: , author:, inurl:

Note: Tests for UserQueryTest are broken due to
https://github.com/sebastianbergmann/phpunit/wiki/Release-Announcement-for-PHPUnit-4.0.0#backwards-compatibility-issues
</content>
</entry>
<entry>
<title>Split the search into values</title>
<updated>2015-04-22T04:24:22+00:00</updated>
<author>
<name>Alexis Degrugillier</name>
<email>github@ainw.org</email>
</author>
<published>2015-04-22T04:24:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=d229216cccbd746b46630a44fa508ef0367ea1a1'/>
<id>urn:sha1:d229216cccbd746b46630a44fa508ef0367ea1a1</id>
<content type='text'>
Before, the search was a single value.
Now it is splited in chuncks when separated by spaces.
Except if they are enclosed by single quotes or double quotes.

For some reasons, the unit tests are working for both single and double quotes but the
search box isn't. It is working only with single quotes.
We need to investigate the reason of this behavior.

See #823
</content>
</entry>
<entry>
<title>Fix DAO exception</title>
<updated>2015-03-05T12:29:41+00:00</updated>
<author>
<name>Alexis Degrugillier</name>
<email>github@ainw.org</email>
</author>
<published>2015-03-05T11:45:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=96d5d9d034daadb2357f27b3763854b647f2086c'/>
<id>urn:sha1:96d5d9d034daadb2357f27b3763854b647f2086c</id>
<content type='text'>
Change the name and messages
</content>
</entry>
<entry>
<title>Introduce user queries objects</title>
<updated>2015-03-05T12:29:41+00:00</updated>
<author>
<name>Alexis Degrugillier</name>
<email>github@ainw.org</email>
</author>
<published>2015-03-01T14:18:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=5b90e1f4a0057aa78fd7d8d4d748b01676ec9073'/>
<id>urn:sha1:5b90e1f4a0057aa78fd7d8d4d748b01676ec9073</id>
<content type='text'>
There is now an object to manipulate user queries. It allows to move logic to handle those from the view and the controller in the model.
Thus making the view and the controller easier to read.
I introduced a new interface to start using dependency injection. There is still some rough edges but we are moving in the right direction.
The new object is fully tested but it still need some improvements, for instance, it is still tied to the search object.
There might be a better way to do that.
</content>
</entry>
</feed>
