Commit Graph

22850 Commits

Author SHA1 Message Date
Pascal Bleser
6cbce01a46 groupware: implement JSON:API's error response format, with a revamped error handling in jmap and services/groupware 2026-02-04 09:40:20 +01:00
Pascal Bleser
09716cbe1b 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-02-04 09:40:20 +01:00
Pascal Bleser
2a4b528139 Groupware and jmap: cleanup and API documentation 2026-02-04 09:40:20 +01:00
Pascal Bleser
5acddf601c 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-02-04 09:40:19 +01:00
Pascal Bleser
2eedafa6f6 opencloud_full: upgrade Stalwart to 0.12.5, and use the ghcr.io container repository to avoid Hub limits 2026-02-04 09:40:19 +01:00
Pascal Bleser
7cb9b128a8 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-02-04 09:40:19 +01:00
Pascal Bleser
68e1942aff fix Stalwart LDAP configuration 2026-02-04 09:40:19 +01:00
Pascal Bleser
092f4815b5 Use password policy overlay in LDAP and configure Stalwart to use it 2026-02-04 09:40:19 +01:00
Pascal Bleser
041ec185f0 upgrade Stalwart to 0.12.4 2026-02-04 09:40:19 +01:00
Pascal Bleser
060f290637 groupware: removed debugging logs 2026-02-04 09:40:19 +01:00
Pascal Bleser
54bdd43df0 jwkset: remove debugging printlns 2026-02-04 09:40:19 +01:00
Pascal Bleser
fcace7229b auth-api: fix: was missing newly introduced metrics 2026-02-04 09:40:19 +01:00
Pascal Bleser
1ca1485286 groupware and jmap improvements and refactoring 2026-02-04 09:40:19 +01:00
Pascal Bleser
1669601d99 upgrade Stalwart to 0.12 2026-02-04 09:40:19 +01:00
Pascal Bleser
c6d15063e1 minor corrections to the Stalwart configuration 2026-02-04 09:40:19 +01:00
Pascal Bleser
23f40932b3 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-02-04 09:40:19 +01:00
Pascal Bleser
46690c81b3 add an auth-api service to make an exemplary implementation of an external authentication API for third party services such as Stalwart 2026-02-04 09:40:19 +01:00
Pascal Bleser
b48a6f3b45 move services/groupware/pkg/jmap to pkg/jmap 2026-02-04 09:40:19 +01:00
Pascal Bleser
bb1ff183bd WIP: restructure the Jmap client, and implement the /me/messages Graph API endpoint with it 2026-02-04 09:40:19 +01:00
Pascal Bleser
964a83a30b 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-02-04 09:40:19 +01:00
Pascal Bleser
9b91751578 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-02-04 09:40:19 +01:00
Pascal Bleser
6612b0afe2 add missing routing for /groupware (currently unprotected for testing) 2026-02-04 09:40:19 +01:00
Pascal Bleser
71ed48ace4 WIP: initial implementation of the groupware service 2026-02-04 09:40:19 +01:00
Pascal Bleser
d9a054604b Add Stalwart container to the opencloud_full deployment, using the OpenLDAP container as a directory for user authentication 2026-02-04 09:40:19 +01:00
Viktor Scharf
400dc9f8ae adapt test for #514 (#2255) 2026-02-03 19:51:33 +01:00
Ralf Haferkamp
0639304e96 docs(proxy): Clarify PROXY_OIDC_USERINFO_CACHE_TTL value
Try to make it more precise when that value is actually relevant.

