Commit Graph

4468 Commits

Author SHA1 Message Date
Pascal Bleser
75e04f8f68 Groupware improvements: refactoring, k6 tests
* refactored the models to be strongly typed with structs and mapstruct
   to decompose the dynamic parts of the JMAP payloads

 * externalized large JSON strings for tests into .json files under
   testdata/

 * added a couple of fantasy Graph groupware APIs to explore further
   options

 * added k6 scripts to test those graph/me/messages APIs, with a setup
   program to set up users in LDAP, fill their IMAP inbox, activate them
   in Stalwart, cleaning things up, etc...
2026-04-30 10:51:40 +02:00
Pascal Bleser
1e6574199e groupware: removed debugging logs 2026-04-30 10:51:40 +02:00
Pascal Bleser
f6603cf4f5 auth-api: fix: was missing newly introduced metrics 2026-04-30 10:51:40 +02:00
Pascal Bleser
0948c50931 groupware and jmap improvements and refactoring 2026-04-30 10:51:40 +02:00
Pascal Bleser
aff1fc87a0 Introduce a the auth-api service
* primitive implementation to demonstrate how it could work, still to
   be considered WIP at best

 * add new dependency: MicahParks/jwkset and MicahParks/keyfunc to
   retrieve the JWK set from KeyCloak to verify the signature of the
   JWTs sent as part of Bearer authentication in the /auth API

 * (minor) opencloud/.../service.go: clean up a logging statement that
   was introduced earlier to hunt down why the auth-api service was not
   being started
2026-04-30 10:51:40 +02:00
Pascal Bleser
de6708faf8 add an auth-api service to make an exemplary implementation of an external authentication API for third party services such as Stalwart 2026-04-30 10:51:40 +02:00
Pascal Bleser
7c1f491344 move services/groupware/pkg/jmap to pkg/jmap 2026-04-30 10:51:40 +02:00
Pascal Bleser
af597ad91d WIP: restructure the Jmap client, and implement the /me/messages Graph API endpoint with it 2026-04-30 10:51:40 +02:00
Pascal Bleser
da6721f8e0 add missing routing for /groupware (currently unprotected for testing) 2026-04-30 10:51:40 +02:00
Pascal Bleser
a90f792caa WIP: initial implementation of the groupware service 2026-04-30 10:51:40 +02:00
opencloudeu
74eddf8825 [tx] updated from transifex 2026-04-30 00:03:01 +00:00
dependabot[bot]
ac39d84747 build(deps): bump @types/node from 22.19.17 to 25.6.0 in /services/idp
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.19.17 to 25.6.0.
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 25.6.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-29 09:15:25 +02:00
Jörn Friedrich Dreyer
2d1cc3fb3a stop metrics tickers on context cancel
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-04-28 16:18:45 +02:00
Ralf Haferkamp
7a149787d0 fix: avoid suture.Supervisor being shutdown early
Previously the Supervisor was shutdonw as soon as the main context was
canceled. Which cause the managed services to fail during shutdown (in
"trapShutdownCtx()") as the Supervisor was gone already.

We now pass a separate Context to Supervisor.ServeBackground() to avoid
this.

Fixes: #2282
2026-04-28 16:18:45 +02:00
Ralf Haferkamp
c7eeb899d6 Revert "Hotfix for https://github.com/opencloud-eu/opencloud/issues/2282"
This reverts commit c329439aac.
2026-04-28 16:18:45 +02:00
Christian Richter
54de395e3e fix description
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2026-04-28 16:16:07 +02:00
opencloudeu
6e30e25dd3 [tx] updated from transifex 2026-04-28 00:04:02 +00:00
Jörn Friedrich Dreyer
b7dae077ce Merge pull request #2671 from aduffeck/bump-reva
Adapt to changes in reva/cs3apis
2026-04-27 17:02:17 +02:00
opencloudeu
0e1fa0d3f8 [tx] updated from transifex 2026-04-26 00:04:02 +00:00
André Duffeck
e9e195789d Adapt to changes in reva/cs3apis 2026-04-24 14:49:11 +02:00
Christian Richter
039c5a2f1b add missing deprecation info
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2026-04-24 09:24:02 +02:00
Florian Schade
d0e3f14539 chore: remove loop var references 2026-04-23 17:11:55 +02:00
Christian Richter
c329439aac Hotfix for https://github.com/opencloud-eu/opencloud/issues/2282
Co-authored-by: Jörn Dreyer <jfd@butonic.de>
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2026-04-23 15:19:59 +02:00
Florian Schade
288e67cc39 chore: replace interface with any 2026-04-23 09:31:11 +02:00
Ralf Haferkamp
e2f322791a fix(graph): sort drive in "natural" order
Instead of doing a lexical sort we sort the drive/space in a more
"natural" order so that e.g. "Space 2" is sorted before "Space 10".

