<feed xmlns='http://www.w3.org/2005/Atom'>
<title>FreshRSS (Customized)/app/i18n/ru, branch 1.26.1</title>
<subtitle>Customized version of FreshRSS, a self-hosted RSS feed aggregator</subtitle>
<id>https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.26.1</id>
<link rel='self' href='https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.26.1'/>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/'/>
<updated>2025-03-08T10:49:05+00:00</updated>
<entry>
<title>Back-compatibility cURL 7.51 (#7409)</title>
<updated>2025-03-08T10:49:05+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2025-03-08T10:49:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=d80171ebfdddad2b3b873400caf633d160e2fb12'/>
<id>urn:sha1:d80171ebfdddad2b3b873400caf633d160e2fb12</id>
<content type='text'>
* Back-compatibility cURL 7.51
fix https://github.com/FreshRSS/FreshRSS/issues/7381
And add cURL version to system info.
Do not require a specific version of cURL for now, but maybe later.

* Fix CI

* make fix-all

* Add TODOs

* Add ssl_version

* Update app/i18n/it/index.php

Co-authored-by: UserRoot-Luca &lt;55756898+UserRoot-Luca@users.noreply.github.com&gt;

---------

Co-authored-by: UserRoot-Luca &lt;55756898+UserRoot-Luca@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Added api password indicator text (#7340)</title>
<updated>2025-03-07T22:34:56+00:00</updated>
<author>
<name>Jackson Culbreth</name>
<email>88844902+culbrethj@users.noreply.github.com</email>
</author>
<published>2025-03-07T22:34:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=fdc564dd9e85a2f3fbf6087611fd6c7f42fc2ea8'/>
<id>urn:sha1:fdc564dd9e85a2f3fbf6087611fd6c7f42fc2ea8</id>
<content type='text'>
* Added api password indicator text

* make fix-all

* i18n

* i18n: it

Co-authored-by: UserRoot-Luca &lt;55756898+UserRoot-Luca@users.noreply.github.com&gt;

---------

Co-authored-by: Alexandre Alapetite &lt;alexandre@alapetite.fr&gt;
Co-authored-by: UserRoot-Luca &lt;55756898+UserRoot-Luca@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Add Portuguese from Portugal Language (#7329)</title>
<updated>2025-03-06T16:30:16+00:00</updated>
<author>
<name>Rui Melo</name>
<email>viper5000@viper5000.net</email>
</author>
<published>2025-03-06T16:30:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=ecb7a836ec2ea2692cf333a7a786e46635254caf'/>
<id>urn:sha1:ecb7a836ec2ea2692cf333a7a786e46635254caf</id>
<content type='text'>
* Good day to deal with people in high places; particularly lonely stewardesses.

* You're currently going through a difficult transition period called "Life."

* You're at the end of the road again.

* Fixes

* Add references to  pt-pt

* Fix order

* Config typos

* Update conf.php

* Fix whitespace

* Update app/i18n/pt-pt/sub.php

---------

Co-authored-by: Alexandre Alapetite &lt;alexandre@alapetite.fr&gt;</content>
</entry>
<entry>
<title>Shortcuts for adding labels (#7274)</title>
<updated>2025-02-03T07:47:25+00:00</updated>
<author>
<name>maTh</name>
<email>1645099+math-GH@users.noreply.github.com</email>
</author>
<published>2025-02-03T07:47:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=a697ca54ad7f723e52fc6591761e1f2f8b7877d6'/>
<id>urn:sha1:a697ca54ad7f723e52fc6591761e1f2f8b7877d6</id>
<content type='text'>
* add shortcut in config

* open my labels menu with shortcut

* the first 9 items are selectable + input field

* i18n

* Update app/i18n/nl/conf.php

Co-authored-by: Frans de Jonge &lt;fransdejonge@gmail.com&gt;

* index.menu.mylabels

* order fixed

---------

Co-authored-by: Frans de Jonge &lt;fransdejonge@gmail.com&gt;</content>
</entry>
<entry>
<title>Improve notification banner (#7268)</title>
<updated>2025-01-31T12:58:57+00:00</updated>
<author>
<name>maTh</name>
<email>1645099+math-GH@users.noreply.github.com</email>
</author>
<published>2025-01-31T12:58:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=f72f5e95238a866c39535932c803720d7644a276'/>
<id>urn:sha1:f72f5e95238a866c39535932c803720d7644a276</id>
<content type='text'>
* a -&gt; button

* i18n: Close

* a.close -&gt; .close

* themes

* Apply suggestions from code review

Co-authored-by: UserRoot-Luca &lt;55756898+UserRoot-Luca@users.noreply.github.com&gt;
Co-authored-by: Frans de Jonge &lt;fransdejonge@gmail.com&gt;

* Update app/i18n/fr/gen.php

---------

Co-authored-by: UserRoot-Luca &lt;55756898+UserRoot-Luca@users.noreply.github.com&gt;
Co-authored-by: Frans de Jonge &lt;fransdejonge@gmail.com&gt;
Co-authored-by: Alexandre Alapetite &lt;alexandre@alapetite.fr&gt;</content>
</entry>
<entry>
<title>Better authorization label for OIDC (#7264)</title>
<updated>2025-01-28T14:33:17+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2025-01-28T14:33:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=bb7236e26362fe6297cc76f81ae7f75caeb0b232'/>
<id>urn:sha1:bb7236e26362fe6297cc76f81ae7f75caeb0b232</id>
<content type='text'>
* Better authorization label for OIDC
Reword description of HTTP login method to include OIDC
fix https://github.com/FreshRSS/FreshRSS/issues/7254#issuecomment-2615838151
And remove several duplicated i18n entries.
And add to documentation https://www.authelia.com/integration/openid-connect/freshrss/

* Update app/i18n/it/admin.php

Co-authored-by: UserRoot-Luca &lt;55756898+UserRoot-Luca@users.noreply.github.com&gt;

* Update app/i18n/nl/admin.php

Co-authored-by: Frans de Jonge &lt;fransdejonge@gmail.com&gt;

---------

Co-authored-by: UserRoot-Luca &lt;55756898+UserRoot-Luca@users.noreply.github.com&gt;
Co-authored-by: Frans de Jonge &lt;fransdejonge@gmail.com&gt;</content>
</entry>
<entry>
<title>Improve stats page layout (#7243)</title>
<updated>2025-01-21T22:45:22+00:00</updated>
<author>
<name>maTh</name>
<email>1645099+math-GH@users.noreply.github.com</email>
</author>
<published>2025-01-21T22:45:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=afb6f788fa9c90817c9bd21e91993f4ddb462621'/>
<id>urn:sha1:afb6f788fa9c90817c9bd21e91993f4ddb462621</id>
<content type='text'>
* New stats box layout

* repartition: table overview improved with links and icons

* Show selected feed name in title

* i18n string: overview

* fix

* fix

* fix

* delete unused stat in frss

* Update app/i18n/fr/admin.php

---------

Co-authored-by: Alexandre Alapetite &lt;alexandre@alapetite.fr&gt;</content>
</entry>
<entry>
<title>New: About page with env information (#7161)</title>
<updated>2025-01-10T07:31:44+00:00</updated>
<author>
<name>maTh</name>
<email>1645099+math-GH@users.noreply.github.com</email>
</author>
<published>2025-01-10T07:31:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=82b1d999dcfaccea7996d4dccd4778754ec39389'/>
<id>urn:sha1:82b1d999dcfaccea7996d4dccd4778754ec39389</id>
<content type='text'>
* infobox

* i18n

* CSS improved

* themes

* Update app/views/index/about.phtml

Co-authored-by: Alexandre Alapetite &lt;alexandre@alapetite.fr&gt;

* Update app/views/index/about.phtml

Co-authored-by: Alexandre Alapetite &lt;alexandre@alapetite.fr&gt;

* Environment information =&gt; System information

* Issue templates: Env info -&gt; System info

* i18n: IT

Co-authored-by: UserRoot-Luca &lt;55756898+UserRoot-Luca@users.noreply.github.com&gt;

* i18n: DE

* Update app/i18n/it/index.php

Co-authored-by: UserRoot-Luca &lt;55756898+UserRoot-Luca@users.noreply.github.com&gt;

* added: php_uname()

* i18n: fr

* Add database version

---------

Co-authored-by: Alexandre Alapetite &lt;alexandre@alapetite.fr&gt;
Co-authored-by: UserRoot-Luca &lt;55756898+UserRoot-Luca@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Implement custom order-by (#7149)</title>
<updated>2025-01-06T15:00:00+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2025-01-06T15:00:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=1f466d7a2e6c8488d69012b40b40a5c1ed6ff4aa'/>
<id>urn:sha1:1f466d7a2e6c8488d69012b40b40a5c1ed6ff4aa</id>
<content type='text'>
Add option to sort results by received date (existing, default), publication date, title, URL (link), random.

fix https://github.com/FreshRSS/FreshRSS/issues/1771
fix https://github.com/FreshRSS/FreshRSS/issues/2083
fix https://github.com/FreshRSS/FreshRSS/issues/2119
fix https://github.com/FreshRSS/FreshRSS/issues/2596
fix https://github.com/FreshRSS/FreshRSS/issues/3204
fix https://github.com/FreshRSS/FreshRSS/issues/4405
fix https://github.com/FreshRSS/FreshRSS/issues/5529
fix https://github.com/FreshRSS/FreshRSS/issues/5864
fix https://github.com/FreshRSS/Extensions/issues/161

URL parameters:
* `&amp;sort=id` (current behaviour, sorting according to newest received articles)
* `&amp;sort=date` (publication date, which is not indicative of how new an article is)
* `&amp;sort=title`
* `&amp;sort=link`
* `&amp;sort=rand` (random order - which disables infinite scrolling, at least for now)

combined with `&amp;order=ASC` or `&amp;order=DESC`

![image](https://github.com/user-attachments/assets/2de5aef1-604e-4a73-a147-569f6f42a1be)

## Implementation notes

The sorting criteria by *received date* (id), which is the default, and which was the only one before this PR, is the one that has the best sorting characteristics:
* *uniqueness*: no entries have the exact same received date
* *monotonicity*: new entries always have a higher received date
* *performance*: this field is efficiently indexed in database for fast usage, including for paging (indexing could also be done to other fields, but with lower effective performance)

In contrary, sorting criteria such as by *publication date*, by *title*, or by *link* are neither unique nor monotonic. In particular, multiple articles may share the same *publication date*, and we may receive articles with a *publication date* far in the future, and then later some new articles with a *publication date* far in the past.

To understand why sorting by *publication date* is problematic, it helps to think about sorting by *title* or by *link*, as sorting by *title* and by *publication date* share more or less the same characteristics.

### Problem 1: new articles

New articles may be received in the background after what is shown on screen, and before the next user action such as *mark all as read*. Due to the lack of *monotonicity* when sorting by e.g. *publication date* or *title*, users risk marking as read a batch of articles containing some fresh articles without seeing them.

Mitigation: A parameter `idMax` tracks the maximum ID related to a batch of actions such as *mark all as read* to exclude articles received after those that are displayed.

### Problem 2: paging / pagination

When navigating articles, only a few articles are displayed, and a new "page" of articles needs to be received from the database when scrolling down or when clicking the button to show more articles. When sorting by e.g. *publication date* or *title*, it is not trivial to show the next page without re-showing some of the same articles, and without skipping any. Indeed, views are often with additional criteria such as showing only unread articles, and users may mark some articles as read while viewing them, hereby removing some articles from the previous pages. And like for *Problem 1*, new articles may have been received in the background. Consequently, it is not possible to use `OFFSET` to implement pagination (so the patches suggested by a few users were wrong due to that, in particular).

Mitigation: `idMax` is also used (just like for *Problem 1*) and a *Keyset Pagination* approach is used, combining an unstable sorting criterion such as *publication date* or *title*, together with *id* to ensure stable sorting. (So, 2 sorting criteria + 1 filter criteria)

See e.g. https://www.alwaysdeveloping.net/dailydrop/2022/07/01-keyset-pagination/

### Problem 3: performance

Sorting by anything else than *received date* (id) is doomed to be slow(er) due to the combination of 3 criteria (see *Problem 2*). An `OFFSET` approach (which is not possible anyway as explained) would be even slower. Furthermore, we have no SQL index at the moment, but they would not necessarily help much due to the multiple sorting criteria needed and involving some `OR` logic which is difficult to optimise for databases.

The nicest syntax would be using tuples and corresponding indexes, but that is poorly supported by MySQL https://bugs.mysql.com/bug.php?id=104128

Mitigation: a compatibility SQL syntax is used to implement *Keyset Pagination*

### Problem 4: user confusion

Several users have shown that they do not fully understand the difference between *received date* and *publication date*, and particularly not the pitfalls of *publication date*.

Mitigation: the menus to mark-as-read *before 1 day* and *before 1 week* are disabled when sorting by anything else than *received date*. Likewise, the separation headers *Today* and *Yesterday* and *Before yesterday* are only shown when sorting by *received date*.

Again here, to better understand why, it helps to think about sorting by *title* or by *link*, as sorting by *title* and by *publication date* share more or less the same characteristics.

* [ ] We should write a Q&amp;A and/or documentation about the problems associated to *sorting by publication date*: risks of not noticing new publication, of inadvertently marking them as read, of having some articles with a date in the future hanging at the top of the views (vice versa when sorting in ascending order), performance, etc.

### Problem 5: APIs

Sorting by anything else than *received date* breaks the guarantees needed for a successful synchronisation via API.

Mitigation: sorting by *received date* is ensured for all API calls.
</content>
</entry>
<entry>
<title>templates and i18n: link back to rss feeds (#7162)</title>
<updated>2024-12-29T22:45:50+00:00</updated>
<author>
<name>maTh</name>
<email>1645099+math-GH@users.noreply.github.com</email>
</author>
<published>2024-12-29T22:45:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=27c2e2490af9075524e663ca01061a71abf99d2f'/>
<id>urn:sha1:27c2e2490af9075524e663ca01061a71abf99d2f</id>
<content type='text'>
</content>
</entry>
</feed>
