Commit Graph
1118 Commits
Author SHA1 Message Date
Dominik Schmidt 8e508e56c2 refactor: name the settings that extend a default list additional_*
They are merged onto the built-in defaults, the way the proxy's additional_policies and OC_ADD_RUN_SERVICES are, so the name says it: env variable, yaml key and field all carry the prefix. The two that take key:value entries are named in the plural like the other map-shaped settings in this repo, and the README says which of the three takes bare mime types.
2026-10-23 10:18:30 +02:00
Dominik Schmidt f7e8817433 refactor(webdav,graph,frontend): put the thumbnail settings in a thumbnails block
Every service that configures thumbnails now carries one thumbnails section whose keys are named like the setting itself, so webdav's thumbnails.max_input_image_file_size and the thumbnails service's thumbnail.max_input_image_file_size read the same, and a key's path matches its env name. Env names are unchanged.
2026-10-21 13:11:40 +02:00
Dominik Schmidt 16aadb4988 Merge remote-tracking branch 'origin/main' into imagor
# Conflicts:
#	tests/acceptance/expected-failures-decomposed-storage.md
#	tests/acceptance/expected-failures-posix-storage.md
2026-10-20 20:12:56 +02:00
Dominik Schmidt c490926ce3 refactor: name the thumbnail config fields like their yaml keys
Internal only: the fields in webdav, graph and frontend now read Thumbnails like the keys and the variables they carry. The generator keeps its released thumbnail block, field and key alike.
2026-10-20 18:40:39 +02:00
Dominik Schmidt a5dd8143a5 refactor: name the thumbnail yaml keys like their variables
The keys are new in this PR, nothing has them set: a yaml file configures webdav's thumbnail settings under the webdav section, so the key now reads like the variable without its service prefix.
2026-10-20 18:37:44 +02:00
Dominik Schmidt c6ac8748d8 refactor: name the thumbnail settings after the service, THUMBNAILS
The service is thumbnails and its released variables say so; the new ones said THUMBNAIL. None of them has shipped yet, so they are renamed rather than aliased. The input file size gains the shared OC_THUMBNAILS_ name, because webdav and the generator have to agree on it.
2026-10-20 18:08:34 +02:00
Alexander Ackermann 79a4499ca8 refactor: read the default quota only from OC_SPACES_DEFAULT_QUOTA and deprecate GRAPH_SPACES_DEFAULT_QUOTA 2026-10-19 16:13:42 +02:00
Alexander Ackermann 6adeacf8ce feat: expose the default project space quota in the capabilities 2026-10-19 16:13:42 +02:00
Dominik Schmidt 32f4ee02e8 feat(webdav): let a deployment add the types a preview is made of
webdav, graph and ocdav read the same list, so a configured type is
announced and attempted by all three. A type the generator cannot answer
is refused at startup, and ocdav takes the types from its own
configuration instead of importing an OpenCloud package, which the
vendored reva carries until opencloud-eu/reva#885 lands.
2026-10-19 14:57:35 +02:00
Jörn Friedrich Dreyer 203708474e refactor(thumbnails): remove the pull-based pipeline
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-10-19 14:57:35 +02:00
micbar 3662a94ca7 fix: nats checks were missing the configured auth 2026-10-14 17:45:44 +02:00
opencloudeu 9ceb2b025f [tx] updated from transifex 2026-10-11 23:16:58 +00:00
opencloudeu fda9651a55 [tx] updated from transifex 2026-10-09 11:20:49 +00:00
opencloudeu 26d638f464 [tx] updated from transifex 2026-10-08 23:16:51 +00:00
Florian Schade 371e84ba68 Merge pull request #3658 from opencloud-eu/cli-additions
feat: add more cli options to unified roles
2026-10-08 12:44:38 +02:00
André Duffeck 08edebc66c Use the stored guest id when returning an invite permission
The share provider now stores the guest's mail address in its canonical
form, so build the returned identity from the created share instead of
the request.
2026-10-07 12:45:13 +02:00
Alex Ababii a1a8221f68 feat(guestauth): global flag to disable the guest links feature 2026-10-06 08:08:26 +02:00
Viktor Scharf af425afb3b [full-ci] chore: bump reva to 2.51.0 (#3657)
* chore: bump reva to 2.51.0

* replaceversion placeholder
2026-10-05 17:08:52 +02:00
micbar 112b2264c0 feat: add more cli options to unified roles 2026-10-05 15:33:04 +02:00
Michael Barzandv.scharf b955c7c4f0 feat: add new editor roles (#3637)
* feat: add new editor roles

* add tests for additional roles

* fix: disable new roles in config

* adjust tests

* fix listGrantsShareRole test

---------

Co-authored-by: v.scharf <v.scharf@opencloud.eu>
2026-10-05 14:07:30 +02:00
Andre Duffeck cf1737babe Merge pull request #3493 from opencloud-eu/cleanup-split-changes
align the handler verifier, update docs
2026-09-25 14:27:03 +02:00
Pascal Bleser d768a9b0f9 feat(proxy): add the service to the proxy metrics
Improve the metrics for the proxy service.

 * extend the instrumenter middleware to add a label with the name of
   the service the request is being dispatched to

 * add a native Prometheus histogram that tracks the durations and also
   includes a label for the name of the service the request is being
   dispatched to, as well as a 'result' label ('success',
   'client-error', 'server-error') based on the HTTP status code of the
   response

 * add per-service gauge functions to count the number of in-flight
   requests

 * add a counter for routing failures, for when an inbound request
   cannot be mapped to a route

 * extend the route.RoutingInfo struct with a service attribute, and a
   Service() getter

 * remove the 'routing_failure_count' metric, as it is redundant
2026-09-18 09:52:33 +02:00
Alex Ababii e0bfca4a38 fix(graph): upd helper 2026-09-17 16:29:27 +02:00
Alex Ababii 1a06cf7bdf fix(graph): upd invite for guest links 2026-09-17 16:29:27 +02:00
Alex Ababii ee47a015f0 upd graph api drive recipient validation 2026-09-17 16:29:27 +02:00
Alex Ababii 588c61cdb1 bumped libre graph api version, using recipient email check instead of recipient type in invite creation 2026-09-17 16:29:27 +02:00
Alex Ababii f28bc9dbc0 chore(graph): add config knob to disable/enable guest invites 2026-09-17 16:29:27 +02:00
Ralf Haferkamp f0416d9ff8 chore(graph): use existing constants for user type 2026-09-17 16:29:27 +02:00
André Duffeck 0bf63ac6fd feat(graph): Add support creating guest(mail) permissions 2026-09-17 16:29:27 +02:00
Pascal Wengerter 002a2e43fb chore: regenerate mockery outputs 2026-09-16 14:57:41 +02:00
Pascal Bleser 9f6ea88db5 chore(graph): use chi HTTP response wrapper instead of a homegrown one
* in the graph service's metrics, we use a homegrown response writer
   struct implementation to capture the status of the next handler's
   response: instead, use chi's implementation which is more
   sophisticated and battle tested
2026-09-16 13:57:42 +02:00
Alex Ababii b6072317c9 fix tests 2026-09-16 11:08:59 +02:00
Alex Ababii 9267286f49 upd reponse status for patchMe method on not allowed changes 2026-09-16 11:08:59 +02:00
Alex Ababii 2866cc7ee4 fix PatchMe method to prevent password change 2026-09-16 11:08:59 +02:00
Viktor Scharf bf56a57f90 [full-ci] chore: bump web to v8.0.0. set introduction version v.8.0.0 (#3528)
* [full-ci] chore: bump web to v8.0.0

* Update Apache Tika image version to 4.1.0-SNAPSHOT
2026-09-15 10:06:52 +02:00
Jörn Friedrich Dreyer 1bafa4bd18 align the handler verifier, update docs
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-09-08 17:11:55 +02:00
zerox80 9797ee903f fix(config): correct pending version annotations
Use the supported %%NEXT%% marker for seven graph and policies settings so the environment annotation check passes.
2026-09-08 14:40:40 +02:00
opencloudeu c2a34e8c45 [tx] updated from transifex 2026-09-07 23:17:03 +00:00
Dominik Schmidt 6231a870d5 feat(graph): expand thumbnails on driveItems
$expand=thumbnails was only honored by sharedByMe and sharedWithMe. The
driveItem stat, the children listing and the root children listing now
honor it as well, so a client that lists a folder learns which items have
a preview instead of guessing from the mime type.

The thumbnails are set from the resource info the listing already has, so
a later preview check that needs more than the mime type has a single
place to sit. The two share listings carry driveItems only, they keep
matching on the mime type but share the url building.
2026-09-06 23:51:35 +02:00
Dominik Schmidt bafbc88a40 graph: expose lockInfo on driveItems 2026-09-03 17:52:13 +02:00
Dominik Schmidt aa968ec898 graph: expose @libre.graph.shareTypes on driveItems 2026-09-03 16:59:29 +02:00
Dominik Schmidt 61037cc22f Merge pull request #3202 from opencloud-eu/feat/search-live-photo-facet
feat(search): live photo facet
2026-09-03 11:42:28 +02:00
Jörn Friedrich Dreyer 993265b64e Merge pull request #3445 from opencloud-eu/feat/graph-expand-children
feat: support $expand=children on the driveItem endpoint
2026-09-03 09:35:05 +02:00
Dominik Schmidt 81b0df1ad4 feat(search): live photo facet 2026-09-03 03:34:33 +02:00
Dominik Schmidt a2050d1fb9 feat(search): index and expose the motion photo facet 2026-09-03 00:31:40 +02:00
Dominik Schmidt 0750884597 perf: check the resource type before parsing the query 2026-09-01 20:04:22 +02:00
Dominik Schmidt aff81159a5 chore: drop the listDriveItemChildren comment 2026-09-01 20:01:54 +02:00
Dominik Schmidt 701d6fea17 chore: trim comments 2026-09-01 20:01:06 +02:00
Dominik Schmidt 74dd57d500 refactor: let formatDriveItems return values so children needs no copy 2026-09-01 19:59:51 +02:00
Dominik Schmidt b95e341f9c feat: support $expand=children on the driveItem endpoint 2026-09-01 19:55:14 +02:00