<feed xmlns='http://www.w3.org/2005/Atom'>
<title>FreshRSS (Customized)/app/Controllers/userController.php, branch 1.16.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.16.0</id>
<link rel='self' href='https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.16.0'/>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/'/>
<updated>2020-03-07T23:14:29+00:00</updated>
<entry>
<title>Improve login and registration pages (#2794)</title>
<updated>2020-03-07T23:14:29+00:00</updated>
<author>
<name>Marien Fressinaud</name>
<email>dev@marienfressinaud.fr</email>
</author>
<published>2020-03-07T23:14:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=51edbc1578fe49b281b39d91451d2b9df0092028'/>
<id>urn:sha1:51edbc1578fe49b281b39d91451d2b9df0092028</id>
<content type='text'>
* Keep the user on login page on failure

* Show an error if username already exists

* Check the password format in the backend

* Return a better message if username is invalid

* Add a title to the login page

* wip: Improve look of login and register pages

* Set a capital M in username help message

On the registration page, username tip started with a minuscule, while
the password tip started with a capital.

* Change message if username is taken</content>
</entry>
<entry>
<title>Add an admin flag on users (#2709)</title>
<updated>2020-01-06T19:28:04+00:00</updated>
<author>
<name>Alexis Degrugillier</name>
<email>aledeg@users.noreply.github.com</email>
</author>
<published>2020-01-06T19:28:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=3c099c78537020eae3b6fe060fbe86088e996c83'/>
<id>urn:sha1:3c099c78537020eae3b6fe060fbe86088e996c83</id>
<content type='text'>
Now FRSS supports more than one admin. Admins have the same rights as
the default user. Admins can promote or demote other users. The default
user is considered as an admin even if it does not have the admin flag
enabled.

See #2096</content>
</entry>
<entry>
<title>Add user language display</title>
<updated>2019-12-07T11:57:52+00:00</updated>
<author>
<name>Alexis Degrugillier</name>
<email>github@ainw.org</email>
</author>
<published>2019-12-07T10:55:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=d13a8a0eb1c37c6b241bcea3d0123e8fa6bd8f5a'/>
<id>urn:sha1:d13a8a0eb1c37c6b241bcea3d0123e8fa6bd8f5a</id>
<content type='text'>
When managing users, I've added the language they selected to be able
to communicate with them with the selected language (if I know it).
It could be useful when managing a community or a paid service.
</content>
</entry>
<entry>
<title>Separate the update API password endpoint (#2675)</title>
<updated>2019-12-03T22:11:06+00:00</updated>
<author>
<name>Marien Fressinaud</name>
<email>dev@marienfressinaud.fr</email>
</author>
<published>2019-12-03T22:11:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=d0f1f9f141a58e090d210c221a7c1745378b96a3'/>
<id>urn:sha1:d0f1f9f141a58e090d210c221a7c1745378b96a3</id>
<content type='text'>
* Extract hashPassword method from userController

* Extract and refactor fever key-related methods

* Move update of API password to dedicated action

* Simplify the controller by refactoring feverUtil

* Add locales
</content>
</entry>
<entry>
<title>Upgrade user management page (#2417)</title>
<updated>2019-12-03T21:32:17+00:00</updated>
<author>
<name>Alexis Degrugillier</name>
<email>aledeg@users.noreply.github.com</email>
</author>
<published>2019-12-03T21:32:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=0de7e84380dff5222e6728aacbbb42abaac51dd9'/>
<id>urn:sha1:0de7e84380dff5222e6728aacbbb42abaac51dd9</id>
<content type='text'>
Before, the use of the user management page was a little bit tedious
when there was many users. One must select a user to view some
metrics, to update it, or to delete it.
Now, the view is clearer because it shows all users at once with
their metrics. I introduced a detail page that repeats the metrics
but also allow to purge the user's feeds, to update or delete the
user.

This is the first step to make that page more useful and user-friendly.
I have in mind to add a pager for when there is a lot of users, a metric
to know when was the last time the user was using the application, and
a flag to know if the user has admin rights.

See #2096 and #2504 for ideas and inspiration</content>
</entry>
<entry>
<title>FIX email token check if not in user-config (#2686)</title>
<updated>2019-11-26T18:26:07+00:00</updated>
<author>
<name>Purexo</name>
<email>contact@purexo.mom</email>
</author>
<published>2019-11-26T18:26:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=86dda604313b1b599cc741c25e05957e7218e2de'/>
<id>urn:sha1:86dda604313b1b599cc741c25e05957e7218e2de</id>
<content type='text'>
* FIX email token check if not in user-config

* fix missing semicolon
</content>
</entry>
<entry>
<title>Add log in fever api saving process (#2664)</title>
<updated>2019-11-18T09:04:32+00:00</updated>
<author>
<name>Alexis Degrugillier</name>
<email>aledeg@users.noreply.github.com</email>
</author>
<published>2019-11-18T09:04:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=d3735d04fcdb557a2ecc798f9914b9f769daf781'/>
<id>urn:sha1:d3735d04fcdb557a2ecc798f9914b9f769daf781</id>
<content type='text'>
Before, there was no user log when the fever api credential saving process
was failing. There was one though for the admin user but it did not appear
in the interface.
Now, there is a user log showing what the problem is. The admin log is still
there but catch only unknown errors.

See #2663</content>
</entry>
<entry>
<title>Default or custom OPML (#2627)</title>
<updated>2019-11-04T16:45:15+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2019-11-04T16:45:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=7819a43197d34ef7a6c5626e9e48d7db075c37c9'/>
<id>urn:sha1:7819a43197d34ef7a6c5626e9e48d7db075c37c9</id>
<content type='text'>
* Default or custom OPML

Fix https://github.com/FreshRSS/FreshRSS/issues/2075
Replaces https://github.com/FreshRSS/FreshRSS/pull/2515
https://github.com/FreshRSS/FreshRSS/issues/2514

Uses the local ./data/opml.xml if it exists, otherwise
./opml.default.xml

* Better message

* Move to controller
</content>
</entry>
<entry>
<title>PDO refactoring for code simplification (#2522)</title>
<updated>2019-09-29T14:22:50+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2019-09-29T14:22:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=e3e5954394f4523850c78e80e496f1b916622677'/>
<id>urn:sha1:e3e5954394f4523850c78e80e496f1b916622677</id>
<content type='text'>
* PDO refactor

* Automatic prefix when using the syntax `_tableName`
* Uniformity: MySQL is now PDO::ATTR_EMULATE_PREPARES = false just like SQLite and PostgreSQL, with consequences such as only one statement per query
* Use PDO methods exec(), query(), prepare() + execute() in a more efficient way
* Remove auto-update SQL code for versions older than FreshRSS 1.5 (3 years old)
* The name of the default category is set in PHP instead of in the DB (simplies SQL and allows changing the name according to the FreshRSS language)
* Rename `-&gt;bd` to `-&gt;pdo` (less of a frenshism, and more informative)
* Fix some requests, which were not compatible with MySQL prepared statements

* Whitespace

* Fix syntax for PostgreSQL sequences

+ MySQL install

* Minor formatting

* Fix lastInsertId for PostgreSQL

* Use PHP 5.6+ const

Take advantage of https://github.com/FreshRSS/FreshRSS/pull/2527
https://www.php.net/manual/en/migration56.new-features.php

* A bit of forgotten PHP 5.6 simplification for cURL

* Forgotten $s

* Mini fix custom user config

https://github.com/FreshRSS/FreshRSS/pull/2490/files#r326290346

* More work on install.php but not finished

* install.php working

* More cleaning of PDO in install

* Even more simplification

Take advantage of PDO-&gt;exec() to run multiple statements

* Disallow changing the name of the default category

https://github.com/FreshRSS/FreshRSS/pull/2522#discussion_r326967724
</content>
</entry>
<entry>
<title>Add support for terms of service</title>
<updated>2019-09-17T07:21:23+00:00</updated>
<author>
<name>Marien Fressinaud</name>
<email>dev@marienfressinaud.fr</email>
</author>
<published>2019-09-13T15:33:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=a2ed6626c2f4e85878f775abcac897a1fd3a1f42'/>
<id>urn:sha1:a2ed6626c2f4e85878f775abcac897a1fd3a1f42</id>
<content type='text'>
This feature is optional. It is based on the presence of a
`data/tos.html` file that an administrator can create. If this file
exists, FreshRSS will automatically add a "ToS" checkbox on the
registration page that users must check to be able to create their
account.
</content>
</entry>
</feed>
