Commit Graph

702 Commits

Author SHA1 Message Date
Michael Barz 81c88caca1 chore: prepare release, bump version 2024-10-01 09:33:56 +02:00
Ralf Haferkamp cb8934081f proxy(oidc): Emit a UserSignedIn event on new session
Every time the OIDC middleware sees a new access token (i.e when it needs
to update the userinfo cache) we consider that as a new login. In this case
the middleware add a new flag to the context, which is then used by the
accountresolver middleware to publish a UserSignedIn event.
The event needs to be sent by the accountresolver middleware, because only
at that point we know the user id of the user that just logged in.

(It would probably makes sense to merge the auth and account middleware into a
single component to avoid passing flags around via context)
2024-09-17 16:02:47 +02:00
Michael Barz 8ab1d5924c chore: bump version, prepare changelog 2024-09-12 14:00:01 +02:00
Ralf Haferkamp 80ce622caa cleanup(oidc): Verify logout tokens useing golang-jwt
golang-jwt provides all the necessary functionality to parse and verify
LogoutTokens. This gets us rid of the direct go-jose dependency and
quite a bit of custom crafted jwt verification code.
2024-08-26 15:58:33 +02:00
Ralf Haferkamp 109b23966c bump some jwt related go modules to current version
go-jwt/jwt to v5.2.1
MicahParks/keyfunc to v2.1.0
2024-08-26 15:35:15 +02:00
Jörn Friedrich Dreyer 9d40aa8fc2 allow configuring default reva address
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-23 20:51:17 +02:00
Jörn Friedrich Dreyer 84e87cd722 set the configured protocol transport for service metadata
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-23 20:51:17 +02:00
Christian Richter 3cdc638201 remove code for store service
Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-08-22 09:28:02 +02:00
Jörn Friedrich Dreyer 454c119d0b chore: prepare changelog, bump version, update CD, add release to table
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-20 10:28:52 +02:00
Jörn Friedrich Dreyer a3c7bd3182 bump libre graph api
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-19 14:20:20 +02:00
Jörn Friedrich Dreyer f2620b9f20 Merge pull request #9722 from 2403905/issue-9700
Added a generic way to translate the necessary fields in composite entities.
2024-08-09 13:54:02 +02:00
jkoberg be7ef83fca feat(l10n): support maps
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-08-06 16:53:33 +02:00
jkoberg 68e08c59b4 feat(l10n): adjust translate entity
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-08-06 14:25:30 +02:00
Roman Perekhod c39bac17c4 the comments added to public functions 2024-08-06 14:25:30 +02:00
Roman Perekhod 21c6dda4f8 refactored the translation funcrions interface 2024-08-06 14:25:30 +02:00
Roman Perekhod 85d2842bc8 fixed sonrarcloud alert 2024-08-06 14:25:30 +02:00
Roman Perekhod 70fc7ecb92 The translate functions are separated semantically 2024-08-06 14:25:30 +02:00
Roman Perekhod fc85837d82 added the iterator over slice and map 2024-08-06 14:25:30 +02:00
Jörn Friedrich Dreyer 464c780c82 added TranslateEntity 2024-08-06 14:25:30 +02:00
Jörn Friedrich Dreyer c3f170b7b6 fix comments
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-06 13:04:45 +02:00
Jörn Friedrich Dreyer 7834ad6705 aggregate services by versions
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-06 12:38:50 +02:00
Jörn Friedrich Dreyer 98ce5dc085 add version to key
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-06 12:38:10 +02:00
Jörn Friedrich Dreyer 1da29fb6fd fix unmarshaling
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-08-02 13:00:46 +02:00
Jörn Friedrich Dreyer 2a24cafd0c Merge pull request #9657 from owncloud/add-grpc-max-connection-age-env
allow configuring grpc max connection age
2024-07-31 15:41:45 +02:00
Jörn Friedrich Dreyer 652675196e allow configuring grpc max connection age
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-31 14:39:12 +02:00
Jörn Friedrich Dreyer d839bfb5a3 Merge pull request #9492 from owncloud/ignore-address-for-kubernetes-registry
ignore addresses for kubernetes registry
2024-07-30 16:53:13 +02:00
Jörn Friedrich Dreyer 297cc77621 gateway should talk to itself
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>

extract method

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-30 16:14:28 +02:00
Michael Barz cc0ebd493a Merge pull request #9711 from owncloud/release-6.2.0
[full-ci] chore: bump version, prepare changelog
2024-07-30 15:22:01 +02:00
Michael Barz 752f988faf chore: bump version, prepare changelog 2024-07-30 11:05:41 +02:00
jkoberg 06cc70f978 feat(natsjsregistry): fix watcher feature
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-07-24 13:09:11 +02:00
Jörn Friedrich Dreyer d1fd65466f reuse default node id when registering services
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-24 13:07:54 +02:00
Thomas Müller 1eb66eb18c feat: add REVA appauth as oCIS service 2024-07-23 08:58:07 +02:00
Jörn Friedrich Dreyer c421507f1e reva services should respect same register ttl
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-19 12:56:59 +02:00
Jörn Friedrich Dreyer 0c6ca19602 naming is hard
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-07-19 12:37:08 +02:00
jkoberg 0c0866711c fix(registry): Fix TTL and registration interval
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-07-19 11:52:59 +02:00
kobergj 2206d4a184 Merge pull request #9548 from owncloud/dependabot/go_modules/github.com/rs/cors-1.11.0
[full-ci] Get rid of go-chi/cors and bump rs/cors to 1.11.0
2024-07-19 09:35:31 +02:00
jkoberg 30a0f8a71b fix(ocis): get rid of go-chi/cors lib
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-07-18 11:34:49 +02:00
jkoberg 6d7d18adce feat(deps): bump plugins/store/nats-js-kv
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-07-17 15:26:49 +02:00
jkoberg 60d4305bab fix(natsjsregistry): spread load evenly among instances
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-07-17 15:26:49 +02:00
Christian Richter 505ed389b7 Fix nil-pointer issue with misconfigured tracing
Co-authored-by: Jörn Friedrich Dreyer <jfd@butonic.de>

Signed-off-by: Christian Richter <crichter@owncloud.com>
2024-07-16 14:46:49 +02:00
Michael Barz e586a71570 chore: prepare changelog, bump version, update CD 2024-07-08 15:58:26 +02:00
Jörn Friedrich Dreyer 48f9e79ff4 ignore addresses for kubernetes registry
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-06-28 11:00:35 +02:00
jkoberg 63686d6cd7 feat(search): remove userid from indexspace methods
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-25 10:01:37 +02:00
jkoberg 7a819412c2 feat(ocis): move ast and kql pkg to ocis-pkg
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-24 16:23:55 +02:00
jkoberg 5249cbc138 feat(activitylog): translations
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-24 16:23:54 +02:00
Michael Barz b04f3209d4 chore: prepare release, bump version 2024-06-19 19:45:57 +02:00
jkoberg f68ffbbd71 fix(natsjskvregistry): encode keys
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-14 10:21:03 +02:00
jkoberg 630c9efaaa feat(activitylog): initial service
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-06-05 14:31:12 +02:00
Jörn Friedrich Dreyer 3db878e8db Merge pull request #9165 from wkloucek/collaboration-fixes
collaboration fixes
2024-05-31 13:49:10 +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