Commit Graph

246 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
5d7deb6d25 CSS: Bug dancing titles
https://github.com/marienfressinaud/FreshRSS/issues/534
Tested on Firefox 31 (Win8), Firefox 30 (Ubuntu), IE11, Chrome 36
2014-07-14 19:35:31 +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
72b6bf8d88 Fix header title alignment and change color of Flat icon 2014-07-10 19:37:19 +02:00
Marien Fressinaud
0878b32faf Fix themes
- Add padding for "Connection" button
- Adjust height of .header and #global. I don't really like this solution
  but I can't see any other solution
2014-07-10 19:25:27 +02:00
Marien Fressinaud
f56dd400b7 Add base-theme in p/themes
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-10 17:42:42 +02: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
Marien Fressinaud
c1728fe0d7 Coding style header.phtml + possibility to change logo
See https://github.com/marienfressinaud/FreshRSS/issues/532
2014-07-09 19:39:21 +02:00
Marien Fressinaud
62dea24777 Fix Dark theme
See https://github.com/marienfressinaud/FreshRSS/issues/532
2014-07-09 19:28:58 +02:00
Marien Fressinaud
0a51ac6033 Fix Dark theme + Changelog 2014-07-08 23:35:59 +02:00
Marien Fressinaud
61decd4528 Dark design based on default template
Need reviews

See https://github.com/marienfressinaud/FreshRSS/issues/320
2014-07-08 23:32:54 +02:00
Marien Fressinaud
8b3ec25218 Fix Flat design 2014-07-08 21:32:25 +02:00
Marien Fressinaud
dd62729228 Flat design based on default template
- stats are not terminated yet
- need reviews

See https://github.com/marienfressinaud/FreshRSS/issues/320
2014-07-07 21:58:34 +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
Alexandre Alapetite
805c91da98 Add support for SQLite
https://github.com/marienfressinaud/FreshRSS/issues/100
Warning: MySQL has been changed too, so bugs may have been introduced
2014-07-05 01:52:41 +02:00
Alexandre Alapetite
b34f59e85a Preparation #3 for SQLite
https://github.com/marienfressinaud/FreshRSS/issues/100
2014-07-03 22:48:29 +02:00
Alexandre Alapetite
8a5050289e New install logic
Now the install.php is kept in ./app/ and the trigger is
./data/do-install.php
There is no need anymore to have write access in ./p/i/
2014-07-03 21:20:11 +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
8c132b2acd Fix theme paths for install.php 2014-06-13 18:14:44 +02:00
Marien Fressinaud
b2eda4a349 Fix font-size for titles (Origine) 2014-06-12 23:04:30 +02:00
Marien Fressinaud
5707a16328 Fix alignment buttons (Origine)
Fix https://github.com/marienfressinaud/FreshRSS/issues/506
2014-06-12 22:57:43 +02:00
Marien Fressinaud
b8e4ed0d5d Fix Origine
- Fix font-size of main content titles (h1.title)
- Remove margin of blockquotes
2014-06-12 22:25:58 +02:00
Marien Fressinaud
0270224c8a Add a note avout branches in README
+ add loading gif in Origine theme
2014-06-12 22:16:02 +02:00
Marien Fressinaud
497853022a Fix some theme and UI problems
- More stick buttons!
- Fix line-height of titles + fix load more on mobile (Origine)
- Fix content width and filter buttons (Dark and Flat)
2014-06-12 21:58:39 +02:00
Marien Fressinaud
ce063a5577 Update themes Dark and Flat (notifications and icons) 2014-06-05 22:44:02 +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