Commit Graph

35 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer
e0753c20fb Update services/web/pkg/config/config.go
Co-authored-by: Martin <github@diemattels.at>
2023-02-13 16:21:59 +01:00
David Christofas
45d1ba25c0 add logo reset endpoint
when resetting the logo we are falling back to the embedded logo asset
2023-02-13 13:48:44 +01:00
David Christofas
7c17ddb0b0 add a permission check to the logo upload 2023-02-13 13:48:39 +01:00
David Christofas
6e83effb45 add simple filetype validator for the logo upload 2023-02-13 13:36:48 +01:00
David Christofas
3a685b6f50 clean up the logo upload 2023-02-13 13:36:43 +01:00
David Christofas
85f79dd765 first implementation of the logo update 2023-02-13 13:36:34 +01:00
David Christofas
20e4e56d28 implement first prototype of the logo upload API 2023-02-13 13:36:30 +01:00
mmattel
210cd54817 fix some envvar descriptions 2023-02-03 09:40:35 +01:00
Benedikt Kulmann
881df87d82 chore: update web to v7.0.0-rc.9 2023-01-26 22:00:25 +01:00
Jörn Friedrich Dreyer
32cc9beb0b walk and log chi routes, ocs cleanup (#5428)
* walk and log chi routes, ocs cleanup

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

* make linter happy

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-01-23 12:30:34 +01:00
Jannik Stehle
cbc9ebfa26 Add admin-settings to default config 2023-01-12 14:17:54 +01:00
Jörn Friedrich Dreyer
53d15d329e remove deprecated use of ioutil (#5205)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2022-12-08 14:44:53 +01:00
Ralf Haferkamp
b24d126b30 Introduce TLS Settings for go-micro based http services
TLS for the services can be configure by setting the "OCIS_HTTP_TLS_ENABLED",
"OCIS_HTTP_TLS_CERTIFICATE" and "OCIS_HTTP_TLS_KEY" environment variables.
Currently the ocis proxy is this only service that directly accesses backend
services. It determines whether to use TLS or not by looking a the new registry
metadata "use_tls". As specific CA Cert for certificate verification
can be set with the "PROXY_HTTPS_CACERT" environment variable.
2022-11-03 11:58:53 +01:00
Florian Schade
52d618ef50 remove expires header in no-cache cases (#4942) 2022-11-01 15:06:17 +01:00
Florian Schade
ff4f160fdc disable cache for certain resources and respect try_files 2022-10-13 16:41:11 +02:00
Willy Kloucek
fbf1eeb4c5 don't cache the web index.html 2022-10-13 16:41:11 +02:00
Willy Kloucek
0a46ef0b0b bring back the settings ui (#4691) 2022-09-27 18:50:45 +02:00
David Christofas
3914f644e6 add tiff and bmp to the preview app config 2022-09-23 10:43:06 +02:00
David Christofas
0d1d9f2f25 add thumbnail support for tiff and bmp files 2022-09-22 01:30:49 +02:00
Willy Kloucek
1caffa3bb8 allow to configure applications for web 2022-09-14 10:09:38 +02:00
Jan
a999dd1d61 Add previewFileMimeTypes to defaultconfig.go (#4414)
* Add previewFileMimeTypes to defaultconfig.go

* Add changelog item

* Format

* Remove obsolete hideSearchBar config setting
2022-08-26 11:51:33 +02:00
Willy Kloucek
9f2be9f4f9 remove Log prefix from configlog functions 2022-08-22 08:08:18 +02:00
Willy Kloucek
e58eaabdeb move config parse error logging into function to ensure new lines and don't parse config for help 2022-08-18 15:27:28 +02:00
Willy Kloucek
60689c9c1a improve unsupervised description 2022-08-18 10:59:35 +02:00
Willy Kloucek
6154466bbc rename extensions to services (leftover occurences) 2022-08-17 15:36:52 +02:00
Ralf Haferkamp
946f3e8feb Remove unused BindEnv code
We dropped this in favour of envdecode a while ago.
2022-07-14 16:34:25 +02:00
mmattel
246377b35b Env variable text fixes 2022-07-07 19:53:27 +05:45
Ralf Haferkamp
4a09d8a948 Remove redundant setting of cli.HelpFlag
The help flag is configured automatically by default already. We don't
need to redo that for every single service.

This also addresses one of the finding of "go race" (#4088)
2022-07-05 14:59:06 +02:00
Willy Kloucek
f02591b5c3 improve startup error logging 2022-07-05 10:12:46 +02:00
Willy Kloucek
4d60867cd6 improve *_HTTP_ROOT descriptions 2022-06-29 09:44:12 +02:00
Willy Kloucek
f13d559eb5 Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at>
Co-authored-by: Phil Davis <phil@jankaritech.com>
2022-06-29 07:40:22 +02:00
Willy Kloucek
8f3b0c50cd Merge branch 'master' into config-doc-descriptions 2022-06-28 13:03:19 +02:00
Benedikt Kulmann
a5c2fdebd4 Allow self for iframes 2022-06-28 10:44:27 +02:00
Christian Richter
f8f1320501 refactor extensions -> services
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-06-27 14:05:36 +02:00
Christian Richter
78064e6bab rename folder extensions -> services
Signed-off-by: Christian Richter <crichter@owncloud.com>
2022-06-27 14:05:36 +02:00