mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-10-01 05:52:42 +02:00
* fix(filebrowser_quantum): make Download save the file in the iOS companion app FileBrowser downloads by clicking an <a> that carries no download attribute and letting the attachment response do the rest. The Home Assistant iOS companion app is a WKWebView, where a download only happens when WebKit turns a navigation action into a WKDownload -- which is what the download attribute does, and the app hands the result to its own download manager (WebViewController+WebKitDelegates.swift, navigationAction:didBecome download:). Its response policy delegate returns .allow for every sub-frame and never returns .download, so inside the ingress panel a plain attachment navigation is simply rendered: a text file opens and shows its content with no way to save it. The ingress filter now adds the attribute, matched on the two exact download endpoints so nothing else in the app is touched. Desktop browsers already downloaded these and are unaffected, and an empty value keeps the filename the server sends in Content-Disposition. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> * fix(filebrowser_quantum): keep Open file a navigation, and narrow the claims Review of #3030 found that the 'no preview available' fallback renders an 'Open file' link on the same download endpoint with inline=true (views/files/Preview.vue), so a pathname-only match would have turned opening a file into downloading it. Exclude inline=true. Also narrows two overstated claims: the app's download manager is gated on iOS 17, and the public-share sidebar downloads with window.open() rather than an anchor, so it is not covered. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
122 lines
2.2 KiB
YAML
122 lines
2.2 KiB
YAML
arch:
|
|
- aarch64
|
|
- amd64
|
|
description:
|
|
FileBrowser Quantum provides a modern, responsive file manager with multi-source
|
|
support, advanced authentication options, and realtime indexing for your Home
|
|
Assistant files
|
|
devices:
|
|
- /dev/dri
|
|
- /dev/dri/card0
|
|
- /dev/dri/card1
|
|
- /dev/dri/renderD128
|
|
- /dev/vchiq
|
|
- /dev/video10
|
|
- /dev/video11
|
|
- /dev/video12
|
|
- /dev/video13
|
|
- /dev/video14
|
|
- /dev/video15
|
|
- /dev/video16
|
|
- /dev/ttyUSB0
|
|
- /dev/sda
|
|
- /dev/sdb
|
|
- /dev/sdc
|
|
- /dev/sdd
|
|
- /dev/sde
|
|
- /dev/sdf
|
|
- /dev/sdg
|
|
- /dev/nvme
|
|
- /dev/nvme0
|
|
- /dev/nvme0n1
|
|
- /dev/nvme0n1p1
|
|
- /dev/nvme0n1p2
|
|
- /dev/nvme0n1p3
|
|
- /dev/nvme1n1
|
|
- /dev/nvme1n1p1
|
|
- /dev/nvme1n1p2
|
|
- /dev/nvme1n1p3
|
|
- /dev/nvme2n1
|
|
- /dev/nvme2n1p1
|
|
- /dev/nvme2n1p2
|
|
- /dev/nvme2n3p3
|
|
- /dev/mmcblk
|
|
- /dev/fuse
|
|
- /dev/sda1
|
|
- /dev/sdb1
|
|
- /dev/sdc1
|
|
- /dev/sdd1
|
|
- /dev/sde1
|
|
- /dev/sdf1
|
|
- /dev/sdg1
|
|
- /dev/sda2
|
|
- /dev/sdb2
|
|
- /dev/sdc2
|
|
- /dev/sdd2
|
|
- /dev/sde2
|
|
- /dev/sdf2
|
|
- /dev/sdg2
|
|
- /dev/sda3
|
|
- /dev/sdb3
|
|
- /dev/sda4
|
|
- /dev/sdb4
|
|
- /dev/sda5
|
|
- /dev/sda6
|
|
- /dev/sda7
|
|
- /dev/sda8
|
|
- /dev/nvme0
|
|
- /dev/nvme1
|
|
- /dev/nvme2
|
|
- /dev/md0
|
|
- /dev/md1
|
|
- /dev/md2
|
|
- /dev/md3
|
|
environment:
|
|
FB_BASEURL: /filebrowser_quantum
|
|
FILEBROWSER_CONFIG: "/config/config.yaml"
|
|
FILEBROWSER_DATABASE: "/config/database.db"
|
|
PGID: "0"
|
|
PUID: "0"
|
|
image: ghcr.io/alexbelgium/filebrowser_quantum-{arch}
|
|
ingress: true
|
|
ingress_port: 8071
|
|
ingress_stream: true
|
|
map:
|
|
- addon_config:rw
|
|
- media:rw
|
|
- all_addon_configs:rw
|
|
- homeassistant_config:rw
|
|
- addons:rw
|
|
- backup:rw
|
|
- share:rw
|
|
- ssl:rw
|
|
name: FileBrowser Quantum
|
|
options:
|
|
env_vars: []
|
|
auth_method: noauth
|
|
default_user_scope: "/"
|
|
panel_admin: false
|
|
panel_icon: mdi:file-search
|
|
ports:
|
|
8072/tcp: 8071
|
|
ports_description:
|
|
8072/tcp: Web UI port
|
|
privileged:
|
|
- SYS_ADMIN
|
|
- DAC_READ_SEARCH
|
|
schema:
|
|
env_vars:
|
|
- name: match(^[A-Za-z0-9_]+$)
|
|
value: str?
|
|
auth_method: list(password|noauth|proxy|oidc)
|
|
default_user_scope: str
|
|
cifsdomain: str?
|
|
cifspassword: str?
|
|
cifsusername: str?
|
|
localdisks: str?
|
|
networkdisks: str?
|
|
slug: filebrowser_quantum
|
|
udev: true
|
|
url: https://github.com/alexbelgium/hassio-addons
|
|
version: "1.5.3.2"
|