Commit Graph

289 Commits

Author SHA1 Message Date
Alexandre Alapetite
edd4516178 More SQLite fix for mark search as read 2016-08-19 14:33:08 +02:00
Alexandre Alapetite
6afa36e7e1 SQLite fix for mark search as read
https://github.com/FreshRSS/FreshRSS/issues/1220
https://github.com/FreshRSS/FreshRSS/pull/1218
https://github.com/FreshRSS/FreshRSS/issues/608
2016-08-19 11:05:24 +02:00
Alexandre Alapetite
32c734ef62 SQL mark search as read
https://github.com/FreshRSS/FreshRSS/issues/608
2016-08-18 00:00:08 +02:00
Alexandre Alapetite
dd7d5855e3 Remove code for PHP 5.3.2- 2016-08-14 19:55:27 +02:00
Alexandre Alapetite
56ffc115d1 Do not mix POST and GET params
Avoid returning CSRF POST token for a GET
2016-08-13 19:10:32 +02:00
Alexandre Alapetite
e6fd34bdda CSRF token, update HTTP Referrer policy to same-origin
https://www.w3.org/TR/referrer-policy/#referrer-policy-no-referrer
https://github.com/FreshRSS/FreshRSS/issues/570
https://github.com/FreshRSS/FreshRSS/issues/955
https://github.com/FreshRSS/FreshRSS/issues/1198
https://github.com/FreshRSS/FreshRSS/issues/565
https://github.com/FreshRSS/FreshRSS/issues/554
2016-08-13 17:49:31 +02:00
Alexandre Alapetite
e4664142b7 Merge pull request #1194 from Alkarex/mysql_utf8mb4
Forgotten method name update for SQLite
2016-08-02 23:15:14 +02:00
Alexandre Alapetite
3e1b2e75e0 Forgotten method name update for SQLite
https://github.com/FreshRSS/FreshRSS/pull/1183
https://github.com/FreshRSS/FreshRSS/issues/1153
2016-08-02 23:13:46 +02:00
Alexandre Alapetite
17c3e616e8 Merge pull request #1187 from Alkarex/remove_persona
Remove Mozilla Persona login
2016-08-01 18:07:03 +02:00
Alexandre Alapetite
2859eff94d MySQL UTF8MB4 minor details 2016-08-01 17:52:21 +02:00
Alexandre Alapetite
c1548e732d Remove Mozilla Persona login
https://github.com/FreshRSS/FreshRSS/issues/1052
2016-07-31 14:58:19 +02:00
Alexandre Alapetite
fe18d12551 Update MySQL to utf8mb4 (full unicode) 🔥
* Requires MySQL 5.5.3+ (drop support for MySQL 5.0)
* Requires PHP 5.3.3+ (drop support for PHP 5.3.0)
https://github.com/FreshRSS/FreshRSS/issues/789#issuecomment-73878076
2016-07-30 18:45:34 +02:00
Alexandre Alapetite
ae6ade25d5 Merge branch 'http2_headers' into dev 2016-04-23 22:03:07 +02:00
Alexandre Alapetite
b042d3a772 HTTP2 optimization
Fast flush HTTP headers, push promise CSS.
Requires PHP 5.3+ due to anonymous function.
Do not load syles, scripts, and notifications for Ajax requests.
https://github.com/FreshRSS/FreshRSS/issues/1089
2016-04-23 19:10:32 +02:00
Alexandre Alapetite
89cc2aa3d0 MySQL compatibility only_full_group_by
Fix MySQL error, which appeared in MySQL 5.7:

