Commit Graph

346 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer
7b64f42a8a Merge pull request #9656 from owncloud/reuse-node-id
reuse node id when registering services
2024-07-30 11:42:05 +02:00
Jörn Friedrich Dreyer
066c4b8173 only register signal handling once
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-29 16:28:13 +02:00
Jannik Stehle
542165df47 chore: bump web to v10.0.0 2024-07-29 16:09:25 +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
Florian Schade
a31a48150b Commit Title (50 char max)
Release Notes
=============

Testing Notes
=============

Deploy Notes
============

Technical Change Notes
======================
2024-07-25 16:10:10 +02:00
Jörn Friedrich Dreyer
7999e2969b do not force exit to let all services shutdown gracefully
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-24 14:02:52 +02:00
Jörn Friedrich Dreyer
9d1515e8fc rely on context from app
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-24 14:02:11 +02:00
Jörn Friedrich Dreyer
008f379a01 pass config context when running apps
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-24 13:30:42 +02:00
Jörn Friedrich Dreyer
7a22dfb6de NotifyContext when running services standalone
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-24 13:26: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
Jörn Friedrich Dreyer
c3c6085f2b drop sjson dependency
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-18 12:06:25 +02:00
Jannik Stehle
e665425cf4 chore: bump web to v9.2.0-alpha.1 2024-07-11 12:39:27 +02:00
Benedikt Kulmann
529218f27b chore: bump web to v9.1.0 2024-07-05 14:27:16 +02:00
Benedikt Kulmann
29ff79a31b chore: bump web to v9.1.0-alpha.1 2024-07-01 06:35:42 +02:00
Michael Barz
3aaad75ca2 chore: move removal of envs to next production release 2024-06-19 19:53:06 +02:00
Michael Barz
b04f3209d4 chore: prepare release, bump version 2024-06-19 19:45:57 +02:00
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