summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
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
2014-08-12Fix coding style of Minz_RequestGravatar Marien Fressinaud
2014-08-12Fix a Minz_Session TODOGravatar Marien Fressinaud
Not use additional variable to manipulate session variables Fix coding style
2014-08-12Use REQUEST_URI instead of SCRIPT_NAME for cookiesGravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/commit/eceb7756cfcf117c2a18984291181a84697ed3cd#commitcomment-7345438
2014-08-12New wrappers Minz_Request::good() and bad()Gravatar Marien Fressinaud
1. Set a notification message in session variable 2. Redirect to a specific url First use in importExportController.php See https://github.com/marienfressinaud/FreshRSS/conversations/576
2014-08-11Revert "Set session.gc_maxlifetime"Gravatar Marien Fressinaud
This reverts commit df47217839ccddb8e03015959c61b61e748d9700. See https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-10Set session.gc_maxlifetimeGravatar Marien Fressinaud
Take the maxvalue between 1440 (24m) and cookie lifetime when calling Minz_Session::keepCookie() 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-09SQLite: Bug creation new usersGravatar Alexandre Alapetite
Not tested much yet. Some MySQL parts changed a bit too to double-check. https://github.com/marienfressinaud/FreshRSS/issues/574
2014-08-02Experimental: Removed lazyload.js and use postpone attribute insteadGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/316 The performance of lazyload.js was not good enough, and not really needed anyway. This change mostly affects mainly situations when the content of articles is shown by default, not so much when they are collapsed Using HTML5 lazyload and postpone attributes by default on all img, audio, iframe, video. http://www.w3.org/TR/resource-priorities/#attr-postpone Postpone attribute is removed by JavaScript if the user does not want the lazyload behaviour. In the case when users do want the lazyload behaviour, in normal view with articles hidden, we furthermore use the data-original approach to be sure to support current browsers. +Corrected some bugs with enclosures, and some images not appearing before the first scroll. +Now faster regex processing img and iframe at once (was not practical with lazyload.js)
2014-08-01Basic protection against XSRF using RefererGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/554 Also edited the error controler to use the log message passed in Minz_Error::error().
2014-07-06Add TTL to control feed freshnessGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/250
2014-07-05Add support for SQLiteGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/100 Warning: MySQL has been changed too, so bugs may have been introduced
2014-07-03Preparation for SQLiteGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/100
2014-07-03Cleaning some hash functionsGravatar Alexandre Alapetite
2014-07-01SimplePie HTTP 301 Moved PermanentlyGravatar Alexandre Alapetite
Add support for HTTP 301 Moved Permanently in SimplePie FreshRSS will automatically update the address of a feed, only in this case.
2014-06-15Add two wrappers (_t() and _i())Gravatar Marien Fressinaud
- _t() is a wrapper for Minz_Translate::t() - Improve coding style of Translate.php - _i() is a wrapper for FreshRSS::icon() - queries.phtml shows how they work - It is a lot easier to read files with these functions :)
2014-06-14Improve system of queriesGravatar Marien Fressinaud
- Coding style - More checks server side - Default query name is "Query n°X" - List of queries is moved into nav_menu, in a dropdown - Better system to remove fields in JS (to a.remove elements, give an attibute data-remove="id_to_remove") - Fix a bug in lib/Mine/Request.php (htmlspecialchars_utf8 can be applied on arrays now) - Few theme improvements - Add an element .no-mobile to apply to elements which should not appear on mobiles See https://github.com/marienfressinaud/FreshRSS/pull/498
2014-06-01lib_date commentGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/511
2014-06-01lib_date commentGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/511
2014-06-01New search system, including date: and pubdate: and combinationGravatar Alexandre Alapetite
Now also accepts combination of #tag and intitle: and inurl: and author: and the new date: and pubdate: https://github.com/marienfressinaud/FreshRSS/issues/511 Each search prefix stop at the first space (we should add a possibility to have quotes for multiple words) So if you want two words in title, write "intitle:word1 intitle:word2" Examples of dates: date:2014 date:2014-02/2014-04 or date:201402/201404 date:P1W for the last week
2014-05-17SimplePie patch acceptedGravatar Alexandre Alapetite
Merged into master branch of SimplePie https://github.com/simplepie/simplepie/pull/352
2014-03-30Merge branch '163-export' into devGravatar Marien Fressinaud
Conflicts: app/layout/aside_feed.phtml
2014-03-30Minz_Url separator is "?" instead of "/?"Gravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/pull/426
2014-03-29Better OPML import / exportGravatar Marien Fressinaud
- use a new OPML library (https://github.com/marienfressinaud/lib_opml) - import has been completely rewritten (far better!) - introduce addFeedObject and addCategoryObject (in DAO for the moment). Permit to add easily feeds and categories (check if they already exist in DB) - introduce html_chars_utf8 (wrap htmlspecialchars for UTF-8)
2014-03-27Export is fully implementedGravatar Marien Fressinaud
- Export list of feeds (OPML) - Export list of favourites (JSON) - Export list of articles per feed (JSON)
2014-03-24Minz: remove url_rewritingGravatar Alexandre Alapetite
As suggested https://github.com/marienfressinaud/FreshRSS/issues/163#issuecomment-38478669 At the same time, removes a bunch of (almost) dead code such as Minz_Router (the few remaining lines being moved to Minz_FrontController to avoid a class) Contributes to https://github.com/marienfressinaud/FreshRSS/issues/303
2014-03-22Minz: remove one layer of ob_ (experimental)Gravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/303#issuecomment-38351311 https://github.com/marienfressinaud/FreshRSS/issues/163 * Remove Minz_Response (not needed anymore) * Move Minz_Request::reseted to Minz_Dispatcher::reset()
2014-03-22Minz: remove Minz_CacheGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/163#issuecomment-37990319 https://github.com/marienfressinaud/FreshRSS/issues/303
2014-03-16Add some helpers to Minz_Log classGravatar Marien Fressinaud
Add following methods: - Minz_Log::debug($msg) - Minz_Log::notice($msg) - Minz_Log::warning($msg) - Minz_Log::error($msg)
2014-03-02New unsafe autologin modeGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/440
2014-03-02Bug usernames with uppercaseGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/439
2014-02-28API streamContents for categories and feedsGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/13
2014-02-27Alpha version of Google Reader compatible APIGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/13 Hardcoded passwords, no possibility to add/delete feeds or edit categories yet.
2014-02-23Test si crypt() fonctionne pour PHP 5.3.3Gravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/432
2014-02-17Revert "SimplePie : tolérance caractères UTF-8 invalides"Gravatar Alexandre Alapetite
This reverts commit 7e66db7782b7fa7f7262a70ccea5c377341886cd.
2014-02-17SimplePie: Update to 1.4-devGravatar Alexandre Alapetite
Manual merge of SimplePie master (1.4-dev) Preparation to ease submitting patches upstream.
2014-02-16SimplePie : tolérance caractères UTF-8 invalidesGravatar Alexandre Alapetite
Meilleure implémentation de https://github.com/marienfressinaud/FreshRSS/commit/f5251384c40fbf16c2b7f448884d7583b0119e7a pour corriger https://github.com/marienfressinaud/FreshRSS/issues/419 Revert partiel de https://github.com/marienfressinaud/FreshRSS/commit/316778ef47394b27047abd9c9a739c34d2fd3829#diff-d8be58dcfea709da6131af81563c5c9fR1350
2014-02-13Add possibility to anonymous to refresh feedsGravatar Marien Fressinaud
Obviously, it's optional! (and deactivate by default) Need some more tests? See #351
2014-02-11Better function isPostGravatar Marien Fressinaud
Use $_SERVER['REQUEST_METHOD'] instead of empty($_POST) Possibly related to #413
2014-02-11SQL : Supprime c.colorGravatar Alexandre Alapetite
Implémente décision https://github.com/marienfressinaud/FreshRSS/issues/295 Install.php pourrait peut-être être mis à jour pour supprimer automatiquement la colonne, mais ce n'est pas fait dans ce patch.
2014-02-11Tolère certaines séquences UTF-8 invalidesGravatar Alkarex
Corrige https://github.com/marienfressinaud/FreshRSS/issues/419 À re-tester sur d'autres flux
2014-02-02SimplePie : Meilleur cache des flux avec signature MD5Gravatar Alexandre Alapetite
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/351#issuecomment-31755012 Pour les flux qui ne supportent pas les requêtes conditionnelles. Filtre les tags et commentaires gênants avant la signature (style <lastBuildDate> qui change tout le temps sans que le contenu change, <slash:comments>, ainsi que les commentaires XML qui détruisent le cache comme <!-- généré en X secondes -->) Il reste quelques flux à débogger dont le cache n'est pas encore optimal. C'est pour cela qu'il reste quelques syslog(LOG_DEBUG, ...). Au passage, évite que SimplePie fasse une double requête pour vérifier le cache si le serveur est un peu lent. Un jour, il faudra nettoyer les changements faits à SimplePie et leur remonter les patchs les plus intéressants.
2014-02-01Rafraîchissement des flux en cache compatible multi-utilisateursGravatar Alexandre Alapetite
Compatibilité multi-utilisateurs pour la mise à jour rapide des flux avec cache Correction de https://github.com/marienfressinaud/FreshRSS/commit/cf8ee6bd48221e73b515922e75945e9aa763f907#commitcomment-5247478 Contribue à https://github.com/marienfressinaud/FreshRSS/issues/351#issuecomment-31755012
2014-02-01Rafraîchissement des flux en cache super rapideGravatar Alexandre Alapetite
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/351#issuecomment-31755012 Les flux non-modifiés et en cache ne coûtent maintenant presque plus rien (304, ou délai de cache SimplePie non expiré), alors qu'avant toutes les entrées étaient rechargées
2014-02-01Actualize : Tolère PHP lancé en CGI plutôt que CLIGravatar Alexandre Alapetite
Corrige https://github.com/marienfressinaud/FreshRSS/issues/405 + Message d'erreur en cas de problème de droits dans ./data/ (par exemple si le cron utilise un mauvais utilisateur)