Commit Graph

7003 Commits

Author SHA1 Message Date
Alexandre Alapetite
edee27ff0f Merge SimplePie 747 (#5199)
* Merge SimplePie 747
#fix https://github.com/FreshRSS/FreshRSS/issues/5195

Upstream https://github.com/simplepie/simplepie/pull/747

* Syntax error
2023-03-13 13:10:09 +01:00
Alexandre Alapetite
b6223f2cfb Fix attribute lacks space (#5203)
Bug from https://github.com/FreshRSS/FreshRSS/pull/2592
2023-03-13 13:09:28 +01:00
witchcraze
425d790735 docs: fix nginx configuration (#5194)
Update nginx nginx configuration in `Hosted in a subdirectory type.`
2023-03-13 13:02:08 +01:00
maTh
ce5572d7dd Improve about page (#5192)
* add link to documentation

* i18n for documentation

* add target="_blank" for website link

* show environment, if it is not 'production'

* just for admins

* fix

* Update app/i18n/fr/index.php

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

* Update app/i18n/en/index.php

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

* Update app/views/index/about.phtml

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

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-03-12 23:18:11 +01:00
Rebecca Scott
b22ea9d3d7 Adding myself to the credits page (#5191) 2023-03-11 22:24:00 +01:00
berumuron
165a6b7347 Update lib_opml to v0.5.1 (#5188) 2023-03-10 20:04:46 +01:00
Alexandre Alapetite
989bfc69bb Fever API fix mark-all-as-read (#5185)
#fix https://github.com/FreshRSS/FreshRSS/issues/5183

And set protected methods as private since there is no subclass, and in order to get warnings for unused methods, which would have spotted the bug.
2023-03-09 22:10:02 +01:00
obrenckle
538017c15a Update CREDITS.md (#5186) 2023-03-09 21:58:03 +01:00
obrenckle
fc7d3d4b5e Feedback when tag with same name as new category exists (#5181) 2023-03-08 21:46:24 +01:00
Luc SANCHEZ
23447f1221 Type hinting for Factory.php up to PHPStan 9 (#5090)
* Type hinting for Factory.php up to PHPStan 8

* Fix phpstan collateral

* revert test

* remarrk from Alkarex

* remark from Alkarex

* Update app/Controllers/entryController.php

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

* Remarque's from Alkarex

* Remarque's from Alkarex

* Remarque's from Alkarex

---------

Co-authored-by: Luc <sanchezluc+freshrss@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-03-08 12:39:04 +01:00
Luc SANCHEZ
6c01d05171 Typehint to greader.php file (#5108)
* Typehint to greader.php file

* remark from  aledeg

* fix phpstan

* Remarque's from Alkarex

* Revert switch case

---------

Co-authored-by: Luc <sanchezluc+freshrss@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-03-08 11:54:16 +01:00
Rebecca Scott
1c502aaac2 Add docker-compose instructions for ARM64 (#5175)
* Add docker-compose instructions for ARM64

* Update Docker/README.md

* Update Docker/README.md

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-03-07 10:33:49 +01:00
maTh
76d547d830 i18n/de (#5171) 2023-03-06 18:12:43 +01:00
maTh
f0a545a47a fix: i18n for autom. dark mode config (#5168)
* i18n

* Update app/i18n/fr/conf.php

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

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-03-06 18:12:06 +01:00
Konrad Gräfe
974e5dd133 Update CREDITS.md (#5169)
Signed-off-by: Konrad Gräfe <kgraefe@paktolos.net>
2023-03-05 21:37:32 +01:00
Konrad Gräfe
16472fd427 Fix MySQL UNIX socket support (#5166)
MySQL uses different parameters for passing UNIX socket pathts
(unix_socket) and TCP sockets (host) in contrast to PosgreSQL which uses
one for both (host).

Signed-off-by: Konrad Gräfe <kgraefe@paktolos.net>
2023-03-05 18:00:04 +01:00
maTh
068d18b69b Add: <meta name="theme-color"> (#5105)
* implemented

* themes' metadata.json

* fix

* fix

* retrigger tests

* Update lib/Minz/View.php

Co-authored-by: Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com>

* Update lib/Minz/View.php

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

* Update lib/Minz/View.php

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

* Update lib/Minz/View.php

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

* fix

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Co-authored-by: Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com>
2023-03-04 15:05:58 +01:00
Sadetdin EYILI
d3966befaf feat: create config to display website icon only / name only / icon and name / none on feeds (#4969)
* feat: create config to display website icon only / name only / icon and name / none on feeds

* fix title hovering

* reverted: column in .phtml

* Update app/i18n/fr/conf.php

---------

Co-authored-by: mathContao <math-home@web.de>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-03-04 14:51:07 +01:00
maTh
27c7367534 Improve UI/UX install process (#5147)
* less buttons on step 1

* add form-group

* jump to next step as link not as button

* improve navigation bar HTML structure

* sync password-show button with extra.js

* fix CSS

* i18n: step 4: split text strings for help text (max chars default user)

* show menu button if mobile view

* improve header layout with empty div

* step 5: button in form-actions

* improve buttons in goup-controls

* Favicon added

* Button: Font color  hover btn-attention

* install check step: add subtitles

* fix .btn

* improve tabindex

* improve showPW_this()
2023-03-04 13:57:52 +01:00
maTh
1c1e63c6ad fixed: Global view - Stick the article to the top when opened (#5153) 2023-03-04 13:47:11 +01:00
maTh
a7e1428485 defined('CLEANCACHE_HOURS') (#5144)
https://github.com/FreshRSS/FreshRSS/issues/4627
2023-03-04 13:46:46 +01:00
Alexandre Alapetite
b5969494f9 Start FreshRSS 1.21.1-dev 2023-03-04 13:43:53 +01:00
Alexandre Alapetite
88026e1e75 Merge pull request #5160 from FreshRSS/latest
Sync with latest branch
2023-03-04 13:34:54 +01:00
Alexandre Alapetite
b3239256dc Merge branch 'edge' into latest 2023-03-04 13:30:45 +01:00
Alexandre Alapetite
0fe0ce894c Update credits 1.21.0 2023-03-04 13:01:58 +01:00
Alexandre Alapetite
de062c88ea Release FreshRSS 1.21.0 2023-03-04 12:55:43 +01:00
Alexandre Alapetite
d2cc5ad3f8 Changelog 1.21.0 2023-03-04 12:42:46 +01:00
Alexandre Alapetite
32acd6c13e SimplePie use single constant for default HTTP Accept header (#5083)
* Use single constant for default SimplePie HTTP Accept
And add missing headers in `SimplePie_Locator::body()`
Follow-up of 5d966b9f64

* Update SimplePie default HTTP Accept
Fix https://github.com/FreshRSS/FreshRSS/pull/5079#issuecomment-1421619176
The `*/*` breaks Mastodon content negotiation

* Revert "Update SimplePie default HTTP Accept"

This reverts commit 13a5a5cb3b.

* Same as upstream
2023-03-04 11:18:56 +01:00
Alexandre Alapetite
44f72889a5 Safer updateCachedValues (#5158)
#fix https://github.com/FreshRSS/FreshRSS/issues/5156
2023-03-04 10:06:30 +01:00
Alexandre Alapetite
4f957dfc4c Doc git latest (#5148)
#fix https://github.com/FreshRSS/FreshRSS/issues/4949
2023-02-28 08:11:27 +01:00
maTh
21f342af2c fix: mobile view: scroll main area again after closing slider (#5092) 2023-02-27 21:35:09 +01:00
Alexandre Alapetite
c170c390b7 Dev Container extensions syntax update (#5145)
The JSON syntax has changed for specifying extensions
https://aka.ms/devcontainer.json
2023-02-27 10:08:16 +01:00
Frans de Jonge
e56ecf79f6 main.js: fix empty window opened in some cases (#5146)
Fixes the following problem:

1. Don't have any article selected (easiest by clicking on "main stream" or a category)
2. Press space
3. A blank window is opened, but since there's no link nothing else happens.
2023-02-25 12:32:59 +01:00
maTh
859c48383a docs: Minz Framwork (#5102)
* done

* Update docs/fr/developers/Minz/index.md

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-02-23 22:20:36 +01:00
mincerafter42
6764758658 add self to contributors (#5142) 2023-02-23 22:12:35 +01:00
mincerafter42
60edc28528 Corrected frss:xPathItemTitle definition (#5140) 2023-02-23 20:14:55 +01:00
Alexandre Alapetite
e2a7e192a6 Fix MySQL bug (#5132)
#fix https://github.com/FreshRSS/FreshRSS/issues/5128
MySQL cannot have multiple VARCHAR(x) whose total length is higher than 65535 in the same table.

> ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs
2023-02-23 16:21:29 +01:00
yzqzss
f3216b61b9 add archive.org as sharing service (#5096)
Co-authored-by: maTh <math-home@web.de>
2023-02-22 22:13:38 +01:00
maTh
2f9b14354c fix: group-controls min-width (#5097) 2023-02-22 22:12:52 +01:00
maTh
f015029c8e fix: sharing service config: data-leave-validation (#5098) 2023-02-22 22:11:49 +01:00
Luc SANCHEZ
212ab5c9b3 Update of PhpStan lib to last fix version (#5109)
Co-authored-by: Luc <sanchezluc+freshrss@gmail.com>
2023-02-22 21:50:09 +01:00
maTh
e908222589 fix: add sharing method (#5100) 2023-02-12 19:19:20 +01:00
Alexandre Alapetite
05ae1b0d26 XML+XPath (#5076)
* XML+XPath
#fix https://github.com/FreshRSS/FreshRSS/issues/5075
Implementation allowing to take an XML document as input using an XML parser (instead of an HTML parser for HTML+XPath)

* Remove noise from another PR

* Better MIME for XML

* And add glob *.xml for cache cleaning

* Minor syntax

* Add glob json for clean cache
2023-02-09 13:57:20 +01:00
Luc SANCHEZ
b9a62a6aaa code improvement for phpstan and humans ;) (#5084)
* code improvement for phpstan and humans ;)

* code improvement for phpstan and humans ;)

* code improvement for phpstan and humans ;)

* code improvement for phpstan and humans ;)

* PHPSTAN level 6

* PHPStan level 9

* Avoid return mixed

---------

Co-authored-by: Luc <sanchezluc+freshrss@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-02-09 13:52:55 +01:00
Alexandre Alapetite
64d68a691c Fix disabling proxy (#5082)
#fix https://github.com/FreshRSS/FreshRSS/issues/5081
Allow disabling curl proxy for specific feed, when proxy is defined globally
2023-02-08 17:52:51 +01:00
Alexandre Alapetite
e899e4edd9 More robust application of access permissions (#5062)
* More robust application of access permissions
We were in particular missing directory traversal `+X` in our current recommendations.
Extracted to own shell script so it can easily be invoked.
Update access permissions in Docker to account to be more robust.
#fix https://github.com/FreshRSS/FreshRSS/discussions/5037

* Minor simplification

* Restrict mkdir permissions
Default mkdir permissions are 0777, which is not good for security, so downgrade to 0770.
2023-02-06 15:42:53 +01:00
Alexandre Alapetite
de2077b563 Increase max HTTP timeout (#5074)
* Increase maximum HTTP request timeout from 2 minutes to 15 minutes;
    * Reason: I have some RSS Bridge generating feeds, which can take several minutes.

* Increase default HTTP request timeout from 15 to 20s.
    * Reason: I regularly observe feeds, which are slow to answer.
2023-02-06 14:11:41 +01:00
Luc SANCHEZ
40aa8b9264 Type hinting and doc (#5063)
* Type hinting and doc

* fix cs

* Remove declare strict

* Remove declare strict

* Pass PHPStan level 9
Revert too boolean syntax

* Minor wording

* Fix revert typo

---------

Co-authored-by: Luc <sanchezluc+freshrss@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2023-02-03 14:35:59 +01:00
Alexandre Alapetite
9b5de54a9c Remove -x on some files not needing it (#5065) 2023-02-03 14:34:47 +01:00
maTh
9f221e9c51 Fix: dropdowns' overflow (#5055) 2023-01-30 20:34:28 +01:00