Commit graph

1523 commits

Author SHA1 Message Date
Frédéric Guillot
a614f98063 Set arbitrary maximum size for tsvector column
- The max size for tsvector is 1 MiB
- We index only the first million of characters,
  it should be enough for most feed entries.
2018-10-19 21:40:59 -07:00
Frédéric Guillot
715575001a Use different variable names for localized errors 2018-10-19 21:38:21 -07:00
Carl Helmertz
15a11c3da9 Unsubscribe from feed through link or "#"
After importing old OPML files, you may discover that many feeds are
obsolete or uninteresting. You list the feeds entries and determine that
you want to unsubscribe. This needs three clicks (edit feed, delete,
confirm) and requires moving the mouse to hit the different targets.

This quickly becomes tiring, if you are up to possibly deleting hundreds
of feeds. One mediation, introduced in this commit, is to add an
unsubscribe link to each feed's entry listing view, and also adding a
keyboard shortcut.

The keyboard shortcut "#" is:
* longer than one keystroke (requires shift)
* hard to type by accident
* used in Google products (thanks for the hint @fguillot)

In an effort to try to reduce the number of accidental feed
unsubscriptions.
2018-10-19 20:05:26 -07:00
Frédéric Guillot
b8f874a37d Simplify feed entries filtering
- Rename processor package to filter
- Remove boilerplate code
2018-10-14 22:33:19 -07:00
Frédéric Guillot
234b3710d4 Fix golint import in travis.yml 2018-10-14 22:23:46 -07:00
Frédéric Guillot
778346b0b0 Simplify feed fetcher
- Add browser package to handle HTTP errors
- Reduce code duplication
2018-10-14 21:43:48 -07:00
Frédéric Guillot
5870f04260 Simplify feed parser and format detection
- Avoid doing multiple buffer copies
- Move parser and format detection logic to its own package
2018-10-14 11:46:41 -07:00
Frédéric Guillot
d5ff4191b6 Improve unit tests in url package 2018-10-12 18:33:59 -07:00
Frédéric Guillot
c1fe84521e Fix jshint error introduced in commit d4c1677 2018-10-08 21:09:25 -07:00
Frédéric Guillot
3daef197e9 Add short cli flags -i and -v 2018-10-08 21:00:00 -07:00
Frédéric Guillot
9606126196 Convert text links and line feeds to HTML in YouTube channels 2018-10-08 20:47:10 -07:00
Frédéric Guillot
d4c1677e38 Change link state when marking all entries as read 2018-10-08 18:49:15 -07:00
Frédéric Guillot
9dc38a0803 Add missing package descriptions for GoDoc 2018-10-08 17:32:17 -07:00
Frédéric Guillot
11dfcdd3d6 Fix typo in license header 2018-10-08 15:50:15 -07:00
Frédéric Guillot
1f58b37a5e Refactor HTTP response builder 2018-10-08 15:31:58 -07:00
Frédéric Guillot
ddfe969d6c Improve Fever API performances when marking a feed or group as read 2018-10-07 12:50:59 -07:00
Diego Agulló
98206059fc Set focus on article link when pressing prev/next hotkeys
This enhancement offer the possibility to open articles in the background by using the browser hotkey Ctrl+Return or Cmd+Return.
2018-10-01 20:52:51 -07:00
Frédéric Guillot
9d08139f43 Improve request package and add more unit tests 2018-09-23 21:02:26 -07:00
Frédéric Guillot
844680e573 Add more unit tests for config package 2018-09-23 15:23:46 -07:00
stratmaster
8601a67a7d Add another fix for translations 2018-09-23 12:50:38 -07:00
Frédéric Guillot
b1e8f534ef Simplify locale package usage (refactoring) 2018-09-22 15:04:55 -07:00
Frédéric Guillot
aae9b4eb83 Add missing translations and few fixes 2018-09-22 10:48:07 -07:00
Savely Krasovsky
0e23f37f57 Translate application in Russian 2018-09-22 10:22:58 -07:00
stratmaster
37ab6eec15 Update German translation 2018-09-22 09:58:23 -07:00
Frédéric Guillot
5d75089127 Use disclosure widget <details> for advanced feed options 2018-09-21 23:11:58 -07:00
Frédéric Guillot
beb7a0cfcb Use unique translation IDs instead of English text as key 2018-09-21 22:23:23 -07:00
Frédéric Guillot
f244df6293 Add more unit tests for template functions 2018-09-20 19:45:56 -07:00
Savely Krasovsky
d79bab2997 Fix invalid output when truncating Unicode text in templates 2018-09-20 19:11:13 -07:00
Patrick
2538eea177 Add the possibility to override default user agent for each feed 2018-09-19 18:19:24 -07:00
Frédéric Guillot
1d335390c2 Split Makefile linux targets by architecture 2018-09-16 19:14:44 -07:00
Frédéric Guillot
b9fee95cf2 Add compiler, Arch, and OS to info command 2018-09-16 19:13:16 -07:00
Diego Agulló
359aea8308 Avoid line break between emoji and (un)read/(un)star links 2018-09-15 11:28:44 -07:00
Frédéric Guillot
e0bfd220f7 Update ChangeLog 2018-09-11 18:29:28 -07:00
Frédéric Guillot
c9f9dd3262 Store client IP address in request context 2018-09-09 15:15:14 -07:00
Frédéric Guillot
c1e1506720 Revert cookie flag from strict to lax mode otherwise oauth2 won't work 2018-09-09 14:25:56 -07:00
Frédéric Guillot
46932c91a6 Use predefined Ciphers when TLS is configured 2018-09-08 21:43:45 -07:00
Frédéric Guillot
2306a4b2f6 Avoid displaying an error when shutting down the daemon 2018-09-08 21:20:24 -07:00
Adam Vigneaux
07cd7d2135 Add "Mark this page as read" to the bottom
This better matches the most common use case for the "Mark this page as
read" link, which is to click it once you have reached the bottom of the
page. Especially on mobile, it can be annoying to scroll to the top of
the page to click the link.
2018-09-08 18:40:23 -07:00
Frédéric Guillot
eee1f31903 Refactor HTTP context handling 2018-09-03 14:26:40 -07:00
Frédéric Guillot
88e81d4d80 Set cookie attribute SameSite to strict mode 2018-08-29 21:17:19 -07:00
Frédéric Guillot
6137b401ee Make user creation via environment variables idempotent 2018-08-29 21:00:23 -07:00
Frédéric Guillot
41ce0a3b80 Make latest changes compatible with Heroku 2018-08-29 20:50:36 -07:00
Frédéric Guillot
9ba9858bea Use regular text version of ✔︎ instead of emoji version on iOS
See this workaround: https://stackoverflow.com/questions/32639694/ios-9-removed-the-possibility-to-change-certain-symbol-colors-using-css/38362138#38362138
2018-08-28 20:46:15 -07:00
Dave Z
5341bbcbe2 Add toggle status button to entry page 2018-08-28 20:44:34 -07:00
Frédéric Guillot
4f62a704e2
Improve readme
- Add more links to the docs
- Add screenshots
2018-08-26 17:18:17 -07:00
Frédéric Guillot
a3f3f51c60 Migrate to go modules (Go 1.11) 2018-08-26 16:43:53 -07:00
Michael
a9e9c347f4 Switch Travis to Go 1.11 2018-08-26 16:36:33 -07:00
Dave Z
9169fbafb2 Show count of feeds with permanent errors in header menu
Only for feeds that reach `maxParsingError` are counted (so transient errors do not trigger counter).
2018-08-26 16:18:07 -07:00
dzaikos
aae62aae08 Added remote client IP to API login failure error message.
Addresses #205

Changed error level reporting on API login failure to Error from Info to match the web login reporting.
2018-08-26 09:46:00 -07:00
stratmaster
62ec185154 Add german translation string 2018-08-26 09:43:57 -07:00