dependabot-preview[bot]
eb502c02ff
Bump nextcloud/coding-standard from 0.3.0 to 0.5.0
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard ) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/nextcloud/coding-standard/releases )
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md )
- [Commits](https://github.com/nextcloud/coding-standard/compare/v0.3.0...v0.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 3 години
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
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 4 години
Bjoern Schiessle
5d0d33a0d4
remove unused method
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
преди 6 години
Bjoern Schiessle
957b27f282
replace \OCP\Federation\Exception\ShareNotFoundException with the generic \OCP\Share\Exception\ShareNotFound exception
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
преди 6 години
Bjoern Schiessle
ed415726d3
send RESHARE_CHANGE_PERMISSION message
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
преди 6 години
Bjoern Schiessle
2bb1956c1f
implement RESHARE_UNDO notification
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
преди 6 години
Bjoern Schiessle
a176a1f318
implement unshare notification
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
преди 6 години
Bjoern Schiessle
fab4e561f4
send reshare over OCM API
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
преди 6 години
Bjoern Schiessle
41a1528888
implement decline share
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
преди 6 години
Bjoern Schiessle
8889e14c7c
implement accept share notification
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
преди 6 години
Bjoern Schiessle
bbce8c3ea1
adjust to latest api version
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
преди 6 години
Bjoern Schiessle
21e64ec7f4
implement receiving of federated shares
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
преди 6 години
Arthur Schiwon
38a90130ce
move log constants to ILogger
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
преди 6 години
Morris Jobke
093cd01ac2
Fix DI for federated file sharing controller
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
преди 6 години
Morris Jobke
dd34cb7540
Less deprecated calls to OCP\Util::writeLog
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
преди 6 години
Roeland Jago Douma
f4fd0224db
Do not use \OCP\DB anymore
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
преди 6 години
Morris Jobke
2a38605545
Properly log the full exception instead of only the message
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
преди 6 години
Morris Jobke
55532f19d9
Cleanup OC_User and OCP\User
* mainly removes deprecated methods and old static 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 години
Bjoern Schiessle
8b3dfcc429
use OCSv2 to make sure that the error also arrives at the web front-end
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
преди 7 години
Joas Schilling
33cb45d4a3
Fix owner cloud id in unshare activity
Signed-off-by: Joas Schilling <coding@schilljs.com>
преди 7 години
Joas Schilling
b69ddfba8b
Fix activity emails for accept/decline of remote shares
Signed-off-by: Joas Schilling <coding@schilljs.com>
преди 7 години
Morris Jobke
c54a59d51e
Remove unused use statements
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
преди 7 години
Roeland Jago Douma
53bca14a27
Do proper DI
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
преди 7 години
Bjoern Schiessle
449011dae7
remove discovery manager in favour of the OCSDiscoveryService
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
преди 7 години
Robin Appelman
1c59240894
Add api to change the remote of an incoming federated share
Signed-off-by: Robin Appelman <robin@icewind.nl>
преди 7 години
Robin Appelman
fa49c4a13b
Add a single public api for resolving a cloud id to a user and remote and back
Signed-off-by: Robin Appelman <robin@icewind.nl>
преди 7 години
Joas Schilling
bdaf334c53
Move file sharing activities to the new API
Signed-off-by: Joas Schilling <coding@schilljs.com>
преди 7 години
Roeland Jago Douma
2812755359
Move federated sharing routes to the federatedfilesharingapp
* Move routes to app
* Move routes over to the AppFramework
* Fix tests
There is plenty of stuff to fix properly here. But out of scope for now.
преди 7 години
Roeland Jago Douma
a1ed8207e9
HTTPHelper is deprecated
Use the IClientService instead
преди 7 години
Joas Schilling
813f0a0f40
Fix apps/
преди 8 години
Lukas Reschke
aba539703c
Update license headers
преди 8 години
Björn Schießle
06b6e2bff5
improved error messages
преди 8 години
Björn Schießle
2dc26aada7
update share permissions
преди 8 години
Björn Schießle
d23df4cba7
create re-share by owner and propagate unshare and unshare-from self request
correctly accross share owner and share initiator
преди 8 години
Björn Schießle
8f87e1104d
use query builder for getShare and add tests
преди 8 години
Björn Schießle
5a1641bed2
move request handler for federated shares to the federated sharing app
преди 8 години
Björn Schießle
e10105474f
move federated sharing settings to the federatedfilesharing app
преди 8 години
Joas Schilling
140d5f7df3
Make sure to append the web root as per doc
преди 8 години
Robin Appelman
7d42bdfde0
Specify the target user when unsharing a federated share
преди 8 години
Lukas Reschke
59028cced0
Add autodiscovery support to server-to-server sharing
Adds autodiscovery support to server-to-server sharing as specified in the specification. If no discovery data is found it is using the fallback ownCloud endpoints for legacy support.
преди 8 години
Joas Schilling
31c9e047a8
Delete the notification when the owner unshares the remote before the user did anything
преди 8 години
Joas Schilling
fa893762a2
Fix oracle by using less quotes
преди 8 години
Joas Schilling
c769f5775d
Create the actions with the correct ID
преди 8 години
Joas Schilling
cb8024ca14
Fix action paths
преди 8 години
Joas Schilling
a4a7cf40a1
Fix the notification API usage
преди 8 години
Joas Schilling
3ff88c8c84
Revert "Disable the remote sharing notifications until they work properly"
This reverts commit 6bc93c7401
.
Conflicts:
apps/files_sharing/lib/external/manager.php
преди 8 години
Thomas Müller
682821c71e
Happy new year!
преди 8 години
Lukas Reschke
8f09d5b67c
Update license headers
преди 8 години