Commit Graph

357 Commits

Author SHA1 Message Date
Alexandre Alapetite
bfae186e36 Use HTTP_X_FORWARDED_
https://github.com/FreshRSS/FreshRSS/issues/975
2015-11-03 20:23:30 +01:00
Alexandre Alapetite
189e790f32 Minz cookie session httpOnly
https://github.com/FreshRSS/FreshRSS/issues/924
https://github.com/FreshRSS/FreshRSS/pull/936/files#r35948311
2015-07-31 11:26:57 +02:00
Alexandre Alapetite
760ec5f223 Whitespace 2015-07-31 00:17:32 +02:00
Alexandre Alapetite
59daed3d4e Minz slight change in session cookie path
https://github.com/FreshRSS/FreshRSS/issues/924#issuecomment-126499403
2015-07-31 00:12:55 +02:00
Alexandre Alapetite
f7190c34e1 Minz session cookie path bug
https://github.com/FreshRSS/FreshRSS/issues/924#issuecomment-126499403
2015-07-30 23:42:28 +02:00
Marien Fressinaud
6dbe33c51e Don't hide errors in configuration
Fix https://github.com/FreshRSS/FreshRSS/issues/920
2015-07-29 07:59:05 +02:00
Marien Fressinaud
c1a44a8761 Load configuration by recursion
- Remove Minz_Configuration::$data_default
- Default values are loaded first in $data
- $data values are replaced by values from config file

Fix https://github.com/FreshRSS/FreshRSS/issues/923
2015-07-27 14:46:41 +02: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
1e65fd687e Use filter_var in guessBaseUrl
See https://github.com/FreshRSS/FreshRSS/issues/906
See https://github.com/FreshRSS/FreshRSS/pull/915/files#r35304704
2015-07-23 11:38:56 +02:00
Marien Fressinaud
6db0941196 Fix unexpected behaviour in getBaseUrl
- getBaseUrl() returns info from configuration only and always append
  the suffix
- add a guessBaseUrl() to extract base_url from $_SERVER info
- fix Url::display() to take this change in consideration

Fix https://github.com/FreshRSS/FreshRSS/issues/906
Use https://github.com/FreshRSS/FreshRSS/pull/910
2015-07-23 10:05:32 +02:00
Marien Fressinaud
2e544d2c1a Merge branch 'baseUrl' of https://github.com/Alkarex/FreshRSS into 906-fix-getBaseUrl 2015-07-23 09:37:29 +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
2d22bf300a dirname problem
https://github.com/FreshRSS/FreshRSS/issues/906
2015-07-17 23:43:43 +02:00
Alexandre Alapetite
9cc0ef231c Merge pull request #902 from marienfressinaud/862-fix-extension-broken-links
Fix broken links for extension script/style files
2015-07-14 00:11:34 +02:00
Marien Fressinaud
241086fa67 Fix broken links for extension script/style files
Fix https://github.com/FreshRSS/FreshRSS/issues/862
2015-07-13 23:11:05 +02:00
Marien Fressinaud
2c6bc849e0 Merge branch 'curlOptions' of https://github.com/Alkarex/FreshRSS into Alkarex-curlOptions 2015-07-12 15:53:40 +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
cb114a341b Merge some pull requests from upstream
silent Warning cast with PHP 5.3.3 (RHEL-6)
https://github.com/simplepie/simplepie/pull/258
Use rss:pubDate over atom:updated when determining the posting date
https://github.com/simplepie/simplepie/pull/288
Update Item.php: add support for media thumbnails
https://github.com/simplepie/simplepie/pull/340
Remove PHP Notices https://github.com/simplepie/simplepie/pull/353
And removed "FreshRSS" annotations for pull requests submitted upstream

