aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/indexController.php
AgeCommit message (Collapse)Author
2017-12-19PHP 7.2: Fix a warning when retrieving the list of entries (#1739)Gravatar Alexis Degrugillier
When retrieving the list of entries when the context was 'all' or 'starred', there was the following warning: > Warning: count(): Parameter must be an array or an object that implements Countable in /home/alexis/FreshRSS/app/Controllers/indexController.php on line 206 I fixed that by changing how the array is tested.
2017-09-22[ci] Add Travis (#1619)Gravatar Frans de Jonge
* [ci] Add Travis * Exclude some libs * Semi-auto whitespace fixes * line length in SQLite * Exclude tests from line length * Feed.php line length * Feed.php: get rid of unnecessary concat * Feed.php: line length * bootstrap.php: no newline at end of file * Allow concatenating across multiple lines * Add Travis badge * do-install line length * update-or-create-user line length * cli/create-user line length * tests/app/Models/SearchTest.php fix indentation * tests/app/Models/UserQueryTest.php fix indentation * tests/app/Models/CategoryTest.php fix indentation * [fix] PHP 5.3 on precise * cli/do-install no spaces * cli/list-users line length * cli/reconfigure line length * empty catch statements * api/index line length nonsense * spaces before semicolon * app/Models/EntryDAO bunch of indentation * extra blank lines * spaces before comma in function call * testing tabwidth * increase to 10 * comment out tabwidth line * try older phpcs version 3.0.0RC4 * line length exception for app/install.php * proper spaces * stray spaces in i18n * Minz/ModelPdo line length * Minz whitespace * greader line length * greader elseif placement * app/Models/Feed.php spacing in function argument * ignore php 5.3 * app/Models/ConfigurationSetter.php stray whitespace * EntryDAOSQLite line length * I vote for higher max line length =P * ignore SQL * remove classname complaint * line length/more legible SQL * ignore line length nonsense * greader line length * feedController issues * uppercase TRUE, FALSE, NULL * revert * importExportController lowercase null * Share.php default value not necessary because ! is_array () a few lines down * CategoryDAO constants should be UPPERCASE * EntryDAO reduce line length * contentious autofix * Allow failures on all versions of PHP except 7.1 because reasons
2016-10-15Remove superflous category requestGravatar Alexandre Alapetite
A category request was systematically done, although it is not always needed.
2016-09-11Better control of number of entries per page or RSS feedGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1249 * Since X hours: `https://freshrss.example/i/?a=rss&hours=3` * Explicit number: `https://freshrss.example/i/?a=rss&nb=10` * Limited by `min_posts_per_rss` and `max_posts_per_rss` in user config
2016-08-13PHP 5.3 more compatibilityGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/pull/1209#issuecomment-239617504 https://github.com/FreshRSS/FreshRSS/issues/1208
2016-08-13PHP 5.3 scope compatibilityGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1208
2016-08-12PHP 5.3 compatibility for callbackGravatar Alexandre Alapetite
https://github.com/FreshRSS/FreshRSS/issues/1208
2016-04-23HTTP2 optimizationGravatar Alexandre Alapetite
Fast flush HTTP headers, push promise CSS. Requires PHP 5.3+ due to anonymous function. Do not load syles, scripts, and notifications for Ajax requests. https://github.com/FreshRSS/FreshRSS/issues/1089
2015-05-23Minz getBaseUrl correction and RSS template bugGravatar Alexandre Alapetite
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-02-21Use the search object to get values in the searchGravatar Alexis Degrugillier
It is now possible to combine multiple keywords to do a search. The separation of concern is better now since the search extraction is not done in the DAO anymore. At the moment, a multiple keyword search is stored as this. It could be nice to have it rendered differently in the search page to make it more readable. At the moment, there is a problem with search enclosed by ". Same search works well when enclosed by '.
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-05Change name of user configuration var in ContextGravatar Marien Fressinaud
- FreshRSS_Context::$conf is replaced by FreshRSS_Context::$user_conf - Introduce FreshRSS_Context::$system_conf - Remove FreshRSS_Configuration object See https://github.com/FreshRSS/FreshRSS/issues/730
2014-12-11Fix i18n for index ControllerGravatar Marien Fressinaud
Fix strings for: - about page - rss and reader views - fix title of global view
2014-12-11Fix i18n for normal viewGravatar Marien Fressinaud
2014-12-10Fix i18n for logs, pagination and javascript varsGravatar Marien Fressinaud
Logs first to avoid annoying message when refreshing log page
2014-10-24Fix titles for normal and global viewsGravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/issues/634
2014-10-24Reader view comes back!Gravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/issues/634
2014-10-22Add comments to Context object.Gravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/issues/634
2014-10-22nextGet and idMax are coming back.Gravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/issues/634
2014-10-22Better view modeGravatar Marien Fressinaud
- Seperate view mode from default state in conf - Load read articles if no unread articles only if view is adaptive See https://github.com/marienfressinaud/FreshRSS/issues/634
2014-10-22Fix a set of TODO and bugsGravatar Marien Fressinaud
- Context object raises correct Exception if get is invalid - RSS feed is well-indicated on the home page - State is better calculated - Add some comments See https://github.com/marienfressinaud/FreshRSS/issues/634
2014-10-22Entries are loaded again! It's working :)Gravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/issues/634
2014-10-22Finish to update context objectGravatar Marien Fressinaud
See See https://github.com/marienfressinaud/FreshRSS/issues/634
2014-10-22Update title and get parameter correctly.Gravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/issues/634
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-20Use FreshRSS_Context::$conf onlyGravatar Marien Fressinaud
- Replace $this->view->conf in controllers - Replace $this->conf in views
2014-10-07Authentication system moved + Persona comes back!Gravatar Marien Fressinaud
AuthController is dedicated to auhentication. Persona is back, greater than ever! See https://github.com/marienfressinaud/FreshRSS/issues/655
2014-10-06Refactor authentication system.Gravatar Marien Fressinaud
Big work, not finished. A lot of features have been removed. See https://github.com/marienfressinaud/FreshRSS/issues/655
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-05Coding styleGravatar Marien Fressinaud
Remove spaces before parenthesis. 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-30SQL performance: Removed filter to hide old articlesGravatar Alexandre Alapetite
As discussed on https://github.com/marienfressinaud/FreshRSS/issues/493#issuecomment-56266415 For performance, but this is also a good simplification. Will help with PostgreSQL https://github.com/marienfressinaud/FreshRSS/issues/416 and SQLite too https://github.com/marienfressinaud/FreshRSS/issues/100 because the main query becomes simpler. Me may need to introduce another system to hide old articles, if this is a problem for some users. Also, the feature showing "empty feeds" in another colour may need to be adapted.
2014-09-19Auto-redirect from formLogin if already logged inGravatar Marien Fressinaud
2014-09-19Load $nb/2 articles when reading viewGravatar Marien Fressinaud
Fix https://github.com/marienfressinaud/FreshRSS/commit/7d5e57b35b4eca07417c296c156edb3b88eef90b See https://github.com/marienfressinaud/FreshRSS/issues/559
2014-09-18Reset auth system: i18n and styleGravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/issues/521
2014-09-18Improve resetAuth redirectionsGravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/issues/521
2014-09-18Improve reset auth systemGravatar Marien Fressinaud
- Add bcrypt.js in resetAuthAction() - Rename init_loginForm() in init_crypto_form() - Load init_crypto_form() everytime (if no #crypto-form, do nothing)
2014-09-18Add page for reset auth type [NOT WORKING]Gravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/issues/521
2014-09-17Load $nb/2 articles when articles are unfoldedGravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/issues/559
2014-08-23Correction pagination bug for read articlesGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/587
2014-08-13Long term cookie: purge old tokensGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-13Long term cookie minor changeGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-13Long term cookie to keep session openGravatar Alexandre Alapetite
Token system https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-10Change cookie lifetime to 1 month.Gravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-10Add possibility to keep logged in with formGravatar Marien Fressinaud
Add an option to keep logged in. Change lifetime of session cookie to 1 year. See https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-09Dynamic favicon: remove the same number in the titleGravatar Alexandre Alapetite
Now the number of unread articles in only shown in the favicon https://github.com/marienfressinaud/FreshRSS/issues/539
2014-07-13Number of unread articles as prefix in page titleGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/536
2014-07-05Merge pull request #516 from aledeg/statsGravatar Alexandre Alapetite
Refactor statistics