André Duffeck
8908f5e8ff
Explicitly stop the watcher after reading from it
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
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
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
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
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
André Duffeck
e8d35e1280
Use the opencloud reva from now on
2025-01-21 11:16:38 +01:00
André Duffeck
8c8cdd9310
Adapt protobuf naming
2025-01-15 11:04:32 +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
Jörn Friedrich Dreyer
8e028f17e9
change module name
...
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de >
2025-01-13 09:58:18 +01:00
Roman Perekhod
ee42655581
Disable download activity
2024-10-22 20:24:35 +02:00
jkoberg
07f79e585a
fix(activitylog): Fix issues with many activities
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-10-22 11:06:01 +02:00
jkoberg
a54587e2fd
feat(activitylog): add filedownloaded activity
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-09-26 14:36:07 +02:00
Roman Perekhod
b65355c03c
Added the ShareUpdate activity in the space context.
2024-09-23 10:37:23 +02:00
Roman Perekhod
a5f6482f6f
Added the LinkUpdated activity in the space context
2024-09-18 08:00:31 +02:00
Ralf Haferkamp
ff6674f97b
Fix fallout of reva bump
...
reva tries to avoid copying proto messages now. This changed some calls
to take pointers now (mainly e.g. FormatResourceId())
2024-07-11 15:21:56 +02:00
jkoberg
17df46f925
feat(activitylog): allow sorting results
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-06-27 09:11:54 +02:00
jkoberg
13bba1d1ce
fix(activitylog): multiple minor bugfixes
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-06-25 18:53:53 +02:00
jkoberg
57a30ecd2a
feat(activitylog): add a mutex to the store
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-06-24 16:23:55 +02:00
jkoberg
2f19daa9ef
feat(activitylog): repair trash events
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-06-24 16:23:55 +02:00
jkoberg
c658c4d8fa
feat(activitylog): repair space share events
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-06-24 16:23:55 +02:00
jkoberg
ca9192cf36
feat(activitylog): allow filtering activities
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-06-24 16:23:55 +02:00
Florian Schade
949c5d0848
enhancement(activitylog): enhance activitylog graph endpoint
...
- make use of libregraph artifacts
- add a basic activity kql ast parser
2024-06-24 16:23:54 +02:00
jkoberg
5249cbc138
feat(activitylog): translations
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-06-24 16:23:54 +02:00
jkoberg
882689549f
feat(activitylog): add api
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-06-24 16:23:54 +02:00
jkoberg
e05b244f6e
feat(activitylog): finalize initial activitylog service
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-06-07 15:15:58 +02:00
jkoberg
bd7abeb9d7
feat(activitylog): add missing events
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-06-06 15:10:49 +02:00
jkoberg
d56c644529
feat(activitylog): unit test activity storing
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-06-06 12:14:20 +02:00
jkoberg
2b6e75ad7f
feat(activitylog): store activities per resource
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-06-05 16:23:00 +02:00
jkoberg
630c9efaaa
feat(activitylog): initial service
...
Signed-off-by: jkoberg <jkoberg@owncloud.com >
2024-06-05 14:31:12 +02:00