Commit Graph

125 Commits

Author SHA1 Message Date
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
1e644b6470 Merge pull request #1087 from Alkarex/HTTPS_Everywhere
Force HTTPS for selected embed providers
2016-02-29 17:47:05 +01:00
Alexandre Alapetite
9711f02db7 SimplePie Force HTTPS custom list domains
Load from data/force-https.default.txt and data/force-https.txt
Efficient tree structure to search the domains
https://github.com/FreshRSS/FreshRSS/pull/1087
2016-02-28 21:34:54 +01:00
Alexandre Alapetite
bd47d14a53 json_decode fallback bug 2 2016-02-24 21:20:37 +01:00
Alexandre Alapetite
9adbd2ba9b json_decode fallback debug
https://github.com/FreshRSS/FreshRSS/issues/1092
2016-02-24 21:16:21 +01:00
Alexandre Alapetite
5a80127140 Filter out img sizes
https://github.com/FreshRSS/FreshRSS/issues/1077
https://github.com/FreshRSS/FreshRSS/issues/1081
2016-02-21 00:36:30 +01:00
Alexandre Alapetite
86e113ba80 Filter-out img srcset for the time being
https://github.com/FreshRSS/FreshRSS/issues/1077
2016-02-17 00:19:49 +01:00
Alexandre Alapetite
dfd0b9e935 Note about PHP 5.2
https://github.com/FreshRSS/FreshRSS/issues/1055
2016-01-26 19:34:23 +01:00
Alexandre Alapetite
af94273913 More PHP 5.2 install compatibility
https://github.com/FreshRSS/FreshRSS/issues/1055
2016-01-25 21:05:35 +01:00
Alexandre Alapetite
d4a2f6e313 Compatibility PHP 5.2 with array_replace_recursive
https://github.com/FreshRSS/FreshRSS/issues/1055
https://github.com/FreshRSS/FreshRSS/pull/926
https://github.com/FreshRSS/FreshRSS/issues/923
2016-01-24 10:18:45 +01:00
Marien Fressinaud
339e32424f Add a simple test to detect if server is public
If the server is not accessible by an external server, pubsubhubbub should be
disable.

See https://github.com/FreshRSS/FreshRSS/issues/865
2015-07-23 12:38:22 +02:00
Marien Fressinaud
02c3546440 Registration action is handled and create a user
See https://github.com/FreshRSS/FreshRSS/issues/679
2015-07-22 13:52:03 +02:00
Alexandre Alapetite
fa432755cc Implement cURL options
https://github.com/FreshRSS/FreshRSS/issues/897
Requires that https://github.com/FreshRSS/FreshRSS/pull/898 is merged
first.
2015-07-12 12:16:56 +02:00
Alexandre Alapetite
c1398afe8c Full content img data-src
https://github.com/FreshRSS/FreshRSS/issues/877
Quick fix while waiting for a new library to retrieve articles
2015-07-04 14:21:24 +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
77cf3e9072 Merge remote-tracking branch 'origin/IDN' into dev 2015-04-05 13:07:53 +02:00
Alexandre Alapetite
06b76831de Punycode spelling mistake
https://github.com/FreshRSS/FreshRSS/pull/820
2015-04-05 13:07:34 +02:00
Alexandre Alapetite
b812bb0c14 Merge remote-tracking branch 'origin/IDN' into dev 2015-04-05 12:44:54 +02:00
Alexandre Alapetite
2d18910d02 Support for Internationalized Domain Names (IDN)
https://github.com/FreshRSS/FreshRSS/issues/819
Add explicit conversion from IDN to Punycode.

Requires PHP 5.3 IDN extension http://php.net/intl.idn (php5-idn package
on Debian/Ubuntu).

For systems without PHP 5.3+ IDN extension, we may consider adding a
dependency (322 kB) to the third-party library
https://phlymail.com/en/downloads/idna-convert.html

See PHP bug 53474 FILTER_VALIDATE_URL should not fail URL's that use
IDNhttps://bugs.php.net/bug.php?id=53474
2015-04-05 12:41:16 +02:00
Alexandre Alapetite
7b9ac8c58e Merge remote-tracking branch 'origin/sql_hash_lastUpdate' into dev 2015-04-04 22:40:05 +02:00
Alexandre Alapetite
711530a512 SQL: detection of updates, and preparation for better burge
https://github.com/FreshRSS/FreshRSS/issues/798
https://github.com/FreshRSS/FreshRSS/issues/493
SQLite not yet tested. Only MySQL tested so far.
2015-04-04 22:39:31 +02:00
Alexandre Alapetite
ad9fe52f5a SimplePie sanitize URLs for syslog
https://github.com/FreshRSS/FreshRSS/issues/711
https://github.com/FreshRSS/FreshRSS/pull/715
2015-03-22 22:54:29 +01:00
Alexandre Alapetite
1a35e2271d SimplePie option to restaure syslog of HTTP requests
https://github.com/FreshRSS/FreshRSS/issues/711
2015-03-21 18:20:36 +01:00
Marien Fressinaud
01a1179b1a Improve url_remove_credentials
Use @aledeg old function instead

