Commit Graph

879 Commits

Author SHA1 Message Date
Alexandre Alapetite
50075bfbdc Improvement for ASC order
https://github.com/marienfressinaud/FreshRSS/issues/495
2014-08-19 20:58:18 +02:00
Alexandre Alapetite
5c2f3349fa Long term cookie: purge old tokens
https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-13 20:09:23 +02:00
Alexandre Alapetite
359ccc8e4c Long term cookie minor change
https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-13 00:25:52 +02:00
Alexandre Alapetite
ee1b8f6f72 Long term cookie to keep session open
Token system
https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-13 00:09:48 +02:00
Marien Fressinaud
775ff40780 Improve import system
Catch more errors
Code refactoring
2014-08-12 22:55:43 +02:00
Marien Fressinaud
7900c5e550 Move htmlspecialchars_utf8 from Request to Helper
And remove html_chars_utf8 to use htmlspecialchars_utf8 instead in
importExportController
2014-08-12 21:56:34 +02:00
Marien Fressinaud
1b20f6bd02 New wrappers Minz_Request::good() and bad()
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-12 21:01:07 +02:00
Marien Fressinaud
8ffd59f34a Improve import system
Catch errors of zip_open and log it. A notification is shown to indicate
something went wrong.

See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-11 19:18:12 +02:00
Marien Fressinaud
94570aaf5a Improve system import/export
Miss checking presence of zip extension during import

See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-11 19:02:27 +02:00
Marien Fressinaud
086bb8df35 Add 1 month indication for "keep me logged in"
.prompt .form is also now larger

See https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-10 21:59:44 +02:00
Marien Fressinaud
93a77f84d4 Change cookie lifetime to 1 month.
See https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-10 21:08:10 +02:00
Marien Fressinaud
b43733d847 Forget to change the i18n string
See https://github.com/marienfressinaud/FreshRSS/issues/465
2014-08-10 20:52:14 +02:00
Marien Fressinaud
eceb7756cf Add possibility to keep logged in with form
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-10 20:29:43 +02:00
Marien Fressinaud
6655c1b429 Improve design of actualize notification
- Remove progress bar
- Show title of updated feed
2014-08-10 15:28:54 +02:00
Alexandre Alapetite
b68c5c6630 Dynamic favicon: remove the same number in the title
Now the number of unread articles in only shown in the favicon
https://github.com/marienfressinaud/FreshRSS/issues/539
2014-08-09 22:00:20 +02:00
Alexandre Alapetite
d477373ef2 SQLite: Bug creation new users
Not tested much yet. Some MySQL parts changed a bit too to double-check.
https://github.com/marienfressinaud/FreshRSS/issues/574
2014-08-09 19:58:39 +02:00
Alexandre Alapetite
737b206d8c Reading config: change order of settings
https://github.com/marienfressinaud/FreshRSS/issues/430
2014-08-09 18:58:04 +02:00
Alexandre Alapetite
2b25aa8f68 Option to hide (or not) feeds/categories with no unread article
https://github.com/marienfressinaud/FreshRSS/issues/430
https://github.com/marienfressinaud/FreshRSS/issues/575
2014-08-09 18:46:22 +02:00
Marien Fressinaud
c81be3c20a Fix problem token
Token was present in RSS url even without token value.
2014-08-09 15:26:12 +02:00
Marien Fressinaud
5490a190da Fix import/export view
Some bugs introduce because I was tired surely ;)
2014-08-09 15:01:22 +02:00
Alwaysin
5c32d0887f Correct typo in french translation (missing 's') (dev) 2014-08-09 12:35:15 +02:00
Marien Fressinaud
773d73314b Fix typo
Oops? :)
2014-08-09 00:35:06 +02:00
Marien Fressinaud
d007b22beb Change view import/export if no zip extension
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-09 00:23:22 +02:00
Marien Fressinaud
fda8eba4d1 Add a test to check presence of Zip archive.
A notification is shown if we cannot use ZipArchive.

