Robin Appelman
a598de627c
chore: remove long depricated share code
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 місяці тому
Robin Appelman
96942e436b
fix: update "move into share" check to share manager
Signed-off-by: Robin Appelman <robin@icewind.nl>
4 місяці тому
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
7 місяці тому
Côme Chilliet
f5c361cf44
composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 рік тому
Carl Schwan
53169890d6
Fix psalm errors fron the end of the baseline file
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 роки тому
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 роки тому
Morris Jobke
a125d8aaa1
Reduce code complexity in Share::getItems by tracing all remaining callers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 роки тому
Christoph Wurst
cb057829f7
Update license headers for 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 роки тому
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.
This also removes and empty lines from method/function bodies at the
beginning and end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 роки тому
Christoph Wurst
2fbad1ed72
Fix (array) indent style to always use one tab
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 роки тому
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 роки тому
Roeland Jago Douma
68748d4f85
Some php-cs fixes
* Order the imports
* No leading slash on imports
* Empty line before namespace
* One line per import
* Empty after imports
* Emmpty line at bottom of file
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 роки тому
Morris Jobke
582b679ca9
Deprecate legacy share code and cleanup some unused methods
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 роки тому
Morris Jobke
ade05f40ec
Remove unused resolveReshare of old sharing code
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 роки тому
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 роки тому
Morris Jobke
a55e794bfd
Cleanup unused methods
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 роки тому
Morris Jobke
8366dfa50b
Cleanup usage of shareItem in internal code base
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 роки тому
Morris Jobke
895b9c2309
Use proper methods for registerBackend
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 роки тому
Morris Jobke
3e13e94254
Use proper methods for checkPasswordProtectedShare
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 роки тому
Morris Jobke
f640b56bfa
Cleanup unused methods
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 роки тому
Lukas Reschke
dfd8125aeb
Replace wrong PHPDocs
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 роки тому
Lukas Reschke
6920e609c0
Adjust tests and DI for Share.php
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
7 роки тому
Joas Schilling
ba87db3fcc
Fix others
8 роки тому
Lukas Reschke
aba539703c
Update license headers
8 роки тому
Roeland Jago Douma
d666725fa7
Move \OCP to PSR-4
8 роки тому
Stefan Weil
b1a856d7b7
lib: Fix typos (found by codespell)
Signed-off-by: Stefan Weil <sw@weilnetz.de>
8 роки тому
Thomas Müller
682821c71e
Happy new year!
8 роки тому
Björn Schießle
d1a090e3e2
adjust comment, this parameter was added for 9.0
8 роки тому
Bjoern Schiessle
4719305e3b
cache result from parent folders
9 роки тому
Lukas Reschke
8f09d5b67c
Update license headers
8 роки тому
Roeland Jago Douma
9071e756a1
Fix for broken ajax/share.php endpoint
Even more code mess :(
All tests pass again. But I'm really not happy with this endpoint.
8 роки тому
Thomas Müller
632e39a750
Fix PHPDoc on setPassword
9 роки тому
Morris Jobke
f63915d0c8
update license headers and authors
9 роки тому
Joas Schilling
738b78f1b0
Use \OC\HintException and translate the hint
9 роки тому
Joas Schilling
46083006e1
fix several issues with doc blocks on share.php
9 роки тому
Morris Jobke
7644950b48
Add @since tags to all methods in public namespace
* enhance the app development experience - you can look up the
method introduction right inside the code without searching
via git blame
* easier to write apps for multiple versions
9 роки тому
Roeland Jago Douma
b0aa17b13f
OCS Fixes to allow setting of password without removing additional settings
- Added setPassword to share.php
- Fixed OCS API call
- Added unit tests
9 роки тому
Jenkins for ownCloud
b585d87d9d
Update license headers
9 роки тому
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
9 роки тому
Jenkins for ownCloud
6a1a4880f0
Updating license headers
9 роки тому
Bjoern Schiessle
698ecbf308
OCS API for server-to-server sharing
9 роки тому
Joas Schilling
dfde04291e
Move share interfaces to own files so they can be autoloaded
9 роки тому
Bjoern Schiessle
a7ebfe87c9
also check for the correct owner if it was submitted
9 роки тому
Bjoern Schiessle
d5fc011c90
some small fixes
9 роки тому
Bjoern Schiessle
a6cc810349
mark exclude list as deprecated. It neither used by the files app nor by the
calendar or contacts app. It doesn't make sense to build a exclude list by the
share API, the apps knows best which are valid targets.
9 роки тому
Bjoern Schiessle
d9f35d8c15
we need the recipient as a additional parameter to know for which share the notification was send
10 роки тому
Bjoern Schiessle
41cca70a63
don't display share permission if resharing was disabled by the admin
10 роки тому
Michael Kuhn
ecdd04374a
Allow specifying the item source in unshareFromSelf().
10 роки тому
Bjoern Schiessle
ecc1f92bb6
add OCS api call to set expire date for link shares
10 роки тому
Joas Schilling
ab7ae004f7
Automatically copy the share expiration date when new shares are created
Fix #4823
10 роки тому