Commit Graph

48 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer
a3ef7f6d79 update otlp tracing
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-11-27 12:28:15 +01:00
Florian Schade
fd4aa77ab8 enhancement: include web theme 2025-01-20 15:51:12 +01:00
Jörn Friedrich Dreyer
db39b8ed3b use opencloudurl
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-16 11:13:08 +01:00
Ralf Haferkamp
213e9663a9 Rename go-micro services 2025-01-16 09:45:46 +01:00
André Duffeck
bacceadf32 Switch to the theming web branch for now
Co-authored-by: Florian Schade <f.schade@opencloud.eu>
2025-01-15 08:48:15 +01:00
Jörn Friedrich Dreyer
b07b5a1149 use plain pkg module
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 16:42:19 +01:00
Jörn Friedrich Dreyer
8e028f17e9 change module name
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 09:58:18 +01:00
Jannik Stehle
38d7933409 feat: enable app-store web app per default 2024-08-16 15:56:28 +02:00
Jörn Friedrich Dreyer
7b98a2665f use bool type for web embed delegatedAuthentication
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-25 16:42:58 +02:00
Jan Ackermann
552f5c86c1 Remove config options that ain't available in web anymore 2024-07-24 08:39:02 +02:00
Jannik Stehle
7e27899f9e feat: remove draw-io from default web config
The `draw-io` app has been removed from the Web default apps, hence this removes it here as well.

The app is now available via the [web-extensions repository](https://github.com/owncloud/web-extensions).
2024-07-22 14:41:27 +02:00
Florian Schade
eb7c36443f enhancement: introduce theme processing (#9133)
* enhancement: introduce theme processing

* enhancement: introduce theme processing

* enhancement: add theme processing tests and changelog

* Update services/web/pkg/config/config.go

Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>

* fix: ci findings

* Apply suggestions from code review

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

* enhancement: use the theme assets from web instead of having them inside the oCis repo (license clash Apache vs. AGPLv3)

* fix: golangci tagalign order

* fix: rename UnifiedRoleUploader to UnifiedRoleEditorLite

* fix: some typos

Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>

* enhancement: export supported theme logo upload filetypes

* chore: bump reva

* fix: allow init func

---------

Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>
Co-authored-by: Martin <github@diemattels.at>
2024-05-29 15:48:49 +02:00
Thomas Müller
f50a4b79fe feat: enable draw-io extension by default 2024-04-02 14:06:31 +02:00
Christian Richter
fe4cd7a901 make code more readable
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-03-19 14:21:21 +01:00
Christian Richter
b5ca297f54 prevent nil pointer
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-03-19 13:56:10 +01:00
Christian Richter
72916dc53c adapt cors headers
Signed-off-by: Christian Richter <crichter@owncloud.com>
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-03-19 10:54:58 +01:00
Florian Schade
6814c61506 [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 14:11:18 +01:00
Alex
48a4114ffd Add epub-reader to apps default config (#8410) 2024-02-23 15:19:31 +01:00
Jannik Stehle
1cb6467ac9 fix: setting config for concurrent share requests 2024-01-30 09:38:23 +01:00
Benedikt Kulmann
9034e0d470 fix: add config for web concurrent requests config 2023-12-21 20:22:21 +01:00
Jan
263cb21c24 Add config var UserListRequiresFilter (#7866)
* Add config var UserListRequiresFilter

* Fix whitespace

* Update options.go

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

---------

Co-authored-by: Martin <github@diemattels.at>
2023-12-01 13:30:46 +01:00
Benedikt Kulmann
f31906da47 feat: add and adjust configs for embed mode 2023-11-30 11:17:31 +01:00
Christian Richter
1713041e14 Add skel for preview generator for ggs
Co-authored-by: Ralf Haferkamp <rhafer@owncloud.com>

Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-11-27 15:31:38 +01:00
Christian Richter
103377e12f add types to web and thumbnailer
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-11-27 15:31:38 +01:00
Jannik Stehle
a1c4912600 feat: add and adjust configs for Web embed mode (#7766)
* feat: add and adjust configs for embed mode

* Update services/web/pkg/config/options.go

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

* docs: adjust description for WEB_OPTION_EMBED_TARGET

---------

Co-authored-by: Martin <github@diemattels.at>
2023-11-21 15:53:22 +01:00
Benedikt Kulmann
3cf1163d05 revert: don't make loadUserInfo configurable because web disabled it
Refs: 3eb1f18
2023-11-21 06:19:50 +01:00
Jörn Friedrich Dreyer
d296cd9923 allow configuring loadUserInfo for web (#7714)
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-11-10 23:44:50 +01:00
case0sh
24e784ac48 delete web_ui_config_file option 2023-10-06 10:29:08 +02:00
Jan
b7e2f9e883 Set TokenStorageLocal default to true (#6771) 2023-07-11 14:52:23 +02:00
Florian Schade
4f26424db6 [full-ci] enhancement: use reva client pool selectors (#6452)
* enhancement: use reva client pool selectors

register mock service to registry and pass tests

* enhancement: bump reva

* Fix a couple of linter issues

---------

Co-authored-by: Ralf Haferkamp <rhaferkamp@owncloud.com>
2023-06-08 12:41:04 +02:00
Jannik Stehle
74ca24d3ff feat: add uppy companion url config 2023-06-06 16:17:06 +02:00
Jörn Friedrich Dreyer
0edb2b9c5b fix preflight requests
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2023-05-22 16:28:51 +02:00
Jan
d345db7dec Add config var OpenLinksWithDefaultApp 2023-05-17 14:31:52 +02:00
kobergj
44de28843f Hardcoded web options (#6188)
* use custom struct for web options

Signed-off-by: jkoberg <jkoberg@owncloud.com>

* update envvar descriptions

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

* Use correct defaults

* fix code style

---------

Signed-off-by: jkoberg <jkoberg@owncloud.com>
Co-authored-by: Michael Barz <michael.barz@zeitgestalten.eu>
Co-authored-by: Martin <github@diemattels.at>
Co-authored-by: Michael Barz <mbarz@owncloud.com>
2023-05-02 10:55:18 +02:00
David Christofas
924c2ca346 add missing comments 2023-03-06 19:01:16 +01:00
David Christofas
7c17ddb0b0 add a permission check to the logo upload 2023-02-13 13:48:39 +01:00
David Christofas
20e4e56d28 implement first prototype of the logo upload API 2023-02-13 13:36:30 +01:00
Benedikt Kulmann
881df87d82 chore: update web to v7.0.0-rc.9 2023-01-26 22:00:25 +01:00
Jannik Stehle
cbc9ebfa26 Add admin-settings to default config 2023-01-12 14:17:54 +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
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
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
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
Willy Kloucek
8f3b0c50cd Merge branch 'master' into config-doc-descriptions 2022-06-28 13:03:19 +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