summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2015-03-23Merge remote-tracking branch 'origin/Logging' into devGravatar Alexandre Alapetite
2015-03-23SimplePie faster regex for sanitizing URLsGravatar Alexandre Alapetite
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-22Merge remote-tracking branch 'origin/Logging' into devGravatar Alexandre Alapetite
2015-03-22Revert "SimplePie seems to only supports HTTP schemes"Gravatar Alexandre Alapetite
This reverts commit 1c38e646c3223571988b33e6a0d481426e3b6931.
2015-03-22Merge remote-tracking branch 'origin/Logging' into devGravatar Alexandre Alapetite
2015-03-22SimplePie seems to only supports HTTP schemesGravatar Alexandre Alapetite
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-22Merge remote-tracking branch 'origin/Logging' into devGravatar Alexandre Alapetite
2015-03-22SimplePie sanitize URLs for syslogGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/711 https://github.com/FreshRSS/FreshRSS/pull/715
2015-03-21Merge remote-tracking branch 'origin/Logging' into devGravatar Alexandre Alapetite
2015-03-21SimplePie option to restaure syslog of HTTP requestsGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/711
2015-03-21htmlspecialchars_decode for all SIMPLEPIE_CONSTRUCT_MAYBE_HTMLGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/754
2015-03-16SimplePie: decode special chars for MAYBE_HTMLGravatar Alexandre Alapetite
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-01-29Improve url_remove_credentialsGravatar Marien Fressinaud
Use @aledeg old function instead See https://github.com/FreshRSS/FreshRSS/pull/715 See https://github.com/FreshRSS/FreshRSS/issues/711
2015-01-29Use url_remove_credentials to log URLGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/711
2015-01-29Introduce url_remove_credentials() functionGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/711
2015-01-29Fix get_user_configuration()Gravatar Marien Fressinaud
There is no need to prefix namespace by the time: if conf has already been registered, it will be returned anyway!
2015-01-29Fix including extensions for actualize_scriptGravatar Marien Fressinaud
Extensions could be included multiple times. It resulted in an error.
2015-01-29Remove calls to syslog()Gravatar Marien Fressinaud
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-21Simplify code for cookie dirGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/700 See https://github.com/FreshRSS/FreshRSS/commit/eec95ffb6a414f00f0ddd6cb1f81ac7ee55d4f6b
2015-01-21Fix bug related to cookie pathGravatar Marien Fressinaud
Fix https://github.com/FreshRSS/FreshRSS/issues/700
2015-01-21Update lib_opml.phpGravatar Marien Fressinaud
- lib_opml was not in its newest version - FRSS supports OPML file without text attributes Fix https://github.com/FreshRSS/FreshRSS/issues/758
2015-01-21Minz: missing URL key/param encodingGravatar Alexandre Alapetite
Caused searches such as "intitle:&" to fail after paging, and possible XSS vulnerabilities. Discovered during https://github.com/FreshRSS/FreshRSS/issues/754
2015-01-20Quick fix cron actualization due to problematic FreshRSS constructor/initGravatar Alexandre Alapetite
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.
2015-01-19Addressed warnings when reading from new filesGravatar Alexandre Alapetite
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
2015-01-18Fix Minz_Error and error_ControllerGravatar Marien Fressinaud
- 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
2015-01-15Avoid "PHP Strict Standards" errorGravatar Marien Fressinaud
A "Only variables should be passed by reference" error was raised in the extension->getFileUrl() method.
2015-01-15Improve hook calls and add post_update hookGravatar Marien Fressinaud
- 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.
2015-01-14Fix coding style in extension managerGravatar Marien Fressinaud
Yep, same as 8968288...
2015-01-14Fix extension API (coding style)Gravatar Marien Fressinaud
is_enabled() becomes isEnabled(). Sorry for this coding style mistake :s
2015-01-14Fix valid extension entry points.Gravatar Marien Fressinaud
Add possibility to use underscores (_) in entrypoints.
2015-01-14Add mechanism at (un)install of an extensionGravatar Marien Fressinaud
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.
2015-01-08Fix translation bugGravatar Marien Fressinaud
A path registered after initialization must be loaded.
2015-01-08Fix bug with Minz_TranslateGravatar Marien Fressinaud
When a path was registered before initialization, it was not considered unless by calling reset() method. This is fixed now.
2015-01-08Fix install.php script (choice of lang)Gravatar Marien Fressinaud
Fix a bug in Minz_Translate too
2015-01-08Change Minz_Translate::reset() behaviourGravatar Marien Fressinaud
- 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.
2015-01-08Fix Minz_Translate::availableLanguages() methodGravatar Marien Fressinaud
2015-01-08Call handleConfigureAction() even for GET requestsGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/252
2015-01-08Merge branch 'dev' into 252-extensionsGravatar Marien Fressinaud
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-07Change way to call configuration setter.Gravatar Marien Fressinaud
- 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
2015-01-07Add a method to change the configuration setterGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-07Add support of configuration_setterGravatar Marien Fressinaud
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
2015-01-07Fix calls to remove_query_by_get()Gravatar Marien Fressinaud
The function has been moved into lib_rss.php See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-07If a conf param doesn't exist, log and return nullGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06Fix a bug in FreshRSS_Auth::giveAccess()Gravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06Fix calls to FreshRSS_ConfigurationGravatar Marien Fressinaud
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-06Change Minz_Configuration::parseFile() in load()Gravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06Fix i18n loading and availableLanguages callsGravatar Marien Fressinaud
- Change the way to init i18n - Add a availableLanguages() method to Minz_Translate See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06BREAKING FEATURE: Remove general in configGravatar Marien Fressinaud
General attribute has been removed from system config. Now subattributes (e.g. environment, salt, title, etc.) are directly accessible. YOU HAVE TO FIX YOUR ./data/config.php file! - Remove the general array - Values inside this array must be kept - To see what it must look like, please have a look to ./data/config.default.php (but keep your values!!). See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-06Fix Controllers to use the correct config systemGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/730
2015-01-05New configuration system (not working yet)Gravatar Marien Fressinaud
- Use only Minz_Configuration - register() method to load a new configuration file - get() to get a configuration - new exceptions related to configuration - fix a list configuration calls to have FRSS working Current problems to resolve: - How to handle configuration param verifications (i.e. check auth_type is a value from none, http_auth, persona or form) - We must use $conf = Minz_Configuration::get('system'); $general_conf = $conf->general; to access global system configuration which is quite annoying. How to change that? See https://github.com/FreshRSS/FreshRSS/issues/730