diff --git a/content/docs/api.md b/content/docs/api.md index 3af33a9..e327c0a 100644 --- a/content/docs/api.md +++ b/content/docs/api.md @@ -35,6 +35,8 @@ Table of Contents: - [Get Entries](#endpoint-get-entries) - [Update Entries status](#endpoint-update-entries) - [Toggle Entry Bookmark](#endpoint-toggle-bookmark) + - [Get Enclosure](#endpoint-get-enclosure) + - [Update Enclosure](#endpoint-update-enclosure) - [Get Categories](#endpoint-get-categories) - [Create Category](#endpoint-create-category) - [Update Category](#endpoint-update-category) @@ -1075,6 +1077,46 @@ Request: Returns `204` status code for success. +

Get Enclosure

+ +Request: + + GET /v1/enclosures/{enclosureID} + +Response: + +``` json +{ + "id": 278, + "user_id": 1, + "entry_id": 195, + "url": "https://example.org/file", + "mime_type": "application/octet-stream", + "size": 0, + "media_progression": 0 +} +``` + +
+This API endpoint is available since Miniflux v2.2.0. +
+ +

Update Enclosure

+ +Request: + + PUT /v1/enclosures/{enclosureID} + + { + "media_progression": 42 + } + +Returns `204` status code for success. + +
+This API endpoint is available since Miniflux v2.2.0. +
+

Get Categories

Request: diff --git a/content/docs/configuration.md b/content/docs/configuration.md index be5e935..521ff59 100644 --- a/content/docs/configuration.md +++ b/content/docs/configuration.md @@ -19,6 +19,11 @@ The configuration file is loaded first if specified. Environment variables takes

Toggle debug mode (increase log level).

Disabled by default.

+
FETCH_BILIBILI_WATCH_TIME
+
+

Set the value to 1 to scrape video duration from Bilibili website and use it as a reading time.

+

Disabled by default.

+
FETCH_NEBULA_WATCH_TIME

Set the value to 1 to scrape video duration from Nebula website and use it as a reading time.

@@ -203,6 +208,12 @@ The configuration file is loaded first if specified. Environment variables takes

Disable HTTP service.

Default is empty.

+
DISABLE_LOCAL_AUTH
+
+

Disable local authentication.

+

When set to true, the username/password form is hidden from the login screen, and the options to change username/password or unlink OAuth2 account are hidden from the settings page.

+

Default is empty.

+
DISABLE_SCHEDULER_SERVICE

Disable scheduler service.

diff --git a/content/releases/2.2.0.md b/content/releases/2.2.0.md new file mode 100644 index 0000000..2f864c8 --- /dev/null +++ b/content/releases/2.2.0.md @@ -0,0 +1,70 @@ +--- +title: Miniflux 2.2.0 +date: 2024-08-18 +type: release +layout: release +url: /releases/2.2.0.html +attachments: + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-darwin-amd64 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-darwin-amd64.sha256 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-darwin-arm64 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-darwin-arm64.sha256 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-freebsd-amd64 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-freebsd-amd64.sha256 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-linux-amd64 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-linux-amd64.sha256 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-linux-arm64 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-linux-arm64.sha256 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-linux-armv5 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-linux-armv5.sha256 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-linux-armv6 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-linux-armv6.sha256 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-linux-armv7 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-linux-armv7.sha256 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-openbsd-amd64 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-openbsd-amd64.sha256 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-windows-amd64.exe + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-windows-amd64.exe.sha256 + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux-2.2.0-1.0.x86_64.rpm + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux_2.2.0_amd64.deb + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux_2.2.0_arm64.deb + - https://github.com/miniflux/v2/releases/download/2.2.0/miniflux_2.2.0_armhf.deb +--- + +* refactor: simplify Youtube feeds discovery +* fix(integration): define content encoding explicitly when sending article body to Readeck +* fix(fever): correct sorting direction when using `max_id` argument +* fix(client): Return `nil` and error if endpoint is an empty string +* fix: video poster image URL is encoded twice when using `MEDIA_PROXY_MODE=all` +* fix: use `BASE_URL` instead of `r.Host` to generate absolute media proxy URL +* fix: panic during YouTube channel feed discovery +* fix: honor `hide_globally` when creating a new feed through the api +* fix: align pagination correctly on small screens with non-English text +* fix: `store.GetEnclosure()` should return `nil` if no rows are returned +* feat(locale): update Turkish translations +* feat(locale): update French translations +* feat(locale): update Chinese` translations +* feat(integration): add ntfy integration +* feat(api): add API routes `/v1/enclosures/{enclosureID}` +* feat: validate `OAUTH2_PROVIDER` config option value +* feat: remove YouTube video page subscription finder because `meta[itemprop="channelId"]` no longer exists +* feat: remove well-known URL parameter trackers +* feat: mark media as read when playback reaches 90% +* feat: change log level to info when running migrations +* feat: allow customizing the display name of the OpenID Connect provider +* feat: add support for `base` HTML element when discovering feeds +* feat: add support for `aside` HTML element in entry content +* feat: Add option to disable local auth form +* feat: add license info to Javascript files for LibreJS compatibility +* feat: add `FETCH_BILIBILI_WATCH_TIME` config option +* docs: update links to filtering rules +* chore: avoid using legacy key/value format in Dockerfile +* build(deps): bump `golang.org/x/oauth2` from `0.21.0` to `0.22.0` +* build(deps): bump `golang.org/x/net` from `0.27.0` to `0.28.0` +* build(deps): bump `golang.org/x/crypto` from `0.25.0` to `0.26.0` +* build(deps): bump `github.com/tdewolff/minify/v2` from `2.20.36` to `2.20.37` +* build(deps): bump `github.com/prometheus/client_golang` +* build: update GitHub Actions to Go 1.23 +* build: publish OCI images only if `PUBLISH_DOCKER_IMAGES=true` +* build: bump Alpine Linux build image to v3.20 +* build: add sha256 checksum file for published binaries diff --git a/static/miniflux.1.html b/static/miniflux.1.html index ce8fc21..5162ddf 100644 --- a/static/miniflux.1.html +++ b/static/miniflux.1.html @@ -203,10 +203,23 @@

+
Disable local authentication. +
+ When set to true, the username/password form is hidden from the login + screen, and the options to change username/password or unlink OAuth2 + account are hidden from the settings page. +
+ Default is false.
Set the value to 1 to disable the internal scheduler service.
Default is false (The internal scheduler service is enabled).
+
+
Set the value to 1 to scrape video duration from Bilibili website and use + it as a reading time. +
+ Disabled by default.
Set the value to 1 to scrape video duration from Nebula website and use it as a reading time. @@ -375,6 +388,10 @@

+
Name to display for the OIDC provider. +
+ Default is OpenID Connect.
Possible values are "google" or "oidc".
@@ -486,7 +503,7 @@