Closes: #2252
2026-02-03 15:36:37 +01:00
opencloudeu
7a0bbd93b4 [tx] updated from transifex 2026-02-03 00:14:43 +00:00
Viktor Scharf
567e8a7e8c api-test: upload-rename-download file with back slash (#2239) 2026-02-02 07:59:51 +01:00
opencloudeu
158c920e3d [tx] updated from transifex 2026-02-01 00:13:47 +00:00
dependabot[bot]
032900bd9c build(deps): bump github.com/grpc-ecosystem/grpc-gateway/v2
Bumps [github.com/grpc-ecosystem/grpc-gateway/v2](https://github.com/grpc-ecosystem/grpc-gateway) from 2.27.5 to 2.27.6.
- [Release notes](https://github.com/grpc-ecosystem/grpc-gateway/releases)
- [Commits](https://github.com/grpc-ecosystem/grpc-gateway/compare/v2.27.5...v2.27.6)

---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/grpc-gateway/v2
  dependency-version: 2.27.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-29 17:43:50 +01:00
Artur Neumann
663fe3740b Merge pull request #2236 from opencloud-eu/checkForVersionPlaceholders
ci: check for version placeholders
2026-01-29 18:25:42 +05:45
Artur Neumann
4a83b34b91 ci: check for version placeholders 2026-01-29 16:42:38 +05:45
Alex
8b4c218a5f chore: change target path for docs automation (#2235) 2026-01-29 11:05:45 +01:00
Sawjan Gurung
70623d6007 Merge pull request #2041 from opencloud-eu/test/test-hook-failure
[full-ci][tests-only] test: add hook failures to the test failures list
2026-01-29 10:08:25 +05:45
opencloudeu
cad6a61120 [tx] updated from transifex 2026-01-29 00:13:28 +00:00
Michael Flemming
754f0fa5b7 Merge pull request #2229 from opencloud-eu/fix_docs_gen_path
fix path and trigger for docsGenPr
2026-01-28 18:03:15 +01:00
Michael 'Flimmy' Flemming
38cf037a11 fix path and trigger for docsGenPr 2026-01-28 17:53:11 +01:00
OpenCloud Devops
9eac47dab4 🎉 Release 5.0.1 (#2218)
* 🎉 Release 5.0.1

* 🎉 Release 5.0.1

* 🎉 Release 5.0.1

* 🎉 Release 5.0.1
v5.0.1
2026-01-28 16:06:09 +01:00
Viktor Scharf
e7c14d2ee4 reva-bump-2.42.1 (#2225) 2026-01-28 15:51:15 +01:00
Andre Duffeck
a90e1296ba Merge pull request #2223 from aduffeck/fix-2220
Do not ever set a TTL for the ID cache. It's not supposed to expire.
2026-01-28 14:56:22 +01:00
André Duffeck
e2f6a68810 Do not ever set a TTL for the ID cache. It's not supposed to expire. 2026-01-28 12:52:24 +01:00
Saw-jan
cd408c6923 test: add hook failures to the test failures list
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2026-01-28 11:29:48 +05:45
opencloudeu
47d5d8c1b8 [tx] updated from transifex 2026-01-28 00:12:56 +00:00
Sawjan Gurung
e2e8c55ccf test(api): wait for web-office readiness by checking discovery endpoint (#2217)
* test: add date-time in the request-response log

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

* ci: check discovery urls

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>

---------

Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2026-01-27 15:06:06 +05:45
Saw-jan
0570f2ecea ci: check discovery urls
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2026-01-27 09:57:30 +05:45
Saw-jan
a3f9ebdce8 test: add date-time in the request-response log
Signed-off-by: Saw-jan <saw.jan.grg3e@gmail.com>
2026-01-27 09:43:24 +05:45
opencloudeu
08a87ad1a3 [tx] updated from transifex 2026-01-27 00:12:45 +00:00
OpenCloud Devops
7f361ad244 🎉 Release 5.0.0 (#2035)
* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 4.2.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0

* 🎉 Release 5.0.0
v5.0.0
2026-01-26 16:54:04 +01:00
Viktor Scharf
207dada144 reva-bump-2.42.0 (#2215)
* reva-bump-2.42.0

* run e2e tests with slow mo 0.5sec

* update web-commit bing #1872
2026-01-26 16:34:10 +01:00
Viktor Scharf
6cefc94493 bump-web-5.0.0 (#2216) 2026-01-26 15:33:43 +01:00