Files
ocis/services/_includes/web-config-example.yaml
T
9f104f0986 [full-ci] enhancement: allow ocis to provide custom web applications (#8523)
* enhancement: allow ocis to provide custom web applications

* enhancement: add an option to disable web apps

* test: add default logger tests

* test: add app loading tests

* test: add asset server tests

* enhancement: make use of dedicated app conf file and app asset paths

* enhancement: adjust asset locations and deprecate WEB_ASSET_PATH

* enhancement: get rid of default logger and use the service level logger instead

* Apply suggestions from code review

Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
Co-authored-by: kobergj <juliankoberg@googlemail.com>

* enhancement: use basename as app id

* Apply suggestions from code review

Co-authored-by: Martin <github@diemattels.at>

* enhancement: use afero as fs abstraction

* enhancement: simplify logo upload

* enhancement: make use of introductionVersion field annotations

---------

Co-authored-by: Benedikt Kulmann <benedikt@kulmann.biz>
Co-authored-by: kobergj <juliankoberg@googlemail.com>
Co-authored-by: Martin <github@diemattels.at>
2024-03-05 13:15:37 +00:00

151 lines
2.9 KiB
YAML

# Autogenerated
# Filename: web-config-example.yaml
tracing:
enabled: false
type: ""
endpoint: ""
collector: ""
log:
level: ""
pretty: false
color: false
file: ""
debug:
addr: 127.0.0.1:9104
token: ""
pprof: false
zpages: false
http:
addr: 127.0.0.1:9100
tls:
enabled: false
cert: ""
key: ""
root: /
cache_ttl: 604800
cors:
allow_origins:
- '*'
allow_methods:
- OPTIONS
- HEAD
- GET
- PUT
- PATCH
- POST
- DELETE
- MKCOL
- PROPFIND
- PROPPATCH
- MOVE
- COPY
- REPORT
- SEARCH
allow_headers:
- Origin
- Accept
- Content-Type
- Depth
- Authorization
- Ocs-Apirequest
- If-None-Match
- If-Match
- Destination
- Overwrite
- X-Request-Id
- X-Requested-With
- Tus-Resumable
- Tus-Checksum-Algorithm
- Upload-Concat
- Upload-Length
- Upload-Metadata
- Upload-Defer-Length
- Upload-Expires
- Upload-Checksum
- Upload-Offset
- X-HTTP-Method-Override
allow_credentials: true
asset:
path: ""
core_path: /var/lib/ocis/web/assets/core
apps_path: /var/lib/ocis/web/assets/apps
file: ""
web:
theme_server: https://localhost:9200
theme_path: /themes/owncloud/theme.json
config:
server: https://localhost:9200
oidc:
metadata_url: https://localhost:9200/.well-known/openid-configuration
authority: https://localhost:9200
client_id: web
response_type: code
scope: openid profile email
post_logout_redirect_uri: ""
apps:
- files
- search
- text-editor
- pdf-viewer
- external
- admin-settings
- epub-reader
applications: []
external_apps:
- id: preview
path: web-app-preview
config:
mimeTypes:
- image/tiff
- image/bmp
- image/x-ms-bmp
options:
homeFolder: ""
openAppsInTab: false
disablePreviews: false
previewFileMimeTypes:
- image/gif
- image/png
- image/jpeg
- text/plain
- image/tiff
- image/bmp
- image/x-ms-bmp
- application/vnd.geogebra.slides
accountEditLink: null
disableFeedbackLink: false
feedbackLink: null
sharingRecipientsPerPage: 200
sidebar:
shares:
showAllOnLoad: false
runningOnEos: false
cernFeatures: false
hoverableQuickActions: false
routing:
idBased: true
upload: null
editor: null
contextHelpersReadMore: true
logoutUrl: ""
loginUrl: ""
openLinksWithDefaultApp: true
tokenStorageLocal: true
disabledExtensions: []
embed: null
userListRequiresFilter: false
concurrentRequests:
resourceBatchActions: 0
sse: 0
shares:
create: 0
list: 0
styles: []
scripts: []
custom_translations: []
apps: {}
token_manager:
jwt_secret: ""
gateway_addr: com.owncloud.api.gateway