ERROR 1055 (42000): Expression #1 of SELECT list is not in GROUP BY
clause and contains nonaggregated column 'freshrss.c.id' which is not
functionally dependent on columns in GROUP BY clause; this is
incompatible with sql_mode=only_full_group_by
2016-04-22 13:55:24 +02:00
Alexandre Alapetite
3b2f9533c3 Merge pull request #1078 from Alkarex/CSP-no-inline
Content-Security-Policy
2016-02-28 12:13:19 +01:00
Alexandre Alapetite
b501fd6514 PHP7 share bug
https://github.com/FreshRSS/FreshRSS/issues/1072
2016-02-27 14:53:03 +01:00
Alexandre Alapetite
264d05297c CSP for statistics
https://github.com/FreshRSS/FreshRSS/issues/1075
2016-02-21 17:26:37 +01:00
Alexandre Alapetite
0915772fe6 PubSubHubbub unsubscribe request
https://github.com/FreshRSS/FreshRSS/issues/1058
2016-01-24 11:06:20 +01:00
Marien Fressinaud
697817eebf Make auto-update server URL alterable
See https://github.com/FreshRSS/FreshRSS/issues/1019
2015-11-02 21:14:13 +01:00
Marien Fressinaud
29fe97cb2f Merge pull request #1011 from Alkarex/allow_robots
Config allow robots
2015-10-27 20:36:05 +01:00
Alexandre Alapetite
2d06b472cd Iff expanded to "true if ..., false otherwise"
https://github.com/FreshRSS/FreshRSS/pull/1011
https://github.com/FreshRSS/FreshRSS/issues/938
2015-10-25 19:26:35 +01:00
Alexandre Alapetite
02a3cb4652 Config allow robots
https://github.com/FreshRSS/FreshRSS/issues/938
2015-10-25 00:01:13 +02:00
Alexandre Alapetite
481c2a6719 Clean logs
Reduced login of API and PubSubHubbub (both are quite stable now).
When clearing logs as admin, also clear API and PubSubHubbub logs.
https://github.com/FreshRSS/FreshRSS/issues/988
2015-10-24 22:25:48 +02:00
Alexis Degrugillier
84824f8599 Add a visual alert on categories
When a category has one or more feeds with errors, a visual warning is displayed before the name of the category.
2015-09-12 18:58:08 -04:00
Alexis Degrugillier
271d43b569 Fix feed and category side effect
Before, when deleting a feed or a category, the user queries were deleted as well. No matter if they were related or not.
Now, they are deleted only if they are related.

I this this fix is not the best way to handle that. I think it would be better if we could find a way to create a UserQuery object from the array.
The same applies when displaying the user queries in the interface.

See #980
2015-09-11 18:45:25 -04:00
Alexandre Alapetite
9e43937f8c PubSubHubbub prevent subscribing too often in case of error
https://github.com/FreshRSS/FreshRSS/issues/939
2015-08-04 12:36:00 +02:00
Marien Fressinaud
9817743cd7 Cast $limits values in int (config)
Fix https://github.com/FreshRSS/FreshRSS/issues/925
2015-07-27 14:52:13 +02:00
Marien Fressinaud
d6e632fc09 Fix a bug in ConfigurationSetter 2015-07-22 23:22:50 +02:00
Marien Fressinaud
ac8bd3d251 Add a max_registrations limit
- Allow user to create accounts (not implemented)
- Admin only can set this limit

