Commit Graph

114 Commits

Author SHA1 Message Date
Marien Fressinaud
c2ca9805fa Same behaviour for middle click on article
Middle click was not catched by JavaScript so when opening article in a
new page, itwas not marked as read.

See https://github.com/marienfressinaud/FreshRSS/issues/454
2014-09-16 17:46:16 +02:00
Marien Fressinaud
7eb71edecf Improve align article on previous article
Always align view on previous article IF its top is not too far (magic
number: 150px).

See https://github.com/marienfressinaud/FreshRSS/issues/470
2014-09-16 17:23:25 +02:00
Marien Fressinaud
6f8413403b Change #bigMarkAsRead link in button
See https://github.com/marienfressinaud/FreshRSS/issues/599#issuecomment-55735615
2014-09-16 14:58:25 +02:00
Marien Fressinaud
497d3564c8 Fix bug with shortcut "mark all as read"
See https://github.com/marienfressinaud/FreshRSS/issues/599
2014-09-16 14:19:55 +02:00
Marien Fressinaud
d67242884d Revert setTimeout for refreshUnreads
See 6374f9ec98 (commitcomment-7790536)
2014-09-16 10:53:20 +02:00
Marien Fressinaud
6374f9ec98 Use setTimeout instead of setInterval (JavaScript)
See https://github.com/marienfressinaud/FreshRSS/pull/585
2014-09-15 16:19:12 +02:00
Alexandre Alapetite
ea79967ff9 Merge pull request #606 from aledeg/navigation
Fix navigation on hidden categories and feeds
2014-09-05 23:00:36 +02:00
Alexis Degrugillier
88ec538ef5 Fix navigation on hidden categories and feeds
Before, when navigating with the keyboard, hidden categories and feeds where shown.
Now, they stay hidden.

See #604
2014-09-04 23:45:40 -04:00
Alexandre Alapetite
228e89dbe3 Merge pull request #592 from aledeg/more-shortcuts
Add shortcuts
2014-09-04 18:58:08 +02:00
Alexis Degrugillier
5d718b5c3b Fix collapse shortcut behavior
Before, the collapse shortcut was marking all articles as read when used. No matter what configuration you use.
Now, the collapse shortcut marks articles only if the appropriate configuration is used (when article is viewed).
2014-09-03 21:33:29 -04:00
Alexis Degrugillier
7b17c60bb1 Add shortcuts
Add a shortcut to open the wiki. Shortcut is F1 and is not modifiable.

Add a shortcut to access user filters the same way to access share actions.
2014-08-24 11:37:07 -04:00
Marien Fressinaud
d04f7ac9ea Fix bug link at article bottom not mark as read
See https://github.com/marienfressinaud/FreshRSS/issues/578
2014-08-23 22:41:28 +02:00
Alexis Degrugillier
393fce3e8a Add a feed selector in repartition statistics.
Before we could choose the feed in the statistics only from the feed options in the main view. Now with the new drop-down list, it is possible to choose it from the statistics page.
The rendering needs to be polished to be nicer.
2014-08-19 08:55:44 -04: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
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