See https://github.com/FreshRSS/FreshRSS/pull/715
See https://github.com/FreshRSS/FreshRSS/issues/711
2015-01-29 11:05:20 +01:00
Marien Fressinaud
8ff3e5363d Use url_remove_credentials to log URL
See https://github.com/FreshRSS/FreshRSS/issues/711
2015-01-29 10:57:11 +01:00
Marien Fressinaud
e078f9fdac Introduce url_remove_credentials() function
See https://github.com/FreshRSS/FreshRSS/issues/711
2015-01-29 10:47:33 +01:00
Marien Fressinaud
40f45c92ed Fix get_user_configuration()
There is no need to prefix namespace by the time: if conf has already been
registered, it will be returned anyway!
2015-01-29 10:26:16 +01:00
Marien Fressinaud
59ea9f2a3b Remove calls to syslog()
Temporary fix:

- Change syslog by Minz_Log::notice in most of the files
- Logs are stored in USERS_PATH/_/log.txt for actualize_script.php
- Simply comment syslog in SimplePie

See https://github.com/FreshRSS/FreshRSS/issues/711
2015-01-29 10:14:45 +01:00
Marien Fressinaud
73023bc12b Merge branch 'dev' into 252-extensions
Conflicts:
	app/FreshRSS.php
	app/Models/Configuration.php
	app/views/index/index.phtml
	app/views/index/normal.phtml
	lib/Minz/Configuration.php
	lib/Minz/Translate.php
	lib/lib_rss.php
2015-01-08 14:18:32 +01:00
Marien Fressinaud
09545b0a65 Fix calls to remove_query_by_get()
The function has been moved into lib_rss.php

See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-07 15:37:24 +01:00
Marien Fressinaud
8e6ab12e89 Fix a bug in FreshRSS_Auth::giveAccess()
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 22:43:24 +01:00
Marien Fressinaud
dd41642ce6 Fix calls to FreshRSS_Configuration
Replaced by a get_user_configuration() function in lib_rss.
This function register a new configuration based on the given username
and return the corresponding configuration.

See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 21:40:19 +01:00
Marien Fressinaud
d27efeec04 Fix Controllers to use the correct config system
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06 17:38:31 +01:00
Marien Fressinaud
c391ca62f1 Remove all old references to LOG_PATH
See https://github.com/FreshRSS/FreshRSS/issues/729
2014-12-28 18:05:02 +01:00
Marien Fressinaud
7a967e68ad Merge branch 'dev' into 729-move_data 2014-12-21 17:54:37 +01:00
Marien Fressinaud
5f327abeec Add recursive_unlink function in dev branch 2014-12-21 17:53:03 +01:00
Marien Fressinaud
966c061b3c Fix listUsers function
See https://github.com/FreshRSS/FreshRSS/issues/729
2014-12-21 17:38:38 +01:00
Marien Fressinaud
b5bee85603 BREAKING FEATURE: move user data
- Create ./data/users/ folder
- Move user configuration to ./data/users/username/config.php
- Move sqlite db to ./data/users/username/db.sqlite
- Move user logs to ./data/users/username/log.txt

See https://github.com/FreshRSS/FreshRSS/issues/729
2014-12-21 13:10:02 +01:00
Marien Fressinaud
0b89867800 Merge branch 'dev' into 252-extensions
Conflicts:
	app/i18n/en/admin.php
	app/i18n/en/feedback.php
	app/i18n/en/gen.php
	app/i18n/fr/admin.php
	app/i18n/fr/feedback.php
	app/i18n/fr/gen.php
	app/views/index/normal.phtml
2014-12-17 21:41:33 +01:00
Marien Fressinaud
d455837c6d Fix i18n for normal view 2014-12-11 00:00:15 +01:00
Marien Fressinaud
76358846ab Implement extension deletion
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-08 13:36:08 +01:00
Alexandre Alapetite
ba7d63e5ca Temporarily remove scheme check in referer
If needed, we may re-introduce the check for scheme with proper support
for proxy
https://github.com/FreshRSS/FreshRSS/issues/565#issuecomment-61602425
2014-11-04 08:47:23 +01:00
Marien Fressinaud
ba832bef4d Fix TODO in format_number() 2014-10-30 19:34:36 +01:00
Marien Fressinaud
036240ab01 Fix coding style formatNumber and formatBytes 2014-10-30 19:31:32 +01:00
Alexandre Alapetite
2e5d4d97c9 More limit options in config.php
See e.g. https://github.com/marienfressinaud/FreshRSS/issues/681
https://github.com/marienfressinaud/FreshRSS/issues/680
https://github.com/marienfressinaud/FreshRSS/issues/656
2014-10-28 22:29:55 +01:00
Marien Fressinaud
e86a3d0017 Fix pdo checking
Show only one message for both mysql and sqlite pdo conf. If one of them is ok,
PDO is ok.

See https://github.com/marienfressinaud/FreshRSS/issues/678
2014-10-26 12:40:42 +01:00
Marien Fressinaud
8a7bab3a55 Refactoring of indexController
Global view has been moved to a different action (all is not working)

See https://github.com/marienfressinaud/FreshRSS/issues/634
and https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-20 19:35:22 +02:00
Marien Fressinaud
61a2f9387f Fix i18n (french and english) 2014-10-20 12:42:46 +02:00
Marien Fressinaud
7080a32650 Add checking installation feature 2014-10-20 11:54:31 +02:00
Alexandre Alapetite
6c1fe11395 SimplePie timeout preference
https://github.com/marienfressinaud/FreshRSS/issues/656
TODO: Make a user setting
2014-10-05 20:27:16 +02:00