Commit Graph

66 Commits

Author SHA1 Message Date
Alexandre Alapetite
61724c651b PostgreSQL 9.5+ (#2554)
Needed for `CREATE  INDEX IF NOT EXISTS` syntax.
Supported as back as Ubuntu 16.04 LTS.
Similar version checks than for the PHP version bump
https://github.com/FreshRSS/FreshRSS/pull/2495
https://www.postgresql.org/docs/9.5/sql-createindex.html
https://www.postgresql.org/docs/9.5/release-9-5.html
2019-10-05 15:48:25 +02:00
Alexandre Alapetite
37b52b7361 Trim whitespace (#2544) 2019-10-01 18:12:21 +02:00
Alexandre Alapetite
823f581523 Document Reeder compatibility (#2540)
https://github.com/FreshRSS/FreshRSS/issues/2513
https://github.com/FreshRSS/FreshRSS/pull/2526
2019-09-28 23:16:21 +02:00
Alexandre Alapetite
e761202f8a Remove JSON.php fallback (#2528)
After moving to PHP 5.6+ https://github.com/FreshRSS/FreshRSS/pull/2527
it should not be necessary to have the JSON.php fallback anymore, which
was mainly there due to an obscure licensing issue 6 years ago in Debian
https://wiki.debian.org/qa.debian.org/jsonevil , which broke Ubuntu
13.10 https://github.com/FreshRSS/FreshRSS/issues/306
2019-09-18 17:18:36 +02:00
Alexandre Alapetite
38117df976 Require PHP 5.6+
Discussion
https://github.com/FreshRSS/FreshRSS/pull/2495#issuecomment-531911473
Needed for constant arrays
https://www.php.net/manual/en/migration56.new-features.php which will be
used in https://github.com/FreshRSS/FreshRSS/pull/2522
2019-09-17 20:28:07 +02:00
Marien Fressinaud
75632e70f0 Provide email address verification feature (#2481)
* Add an email field to the profile page

I reuse the `mail_login` from the configuration. I'm not sure if it's
useful today (I would say it was used when Persona login was available).

A good improvement would be to rename `mail_login` into `email` so it
would be more intuitive to use.

* Add boolean to the conf to force email validation

This commit only adds a configuration item.

* Add email during registration if email must be validated

* Set email token to validate when email changes

* Block access to FreshRSS if email is not validated

* Send email when address is changed

* Allow to resend the validation email

* Allow the user to change its email while blocked

* Document the email validation feature

* fixup! Allow the user to change its email while blocked

* tec: Autoload PHPMailer lib

* Validate email address format

* Add feedback on validation email resend action

* Allow to logout when user is blocked

* fix: Change default email "from"

* Reorganize i18n keys

* Complete all the locales with default english

* Hide sidebar (profile page) if email is not validated

* Check email requirements on registration

* Allow admin to specify email when creating users

* Don't check email format if value is empty

* Remove trailing comma in userController

Co-Authored-By: Alexandre Alapetite <alexandre@alapetite.fr>

* Set PHPMailer validator to html5 before sending email

* fixup! Remove trailing comma in userController
2019-08-29 12:02:05 +02:00
Marien Fressinaud
ad44ff8169 tec: Add Makefile and Docker conf for development (#2492)
Co-Authored-By: Frans de Jonge <fransdejonge@gmail.com>

Co-Authored-By: Alexandre Alapetite <alexandre@alapetite.fr>
2019-08-29 11:59:32 +02:00
Alexandre Alapetite
d09826c145 Docker Alpine opcache (#2498)
https://github.com/FreshRSS/FreshRSS/pull/2495#discussion_r315662184
https://php.net/ref.opcache
We need to retest the performances
https://github.com/FreshRSS/FreshRSS/pull/2205
2019-08-20 15:48:54 +02:00
Alexandre Alapetite
fd33d92d41 Require PHP 5.5+ (#2495)
* Require PHP 5.5+

https://github.com/FreshRSS/FreshRSS/issues/2469#issuecomment-522255093
I think it would be reasonable to require PHP 5.5+ for the core of
FreshRSS after all.

As Frenzie said, WordPress currently requires PHP 5.6.20+, and it is the
most popular PHP application.

We would loose about 20% of the PHP servers according to
https://w3techs.com/technologies/details/pl-php/5/all but I expect this
number to drop fast after the release of CentOS 8 (CentOS accounts for
17% of Linux servers
https://w3techs.com/technologies/details/os-linux/all/all ).

Distributions:
* no impact on Ubuntu, Fedora, Alpine, OpenWRT, FreeBSD, OpenSuze,
Mageia, as all active versions have PHP > 7
* no impact on OpenSuze, Synology, as all active versions have PHP > 5.5
* we drop Debian 8 Jessie (-2020) - we keep supporting Debian 9 Stretch
(2017-06) - current is Debian 10 Buster
* we drop Red Hat 7 (-2024) - we keep supporting RHEL 8 (2019-05)
* we drop CentOS 7 (-2024) - we will support CentOS 8 (to be released
soonish)

When dropping older versions, I can better like when it is for a good
reason, and there is actually one with PHP 5.5, namely generators
(yield) https://php.net/language.generators.overview which I consider
using.

* Version note for JSON.php

* hex2bin

* Update .travis.yml

Co-Authored-By: Frans de Jonge <fransdejonge@gmail.com>
2019-08-20 14:55:43 +02:00
Alexandre Alapetite
38a4b22f7b Doc MariaDB (#2494) 2019-08-17 13:07:30 +02:00
Frans de Jonge
20c38d7083 [CI] Run stylelint (#2477)
* [CI] Run stylelint

Perform some basic CSS sanity checking and style enforcement.

I removed vendor prefixed linear-gradient and transform because those are from the IE9 era. With IE11 as a minimum and soon obsolete requirement it doesn't make much sense anymore.

* Remove as-link override

* Don't require newline after comment

* Also apply those newline rules to SCSS

* refine opening/closing braces, allow for single-line
2019-08-14 22:29:28 +02:00
Marien Fressinaud
7fd88adeb0 Add hooks to ExtensionManager (#2482)
Hooks allow to:

- add items in menus
- perform new actions at the end of FreshRSS initialization
2019-08-14 22:19:24 +02:00
Purexo
e09cf3fc71 Promote FreshRSS-Notify in user documentation (#2445)
* Add FreshRSS-Notify in Clients compatibles section

* Add FreshRSS-Notify in Compatible clients section

* Use language-neutral link

https://addons.mozilla.org/firefox/addon/freshrss-notify-webextension/
2019-07-15 15:44:50 +02:00
Alexis Degrugillier
9720ab6a4d Add FAQ for admin section (#2427)
See #1987 and #2102
2019-06-23 21:37:30 +02:00
Sp3r4z
1a14860040 Fix line break in table (#2413)
* Fix line return 

Better with HTML native `<br>` than with `\\`

* Fix line break

Replace `\\` by native HTML `<br>`
2019-06-16 20:12:51 +02:00
Sp3r4z
f9d0f20dbc Add Dockerfile links for PHP modules list (#2409)
* Add whole PHP modules Dockerfile link

* Add Dockerfile link to whole PHP modules list
2019-06-16 17:16:21 +02:00
Alexandre Alapetite
b2d5ef4842 Merge pull request #2389 from Fake4d/patch-1
Update 03_Main_view.md
2019-05-30 12:34:10 +02:00
Alexandre Alapetite
5ccbd662c5 Fix typos 2019-05-30 12:33:27 +02:00
Alexandre Alapetite
05420ef40e Remove /de/ in URL 2019-05-30 12:30:35 +02:00
Fake4d
8df7caa0cf Update 06_Fever_API.md
Reeder-4 is new - Reeder-3 is the old version

BUT: 3 is free ;-)
And you have to pay for the new version.. So I dont know whether this should be linked here..
2019-04-29 11:03:01 +02:00
Fake4d
0cd992df37 Update 03_Main_view.md
Typo in Param maxFeeds
2019-04-29 10:40:54 +02:00
Fake4d
097d771869 Update 03_Main_view.md
Document all the parameters for "feed actualize".

the new parameter "maxfeeds" from Pull Request #2388 is already considered.
2019-04-29 10:35:28 +02:00
Alexandre Alapetite
b5e83abfc9 Add reference to Readably app
https://github.com/FreshRSS/FreshRSS/issues/1406#issuecomment-469310998
2019-03-09 12:50:03 +01:00
Alexandre Alapetite
a6623b7b2f Apache performance (#2202)
* Apache performance
API: Use SetEnvIf if available and fallback to RewriteRule
Docker: Disable unused modules.
Docker: Hard-include .htaccess to avoid having to scan for changes in
that file.
Docker: Disable security check of symlinks, which we do not use ayway.

* Apache readme

* Docker/Apache tuning
Run cron job with correct www-data user instead of root
Remove PHP GMP module uneeded for 64-bit Docker image
Add option to mount custom .htaccess for HTTP authentication
Re-add Apache module for HTTP authentication
Move Alpine-specific instructions to Docker file (instead of Apache
conf) to make it easier to have other base images than Alpine
2019-01-02 21:36:33 +01:00
Alexandre Alapetite
512d047f02 Update naming to WebSub (#2184)
Instead of PubSubHubbub / PuSH
2018-12-16 17:02:03 +01:00
Alwaysin
49869882e6 Documentation update (#2095)
* Add Phoronix CSS retrieve rule

* Update 05_Configuration.md

Mise à jour paragraphe des langues
Ajout règle CSS Phoronix

* Ajout outils externes pour récupérer contenu complet article

* Adding external tools to retrieve full-content

* Messed up for Phoronix, added back

* Update 05_Configuration.md

* Update 05_Configuration.md
2018-12-16 14:45:26 +01:00
Alexandre Alapetite
75a0b12c72 Documentation Vienna (#2126)
* Documentation Vienna / Open Reader

https://github.com/FreshRSS/FreshRSS/issues/2091
https://github.com/FreshRSS/FreshRSS/pull/2093
https://github.com/ViennaRSS/vienna-rss/issues/1197

* Remove references to Open Reader API for now
2018-12-16 14:43:32 +01:00
Alexandre Alapetite
bf838e74f4 French readme parity English (#2183)
https://github.com/FreshRSS/FreshRSS/pull/2158#issuecomment-444217219
2018-12-16 14:33:59 +01:00
Frans de Jonge
e2cb8b929b [docs] Add note about specific user for webcron (#2142)
* [docs] Add note about specific user for webcron

Cf. https://github.com/FreshRSS/FreshRSS/issues/613#issuecomment-353585547

* Small changes

* Use one of the RFC addresses for examples
2018-11-18 21:08:41 +01:00
ryliejamesthomas
4dcddff532 Note stating manually adding custom subscription services removed in FF 63 (#2112)
* Note stating manually adding custom subscription services removed in FF 63

* Amended to mention bookmarklet and upcoming issues
2018-11-11 17:32:32 +01:00
Frans de Jonge
55992d4548 [docs] Bookmarklet (#2116) 2018-11-05 18:14:35 +01:00
Maltimore
3eae8bd3b7 doc: update nginx config to reflect debian php7.0 changes (#2076) 2018-10-24 18:15:24 +02:00
Roland Arendes
de0e935105 Small docs update (see #1999) and i18n fix (see #1309) (#2026)
* Update conf.php

Small i18n fix for german translation

* Update README.md

Added Reeder-3 as an supported client via Fever API

* Update README.md

Adding Reeder-3/iOS as an supported client

* Update README.fr.md

Adding Reeder-3/iOS as an supported client

* Update 06_Fever_API.md

Adding Reeder-3/iOS as an supported client

* Update 06_Fever_API.md

Adding Reeder-3/iOS as an supported client

* Adding myself

As requested, adding myself to the list of contributors
2018-09-25 23:05:51 +02:00
Alexandre Alapetite
c00743b9b7 Update deployment links
Remove broken DP deploy links
https://github.com/DFabric/DPlatform-Shell/issues/51
2018-09-09 11:10:05 +02:00
Alexandre Alapetite
6a56894e94 New extension event + Tumblr GDPR (#1924)
* New extension event + Tumblr GDPR

https://github.com/FreshRSS/FreshRSS/issues/1894
simplepie_before_init event

* Refactor extension enabling + Tumblr GDPR enabled by default

Add possibility for extensions to be enabled by default, and disabled
back by users.

* Minor whitespace
2018-06-09 15:58:18 +02:00
Julkikod
70bb228e1d Update 06_Mobile_access.md (#1925)
* Update 06_Mobile_access.md

Mise à jour de l'aide sur l'accès via mobile

* Update 06_Mobile_access.md

* Minor text

* Minor edits
2018-06-08 16:12:04 +02:00
Alexandre Alapetite
4b9f0710eb A bit of API documentation (#1914)
https://github.com/FreshRSS/FreshRSS/issues/1754
2018-06-03 13:14:42 +02:00
Kevin Papst
8f1bad60d0 Add Fever API and user documentation (#1836)
* added fever api and documentation

* spaces to tabs

* fixed code format

* added links

* added utf8 to header

* removed XML support

* removed before check, as we have to convert it afterwards

* added sandboxed setting (currently disabled)
added support for extensions using entry_before_display

* listFeedsOrderUpdate LIMIT

https://github.com/FreshRSS/FreshRSS/pull/1836/files#r175287881

* removed custom sql by using FreshRSS_FeedDAO::listFeedsOrderUpdate()

* fixed mark all as read

* replaced custom sql for getUnread() and getStarred() with dao functions

* removed sanitization functions

* Rework fever login

* Fix config bug

Plus documentation

* Fix array syntax

For compatibility with PHP 5.3

* Disable cookies and session for API

* Fix currentUser

* added response header and error log

* adjusted phpdoc to match new authentication

* Mechanism to delete old keys

* replace PHP_INT_MAX with zero to disable limit

* replace method_exists with check for explicit methods

* removed Press support and smaller refactoring + updated docu

* Rewrite bindParamArray

Avoid one of the SQL injection risks

* Docs and readme

* Fix API link

* Simplify reverse key check

Using userConfig
2018-05-24 21:53:47 +02:00
Alexandre Alapetite
d454e90d29 Merge pull request #1837 from renzo38/dev
Selinux FAQ
2018-04-26 08:40:36 +02:00
Henry
28403cd6aa SeLinux context
Prefer apply rights to the whole data instead of individual subdir
2018-04-26 08:32:07 +02:00
Henry
f62d69e1f4 Selinux FAQ
Add PubSubHubbub sub directory
2018-04-26 07:46:15 +02:00
Alexandre Alapetite
b2c02f50c1 Merge pull request #1833 from Alkarex/logo-svg
SVG version of FreshRSS logo + text
2018-03-24 14:05:01 +01:00
Henry
67c608d44f Typo
fix typo + apply command to sub dir
2018-03-18 12:46:55 +01:00
Henry
6bac71b2e8 Fix typo
Missing quotes at the end of file
2018-03-18 11:24:50 +01:00
Henry
a0a5ec8daf Selinux FAQ
Command to run on SELinux system enabled
2018-03-18 10:06:02 +01:00
Alexandre Alapetite
84d891f8cf Light Boolean search implementation (#1828)
* Light Boolean search implementation

"Hello intitle:World OR date:P1D example"
https://github.com/FreshRSS/FreshRSS/issues/879

* Doc Boolean search

* Doc typos
2018-03-14 17:20:41 +01:00
Alexis Degrugillier
51a08cfb1a Add configuration documentation
Writting documentation is really long. Writting good documentation is really hard.
I hope the changes I've made are worth it.
2018-03-13 19:24:58 +01:00
Alexandre Alapetite
51934f02ef SVG version of FreshRSS logo + text
In two versions, one using a font, another one an SVG path.
Tested in Web browsers (Firefox, Chrome, Edge, IE) + Inkscape
2018-03-12 21:29:55 +01:00
Alexis Degrugillier
ab2aeae8d4 Add a section in the FAQ about changing a password (#1798)
See #901
2018-02-28 09:39:33 +01:00
Jérémie Bertrand
cd5bfcd791 Fix MySQL minimal requirement (#1794)
* Fix MySQL minimal requirement

* Fix MySQL minimal requirement on french docs
2018-02-25 17:32:24 +01:00