Commit Graph

124 Commits

Author SHA1 Message Date
Michael Barz
b892a9ab28 Merge pull request #9312 from owncloud/var-placeholders
docs: use placeholder for next release
2024-06-05 21:36:25 +02:00
Thomas Müller
1453f904e3 chore: code cleanup services/web (#9034)
* chore: code cleanup services/web

* fix: export private member to keep the test external

* chore: backport changes

---------

Co-authored-by: Florian Schade <f.schade@icloud.com>
2024-06-04 12:28:49 +02:00
Michael Barz
5d99688161 docs: use placeholder for next release 2024-06-04 10:28:42 +02:00
Jannik Stehle
735ba7aebf feat: web server compression
Adds a compression middleware to the web server to reduce the request size when delivering static files. This speeds up loading times in web clients.

The chi middleware we're using for this currently supports `gzip` as compression algorithm. We might want to extend this to support `br` (Brotli) in the future, since it's a newer and more performant algorithm.
2024-05-31 12:34:12 +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
Jörn Friedrich Dreyer
799b12b8dd fix service names for userlog, graph, invitations, sse and web
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-05-13 17:04:01 +02:00
Thomas Müller
a8cbc612cc chore: remove unused return value from BindSourcesToStructs (#9033) 2024-04-30 18:18:31 +02:00
Jörn Friedrich Dreyer
32e44a9fdc Merge pull request #8989 from owncloud/log-and-trace-fixes
log and trace fixes
2024-04-29 17:13:52 +02:00
Jörn Friedrich Dreyer
e41472234f log and trace fixes
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-04-26 17:03:49 +02:00
Thomas Müller
bdbba929d0 feat: add CSP and other security related headers in the oCIS proxy service (#8777)
* feat: add CSP and other security related headers in the oCIS proxy service

* fix: consolidate security related headers - drop middleware.Secure

* fix: use github.com/DeepDiver1975/secure

* fix: acceptance tests

* feat: support env var replacements in csp.yaml
2024-04-26 09:10:35 +02:00
Thomas Müller
07f0cd5574 fix: typos, naming clashes, error messages and deprecations 2024-04-03 15:34:36 +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
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