Commit Graph

160 Commits

Author SHA1 Message Date
Alexandre Alapetite
f85c510ed4 New search engine (#4378)
* New possibility to invoke user queries from a search expression
From the search field: `S:"My query"`.
Can be combined with other filters such as `S:"My query" date:P3d` as long as the user queries do not contain `OR`.
A use-case is to have an RSS filter with a stable address or an external API call with the ability to update the user query.

* Draft of parenthesis logic

* More draft

* Working parenthesis (a OR b) (c OR d)

* Working (A) OR (B)

* Support nested parentheses + unit tests + documentation

* search:MySearch and S:3
2022-06-02 08:41:08 +02:00
Alexandre Alapetite
f89819bd64 Custom logo HTML (#4369)
* Custom logo HTML
Add option for custom HTML logo/title in the main Web UI view.
Can potentially be different per user.
#fix https://github.com/FreshRSS/FreshRSS/pull/3830/files#r850472247

* logo_html in main config
With new `./data/config.custom.php` to provide custom values before install

* Docker documentation

* whitespace

* Auto relax CSP to allow images for HTML logo

* Documentation
2022-05-23 14:03:19 +02:00
Alexandre Alapetite
e1f2ba85b1 Fix doc anchor (#4376)
* Fix doc anchor
The "search an article" link lead to a dead anchor
https://freshrss.github.io/FreshRSS/en/users/02_First_steps.html

* Fix wording
2022-05-19 21:31:44 +02:00
Alexandre Alapetite
da0a333b94 Refactor OPML export categories (#4356)
* Refactor OPML export categories
Simplify code to comply with types hints.
And renamed a property to plural.

* Link to OPML namespace
2022-05-12 22:31:31 +02:00
Alexandre Alapetite
4a87206f28 OPML export/import of some proprietary FreshRSS attributes (#4342)
* OPML export/import of some proprietary FreshRSS attributes
#fix https://github.com/FreshRSS/FreshRSS/issues/4077
And one of the TODOs of https://github.com/FreshRSS/FreshRSS/pull/4220
XPath options, CSS Selector, and action filters

* Bump library patch version

* OPML namespace + documentation

* Add example
2022-05-12 22:15:10 +02:00
Alexandre Alapetite
05d263d67c Better documentation online cron (#4355)
* Better documentation online cron
#fix https://github.com/FreshRSS/FreshRSS/pull/3637#issuecomment-849073249
#fix https://github.com/FreshRSS/FreshRSS/issues/1676

* Forgotten line

* Simplify examples

* Rework structure slightly

* More clarifications
2022-05-09 12:56:29 +02:00
maTh
54710c2046 Update 06_Mobile_access.md (#4325)
* Update 06_Mobile_access.md

* Update docs/en/users/06_Mobile_access.md

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

* Update docs/en/users/06_Mobile_access.md

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

* Update docs/en/users/06_Mobile_access.md

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

* Update docs/en/users/06_Mobile_access.md

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

* Update docs/en/users/06_Mobile_access.md

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

* Update docs/en/users/06_Mobile_access.md

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

* Update docs/en/users/06_Mobile_access.md

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

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-04-24 22:22:51 +02:00
maTh
578a05e0e3 Docs: improve backup section (#4290)
* Update 05_Backup.md

* Update 05_Backup.md

* Update docs/en/admins/05_Backup.md

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

* Update docs/en/admins/05_Backup.md

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

* Update docs/en/admins/05_Backup.md

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

* Update docs/en/admins/05_Backup.md

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

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
2022-04-11 22:56:52 +02:00
drosoCode
2aba861bc9 Add HTTP_REMOTE_USER header for auth (#4063)
* add HTTP_REMOTE_USER header for auth

* add ip whitelist for HTTP_REMOTE_USER header

* add IPv6 support for header auth

* fix formatting

* A few fixes

* Add some default trusted sources

* Fix IPv6 doc

* More standard header names

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-04-02 21:40:30 +02:00
maTh
eabe95e28c Docs: information about extensions (#4281)
* first draft

* Update docs/en/admins/15_extensions.md

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

* Update docs/en/admins/15_extensions.md

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

* Update docs/en/admins/15_extensions.md

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

* Update docs/en/admins/15_extensions.md

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

* Update 15_extensions.md

* Update docs/en/admins/15_extensions.md

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

* Update docs/en/admins/15_extensions.md

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

* Update docs/en/admins/15_extensions.md

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

* Update 15_extensions.md

* Update 15_extensions.md

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
2022-03-22 22:59:53 +01:00
maTh
be5848fd4f Improved: Sharing/Integration configuration (#4269)
* stick plus button to select list

* HTML improved very much

* drag and drop improved

* add URL button

* fix remove button behavior

* prepare for PR#4238

* improve length of inputs

* First draft of documentation of the sharing services

* new config option: depricated

* i18n for depricated text

* Doc: Blogotext depricated to 2023

* dropdown menu with config link and depricated sign

* Update entry_bottom.phtml

* Update 08_sharing_services.md

* Update template.rtl.css

* Typo Deprecated/Depricated

* typo

* updated the documentation comment

* Update shares.php

* Update app/i18n/fr/conf.php

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

* Update p/scripts/draggable.js

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

* Update p/scripts/draggable.js

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

* Documentation: services from #4270

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-03-15 22:58:30 +01:00
maTh
c7790bc59a Documentation: added information about code checks (#4266)
* Update 02_First_steps.md

* Update 02_First_steps.md

* Update 02_First_steps.md

* Update 02_First_steps.md

* Update 02_First_steps.md
2022-03-08 08:42:12 +01:00
Alexandre Alapetite
d27cf13248 News+ use GitHub links (#4262)
Google Play links do not work anymore
2022-03-06 21:32:00 +01:00
Nicolas Ferrari
a6a4e806e4 Cloud Providers page (#4247) 2022-03-02 18:03:00 +01:00
Alexandre Alapetite
7c74653cc2 Update markdownlint-cli dev dependency (#4241)
* Update markdownlint-cli dev dependency
And fix https://github.com/advisories/GHSA-6vfc-qv3f-vr6c

* npm ci
2022-02-28 20:50:39 +01:00
maTh
639f8eea84 Documentation improved: mobile access (#4235)
* Update 06_Mobile_access.md

* Readme: Windows + MacOS

* fix markdown

* Update docs/en/users/06_Mobile_access.md

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

* Update docs/en/users/06_Mobile_access.md

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

* MacOS -> macOS

* Update 06_Mobile_access.md

* Update docs/en/users/06_Mobile_access.md

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

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
2022-02-27 21:50:28 +01:00
Alexandre Alapetite
5a891dc0e4 Update dev dependencies stylelint SASS (#4173)
* Update dev dependencies stylelint SASS
Major update for stylelint with breaking changes
https://stylelint.io/migration-guide/to-14/

Applied automatic SASS migration to current syntax
https://sass-lang.com/documentation/cli/migrator#migrations

And a few manual fixes such as:
https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/dollar-variable-no-missing-interpolation/README.md

Other dev dependencies are minor updates.

* RTLCSS

* Fix color-hex-length bug

* Implement make bin/composer

* Update git hash
2022-02-04 15:41:51 +01:00
xnaas
7ab4f89f54 Fixup #3991 (#3992)
* fixup #3991

* add xnaas to CREDITS.md

* Update docs/en/users/03_Main_view.md

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

* fix typo

* Update docs/en/users/03_Main_view.md

The lines were combined into one line and `'` was replaced with `’` for contracted words.

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

Co-authored-by: maTh <math-home@web.de>
Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2022-01-21 16:41:17 +01:00
Alexandre Alapetite
1acd3ab09b Use typographic quotes (#4133)
* Use typographic quotes

* A few fixes

* Fix

* Fix not saved

* Implement feedback

* Detail

* Revert spoken English fixes
Left for a future dedicated discussion

* More reverts

* Final reverts

* Final minor
2022-01-08 21:58:55 +01:00
Thomas Renes
916df412f5 Fix various typos and spelling errors in documentation, comments and code. (#4134) 2022-01-08 16:25:17 +01:00
Alexis Degrugillier
127b7f0a3a Change i18n process (#4131)
Before, the ignore info were stored in a different file which was a bit cumbersome
for new comers. Now, this info is stored directly in the translation file as a
comment.

Before, there was no way of telling translators that a previously translated string
was in need of a new translation. Now, the dirty information is there to convey that
info.
2022-01-08 14:00:26 +01:00
Alexandre Alapetite
1335a0e3cf PHPStan level 5 (#4110)
* Fix most PHPDocs errors
Contributes to https://github.com/FreshRSS/FreshRSS/issues/4103
https://phpstan.org/writing-php-code/phpdoc-types

* Avoid func_get_args
Use variadic syntax instead https://php.net/manual/functions.arguments#functions.variable-arg-list
And avoid dynamic functions names when possible to more easily identify calls and unused functions.
Contributes to https://github.com/FreshRSS/FreshRSS/issues/4103

* PHPStan level 3

* PHPStand level 4

* Update default to PHPStan level 4

* Towards level 5

* Fix level 4 regression

* Towards level 5

* Pass PHPStan level 5

* Towards level 6

* Remove erronenous regression from changelog
https://github.com/FreshRSS/FreshRSS/pull/4116
2022-01-04 13:59:09 +01:00
Alexandre Alapetite
fb15a2d804 Search on article IDs (#4058)
* Search on article IDs
Partial implementation of https://github.com/FreshRSS/FreshRSS/issues/4053
2021-12-31 13:10:41 +01:00
maTh
078dc65cbc Improved manual: User Management/User registration (#4083)
* Draft 1 of Default User page

* Draft1 of User Management page

* Update 01_Index.md

* Update 12_User_management.md

* fix failing pipeline

* Apply suggestions from code review

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

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
2021-12-26 12:47:17 +01:00
4xfu
3340235540 Correct cron example (#4079)
The old example was inaccurate. crontab on Debian does not support a user name, but files in /etc/cron.d and /etc/crontab do (see https://manpages.debian.org/bullseye/cron/crontab.5.en.html)

According to https://manpages.debian.org/bullseye/cron/cron.8.en.html : In general, the system administrator should not use /etc/cron.d/, but use the standard system crontab /etc/crontab so I propose to append the line to this file
2021-12-23 12:26:34 +01:00
maTh
ed8703e674 Improved: Manual: username+pw for demo login (#4072)
* added: username+pw for demo login

* fix white spaces
2021-12-20 20:48:01 +01:00
happymacarts
f0ca1288d2 Update 02_First_steps.md (#4049)
spelling correction of "available"
2021-12-10 11:48:50 +01:00
xnaas
1595d557b0 Fix typo of 'envelope' and reference De Morgan's laws (#3991) 2021-11-24 09:05:18 +01:00
Alexandre Alapetite
0d31f89dd8 Remove remains of Travis (#3941)
* Remove remains of Travis
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/3920

* Update docs/en/developers/03_Running_tests.md

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

* Apply suggestions from code review

Co-authored-by: Frans de Jonge <fransdejonge@gmail.com>
Co-authored-by: Alexis Degrugillier <aledeg@users.noreply.github.com>
2021-11-02 23:46:26 +01:00
Kaibin Yang
6660a2dded Add a reminder for NGINX installations (#3741) (#3934)
Update docs/en/admins/03_Installation.md
2021-10-25 20:26:09 +02:00
Alexandre Alapetite
88e47dba80 Hot fix broken links documentation
Bug from https://github.com/FreshRSS/FreshRSS/pull/3905
2021-10-24 18:23:50 +02:00
Alexandre Alapetite
acbba9adb2 Improved markdownlint (#3918)
* Improved markdownlint
* Relaxed rules slighlty
* `npm run markdownlint` for automatic tests
* `npm run markdownlint_fix` for automatic syntax fixing
* Applied the fixes on all our Markdown files
2021-10-23 13:43:24 +02:00
Felix Bühler
915dcc3ccc Split fever & greader into two separate pages. (#3905)
* [docs] add newsflash to fever-clients

* [docs] split fever&greader-apis into two pages and make the more consistent
2021-10-23 13:32:20 +02:00
OctopusET
1f8fd53c3f Update Korean Translation with language code fix (#3914)
* Update Korean Translation

* Fix Korean language code following IETF BCP 47

* Fix Korean language code in i18n/*/gen.php

* Fix Korean language code in cli/i18n/*

* Fix Korean language code in docs

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-10-23 12:14:16 +02:00
Alexis Degrugillier
3ae7474614 Fix documentation typo (#3810)
See #3809
2021-08-30 15:11:23 +02:00
maTh
051cf5be10 docs (#3784) 2021-08-20 14:06:00 +02:00
maTh
9234a8a39a Fix docs link to dev themes (#3746)
* link fixed

* fix2
2021-08-14 12:23:16 +02:00
Alexandre Alapetite
705be9a6a1 Search labels (#3709)
* Search labels
#fix https://github.com/FreshRSS/FreshRSS/issues/3704

* Documentation

* Allow list without quotes

* Allow boolean AND searches

* Allow searching any label

* fix labels alias
2021-07-24 19:32:43 +02:00
Alexis Degrugillier
714b40e2de Add system configuration for extension (#3626)
Before, only the user configuration was supported by extensions. But it was
limiting if one has to create a system extension with configuration.
Now, both user and system configuration are supported.
2021-07-11 15:11:10 +02:00
Frans de Jonge
2733fe1fd3 [docs] Fix typo in server requirements (#3681) 2021-06-29 13:35:01 +02:00
Alexandre Alapetite
483b6eb333 Drop PHP5 and IE11 (#3666)
* Drop PHP5 and IE11
https://github.com/FreshRSS/FreshRSS/discussions/3321
Our Docker :oldest is now based on Alpine 3.5 (2016-12-22)

* More uniform

* More changelog
2021-06-07 17:53:47 +02:00
marcohald
c23e0136d0 Update 08_FeedUpdates.md (#3635)
* Update 08_FeedUpdates.md

Added hint to https://freshrss.github.io/FreshRSS/en/users/03_Main_view.html#online-cron

* Update docs/en/admins/08_FeedUpdates.md

* Update docs/en/admins/08_FeedUpdates.md

Co-authored-by: marcohald <marcohald@users.noreply.github.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-06-06 22:32:12 +02:00
Strubbl
7a350bf3ac Update README.md (#3601)
* Update README.md

Readably is not available anymore

* More lines to remove

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-05-04 21:49:36 +02:00
Petra Lamborn
90ea2156f6 Newsboat support (#3574)
* Newsboat support

Newsboat is a feed reader for the unix-derived terminal, and is the successor to Newsbeuter. FreshRSS support has been merged into master <f18145fc98> but there has not yet been a release since then. In the meantime I've created this pull request that can be merged whenever it becomes strictly accurate.

I've filled out the table to the best of my ability, but I'm not completely clear on what "Fast sync" and "Fetch more in individual views" mean.

* Does not work offline with freshrss

* More doc

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2021-04-08 18:32:27 +02:00
berumuron
cc6c529562 tec: Remove data/do-install.txt (#3555)
* Remove file data/do-install.txt

This file was painful during update because we had to remember to delete
it each time. It added a security issue by allowing an attacker to
reinstall FreshRSS during the update process.

The (more powerful) file data/applied_migrations.txt has been introduced
in 8619cf6fa to replace do-install.txt. We had to wait for at least one
release in order to make sure existing instances of FreshRSS created the
migration file. It should be ok now.

* Replace i18n install.not_deleted key

* Update documentation to update FreshRSS
2021-03-26 19:41:33 +01:00
Alexandre Alapetite
1c3159058f Quick update the doc for master renaming to edge 2021-03-15 00:00:25 +01:00
Alexandre Alapetite
b455b29c8c FocusReader (#3514) 2021-03-10 20:28:58 +01:00
Alexis Degrugillier
787e8fa463 Add user maintenance hooks (#3440)
The new hook allows to add maintenance extensions at the user level.

See #3398
2021-02-17 16:34:54 +01:00
Lukas Vacula
a3f07d7d5e Theme Documentation (#3415)
* adding self CREDITS.md

* add "theme" to link for easier navigation

* add documentation about themes and the files that go in them

* add admin documentation for themes

* fix markdown styling

* fix CSSJanus usage
2021-02-06 16:46:03 +01:00
Alexis Degrugillier
8285f1df43 Add comprehensive user configuration in extensions (#3397)
Before, the extension configuration was handled by its author. There
was discrepancies between extensions on how the configuration was
stored.
Now, we could rely on a single way of storing configuration. This won't
invalidate how the extensions are storing their configuration but will
allow authors to focus on what is important.
2021-02-02 00:03:09 +01:00