aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/CapabilitiesTest.php
Commit message (Collapse)AuthorAgeFilesLines
* chore: Add SPDX headerAndy Scherzinger2024-06-061-25/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* refactor: make share manager buildableRobin Appelman2024-03-061-2/+0
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* feat(share): save date and time for expirationBenjamin Gaussorgues2024-02-221-1/+3
| | | | | | | | Because of timezones, not saving time can lead to unexpected behaviour when sharing an item sooner than timezone offset Example: sharing a file before 9am when in UTC+9 Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* cleanup di for share permissions wrapperRobin Appelman2023-08-161-1/+3
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* fix: Remove legacy dispatcher from share managerJoas Schilling2023-07-281-2/+0
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #31194 from ↵Vincent Petry2022-04-061-0/+12
|\ | | | | | | | | nextcloud/feat/allow-to-exclude-groups-from-password-enforcement Allow to disable password policy enforcement for selected groups
| * Allow to disable password policy enforcement for selected groupsCarl Schwan2022-04-051-0/+12
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> Co-authored-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | Fix ILogger instances in application tests for core parametersCôme Chilliet2022-03-241-2/+2
|/ | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Move common logic to share managerJoas Schilling2021-11-091-1/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* load share settings from the share manager in more placesRobin Appelman2021-05-121-1/+36
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Unit tests for federated share expiration dateVincent Petry2021-04-151-0/+7
| | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Harde CapabiltiesTestRoeland Jago Douma2020-12-071-6/+6
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+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>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the shorter phpunit syntax for mocked return valuesChristoph Wurst2020-03-251-1/+1
| | | | 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>
* Mode to modern phpunitRoeland Jago Douma2019-11-271-5/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Some php-cs fixesRoeland Jago Douma2019-11-221-1/+1
| | | | | | | | | | | * 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>
* Fix typo in "incoming"Joas Schilling2018-12-051-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Update license headersMorris Jobke2017-11-061-0/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use ::class in test mocksMorris Jobke2017-10-241-1/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Some app fixes of phpstorm inspectionsRoeland Jago Douma2017-07-241-2/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* move capabilities to share by mail appBjoern Schiessle2017-04-101-3/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* update capabilitiesBjoern Schiessle2017-04-071-4/+7
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* remove 'send mail notification' option from sharing, replaced by ↵Bjoern Schiessle2016-11-021-18/+0
| | | | | | send-by-mail feature Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Add files drop capability for clientsRoeland Jago Douma2016-08-131-0/+2
|
* Fix apps/Joas Schilling2016-07-211-3/+4
|
* Move tests to PSR-4Joas Schilling2016-05-251-0/+300