Commit Graph

229 Commits

Author SHA1 Message Date
Benedikt Kulmann
f49e03ade7 chore: bump web to v9.0.0 2024-06-17 16:05:28 +02:00
Benedikt Kulmann
b5a3a2fca5 chore: bump web to v9.0.0-alpha.7 2024-06-13 17:03:58 +02:00
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
Jannik Stehle
458f32b409 [full-ci] chore: bump web to v9.0.0-alpha.5 (#8868)
* chore: bump web to v9.0.0-alpha.5

* try to fix sharedWithMe test

---------

Co-authored-by: Viktor Scharf <scharf.vi@gmail.com>
2024-04-16 11:54:03 +02:00
Jannik Stehle
801afbe025 chore: bump web to v9.0.0-alpha.4 2024-04-09 11:53:52 +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
Viktor Scharf
17b8e5b60b [full-ci]chore: bump web to v9.0.0-alpha.3 (#8736)
* chore: bump web to v9.0.0-alpha.3

* ci(e2e): use e2e runner to run the tests

* ci(e2e): fix e2e run command

* ci(e2e): fix e2e run command

* chore: adjust changelog item for Web 9.0.0

* Update .drone.env

---------

Co-authored-by: Saw-jan <saw.jan.grg3e@gmail.com>
Co-authored-by: Jannik Stehle <jannik.stehle@gmail.com>
2024-03-26 16:56:04 +01:00
Christian Richter
35d536f901 Merge pull request #8518 from dragonchaser/cors-issues
[full-ci] adapt cors headers
2024-03-20 14:43:33 +01:00
mmattel
5e2762774f [docs-only] Align web service readme with admin docs 2024-03-19 15:11:43 +01: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
Martin
627aa801b2 Web README update 2024-03-19 09:27:13 +01:00
Benedikt Kulmann
b7aa2873f8 chore: bump web to v9.0.0-alpha.2 2024-03-13 09:37:29 +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
Benedikt Kulmann
050c025a6a chore: bump web to v9.0.0-alpha.1 2024-02-26 13:42:05 +01:00
Alex
48a4114ffd Add epub-reader to apps default config (#8410) 2024-02-23 15:19:31 +01:00
Benedikt Kulmann
6d9e23d6cd chore: bump web to v8.0.0-rc.5 2024-02-20 19:40:59 +01:00
Benedikt Kulmann
4a28cee0f7 chore: bump web to v8.0.0-rc.4 2024-02-15 21:16:45 +01:00
Benedikt Kulmann
c31b4546d4 chore: bump web to v8.0.0-rc.3 2024-02-01 16:39:48 +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
Jannik Stehle
7c97b1e50b chore: bump web to v8.0.0-rc.1 2023-12-21 18:08:38 +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
Benedikt Kulmann
026915c57f chore: bump web to v8.0.0-beta.2 2023-12-12 21:42:01 +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
b6ce5e44b4 chore: bump web to v8.0.0-beta.1 2023-12-12 13:02:33 +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
Jannik Stehle
f5a4f12e1b chore: bump web to v8.0.0-alpha.13 2023-12-08 14:08:06 +01:00
Benedikt Kulmann
0668ccbcba chore: bump web to v8.0.0-alpha.12 2023-12-05 14:48:39 +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
Benedikt Kulmann
cf82ed952d chore: bump web to v8.0.0-alpha.11 2023-11-30 09:59:22 +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