Commit Graph

6325 Commits

Author SHA1 Message Date
maTh
c308a975e0 i18n: german (#7068)
* part1

* Update sub.php
2024-12-08 16:20:01 +01:00
Alexandre Alapetite
dc08cd324b Changelog 2024-12-07 23:35:41 +01:00
Brandon Jones
07e476bc6b improve(GReader): update doc URLs; add TODO (#7074)
* improve(GReader): update doc URLs; add TODO

* Link update

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2024-12-07 21:52:51 +01:00
Alexandre Alapetite
e025d17a17 Docker: Alpine 3.21 (#7070)
PHP 8.3.14, Apache/2.4.62
https://alpinelinux.org/posts/Alpine-3.21.0-released.html
2024-12-07 12:11:58 +01:00
Luc SANCHEZ
6302404ead Optimize code: (#6983)
before
count(...)' is used in a loop and is a low performing construction.
after
Foreach instead (easier to read and support)

Co-authored-by: LucS <l.sanchez-prestataire@alptis.fr>
2024-12-07 12:09:29 +01:00
UserRoot-Luca
93578e1bc8 Added my line in CREDITS.md (#7072)
* Update CREDITS.md

* Update CREDITS.md

* Update CREDITS.md
2024-12-06 16:39:59 +01:00
UserRoot-Luca
bea829c512 i18n: Italian (#7069)
* i18n: Italian

Italian translation

* Update app/i18n/it/conf.php

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

* Update app/i18n/it/sub.php

* Update

* Update app/i18n/it/sub.php

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

* Update app/i18n/it/sub.php

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

* Update app/i18n/it/sub.php

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

* Update

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2024-12-06 14:59:24 +01:00
Alexandre Alapetite
35a2045d0c Merge SimplePie 1.8.1 (#7067)
https://github.com/FreshRSS/simplepie/pull/32
2024-12-05 23:24:55 +01:00
Alexandre Alapetite
7fa4344c8b Fix invalid login message (#7066)
fix https://github.com/FreshRSS/FreshRSS/issues/7061
2024-12-05 21:04:42 +01:00
Alexandre Alapetite
b5bf5760bf Avoid Unicode escape of authors in HTML UI (#7056)
fix https://github.com/FreshRSS/FreshRSS/issues/2770
2024-12-05 16:20:15 +01:00
Alexandre Alapetite
3b15f8a5c9 Parentheses in quoted search (#7055)
* Parentheses in quoted search
Allow parentheses in quoted search like `author:"Bob (Team1)"`
Related to https://github.com/FreshRSS/FreshRSS/pull/7054

* Doc
2024-12-05 16:19:57 +01:00
Alexandre Alapetite
8464203735 Rework UI authors (#7054)
Add separators, and mutualise code
fix https://github.com/FreshRSS/FreshRSS/issues/7032
2024-12-05 16:19:27 +01:00
aarnej
8e41190746 Add aarnej to CREDITS.md (#7065) 2024-12-05 14:42:21 +01:00
Alexandre Alapetite
5701598eda Revert "Implement showing and hiding header depending on scroll (#7029)" (#7064)
This reverts commit be9b6c7290.
https://github.com/FreshRSS/FreshRSS/pull/7029
2024-12-05 13:16:40 +01:00
Alexandre Alapetite
72b11aac65 API support edit multiple tags (#7060)
* API support edit multiple tags
fix https://github.com/FreshRSS/FreshRSS/issues/7057

* Doc typo
2024-12-05 10:43:28 +01:00
maTh
79651b942d improve api management (#7048)
* ... and sharing user queries by link (not all languages)

* Profile page: API mgm: better headline, better help text

* i18n

* i18n: " and sharing user queries"

* i18n: link to documentation + apps list

* Update app/i18n/it/conf.php

* Update app/i18n/it/conf.php

* Update app/i18n/it/conf.php

* Update app/i18n/it/conf.php

* Update app/i18n/it/conf.php

* Update app/i18n/it/conf.php

* Update app/i18n/it/conf.php

* Update app/i18n/it/admin.php

Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com>

* Update app/i18n/it/conf.php

* Update app/i18n/fr/admin.php

* i18n

* French doc cf. English

* Update app/i18n/it/conf.php

Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com>

* Update conf.php

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Co-authored-by: UserRoot-Luca <55756898+UserRoot-Luca@users.noreply.github.com>
2024-12-04 22:41:08 +01:00
killerog
b6f3bbe185 #4870 opml category text field (#7053)
* Added OPML import field description

* Update CREDITS.md

Almost forgot to add myself to the credits

* make fix-all

* i18n:fr

---------

Co-authored-by: Rogier Schoenmaker <rogier@spreadit.nl>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2024-12-04 22:31:18 +01:00
Frans de Jonge
be9b6c7290 Implement showing and hiding header depending on scroll (#7029)
* Implement showing and hiding header depending on scroll

References #7011.

* header.phtml: adjust indentation

* minor efficiency improvement

* Update p/scripts/main.js

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

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2024-12-04 22:30:04 +01:00
aarnej
e9f3922010 Fix initial scroll for some browsers (#7059)
For some browsers (I tested desktop Edge and mobile Safari), setting document.scrollingElement.scrollTop to zero does not seem to be enough to reset the scroll position at start. Setting history.scrollRestoration = 'manual' seems to fix it for these browsers.
Firefox seems to work without this fix but works also with it.
2024-12-04 22:16:00 +01:00
Alexandre Alapetite
01f2325850 Update dev dependencies (#7052)
I was expecting some of them (e.g. PHPStan) as part of the last Dependabot round, so here is a global update
2024-12-03 18:55:27 +01:00
Alexandre Alapetite
594ef04df2 Fallback to GUID if article link is empty (#7051)
* Fallback to GUID is entry link is empty
fix https://github.com/FreshRSS/FreshRSS/issues/7050

* FILTER_NULL_ON_FAILURE
2024-12-03 14:06:14 +01:00
Alexandre Alapetite
7b1563696e i18n: "still reachable" (#7049)
* i18n: "still reachable"
fix wording
https://github.com/FreshRSS/FreshRSS/pull/7030#discussion_r1866650296
and address risk of confusion
https://github.com/FreshRSS/FreshRSS/issues/7025#issuecomment-2509400455

* Fix English

* Rewording

* Update app/i18n/nl/sub.php

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

---------

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
2024-12-03 13:01:06 +01:00
Alexandre Alapetite
2c7e5b829f New button to delete errored feeds from a category (#7030)
* New button to delete errored feeds from a category
fix https://github.com/FreshRSS/FreshRSS/issues/7025
fix https://github.com/FreshRSS/FreshRSS/issues/7026

* Remove English TODO

* in error state

* Feeds with errors
2024-12-03 12:59:45 +01:00
dependabot[bot]
b84cbce905 Update phpmailer/phpmailer requirement from 6.9.2 to 6.9.3 in /lib (#7046)
* Update phpmailer/phpmailer requirement from 6.9.2 to 6.9.3 in /lib

Updates the requirements on [phpmailer/phpmailer](https://github.com/PHPMailer/PHPMailer) to permit the latest version.
- [Release notes](https://github.com/PHPMailer/PHPMailer/releases)
- [Changelog](https://github.com/PHPMailer/PHPMailer/blob/master/changelog.md)
- [Commits](https://github.com/PHPMailer/PHPMailer/compare/v6.9.2...v6.9.3)

---
updated-dependencies:
- dependency-name: phpmailer/phpmailer
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update phpmailer

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2024-12-01 20:13:27 +01:00
dependabot[bot]
0dd93ac26a Bump sass from 1.80.5 to 1.81.0 (#7044)
Bumps [sass](https://github.com/sass/dart-sass) from 1.80.5 to 1.81.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.80.5...1.81.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-01 20:01:12 +01:00
dependabot[bot]
3c85347cf0 Bump squizlabs/php_codesniffer from 3.10.3 to 3.11.1 (#7047)
Bumps [squizlabs/php_codesniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer) from 3.10.3 to 3.11.1.
- [Release notes](https://github.com/PHPCSStandards/PHP_CodeSniffer/releases)
- [Changelog](https://github.com/PHPCSStandards/PHP_CodeSniffer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHPCSStandards/PHP_CodeSniffer/compare/3.10.3...3.11.1)

---
updated-dependencies:
- dependency-name: squizlabs/php_codesniffer
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-01 20:00:38 +01:00
dependabot[bot]
20babde005 Bump markdownlint-cli from 0.42.0 to 0.43.0 (#7045)
Bumps [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli) from 0.42.0 to 0.43.0.
- [Release notes](https://github.com/igorshubovych/markdownlint-cli/releases)
- [Commits](https://github.com/igorshubovych/markdownlint-cli/compare/v0.42.0...v0.43.0)

---
updated-dependencies:
- dependency-name: markdownlint-cli
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-01 19:39:04 +01:00
dependabot[bot]
47f4f1a210 Bump stylelint from 16.10.0 to 16.11.0 in the stylelint group (#7043)
Bumps the stylelint group with 1 update: [stylelint](https://github.com/stylelint/stylelint).


Updates `stylelint` from 16.10.0 to 16.11.0
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.10.0...16.11.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: stylelint
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-01 19:36:58 +01:00
dependabot[bot]
1e770fcee1 Bump the eslint group with 4 updates (#7042)
Bumps the eslint group with 4 updates: [eslint](https://github.com/eslint/eslint), [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js), [globals](https://github.com/sindresorhus/globals) and [neostandard](https://github.com/neostandard/neostandard).


Updates `eslint` from 9.14.0 to 9.16.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.14.0...v9.16.0)

Updates `@eslint/js` from 9.14.0 to 9.16.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.16.0/packages/js)

Updates `globals` from 15.11.0 to 15.12.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v15.11.0...v15.12.0)

Updates `neostandard` from 0.11.7 to 0.11.9
- [Release notes](https://github.com/neostandard/neostandard/releases)
- [Changelog](https://github.com/neostandard/neostandard/blob/main/CHANGELOG.md)
- [Commits](https://github.com/neostandard/neostandard/compare/v0.11.7...v0.11.9)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: eslint
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: eslint
- dependency-name: globals
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: eslint
- dependency-name: neostandard
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-01 19:36:33 +01:00
Alexandre Alapetite
d89563ab40 Fix CSS selector for removing elements (#7037)
fix https://github.com/FreshRSS/FreshRSS/issues/7014
Case of negative filter matching the positive filter
2024-11-30 21:17:45 +01:00
maTh
a41aadf02a article footer small display (#7031) 2024-11-30 12:53:14 +01:00
Alexandre Alapetite
aaa4acf2a3 API return all categories also without any feed (#7020)
https://github.com/FreshRSS/FreshRSS/issues/7013#issuecomment-2495281874
2024-11-29 12:32:44 +01:00
Alexandre Alapetite
35bf292635 Changelog 2024-11-29 10:00:44 +01:00
Alexandre Alapetite
d2a7a73590 Update table of Android clients (#7034)
fix https://github.com/FreshRSS/FreshRSS/issues/6382
2024-11-28 21:24:36 +01:00
Alexandre Alapetite
98b8b9f828 Fix API use rawurldecode (#7033)
Labels or categories containing a `+` were failing.
And avoid returning everything if the label/category filter is not found.
Compatibility with FocusReader
2024-11-28 20:11:36 +01:00
Luc SANCHEZ
15745d42b7 Upgrade code to php 8.1 (#6748)
* revert
Fix code indentation
Fix code

Upgrade code to php 8.1

* fix remarques

* code review

* code review

* code review

* Apply suggestions from code review

* code review

* Fixes

* Many remainging updates of array syntax

* Lost case 'reading-list'

* Uneeded PHPDoc

---------

Co-authored-by: Luc Sanchez <l.sanchez-prestataire@alptis.fr>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2024-11-28 17:11:04 +01:00
Alexandre Alapetite
604b186638 API client update Readrops (#7027)
* API client update Readrops
(Going through the list of clients) Contributes to https://github.com/FreshRSS/FreshRSS/issues/6382
Readrops become better since my last test

* Link to issue
2024-11-28 11:21:43 +01:00
Alexandre Alapetite
c1c2dd83e4 Add Capy Reader, Android app (#7022)
Contributes to https://github.com/FreshRSS/FreshRSS/issues/6382
but without re-ordering the other ones yet
2024-11-26 17:00:22 +01:00
Alexandre Alapetite
4baed120d0 Async XHR for login form (#7023)
Fix https://github.com/FreshRSS/FreshRSS/issues/7019
2024-11-26 16:52:39 +01:00
Alexandre Alapetite
51133a5b7d Changelog 2024-11-26 14:47:31 +01:00
Alexandre Alapetite
3d8dd6e1fa Fix tag ID uniqueness (#6990)
* Fix tag ID uniqueness
fix https://github.com/FreshRSS/FreshRSS/pull/6052#discussion_r1837266309

* Update app/views/helpers/index/tags.phtml

Co-authored-by: maTh <1645099+math-GH@users.noreply.github.com>

---------

Co-authored-by: maTh <1645099+math-GH@users.noreply.github.com>
2024-11-25 09:17:17 +01:00
Alexandre Alapetite
a466e945cd Fix API add category to multiple feeds (#7017)
* Fix API add category to multiple feeds
fix https://github.com/FreshRSS/FreshRSS/issues/7013

* Fix PHPDoc variable

* Remove unused variable
2024-11-23 13:26:01 +01:00
Alexandre Alapetite
278181572e Add extension hook simplepie_after_init (#7007)
* Add extension hook simplepie_after_init
fix https://github.com/FreshRSS/FreshRSS/issues/7006

* Add documentation note

* fix doc get_headers

* Syntax void

* Forgotten code
2024-11-21 08:22:13 +01:00
Alexandre Alapetite
0f4bcdad9b Fix HTML pattern in install (#7009)
Slashes now need to be escaped because of `v` mode:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Character_class#v-mode_character_class

https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/pattern#overview

Edge:
> Pattern attribute value [0-9A-Z/a-z_.\-]{1,64}(:[0-9]{2,5})? is not a valid regular expression: Uncaught SyntaxError: Invalid regular expression: /[0-9A-Z/a-z_.\-]{1,64}(:[0-9]{2,5})?/v: Invalid character in character class

Firefox:
> Impossible de vérifier <input pattern='[0-9A-Z/a-z_.\-]{1,64}(:[0-9]{2,5})?'> car « /[0-9A-Z/a-z_.\-]{1,64}(:[0-9]{2,5})?/v » n’est pas une expression régulière valide : invalid character in class in regular expression
2024-11-19 23:05:09 +01:00
Alexandre Alapetite
6970723aeb Rework Apache deny access outside p (#7008)
* Rework Apache deny access outside p
The deny rules introduced by
https://github.com/FreshRSS/FreshRSS/pull/6881
gave problems for API access.
See also
https://github.com/FreshRSS/FreshRSS/discussions/6879

* Fix scope of deny logic

* Fix scope of deny logic

* Allow .txt
For e.g. `robots.txt`
2024-11-19 21:28:50 +01:00
Andriy Utkin
966f211202 Avoid race condition in users' homedir creation (#7000) 2024-11-18 10:57:50 +01:00
maTh
5b9248f45f New: Label menu in article row (#6984)
* configs

* add the icon in the entry header line

* rename comment

* Update main.js

* CSS

* comment typo fix

* fix gloabl view my labels menu

* improved: my labels dropdown with triangle now. yay!
2024-11-15 09:14:23 +01:00
Alexandre Alapetite
916987717e Fix redirect create user (#6995)
fix https://github.com/FreshRSS/FreshRSS/issues/6994
2024-11-14 00:15:39 +01:00
Olexandr Shaposhnyk
846e19afde [Feature] 6975: Redirect to shortcut page on pressing '?' (#6981)
* [Feature] 6975: Redirect to shortcut page on pressing '?'

* [Feature] 6975: Redirect to shortcut page on pressing '?'

* Simplify code

* Re-order for performance

* Remove shift key

---------

Co-authored-by: Olexandr Shaposhnyk <oshaposhnyk@intelliboard.net>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2024-11-13 13:00:39 +01:00
Alexandre Alapetite
e9ce099277 Changelog 2024-11-02 11:03:26 +01:00