Commit Graph

100 Commits

Author SHA1 Message Date
Marien Fressinaud
80e7e15e3f Show notification only for new articles
Now, notifications are shown only if there are new articles not shown
on the page yet.
Before, at the first loading of the page, if there were unread articles,
a notification appeared after two minutes!
2014-08-09 11:50:13 +02:00
Marien Fressinaud
2a2ae12ba3 Merge branch 'dev' of github.com:marienfressinaud/freshrss into dev 2014-08-08 22:17:15 +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
Alexis Degrugillier
e08e8ee633 Change event handling for confirmation dialog
See #567
Before, when content was loaded dynamically, the confirmation was not poping.
Now, the confirmation pops by changing event handling.
2014-08-08 07:35:13 -04:00
Alexandre Alapetite
a7632b5429 Dynamic favicon style 2
https://github.com/marienfressinaud/FreshRSS/issues/539
2014-08-07 21:45:52 +02:00
Alexandre Alapetite
eed05c06e9 Dynamic favicon style
A bit more transparency in the background of the text
https://github.com/marienfressinaud/FreshRSS/issues/539
2014-08-07 21:33:38 +02:00
Alexandre Alapetite
83b8af59e5 Revert "Dynamic favicon all unread articles"
This reverts commit 6972a46979.
2014-08-07 20:34:08 +02:00
Alexandre Alapetite
6972a46979 Dynamic favicon all unread articles
https://github.com/marienfressinaud/FreshRSS/issues/539
2014-08-06 20:41:47 +02:00
Alexandre Alapetite
6ef9fc7a92 Minor change dynamic favicon
https://github.com/marienfressinaud/FreshRSS/issues/539
2014-08-03 20:20:54 +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
6bbf7d51cf Dynamic favicon quick fix Chrome
https://github.com/marienfressinaud/FreshRSS/issues/539
Could be done better
2014-08-02 15:33:00 +02:00
Alexandre Alapetite
c685998768 Dynamic favicon large numbers 2
https://github.com/marienfressinaud/FreshRSS/issues/539
2014-08-02 11:43:43 +02:00
Alexandre Alapetite
0246d2340b Dynamic favicon large numbers
https://github.com/marienfressinaud/FreshRSS/issues/539
2014-08-02 02:12:20 +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
Marien Fressinaud
aafcd3a879 Merge branch 'dev' of github.com:marienfressinaud/freshrss into dev 2014-07-31 17:21:09 +02:00
Marien Fressinaud
3ffa2e3018 Fix bug collapse and mark_read
Articles was not marked as read when open with shortcuts.collapse_entry

Fix https://github.com/marienfressinaud/FreshRSS/issues/556
2014-07-31 17:19:25 +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
Alexandre Alapetite
b466b6075e Merge pull request #535 from aledeg/confirm
Add a confirmation when using shortcuts
2014-07-17 12:07:30 +02:00
Alexandre Alapetite
5a7e602005 Bug main view prefix title
https://github.com/marienfressinaud/FreshRSS/issues/536
2014-07-14 00:30:55 +02:00
Alexandre Alapetite
fb65d7ee49 Bug compatibility prefix title
https://github.com/marienfressinaud/FreshRSS/issues/536
The previous syntax worked only in Firefox
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/default_parameters
2014-07-13 22:42:33 +02:00
Alexandre Alapetite
2da4c13263 Number of unread articles as prefix in page title
https://github.com/marienfressinaud/FreshRSS/issues/536
2014-07-13 22:36:34 +02:00
Alexis Degrugillier
32fca7c4e1 Add a confirmation when using shortcuts
Before, it was possible to mark everything as read with no confirmation using shortcut even if the configuration introduced in a previous commit asked for a confirmation.
Now, depending of the configuration, a confirm dialog box is displayed when requested in the configuration.
2014-07-12 09:00:26 -04:00
Marien Fressinaud
ab9d656135 Block user to click many times on the refresh button
See https://github.com/marienfressinaud/FreshRSS/issues/513
2014-07-09 20:20:17 +02:00
Alexis Degrugillier
6b900fe31b Change behavior when selecting an article
See #524
Before, when the configuration was set so the article is marked as read when selected, if you mark it as unread while it is open and then close it, it is marked again as read. This behavior was not straightforward.
Now, the article is not marked again as read.
2014-07-05 09:06:45 -04:00
Alexandre Alapetite
d632900b2f Autoload more articles if needed on big screens 2014-07-05 11:46:29 +02:00
Marien Fressinaud
a7e8332809 Improve system of queries
- 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-14 09:04:31 +02:00
Marien Fressinaud
2b8dc66634 Merge branch 'user-queries' of https://github.com/aledeg/FreshRSS into aledeg-user-queries
Conflicts:
	app/layout/nav_menu.phtml