Fixed a typo in Date.php (wrong number for September)
https://github.com/simplepie/simplepie/pull/374
Remove duplicate case https://github.com/simplepie/simplepie/pull/406
Added set_curl_options method to allow custom options
https://github.com/simplepie/simplepie/pull/407
Improved error message https://github.com/simplepie/simplepie/pull/412
2015-07-12 00:35:31 +02:00
Alexandre Alapetite
1f07bd2cdd Merge pull request #888 from Alkarex/fullContentDataSrc
Full content img data-src.
Tested by @Pangolun https://github.com/FreshRSS/FreshRSS/issues/877#issuecomment-118777077
2015-07-06 11:14:59 +02:00
Alexandre Alapetite
65acb2797f Merge pull request #869 from Alkarex/PDOOptions
PDO options for e.g. SSL
2015-07-05 13:12:39 +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
da5033859b Force HTML content-type with charset
Force UTF-8 https://github.com/FreshRSS/FreshRSS/issues/870
2015-06-06 15:10:37 +02:00
Alexandre Alapetite
9b512b82e2 PDO config isset
https://github.com/FreshRSS/FreshRSS/issues/868
2015-06-03 22:17:40 +02:00
Alexandre Alapetite
568ab2313d PDO options for e.g. SSL
https://github.com/FreshRSS/FreshRSS/issues/868
2015-06-03 22:07:25 +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
a5a24108ef Minz URL encoding bug
See also https://github.com/FreshRSS/FreshRSS/pull/849
2015-05-30 19:25:20 +02:00
Alexandre Alapetite
27d2b88a19 Minz getBaseUrl correction and RSS template bug
https://github.com/FreshRSS/FreshRSS/issues/848
Corrections in Minz (HTTP_HOST was not sanitized, getURI() was never
used and not working anyway with absolute base_url)
$this->url was not defined in rss.phtml
2015-05-23 02:23:38 +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
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
6032caad2f Merge remote-tracking branch 'origin/Logging' into dev 2015-03-24 21:58:21 +01:00
Alexandre Alapetite
2bfc4dbf8b SimplePie forgot static keyword
https://github.com/FreshRSS/FreshRSS/issues/711
2015-03-24 21:58:00 +01:00
Alexandre Alapetite
a5e960acbe Merge remote-tracking branch 'origin/Logging' into dev 2015-03-23 21:59:07 +01:00
Alexandre Alapetite
7735471140 SimplePie faster regex for sanitizing URLs
Can simplify the regex (faster because anchored) for cleaning URLs based
on the fact that we only have to deal with HTTP or HTTPS
https://github.com/FreshRSS/FreshRSS/pull/715
2015-03-23 21:58:37 +01:00
Alexandre Alapetite
3aa15d95a8 Merge remote-tracking branch 'origin/Logging' into dev 2015-03-22 23:57:27 +01:00
Alexandre Alapetite
0ed213d97f Revert "SimplePie seems to only supports HTTP schemes"
This reverts commit 1c38e646c3.
2015-03-22 23:56:47 +01:00
Alexandre Alapetite
c83d30db64 Merge remote-tracking branch 'origin/Logging' into dev 2015-03-22 23:54:21 +01:00
Alexandre Alapetite
1c38e646c3 SimplePie seems to only supports HTTP schemes
Can simplify the regex (faster because anchored) for cleaning URLs based
on the fact that we only have to deal with HTTP or HTTPS
2015-03-22 23:53:59 +01:00
Alexandre Alapetite
b628fb107d Merge remote-tracking branch 'origin/Logging' into dev 2015-03-22 22:54:56 +01: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
92621345f9 Merge remote-tracking branch 'origin/Logging' into dev 2015-03-21 18:21:21 +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
Alexandre Alapetite
0e08b5ba56 htmlspecialchars_decode for all SIMPLEPIE_CONSTRUCT_MAYBE_HTML
https://github.com/FreshRSS/FreshRSS/issues/754
2015-03-21 15:13:08 +01:00
Alexandre Alapetite
ec611d7d54 SimplePie: decode special chars for MAYBE_HTML
https://github.com/FreshRSS/FreshRSS/issues/754
Needs to check with many feeds to see if this does not introduce
incompatibilities with some valid feeds.
2015-03-16 21:37:28 +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