Commit Graph

22884 Commits

Author SHA1 Message Date
Pascal Bleser
7c6cbc5496 groupware: refactoring the API mechanisms 2026-04-03 15:38:18 +02:00
Pascal Bleser
b098fce338 groupware: implement JSON:API's error response format, with a revamped error handling in jmap and services/groupware 2026-04-03 15:38:18 +02:00
Pascal Bleser
118d94b7e1 Refactor groupware service after ADR decision on the Groupware API
* after having decided that the Groupware API should be a standalone
   independent custom REST API that is using JMAP data models as much as
   possible,
 * removed Groupware APIs from the Graph service
 * moved Groupware implementation to the Groupware service, and
   refactored a few things accordingly
2026-04-03 15:38:18 +02:00
Pascal Bleser
de1a75f2ad Groupware and jmap: cleanup and API documentation 2026-04-03 15:38:18 +02:00
Pascal Bleser
92bdf1b977 groupware: remove unneeded messages.go that was a remainder from an earlier implementation attempt, which also fixes compilation issues due to changes in main 2026-04-03 15:38:18 +02:00
Pascal Bleser
c07c05867f opencloud_full: upgrade Stalwart to 0.12.5, and use the ghcr.io container repository to avoid Hub limits 2026-04-03 15:38:18 +02:00
Pascal Bleser
c169c18d2e 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-03 15:38:18 +02:00
Pascal Bleser
03716756a0 fix Stalwart LDAP configuration 2026-04-03 15:38:18 +02:00
Pascal Bleser
5e34c03d3b Use password policy overlay in LDAP and configure Stalwart to use it 2026-04-03 15:38:18 +02:00
Pascal Bleser
e6a7195167 upgrade Stalwart to 0.12.4 2026-04-03 15:38:18 +02:00
Pascal Bleser
fe750703ba groupware: removed debugging logs 2026-04-03 15:38:18 +02:00
Pascal Bleser
919113e7b9 jwkset: remove debugging printlns 2026-04-03 15:38:18 +02:00
Pascal Bleser
e08b7623b1 auth-api: fix: was missing newly introduced metrics 2026-04-03 15:38:18 +02:00
Pascal Bleser
5de589e11b groupware and jmap improvements and refactoring 2026-04-03 15:38:18 +02:00
Pascal Bleser
1be9684d1f upgrade Stalwart to 0.12 2026-04-03 15:38:18 +02:00
Pascal Bleser
97630f545f minor corrections to the Stalwart configuration 2026-04-03 15:38:18 +02:00
Pascal Bleser
29577229a0 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-03 15:38:18 +02:00
Pascal Bleser
d3dc501873 add an auth-api service to make an exemplary implementation of an external authentication API for third party services such as Stalwart 2026-04-03 15:38:18 +02:00
Pascal Bleser
399d87082e move services/groupware/pkg/jmap to pkg/jmap 2026-04-03 15:38:18 +02:00
Pascal Bleser
99c8d2a2aa WIP: restructure the Jmap client, and implement the /me/messages Graph API endpoint with it 2026-04-03 15:38:18 +02:00
Pascal Bleser
ee919ec5c7 add an OIDC Directory to Stalwart, requires exposing Keycloak port 8080 directly to access the userinfo endpoint using HTTP since the certificates in traefik are self-signed and end up being rejected by Stalwart with no option to bypass the certificate check 2026-04-03 15:38:18 +02:00
Pascal Bleser
bffe5480f9 rename Stalwart fallback admin username from 'admin' to 'mailadmin' since 'admin' exists as a regular user in LDAP and thus won't have access to the administration 2026-04-03 15:38:17 +02:00
Pascal Bleser
83a9eeebc9 add missing routing for /groupware (currently unprotected for testing) 2026-04-03 15:38:17 +02:00
Pascal Bleser
7eefcbe6c0 WIP: initial implementation of the groupware service 2026-04-03 15:38:17 +02:00
Pascal Bleser
806970a9c9 Add Stalwart container to the opencloud_full deployment, using the OpenLDAP container as a directory for user authentication 2026-04-03 15:38:17 +02:00
Ralf Haferkamp
33f45fa965 feat(multi-tenancy): verify tenant via OIDC claim
When multi-tenancy is enable we now allow to specify an OIDC claim
against which the tenantid of the user resolved via CS3 apis is matched.

