summaryrefslogtreecommitdiff
path: root/app
AgeCommit message (Collapse)Author
2014-08-10Litlle improvements (update system)Gravatar Marien Fressinaud
- Check UPDATE_FILENAME exists before applying update - Add empty line at the end of files
2014-08-10Improve update APIGravatar Marien Fressinaud
Update script must implement 4 functions: - apply_update() to perform the update (most important). Return true if all is ok, else false. - need_info_update() returns true if we need more info for update, else false. If this function always returns false, you don't need to implement following functions (but it's better to not forget) - ask_info_update() should be a HTML form to ask infos. Method must be post and action must point to _url('update', 'apply') (or leave it blank) - save_info_update() is called for POST requests (to save form from ask_info_update())
2014-08-10Add translations for update systemGravatar Marien Fressinaud
2014-08-09Add basic system of updateGravatar Marien Fressinaud
- Check on update.freshrss.org for new updates - Download script - Apply script - Need translations and verifications NOTE: current script on server indicates version 0.7.3 is an update of 0.8-dev ==> IT'S ONLY FOR MY TESTS! Script just does a backup of ./data actually... See https://github.com/marienfressinaud/FreshRSS/issues/411
2014-08-09Merge branch 'dev' into 411-update-systemGravatar Marien Fressinaud
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-09Reading config: change order of settingsGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/430
2014-08-09Option to hide (or not) feeds/categories with no unread articleGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/430 https://github.com/marienfressinaud/FreshRSS/issues/575
2014-08-09Fix problem tokenGravatar Marien Fressinaud
Token was present in RSS url even without token value.
2014-08-09Fix import/export viewGravatar Marien Fressinaud
Some bugs introduce because I was tired surely ;)
2014-08-09Refactor install.phpGravatar Marien Fressinaud
- Remove all references to update functions - Improve step2 by checking if password exists (form) or mail (persona) - Add a param($key, $default=falsse) function to get $_POST vars - Fix coding style (mainly spaces)
2014-08-09Correct typo in french translation (missing 's') (dev)Gravatar Alwaysin
2014-08-09Fix typoGravatar Marien Fressinaud
Oops? :)
2014-08-09Change view import/export if no zip extensionGravatar Marien Fressinaud
Show a select with only one choice is there is no zip extension on the server. Fix typo. See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-09Add a test to check presence of Zip archive.Gravatar Marien Fressinaud
A notification is shown if we cannot use ZipArchive. See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-08Improve export functionGravatar Marien Fressinaud
If there is only one file to export, we don't need of a .zip archive. So it is exported as a simple file (.json or .opml) See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-08Add support of HTML5 notificationsGravatar Marien Fressinaud
Show a notification if there are at least 1 new article to read. Support only window.Notification API. See https://github.com/marienfressinaud/FreshRSS/issues/399
2014-08-07First bug for old articles firstGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/495
2014-08-03Refactor install file to check available databasesGravatar Alexis Degrugillier
Now it checks for any pdo driver supported instead of only mysql
2014-08-02Unicode tick without colourGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/560 The former was green in Firefox 32 beta
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-02Dynamic favicon showing the number of unread articlesGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/539 Works in Firefox 32 and Opera 12. Does not work in IE 11 but without error. We should test if icons still work in many contexts such as placing a shortcut on the desktop of various platforms.
2014-08-01Strict Referer domain against XSRFGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/554
2014-08-01Install script was not keeping all config settingsGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/537
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-29Merge pull request #548 from aledeg/more-statsGravatar Marien Fressinaud
Add article repartition in stats
2014-07-28Remove unnecessary title propertyGravatar Alexis Degrugillier
2014-07-28Small fixes to follow @marienfressinaud recommandations (take 2)Gravatar Alexis Degrugillier
2014-07-26Merge pull request #550 from plopoyop/devGravatar Alexandre Alapetite
Correct bug in add/remove users
2014-07-26Hide read feeds and read categories when in unread modeGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/430 There are some repeated HTML attributes (`data-unread` and `active`) which could maybe be simplified. If some people do not like this behaviour, we could consider having an option.
2014-07-26Correct bug in add/remove usersGravatar plopoyop
2014-07-25Small fixes to follow @marienfressinaud recommandationsGravatar Alexis Degrugillier
2014-07-25Stats idle: hide empty periodsGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/commit/e507256d0bdebd02cf1fcd6fe1477cbac0b6934e#commitcomment-7119169
2014-07-24Add repartition statistic support in SqliteGravatar Alexis Degrugillier
2014-07-24Add article repartition in statsGravatar Alexis Degrugillier
Add article repartition per hour, per day of week, per month for all feeds but also for individual feeds.
2014-07-23Fix bugs in import/exportGravatar Marien Fressinaud
- EntryDAO.php: add a missing "FreshRSS_EntryDAO::" - Fix htmlspecialchars in opml export
2014-07-23Stats idle feed small bugGravatar Alexandre Alapetite
Some feeds were listed more than once. A bit more independent from the SQL query. https://github.com/marienfressinaud/FreshRSS/issues/544
2014-07-22Idle feeds: show tooltip with last update dateGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/544
2014-07-22Idle feeds: link to configuration pageGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/544
2014-07-18Add statistics support for SqliteGravatar Alexis Degrugillier
Add statistics support for Sqlite by tweeking one query and rewrite an other. The rewrite implied a complete refactor of the MySql query as well. Now the code is more flexible and make less queries to the database. See #527
2014-07-17SQL: Bug with order ASCGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/538
2014-07-13Number of unread articles as prefix in page titleGravatar Alexandre Alapetite
https://github.com/marienfressinaud/FreshRSS/issues/536
2014-07-10Fix bug changement default viewGravatar Marien Fressinaud
- It was impossible to set default view to "Show all articles" - "0" was compared to 0 ("O" === 0 => false) - cast value from Minz_Request into integer
2014-07-10Fix a bug during installationGravatar Marien Fressinaud
- If MySQL database was configured and user choosed SQLite, an error was raised at the first submit. - Cast STEP into integer
2014-07-10Add base-theme in p/themesGravatar Marien Fressinaud
This base theme is not visible by default (no name). You can use it to create new theme. Fix https://github.com/marienfressinaud/FreshRSS/issues/533 (comment)
2014-07-10SQL: MySQL speed optimisationGravatar Alexandre Alapetite
Would be nice to test with other versions of MySQL too. Comparison before/after: mysql> EXPLAIN SELECT e.id, e.guid, e.title, e.author, UNCOMPRESS(content_bin) AS content, e.link, e.date, e.is_read, e.is_favorite, e.id_feed, e.tags FROM `freshrss_alex_entry` e INNER JOIN (SELECT e1.id FROM `freshrss_alex_entry` e1 INNER JOIN `freshrss_alex_feed` f ON e1.id_feed=f.id WHERE f.priority > 0 AND (e1.id >= 1381615200000000 OR e1.is_read=0 OR e1.is_favorite=1 OR (f.keep_history <> 0)) ORDER BY e1.id DESC LIMIT 31) e2 ON e2.id=e.id ORDER BY e.id DESC; +----+-------------+------------+--------+-------------------------------------+----------+---------+---------------+------+----------------------------------------------+ | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | +----+-------------+------------+--------+-------------------------------------+----------+---------+---------------+------+----------------------------------------------+ | 1 | PRIMARY | <derived2> | ALL | NULL | NULL | NULL | NULL | 31 | Using temporary; Using filesort | | 1 | PRIMARY | e | eq_ref | PRIMARY | PRIMARY | 8 | e2.id | 1 | | | 2 | DERIVED | f | range | PRIMARY,priority,keep_history | priority | 1 | NULL | 137 | Using where; Using temporary; Using filesort | | 2 | DERIVED | e1 | ref | PRIMARY,id_feed,is_favorite,is_read | id_feed | 2 | freshrss.f.id | 452 | Using where | +----+-------------+------------+--------+-------------------------------------+----------+---------+---------------+------+----------------------------------------------+ 4 rows in set (3.50 sec) mysql> EXPLAIN SELECT e.id, e.guid, e.title, e.author, UNCOMPRESS(content_bin) AS content, e.link, e.date, e.is_read, e.is_favorite, e.id_feed, e.tags FROM `freshrss_alex_entry` e INNER JOIN (SELECT e1.id FROM `freshrss_alex_entry` e1 INNER JOIN `freshrss_alex_feed` f ON e1.id_feed=f.id WHERE f.priority > 0 AND e1.id <=9000000000000000 AND (e1.id >= 1381615200000000 OR e1.is_read=0 OR e1.is_favorite=1 OR (f.keep_history <> 0)) ORDER BY e1.id DESC LIMIT 31) e2 ON e2.id=e.id ORDER BY e.id DESC; +----+-------------+------------+--------+-------------------------------------+---------+---------+---------------------+-------+---------------------------------+ | id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra | +----+-------------+------------+--------+-------------------------------------+---------+---------+---------------------+-------+---------------------------------+ | 1 | PRIMARY | <derived2> | ALL | NULL | NULL | NULL | NULL | 31 | Using temporary; Using filesort | | 1 | PRIMARY | e | eq_ref | PRIMARY | PRIMARY | 8 | e2.id | 1 | | | 2 | DERIVED | e1 | range | PRIMARY,id_feed,is_favorite,is_read | PRIMARY | 8 | NULL | 70084 | Using where | | 2 | DERIVED | f | eq_ref | PRIMARY,priority,keep_history | PRIMARY | 2 | freshrss.e1.id_feed | 1 | Using where | +----+-------------+------------+--------+-------------------------------------+---------+---------+---------------------+-------+---------------------------------+ 4 rows in set (0.01 sec)
2014-07-09Block user to click many times on the refresh buttonGravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/issues/513
2014-07-09Coding style header.phtml + possibility to change logoGravatar Marien Fressinaud
See https://github.com/marienfressinaud/FreshRSS/issues/532
2014-07-08SQL: removed superfluous transactions to avoid some dead locksGravatar Alexandre Alapetite
2014-07-07Add a configuration parameterGravatar Alexis Degrugillier
Add a parameter to choose wether or not the user want to display a confirmation dialog when clicking on "mark all as read" actions.