Commit Graph
24488 Commits
Author SHA1 Message Date
Florian Schade 5fe4935e7f feat(search): return photo metadata and allow ranges on numeric fields 2026-11-23 15:47:15 +01:00
Alex Ababii d43947a209 Merge pull request #3876 from maki5/feat/personal_space_permissions
feat(permissions): new permissions for personal spaces
2026-11-23 13:05:40 +01:00
opencloudeu 627c375c03 [tx] updated from transifex 2026-11-20 23:17:33 +00:00
Alex Ababii 38e836b956 fix(permissions): bump reva 2026-11-20 17:27:32 +01:00
Alex Ababii 3477784431 fix(test): upd test to reflect changes introduced by updated space admin role 2026-11-20 17:24:48 +01:00
Alex Ababii ee62e17fa3 feat(permissions): bump reva to related pr, upd acceptance tests affected by permissions change 2026-11-20 17:24:48 +01:00
Alex Ababii ddea1f00c3 feat(permissions): upd permissions description 2026-11-20 17:24:04 +01:00
Alex Ababii bd23beb0f1 feat(permissions): new permissions for personal spaces 2026-11-20 17:24:04 +01:00
Sara Ahmadi 43211c135b Merge pull request #3840 from asaah262/fix/3048-deprecate-and-remove-xattrs-metadata
fix(cli): remove obsolete xattrs metadata backend support
2026-11-20 12:18:19 +01:00
Pascal Bleser e095910a22 Merge pull request #4075 from pbleser-oc/chore/mise-go-version-from-go-mod
chore(mise): take the Go version from go.mod natively
2026-11-20 12:12:44 +01:00
Jörn Friedrich Dreyer 2dc0668893 Merge pull request #4073 from dragonchaser/backport-wp3-778
fix(graph): keep the given expiration time of public links
2026-11-20 09:30:42 +01:00
Viktor Scharf 58a7c116b6 ci: take e2e chromium from the per-browser cache (#4069)
Assisted-by: Claude Code:claude-opus-5-5
2026-11-20 07:55:44 +01:00
Pascal Bleser d662f01768 chore(mise): take the Go version from go.mod natively
Replace the .mise-go-version.sh script and the templated GO_VERSION
env variable with mise's built-in support for go.mod as an idiomatic
version file. mise uses the toolchain directive if there is one and
falls back to the go directive, like the script did.

The exec() template ran the script relative to the current directory,
which broke config parsing in mise commands that load the config from
elsewhere, such as upgrading tools.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-20 00:17:17 +01:00
Alex Ababii 839838a108 Merge pull request #3845 from maki5/fix/propfind_sharetype
Fix/propfind sharetype
2026-11-19 23:32:59 +01:00
Alex Ababii c0b845b13f fix(graph): bump libre-graph-api-go 2026-11-19 23:08:50 +01:00
Alex Ababii f05e6ce871 fix(graph): bump reva 2026-11-19 22:42:51 +01:00
Alex Ababii d9e53d8272 fix(graph): bump reva 2026-11-19 16:58:46 +01:00
Alex Ababii d5dd0959e2 fix(graph): upd reva reference 2026-11-19 16:57:24 +01:00
Alex Ababii 1bf81a7ff1 fix(graph): upd guest share type for driveitems 2026-11-19 16:57:24 +01:00
Alex Ababii b93909a5c7 fix(graph): upd driveItem details to return guest type 2026-11-19 16:57:24 +01:00
Alex Ababii b6afab09b1 fix(graph): bump reva 2026-11-19 16:57:24 +01:00
Alex Ababii 10e231e13a fix(graph): tmp handle the share type guest on drive items info 2026-11-19 16:57:24 +01:00
Jörn Friedrich Dreyer 348ba63209 Merge pull request #4070 from opencloud-eu/bump-reva-ocm-gateway-selectors
[full-ci] build: bump reva to the ocm gateway selector fix
2026-11-19 16:43:42 +01:00
Roman Perekhod 436fb35dbb Fix the expiration date response for links 2026-11-19 15:48:14 +01:00
Jörn Friedrich Dreyer 9649d259d0 build: bump reva to the ocm gateway selector fix
The received OCM storage and the ocmshares auth manager both resolved
a single gateway client at startup and kept using it. They now keep a
gateway selector and get a client per call, like the other reva
services.

related: https://github.com/opencloud-eu/reva/pull/1034

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-19 15:06:07 +01:00
Jörn Friedrich Dreyer 90e03ba234 Merge pull request #4065 from opencloud-eu/bump-reva-wp4-batch4
[full-ci] build: bump reva to the ocm share permission fixes
2026-11-19 14:41:00 +01:00
Jörn Friedrich Dreyer a34dbf89fd test(ocm): adjust the ocm scenarios to the reva fixes
A federated editor share of a folder now carries the permissions of
the Editor role, so the graph API returns a role for it instead of a
list of permission actions. Changing the role of a federated share now
notifies the remote, so the remote user can write to the file after
the sharer upgraded the share to File Editor. Accepting an expired
invitation returns the actual reason, "token not valid", instead of
always claiming the token expired.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-19 13:16:11 +01:00
Jörn Friedrich Dreyer 4f093f73f6 build: bump reva to the ocm share permission fixes
We bump reva to 0093d72f4c9d, the merge of
https://github.com/opencloud-eu/reva/pull/1035 on reva main. This
brings in the OCM unshare and permission change notifications, the ocm
core share events and the fixes to the permissions of OCM shares, on
top of the invite and provider fixes already on reva main.

It also pulls in the revision cleanup from
https://github.com/opencloud-eu/reva/pull/895. Its strategy defaults
to empty, which keeps all revisions, so nothing changes until we wire
up the option.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-19 13:16:11 +01:00
opencloudeu c97aff7230 [tx] updated from transifex 2026-11-18 23:17:11 +00:00
Pascal Bleser e6c2215bab Merge pull request #3891 from pbleser-oc/fix/3889-get-tags-sorted-limit
fix(graph): list the tags in use sorted and cut at a fixed limit
2026-11-18 19:36:03 +01:00
Jörn Friedrich Dreyer b9dc5cb609 fix(ci): let the openldap image import the test LDIF files (#4057)
The ldap-server step copied our LDIF files to a directory the bitnami
image never reads, so the image created its own default tree. Our
entrypoint override then polled until LDAP answered and imported the
files with ldapadd. That races with the image setup: it answers on a
temporary slapd that gets shut down when setup finishes. In
https://ci.opencloud.rocks/repos/3/pipeline/5531/21 10_base.ldif failed
with "Already exists" and 20_users.ldif was cut off by the slapd
shutdown, so there was no admin user and the multiTenancy server never
became ready.

We now point LDAP_CUSTOM_LDIF_DIR at the LDIF files. The image imports
them during setup, before slapd listens, and skips its default tree.
The override only creates the TLS certificate.

Assisted-by: Claude Code:claude-opus-5-5

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-18 16:48:13 +01:00
Sara Ahmadi dff314b69b fix(cli): fail on an unsupported metadata backend 2026-11-18 15:49:18 +01:00
Jörn Friedrich Dreyer c0a334f173 Merge pull request #4032 from opencloud-eu/feat/disable-new-shares
feat(sharing): allow disabling the creation of new shares
2026-11-18 13:33:38 +01:00
Sara Ahmadi f6f97c629a fix(cli): remove obsolete xattrs metadata backend support 2026-11-18 11:57:08 +01:00
Pascal Bleser 7ed534d191 fix(graph): sort the listed tags in byte order
Byte order is the order in which search engines sort keyword values,
e.g. an OpenSearch terms aggregation ordered by key. With the same
order, the search can return just the first tags of every space, and
merging those lists still gives exactly the first tags overall. A
case-insensitive order would need an aggregation on a lowercased copy
of the field, with a mapping change, a reindex and the loss of the
original casing.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-18 11:28:47 +01:00
Pascal Bleser f45248336a fix(graph): list the tags in use sorted and cut at a fixed limit
GetTags collected the tags of all search results into a tags.Tags
object, which is meant for the tags of a single resource: it stops
accepting tags at 100 and puts new tags in front. So when more than 100
distinct tags were in use, the response held an arbitrary 100 of them,
and the order changed with the order of the search results.

Collect the distinct tags, sort them case-insensitively (ties in byte
order), and cut the list at the documented constant maxListedTags (100).
An empty list is still rendered as "value": [].

Fixes #3889

Assisted-by: Claude Code:claude-opus-5-5
2026-11-18 11:01:55 +01:00
Jörn Friedrich Dreyer e38ca9600c test: align acceptance tests with the bumped reva
The reva bump pulls in three backports that change what the acceptance
tests see:

- moving now also requires the delete permission, so a sharee with the
  Uploader role gets a 403 when moving inside a share
- oc:permissions only contains NV when the user can move, so a file
  shared as File Editor now reports SW instead of SNVW
- shares listed in the share jail root report the share jail root as
  their parent id, so propfindShares.feature:149 passes now

The Uploader rows move from the "can move" outlines to the "cannot
move" outlines. This shifts one scenario in moveSpaces.feature by three
lines, the expected failures lists are updated accordingly.

related: https://github.com/opencloud-eu/reva/pull/1020
related: https://github.com/opencloud-eu/reva/pull/1023
related: https://github.com/opencloud-eu/reva/pull/1024

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-18 11:01:11 +01:00
Andre Duffeck f8a8ecf724 Merge pull request #3966 from opencloud-eu/fix/postprocessing-uploadready-without-upload
fix(postprocessing): ignore UploadReady events without an upload
2026-11-18 10:34:31 +01:00
Andre Duffeck 9200fac9b8 Merge pull request #4030 from opencloud-eu/fix/search-debouncer-double-run
fix(search): run the debounced work once when both timers fire
2026-11-18 10:28:04 +01:00
Pascal Bleser 5b9e691484 Merge pull request #4017 from pbleser-oc/feat/tag-length-validation
feat(graph): limit the length of tags
2026-11-18 09:36:52 +01:00
Andre Duffeck edacb0e01f Merge pull request #4036 from opencloud-eu/feat/graph-expose-favorites
feat(graph): expose the favorite state on drives and sharedWithMe
2026-11-18 08:45:39 +01:00
Pascal Bleser a359ef7e85 feat(graph): limit the length of tags
Tags could be of any length. Assigning tags through the graph API now
rejects the whole request with 400 if one of the tags is longer than the
maximum, listing the tags that are too long. The length is counted in
characters, after the whitespace around each tag is removed. Tags that
already exist are not affected.

The maximum is 100 characters by default, and can be changed with
OC_MAX_TAG_LENGTH, or turned off with 0. The frontend service announces
it to clients as the graph.tags.max_tag_length capability, so that they
can check tags before sending them. Both services read the same
variable, without a service-specific alias, so that the announced limit
is always the one graph enforces.

Assisted-by: Claude Code:claude-opus-5-5
2026-11-18 00:29:40 +01:00
opencloudeu f35dcd5718 [tx] updated from transifex 2026-11-17 23:17:37 +00:00
Sara Ahmadi 1668aa8b71 Merge pull request #4035 from asaah262/fix/4018-permissions-top-query-option
fix(graph): keep the permissions list query options with $top=0
2026-11-17 16:13:12 +01:00
OpenCloud Devops 8b41391362 🎉 Release 9.2.0 (#3967)
* 🎉 Release 9.1.1

* 🎉 Release 9.1.1

* 🎉 Release 9.1.1

* 🎉 Release 9.1.1

* 🎉 Release 9.1.1

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0

* 🎉 Release 9.2.0
v9.2.0
2026-11-17 15:58:52 +01:00
Sara Ahmadi 8174209bb4 Merge pull request #4038 from asaah262/feat/1041-instrument-get-permission
feat(graph): add logging and tracing to the single-permission GET endpoints
2026-11-17 15:56:39 +01:00
Jörn Friedrich Dreyer 34d5ffe173 feat(sharing): allow disabling the creation of new shares
We now have two global opt-out switches that stop users from creating
new shares while everything that already exists keeps working:

OC_DISABLE_NEW_USER_SHARES rejects new user, group and federated shares
in graph and reva. Adding members to a space is still possible: graph
skips space roots, based on the stat result, like reva does.

OC_DISABLE_NEW_PUBLIC_LINKS rejects new public links and turning an
internal link into a public link in reva.

The frontend, graph, sharing and ocm services read them. Both default
to false.

We bump reva to 37496dc6abd3, which contains
https://github.com/opencloud-eu/reva/pull/1022

Ported from `owncloud/ocis#12542`, with the flags inverted.

Assisted-by: Claude Code:claude-opus-5-5
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2026-11-17 15:36:28 +01:00
Viktor Scharf 3b43e2a425 bump opencloud version to 9.2.0 (#4033)
* bump opencloud version to 9.2.0

* docs: set removal version 9.1.1 for deprecated options (#4029)
2026-11-17 14:39:14 +01:00
Sara Ahmadi 5a818b6f41 feat(graph): add logging and tracing to the single-permission GET endpoints
Assisted-by: Claude Code:claude-opus-5-5
2026-11-17 14:02:05 +01:00
Alexander Ackermann d2b1ab3c45 feat(graph): expose the favorite state on drives and sharedWithMe
Spaces and received shares can be marked as favorites, but the graph
API did not report it, so the web app could not show them.

drive.root and the sharedWithMe driveItems now carry
@libre.graph.me.following. The space root info only holds the requested
quota metadata, so the per-user flag is also read from the favorites
list the storage driver adds to the opaque.

Fixes #2511
2026-11-17 13:36:41 +01:00