-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Share API 2 #3969
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
Closed
Share API 2 #3969
Changes from 1 commit
Commits
Show all changes
67 commits
Select commit
Hold shift + click to select a range
f318ea4
Initial commit of Share API changes
43db159
More crazy rewriting
64534df
Merge branch 'master' into share
ede16a4
Merge branch 'master' into share
76af3ad
Another snapshot of the share changes
cfd4aa4
Merge branch 'master' into share
11f81b9
Add check for valid permissions and expiration time for update
5cbf16f
Correct Alessandro's name in the header
6c03722
Return instead of break 2
b747f40
Fix database xml
2863824
Fix database tests
28713c6
Change delete query to try to work with other databases
b7bcf3f
Rename classes to avoid confusion
e376ec0
Rename files from last commit
a92b78a
Emit hooks in share backend in scope \OC\Share
c8c30fb
Add UserWatcher for listening to user delete hook
b7a5651
Rename test variable for consistency
718aa51
Merge branch 'master' into share
ddcdfd9
Make ShareManager extend ForwardingEmitter
b999037
Add tests for emitting hooks in ShareBackend and fix when update emit…
24b253d
Fix case in class name
9967b7b
Add getShareById method to ShareManager
c835212
Update docs to show that arrays are arrays of Share objects
ea04c3d
Modify ShareBackend tests to facilitate reuse
65ac5b7
Make some of the exceptions more verbose
9e089f4
Remove searchForPotentialShareWiths from ShareManager and ShareBacken…
0763b70
Merge branch 'master' into share
f922c66
Fix searchForPotentialShareWiths for user sharetype
5b346ca
Use group manager class in user share type
9402d9b
Use group manager class in group share type
a9d5f3f
Add shareOwner parameter to searchForPotentialShareWiths method to en…
f30775b
Fix UserWatcher for share backend without user share type
ffb17f0
Add display name properties and toAPI method to Share object
5d38ccf
Set display names for Share objects in share types
0bb874f
Add docs to UserWatcher
375ccbf
Fix doc in Share test
28bf7ac
Fix docs for ShareBackend
55f444b
Fix docs for ShareManager
f06ac6d
Add ItemTargetMachine class and use it in the share types
856b152
Fix docs in IShareType
13a0fde
Add GroupWatcher
3427159
Fix clear query for other database backends
1bc7f40
Merge branch 'master' into share
d40b055
Use actual getters and setters for Share object
f8df649
Fix link tests
a4eb979
Add getItemTypePlural method to ShareBackend for the RESTful API
7fdce9b
Add Share type to parameter for areValidPermissions in ShareBackend
fda99c4
Use getShareBackends method rather than the field in ShareManager
aa3c1a0
Change CollectionShareBackend into an interface
b9ad9ba
Change searchForChildren to searchForParentCollections in ICollection…
cd1f4bf
Don't pass table name to insertid for Oracle
7f4fbc5
Add addType method to Share from App Framework
10c641c
Move temp TokenMachine class outside because the autoloader is having…
a3aace4
Fix AdvancedShareFactory namespace in share types
c6be03f
Unset isShareWithUser filter in common share type
69310fc
Merge branch 'master' into share
1020cec
Check if method exists for fromParams and fromRow constructors in Share
b8c2a74
Add updater for old shares
5a09cf2
Merge branch 'master' into share
ff2bcec
Emit old sharing hooks
bd26e0a
Perform update only once
1321158
Smarter share updater to handle reshares
40da889
Be more careful with variables in getHookArray
bd1399f
Fix searchForParents
9562357
Remove unused variable
018a64b
Always use search method through Group Manager, fixes #4201
c1829d2
Merge branch 'master' into share
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Correct Alessandro's name in the header
- Loading branch information
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,7 +3,7 @@ | |
| /** | ||
| * ownCloud - News | ||
| * | ||
| * @author Alessandro Copyright | ||
| * @author Alessandro Cosentino | ||
| * @author Bernhard Posselt | ||
| * @author Michael Gapczynski | ||
| * @copyright 2012 Alessandro Cosentino [email protected] | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
News ??? 😉