1
0
mirror of https://github.com/owncloud/ocis.git synced 2026-10-23 23:29:02 +03:00
Commit Graph

280 Commits

Author SHA1 Message Date
Roman Perekhod
216f25957d feat: [OCISDEV-1563] remove the owncloudsql driver
Remove the deprecated owncloudsql driver configuration from the storage-users,
auth-basic, users, groups and sharing services and from the migrate command.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 12:20:38 +02:00
Martin
55a6faf69a docs(stable-9.0-PR13165): final removal of any docs related content (#13182)
Backport of PR #13165
2026-10-19 11:02:28 +02:00
Roman Perekhod
fe31d92664 fix: [OCISDEV-1502] The global variable OCIS_CACHE_DATABASE was replaced (#13159) 2026-10-15 11:38:44 +00:00
kobergj
76a9cb8042 docs: replace envvar introductionVersion 8.3.0 with 9.0.0 (#13106)
The next oCIS release is 9.0.0, so all envvars that were annotated with
the previously planned 8.3.0 introduction version need to be updated.

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-10-09 10:20:09 +02:00
Firas Frikha
d90dfa7085 refactor(storage-users): [OCISDEV-1382] list upload sessions through the coordinator (#13098)
* refactor(storage-users): [OCISDEV-1382] list upload sessions through the coordinator

Signed-off-by: Firas Frikha <firas.frikha@kiteworks.com>

* fix(storage-users): [OCISDEV-1382] use a safe type assertion for the driver config

Signed-off-by: Firas Frikha <firas.frikha@kiteworks.com>

---------

Signed-off-by: Firas Frikha <firas.frikha@kiteworks.com>
2026-10-09 08:58:54 +02:00
LarsJurgensen
cc8c1c883f ci: [k6-test] [OCISDEV-900] Extract upload coordinator out of decomposedfs (#12913)
* chore(OCISDEV-900): bump reva to pr7-switchover, add upload_directory and mount_id to revaconfig

* chore(OCISDEV-900): bump reva to the switchover rebased on the upload write fix

* chore(OCISDEV-900): bump reva to main with the upload coordinator switchover

---------

Co-authored-by: Firas Frikha <firas.frikha@kiteworks.com>
2026-10-07 18:28:34 +02:00
Michal Klos
83cc6fc95e fix: [OCISDEV-55] never combine wildcard CORS origin with credentials (#12983) 2026-09-24 09:42:15 +00:00
Roman Perekhod
d857d272d3 docs: [OCISDEV-1115] clarify nats store tls insecure options (#12941)
Document that the *_TLS_INSECURE options for the nats-js-kv store, cache and
service registry disable authentication of the NATS server and are for testing
only, so operators securing a multi-node deployment are not misled into
weakening the connection they just enabled TLS on.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-09-14 10:05:49 +00:00
Michal Klos
d9bae04aee feat: [OCISDEV-1115] harden nats communication (#12777)
* feat: [OCISDEV-1115] harden nats communication

* feat: bump reva for tls-enabled stores
2026-08-13 09:56:24 +00:00
Alexander Salimonov
81527e98e4 fix: pass mount id to the s3ng storage driver (#12756)
* fix: pass mount id to the s3ng storage driver

Uploads to a s3ng backed storage-users service never left the processing
state, leaving the file unreadable and unmodifiable. This affects every
client equally: WebDAV, the desktop sync client and the web UI.

Decomposedfs discards any event whose storage id does not match its
configured mount id. Only the ocis driver was ever given a mount_id, so
under s3ng the comparison ran against an empty string and every
PostprocessingFinished event was dropped.

Regression since 8.1.0, where the mount-id event filter was introduced
for vault storage.

* fix: adding mount_id in OcisNoEvents and S3NGNoEvents
2026-08-12 10:55:08 +02:00
kobergj
1d70560428 feat(storage-users): add recalculate-treesize command (#12746)
feat(storage-users): [OCISDEV-1203] add recalculate-treesize command

The treesize of a directory is maintained as a running counter that is updated
on every change, so a failed or incomplete update leaves the counter wrong and
the reported quota usage of a space drifts from the data on disk. Removing a node
without propagating the size change leaves its size counted against the quota
with no way to reclaim it.

Add a command that walks a space bottom up, recalculates the treesize of every
directory from the actual size of its children and corrects the stored values:

    ocis storage-users spaces recalculate-treesize --space-id <id>

As with the other maintenance commands --dry-run defaults to true, so the
command reports what it would change until explicitly told to write.

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-08-07 15:16:12 +02:00
kobergj
003e8cddb8 fix(storage-users): add --orphaned upload session filter (#12739)
Bump reva to pick up the fix for upload sessions whose node metadata can no
longer be read. Such sessions can never finish postprocessing, stay in
processing state indefinitely and keep consuming the quota of their space.
Cleaning them previously removed the uploaded bytes without releasing the quota.

Wire up the new Orphaned session filter so operators can list the affected
sessions and remove them with --clean:

    ocis storage-users uploads sessions --orphaned
    ocis storage-users uploads sessions --orphaned --clean

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-08-06 15:00:09 +02:00
Firas Frikha
97bd638de4 Deprecate the owncloudsql storage driver (#12486) 2026-07-01 13:57:35 +00:00
Juan Pablo Villafañez
4945eb6833 Autoprop (#12386)
* feat: metadata autopropagation

* feat: autoprop support for MFA / vault mode

* fix: replace some http clients with reva ones

* chore: required lib update

* fix: adjust unit tests and generate new mocks

* fix: apply autopropagation to all regular graph routes

* chore: updated reva dependency

* fix: return the right decorator for the thumbnails

* fix: remove autopropagation headers in the proxy
2026-06-19 10:43:41 +02:00
Martin
21128d705f fix: update docs relevant envvar placeholders for 8.1.0 (#12424) 2026-06-15 08:46:06 +02:00
Roman Perekhod
f110944ef2 fix: [OCISDEV-879] fix the config mask (#12397) 2026-06-12 10:21:59 +02:00
Matteo
2f2c3d5b3a chore(docs): document how to check vault mode in the frontend (#12379) 2026-06-05 16:15:23 +00:00
Martin
60875d57a7 docs: small improvements for the vault readme (#12333) 2026-05-20 09:41:53 +00:00
Roman Perekhod
39e3d33820 [full-ci] feat: ocisdev-533 graph (#12108)
* feat: Implemet the vault-storage

feat: Separate the storage-users and graph to handle

feat: move the space create cache

configurate the vault srorage Postprocessing

hide the assignment of the MountID to VaultStorageProviderID behind a flag to avoid the ID mismatch

configurate the proxy to create the vault home space

update the filter

Make the graph able to handle vault prefix. no extra service needed

apply the vault filter to sharedbyme and sharedwithme

added vault-storage docker

use squashed reva

fix the finishUpload event

restict webdav copy/move from the vault

feat: provide the mfa to webdav and grpc

feat: refactoring: provide the mfa to webdav and grpc

mfa collaboration

fix GetRootDriveChildren and more

fix: send the MFA header in HTTP clients from the collaboration service

provide the default storage user vault configuration

update create_home middleware

Update deployments/examples/ocis_full/vault-storage.yml

Co-authored-by: Martin <github@diemattels.at>

Update services/gateway/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

Update services/graph/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

Update services/graph/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

Update services/storage-users/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

Update services/proxy/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

Update services/storage-users/pkg/config/config.go

Co-authored-by: Martin <github@diemattels.at>

Update deployments/examples/ocis_full/vault-storage.yml

Co-authored-by: Martin <github@diemattels.at>

bump reva

deduplicate the requireMFA middeware on vault routes. fix AppendPlainToOpaque.

added the changlog and comments

* feat: add the vault mode search

* Update changelog/unreleased/enhancement-vault-storage.md

Co-authored-by: Martin <github@diemattels.at>

* update the readme. the reva vault storage provider configuration disabled by default

* feat: [OCISDEV-531] add vault capabilities to the OCS capabilities endpoint

* the port range allocated. the configuration updated.

---------

Co-authored-by: Martin <github@diemattels.at>
2026-05-15 16:53:05 +02:00
Julian Koberg
15b1c38e38 fix: adjust to comments from CR
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-03-11 08:55:54 +01:00
Julian Koberg
1d2c329e66 feat: add cli command to test the blobstore
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2026-03-10 16:40:00 +01:00
Julian Koberg
e55e125cb3 feat: docu for the delete-stale-nodes command
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-10-02 10:31:18 +02:00
Roman Perekhod
c2e75a05a2 feat: [OCISDEV-285] Add Cli to delete personal spaces (#11701)
* Add Cli to delete personal spaces

* fix EnsurePersonalSpace

* Purge disabled spaces 'personal' or 'project'

* bump reva

* update the test
2025-10-02 09:25:26 +02:00
Julian Koberg
5efa32aa6c fix: stale node command
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-10-01 16:09:34 +02:00
Julian Koberg
da61782260 fix: clean uploads command
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-09-25 16:00:43 +02:00
dependabot[bot]
861b20dc9d chore(deps): bump github.com/olekukonko/tablewriter from 0.0.5 to 1.0.9 (#11570)
* chore(deps): bump github.com/olekukonko/tablewriter from 0.0.5 to 1.0.9

Bumps [github.com/olekukonko/tablewriter](https://github.com/olekukonko/tablewriter) from 0.0.5 to 1.0.9.
- [Commits](https://github.com/olekukonko/tablewriter/compare/v0.0.5...v1.0.9)

---
updated-dependencies:
- dependency-name: github.com/olekukonko/tablewriter
  dependency-version: 1.0.9
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: adjust to tablewriter 1.0.9 (AI-powered)

Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>

* update to NewTable

* bring back a Footer

* fix the tests

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Julian Koberg <julian.koberg@kiteworks.com>
Co-authored-by: Roman Perekhod <rperekhod@owncloud.com>
2025-08-06 09:39:49 +02:00
Julian Koberg
a08919f1cf fix: logic error in storage-user docs
Signed-off-by: Julian Koberg <julian.koberg@kiteworks.com>
2025-08-01 11:25:07 +02:00
Juan Pablo Villafáñez
641fa42f8d chore: add otlp as supported tracing type
This is just for documentation purposes. There is no code change.
2025-07-14 15:29:16 +02:00
Roman Perekhod
443c8b6675 [OCISDEV-141] Fix storage-users cli 2025-06-25 23:23:39 +02:00
Michal Klos
ef0f1acef2 chore: cleanup make generate, go vet is now clean 2025-06-17 18:18:56 +02:00
Roman Perekhod
4fc4822696 collect the errors from group runner 2025-06-13 16:14:41 +02:00
Roman Perekhod
8edc05d8a9 clean up 2025-05-28 14:28:37 +02:00
Roman Perekhod
e1325ca40f to separate controll ower the http and grpc driven services 2025-05-28 12:21:50 +02:00
Roman Perekhod
26cbb5396b feat: fix the graceful shutdown using the new ocis and reva runners 2025-05-28 12:21:50 +02:00
Michal Klos
fc381e8045 feat: cli, delete stale uploads 2025-04-15 09:55:33 +02:00
Juan Pablo Villafáñez
f4644a6225 chore: change constant name to camelcase 2025-04-01 14:49:08 +02:00
Juan Pablo Villafáñez
eb900a6d0e feat: change the names of the connections to the registry 2025-04-01 14:49:07 +02:00
Juan Pablo Villafáñez
62f5228ca4 feat: use names for connections to the nats event bus 2025-04-01 14:49:07 +02:00
Julian Koberg
b979844791 feat(ocis): adjust reva imports
Signed-off-by: Julian Koberg <jkoberg@MBP-Julian-Koberg.local>
2025-03-05 11:14:44 +01:00
Martin
8e7928b66a Update services/storage-users/pkg/config/config.go
Co-authored-by: kobergj <jkoberg@owncloud.com>
2024-12-20 15:48:41 +01:00
Martin Mattel
a715f37689 add trailing dot 2024-12-19 10:03:05 +01:00
Martin Mattel
6fb9dc8b69 [docs-only] Update S3 PART_SIZE envvar description text 2024-12-19 09:56:42 +01:00
André Duffeck
e2b40a2d67 Adapt to changed signature 2024-11-19 09:06:35 +01:00
Jörn Friedrich Dreyer
1a429115c2 register services after they are ready
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-11-07 10:38:23 +01:00
Martin Mattel
3a05eb5f6b [docs-only] Adding OCIS_MAX_CONCURRENCY to storage_users service 2024-11-06 08:10:47 +01:00
Martin Mattel
bc3762bc08 [docs-only] Update service readme's 2024-11-04 16:45:11 +01:00
jkoberg
6ea3f2f782 fix(postprocessing): restart postprocessing properly
Signed-off-by: jkoberg <jkoberg@owncloud.com>
2024-11-04 10:30:41 +01:00
Roman Perekhod
f16c7dec21 Remove deprecated CLI commands 2024-10-29 09:59:19 +01:00
Jörn Friedrich Dreyer
04632ad34c make sure services have some time to deregister
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-28 14:47:11 +01:00
Jörn Friedrich Dreyer
dde999d5c2 align shutdown logging
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
2024-10-28 14:47:11 +01:00