Commit Graph

23434 Commits

Author SHA1 Message Date
oauth
35c3ea3607 🎉 Release 7.4.0 2026-07-31 14:42:03 +00:00
oauth
a49280d35f Merge branch 'origin/main' into 'next-release/main' 2026-07-31 14:42:02 +00:00
Andre Duffeck
942cca8eef Merge pull request #3191 from pbleser-oc/feat/#3182-posixfs-scan-subtree
feat(posixfs): #3182 add basepath option in the "posixfs scan" command
2026-07-31 16:39:48 +02:00
oauth
28fa344e84 🎉 Release 7.4.0 2026-07-31 14:39:32 +00:00
oauth
cb9ef99307 Merge branch 'origin/main' into 'next-release/main' 2026-07-31 14:39:31 +00:00
Dominik Schmidt
a9f39b85d5 Merge pull request #3140 from opencloud-eu/fix/service-startup-logging
fix(runtime): log service startup errors instead of printing them beside the log
2026-07-31 16:37:19 +02:00
oauth
e3f3558d39 🎉 Release 7.4.0 2026-07-31 14:37:03 +00:00
oauth
5738573fcb Merge branch 'origin/main' into 'next-release/main' 2026-07-31 14:37:03 +00:00
Andre Duffeck
15fc44be94 Merge pull request #3213 from aduffeck/improve-reindex-command
Improve reindex command
2026-07-31 16:34:54 +02:00
André Duffeck
2eb1fe069c Add a --concurrency flag to the index command
It controls the number of spaces that are indexed in parallel. The max
concurrency configured in the server is still considered.
2026-07-31 16:07:18 +02:00
André Duffeck
a82b6223aa Remove the SilenceUsage flag again
It will be obsolete once #3140 has been merged
2026-07-31 15:55:36 +02:00
Pascal Bleser
433dea41e8 feat(posixfs): #3182 add basepath option in the "posixfs scan" command
* add support for specifying a basepath using -p when running the
   posixfs scan command, to indicate a directory under which to start
   scanning, or a singular file to scan, as opposed to scanning from the
   storage root directory as is the default behaviour

 * implements https://github.com/opencloud-eu/opencloud/issues/3182
2026-07-31 15:06:50 +02:00
oauth
478b7a55fd 🎉 Release 7.4.0 2026-07-31 12:52:04 +00:00
oauth
00117561d6 Merge branch 'origin/main' into 'next-release/main' 2026-07-31 12:52:04 +00:00
André Duffeck
e26a009fc1 Improve "opencloud search index" command
The command no longer times out after 10 minutes when the processing
hasn't been finished yet. Instead it shows progress and logs successful
and failed spaces. The process can also be aborted using ctrl+c.

Example output:

```
$ bin/opencloud search index --all-spaces --insecure --force-rescan
[1/602] indexed space a9033d65-6c13-4556-b923-f321ab33a9ca$eb6a8a0e-2e62-4b40-bce9-360063236676!eb6a8a0e-2e62-4b40-bce9-360063236676 in 5.501190908s
[2/602] indexed space a9033d65-6c13-4556-b923-f321ab33a9ca$34b7c565-da3b-4f53-8559-825e87db4011!34b7c565-da3b-4f53-8559-825e87db4011 in 5.935075697s
[3/602] indexed space a9033d65-6c13-4556-b923-f321ab33a9ca$e08c6026-24f6-4a9e-a805-ed335b34b8da!e08c6026-24f6-4a9e-a805-ed335b34b8da in 6.016350958s
^Caborted, indexing has been stopped
```

