aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2014-12-08Add behaviour to configure action (extensions)Gravatar Marien Fressinaud
- Put extension configure view in dir_ext/configure.phtml - Handle POST action in Extension->handleConfigureAction() method See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-07Fix View files inclusion.Gravatar Marien Fressinaud
Now, each part of the view (layout, partials, helpers, views) is included based on the $base_pathnames attribute. Extensions can now override all of these files. See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-07Add entry_before_display hookGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06Add a first draft for hooksGravatar Marien Fressinaud
- New Extension->registerHook($hook_name, $hook_function) method to register a new hook - Only one hook works for the moment: entry_before_insert - ExtensionManager::callHook will need to evolve based on future hooks See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06Improve system/user types for extensionsGravatar Marien Fressinaud
- system extensions can only be managed by an administrator - system extensions are loaded for all users (even if not logged) - user extensions are loaded for logged users only - system extensions loading is saved in global config.php file See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06Add enable / disable extension featuresGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-06Separate views registration from controllers one.Gravatar Marien Fressinaud
- Add an Extension->registerViews() method. - Views are first searched in extension paths, then in APP_PATH. - It gives a way to override easily existing controllers / views. - Change include into an include_once in Dispatcher for new controllers. See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-05Extensions can define new viewsGravatar Marien Fressinaud
- View base pathname is set to the extension directory - An extension can now override an existing controller / view See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-05Give possibility to register a new Controller.Gravatar Marien Fressinaud
- Add a Extension->registerController(name) method - Controllers must be written in extension_dir/controllers/nameController.php - Controllers must be named as FreshExtension_name_Controller - Controllers must extend Minz_ActionController See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-05First draft for listing and manipulate extensionsGravatar Marien Fressinaud
See https://github.com/FreshRSS/FreshRSS/issues/252
2014-12-05Fix security hole from ext.php script.Gravatar Marien Fressinaud
Now, ext.php can only serve file under a EXTENSIONS_PATH/ext_dir/static/ directory. A 400 Bad Request error will be returned for other files. See https://github.com/FreshRSS/FreshRSS/issues/252 And https://github.com/FreshRSS/FreshRSS/commit/f9b037742a0aeb49cab86782d1a59913c2de47b
2014-12-04Update ext.php to serve any file from extensionsGravatar Marien Fressinaud
Add an extension->getFileUrl() method to facilitate url generation
2014-12-04Enable extensions for usersGravatar Marien Fressinaud
2014-12-04First draft for the new extension featureGravatar Marien Fressinaud
- Only system extensions can be loaded for the moment by adding them in the config.php file. - Remove previous system (it will be added properly in the new system in the next step).
2014-12-03Update the i18n system.Gravatar Marien Fressinaud
Follow recommendations from https://github.com/FreshRSS/FreshRSS/issues/334
2014-11-12SimplePie: Added unconventional mime type for RSSGravatar Alexandre Alapetite
Since `application/rss+xml` is not official http://www.iana.org/assignments/media-types/media-types.xhtml, then it is fair enough to use the `x-` prefix. https://github.com/FreshRSS/FreshRSS/issues/706
2014-11-12Better error message for inaccessible feedsGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/456
2014-11-04Temporarily remove scheme check in refererGravatar Alexandre Alapetite
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-10-30Fix TODO in format_number()Gravatar Marien Fressinaud
2014-10-30Fix coding style formatNumber and formatBytesGravatar Marien Fressinaud
2014-10-30Fix bug size with SQLiteGravatar Marien Fressinaud
2014-10-29Ne pas rafraîchir les flux des utilisateurs non logués depuis x joursGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/681 Warning: needs some testing
2014-10-28SimplePie: cache feeds with errorsGravatar Alexandre Alapetite
Before the cache system was not used for feeds with errors, which was problematic especially if several users have this feed. Furthermore, there was no protection against repetitive refresh. Bonus: slightly better performance by avoiding some superfluous file_exists(). Warning: needs a bit of testing https://github.com/marienfressinaud/FreshRSS/issues/681
2014-10-28More limit options in config.phpGravatar Alexandre Alapetite
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-27Global limits for number of feeds and categoriesGravatar Alexandre Alapetite
New 'limits' sub-array in config.php with 'max_feeds' and 'max_categories'. If the values are < 0, then it is the default value (16384). https://github.com/marienfressinaud/FreshRSS/issues/680
2014-10-26Fix pdo checkingGravatar Marien Fressinaud
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-21Views are in dedicated actions + improve ContextGravatar Marien Fressinaud
- Seperate normal, global and rss outputs in dedicated actions (NOT WORKING YET!) - Rewrite aside_flux and nav_menu to use Context object - Improve Context object See https://github.com/marienfressinaud/FreshRSS/issues/634
2014-10-20Refactoring of indexControllerGravatar Marien Fressinaud
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-20Fix i18n (french and english)Gravatar Marien Fressinaud
2014-10-20Add checking installation featureGravatar Marien Fressinaud
2014-10-17Reorganise menus (aside and header)Gravatar Marien Fressinaud
2014-10-17Fix a bug to get size of user (SQLite)Gravatar Marien Fressinaud
2014-10-14SimplePie: bug date CESTGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/659 https://github.com/simplepie/simplepie/pull/380
2014-10-07Introduce FreshRSS_Auth::hasAccess('admin')Gravatar Marien Fressinaud
Replace Minz_Configuration::isAdmin($user). FreshRSS_Auth::hasAccess() could be extended to others scopes later. See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-05Fix a bug (has_transaction)Gravatar Marien Fressinaud
Introduced by the last commit.
2014-10-05Refactor feedControllerGravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-05SimplePie timeout preferenceGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/656 TODO: Make a user setting
2014-10-05Replace Minz_Log::record by corresponding methodsGravatar Marien Fressinaud
Please not use Minz_Log::record anymore! See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-05Let's begin the big refactoring!Gravatar Marien Fressinaud
Minz_Translate::t\s? replaces by _t See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-09-19Improve redirection when deleting an idle feedGravatar Marien Fressinaud
2014-09-17Move http referer test into lib_rssGravatar Marien Fressinaud
Rename method (coding style) Change in app/FreshRSS.php Improve test of app/install.php
2014-09-16Fix sqlite bug ON DELETE CASCADEGravatar Marien Fressinaud
Foreign key constraints are not enabled by default. See https://github.com/marienfressinaud/FreshRSS/issues/579 See http://stackoverflow.com/questions/13534040/sqlite3-foreign-keys-on-pdo
2014-09-08Merge branch 'dev' into 411-update-systemGravatar Marien Fressinaud
Conflicts: constants.php
2014-09-06Bug warning in case of invalid CDATAGravatar Alexandre Alapetite
2014-08-30Bug referer for systems with non-standard HTTP portGravatar Alexandre Alapetite
Now tests also for the scheme and port, which must be identical to the ones in the referer. https://github.com/marienfressinaud/FreshRSS/issues/565#issuecomment-53916915 https://github.com/marienfressinaud/FreshRSS/issues/554
2014-08-13Long term cookie to keep session openGravatar Alexandre Alapetite
Token system https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-12Fix missing Minz_ prefix in Minz_HelperGravatar Marien Fressinaud
Nice bug :) It means another hidden bug is now corrected!
2014-08-12Coding style in Minz_HelperGravatar Marien Fressinaud
2014-08-12Move htmlspecialchars_utf8 from Request to HelperGravatar Marien Fressinaud
And remove html_chars_utf8 to use htmlspecialchars_utf8 instead in importExportController
2014-08-12Fix missing REQUEST_METHODGravatar Marien Fressinaud
Useful when executing actualize_script.php