summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib/Notifications.php
Commit message (Collapse)AuthorAgeFilesLines
* Migrate HintException to OCPGary Kim2021-06-301-3/+3
| | | | Signed-off-by: Gary Kim <gary@garykim.dev>
* Correctly check the reception of a remote feedbackLouis Chemineau2021-06-091-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #25498 from Worteks/feat-federatedfilesharing-loggingMorris Jobke2021-03-221-0/+31
|\ | | | | feat(federatedfilesharing): log errors, as suggested by @maxbes
| * fix(no_unused_imports)Samuel2021-02-091-1/+0
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
| * fix(php-cs)Samuel2021-02-091-17/+0
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
| * fix(misc)Samuel2021-02-091-5/+7
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
| * fix(php-cs)Samuel2021-02-091-4/+7
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
| * fix(logger): use logger from constructor argumentsSamuel2021-02-091-1/+14
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
| * fix(pebkac): missing `use OC`Samuel2021-02-081-0/+1
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
| * fix(logger): set logger in constructorSamuel2021-02-081-5/+10
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
| * fix(php-cs): indentation / elseif, maybe braces?Samuel2021-02-051-13/+18
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
| * feat(federatedfilesharing): log errors, as suggested by @maxbesSamuel2021-02-051-0/+20
| | | | | | | | Signed-off-by: Samuel <faust64@gmail.com>
* | Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-181-1/+1
|/ | | | | | | | | | 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>
* Update all license headers for Nextcloud 21Christoph Wurst2020-12-161-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Adjust defaultJulius Härtl2020-12-081-4/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move remoteId of remote reshares to stringJulius Härtl2020-12-081-11/+11
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Format code to a single space around binary operatorsChristoph Wurst2020-10-051-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 20Christoph Wurst2020-08-241-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Move federated_share_added into a typed eventMorris Jobke2020-07-231-10/+10
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add visibility to all constantsChristoph Wurst2020-04-101-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-8/+0
| | | | | | | | | | | | | | | 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>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-4/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+0
| | | | | | | | | | | * 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>
* implement federated group sharesBjoern Schiessle2018-07-111-2/+5
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* remove unused codeBjoern Schiessle2018-07-021-24/+0
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* implement RESHARE_UNDO notificationBjoern Schiessle2018-07-021-2/+16
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* implement unshare notificationBjoern Schiessle2018-07-021-3/+19
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* send reshare over OCM APIBjoern Schiessle2018-07-021-3/+49
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* adjust to latest api versionBjoern Schiessle2018-07-021-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* use new API to send a federated share if possibleBjoern Schiessle2018-07-021-4/+84
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Update license headersMorris Jobke2017-11-061-2/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* remove discovery manager in favour of the OCSDiscoveryServiceBjoern Schiessle2017-04-111-6/+8
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* use https by default if no protocol is given. Only use unsecure connection ↵Bjoern Schiessle2016-11-021-32/+27
| | | | | | if it is explicitely given Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Fix apps/Joas Schilling2016-07-211-1/+5
|
* Merge remote-tracking branch 'upstream/master' into master-upstream-syncLukas Reschke2016-06-261-1/+3
|\
| * Increase fed share timeout from 3 to 10 + unit testsVincent Petry2016-06-221-2/+2
| |
| * Add timeouts to make the UI usable again when a remote share is unreachableJoas Schilling2016-06-221-1/+3
| |
* | s/ownCloud/NextcloudBjoern Schiessle2016-06-201-1/+1
|/
* Update license headersLukas Reschke2016-05-261-2/+2
|
* improved error messagesBjörn Schießle2016-05-201-0/+1
|
* fall back to old re-sharing behaviour in case the remote server doesn't ↵Björn Schießle2016-05-201-0/+7
| | | | support flat-reshares
* update share permissionsBjörn Schießle2016-05-201-1/+5
|
* create re-share by owner and propagate unshare and unshare-from self requestBjörn Schießle2016-05-201-11/+124
| | | | correctly accross share owner and share initiator
* Move FederatedFileSharing to PSR-4Joas Schilling2016-05-181-0/+184