Skip to content

Commit

Permalink
Cs3 share manager (#2626)
Browse files Browse the repository at this point in the history
* Add support for the userid claim

* Add initial of the (still incomplete) cs3 share manager

* Add support for getting shares by key

* Cleanup, increase test coverage

* Implement listing received shares

* Implement GetReceivedShare, DRY up code

* Refactor

* Implement UpdateShare and UpdateReceivedShare

* Fix accepting/declining received shares

* Adapt to changed reva code

* Finish UpdateReceivedShare

* Return the proper error

* Add changelog

* Make hound happy (woof woof)

* Fix error type checking

* Use existing helper function for getting the current timestamp

* Return proper errors when deleting fails

* Still delete the share from the index when the share couldn't be found

* Incorporate review suggestions

* Make sure to initialize the manager atomically

* Spare some error checks

* Make use of `shareFilename` everywhere
  • Loading branch information
aduffeck authored Mar 15, 2022
1 parent 6a598b8 commit 43f3c7e
Show file tree
Hide file tree
Showing 18 changed files with 1,396 additions and 29 deletions.
6 changes: 6 additions & 0 deletions changelog/unreleased/cs3-share-manager.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Enhancement: add new share manager

We added a new share manager which uses the new metadata storage backend for
persisting the share information.

https://github.com/cs3org/reva/pull/2626

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 43f3c7e

Please sign in to comment.