Commit Graph
5543 Commits
Author SHA1 Message Date
Ralf Haferkamp fbb6ac602c proxy: add guestlink auth middleware 2026-10-06 09:47:00 +02:00
Ralf Haferkamp 98cdbd077d refactor(proxy): return typed authentication results from authenticators
Replace the boolean authenticator result with a typed AuthenticationResult
containing AuthenticationState (NotApplicable, Failed, Succeeded, Error)
to distinguish between non-applicability, rejected credentials, and
dependency failures.

All existing authentication behavior remains observably unchanged.
2026-10-06 09:47:00 +02:00
Ralf Haferkamp 246d49ee18 guestlinks: Setup guestlinks authprovider
This starts the guestlinks authprovider as part of the auth-guest
service and wires it into the authregistry.
2026-10-06 09:47:00 +02:00
Alex Ababii c1dc12deee feat(guestauth): upd readme with guest links flow diagram 2026-10-06 08:08:28 +02:00
Alex Ababii 2c898250a9 feat(guestauth): upd file manager lock, addtional filetrs for shareExpired and shareRemoved events, common config loading fix 2026-10-06 08:08:28 +02:00
Alex Ababii c5879ca1b2 feat(guestauth): renaming guest ivitations to guest links for consistency with libre-graph-api 2026-10-06 08:08:28 +02:00
Alex Ababii a1a8221f68 feat(guestauth): global flag to disable the guest links feature 2026-10-06 08:08:26 +02:00
Alex Ababii 340851de70 feat(guestauth): updated redeem endpoint response and dependencies 2026-10-06 08:07:44 +02:00
Alex Ababii e17a9a3ae9 feat(guestauth): aligned readme 2026-10-06 08:07:44 +02:00
Alex Ababii d0847093bf feat(guestauth): prefix for cookie 2026-10-06 08:07:44 +02:00
Alex Ababii cbf3ee8c0b feat(guestauth): guestauth service rename to auth-guest 2026-10-06 08:07:44 +02:00
Alex Ababii f86e339233 feat(guestauth): grantee email in GuestTokenCreated event 2026-10-06 08:07:44 +02:00
Alex Ababii cf77e47ce4 feat(guestauth): used file lock instead of mutex in file strorage implementation 2026-10-06 08:07:43 +02:00
Alex Ababii eac68b9354 feat(guestauth): upd redeem response error format 2026-10-06 08:07:43 +02:00
Alex Ababii 9088273778 feat(guestauth): upd token record expiry proporety value on add 2026-10-06 08:07:43 +02:00
Alex Ababii b920654815 feat(guetauth): upd the redeem route 2026-10-06 08:07:43 +02:00
Alex Ababii e5c3be7c67 feat(guestauth): moved SecretHash to a method instead of field in struct 2026-10-06 08:07:43 +02:00
Alex Ababii b4aa47c029 feat(guestauth): renamed Storage interface and dependencies to Manager 2026-10-06 08:07:43 +02:00
Alex Ababii 2106f60fd8 feat(guestauth): upd version tags for env vars 2026-10-06 08:07:43 +02:00
Alex Ababii fdf52e4eaf feat(guestauth): upd service readme 2026-10-06 08:07:43 +02:00
Alex Ababii d359a7da1f feat(guestauth): removed uneeded config field 2026-10-06 08:07:43 +02:00
Alex Ababii 45bc705a74 feat(guestauth): cookie set always to true due to codacy mention 2026-10-06 08:07:43 +02:00
Alex Ababii 6ea563de96 feat(guestauth): added mocks for tests, made services dependencies to be based on interfaces 2026-10-06 08:07:43 +02:00
Alex Ababii 402a0c04a1 feat(guestauth): register guestauth proxy 2026-10-06 08:07:43 +02:00
Alex Ababii 2fc5fb36c3 feat(guestauth): used renamio for file write 2026-10-06 08:07:43 +02:00
Alex Ababii ffa70f5579 feat(guestauth): upd events handlers tests 2026-10-06 08:07:43 +02:00
Alex Ababii ecb546fe46 feat(guestauth): create jwt token and setup cookies on redeem token call 2026-10-06 08:07:43 +02:00
Alex Ababii 7af24c09a8 feat(guestauth): handle events and a bit of cleanup 2026-10-06 08:07:43 +02:00
Alex Ababii a60ec8cbc3 feat(guestauth): handler for redeem action and http service 2026-10-06 08:07:43 +02:00
Alex Ababii 06f7d12c4c feat(guestauth): storage implementation for guest auth tokens 2026-10-06 08:07:43 +02:00
Alex Ababii c5e52f97c6 feat(guestauth): token service 2026-10-06 08:07:43 +02:00
Alex Ababii 0448b456b0 feat(guestauth): added consumer and some basic event handling logic with stubs 2026-10-06 08:07:43 +02:00
Alex Ababii 19fc7dfb8b feat(guestauth): added guestauth service skeleton 2026-10-06 08:07:43 +02:00
Viktor Scharf af425afb3b [full-ci] chore: bump reva to 2.51.0 (#3657)
* chore: bump reva to 2.51.0

* replaceversion placeholder
2026-10-05 17:08:52 +02:00
Viktor Scharf ef10888431 [full-ci] chore: bump web to v8.1.0 (#3656)
* chore: bump web to v8.1.0

* trigger ci
2026-10-05 17:00:07 +02:00
Jörn Friedrich Dreyer 3215739190 Merge pull request #3593 from opencloud-eu/port-11707
Add delete stale nodes command
2026-10-05 15:44:59 +02:00
micbar 112b2264c0 feat: add more cli options to unified roles 2026-10-05 15:33:04 +02:00
Andre Duffeck 8f2adf2138 Reindex disabled spaces once they get enabled again (#3579)
Spaces that are disabled while reindexing are skipped. They are now
remembered in a NATS KV bucket (including whether a forced rescan was
requested) and reindexed when the SpaceEnabled event comes in. The
entry is removed when the space gets deleted.
2026-10-05 14:28:58 +02:00
Jörn Friedrich Dreyer 5ff51c1856 docs(storage-users): document the delete-stale-nodes command
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-10-05 14:12:21 +02:00
Jörn Friedrich Dreyer fabf82850e fix(storage-users): use user.oc. metadata prefix for stale node detection
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-10-05 14:12:21 +02:00
Jörn Friedrich Dreyer ad6ff3ee86 fix(storage-users): add delete-stale-nodes command
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-10-05 14:12:21 +02:00
Michael Barzandv.scharf b955c7c4f0 feat: add new editor roles (#3637)
* feat: add new editor roles

* add tests for additional roles

* fix: disable new roles in config

* adjust tests

* fix listGrantsShareRole test

---------

Co-authored-by: v.scharf <v.scharf@opencloud.eu>
2026-10-05 14:07:30 +02:00
José M. Requena Plens 283bbe4ee3 docs(search): extend the --insecure note to 8.1.x [docs-only]
8.1.0 ships before this fix, so it still needs the flag too.
2026-10-04 23:34:06 +02:00
José M. Requena Plens 5c39a40f6b refactor(search): restore the endpointFlag name
The Flag suffix is the convention for the command's flag variables, not only for booleans.
2026-10-04 23:34:06 +02:00
José M. Requena Plens 6a83068be2 docs(search): explain which address mode on verifies [docs-only]
With OC_GRPC_CLIENT_TLS_MODE=on the certificate is checked against the
dialed address, which is now SEARCH_GRPC_ADDR by default. A bind address
such as 0.0.0.0:9220 then fails verification unless --endpoint names a
host the certificate is valid for.
2026-10-04 23:34:06 +02:00
José M. Requena Plens 6211e31b5d refactor(search): rename the dialed endpoint and group the reva import
After the fallback the variable holds the configured address rather
than the flag, and the reva import belongs with the third-party ones,
as in server.go. The flag help also says that with mode on the server
certificate must be valid for that address.
2026-10-04 23:34:06 +02:00
José M. Requena Plens d071dc78ed test(search): pin the TLS failure and declare the plaintext server
The insecure-mode spec only asserted an error, so against main it
passed on a refused connection to the hardcoded endpoint. Match the
TLS handshake error instead. Pass insecure credentials to the test
server explicitly, which is what it already did, so the static
analysis no longer reports a server without credentials.
2026-10-04 23:34:06 +02:00
José M. Requena Plens f6bd436428 docs(search): cover every 8.x release in the v7 migration [docs-only]
The section was titled v7.x.x to v8.0.0 and told everyone to pass
--insecure, which only 8.0.0 and 8.0.1 need. Title it v7.x.x to v8.x.x,
drop the flag from the commands and say in an IMPORTANT block which
releases still need it.
2026-10-04 23:34:06 +02:00
José M. Requena Plens 828f7fe8f1 test(search): rewrite the index command test with Ginkgo
Run the command against a search service without TLS only: what the
command decides is whether to turn TLS off, how the mode maps and which
endpoint it dials. What pool.NewConn does with each mode belongs to
reva. Also cover the endpoint default.
2026-10-04 23:34:06 +02:00
José M. Requena Plens 3e5e5439a3 fix(search): stop recommending --insecure for re-indexing
With the client TLS mode honored, the default setup no longer needs
--insecure, and with TLS enabled for gRPC the flag makes the command
fail, since it turns TLS off. Drop it from the README examples and from
the two re-index hints the service logs. MIGRATION.md keeps it: its
section covers upgrading to 8.0.x, which still needs the flag.
2026-10-04 23:34:06 +02:00