Commit Graph

112 Commits

Author SHA1 Message Date
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
Phil Davis
c715732296 chore: set introductionVersion 5.0 in services/web 2024-03-06 17:53:43 +05:45
Phil Davis
366b03e6e2 chore: adjust env var descriptions
Co-authored-by: Christian Richter <1058116+dragonchaser@users.noreply.github.com>
2024-03-06 17:50:20 +05:45
Phil Davis
6fcd049eb7 chore: add missing descriptions to env vars 2024-03-06 17:50:20 +05:45
Phil Davis
9d2be66a85 chore: add introductionVersion pre5.0 to environment variable docs 2024-03-06 17:50:20 +05:45
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
Roman Perekhod
03f302227f fix update and reset the logo 2024-01-16 13:05:15 +01:00
Benedikt Kulmann
9034e0d470 fix: add config for web concurrent requests config 2023-12-21 20:22:21 +01:00
Jan
7345c7d32c Remove accessDeniedHelperUrl from config (#7970)
* Remove accessDeniedHelperUrl from config

* Enhance changelog item

* Adjust former changelog item

* Force rename
2023-12-14 10:44:13 +01:00
Jan
95f6af1575 Remove privacyURL and imprintURL from config (#7938)
* Remove privacyURL and imprintURL from config

* Add changelog item, fix typo

* React on code review
2023-12-12 15:19:18 +01:00
Jannik Stehle
973849e0e0 fix: updating logo with new theme structure
Fixes updating and resetting the logo when using the new `theme.json` structure in Web.
2023-12-11 13:42:47 +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
Martin
848461fbdc Update services/web/pkg/config/options.go 2023-11-09 12:40:55 +01:00
mmattel
90c3cd5f1f small fixes 2023-11-09 12:33:15 +01:00
mmattel
5e74b50efb [docs-only] Fix envvars with a array slice ([]string) 2023-11-09 12:22:59 +01:00
mmattel
b13b880921 [docs-only] Fix envvars with a duration. 2023-11-08 18:32:39 +01:00
mmattel
14ad4faa61 add a section in readme 2023-11-07 11:19:19 +01:00
Jannik Stehle
21653d9d1a Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at>
2023-11-07 11:09:21 +01:00
Jannik Stehle
c07f3c6c37 feat: add configs for the Web embed mode 2023-11-07 08:29:15 +01:00
mmattel
ae27e303d8 Fix web service envvar text 2023-11-03 16:06:28 +01:00
Michael Barz
0b15be553f fix token storage config for web 2023-10-19 08:48:35 +02:00
Jannik Stehle
c6533dc2e4 feat: add config for disabling web extensions 2023-10-13 12:53:34 +02:00
case0sh
24e784ac48 delete web_ui_config_file option 2023-10-06 10:29:08 +02:00
jkoberg
2cd6ee361e dont reload web config on request
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-27 11:44:52 +02:00
jkoberg
1f1aa50c54 hard exit when services fail
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2023-09-21 13:53:18 +02:00
Jan
e1148c6493 Add web config var LoginURL (#7317)
* Add web config var LoginURL

* Add changelog item
2023-09-20 10:45:11 +02:00
Daniel Swärd
49fc22d532 Add missing tracing references to multiple services. (#7110) 2023-08-23 15:17:17 +02:00
Christian Richter
d7139d4127 remove deprecated variables
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-08-22 17:25:24 +02:00
Daniël Franke
9203478605 Convert web to service trace provider.
This converts the web service to use the service trace provider.
2023-08-03 11:07:15 +02:00
Michael Barz
f8e6b23d5f Fix cache header for web and theme assets 2023-07-28 11:33:06 +02:00
Willy Kloucek
595a00998b Update services/web/pkg/config/options.go
Co-authored-by: Jannik Stehle <50302941+JammingBen@users.noreply.github.com>
2023-07-19 16:35:20 +02:00
Willy Kloucek
f9f84b9135 fix WEB_OPTION_ACCESS_DENIED_HELP_URL 2023-07-19 16:01:38 +02:00
Jan
b7e2f9e883 Set TokenStorageLocal default to true (#6771) 2023-07-11 14:52:23 +02:00
Jan
9a1b1b9f63 Add WEB_OPTION_TOKEN_STORAGE_LOCAL env var (#6760) 2023-07-10 17:10:52 +02:00
mmattel
6ad53971ef [docs-only] Increase readability for log level values in the description 2023-07-07 10:33:42 +02:00
mmattel
d7b447b791 [docs-only] Increase readability for tracing values in the description 2023-07-07 09:50:39 +02:00
Christian Richter
b06f7ec131 Merge pull request #6577 from dragonchaser/issue-192-disable-thumbnailer
[full-ci] allow to disable previews in webdav & web
2023-06-27 14:01:37 +02:00
Christian Richter
a67c2c40a3 Update services/web/pkg/config/options.go
Co-authored-by: kobergj <juliankoberg@googlemail.com>
2023-06-27 13:26:59 +02:00
Christian Richter
15ced8a6df incorporate requested changes
Signed-off-by: Christian Richter <crichter@owncloud.com>
2023-06-23 13:29:49 +02:00
Michael Barz
24347e1985 Apply suggestions from code review
Co-authored-by: Martin <github@diemattels.at>
Signed-off-by: Michael Barz <mbarz@owncloud.com>
2023-06-22 17:58:48 +02:00