See https://github.com/marienfressinaud/FreshRSS/issues/494
2014-08-09 00:12:37 +02:00
Marien Fressinaud
84826491a3 Improve export function
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-08 23:53:16 +02:00
Marien Fressinaud
d289c5340f Add support of HTML5 notifications
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-08 21:30:23 +02:00
Alexandre Alapetite
65d6796e92 First bug for old articles first
https://github.com/marienfressinaud/FreshRSS/issues/495
2014-08-07 11:29:19 +02:00
Alexis Degrugillier
e05e9a8702 Refactor install file to check available databases
Now it checks for any pdo driver supported instead of only mysql
2014-08-03 08:47:18 -04:00
Alexandre Alapetite
a9a6192948 Unicode tick without colour
https://github.com/marienfressinaud/FreshRSS/issues/560
The former was green in Firefox 32 beta
2014-08-02 20:29:51 +02:00
Alexandre Alapetite
274c8096e3 Experimental: Removed lazyload.js and use postpone attribute instead
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-02 19:57:15 +02:00
Alexandre Alapetite
8e5d98c4be Dynamic favicon showing the number of unread articles
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-02 01:33:33 +02:00
Alexandre Alapetite
a0930a5ad6 Strict Referer domain against XSRF
https://github.com/marienfressinaud/FreshRSS/issues/554
2014-08-01 23:22:41 +02:00
Alexandre Alapetite
d3f730287d Install script was not keeping all config settings
https://github.com/marienfressinaud/FreshRSS/issues/537
2014-08-01 21:36:35 +02:00
Alexandre Alapetite
35be1769de Basic protection against XSRF using Referer
https://github.com/marienfressinaud/FreshRSS/issues/554
Also edited the error controler to use the log message passed in
Minz_Error::error().
2014-08-01 20:20:25 +02:00
Marien Fressinaud
4a0e5ac037 Merge pull request #548 from aledeg/more-stats
Add article repartition in stats
2014-07-29 00:07:07 +02:00
Alexis Degrugillier
1739e2e9d2 Remove unnecessary title property 2014-07-28 17:59:20 -04:00
Alexis Degrugillier
2739817cfb Small fixes to follow @marienfressinaud recommandations (take 2) 2014-07-28 17:46:03 -04:00
Alexandre Alapetite
1d73286aaa Merge pull request #550 from plopoyop/dev
Correct bug in add/remove users
2014-07-26 19:37:06 +02:00
Alexandre Alapetite
d19824b919 Hide read feeds and read categories when in unread mode
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-26 13:56:44 +02:00
plopoyop
ad9fbf3887 Correct bug in add/remove users 2014-07-26 13:29:55 +02:00
Alexis Degrugillier
84dcd25d89 Small fixes to follow @marienfressinaud recommandations 2014-07-25 06:36:43 -04:00
Alexandre Alapetite
584665eed4 Stats idle: hide empty periods
e507256d0b (commitcomment-7119169)
2014-07-25 10:33:06 +02:00
Alexis Degrugillier
aa317eb294 Add repartition statistic support in Sqlite 2014-07-24 22:57:31 -04:00
Alexis Degrugillier
d049c1bc80 Add article repartition in stats
Add article repartition per hour, per day of week, per month for all feeds but also for individual feeds.
2014-07-24 21:57:59 -04:00
Marien Fressinaud
d5d3f6dcfa Fix bugs in import/export
- EntryDAO.php: add a missing "FreshRSS_EntryDAO::"
- Fix htmlspecialchars in opml export
2014-07-23 23:56:16 +02:00
Alexandre Alapetite
e507256d0b Stats idle feed small bug
Some feeds were listed more than once. A bit more independent from the
SQL query.
https://github.com/marienfressinaud/FreshRSS/issues/544
2014-07-23 00:24:00 +02:00
Alexandre Alapetite
72293427ac Idle feeds: show tooltip with last update date
https://github.com/marienfressinaud/FreshRSS/issues/544
2014-07-22 13:56:01 +02:00
Alexandre Alapetite
937cb4b066 Idle feeds: link to configuration page
https://github.com/marienfressinaud/FreshRSS/issues/544
2014-07-22 13:41:31 +02:00
Alexis Degrugillier
68c0a827d2 Add statistics support for Sqlite
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-18 20:35:03 -04:00
Alexandre Alapetite
3403af3050 SQL: Bug with order ASC
https://github.com/marienfressinaud/FreshRSS/issues/538
2014-07-17 11:56:15 +02:00