KleinMann
d670bf1e72
Add entry_before_update and entry_before_add hooks ( #7977 )
...
Discussion: https://github.com/FreshRSS/FreshRSS/discussions/7973
Changes proposed in this pull request:
- Add new extension hook "entry_before_add"
- Add new extension hook "entry_before_update"
How to test the feature manually:
1. Create extension that uses the hooks and confirm they are invoked correctly.
Extension to use for testing
https://github.com/rnkln/freshrss-xExtension-Discord/pull/2
2025-09-18 23:44:17 +02:00
Alexandre Alapetite
c8bbf35534
Add search operator c: for categories ( #7696 )
...
* Add search operator `c:` for categories
fix https://github.com/FreshRSS/FreshRSS/discussions/7692
Allow searching for e.g. `c:23,34`
2025-06-29 11:09:08 +02:00
Stefan
51298cd6bc
Exposed the reading modes for extensions through Minz ( #7668 )
...
* + Exposed the reading modes for extensions through Minz. Now extensions can add a custom view mode. Graceful fallback to normal view in case the extension was disabled without resetting the view_mode through the uninstall method. In that case the user will be informed via Minz_Request::setBadNotification that the view has been reset to normal.
+ Added translation strings for de, en and en-us for the notification
* + Added missing, generated translations
* Simplify indexAction, performance
* Minor settings htmlspecialchars
* i18n: fr
* Minor wording
* Doc
* Fix i18n
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2025-06-22 00:36:32 +02:00
Alexandre Alapetite
cc35094bb2
Add API endpoint for extensions ( #7576 )
...
* Add API endpoint for extensions
Useful for https://github.com/FreshRSS/FreshRSS/issues/7572
* Support PATH_INFO
Now also support being invoked like `/api/misc.php/Extension%20Name/`
* More documentation
2025-06-03 00:16:17 +02:00
dependabot[bot]
7d86cbe804
Bump markdownlint-cli from 0.44.0 to 0.45.0 ( #7632 )
...
* Bump markdownlint-cli from 0.44.0 to 0.45.0
Bumps [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli ) from 0.44.0 to 0.45.0.
- [Release notes](https://github.com/igorshubovych/markdownlint-cli/releases )
- [Commits](https://github.com/igorshubovych/markdownlint-cli/compare/v0.44.0...v0.45.0 )
---
updated-dependencies:
- dependency-name: markdownlint-cli
dependency-version: 0.45.0
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
* Fix Markdown
---------
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 >
2025-06-01 22:50:58 +02:00
Alexandre Alapetite
f2a7af03e8
Remove Apache 2.2 (only support Apache 2.4+) ( #7561 )
...
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/7552
I cannot find any distribution still supporting Apache 2.2
2025-05-07 14:45:43 +02:00
Alexandre Alapetite
0c33d27139
Secure serving of user files from extensions ( #7495 )
...
* Secure serving of user files from extensions
fix https://github.com/FreshRSS/FreshRSS/issues/4930
* More fixes
* Typo
2025-04-07 08:47:42 +02:00
22cs
89b0e1168e
Update 10_filter.md to provide detailed explanations of the time syntax. ( #7464 )
...
* Update 10_filter.md to provide detailed explanations of the time syntax.
* Update 03_Main_view.md to provide detailed explanations of the time syntax.
* Reworded
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2025-04-01 17:55:39 +02:00
docxml
2567f76950
Update 02_Prerequisites.md ( #7448 )
...
* Update 02_Prerequisites.md
Line numbers have varied over time
* Same for fr
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2025-03-22 23:16:20 +01:00
Alexandre Alapetite
af1b4cfa5f
Changelog + credits
2025-03-13 22:20:03 +01:00
Elanna Grossman
60b5459cac
Update Reader Link Documentation ( #7362 )
...
* docs(docs): update Reeder link to point to Reeder Classic
* docs(CREDITS): add name to credits
2025-02-24 12:35:00 +01:00
kleintux
f59cb6ed4f
Replace opml generateing nline tool with working link ( #7346 )
...
* Update 04_Subscriptions.md
* Update 04_Subscriptions.md
2025-02-21 11:29:40 +01:00
Alexandre Alapetite
d6c2daee51
Add search operator intext: ( #7228 )
...
* Add search operator intext:
fix https://github.com/FreshRSS/FreshRSS/issues/6188
https://github.com/FreshRSS/FreshRSS/discussions/7220
* Add example to doc
2025-01-25 09:16:13 +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
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
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
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
df763eb8b3
Add hook entries_favorite ( #6880 )
...
Called when entries are starred or unstarred
2024-10-14 09:35:41 +02:00
Alexandre Alapetite
e5320759eb
Minor doc requirements ( #6795 )
...
* Minor doc requirements
* Uniformisation
2024-09-11 17:15:27 +02:00
Alexandre Alapetite
af37d88d85
Improved doc search ( #6785 )
...
* Improved doc search
* <&">
2024-09-07 23:25:02 +02:00
Alexandre Alapetite
1a552bd60e
Regex search ( #6706 )
...
* Regex search
fix https://github.com/FreshRSS/FreshRSS/issues/3549
* Fix PHPStan
* Fix escape
* Fix ungreedy
* Initial support for regex search in PostgreSQL and MySQL
* Improvements, support MySQL
* Fix multiline
* Add support for SQLite
* A few tests
* Added author: and inurl: support, documentation
* author example
* Remove \b for now
* Disable regex sanitization for now
* Fix getInurlRegex
* getNotInurlRegex
* Quotes for inurl:
* Fix test
* Fix quoted tags + regex for tags
https://github.com/FreshRSS/FreshRSS/issues/6761
* Fix wrong regex detection
* Add MariaDB
* Fix logic
* Increase requirements for MySQL and MariaDB
Check support for multiline mode in MySQL
* Remove sanitizeRegexes()
* Allow searching HTML code
Allow searching for instance `/<pre>/`
Fix https://github.com/FreshRSS/FreshRSS/issues/6775#issuecomment-2331769883
* Doc regex search HTML
* Fix Doctype
2024-09-06 09:35:58 +02:00
Alexandre Alapetite
a81656c3ed
Upgrade to PHP 8.1 ( #6711 )
...
* Upgrade to PHP 8.1
As discussed in https://github.com/FreshRSS/FreshRSS/discussions/5474
https://www.php.net/releases/8.0/en.php
https://www.php.net/releases/8.1/en.php
Upgrade to available native type declarations
https://php.net/language.types.declarations
Upgrade to https://phpunit.de/announcements/phpunit-10.html which requires PHP 8.1+ (good timing, as version 9 was not maintained anymore)
Upgrade `:oldest` Docker dev image to oldest Alpine version supporting PHP 8.1: Alpine 3.16, which includes PHP 8.1.22.
* Include 6736
https://github.com/FreshRSS/FreshRSS/pull/6736
2024-09-06 09:06:46 +02:00
Alexandre Alapetite
2cd9130726
PostgreSQL suggestion of index improvement ( #6705 )
...
https://www.postgresql.org/docs/current/sql-createstatistics.html
https://www.postgresql.org/docs/current/sql-analyze.html
Requires PostgreSQL 10+ (which is already EOL - shipped with Ubuntu 18.04, Debian 10 Buster -, so update doc at the same time even when not using it) https://www.postgresql.org/docs/release/10.0/
2024-09-06 08:50:31 +02:00
Alexandre Alapetite
8fc8ac3aef
Fix code for Czech language ( #6514 )
...
Use the correct ISO 639-1 code: `cs` and not `cz` (which is the country)
https://www.loc.gov/standards/iso639-2/php/langcodes_name.php?iso_639_1=cs
2024-06-05 21:39:55 +02:00
hkcomori
99b1d551e6
Add core extensions: UserCSS, UserJS ( #6267 )
...
* Copy CustomCSS and CustomJS
Original: FreshRSS/Extensions@9f21984
* Rename CustomCSS -> UserCSS
* Rename CustomJS -> UserJS
* Change metadata
The name is used for the directory where the configuration
is stored and should not contain spaces.
Since the name was changed, I reset the version number and
changed to semantic versioning.
* Change data directory
Changed the location of the configuration file to
the user data directory, because it is not `static`.
That way, the user's configurations are gathered
in the user directory, which makes it easier to backup them.
* Edit documentations
Remove procedures to install the extension
because it is no longer necessary.
* Fix wrong variables in the configuration page
Remove permission error indication because the storage location
is now in the user data directory managed by the application.
* Remove the `xExtension-` prefix for core extensions
* Set version to 1.0.0 for UserCSS, UserJS
* Refactoring
* Remove unused variables
* Remove version 0.0.1 in Changelog
Version 0.0.1 will not be merged, so only version 1.0.0 will remain.
* public getFileUrl
* Revert more protected
* Use entrypoint for extension user path instead of name
* Add space to extension name
* Add `#[\Override]`
* Add explains of User CSS and User JS to docs
* Remove README of User CSS and User JS
* Add migration code for extension user path
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2024-06-05 20:58:19 +02:00
Alexandre Alapetite
2ed91026fc
Correct casing for GitHub ( #6460 )
2024-05-15 08:58:10 +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
th0mcat
79bf7d4967
Add Read You ( #4633 )
...
* Add Read You
* Update README.fr.md
* Add Read You
* Add Read You
* Add Read You
* Add Read You
* Beta version ready
https://github.com/Ashinch/ReadYou/pull/536
https://github.com/Ashinch/ReadYou/discussions/478
https://github.com/Ashinch/ReadYou/discussions/542
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2024-01-21 13:56:08 +01:00
Alexandre Alapetite
70e71b8364
Auto-label ( #5954 )
...
Add labels automatically to incoming articles
fix https://github.com/FreshRSS/FreshRSS/issues/2380
fix https://github.com/FreshRSS/FreshRSS/issues/2420
fix https://github.com/FreshRSS/FreshRSS/issues/3279
fix https://github.com/FreshRSS/FreshRSS/discussions/4947
fix https://github.com/FreshRSS/FreshRSS/issues/5728
fix https://github.com/FreshRSS/FreshRSS/issues/5599
2024-01-03 11:23:06 +01:00
Alexandre Alapetite
ac5980231b
API add unsubscribe example ( #5965 )
2023-12-23 11:07:14 +01:00
Alexandre Alapetite
f0d4f2762d
Rework keepmax ( #5905 )
...
* Rework keepmax
fix https://github.com/FreshRSS/FreshRSS/issues/5702
fix https://github.com/FreshRSS/FreshRSS/issues/5870
* More WIP
* Minor progress
* Progress
* Beta
* Improved debug message
* Revert noCommit
* Fix variable reset
* Remove debug syslogs
2023-12-03 19:52:02 +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
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
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
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
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
Alexandre Alapetite
06d0099504
Require PHP 7.4+ ( #5720 )
...
* Require PHP 7.4+
https://github.com/FreshRSS/FreshRSS/discussions/5474
* Update Docker oldest
Alpine 3.13 with PHP 7.4.26
* Add missing packets to Docker oldest
* Update to typed properties
https://php.net/migration74.new-features#migration74.new-features.core.typed-properties
* More types
2023-10-30 20:47:27 +01:00
Alexandre Alapetite
cc2878aed8
Release 1.22.1
2023-10-30 19:48:26 +01:00
Alexandre Alapetite
1db606bc1b
New extension hook entry_auto_read ( #5505 )
...
* New extension hook entry_auto_read
For extensions to be notified of articles being automatically marked as read for various reasons
* Documentation + entry_auto_unread
2023-07-05 11:00:26 +02:00
Alexandre Alapetite
8bf362838e
Update dev dependencies ( #5478 )
2023-06-18 23:05:28 +02:00
maTh
b1d55b8de3
fix: docs: array syntax ( #5392 )
2023-05-11 23:26:20 +02:00
maTh
2343f0ded1
Docs: delete 04_Changing_source_code.md ( #5391 )
...
* delete 04_Changing_source_code.md
* make pot
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2023-05-11 08:32:19 +02:00
maTh
54c8de86c7
docs: language table added ( #5375 )
...
* docs: language table added
* Update 05_Configuration.md
* Update 05_Configuration.md
* french docs
* Unicode quote and a few fixes
(Same search&replace aslo applied to a few other files)
---------
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr >
2023-05-07 21:35:08 +02:00
Alexandre Alapetite
6c01e4e7d6
Use typed access to request parameters ( #5267 )
...
* Use typed access to request parameters
This was a big source of mixed datatypes in many places
* Fix notifications
* Fix bookmarkAction
2023-04-07 00:13:49 +02: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
maTh
0ab130eb9c
Added: Mark theme as deprecated ( #4807 )
...
* i18n + config
* docs
* deprecated marked themes
* fix
* fix markdown
* i18n: fix link params
* i18n: French
* deprecated => no longer supported
* i18n: German
* Docs: deprecated => no longer supported
* Docs: French
* i18n: en-us
* i18n German
* isset() -> !empty()
* i18n: fix German
* i18n: English, delete // TODO
2023-01-17 15:39:55 +01:00
Alexandre Alapetite
3fb8ab8eb5
Handling of parentheses as special characters in searches ( #4989 )
...
#fix https://github.com/FreshRSS/FreshRSS/issues/4987
2023-01-09 12:59:09 +01:00
Sadetdin EYILI
de5f70c684
docs: fix formating ( #4968 )
...
Replace apostrophe backtick
2022-12-29 18:48:17 +01:00
Alexandre Alapetite
570503b7f1
Require PHP 7.2+ ( #4848 )
...
Drop PHP 7.0- as planned https://github.com/FreshRSS/FreshRSS/discussions/3321#discussioncomment-835704
2022-11-14 15:02:44 +01:00
Alexandre Alapetite
4571b7d68d
Fix broken doc fr links ( #4846 )
...
Were pointing to `.md` files
2022-11-14 14:04:26 +01:00