Commit Graph

4419 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
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
fe750703ba groupware: removed debugging logs 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
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
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
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
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
Viktor Scharf
0c8829c15d set version placeholder (#2547) 2026-03-30 14:51:00 +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
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
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
André Duffeck
dea306247b Do not remove stopwords by default
Keeping the stop words leads to slightly bigger indexes but fixes
chopped up highlights of search results and phrase accuracy during
search.
2026-03-25 09:41:23 +01:00
dependabot[bot]
a120536e56 build(deps-dev): bump postcss-preset-env in /services/idp
Bumps [postcss-preset-env](https://github.com/csstools/postcss-plugins/tree/HEAD/plugin-packs/postcss-preset-env) from 10.1.3 to 11.2.0.
- [Changelog](https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/CHANGELOG.md)
- [Commits](https://github.com/csstools/postcss-plugins/commits/HEAD/plugin-packs/postcss-preset-env)

---
updated-dependencies:
- dependency-name: postcss-preset-env
  dependency-version: 11.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-25 09:26:44 +01:00
André Duffeck
8a83eea742 Limit the highlighter to two fragments 2026-03-25 08:41:48 +01:00
André Duffeck
4fa5198501 Improve highlight support in osu
Co-authored-by: Florian Schade <f.schade@icloud.com>
2026-03-25 08:41:48 +01:00
André Duffeck
a6dd9b9e18 Use the fast vector highlighter for highlighting search results 2026-03-25 08:41:48 +01:00
André Duffeck
9e93f29ffe Introduce opensearch index v2
The new index allows for faster highlighing uses the fvh highlighter and
searching for favorites.
2026-03-25 08:41:48 +01:00
smoothscholar
73c0804d10 feat: add openFilesInNewTab web config option 2026-03-25 01:58:50 -04:00
opencloudeu
97a6a9818c [tx] updated from transifex 2026-03-25 00:07:12 +00:00
Pascal Wengerter
a32f2c3ac7 Dedupe & update idp service JS dependencies 2026-03-23 21:00:23 +01:00
André Duffeck
7ad037d96b Add the favorite flag to REPORT results 2026-03-23 15:35:23 +01:00
André Duffeck
10bc14130e Do not send back the full content in the search response 2026-03-23 13:52:09 +01:00
opencloudeu
398cd29fe6 [tx] updated from transifex 2026-03-22 00:08:00 +00:00
opencloudeu
af535e34c2 [tx] updated from transifex 2026-03-20 00:07:21 +00:00
Pascal Wengerter
2244f867c8 feat: always enable favorites, remove FRONTEND_ENABLE_FAVORITES flag 2026-03-18 16:42:23 +01:00
opencloudeu
ea911e660a [tx] updated from transifex 2026-03-15 00:09:17 +00:00
André Duffeck
cd0831aa10 We no longer manage favorites via arbitrary metadata 2026-03-13 09:38:28 +01:00
André Duffeck
bfba4ec671 Render the followed drive item after following it according to the spec 2026-03-13 09:38:28 +01:00
André Duffeck
d214a7535c Make the search index pick up changes to favorites 2026-03-13 09:38:28 +01:00
André Duffeck
58db915775 Emit events when favorites are added/removed 2026-03-13 09:38:28 +01:00