Commit Graph

4285 Commits

Author SHA1 Message Date
Frans de Jonge
651cfd0daa Allow easy Docker port override 2019-11-12 20:33:13 +01:00
Alexandre Alapetite
874fce6656 Merge branch 'master' into dev 2019-11-12 09:30:09 +01:00
Alexandre Alapetite
4316914c61 Release FreshRSS 1.15.2 2019-11-12 09:29:29 +01:00
Alexandre Alapetite
bfd07aac66 Changelog 2509 2644-2648 2019-11-11 19:57:40 +01:00
Alexandre Alapetite
bec7566429 Sanitize UTF-8 before commiting entries (#2649)
Fix https://github.com/FreshRSS/FreshRSS/issues/2645
2019-11-11 19:48:45 +01:00
Alexandre Alapetite
6fb60d470a Fix DB optimize for MySQL (#2647)
`pdo->exec()` is not appropriate for MySQL `OPTIMIZE` because `OPTIMIZE`
returns some data and not only a code and then fails.
2019-11-11 19:48:23 +01:00
Alexandre Alapetite
6a643d180e Fix CLI install for SQLite (#2648)
One forgotten condition. Related to
https://github.com/FreshRSS/FreshRSS/pull/2646 and
https://github.com/FreshRSS/FreshRSS/pull/2635
2019-11-09 01:47:58 +01:00
Alexis Degrugillier
59f284d229 Rename sharing action (#2643)
Before, some ad-blocker rules were preventing to display the sharing page
because of its name. I've renamed that page to integration but kept every
thing else identical. So it's still called sharing through out the
application.
If needed, this can be addressed as well.

See #2509 and #2419
2019-11-08 23:49:43 +01:00
Alexandre Alapetite
f1d1d46651 Fix CLI bug regarding an empty user (#2646)
Fix https://github.com/FreshRSS/FreshRSS/issues/2644
2019-11-08 23:11:35 +01:00
Alexandre Alapetite
91cb165829 Merge pull request #2633 from FreshRSS/dev
FreshRSS 1.15.1
1.15.1
2019-11-06 21:54:13 +01:00
Alexandre Alapetite
6d596e9e54 More reset default category name (#2639)
Improve https://github.com/FreshRSS/FreshRSS/pull/2638
2019-11-06 20:49:04 +01:00
Alexandre Alapetite
ba56d650e9 Release 1.15.1 2019-11-06 19:53:31 +01:00
Alexandre Alapetite
61878794a9 Fix name of default category (#2638)
Fix https://github.com/FreshRSS/FreshRSS/issues/2637
2019-11-06 19:49:51 +01:00
Alexandre Alapetite
22030155f8 Fix database autocreate at install (#2635)
* Fix database autocreate at install

Several bugs prevented the auto-creation of the database in Web and CLI
installs.
Fix
https://github.com/YunoHost-Apps/freshrss_ynh/issues/84#issuecomment-549818408

* initDb

https://github.com/FreshRSS/FreshRSS/pull/2635#discussion_r343107795
2019-11-06 15:16:00 +01:00
Alexandre Alapetite
12cdd2cdf6 Changelog wording
More similar to previous releases
2019-11-05 22:54:21 +01:00
Alexandre Alapetite
25bc1eea74 Changelog 2630 2634 2635 2019-11-05 22:31:55 +01:00
Alexandre Alapetite
8b0f9fae9f Cookie same-site (#2630)
* Set-Cookie SameSite

* https://tools.ietf.org/html/draft-ietf-httpbis-cookie-same-site-00
* https://tools.ietf.org/html/draft-ietf-httpbis-rfc6265bis-02#section-5.3.7
* https://blog.mozilla.org/security/2018/04/24/same-site-cookies-in-firefox-60/
* https://blog.chromium.org/2019/10/developers-get-ready-for-new.html

Set to Lax instead of Strict to allow linking to allow linking to FreshRSS sub-pages without having to log-in again
2019-11-05 18:11:38 +01:00
Marien Fressinaud
bba0b05655 Fix favorite display for "current" articles (#2634)
Favorite articles have, in most of the themes, a gold background to
distinguish them from the other articles. However, it can be distracting
to have such a background when reading the articles, so we should turn
them back to the "default" background when articles are opened (class
`.current`).

Bug introduced in e9ce27d8d9

Related PRs:

- https://github.com/FreshRSS/FreshRSS/pull/2477
- https://github.com/FreshRSS/FreshRSS/pull/2611
- https://github.com/FreshRSS/FreshRSS/pull/2612

Closes https://github.com/FreshRSS/FreshRSS/issues/2618
2019-11-05 16:42:29 +01:00
Alexandre Alapetite
7a4f42df4b Merge branch 'master' into dev 2019-11-04 22:16:49 +01:00
Alexandre Alapetite
c7222d4331 Changelog 2621 2625 etc. 2019-11-04 22:05:26 +01:00
Marien Fressinaud
90cb9a2162 fix: Gitignore opml.xml (#2632)
This file is used to add default feeds to new users. It was added in
7819a43197

Problem is that the file is not ignored by Git and risk to be deleted
during a git update.
2019-11-04 18:24:08 +01:00
Alexandre Alapetite
122e4b412a Fix PostgreSQL size bug for uppercase (#2631)
Crash for users with uppercase letters
2019-11-04 18:13:13 +01:00
Alexandre Alapetite
2495172a05 Better git fetch (#2626)
Related to https://github.com/FreshRSS/FreshRSS/pull/2625

If for some reasons branches have diverged:, e.g.:

```
$ git status -sb --porcelain remote
## dev...origin/dev [ahead 4, behind 1]
```
2019-11-04 18:05:20 +01:00
Alexandre Alapetite
7819a43197 Default or custom OPML (#2627)
* Default or custom OPML

Fix https://github.com/FreshRSS/FreshRSS/issues/2075
Replaces https://github.com/FreshRSS/FreshRSS/pull/2515
https://github.com/FreshRSS/FreshRSS/issues/2514

Uses the local ./data/opml.xml if it exists, otherwise
./opml.default.xml

* Better message

* Move to controller
2019-11-04 17:45:15 +01:00
MonsieurP0uet
67fc72fb61 Correction in the line 38 (#2628) 2019-11-02 23:49:02 +01:00
Alexandre Alapetite
c277e15141 Git fetch+reset instead of clean+fetch+merge (#2625)
Fix https://github.com/FreshRSS/FreshRSS/issues/2619
Avoid potentially dangerous git clean, and use more robust fetch + reset
strategy instead
2019-11-02 13:38:04 +01:00
Alexandre Alapetite
6a317d876c API 64-bit ID as string (#2621)
Fix https://github.com/FreshRSS/FreshRSS/issues/2620
2019-11-02 00:46:58 +01:00
Alexandre Alapetite
0cc2c4628c Start 1.15.1-dev 2019-11-01 11:47:31 +01:00
Alexandre Alapetite
3aa66f317b Merge pull request #2599 from FreshRSS/dev
FreshRSS 1.15
1.15.0
2019-10-31 18:15:47 +01:00
Alexandre Alapetite
fcae48f313 Release version 1.15 2019-10-31 17:02:34 +01:00
Marien Fressinaud
4058898de2 Fix categories sorting (#2616)
I had a bug when some articles in a category were unread. Sometimes,
filtering the category displayed all the articles, even with the "Adjust
showing" option.

A reasonably good guess was to look the last commits that impacted the
categories and, indeed, it was introduced by the new category sorting
system.

The sort function (`usort`) doesn't keep the index association, which is
important here. I must admit I don't understand exactly why (I didn't
search), but the keys are probably used somewhere. Another fix would be
to not rely on these keys anymore.

The bug was introduced in 042fcd5e93

- Ref PR: https://github.com/FreshRSS/FreshRSS/pull/2592
- Ref usort: https://www.php.net/manual/en/function.usort.php
- Ref uasort: https://www.php.net/manual/en/function.uasort.php
2019-10-31 12:33:18 +01:00
Quentí
00b0f76ef4 Update sub.php (#2615) 2019-10-30 20:08:48 +01:00
Alexis Degrugillier
6c63e0186a Update link in the README (#2614)
Website seems dead. Changed by repository URL.

See #2613
2019-10-29 23:11:27 +01:00
Frans de Jonge
2d3f7e7179 Fix unread styles (#2612)
* [fix] Flat unread CSS style

Same as #2611.

* [fix] Origine-Compact unread CSS style

Same as #2611.

* [fix] Swage unread CSS style

Same as #2611.
2019-10-28 09:58:52 +01:00
Frans de Jonge
7d9574e6f2 [fix] Origine unread CSS style (#2611)
Fixes #2604.
2019-10-27 21:59:36 +01:00
Frans de Jonge
e0275beb8d [i18n] Update Dutch translation for v1.15 (#2610)
Cf. <https://github.com/FreshRSS/FreshRSS/pull/2599>.
2019-10-27 20:54:06 +01:00
Alexandre Alapetite
a0d0fe81b1 More credits 2019-10-27 20:52:13 +01:00
Alexandre Alapetite
e4511c3d34 keep_max disabled by default for existing installations (#2607)
Fix https://github.com/FreshRSS/FreshRSS/issues/2600
Second attempt https://github.com/FreshRSS/FreshRSS/pull/2602
2019-10-27 18:04:59 +01:00
Alexis Degrugillier
571fb31af8 Add a warning message for Firefox user (#2606)
From version 63 and onwards, Firefox has removed the ability to add subscription
services. This is a warning for deprecation on the subscription tools page.

See #2100
2019-10-27 17:34:55 +01:00
Alexis Degrugillier
4b5474c87e Add systemd configuration in documentation (#2605)
See #2561 and #2557
2019-10-27 12:32:36 +01:00
Quentí
c39b716a70 [i18n] Occitan update: purge options (#2603)
* Update sub.php

* Update gen.php

* Update conf.php
2019-10-26 20:00:32 +02:00
Alexandre Alapetite
b546d2d77d keep_max disabled by default for existing installations (#2602)
https://github.com/FreshRSS/FreshRSS/issues/2600
2019-10-26 17:51:23 +02:00
Alexandre Alapetite
112572a03f Merge branch 'master' into dev 2019-10-26 13:50:42 +02:00
Alexandre Alapetite
97190cf7e4 Changelog 2591 2592 2019-10-26 13:22:21 +02:00
Alexis Degrugillier
f6e10579f2 Add category order (#2592)
* Add category order

Each category has a new 'priority' attribute. It is used to sort categories in
views. Categories with the same priority are sorted alphabetically. Categories
with no priority are displayed after those with one.

For example, if we have the following categories:
- A (priority: 2)
- B (no priority)
- C (priority: 1)
- D (priority: 2)
- E (no priority)
- F (priority: 1)

They will be displayed in the following order:
- C
- F
- A
- D
- B
- E

See #190

* Shorten help text

It took too much room and will not be so necessary once we have drag &
drop
2019-10-26 13:16:15 +02:00
Alexandre Alapetite
3c49986ec8 New environment variable COPY_LOG_TO_SYSLOG (#2591)
* New environment variable COPY_LOG_TO_SYSLOG

False by default.
Makes it easy to monitor all logs from Syslog or STDERR (e.g. docker
logs).

* Suggestion of native constants
2019-10-26 11:19:42 +02:00
Yamakuni
623769b5ae Reeder client for MacOs and iOS (#2594)
* Update README.md

- Adding "Reeder" clients for MacOS (Feever et Google-Reader API)
- Modify Reeder version (and link) for iOS

* Update README.fr.md

Ajout du client "Reeder 4" pour MacOs (Feever et Google-Reader API)
Modification de la version (et du lien) pour "Reeder" sur iOS

* Apple links

* Reverts

* Reverts
2019-10-26 11:18:16 +02:00
Alexandre Alapetite
4da0dc4f25 Changelog 2335 etc. 2019-10-24 12:08:07 +02:00
Alexandre Alapetite
7e5ca99912 Greener Travis? (#2589)
With PHP 7.4 just around the corner, I suggest to test only the minimum
and maximum PHP versions we support in Travis, to save resources
(greener).
For the translation check, with can test with max version -1 to run on
yet another PHP version.
It makes also the Travis tests faster to complete.
2019-10-24 09:43:28 +02:00
Alexandre Alapetite
7a5236de3f Take advantage of PHP 5.4+ short echo (#2585)
* Take advantage of PHP 5.4+ short echo

https://php.net/migration54.new-features thanks to
https://github.com/FreshRSS/FreshRSS/pull/2495

Use `<?=  ?>` instead of `<?php echo; ?>`
10kB of code saved :-)

Done with regular expression:
```
<\?php echo (.+?);? *\?>
<?= \1 ?>
```

* Try Travis fix

https://github.com/squizlabs/PHP_CodeSniffer/issues/2045#issuecomment-395238272
2019-10-23 11:18:20 +02:00