Commit Graph

186 Commits

Author SHA1 Message Date
Jörn Friedrich Dreyer 1a8fc4d336 Merge pull request #1416 from opencloud-eu/nats-connection-names
Nats connection names
2025-09-11 10:33:43 +02:00
opencloudeu b536eab5bf [tx] updated from transifex 2025-09-11 00:03:25 +00:00
opencloudeu aa06a372fb [tx] updated from transifex 2025-09-09 00:03:18 +00:00
Juan Pablo Villafáñez c0b4a5daa0 chore: change constant name to camelcase 2025-09-08 17:32:36 +02:00
Juan Pablo Villafáñez ca2dc823ef feat: use names for connections to the nats event bus 2025-09-08 17:32:35 +02:00
opencloudeu c1565b4d1e [tx] updated from transifex 2025-08-22 00:03:03 +00:00
opencloudeu 1228c4ed20 [tx] updated from transifex 2025-08-20 00:02:32 +00:00
opencloudeu 20adc6754b [tx] updated from transifex 2025-08-19 00:02:29 +00:00
opencloudeu b1968591b1 [tx] updated from transifex 2025-08-08 00:01:44 +00:00
opencloudeu 77ddcc2d6b [tx] updated from transifex 2025-08-02 00:01:37 +00:00
opencloudeu 6d86b35651 [tx] updated from transifex 2025-08-01 00:01:13 +00:00
opencloudeu ad9f8b3b4a [tx] updated from transifex 2025-07-30 00:01:35 +00:00
opencloudeu b8ee26892c [tx] updated from transifex 2025-07-11 12:24:03 +00:00
Ralf Haferkamp 76b16765d8 cleanup: Avoid fetching group membership when not needed
Use the new GetUserNoGroups helper to lookup users without resolving
groupmemberships where possible.

Closes: #1005
2025-06-12 09:47:53 +02:00
André Duffeck 8908f5e8ff Explicitly stop the watcher after reading from it 2025-06-05 15:24:00 +02:00
André Duffeck c9a704d446 Continue when encountering keys that aren't relevant 2025-06-05 15:24:00 +02:00
André Duffeck ac8b58233e Explicitly stop the watcher after reading from it 2025-06-05 15:24:00 +02:00
André Duffeck e9201d65a0 Fix comments 2025-06-05 15:24:00 +02:00
André Duffeck beb7920b50 Improve logging, fix typo 2025-06-05 15:20:20 +02:00
André Duffeck 02b37cc17c Migrate existing activities to the new batch format 2025-06-05 15:20:20 +02:00
André Duffeck 33b7fa79f9 Streamline config, fix tests 2025-06-05 15:20:20 +02:00
André Duffeck f9d4a038b3 Switch activitylog servie to a native nats store
Also split the list of activities in different chunks, one per buffered
write. That allows for scaling the service horizontally and also helps
reduce the load caused by the write operations.
2025-06-05 15:20:20 +02:00
Alex 51c2497e6d feat: add shareType to sharees field on activities api (#954) 2025-05-30 09:31:59 +02:00
André Duffeck c473515ec1 Do not reuse resource infos from previous iterations 2025-05-16 10:24:43 +02:00
André Duffeck daa650123c Do not retrieve resources twice 2025-05-16 10:24:43 +02:00
André Duffeck 4b5c45254e Fix invalidating the parent id cache for path based references 2025-05-16 10:24:43 +02:00
André Duffeck b9301b7ac1 Fix tests 2025-05-16 10:24:43 +02:00
André Duffeck cbac5f1555 Switch to a different msgpack lib
The current one has a problem handling time.Time{} structs
2025-05-16 10:24:43 +02:00
André Duffeck 66e79044b6 Log error when failing to unmarshal messagepack 2025-05-16 10:24:43 +02:00
André Duffeck 400fc0b4c2 Do not reset the timer when new activities are queued 2025-05-16 10:24:43 +02:00
André Duffeck c618c7436a Make the write buffer duration configurable 2025-05-16 10:24:43 +02:00
André Duffeck b3017dc774 Use the parent ID from the event if possible 2025-05-16 08:34:26 +02:00
André Duffeck e602ea40a7 Switch to msgpack lists 2025-05-16 08:34:26 +02:00
André Duffeck e826b778c7 Add a ttl cache for parent ids 2025-05-16 08:34:26 +02:00
André Duffeck 4a98077e20 Add tests for debounced activity storage 2025-05-16 08:34:26 +02:00
André Duffeck 3b6de607ff Buffer activities for writing to reduce load 2025-05-16 08:34:26 +02:00
André Duffeck 94a973f8a3 Add tracing for activitylog 2025-05-16 08:34:26 +02:00
Ralf Haferkamp 3dc9c0cb9a Switch to opencloud-eu fork of libre-graph-api-go 2025-05-15 14:11:35 +02:00
Ralf Haferkamp 95f28baa52 Use constant instead of repeating the "x-access-token" string over and over 2025-04-30 10:17:58 +02:00
Ralf Haferkamp 8e1f68f315 Reset 'introductionVersion" struct tag to 1.0.0 2025-02-24 11:40:33 +01:00
Jörn Friedrich Dreyer 0932b7dc29 add german translation
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-27 11:48:06 +01:00
Jörn Friedrich Dreyer d4c74677c2 restart at new transifex orga
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-24 16:29:35 +01:00
André Duffeck e8d35e1280 Use the opencloud reva from now on 2025-01-21 11:16:38 +01:00
Jörn Friedrich Dreyer 243ffe81c7 nats cluster name
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-16 16:14:22 +01:00
Ralf Haferkamp 213e9663a9 Rename go-micro services 2025-01-16 09:45:46 +01:00
André Duffeck 8c8cdd9310 Adapt protobuf naming 2025-01-15 11:04:32 +01:00
Jörn Friedrich Dreyer 318ca21645 metrics, log and supervisor
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-14 16:09:54 +01:00
Jörn Friedrich Dreyer 56f57149ad the OpenCloud services
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-14 12:50:23 +01:00
Jörn Friedrich Dreyer 5aa5ab843a ociscfg -> occfg
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-14 12:44:00 +01:00
Jörn Friedrich Dreyer b07b5a1149 use plain pkg module
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2025-01-13 16:42:19 +01:00