Frédéric Guillot
0b5b41acd9
Fix CSS hover style for links styled as buttons
2022-02-13 14:45:52 -08:00
Frédéric Guillot
6b4b9e9cff
Add missing page header icons
2022-02-13 14:34:45 -08:00
Frédéric Guillot
da89831116
Avoid showing "undefined" when clicking on read/unread
2022-02-01 21:15:57 -08:00
Thiago Perrotta
3243d88c9b
refactor handleEntryStatus / goToNextListItem / goToPrevListItem
2022-02-01 20:42:14 -08:00
Thiago Perrotta
824fc310a9
Add new keyboard shortcut: 'M' - toggle read/unread, go to prev item
...
Currently there is "Toggle read/unread = m", which toggles and
then goes to the next item.
Having the opposite operation available is handy, especially when adding
new feeds and going through them from oldest to newest posts.
It seems natural to map 'M' (= shift + 'm') for this action.
Closes https://github.com/miniflux/v2/issues/1352
2022-02-01 20:42:14 -08:00
Thiago Perrotta
c891ab2588
Add several icons to menus according to their roles
...
- refresh: https://tabler-icons.io/i/refresh
- edit: https://tabler-icons.io/i/edit
- delete: https://tabler-icons.io/i/delete
- mark page as read: https://tabler-icons.io/i/check
- mark all as read: https://tabler-icons.io/i/checks
- show all entries: https://tabler-icons.io/i/eye
- show only unread entries: https://tabler-icons.io/i/eye-off
- create category: https://tabler-icons.io/i/folder-plus
- add subscription: https://tabler-icons.io/i/plus
- import: https://tabler-icons.io/i/file-import
- export: https://tabler-icons.io/i/file-export
- categories: https://tabler-icons.io/i/folders
2022-02-01 20:39:05 -08:00
Frédéric Guillot
33e9b26fe9
Add missing event argument to onClick() function call
2022-01-31 15:37:54 -08:00
Thiago Perrotta
6e402f60dc
Add links to scraper/rewrite/filtering docs when editing feeds
2022-01-31 14:53:58 -08:00
dependabot[bot]
4b56c84a8c
Bump github.com/prometheus/client_golang from 1.12.0 to 1.12.1
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.12.0 to 1.12.1.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.12.0...v1.12.1 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 14:53:49 -08:00
dependabot[bot]
cee70e04db
Bump github.com/tdewolff/minify/v2 from 2.9.29 to 2.10.0
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.9.29 to 2.10.0.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.9.29...v2.10.0 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-31 14:44:36 -08:00
Romain de Laage
808635e314
Add a rewrite rule for castopod episodes
2022-01-30 16:33:17 -08:00
Jacob Duba
7a1429bcc1
Fix regression: reset touch-item if not in /unread
2022-01-27 19:39:35 -08:00
Pascal Noisette
21bbaf2691
Add API endpoint to fetch original article
2022-01-26 20:29:37 -08:00
Orpheus Lummis
50c5850f0d
Show the category first in feed settings
2022-01-24 21:03:32 -08:00
Thiago Perrotta
d22c6c535e
Add pagination on top of all entries. Closes #1305 .
...
Enable users to move to prev/next page without having to scroll all the
way to the bottom of the page.
Furthermore, ensure consistency with entry.html which has top and bottom
pagination.
2022-01-24 20:55:27 -08:00
dependabot[bot]
6a41eb382f
Bump github.com/prometheus/client_golang from 1.11.0 to 1.12.0
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.11.0...v1.12.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 19:56:36 -08:00
dependabot[bot]
aa70ebcdca
Bump github.com/tdewolff/minify/v2 from 2.9.28 to 2.9.29
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.9.28 to 2.9.29.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.9.28...v2.9.29 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 19:56:08 -08:00
Alex Cohn
7111b3749d
Display Go version on /about
...
Translations are copy-paste best effort from the equivalent Postgres
string, and might not account for grammatical gender, etc.
2022-01-22 11:00:12 -08:00
Frédéric Guillot
93277f4307
Update ChangeLog
2022-01-21 16:45:37 -08:00
Frédéric Guillot
9e3ce3f3a4
Set read-all permission to GITHUB_TOKEN for CI jobs
2022-01-19 21:44:23 -08:00
Frédéric Guillot
a98e479e71
Pin jshint version in linter job
2022-01-19 21:37:38 -08:00
Frédéric Guillot
897d8644c5
Fix incorrect conversion between integer types
2022-01-19 21:23:56 -08:00
Frédéric Guillot
2f7ad3ac73
Create scorecards-analysis.yml
2022-01-19 20:47:57 -08:00
Frédéric Guillot
20318e3a79
Create CodeQL workflow
2022-01-19 20:37:48 -08:00
Adrian Smith
cc3e65dd3c
Handle atom feed with space around CDATA
...
Trim space around CDATA elements before extracting the CharData.
This problem was discovered when reading https://www.sethvargo.com/feed.xml .
Title and Summary fields have newlines and space between the <title>
element and the CDATA element. e.g.
<title>
<![CDATA[Entry title here]]>
</title>
This meant the title of the feed was coming into MiniFlux as,
<![CDATA[Entry title here]]>
2022-01-17 15:25:22 -08:00
dependabot[bot]
7b0a4a7803
Bump github.com/tdewolff/minify/v2 from 2.9.27 to 2.9.28
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.9.27 to 2.9.28.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.9.27...v2.9.28 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-17 15:15:25 -08:00
Thiago Perrotta
bab7734582
packaging: add Documentation to systemd service
...
c.f. https://www.freedesktop.org/software/systemd/man/systemd.directives.html#Documentation=
2022-01-17 13:23:19 -08:00
Jacob Duba
3dda84bf9a
Do not reset touch-item if successfully swiped
2022-01-15 10:47:25 -08:00
Frédéric Guillot
f18ded6117
Add support for multiple authors in Atom feeds
2022-01-14 20:20:55 -08:00
dependabot[bot]
41d47244af
Bump github.com/tdewolff/minify/v2 from 2.9.26 to 2.9.27
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.9.26 to 2.9.27.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.9.26...v2.9.27 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 17:47:54 -08:00
Frédéric Guillot
b113af8472
Omit User-Agent header in image proxy to avoid being blocked
2022-01-09 20:23:35 -08:00
Frédéric Guillot
2309b27458
Use custom feed user agent to fetch website icon
2022-01-08 15:20:18 -08:00
Romain de Laage
8329e9b46c
Make Invidious instance configurable
2022-01-05 20:43:03 -08:00
dependabot[bot]
5879404fd2
Bump github.com/tdewolff/minify/v2 from 2.9.24 to 2.9.26
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.9.24 to 2.9.26.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.9.24...v2.9.26 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-01-03 16:21:58 -08:00
Jouni K. Seppänen
bb0d2bf675
Add Youtube videos in Quanta articles
...
Some articles (especially the recent year-in-review ones) include a Youtube
video. The server-side rendered articles do not include the Youtube iframe,
but they do have a script that looks like
<script type="text/javascript" data-reactid="6">
window.__APOLLO_STATE__ = {
...
youtube_id: "9uASADiYe_8",
We add a reformatting function that tries to detect obvious JavaScript code
that has a field or variable called youtube_id that has an 11-character
double-quoted value, and adds the referenced Youtube videos in the beginning of
the article. This is slightly more general than needed for Quanta, in the hope
that it could be useful for similar sites.
2022-01-03 10:10:13 -08:00
Jouni K. Seppänen
dcf87bd642
Add scrape and rewrite rules for quantamagazine
...
This is a somewhat complex React site so the rules could be a little fragile.
Text content seems to be always inside .outer--content, and most h6 elements
are fluff like "read later" or pointers to other articles. However, h6.byline
and h6.post__title__kicker are relevant to the current article.
Figure captions are sometimes inside both figure and div.outer--content
elements, sometimes only inside figure, so take both and remove the
intersection.
The figure elements sometimes contain multiple copies of images or
videos, and we just take them all. Math articles seem to use Mathjax,
which we don't add.
2022-01-03 10:10:13 -08:00
Alexandros Kosiaris
4445cdd053
Expose entry unshare in the entry and list views
...
Why:
A user might want to unshare a specific entry. Navigating to the shared
entries page requires a mental context switch, whereas having the
ability right in the entry page makes it easier.
What:
Add an extra <li> element to display the unshare icon and link in the
entry view as well as the item_meta template. The latter is shared for
multiple pages listing entries, e.g. bookmarks, feed entries, search,
history etc.
The functionality already exists for the shared entries page, we are
just expose it in a couple more places
Signed-off-by: Alexandros Kosiaris <akosiaris@gmail.com>
2022-01-03 10:04:48 -08:00
Frédéric Guillot
0b3c3a1f28
Google Reader: Cosmetic improvements
2022-01-02 20:28:12 -08:00
Gergan Penkov
4b6e46d9ab
Add Google Reader API implementation (experimental)
...
Co-authored-by: Sebastian Kempken <sebastian@kempken.io>
Co-authored-by: Gergan Penkov <gergan@gmail.com>
Co-authored-by: Dave Marquard <dave@marquard.org>
Co-authored-by: Moritz Fago <4459068+MoritzFago@users.noreply.github.com>
2022-01-02 19:45:12 -08:00
Frédéric Guillot
2935aaef45
Add Content-Security-Policy header to feed icon url
...
- SVG images could contains Javascript. This CSP blocks inline script.
- Feed icons are served using <img> tag and Javascript is not interpreted.
See https://developer.mozilla.org/en-US/docs/Web/SVG/SVG_as_an_Image#restrictions
2022-01-02 17:38:53 -08:00
Nikolay Korotkiy
33fd0a617e
Add Finnish translation
2021-12-29 21:25:09 -08:00
Jouni K. Seppänen
2fedd8f234
Add scraper rule for ikiwiki.iki.fi
...
Feed: https://ikiwiki.iki.fi/feed.php?linkto=current&ns=uutiset%3Ablog&num=5
Example page: https://ikiwiki.iki.fi/uutiset/blog/20210923100421viiveita
(To clarify, I'm not a representative of iki.fi although I have an email address in the domain. This is a nonprofit association that offers email forwarding addresses, and the rss feed in question contains news for their members.)
2021-12-27 20:51:37 -08:00
Ilya Mateyko
527c5f49cb
packaging: remove SystemCallFilter from miniflux.service
...
`SystemCallFilter=@system-service` is not supported on older systemd versions and causes crashes on them.
Fixes #1297 .
2021-12-23 17:52:13 -08:00
Éric Gaspar
10d2c88e88
Fix minor typo in French translation
2021-12-21 20:28:57 -08:00
dependabot[bot]
fd8e95c878
Bump github.com/tdewolff/minify/v2 from 2.9.22 to 2.9.24
...
Bumps [github.com/tdewolff/minify/v2](https://github.com/tdewolff/minify ) from 2.9.22 to 2.9.24.
- [Release notes](https://github.com/tdewolff/minify/releases )
- [Commits](https://github.com/tdewolff/minify/compare/v2.9.22...v2.9.24 )
---
updated-dependencies:
- dependency-name: github.com/tdewolff/minify/v2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-12-21 20:23:13 -08:00
Frédéric Guillot
686dd92cb9
Update ChangeLog
2021-12-16 17:00:50 -08:00
Thiago Perrotta
28d036434f
Add rewrite rule: monkeyuser.com
...
Comics site, uses alt image text similarly to xkcd.com.
2021-12-16 11:50:26 -08:00
Thiago Perrotta
4b12043cea
Sort rewrite rules
2021-12-16 11:50:26 -08:00
Frédéric Guillot
0f6f4c8c60
Add <head> tag to OPML export
2021-12-16 11:49:50 -08:00
Ilya Mateyko
47b47cc32c
Tighten systemd sandboxing and update comments in miniflux.service
2021-12-16 10:33:09 -08:00