Commit Graph

5845 Commits

Author SHA1 Message Date
Alexandre Alapetite
445e49db15 Fix Minz_Extension::getVersion (#5891)
Regression from https://github.com/FreshRSS/FreshRSS/pull/5830
2023-11-17 14:59:21 +01:00
Alexandre Alapetite
e70e5542e4 Fix Minz_Session::param visibility (#5889)
Regression from https://github.com/FreshRSS/FreshRSS/pull/5830
2023-11-17 13:47:13 +01:00
Luc SANCHEZ
30c7a61a9b Use strict_types (#5830)
* Little's optimisations and booleans in conditions

* Apply strict type

* Apply strict type

* Apply strict type

* Fix multiple bugs with PHP 8.2 and 8.3

* Many declares missing, more errors fixed

* Apply strict type

* Another approach

* Stronger typing for Minz_Session

* Fix case of SQLite

---------

Co-authored-by: Luc <sanchezluc+freshrss@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-11-16 22:43:00 +01:00
martinrotter
ee99e7e2cc Update README.md - RSS Guard (#5872)
* Update README.md

* French

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-11-16 13:19:01 +01:00
maTh
0504fc6766 Added: Display option for "My labels" (#5884)
* configs

* Update entry_bottom.phtml

* i18n strings

* fix phpstand found error

* reuse existing i18n string

---------

Co-authored-by: math-gh <>
2023-11-16 13:18:33 +01:00
maTh
96515d02be Improved: Nord theme (#5885)
* fix font warnings in Firefox

* notification: margin + box-shadow

* notification line-height

* fix search input in dropdown menu

* clean code + add backdrop-filter for dropdown

* border radius of aside

* active menu item in bold

* colors of switches like on extension page

* color of error log entries

* fix global view overlay close area

* Select of sharing service

---------

Co-authored-by: math-gh <>
2023-11-16 13:11:28 +01:00
maTh
b3c0b4e979 h4,h5,h6 (#5886)
Co-authored-by: math-gh <>
2023-11-16 13:11:11 +01:00
Alexandre Alapetite
618ce380e7 More WebSub doc (#5862)
* More WebSub doc

* UI for WebSub + more documentation
And spellcheck Frech

* Links to WebSub doc from readme

* Add link to WebSub doc in admin interface

* Fix checkbox

* Plural
2023-11-14 23:28:01 +01:00
Alexandre Alapetite
8631d6f80d Favicon: avoid echo exception (#5867)
Avoid potential Information Exposure
2023-11-14 23:27:41 +01:00
Alexandre Alapetite
9eba8726ac API fix add feed with title (#5868)
fix https://github.com/FreshRSS/FreshRSS/issues/5866
2023-11-14 12:58:57 +01:00
FireFingers21
b1d568697a Fix newlines not always displaying properly in description (#5859)
* Fix newlines not displaying properly

* Add name to credits

* Restore enclosure-description class

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>

* Update app/Models/Entry.php

XHTML

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-11-13 20:20:14 +01:00
maTh
2b8b80a5a9 Docs: How to contribute new theme (#5863)
* Update 05_Configuration.md

* Update 11_Themes.md

* Update contributing.md

* Update 02_Design.md

* fix

---------

Co-authored-by: math-gh <>
2023-11-12 21:56:14 +01:00
Joe Stump
641b891972 Fix trusted cidrs check (#5853)
* Fix ignored TRUSTED_PROXY issue

* Add a sub-section to the docs no property mappings for Authentik

* Typo

* Fix typing

* A few changes to the doc

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-11-11 08:40:51 +01:00
Dan Hersam
0fb339f0f1 Update credits file for recent PR (#5854)
https://github.com/FreshRSS/FreshRSS/pull/5839
2023-11-10 23:29:47 +01:00
Dan Hersam
57f46922e8 Rework the behavior of favicon search (#5839)
* Rework the behavior of favicon search

Use xpath queries to reduce the filtering necessary.

Don't call checkUrl since the href value will not always be a full URL.

Check for a base path in the HTML to be used if the favicon href doesn't
start with a leading slash.

* Break long xpath query into two lines

* Fix issues found by CI
2023-11-10 09:14:34 +01:00
Alexandre Alapetite
e6b0f8c3e3 Document Traefik PathPrefix (#5845) 2023-11-10 08:35:31 +01:00
Alexandre Alapetite
d918ab8bc8 Fix updateTagName (#5842)
fix https://github.com/FreshRSS/FreshRSS/issues/5840
Regression from https://github.com/FreshRSS/FreshRSS/pull/5328
2023-11-09 23:59:43 +01:00
Benjamin Reich
68aa9f335e Add contribution (#5841) 2023-11-09 21:46:51 +01:00
Ben Passmore
b9939bdaac Added ability to mark articles as read on focus. (#5812)
* Added ability to mark entries as read on focus.

Feature proposed in issue #5723.

* make-fix-all + i18n fr

* Use batch to save resources and increase performance

* Use "keep_unread"

* typo

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-11-09 11:12:04 +01:00
Alexandre Alapetite
44a7c54a5a Update WebSub documentation a bit (#5829)
* Update WebSub documentation a bit

* Marien prefers not to promote his hub too much :-)
2023-11-08 20:24:24 +01:00
Alexandre Alapetite
348028a290 New feature important feeds (#5782)
* New feature important feeds

* Fix PHPStan

* Initial style for important feeds + keep unread

* Change UI order

* Count important unread

* Never mark as read important feeds during scroll

* Fix i18n conf.iew.normal regression

* Fix reader view

* More fix reader view

* Create important.svg

* Fix title

* Fix counter

* Account for important during  mark-all-as-read

* Fix underline colour

* 📌

* Changelog

---------

Co-authored-by: math-gh <>
Co-authored-by: maTh <1645099+math-GH@users.noreply.github.com>
2023-11-08 20:23:54 +01:00
Alexandre Alapetite
7d26dcc847 Remove unneeded execution permissions (#5831)
`chmod -x`
2023-11-08 13:21:36 +01:00
Alexandre Alapetite
00ae423924 Do not show message Add some feeds (#5827)
* Do not show message Add some feeds
I found this message misleading, as a view is most of the time empty due to a filter, not due to a lack of feeds.

* Remove i18n
2023-11-07 23:02:41 +01:00
François-Xavier Payet
e6c5054922 Add link to Authentik Integrations Documentation (#5828) 2023-11-07 15:35:31 +01:00
Alexandre Alapetite
85345559c7 Compatibility PHP 8.2 for running automated tests (#5826)
https://php.net/pdo.errorinfo has slightly changed signature
2023-11-07 13:15:48 +01:00
Alexandre Alapetite
711e2153d1 Fix FreshRSS logo link on Docker Hub
The link resolution does not seem to be supported automatically
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/5819
2023-11-05 23:36:13 +01:00
Alexandre Alapetite
d4f659f915 Try automatic update of Docker description
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/5819
2023-11-05 23:33:20 +01:00
Alexandre Alapetite
487c740900 Fix minor GitHub Actions (#5819)
Follow up of https://github.com/FreshRSS/FreshRSS/pull/5808
2023-11-05 23:07:46 +01:00
Benjamin Reich
8f07199777 add multi arch docker build (#5808)
* Add multi arch container build

Co-authored-by: EdJoPaTo <rfc-conform-git-commit-email@funny-long-domain-label-everyone-hates-as-it-is-too-long.edjopato.de>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>

* using label from github action

* dont remove static labels and split docker readme in seperate action

* pin 3rd party action to a commit

* enable pushing to dockerhub

* Update .github/workflows/build-images.yml

Co-authored-by: EdJoPaTo <github@edjopato.de>

* remove not needed checkout

* set github token permissions

* Update .github/workflows/push-dockerhub-readme.yml

* update docker readme to match new tags

* Apply suggestions from code review

* fix suffix for alpine image

* fix suffix for alpine image

* push images only at upstream repo

* push images only at upstream repo

* push images only at upstream repo

* tag latest-alpine as alpine

* tag latest-alpine as alpine

* remove no needed falvor

* keep falvor for build

* Clean more things

* Rename action
To use same default name than https://github.com/actions/starter-workflows/blob/main/ci/docker-publish.yml

* Rename readme action
To use same default name than https://github.com/peter-evans/dockerhub-description/blob/main/.github/workflows/dockerhub-description.yml

* Use default name for dockerhub-description
https://github.com/peter-evans/dockerhub-description/blob/main/.github/workflows/dockerhub-description.yml
Plus minor wording

* Experiment with build-args

* Debug

* Add checkout back

* Revert back to metadata-action

* Remove quotes in version

* Try to fix variables

* Experiment with automatic label values again

* Delete last Docker Hub hooks

* Use only git SHA for org.opencontainers.image.revision
https://specs.opencontainers.org/image-spec/annotations/#pre-defined-annotation-keys

* Comment out semver for now
Might be enabled later if desired

* Enable major semver

---------

Co-authored-by: EdJoPaTo <rfc-conform-git-commit-email@funny-long-domain-label-everyone-hates-as-it-is-too-long.edjopato.de>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Co-authored-by: EdJoPaTo <github@edjopato.de>
2023-11-05 22:46:01 +01:00
Justin Tracey
3b2e66051b Update CREDITS.md (#5818) 2023-11-05 20:45:01 +01:00
Justin Tracey
df56d3b3bf document username:password@ syntax in proxy_help (#5805)
* document username:password@ syntax in proxy_help

* document without credentials too

Also mark translations as dirty.

* Update app/i18n/fr/sub.php

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-11-05 11:59:48 +01:00
Frans de Jonge
ecf1585d74 init_posts(): load more posts on window resize (#5815)
* init_posts(): load more posts on window resize

Fixes:

1. Open FreshRSS in a shorter window
2. Resize to be much longer
3. Half the window remains empty

This is most obviously a problem on vertical monitors.

* Address comments

* blah blah

* typo
2023-11-04 17:49:48 +01:00
maTh
a4dc348c3d Improved: nord theme (#5810)
* new-article banner: line-height deleted

* mobile: config menu: no border-radius anymore

* mobile: form-group.group-name in bold and with :

* improve .flux

* fix dropdown

* cleanup duplicate code from frss.css

* mark as read button

* load more button

* more margin of alerts on mobile screens

* option + optgroup

* vars cleaned up

* better help text lines

---------

Co-authored-by: math-gh <>
2023-11-04 03:17:15 +01:00
maTh
d66dff4029 Fix: inputs in add a new feed (#5813)
Co-authored-by: math-gh <>
2023-11-04 03:16:21 +01:00
Alexandre Alapetite
8b2f7848eb Add support for enclosures thumbnail (#5806)
* Add support for enclosures thumbnail
fix https://github.com/FreshRSS/FreshRSS/issues/5170

* Changelog
2023-11-01 23:20:22 +01:00
Alexandre Alapetite
0795d47d82 Fix Apache IfVersion (#5804)
* Fix Apache IfVersion
fix https://github.com/FreshRSS/FreshRSS/issues/5803

* Minor changelog
2023-11-01 17:29:16 +01:00
maTh
3b408443be fix update page button (#5802)
Co-authored-by: math-gh <>
2023-11-01 14:17:33 +01:00
Jan van den Berg
61f01d9c35 Fix typo in Dutch feedback.php (#5796) 2023-11-01 09:43:15 +01:00
Alexandre Alapetite
5a383c1054 Update DB recommendations (#5793)
* Update DB recommendations
Favour PostgreSQL, based on tests such as:
https://github.com/FreshRSS/FreshRSS/pull/5648#issuecomment-1715843198
https://github.com/FreshRSS/FreshRSS/issues/5707

SQLite is generally very fine, although with the challenge that the DB model cannot easily be updated https://www.sqlite.org/lang_altertable.html#why_alter_table_is_such_a_problem_for_sqlite
(We should ship a command-line update mechanism)

I have verified that FreshRSS still works with `mysql:5.5.62`
https://hub.docker.com/layers/library/mysql/5.5.62/images/sha256-d404d78aa797c87c255e5ae2beb5d8d0e4d095f930b1f20dc208eaa957477b74?context=explore

* sqlite
2023-10-31 23:37:16 +01:00
Alexandre Alapetite
72aaea8636 Fix Docker CRON_MIN for env with special characters (#5795)
fix https://github.com/FreshRSS/FreshRSS/issues/5792
regression from https://github.com/FreshRSS/FreshRSS/pull/5772
2023-10-31 23:36:23 +01:00
Alexandre Alapetite
a5748ad74f Fix lang_name (#5798)
fix https://github.com/FreshRSS/FreshRSS/issues/5797
2023-10-31 22:25:43 +01:00
Alexandre Alapetite
0234f4e40b Document Apache 2.4+ (#5791)
And avoid crash in Apache 2.2 anyway
fix https://github.com/FreshRSS/FreshRSS/issues/5790
2023-10-31 12:27:32 +01:00
Mark Monteiro
6fd1195f95 Clarify documentation on OIDC_X_FORWARDED_HEADERS (#5789)
* Clarify documentation on OIDC_X_FORWARDED_HEADERS

* Update docs/en/admins/16_OpenID-Connect.md

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-10-31 11:13:53 +01:00
Alexandre Alapetite
ad8bae5aca Rework SQL field length (#5788)
* SQL auto-update field length
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/5756
Only for PostgreSQL and MySQL / MariaDB. Not possible for SQLite

* Account for MySQL 65535
Partial revert of https://github.com/FreshRSS/FreshRSS/pull/5756
> The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead.
2023-10-31 02:01:50 +01:00
Alexandre Alapetite
4207f2a5b2 Merge branch 'edge' of https://github.com/FreshRSS/FreshRSS into edge 2023-10-30 22:42:20 +01:00
Alexandre Alapetite
d8ef50122d Changelog 2023-10-30 22:42:17 +01:00
Alexandre Alapetite
b897bd60b7 Branch stylelint-config-recommended-scss (#5787)
https://github.com/FreshRSS/FreshRSS/pull/5766#issuecomment-1786042455
While waiting upstream merge https://github.com/stylelint-scss/stylelint-config-recommended-scss/pull/252
2023-10-30 22:41:40 +01:00
Alexandre Alapetite
5ca9101ce8 Fix type regression filterActions (#5786)
Regression from https://github.com/FreshRSS/FreshRSS/pull/5720
2023-10-30 22:28:34 +01:00
Alexandre Alapetite
9b3a867c35 Fix JS regression dropdown label (#5785)
#fix https://github.com/FreshRSS/FreshRSS/issues/5784
2023-10-30 22:23:25 +01:00
Alexandre Alapetite
21a279179a Ready for year 2038 (#5570)
* Ready for year 2038
Fix https://github.com/FreshRSS/FreshRSS/discussions/5569
Requires PHP on a 64-bit platform to take advantage of it.
https://en.wikipedia.org/wiki/Year_2038_problem

* Allows dates past 2038
Rework of https://github.com/FreshRSS/FreshRSS/pull/3259
https://github.com/FreshRSS/FreshRSS/issues/3258

* Auto alter columns

* Changelog
2023-10-30 21:10:09 +01:00