Marien Fressinaud
241086fa67
Fix broken links for extension script/style files
...
Fix https://github.com/FreshRSS/FreshRSS/issues/862
9 years ago
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.
9 years ago
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
9 years ago
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
9 years ago
Alexandre Alapetite
da5033859b
Force HTML content-type with charset
...
Force UTF-8 https://github.com/FreshRSS/FreshRSS/issues/870
9 years ago
Alexandre Alapetite
9b512b82e2
PDO config isset
...
https://github.com/FreshRSS/FreshRSS/issues/868
9 years ago
Alexandre Alapetite
568ab2313d
PDO options for e.g. SSL
...
https://github.com/FreshRSS/FreshRSS/issues/868
9 years ago
Alexandre Alapetite
a5a24108ef
Minz URL encoding bug
...
See also https://github.com/FreshRSS/FreshRSS/pull/849
9 years ago
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
10 years ago
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)
10 years ago
Alexandre Alapetite
217c191a1b
More SQLite compatibility
...
Additional changes to add compatibility with SQLite for the new
hash/lastSeen mode of updating articles.
10 years ago
Alexandre Alapetite
06b76831de
Punycode spelling mistake
...
https://github.com/FreshRSS/FreshRSS/pull/820
10 years ago
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
10 years ago
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.
10 years ago
Alexandre Alapetite
2bfc4dbf8b
SimplePie forgot static keyword
...
https://github.com/FreshRSS/FreshRSS/issues/711
10 years ago
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
10 years ago
Alexandre Alapetite
0ed213d97f
Revert "SimplePie seems to only supports HTTP schemes"
...
This reverts commit 1c38e646c3
.
10 years ago
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
10 years ago
Alexandre Alapetite
ad9fe52f5a
SimplePie sanitize URLs for syslog
...
https://github.com/FreshRSS/FreshRSS/issues/711
https://github.com/FreshRSS/FreshRSS/pull/715
10 years ago
Alexandre Alapetite
1a35e2271d
SimplePie option to restaure syslog of HTTP requests
...
https://github.com/FreshRSS/FreshRSS/issues/711
10 years ago
Alexandre Alapetite
0e08b5ba56
htmlspecialchars_decode for all SIMPLEPIE_CONSTRUCT_MAYBE_HTML
...
https://github.com/FreshRSS/FreshRSS/issues/754
10 years ago
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.
10 years ago
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
10 years ago
Marien Fressinaud
8ff3e5363d
Use url_remove_credentials to log URL
...
See https://github.com/FreshRSS/FreshRSS/issues/711
10 years ago
Marien Fressinaud
e078f9fdac
Introduce url_remove_credentials() function
...
See https://github.com/FreshRSS/FreshRSS/issues/711
10 years ago
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!
10 years ago
Marien Fressinaud
a47ce4f6af
Fix including extensions for actualize_script
...
Extensions could be included multiple times. It resulted in an error.
10 years ago
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
10 years ago
Marien Fressinaud
22d7e0d638
Simplify code for cookie dir
...
See https://github.com/FreshRSS/FreshRSS/issues/700
See eec95ffb6a
10 years ago
Marien Fressinaud
eec95ffb6a
Fix bug related to cookie path
...
Fix https://github.com/FreshRSS/FreshRSS/issues/700
10 years ago
Marien Fressinaud
c741fba06c
Update lib_opml.php
...
- lib_opml was not in its newest version
- FRSS supports OPML file without text attributes
Fix https://github.com/FreshRSS/FreshRSS/issues/758
10 years ago
Alexandre Alapetite
211569ef85
Minz: missing URL key/param encoding
...
Caused searches such as "intitle:&" to fail after paging, and
possible XSS vulnerabilities.
Discovered during https://github.com/FreshRSS/FreshRSS/issues/754
10 years ago
Alexandre Alapetite
12081f7ba2
Quick fix cron actualization due to problematic FreshRSS constructor/init
...
https://github.com/FreshRSS/FreshRSS/issues/759
Suggestion: the static objects should be user-independent (or at least
with the possibility to be re-set), while the FreshRSS object and its
attributes should be user-dependent.
10 years ago
Alexandre Alapetite
d30b3becfa
Addressed warnings when reading from new files
...
There were warnings when reading extensions (trying to use e.g. README
and .gitignore as directories), and when reading update file.
https://github.com/FreshRSS/FreshRSS/issues/733
10 years ago
Marien Fressinaud
d91a92434f
Fix Minz_Error and error_Controller
...
- Error code and logs was not propagated from Minz_Error to the controller
- header was bad (200 instead of 404 or 403)
Related to https://github.com/FreshRSS/FreshRSS/issues/751
10 years ago
Marien Fressinaud
2039710d12
Avoid "PHP Strict Standards" error
...
A "Only variables should be passed by reference" error was raised in the
extension->getFileUrl() method.
10 years ago
Marien Fressinaud
13cf8b5f9f
Improve hook calls and add post_update hook
...
- To the hook is associated a method signature (OneToOne or NoneToNone for now) so
it is easier to call hooks correctly
- post_update hook is called during the post update moment.
10 years ago
Marien Fressinaud
789d9fc6c8
Fix coding style in extension manager
...
Yep, same as 8968288...
10 years ago
Marien Fressinaud
8968288600
Fix extension API (coding style)
...
is_enabled() becomes isEnabled(). Sorry for this coding style mistake :s
10 years ago
Marien Fressinaud
ade1524d43
Fix valid extension entry points.
...
Add possibility to use underscores (_) in entrypoints.
10 years ago
Marien Fressinaud
806b4de54f
Add mechanism at (un)install of an extension
...
Test if the install or uninstall has been successfully performed.
If these methods return true, all is ok but if a string is returned,
the string must explain the problem. This problem is stored in log file.
A feedback is given to explain to check log file.
This commit fix a problem in the english translation of
feedback.sub.feed.internal_problem.
10 years ago
Marien Fressinaud
b23fc3187c
Fix translation bug
...
A path registered after initialization must be loaded.
10 years ago
Marien Fressinaud
19dfef8b49
Fix bug with Minz_Translate
...
When a path was registered before initialization, it was not considered unless
by calling reset() method.
This is fixed now.
10 years ago
Marien Fressinaud
85ea5e548a
Fix install.php script (choice of lang)
...
Fix a bug in Minz_Translate too
10 years ago
Marien Fressinaud
8f04cb9d9d
Change Minz_Translate::reset() behaviour
...
- Don't reset the path list (use init() instead)
- init() accept a null lang_name. To use i18n, you'll have to use reset() later.
It is helpful to load the list of available language before choosing one of them.
10 years ago
Marien Fressinaud
a3f667e586
Fix Minz_Translate::availableLanguages() method
10 years ago
Marien Fressinaud
5bd7997d41
Call handleConfigureAction() even for GET requests
...
See https://github.com/FreshRSS/FreshRSS/issues/252
10 years ago
Marien Fressinaud
fb614ab80c
Change way to call configuration setter.
...
- Add a support($key) method which return if the given key is supported by
the setter.
- Change handle signature by adding a $data param which must be passed by
reference.
See https://github.com/FreshRSS/FreshRSS/issues/730
10 years ago
Marien Fressinaud
7f12058fab
Add a method to change the configuration setter
...
See https://github.com/FreshRSS/FreshRSS/issues/730
10 years ago
Marien Fressinaud
91e2d4936d
Add support of configuration_setter
...
A configuration setter must implement only one method: `handle($key, $value)`.
Before setting a value in configuration, the setter will be called with this
method to check its validity.
If a setter has been assigned to a configuration object, it will be called for
each of its data so be careful to always return a value (or null if you want
to delete the key).
See https://github.com/FreshRSS/FreshRSS/issues/730
10 years ago