Fixes #2592
2026-07-31 14:50:09 +02:00
André Duffeck
49a81c9c1f Cleanup .bingo 2026-07-31 14:50:09 +02:00
Andre Duffeck
7e8179a704 Merge pull request #3207 from aduffeck/concurrent-reindex
Reindex spaces concurrently
2026-07-31 14:49:58 +02:00
André Duffeck
d50d8d8900 Rename max concurrency option 2026-07-31 12:04:44 +02:00
André Duffeck
243514ec17 Do not abort reindexing all spaces if one of the spaces fails 2026-07-30 15:34:57 +02:00
André Duffeck
be75d8fe95 Reindex spaces concurrently
This speeds up reindexing all spaces which happend sequentially space
after space until now. The level of concurrency can be configured using
the SEARCH_REINDEX_CONCURRENCY env var (3 by default).
2026-07-30 15:25:13 +02:00
oauth
a16b0e632c 🎉 Release 7.4.0 2026-07-30 08:46:25 +00:00
oauth
035cef19b5 Merge branch 'origin/main' into 'next-release/main' 2026-07-30 08:46:25 +00:00
Dominik Schmidt
bb8cefa33b Merge pull request #3189 from opencloud-eu/feat/announcement-banner
feat: add announcement banner
2026-07-30 10:44:17 +02:00
oauth
24a0224cff 🎉 Release 7.4.0 2026-07-30 04:07:02 +00:00
oauth
3de825d6e1 Merge branch 'origin/main' into 'next-release/main' 2026-07-30 04:07:01 +00:00
Viktor Scharf
0a44bbae9e api-test: mark group last-manager removal scenario as flaky (#3194) 2026-07-30 09:50:05 +05:45
opencloudeu
fb387a16b6 [tx] updated from transifex 2026-07-29 23:16:50 +00:00
oauth
d7be641a7e 🎉 Release 7.4.0 2026-07-29 12:31:16 +00:00
oauth
4d9e4a64ea Merge branch 'origin/main' into 'next-release/main' 2026-07-29 12:31:15 +00:00
Ralf Haferkamp
e358cb6e6e fix(posixfs scan): Setup logger for scan command
Setup a logger for the FS. The nats kv clients for the caches need one
to be able to log NAT connection issues.

Fixes: #3184
2026-07-29 14:29:19 +02:00
Dominik Schmidt
341ebdf6cc refactor: mark the announcement config as output-only (yaml:"-")
The announcement is runtime-managed and injected into config.json; it is not a
static yaml config option. Exclude it from yaml (yaml:"-") so it is not
presented as a configurable knob, keeping the json tag only for the config.json
output.
2026-07-29 12:03:57 +02:00
Dominik Schmidt
6d2d6c38ec fix: fail fast when the announcement store is unreachable
Replace reva's cache.NewNatsKeyValue (which retries with backoff and can hang
the web service startup) with a direct nats.Connect + jetstream setup like the
graph service, so an unreachable or misconfigured store surfaces as a clear
startup error instead of a hang.
2026-07-29 11:53:58 +02:00
Dominik Schmidt
d27b7ef40a refactor: drop static config for the announcement, runtime store only
A statically configured announcement is not supported: it cannot be removed via
the runtime API and disappears from the running session once the admin settings
load (they read the store, not config.json). Make the store the single source
of truth, config.json always reflects it and a statically configured
options.announcement is ignored.
2026-07-29 11:52:09 +02:00
Dominik Schmidt
27bdda265f refactor: back the announcement store with plain NATS JetStream
Replace the go-micro store with a NATS JetStream key-value bucket, created via
reva's cache.NewNatsKeyValue, so the web service no longer depends on go-micro
stores. The store methods now take a context, threaded through the config.json
render path and the management handlers. Tests use a mockery mock of
jetstream.KeyValue.
2026-07-29 10:22:43 +02:00
Dominik Schmidt
7d59a83c18 feat: log announcement handler errors with the request id
Add a logger to the announcement service and log server-side errors before
returning a 5xx, tagged with the request id so they correlate with the
request log line from the logging middleware.
2026-07-29 10:08:47 +02:00
Dominik Schmidt
9d472290f2 fix: return 413 when the announcement body exceeds the size cap
Distinguish the http.MaxBytesReader limit from a malformed body: an
oversized payload now returns 413 Request Entity Too Large instead of a
generic 400.
2026-07-29 08:46:46 +02:00
Dominik Schmidt
e29d961be3 refactor: rename Announcement.Write to Announcement.ReadWrite
The permission gates reading the full announcement state (including
disabled ones) as well as writing it, so name it ReadWrite to match the
other management permissions (Accounts.ReadWrite, Settings.ReadWrite, ...)
and use the READWRITE operation.
2026-07-29 08:40:29 +02:00
Dominik Schmidt
809d32c4d8 fix: keep a static announcement as fallback when the store is empty
Make the store authoritative only once it manages an announcement: an
enabled record is exposed, a disabled record clears any static config, and
an empty store falls back to a statically configured
web.config.options.announcement. This matches the review request and stops
a static announcement from being silently dropped.
2026-07-29 08:29:58 +02:00
Dominik Schmidt
046f46ce8d fix: make the runtime store authoritative for the announcement
Always reflect the stored announcement in config.json: expose it while live
and clear it otherwise. A disabled announcement now clears the config output
instead of falling back to a statically configured one, which removes the
precedence ambiguity raised in review.
2026-07-29 08:18:56 +02:00
Dominik Schmidt
51dd107767 feat: add announcement banner 2026-07-29 00:39:59 +02:00
oauth
4a7c0b1e3f 🎉 Release 7.4.0 2026-07-28 11:46:34 +00:00
oauth
699d17ee41 Merge branch 'origin/main' into 'next-release/main' 2026-07-28 11:46:33 +00:00
Viktor Scharf
d9e406ca99 rerun flaky tests (#3183) 2026-07-28 13:44:28 +02:00
oauth
5a7959bd91 🎉 Release 7.4.0 2026-07-28 11:21:22 +00:00
oauth
8f29956573 Merge branch 'origin/main' into 'next-release/main' 2026-07-28 11:21:22 +00:00
Viktor Scharf
a2bdbc8b56 api-test: fix removeAccessToDrive.feature:145 (#3179)
* api-test: fix removeAccessToDrive.feature:145

* fix after review
2026-07-28 13:19:26 +02:00
oauth
3b3f6b92a2 🎉 Release 7.4.0 2026-07-28 07:31:42 +00:00
oauth
89f022d260 Merge branch 'origin/main' into 'next-release/main' 2026-07-28 07:31:41 +00:00
Viktor Scharf
743899055a delete qa report (#3178) 2026-07-28 09:29:44 +02:00
opencloudeu
f6ffd125c9 [tx] updated from transifex 2026-07-27 23:16:42 +00:00