Commit Graph

6023 Commits

Author SHA1 Message Date
maTh
cd66ca54ca Docs: hidden configs (#6402)
* Create 17_configs_not_ui.md

* reorganize admin overview page. Added the link to the new doc

* Update 17_configs_not_ui.md

* Update 17_configs_not_ui.md

* Update 17_configs_not_ui.md

* fix typo
2024-05-01 14:01:40 +02:00
maTh
40ac02544e Remove test string aside_feed.phtml (#6403) 2024-04-30 19:03:08 +02:00
maTh
d4ac7ea26b Delete date opacity while hovering (#6390)
* opacity 0.3 -> 0.5

* delete opacity while hovering
2024-04-30 09:44:47 +02:00
Alexandre Alapetite
329fd4bcf6 CLI database backup and restore (#6387)
* CLI database backup and restore
Can also be used to migrate from one database to another (e.g. MySQL to PostgreSQL) or to ease upgrade to a major PostgreSQL version (e.g. 15 to 16).

* +x

* Fix some cases

* Update to docker-compose-v2

* More documentation
2024-04-30 08:31:13 +02:00
Alexandre Alapetite
173555795a ZIP tempnam (#6392)
fix https://github.com/FreshRSS/FreshRSS/issues/6388
2024-04-27 22:44:33 +02:00
Alexandre Alapetite
5ca0b893b9 Fix updated entry filters (#6334)
fix https://github.com/FreshRSS/FreshRSS/issues/6331
2024-04-26 13:29:37 +02:00
maTh
d656896a95 Fix date issue in mobile view (#6385)
* font-size: 0.7rem; in frss.css

* fix date issue in mobile view

* better CSS for date in header and footer

* RTL

* padding in mobile view
2024-04-26 13:11:38 +02:00
maTh
c47b785235 Fix: left side border of search bar input (#6376) 2024-04-25 08:48:04 +02:00
maTh
aac3b21a8b Fix: overflow expanding title in entry header (#6373)
* change HTML structure

* CSS
2024-04-25 08:45:59 +02:00
FromTheMoon
7b92266855 Update Hungarian translation (#6377) 2024-04-25 08:41:30 +02:00
maTh
154a36700c Refactoring: Rename dotpath into dotnotation (#6369)
* KIND_JSON_DOTPATH -> KIND_JSON_DOTNOTATION

* TYPE_JSON_DOTPATH => TYPE_JSON_DOTNOTATION

* json_dotpath => json_dotnotation

* dotPathsForStandardJsonFeed => dotNotationForStandardJsonFeed

* TYPE_JSON_DOTNOTATION = 'JSON+DotPath' => 'JSON+DotNotation'

* documentation: OPML.md

* convertJsonToRss()

* $dotpaths => $dotnotations

* FreshRSS_Feed_Exception

* comment

* Compatibility TYPE_JSON_DOTPATH

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2024-04-25 08:28:42 +02:00
Alexandre Alapetite
5e66adcc51 Remove noise parameters in query URL (#6371)
* Remove noise parameters in query URL
Remove undeeded `name` and `rid` parameters from saved user query

* Fix logic
2024-04-23 10:59:09 +02:00
Alexandre Alapetite
90fbb524ce Windows: release SQLite (#6285)
* Windows: release SQLite
fix https://github.com/FreshRSS/FreshRSS/issues/6275

* Do not use sharedPdo for deleting user

* Case of same user

* Help PHPStan
2024-04-21 16:25:37 +02:00
Tibor Repček
b37404cce7 Slovakian (SK) gen.php (#6366)
* Update gen.php

Related to the issue #6356

* Update app/i18n/sk/gen.php

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2024-04-21 00:50:10 +02:00
maTh
f0d9134478 Json dotpath i18n (#6368)
* Update update.phtml

* Update add.phtml
2024-04-21 00:46:32 +02:00
Tibor Repček
a51fb891b5 Slovakian (SK) index.php (#6367)
Related to the issue #6356
2024-04-21 00:45:16 +02:00
Tibor Repček
c0fdefcfeb Slovakian (SK) feedback.php (#6365)
Related to the issue #6356
2024-04-21 00:44:52 +02:00
Tibor Repček
048b36a11b Slovakian (SK) conf.php (#6364)
Related to the issue #6356
2024-04-21 00:44:15 +02:00
Tibor Repček
bbb9834f92 Slovakian (SK) admin.php (#6363)
Related to the issue #6356
2024-04-21 00:43:50 +02:00
Tibor Repček
b1c3022a91 Slovakian (SK) sub.php (#6362)
Related to the issue #6356
2024-04-21 00:43:25 +02:00
-Shiken-
339fcfda10 update zh-tw translation for new strings (#6350)
* Update new stings of zhTW translation

 Update new strings of [i18n] Translation Chinese Taiwan (正體中文 zh-tw)

* Update conf.php of zh-tw

* Update feedback.php of zh-tw

* Update gen.php of zh-TW

* Update index.php of zh-TW

* Update install.php of zh-TW

* Update sub.php of zh-tw

not finished yet

* Update sub.php

correction line 152

---------

Co-authored-by: maTh <1645099+math-GH@users.noreply.github.com>
2024-04-21 00:42:03 +02:00
Bartosz Taudul
b4d7649504 Update Polish translation. (#6358) 2024-04-21 00:41:30 +02:00
May
2f74ebafa8 [i18n] Added Czech translation (#6344)
* Add Czech tranlation for admin

* Add more translations

* add translations for sub.php

* 2nd check and remove TODO comment from translated strings

* fix

* Update sub.php

* update sub.php

---------

Co-authored-by: maTh <1645099+math-GH@users.noreply.github.com>
2024-04-21 00:40:56 +02:00
yzqzss
5c33e5191a i18n: update zh-cn translation (#6336)
* i18n: update zh-cn translation

* minor edit

* fix translations syntax

* fix translations syntax: use tab

* better translation

* clarify how Content-Type header auto-set works

* fix a mistranslation discovered by comparing #6335

Co-authored-by: <nanhualyq@gmail.com>

---------

Co-authored-by: maTh <1645099+math-GH@users.noreply.github.com>
2024-04-20 00:03:57 +02:00
maTh
81f6bbf64e Improve: input width in user query config slider (#6357) 2024-04-20 00:01:34 +02:00
Pedro Paulo
68744f0106 Add new contributor to CREDITS.md (#6354)
* Add new contributor to CREDITS.md

* Update CREDITS.md
2024-04-20 00:00:22 +02:00
FabioL
1308dd6b82 Update of italian translation (#6329)
* Updated italian translations

* Minor fixes

* Workaround bug with `array (`

* Added credits for translations

* Alphabetic order

* Revert lost line

* Update of italian translation

* Unicode ’

* Update app/i18n/it/sub.php

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

---------

Co-authored-by: loviuz <loviuz@mailbox.org>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2024-04-19 23:58:57 +02:00
Cilga Iscan Tercanli
f6f7764ba7 Update TR translation #6325 (#6328)
* Update TR translation

* Fix typo

* fix conf.php

* fix sub.php

* Update sub.php

* Update feedback.php

* Update app/i18n/tr/admin.php

---------

Co-authored-by: math-gh <1645099+math-GH@users.noreply.github.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2024-04-19 13:57:57 +02:00
Pedro Paulo
dcd3b80a90 Update PT-BR translation (#6345)
* trans: update pt-br translation

* Apply suggestions from code review

* Update app/i18n/pt-br/sub.php
2024-04-19 12:54:31 +02:00
Frans de Jonge
a5f87e0671 [i18n] Update Dutch translation for 1.24 (#6343)
Closes #6341.
2024-04-19 12:53:48 +02:00
Sungjoon Moon
e1834f61a6 i18n: Update Korean translation (#6342) 2024-04-19 12:52:59 +02:00
zu
7ccbdef935 Update of Japanese translation (#6337)
* Japanese translation of admin.php

* Japanese translation of other files

* Correction by suggestion
2024-04-19 12:52:03 +02:00
zu
bc7c680438 [zukizukizuki]Add CREDITS.md (#6339) 2024-04-19 12:51:40 +02:00
maTh
5a14ff3135 i18n: de (#6313)
* Update admin.php

* Update conf.php

* Update conf.php

* Update feedback.php

* Update index.php

* Update conf.php

* Update sub.php

* Update sub.php

* Update sub.php
2024-04-19 12:44:01 +02:00
maTh
3261b7bafb i18n improved: dotted path -> dot-notation (#6317)
* dotted path -> dot-notation

* dot-notation -> dot notation

* rename json_dotpath => json_dotnotation

* Update app/i18n/fr/sub.php

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

* Update app/i18n/fr/sub.php

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

* Update app/i18n/fr/sub.php

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

* Update app/i18n/nl/sub.php

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>

* Update app/i18n/nl/sub.php

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>

* Update app/i18n/nl/sub.php

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>

* Update app/i18n/nl/sub.php

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>

* Rename corresponding class

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
2024-04-18 14:00:17 +02:00
maTh
0ffcf41f93 Fix: API mangement section in profile page (#6314) 2024-04-17 08:28:20 +02:00
maTh
22172fd5bc Download feed configs as opml: button (#6312)
* button in feed configs

* i18n

* naming download file: added .opml

* .opml.xml

* i18n fr

* Fix i18n en-GB

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2024-04-16 15:52:59 +02:00
maTh
bf68205ae3 Improved: Reading view: author (#6289)
* move the margin from themes to frss.css + delete font-size

* same source code as normal view for author information
2024-04-15 23:14:34 +02:00
Alexandre Alapetite
b22d9279bd Update @stylistic/stylelint-plugin (#6307)
fix https://github.com/FreshRSS/FreshRSS/issues/6281
2024-04-15 15:50:00 +02:00
maTh
6901ff1e70 improved: Gap between header and first image (#6299) 2024-04-14 23:49:26 +02:00
maTh
2846fdba6f Fix Clipboard sharing (#6301) 2024-04-14 23:48:13 +02:00
Hkcomori
18532eaa61 Improve Japanese translation for CSS selector (#6294) 2024-04-13 12:32:12 +02:00
Frans de Jonge
e19b8a4e0a Add some error prevention to Debian/Ubuntu installation docs (#6290)
Reverts a minor part of <https://github.com/FreshRSS/FreshRSS/pull/2164>.
People who want to use the root can easily figure out how to do that themselves.

Fixes #4955.
2024-04-12 23:19:23 +02:00
Alexandre Alapetite
7aaed6092f SimplePie replace iframe allow attribute (#6274)
* SimplePie strip iframe allow attribute
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#allow

Besides security, the `allow autoplay` atttribute is especially problematic on mobile (Firefox on Android) as it asks to open the YouTube app as soon as the article is opened.

Example of code before:

```html
<iframe data-original="https://www.youtube.com/embed/??????feature=oembed" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen="" sandbox="allow-scripts allow-same-origin"></iframe>
```

* Replace allow attribute

* Allow more
2024-04-11 08:48:50 +02:00
Jacopo Galati
30f147410d fix selector for clipboard sharing option (#6277)
Clipboard sharing uses  <button> instead of <a>, so the selector does not find it
2024-04-11 08:48:32 +02:00
Alexandre Alapetite
350edf398c PHP 8.3 #[\Override] (#6273)
* PHP 8.3 #[\Override]
https://php.watch/versions/8.3/override-attr

With PHPStan `checkMissingOverrideMethodAttribute` https://phpstan.org/config-reference#checkmissingoverridemethodattribute

And modified the call to phpstan-next on the model of https://github.com/FreshRSS/Extensions/pull/228 (more robust than the find method, which gave some strange errors)

* Update extension example accordingly
2024-04-10 15:33:43 +02:00
Alexandre Alapetite
8280e3d88e Allow admins to create user even when there are TOS (#6269)
fix https://github.com/FreshRSS/FreshRSS/issues/5409
2024-04-08 14:49:03 +02:00
Alexandre Alapetite
72933b301e Fix paging posts per page (#6268)
* Fix paging posts per page
fix https://github.com/FreshRSS/FreshRSS/issues/6062
Due to strange scoping of anonymous function trying to update a static property

* Better type syntax
2024-04-08 14:48:30 +02:00
Alexandre Alapetite
6e12781821 Fix SimplePie absolutize URL for several cases (#6270)
This is especially relevant for HTML+XPath mode, for which we rely on proper URL "absolutize"

Upstream PR https://github.com/simplepie/simplepie/pull/861
2024-04-08 11:13:01 +02:00
Alexandre Alapetite
283341e75e Allow multiple authors on enclosures (#6272)
fix https://github.com/FreshRSS/FreshRSS/issues/5066
2024-04-08 11:10:10 +02:00