See https://github.com/FreshRSS/FreshRSS/issues/679
2015-07-21 15:31:23 +02:00
Marien Fressinaud
10deab004d Merge pull request #895 from Alkarex/hex2bin
Avoid hex2bin for PHP 5.3
2015-07-12 16:10:35 +02:00
Alexandre Alapetite
6b7d946266 Avoid hex2bin for PHP 5.3
https://github.com/FreshRSS/FreshRSS/issues/894
And use native hexadecimal function when available (MySQL) to avoid
having binary data in the SQL logs.
2015-07-10 21:40:28 +02:00
Alexandre Alapetite
079150eee4 Updated log visibility
In particular, ensure that ERROR is only used for errors that may affect
FreshRSS integrity, and ensure that feed errors are visible also in
production, i.e. visibility of WARNING
https://github.com/FreshRSS/FreshRSS/issues/885
https://github.com/FreshRSS/FreshRSS/issues/884
2015-07-03 23:47:18 +02:00
Alexandre Alapetite
137c498c84 Merge from dev
https://github.com/FreshRSS/FreshRSS/issues/312
2015-06-01 19:40:30 +02:00
Alexandre Alapetite
384a146883 Minor comment 1.1.1
https://github.com/FreshRSS/FreshRSS/issues/845
2015-05-31 20:52:11 +02:00
Alexandre Alapetite
96ba71e618 MySQL create table bug
https://github.com/FreshRSS/FreshRSS/issues/845
And updated version comments to 1.1.1
2015-05-31 20:22:27 +02:00
Alexandre Alapetite
ae277ddefc Merge branch 'FreshRSS/dev' into PubSubHubbub 2015-05-24 02:01:08 +02:00
Alexandre Alapetite
9d55ee5ae9 Bug EntryDAO filter
https://github.com/FreshRSS/FreshRSS/issues/850
2015-05-24 01:49:13 +02:00
Alexandre Alapetite
694dfa1f8b PubSubHubbub: remove white list
The tests so far are good. Ready to test more broadly.
https://github.com/FreshRSS/FreshRSS/pull/831
https://github.com/FreshRSS/FreshRSS/issues/312
2015-05-23 16:37:08 +02:00
Alexandre Alapetite
001c713f03 PubSubHubbub better gestion of errors
Do not assume that PubSubHubbub works until the first successul push
https://github.com/FreshRSS/FreshRSS/issues/312#issuecomment-102706500
2015-05-17 22:06:11 +02:00
Alexandre Alapetite
3adab4b70f More PubSubHubbub
https://github.com/FreshRSS/FreshRSS/issues/312
Show whether PubSubHubbub is enabled in the Web interface of feed
configuration.
When PubSubHubbub is used, do not pull refresh so often (hard-coded to
max once per 24h for now).
Improved logic for lease renewal, and some detection of lease problems.
Updated read-me and changelog.
2015-05-16 13:05:43 +02:00
Alexandre Alapetite
0163564b9e Change some error messages 2015-05-15 17:58:56 +02:00
Alexandre Alapetite
c472569b38 First alpha of PubSubHubbub
https://github.com/FreshRSS/FreshRSS/issues/312
Using a white list limited to http://push-pub.appspot.com/feed for alpha
testing.
2015-05-15 15:34:51 +02:00
Alexandre Alapetite
256c8613a4 First draft of PubSubHubbub
https://github.com/FreshRSS/FreshRSS/issues/312
Requires setting base_url in config.php.
Currently using the filesystem (no change to the database)
2015-05-15 03:21:36 +02:00
Alexandre Alapetite
217c191a1b More SQLite compatibility
Additional changes to add compatibility with SQLite for the new
hash/lastSeen mode of updating articles.
2015-05-11 22:42:41 +02:00
Alexandre Alapetite
0745252b68 Hexadecimal literals do not work with SQLite/PDO
X'09AF' hexadecimal literals do not work with SQLite/PDO. Replaced by
PHP hex2bin().

711530a512
2015-05-10 20:31:03 +02:00
Alexandre Alapetite
0d0c6b7493 Moved updated/unread option from global to user
https://github.com/FreshRSS/FreshRSS/issues/798
2015-05-10 14:04:12 +02:00
Alexandre Alapetite
7d1ebd3c23 Merge branch 'FreshRSS/dev' into sql_hash_lastUpdate 2015-05-10 11:51:59 +02:00
Alexandre Alapetite
f8dfe12f4f Merge pull request #818 from Alkarex/ConfigurationSetterBug
Configuration setter bug
2015-05-10 00:27:54 +02:00
Alexandre Alapetite
f3aef1e59b Merge branch 'Alkarex/Logging'
https://github.com/FreshRSS/FreshRSS/pull/815
2015-05-10 00:14:41 +02:00