auth
This commit is contained in:
233
settings.yml
233
settings.yml
@@ -1,45 +1,80 @@
|
||||
auth_settings:
|
||||
oidc_client_id: filewiz
|
||||
oidc_client_secret: 5tIR4k75pdmiV2QSlLSSeqsA5vgxB21F
|
||||
oidc_server_metadata_url: https://accounts.manuelunterriker.de/oidc/.well-known/openid-configuration
|
||||
oidc_userinfo_endpoint: https://accounts.manuelunterriker.de/oidc/me
|
||||
oidc_end_session_endpoint: https://accounts.manuelunterriker.de/oidc/session/end
|
||||
admin_users:
|
||||
- manuel@unterriker.com
|
||||
app_settings:
|
||||
max_file_size_mb: '2000'
|
||||
allowed_all_extensions:
|
||||
- .pdf
|
||||
- .ps
|
||||
- .eps
|
||||
- .png
|
||||
- .jpg
|
||||
- .jpeg
|
||||
- .tiff
|
||||
- .tif
|
||||
- .gif
|
||||
- .bmp
|
||||
- .webp
|
||||
- .svg
|
||||
- .jxl
|
||||
- .avif
|
||||
- .ppm
|
||||
- .mp3
|
||||
- .m4a
|
||||
- .ogg
|
||||
- .flac
|
||||
- .opus
|
||||
- .wav
|
||||
- .aac
|
||||
- .mp4
|
||||
- .mkv
|
||||
- .mov
|
||||
- .webm
|
||||
- .aiff
|
||||
- .avif
|
||||
- .avi
|
||||
- .flv
|
||||
- .md
|
||||
- .txt
|
||||
- .html
|
||||
- .docx
|
||||
- .odt
|
||||
- .rst
|
||||
- .epub
|
||||
- .mobi
|
||||
- .azw3
|
||||
- .bmp
|
||||
- .csv
|
||||
- .dbf
|
||||
- .doc
|
||||
- .docx
|
||||
- .dpx
|
||||
- .dxf
|
||||
- .eps
|
||||
- .epub
|
||||
- .fb2
|
||||
- .fits
|
||||
- .flac
|
||||
- .flv
|
||||
- .gif
|
||||
- .gsm
|
||||
- .html
|
||||
- .htmlz
|
||||
- .ico
|
||||
- .jpeg
|
||||
- .jpg
|
||||
- .jxl
|
||||
- .lit
|
||||
- .lrf
|
||||
- .m4a
|
||||
- .md
|
||||
- .mkv
|
||||
- .mobi
|
||||
- .mov
|
||||
- .mp3
|
||||
- .mp4
|
||||
- .odt
|
||||
- .ogg
|
||||
- .ogv
|
||||
- .opml
|
||||
- .opus
|
||||
- .pdb
|
||||
- .pdf
|
||||
- .pnm
|
||||
- .png
|
||||
- .ppt
|
||||
- .pptx
|
||||
- .ps
|
||||
- .rst
|
||||
- .rtf
|
||||
- .svg
|
||||
- .tcr
|
||||
- .tex
|
||||
- .tif
|
||||
- .tiff
|
||||
- .txt
|
||||
- .wav
|
||||
- .webm
|
||||
- .webp
|
||||
- .wma
|
||||
- .wmv
|
||||
- .wps
|
||||
- .xlsx
|
||||
- .xls
|
||||
- .xml
|
||||
- .xpm
|
||||
- .zip
|
||||
ocr_settings:
|
||||
ocrmypdf:
|
||||
deskew: true
|
||||
@@ -65,6 +100,7 @@ conversion_tools:
|
||||
filters:
|
||||
pdf: pdf
|
||||
docx: docx
|
||||
doc: doc
|
||||
odt: odt
|
||||
html: html
|
||||
rtf: rtf
|
||||
@@ -72,26 +108,39 @@ conversion_tools:
|
||||
xml: xml
|
||||
epub: epub
|
||||
xlsx: xlsx
|
||||
xls: xls
|
||||
ods: ods
|
||||
csv: csv:Text
|
||||
pptx: pptx
|
||||
ppt: ppt
|
||||
odp: odp
|
||||
svg: svg
|
||||
png: png
|
||||
jpg: jpg
|
||||
wps: wps
|
||||
dbf: dbf
|
||||
formats:
|
||||
pdf: PDF
|
||||
docx: Word Document
|
||||
pdf: PDF Document
|
||||
docx: Word Document (DOCX)
|
||||
doc: Word 97-2003 Document (DOC)
|
||||
odt: OpenDocument Text
|
||||
html: HTML
|
||||
html: HTML Document
|
||||
rtf: Rich Text Format
|
||||
txt: Plain Text
|
||||
xml: Word 2003 XML
|
||||
epub: EPUB
|
||||
xlsx: Excel Spreadsheet
|
||||
epub: EPUB E-Book
|
||||
xlsx: Excel Spreadsheet (XLSX)
|
||||
xls: Excel 97-2003 Spreadsheet (XLS)
|
||||
ods: OpenDocument Spreadsheet
|
||||
csv: CSV
|
||||
pptx: PowerPoint Presentation
|
||||
pptx: PowerPoint Presentation (PPTX)
|
||||
ppt: PowerPoint 97-2003 Presentation (PPT)
|
||||
odp: OpenDocument Presentation
|
||||
svg: SVG
|
||||
svg: SVG Image (from Draw/Impress)
|
||||
png: PNG Image (from Draw/Impress)
|
||||
jpg: JPEG Image (from Draw/Impress)
|
||||
wps: MS Works Document
|
||||
dbf: dBase Database File
|
||||
pandoc:
|
||||
name: Pandoc
|
||||
command_template: pandoc --standalone {input} -o {output} --to={output_ext} --pdf-engine=xelatex
|
||||
@@ -99,22 +148,27 @@ conversion_tools:
|
||||
formats:
|
||||
docx: Word Document
|
||||
odt: OpenDocument Text
|
||||
pdf: PDF
|
||||
pdf: PDF Document
|
||||
rtf: Rich Text Format
|
||||
txt: Plain Text
|
||||
md: Markdown (Strict)
|
||||
gfm: Markdown (GitHub-Flavored)
|
||||
tex: LaTeX
|
||||
man: Groff Man Page
|
||||
html: HTML5
|
||||
epub: EPUB v3 Book
|
||||
epub2: EPUB v2 Book
|
||||
html: HTML
|
||||
html5: HTML5
|
||||
pptx: PowerPoint Presentation
|
||||
beamer: Beamer PDF Slides
|
||||
slidy: Slidy HTML Slides
|
||||
md: Markdown
|
||||
revealjs: reveal.js HTML Slides
|
||||
rst: reStructuredText
|
||||
jira: Jira Wiki Markup
|
||||
mediawiki: MediaWiki Markup
|
||||
asciidoc: AsciiDoc
|
||||
textile: Textile
|
||||
opml: OPML
|
||||
man: Groff Man Page
|
||||
docbook: DocBook XML
|
||||
ghostscript_pdf:
|
||||
name: Ghostscript (PDF)
|
||||
command_template: gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dNOPAUSE -dQUIET
|
||||
@@ -124,7 +178,8 @@ conversion_tools:
|
||||
screen: PDF (Optimized for Screen)
|
||||
ebook: PDF (Optimized for Ebooks)
|
||||
printer: PDF (Optimized for Print)
|
||||
archive: PDF/A (for Archiving)
|
||||
prepress: PDF (Optimized for Prepress)
|
||||
pdfa: PDF/A-2b (for Archiving)
|
||||
ghostscript_image:
|
||||
name: Ghostscript (Image)
|
||||
command_template: gs -dNOPAUSE -dBATCH -sDEVICE={device} -r{dpi} -sOutputFile={output}
|
||||
@@ -132,11 +187,18 @@ conversion_tools:
|
||||
timeout: 60
|
||||
formats:
|
||||
jpeg_72: JPEG Image (72 DPI)
|
||||
jpeg_150: JPEG Image (150 DPI)
|
||||
jpeg_300: JPEG Image (300 DPI)
|
||||
png16m_150: PNG Image (150 DPI)
|
||||
png16m_300: PNG Image (300 DPI)
|
||||
pngalpha_150: PNG Image with Alpha (150 DPI)
|
||||
pngalpha_300: PNG Image with Alpha (300 DPI)
|
||||
tiff24nc_300: TIFF Image (300 DPI)
|
||||
tiff24nc_600: TIFF Image (600 DPI)
|
||||
tiffg4_300: TIFF Image (G4 Fax, 300 DPI)
|
||||
bmp16m_300: BMP Image (300 DPI)
|
||||
pcx24b_300: PCX Image (300 DPI)
|
||||
pnm_300: PNM Image (300 DPI)
|
||||
calibre:
|
||||
name: Calibre (ebook-convert)
|
||||
command_template: ebook-convert {input} {output}
|
||||
@@ -144,22 +206,42 @@ conversion_tools:
|
||||
formats:
|
||||
epub: EPUB
|
||||
mobi: MOBI
|
||||
azw3: Amazon Kindle
|
||||
azw3: Amazon Kindle (AZW3)
|
||||
pdf: PDF
|
||||
docx: Word Document
|
||||
rtf: Rich Text Format
|
||||
txt: Plain Text
|
||||
fb2: FictionBook 2
|
||||
htmlz: Zipped HTML
|
||||
pdb: eReader PDB
|
||||
lrf: Sony BroadBand eBook
|
||||
lit: Microsoft Reader
|
||||
tcr: Psion Series 3
|
||||
ffmpeg:
|
||||
name: FFmpeg
|
||||
command_template: ffmpeg -i {input} -y -preset medium {output}
|
||||
timeout: 600
|
||||
formats:
|
||||
mp4: MP4 Video
|
||||
mkv: MKV Video
|
||||
mov: MOV Video
|
||||
webm: WebM Video
|
||||
mp4: MP4 Video (H.264/AAC)
|
||||
mp4_hevc: MP4 Video (H.265/AAC)
|
||||
mkv: MKV Video (H.264/AAC)
|
||||
mov: MOV Video (H.264/AAC)
|
||||
webm: WebM Video (VP9/Opus)
|
||||
webm_av1: WebM Video (AV1/Opus)
|
||||
avi: AVI Video (MPEG4/MP3)
|
||||
wmv: WMV Video
|
||||
flv: FLV Video (Flash)
|
||||
ogv: Ogg Theora Video
|
||||
mp3: MP3 Audio
|
||||
wav: WAV Audio
|
||||
flac: FLAC Audio
|
||||
wav: WAV Audio (Uncompressed PCM)
|
||||
flac: FLAC Audio (Lossless)
|
||||
aac: AAC Audio
|
||||
aiff: AIFF Audio
|
||||
wma: WMA Audio
|
||||
ogg: Ogg Vorbis Audio
|
||||
opus: Opus Audio
|
||||
gif: Animated GIF
|
||||
apng: Animated PNG
|
||||
vips:
|
||||
name: VIPS
|
||||
command_template: vips copy {input} {output}[Q=90]
|
||||
@@ -169,7 +251,12 @@ conversion_tools:
|
||||
png: PNG Image
|
||||
webp: WebP Image (Q90)
|
||||
tiff: TIFF Image
|
||||
avif: AVIF Image
|
||||
avif: AVIF Image (Q90)
|
||||
heif: HEIF Image (Q90)
|
||||
jp2: JPEG 2000
|
||||
gif: GIF Image
|
||||
pnm: PNM Image
|
||||
fits: FITS Image
|
||||
graphicsmagick:
|
||||
name: GraphicsMagick
|
||||
command_template: gm convert {input} -quality 90 {output}
|
||||
@@ -179,21 +266,36 @@ conversion_tools:
|
||||
png: PNG Image
|
||||
webp: WebP Image
|
||||
tiff: TIFF Image
|
||||
gif: GIF Image
|
||||
bmp: BMP Image
|
||||
pdf: PDF from Images
|
||||
eps: Encapsulated PostScript
|
||||
dpx: DPX Image
|
||||
ico: Windows Icon
|
||||
xpm: X PixMap
|
||||
inkscape:
|
||||
name: Inkscape
|
||||
command_template: inkscape {input} --export-filename={output}
|
||||
timeout: 30
|
||||
formats:
|
||||
svg: SVG (Plain)
|
||||
png: PNG Image (96 DPI)
|
||||
inkscape_svg: SVG (Inkscape)
|
||||
png_96: PNG Image (96 DPI)
|
||||
png_300: PNG Image (300 DPI)
|
||||
pdf: PDF Document
|
||||
eps: Encapsulated PostScript
|
||||
ps: PostScript
|
||||
emf: Enhanced Metafile
|
||||
wmf: Windows Metafile
|
||||
dxf: AutoCAD DXF R14
|
||||
libjxl:
|
||||
name: libjxl (cjxl)
|
||||
command_template: cjxl {input} {output} -q 90
|
||||
timeout: 30
|
||||
formats:
|
||||
jxl: JPEG XL (Q90)
|
||||
jxl_q90: JPEG XL (Quality 90)
|
||||
jxl_lossless: JPEG XL (Lossless)
|
||||
jxl_hq: JPEG XL (High Compression)
|
||||
resvg:
|
||||
name: resvg
|
||||
command_template: resvg {input} {output}
|
||||
@@ -206,6 +308,10 @@ conversion_tools:
|
||||
timeout: 30
|
||||
formats:
|
||||
svg: SVG from Bitmap
|
||||
pdf: PDF from Bitmap
|
||||
eps: EPS from Bitmap
|
||||
ps: PostScript from Bitmap
|
||||
dxf: DXF from Bitmap
|
||||
markitdown:
|
||||
name: Markitdown
|
||||
command_template: markitdown {input} -o {output}
|
||||
@@ -223,15 +329,22 @@ conversion_tools:
|
||||
png_fast: PNG (Fast Compression)
|
||||
sox:
|
||||
name: SoX Audio Converter
|
||||
command_template: sox {input} -r {samplerate} -b {bitdepth} {output}
|
||||
command_template: sox {input} -r {samplerate} {bitdepth} {output}
|
||||
timeout: 600
|
||||
formats:
|
||||
wav_48k_24b: WAV (48kHz, 24-bit)
|
||||
wav_44k_16b: WAV (CD, 44.1kHz, 16-bit)
|
||||
wav_16k_16b: WAV (Voice, 16kHz, 16-bit)
|
||||
flac_48k_24b: FLAC (48kHz, 24-bit)
|
||||
flac_44k_16b: FLAC (CD, 44.1kHz, 16-bit)
|
||||
ogg_32k_16b: Ogg Vorbis (32kHz)
|
||||
ogg_16k_16b: Ogg Vorbis (16kHz, Voice)
|
||||
aiff_44k_16b: AIFF (CD, 44.1kHz, 16-bit)
|
||||
mp3_320k: MP3 (320 kbps)
|
||||
mp3_128k: MP3 (128 kbps)
|
||||
ogg_192k: Ogg Vorbis (192 kbps)
|
||||
ogg_96k: Ogg Vorbis (96 kbps)
|
||||
opus_128k: Opus (128 kbps)
|
||||
opus_64k: Opus (64 kbps, Voice)
|
||||
gsm: GSM 06.10 (13kbps, Voice)
|
||||
mozjpeg:
|
||||
name: MozJPEG
|
||||
command_template: cjpeg -quality {quality} -outfile {output} {input}
|
||||
|
||||
Reference in New Issue
Block a user