Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Spaces #4404

Open
wants to merge 172 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
172 commits
Select commit Hold shift + click to select a range
2bf2c87
removed unused config variable
gmgigi96 Oct 23, 2023
cce7bbc
removed old code of spaces
gmgigi96 Oct 24, 2023
04a4243
add boilerplate for spaces
gmgigi96 Oct 24, 2023
64602c6
add literals for space types
gmgigi96 Oct 24, 2023
adb7778
add memory driver for spaces
gmgigi96 Oct 24, 2023
f9dcee2
removed sql file
gmgigi96 Oct 24, 2023
82c6f51
add spaces loader
gmgigi96 Oct 24, 2023
0caea57
load spaces manager drivers
gmgigi96 Oct 24, 2023
3411bf0
add function to get spaces client
gmgigi96 Oct 24, 2023
1f6e508
redirect spaces request to spaces server
gmgigi96 Oct 24, 2023
025f6ab
add ocgraph service
gmgigi96 Oct 24, 2023
505c67d
add graph spec
gmgigi96 Oct 24, 2023
c451ac5
add permissions in the response
gmgigi96 Oct 24, 2023
fb5b43f
read and parse graph api filters to cs3 filters
gmgigi96 Oct 25, 2023
319b9eb
add filters when getting spaces
gmgigi96 Oct 25, 2023
8616525
temporary use my fork for go-cs3apis
gmgigi96 Oct 25, 2023
464b42a
fixes
gmgigi96 Oct 25, 2023
de140a7
load spacesregistry grpc service
gmgigi96 Oct 26, 2023
b066815
require user_space field in memory spaces driver
gmgigi96 Oct 26, 2023
b5f1788
fix urls
gmgigi96 Oct 26, 2023
bd5467e
fix permissions
gmgigi96 Oct 26, 2023
32132e4
fix role names
gmgigi96 Oct 26, 2023
fa2ee5f
fixes in permissions
gmgigi96 Oct 26, 2023
6df8b37
add missing fields
gmgigi96 Oct 27, 2023
e83bada
use path as drive alias
gmgigi96 Oct 27, 2023
014070d
add get me endpoint
gmgigi96 Oct 27, 2023
2d085e9
fix pattern
gmgigi96 Oct 27, 2023
6380bec
mock api endpoint
gmgigi96 Nov 1, 2023
7bee0a1
register ocapi svc
gmgigi96 Nov 1, 2023
ca1e813
make all api unprotected
gmgigi96 Nov 1, 2023
13ffdf2
fix home space naming
gmgigi96 Nov 1, 2023
73ab1c2
fix space discoverY
gmgigi96 Nov 7, 2023
d3f664b
handle spaces relative paths in webdav responses
gmgigi96 Nov 13, 2023
671664d
fix drive alias
gmgigi96 Nov 13, 2023
ab88cef
fix path
gmgigi96 Nov 13, 2023
2f78c61
expose shares as spaces
gmgigi96 Nov 14, 2023
3478beb
Merge branch 'upstream-master' into spaces
gmgigi96 Nov 14, 2023
d9a437f
add remote item info in the mountpoint space
gmgigi96 Nov 15, 2023
1a5af73
implemented shares in spaces
gmgigi96 Dec 1, 2023
7d97c00
encode ids with base32
gmgigi96 Dec 1, 2023
6e68d22
new item id for ocs
gmgigi96 Dec 1, 2023
b74479e
test
gmgigi96 Dec 1, 2023
4b066a7
filter out rejected shares from spaces
gmgigi96 Dec 1, 2023
6dbe2b2
stat shares concurrently
gmgigi96 Dec 1, 2023
48fc735
use base32 for encoding the space id
gmgigi96 Dec 1, 2023
9fbe2fb
fix item id on ocs
gmgigi96 Dec 4, 2023
8f79150
Merge branch 'upsmaster' into spaces
glpatcern Dec 13, 2023
bc75c67
Updated permissions for the new OC API
glpatcern Dec 15, 2023
fcd3850
Updated dependencies
glpatcern Dec 15, 2023
318f774
Changelog
glpatcern Dec 15, 2023
5589bba
Added TODO
glpatcern Dec 19, 2023
b513b0a
Fixed comparison
glpatcern Dec 19, 2023
de1ed72
fix tests
gmgigi96 Feb 1, 2024
ea6ed1b
Revert "Updated dependencies"
gmgigi96 Feb 2, 2024
f5d2837
updated dependencies and fix issue with new version of apis
gmgigi96 Feb 2, 2024
9380528
enable all shares
gmgigi96 Feb 8, 2024
9a016c0
propfind trashbin with spaces
gmgigi96 Feb 9, 2024
883641e
add utils pkg for dealing with spaces ids
gmgigi96 Feb 9, 2024
70c8dbe
refactoring
gmgigi96 Feb 12, 2024
e49ec28
configure user space for spaces registry
gmgigi96 Feb 12, 2024
5839f5d
use new space id format in ocdav
gmgigi96 Feb 12, 2024
1786a6b
add restore
gmgigi96 Feb 13, 2024
063b355
rename files
gmgigi96 Feb 13, 2024
6479ad4
add get drive by id
gmgigi96 Feb 13, 2024
c2b7d8a
filter by id
gmgigi96 Feb 13, 2024
e33ee9a
fixes in auth provider
gmgigi96 Feb 13, 2024
069a14e
fix endpoint for get drive by id
gmgigi96 Feb 13, 2024
32c4e11
rewritten mux for graph svc
gmgigi96 Feb 13, 2024
ec5211e
make shares ids uniform with latest changes
gmgigi96 Feb 14, 2024
694830d
share with spaces
gmgigi96 Feb 14, 2024
ee2fb22
fix share recipients for a resource
gmgigi96 Feb 14, 2024
0957187
list file versions
gmgigi96 Feb 14, 2024
5825a63
add sql driver for storing projects
gmgigi96 Feb 14, 2024
aa5f244
load sql driver for projects
gmgigi96 Feb 14, 2024
10b7c50
fix typo
gmgigi96 Feb 15, 2024
01b0f20
fix linter
gmgigi96 Feb 15, 2024
e712da1
removed spurious file
gmgigi96 Feb 15, 2024
2a1516d
add unit tests for sql projects driver
gmgigi96 Feb 15, 2024
b498493
use more robust proto.Equal for comparing protobuf messages
gmgigi96 Feb 15, 2024
169b0f3
go mod tidy
gmgigi96 Feb 15, 2024
46d6c5c
make app provider spaces aware
gmgigi96 Feb 15, 2024
0eb3274
Merge branch 'master-up' into spaces
gmgigi96 Feb 15, 2024
8fe97db
add missing header
gmgigi96 Feb 15, 2024
d888154
Merge branch 'master' into spaces
gmgigi96 Feb 26, 2024
0837b86
fix ocdav test
gmgigi96 Feb 26, 2024
d040877
Revert "fix ocdav test"
gmgigi96 Feb 27, 2024
4dc9bb7
fixes
gmgigi96 Feb 27, 2024
d927eba
revert fixes
gmgigi96 Mar 5, 2024
23a8608
removed not yet implements panic
gmgigi96 Mar 5, 2024
07e8f03
revert docker fil
gmgigi96 Mar 5, 2024
e8bead6
fix intergration tests
gmgigi96 Mar 6, 2024
c9298c1
fix sql lint
gmgigi96 Mar 6, 2024
6275653
Merge branch 'upmaster' into spaces
gmgigi96 Mar 6, 2024
1b1dc15
improve space detection with trashbins
gmgigi96 Mar 7, 2024
7d7b6dd
Use default spaces endpoint the gateway
gmgigi96 Mar 21, 2024
d786642
whitelist /graph/me for lw accounts
gmgigi96 Mar 22, 2024
97fe2c6
Renamed RootId
glpatcern Mar 22, 2024
519222b
fix relative path for shares
gmgigi96 Mar 22, 2024
e7c1a64
fix file info for app provider
gmgigi96 Mar 22, 2024
bfc366d
fix share with others browsing
gmgigi96 Apr 12, 2024
81e984d
fix linter
gmgigi96 Apr 12, 2024
d4820a2
Merge branch 'upmaster' into spaces
gmgigi96 Apr 12, 2024
78b59aa
fix share access from lw account
gmgigi96 Apr 17, 2024
2f5f617
fake signing-key endpoint
gmgigi96 Apr 17, 2024
62a77ad
fix archiver with spaces
gmgigi96 Apr 17, 2024
f67871d
removed unused permissions from /api endpoint
gmgigi96 Apr 24, 2024
bb743f0
Updated cs3apis
gmgigi96 Apr 24, 2024
777e4e0
quota for personal spaces
gmgigi96 Apr 24, 2024
e030efe
add quota to project space
gmgigi96 Apr 24, 2024
03e7426
add spaces.share_jail capability
gmgigi96 Apr 24, 2024
8d523d6
Updated dependencies
glpatcern Apr 3, 2024
f4fec76
Implemented ListExistingReceivedShares without caching
glpatcern Apr 3, 2024
01b3988
using forked go-cs3api
gmgigi96 Apr 25, 2024
35560a1
fix status code for ListExistingReceivedShares
gmgigi96 Apr 25, 2024
c137159
set quota for projects
gmgigi96 Apr 25, 2024
25cbf9c
expose fake quota for shares
gmgigi96 Apr 25, 2024
b1d35db
fix quota for projects
gmgigi96 Apr 25, 2024
6297252
decorate project space with last activity time
gmgigi96 Apr 25, 2024
f197f88
do not expose permissions on personal space
gmgigi96 May 28, 2024
1a30443
fix panic when getting list of personal spaces
labkode Jun 17, 2024
9fa81d6
return 200 http status code on proppatch
labkode Jun 17, 2024
af4c818
sharedWithMe boilerplate
gmgigi96 Jul 19, 2024
fb68d98
add missing fields in sharedWithMe response
gmgigi96 Jul 23, 2024
7aebeae
include file name in resource info result from eos
gmgigi96 Jul 23, 2024
24e8f9b
add roles and fix folder listing
gmgigi96 Jul 24, 2024
d4057d4
shares role mapping
gmgigi96 Jul 26, 2024
a15f8d3
rewrote router using chi lib
gmgigi96 Jul 31, 2024
1e9046e
first implementation of shareByMe endpoint
gmgigi96 Aug 1, 2024
1077617
add public links
gmgigi96 Aug 1, 2024
9310d4c
Implemented new ListExisting*Shares functions
glpatcern Aug 2, 2024
67d9bcb
Use the new APIs for sharedByMe
glpatcern Aug 2, 2024
6046f43
fix http routing for using go-chi
gmgigi96 Aug 5, 2024
671c20d
boilerplate for permissions endpoint
gmgigi96 Aug 5, 2024
6158790
get root drive permissions
gmgigi96 Aug 5, 2024
64f2ce3
get drive permissions
gmgigi96 Aug 5, 2024
2385eb9
fix permissions set
gmgigi96 Aug 13, 2024
c726deb
Fixed copy/paste typos
glpatcern Aug 14, 2024
d7bbeb2
Merge branch 'upsmaster' into spaces
glpatcern Aug 29, 2024
1880268
Merge branch 'upsmaster' into spaces
glpatcern Aug 30, 2024
c532c7e
Merge branch 'upsmaster' into spaces
glpatcern Oct 17, 2024
ee10143
Removed spurious placeholders
glpatcern Oct 17, 2024
38f7477
Merge branch 'upsmaster' into spaces
glpatcern Nov 1, 2024
e1c2e39
Move list my drives api endpoint to v1beta1
diocas Nov 19, 2024
2e13342
Add Thumbnails capability
diocas Nov 20, 2024
62ec6e9
Merge branch 'upsmaster' into spaces
glpatcern Nov 29, 2024
8b80535
Merge branch 'upsmaster' into spaces
glpatcern Jan 7, 2025
048c2f2
Re-updated go.mod
glpatcern Jan 7, 2025
b8d2883
Removed call to helper function that was meanwhile dropped
glpatcern Jan 7, 2025
1213687
Add missing WebURL and WebDavUrl from mountpoint spaces definition
diocas Jan 9, 2025
03d3621
Merge remote-tracking branch 'origin/master' into spaces
jessegeens Jan 16, 2025
7d5d622
Feature flag for spaces in extractReference
jessegeens Jan 20, 2025
36ef60a
Error handling in ListExisting(Received)Shares
jessegeens Jan 23, 2025
3477795
Fix spaces TODOs
jessegeens Jan 27, 2025
6045b4d
Incorporate cache for ListExistingShares
jessegeens Jan 27, 2025
34147b4
Return an error when EOS returns an error in List (#5044)
jessegeens Jan 17, 2025
e1b4805
Pseudo-transactionalize sharing (#5029)
jessegeens Jan 29, 2025
00c0b93
[Build-deps]: Bump google.golang.org/protobuf from 1.36.1 to 1.36.4 (…
dependabot[bot] Jan 29, 2025
15fbceb
[Build-deps]: Bump github.com/coreos/go-oidc/v3 from 3.11.0 to 3.12.0…
dependabot[bot] Jan 29, 2025
eb02b70
[Build-deps]: Bump go.step.sm/crypto from 0.55.0 to 0.57.0 (#5048)
dependabot[bot] Jan 29, 2025
a784b5e
Minor fixes
glpatcern Feb 3, 2025
e42fec0
Merge branch 'upsmaster' into spaces
glpatcern Feb 4, 2025
209ccfc
embed mocked values through separate json files
jessegeens Feb 6, 2025
91a4961
Return 400 BadRequest instead of panic in decoding spaceHref
jessegeens Feb 6, 2025
4655321
remove hardcoded placeholder signing key
jessegeens Feb 6, 2025
f99c24c
Merge remote-tracking branch 'origin/master' into spaces
jessegeens Feb 7, 2025
c758ce8
Fix possible nilpointer when stat gives an error
jessegeens Feb 12, 2025
02f339f
Remove named return values
jessegeens Feb 20, 2025
87693ac
Removed duplication of relativePathToSpaceID
jessegeens Feb 20, 2025
363220f
ORMify projects table (#5081)
jessegeens Feb 20, 2025
7ca7f21
propagate link name
jessegeens Feb 20, 2025
213ca5c
Merge branch 'master' into spaces
glpatcern Feb 20, 2025
c94721b
go mod tidy
glpatcern Feb 20, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix pattern
gmgigi96 committed Oct 27, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 2d085e959726fd4afc7fff990a8a0726c0d5d1bd
2 changes: 1 addition & 1 deletion internal/http/services/owncloud/ocgraph/ocgraph.go
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ func New(ctx context.Context, m map[string]interface{}) (global.Service, error)
func (s *svc) routerInit() error {
s.router.Route("/v1.0", func(r chi.Router) {
r.Route("/me", func(r chi.Router) {
r.Get("", s.getMe)
r.Get("/", s.getMe)
r.Get("/drives", s.listMySpaces)
})
})