summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
2014-12-29Add files for the new favicon systemGravatar Marien Fressinaud
Use https://github.com/ArthurHoaro/favicon See https://github.com/FreshRSS/FreshRSS/issues/290
2014-12-28Remove all old references to LOG_PATHGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/729
2014-12-21Merge branch 'dev' into 729-move_dataGravatar Marien Fressinaud
2014-12-21Add recursive_unlink function in dev branchGravatar Marien Fressinaud
2014-12-21Fix listUsers functionGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/729
2014-12-21BREAKING FEATURE: move user dataGravatar Marien Fressinaud
- 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-18Update Minz_TranslationGravatar Marien Fressinaud
- Give possibility to register new i18n files - Add a extension->registerTranslates() method - extensions can define new strings or override previous ones Fix https://github.com/FreshRSS/FreshRSS/issues/731
2014-12-18Fix php interpretation in configure.phtml fileGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-17Merge branch 'dev' into 252-extensionsGravatar Marien Fressinaud
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-11Fix i18n for normal viewGravatar Marien Fressinaud
2014-12-10Verbose for unvalid key formatGravatar Marien Fressinaud
2014-12-08Implement extension deletionGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/252