aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge pull request #25679 from nextcloud/drop/ocp-userMorris Jobke2021-05-211-3/+3
| |\ \ | | | | | | | | Drop \OCP\User
| | * | Drop \OCP\UserChristoph Wurst2021-05-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | Inlines and remaining usages and drops the deprecated public API. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | | Rename External storages to External storageszaimen2021-05-201-1/+1
| |/ / | | | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
| * | l10n: Unify spellingValdnet2021-05-201-1/+1
| | | | | | | | | Spelling unification in Nextcloud applications.
| * | Merge pull request #26580 from castillo92/patch-2Morris Jobke2021-05-181-2/+2
| |\ \ | | |/ | |/| Fix casing of exception string
| | * Update ShareAPIController.phpcastillo922021-04-161-2/+2
| | | | | | | | | | | | | | | Change to capital letters in an abbreviation. Signed-off-by: castillo92 javiercizquierdo@gmail.com
| * | Add bruteforce protection to the shareinfo endpointRoeland Jago Douma2021-05-121-5/+11
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | l10n: Change to a capital letterValdnet2021-04-271-1/+1
| | | | | | | | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
| * | Make lookup search explicitRoeland Jago Douma2021-04-191-1/+1
| |/ | | | | | | | | | | Speedsup sharee lookup quite a bit. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Separate settings for remote share expirationVincent Petry2021-04-151-0/+7
| | | | | | | | | | | | | | Added separate settings for default and enforced expiration date for remote shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * Fix expire date capability for federated sharesVincent Petry2021-04-151-1/+4
| | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * Implement expiration date for federated sharesVincent Petry2021-04-151-0/+24
| | | | | | | | | | | | | | | | | | Add expiration date field in UI. Save expiration date when creating or updating federated share. Read expiration date from DB in federated share provider. Applies to both federated user and group shares. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * Use correct getSystemValue typeJ0WI2021-04-121-1/+1
| | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
| * Map old account scope properties to new namesVincent Petry2021-03-261-1/+1
| | | | | | | | | | | | | | | | Use new scope values in settings page. Adjust all consumers to use the new constants. Map old scope values to new ones in account property getter. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | dont return private storage interface from public mount interfaceRobin Appelman2021-03-231-5/+0
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove duplicated query for email sharesDaniel Calviño Sánchez2021-03-221-2/+1
| | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com> Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
* Add labels to mail sharesJohn Molakvoæ (skjnldsv)2021-03-221-7/+6
| | | | | | Now the email is shown on a second line if a label is set. Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #25331 from ↵Morris Jobke2021-03-181-3/+13
|\ | | | | | | | | nextcloud/fix-valid-storages-removed-when-cleaning-remote-storages Fix valid storages removed when cleaning remote storages
| * Fix valid storages removed when cleaning remote storagesDaniel Calviño Sánchez2021-01-281-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The remote URL of a share is always stored in the database with a trailing slash. However, when a cloud ID is generated trailing slashes are removed. The ID of a remote storage is generated from the cloud ID, but the "cleanup-remote-storage" command directly used the remote URL stored in the database. Due to this, even if the remote storage was valid, its ID did not match the ID of the remote share generated by the command and ended being removed. Now the command generates the ID of remote shares using the cloud ID instead, just like done by the remote storage, so there is no longer a mismatch. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Merge pull request #25136 from nextcloud/cachejail-search-filterVincent Petry2021-03-151-0/+4
|\ \ | | | | | | do cachejail search filtering in sql
| * | fix search in nested jailsRobin Appelman2021-01-261-0/+4
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Log exceptions when creating shareVincent Petry2021-03-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | Because the exceptions don't always contain a useful message for the UI, but also because in some cases we need to find out what went wrong. In some setups, a ShareNotFoundException might happen during creation when we try to re-read the just written share. Usually related to Galera Cluster where node syncing wait is not enabled. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Fix invalid check after constructing DateTimeRoeland Jago Douma2021-03-081-4/+0
| | | | | | | | | | | | | | | | | | We construct an object. Either that works on not.But the result can't be false. Found by psalm Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | catch notfound and forbidden exception in smb::getmetadataRobin Appelman2021-03-042-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #25912 from nextcloud/techdept/psalm/sharedstorage_some_typesChristoph Wurst2021-03-041-22/+23
|\ \ | | | | | | Add some typing to SharedStorage
| * | Add some typing to SharedStorageRoeland Jago Douma2021-03-041-22/+23
| | | | | | | | | | | | | | | | | | Makes psalm a bit more happy. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Add appconfig to always show the unique label of a shareeJulius Härtl2021-03-041-1/+2
|/ / | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #25892 from nextcloud/techdept/initialstate/part1Roeland Jago Douma2021-03-031-5/+5
|\ \ | | | | | | Move some settings over to the IInitialState
| * | Move some settings over to the IInitialStateRoeland Jago Douma2021-03-021-5/+5
| | | | | | | | | | | | | | | | | | The old one has been deprecated. Part one of many. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Pimp sharingcheckmiddlewareRoeland Jago Douma2021-03-021-16/+9
|/ / | | | | | | | | | | Reported by psalm Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Bump nextcloud/coding-standard from 0.3.0 to 0.5.0dependabot-preview[bot]2021-02-184-6/+6
| | | | | | | | | | | | | | | | | | | | 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>
* | Drop redundant indesRoeland Jago Douma2021-02-162-1/+55
|/ | | | | | | Those indexes are already covered by others. So those can just be used. THose extra indexes just take up space. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Migrate internal classes to the OCP db col typesChristoph Wurst2021-01-122-2/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove unneeded casts that were found by PsalmMorris Jobke2021-01-112-3/+2
| | | | | | In preparation of the update of Psalm from 4.2.1 to 4.3.1+ (see https://github.com/nextcloud/server/pull/24521) Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Bump doctrine/dbal from 2.12.0 to 3.0.0Christoph Wurst2021-01-082-82/+106
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #24829 from nextcloud/bugfix/24813/add-missing-migrationsJulius Härtl2021-01-052-0/+85
|\
| * Also add missing oc_share_external.share_type columnVincent Petry2020-12-232-0/+13
| | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * Adjust share_external tableVincent Petry2020-12-232-0/+72
| | | | | | | | | | | | | | Add column "parent" if missing. Drop column "lastscan" if exists. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Update license headersChristoph Wurst2020-12-301-0/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #22916 from J0WI/unifiy-links-to-php.netRoeland Jago Douma2020-12-221-1/+1
|\ | | | | Unify links to php.net
| * Unify links to php.netJ0WI2020-09-171-1/+1
| | | | | | | | | | | | Update all links to https://www.php.net/ Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | Update all license headers for Nextcloud 21Christoph Wurst2020-12-1619-14/+22
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | use a consistent default value for sharing.maxAutocompleteResultsArthur Schiwon2020-12-151-1/+2
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Show unique displayname context in the user share list entriesJulius Härtl2020-12-141-0/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #24605 from nextcloud/enh/share-deckRoeland Jago Douma2020-12-104-7/+105
|\ \ | | | | | | Add deck share provider support
| * | Address minor commentsJulius Härtl2020-12-092-4/+4
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | Include deck shares in sharing mountsJulius Härtl2020-12-091-0/+2
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | Introduce deck share type to ShareAPIControllerJulius Härtl2020-12-092-5/+91
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | Let sharees endpoint properly handle deck sharesJulius Härtl2020-12-091-0/+10
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Adjust defaultJulius Härtl2020-12-082-3/+45
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>