Partial: #2310
2026-04-02 16:10:53 +02:00
Ralf Haferkamp
a1d4e86b96 devtools: sync csp.yaml with opencloud-compose repo 2026-04-02 16:10:53 +02:00
opencloudeu
9e615837c6 [tx] updated from transifex 2026-04-02 00:05:58 +00:00
opencloudeu
f7215df83f [tx] updated from transifex 2026-04-01 00:06:08 +00:00
OpenCloud Devops
fa32dffafa 🎉 Release 6.0.0 (#2451)
* 🎉 Release 5.2.1

* 🎉 Release 5.2.1

* 🎉 Release 5.2.1

* 🎉 Release 5.2.1

* 🎉 Release 5.2.1

* 🎉 Release 5.2.1

* 🎉 Release 5.2.1

* 🎉 Release 5.2.1

* 🎉 Release 5.2.1

* 🎉 Release 5.3.0

* 🎉 Release 5.3.0

* 🎉 Release 5.3.0

* 🎉 Release 5.3.0

* 🎉 Release 5.3.0

* 🎉 Release 5.3.0

* 🎉 Release 5.3.0

* 🎉 Release 5.3.0

* 🎉 Release 5.3.0

* 🎉 Release 5.3.0

* 🎉 Release 5.3.0

* 🎉 Release 5.3.0

* 🎉 Release 6.0.0

* 🎉 Release 6.0.0

* 🎉 Release 6.0.0

* 🎉 Release 6.0.0

* 🎉 Release 6.0.0

* 🎉 Release 6.0.0

* 🎉 Release 6.0.0

* 🎉 Release 6.0.0

* 🎉 Release 6.0.0
v6.0.0
2026-03-31 09:11:22 +02:00
Viktor Scharf
fc14928b92 fix version placeholder (#2552) 2026-03-31 08:52:58 +02:00
Viktor Scharf
dd25834d22 ability to commit to release pr (#2548) 2026-03-30 20:42:47 +02:00
Viktor Scharf
7ee37fe845 check version chech (#2549) 2026-03-30 17:29:20 +02:00
Viktor Scharf
a2401040a0 api-test: check that report contains favorites (#2531) 2026-03-30 16:28:13 +02:00
Viktor Scharf
0c8829c15d set version placeholder (#2547) 2026-03-30 14:51:00 +02:00
Viktor Scharf
8f939b93c6 chore: bump reva to v2.42.5 (#2543) 2026-03-30 12:29:40 +02:00
Viktor Scharf
656c7c37d5 chore: bump web to v6.1.0 (#2541) 2026-03-30 11:39:22 +02:00
Michael Barz
f0836c54fb feat: add userid to spans (#2536) 2026-03-30 10:32:24 +02:00
opencloudeu
3e6a1e69fc [tx] updated from transifex 2026-03-30 00:18:52 +00:00
opencloudeu
6042f26ed1 [tx] updated from transifex 2026-03-29 00:15:44 +00:00
opencloudeu
e25e56537d [tx] updated from transifex 2026-03-28 00:05:41 +00:00
dependabot[bot]
cde52d9e9b build(deps): bump github.com/nats-io/nats-server/v2
Bumps [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) from 2.12.5 to 2.12.6.
- [Release notes](https://github.com/nats-io/nats-server/releases)
- [Changelog](https://github.com/nats-io/nats-server/blob/main/RELEASES.md)
- [Commits](https://github.com/nats-io/nats-server/compare/v2.12.5...v2.12.6)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats-server/v2
  dependency-version: 2.12.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-27 12:27:09 +01:00
opencloudeu
9bee89691f [tx] updated from transifex 2026-03-27 00:15:02 +00:00
Jannik Stehle
604ffdb80d Merge pull request #2522 from smoothscholar/feat/open-files-in-new-tab
feat: add openFilesInNewTab web config option
2026-03-26 13:47:02 +01:00
opencloudeu
bece21f8a8 [tx] updated from transifex 2026-03-26 00:08:44 +00:00
Andre Duffeck
659fcac9ef Merge pull request #2524 from aduffeck/fix-bleve-batches
Fix bleve batches
2026-03-25 18:33:20 +01:00
André Duffeck
71c0a469b9 Reduce default batch size to prevent memory issues with large documents 2026-03-25 14:27:37 +01:00
André Duffeck
428f69416f Commit batches when the limit is reached while iterating over children 2026-03-25 14:27:37 +01:00
Christian Richter
210d2828a0 fix template string
Signed-off-by: Christian Richter <c.richter@opencloud.eu>
2026-03-25 11:06:57 +01:00
Florian Schade
3f4a64f1b4 Merge pull request #2514 from aduffeck/improve-opensearch
Improve opensearch highlighting, fix favorites
2026-03-25 11:01:14 +01:00