Related: https://github.com/opencloud-eu/web/issues/2430
2026-04-23 08:44:13 +02:00
opencloudeu
907cc6d766 [tx] updated from transifex 2026-04-23 00:04:10 +00:00
Florian Schade
86d79430a3 chore: use wg.Go instead of add 2026-04-22 14:50:57 +02:00
dependabot[bot]
a8fff7e4c3 build(deps): bump i18next from 25.10.10 to 26.0.4 in /services/idp
Bumps [i18next](https://github.com/i18next/i18next) from 25.10.10 to 26.0.4.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v25.10.10...v26.0.4)

---
updated-dependencies:
- dependency-name: i18next
  dependency-version: 26.0.4
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-22 11:30:35 +02:00
opencloudeu
e698a81528 [tx] updated from transifex 2026-04-22 00:04:28 +00:00
Thomas Schweiger
fb6ab0f092 enhancement: increase display size of graph flow diagram 2026-04-21 16:51:13 +02:00
Dominik Schmidt
15d779cb23 refactor(search): rename forceReindexFlag to forceRescanFlag
Address review feedback: now that the flag is read under its
registered name `force-rescan`, line the local variable up with the
operator-facing vocabulary. The proto field `ForceReindex` is left
untouched so the wire format stays the same.
2026-04-21 15:29:04 +02:00
Dominik Schmidt
e7806445dc fix(search): read --force-rescan flag with its registered name
The `opencloud search index` command registers the flag as
`--force-rescan` (see pflag registration below) but reads it via
`GetBool("force-reindex")`, so the value is always false — passing
`--force-rescan` had no effect and no force rescan was ever triggered.

Read the flag under its registered name.
2026-04-21 15:29:04 +02:00
Dominik Schmidt
2fc33d6e60 refactor(search): round xmpDM:duration to the nearest millisecond
Address review feedback: a straight int64 cast truncates toward zero,
so Tika values that produce results like 1234.999... millisecond would
land at 1234 ms instead of 1235 ms. Round before casting so durations
are as accurate as float64 allows.
2026-04-21 15:16:57 +02:00
Dominik Schmidt
3c59935012 fix(search): parse tika xmpDM:duration as a float
Tika emits xmpDM:duration as seconds in floating-point form (for
example "154.57379150390625"), so strconv.ParseInt rejected every
value and the field was silently dropped — every indexed audio item
ended up without a duration.

Parse the value with strconv.ParseFloat and convert to milliseconds
ourselves. Adjust the existing extractor test to cover the fractional
case.
2026-04-21 15:16:57 +02:00
Jannik Stehle
2151fd115e Merge pull request #2629 from opencloud-eu/docs/cern-deprecations-notices
docs(web): deprecation notices for cern related feature flags
2026-04-20 16:21:00 +02:00
Jannik Stehle
781f7422b1 docs: deprecation notices for cern related feature flags 2026-04-20 15:22:45 +02:00
Viktor Scharf
7d98f03703 [full-ci] chore: bump web to v6.2.0 (#2628) 2026-04-20 14:51:57 +02:00
Viktor Scharf
f8b28b12e9 combine version placeholder check steps [🎉 release]. set 6.1.0. version for upcoming release (#2626)
* 🎉 release: combine version placeholder check steps

* set 6.1.0 version
2026-04-20 10:43:22 +02:00
opencloudeu
7a7a727cf3 [tx] updated from transifex 2026-04-20 00:04:46 +00:00
opencloudeu
bdf7cc7b8b [tx] updated from transifex 2026-04-19 00:04:47 +00:00
opencloudeu
bfb03b6973 [tx] updated from transifex 2026-04-17 00:04:32 +00:00
Andre Duffeck
4603d9a278 Merge pull request #2606 from aduffeck/force-reindex
Add a flag to the reindex command to force a full reindex
2026-04-16 15:38:22 +02:00
opencloudeu
8d6c5d7160 [tx] updated from transifex 2026-04-16 00:04:30 +00:00
Jörn Friedrich Dreyer
5683e0d441 Merge pull request #2560 from pedropintosilva/feat/add-userextrainfo-to-checkfileinfo
feat(collaboration): add UserExtraInfo with avatar and mail to CheckFileInfo
2026-04-15 16:07:42 +02:00
Michael Barz
35aaf92384 test: add tests for new features 2026-04-15 12:14:24 +02:00
Michael Barz
940bfe5d65 fix: use libregraph client 2026-04-15 08:00:35 +02:00
opencloudeu
2b15d557ea [tx] updated from transifex 2026-04-15 00:04:54 +00:00
Michael Barz
d05db011e5 refactor: move implementation to fileconnector 2026-04-14 17:46:45 +02:00
André Duffeck
bcdfbda08d Fix test 2026-04-14 08:20:28 +02:00
André Duffeck
60bcc6b0f2 Add a flag to the reindex command to force a full reindex
That can be helpful when the search service configuration has changed,
e.g. by enabling TIKA. Previously files that had already been indexed
were not indexed again and thus were no part of the fulltext index.

Fixes #2285
Fixes #2578
2026-04-14 08:20:28 +02:00