2014-06-13 20:20:43 +02:00
Marien Fressinaud
5ea82076fa Improve toggle-password
Add class "active" to button which reveals the password and remove it
when revealing is terminated
2014-06-05 21:56:58 +02:00
Marien Fressinaud
92993b26a8 Merge branch 'dev' into 320-template 2014-06-05 21:52:48 +02:00
Marien Fressinaud
e47f915920 Improve page of sharing configuration
- Use sticks
- Change order of buttons
2014-06-05 21:48:03 +02:00
Marien Fressinaud
1c2cdd7650 Fix bug openNotification function (Origine2)
Add class "notification"
2014-06-05 19:12:05 +02:00
Alexis Degrugillier
8521c876d4 Add user queries
It's an intermediary step to remove the favorite button.
I add a button to store the current query as a favorite query. It redirects automatically to the configuration page where it is possible to name and remove user queries.
To make the queries more straigtforward, I removed the default behavior when searching for a string. This way, when we search for a string, the filter is not defaulted to all articles.
2014-05-04 17:23:53 -04:00
Alexandre Alapetite
2f51556f77 jQuery 2.1.1
http://blog.jquery.com/2014/05/01/jquery-1-11-1-and-2-1-1-released/
2014-05-03 11:45:58 +02:00
Alexis Degrugillier
f820f428ef Add a shortcut to access the search field 2014-04-27 11:00:25 -04:00
Alexandre Alapetite
7b57ecc9f0 Fix: Cannot open link from article header
https://github.com/marienfressinaud/FreshRSS/issues/490
2014-04-17 18:15:53 +02:00
Alexandre Alapetite
6a04683171 Revert "Revert "Fix click action on article""
This reverts commit c94e893dbb.
2014-04-11 09:05:31 +02:00
Alexandre Alapetite
c94e893dbb Revert "Fix click action on article"
This reverts commit 7e0566b0a1.
2014-04-11 08:41:51 +02:00
Alexis Degrugillier
7e0566b0a1 Fix click action on article
Before, when the user clicks on an article header one, it expands. When it clicks a second time, it collapses.
When it clicks a third time it stays collapsed instead of expand.
Now it toggles the article between expanded and collapsed state.
2014-04-10 23:39:41 -04:00
Alexis Degrugillier
65bde8b6cf Fix unexpected behavior during navigation
When the navigation is done with the mouse and shortcuts, the focus on the current article is lost when
the article is collapsed with the mouse. So when navigating with the shortcut does not open the intended
article.

See #473 and #478
2014-04-09 20:20:32 -04:00
Alexandre Alapetite
f6049f3be7 Change click behaviour on articles #3
Code simplification
https://github.com/marienfressinaud/FreshRSS/issues/473

60f73f53c4
2014-04-08 21:17:59 +02:00
Alexandre Alapetite
60f73f53c4 Change click behaviour on articles #2
https://github.com/marienfressinaud/FreshRSS/issues/473
https://github.com/marienfressinaud/FreshRSS/pull/474/files
2014-04-08 21:04:23 +02:00
Alexis Degrugillier
117396f751 Change click behavior on articles
Before, when the user click on an article it closes even if he want to select text.
This behavior was not acceptable, so I changed it to close the article when cliking
on the article footer or in the article margins.

See #473
2014-04-07 19:07:01 -04:00
Alexandre Alapetite
40df0eb452 UI: Align article one entry lower
https://github.com/marienfressinaud/FreshRSS/issues/470
2014-04-06 16:20:10 +02:00
Marien Fressinaud
19517baf13 Add a bookmark to easily subscribe to websites
- FeedController->addAction (GET) shows a confirmation page
- If already subscribe, redirect to Configure->feedAction
- Add a bookmark in aside_feed

See #425 #426 and #464
2014-03-30 17:52:42 +02:00
Alexandre Alapetite
19fb901cb4 Small corrections previous pull requests
https://github.com/marienfressinaud/FreshRSS/issues/457
https://github.com/marienfressinaud/FreshRSS/pull/459

https://github.com/marienfressinaud/FreshRSS/issues/422
https://github.com/marienfressinaud/FreshRSS/pull/461
2014-03-15 15:08:44 +01:00
Alexandre Alapetite
53d31c022d Merge pull request #461 from aledeg/password
Add a button to reveal/hide password
2014-03-15 14:32:09 +01:00
Alexis Degrugillier
1af723ca68 Add a button to reveal/hide password
I add a button on the configure user interface to reveal the password for 2 seconds and hide it after that period.

See #442

I am not sure if the fallback unicode text for the icon is correct. I can not make it work.
2014-03-15 07:20:42 -04:00
Alexis Degrugillier
be46819f51 Change article observer
Instead of observe only the bottom of the article to collapse the article, the whole article is observed.
Now if you want to close an article in the middle of your reading, you can.
2014-03-14 20:46:50 -04:00
Alexis Degrugillier
6863ad663f Add an observer to close an article when clicking on its footer
See #449
2014-03-12 22:40:20 -04:00
Alexis Degrugillier
3083af6288 Enhance feed adding popup
I added a new option in the category select. It allows the user to add dynamically
a new category and add the feed to the newly created category.

See #356
2014-03-09 21:45:25 -04:00