aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Make psalm happyRoeland Jago Douma2021-03-221-2/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Also limit to user group in case enumeration is enabled for groups and ↵Joas Schilling2021-03-221-1/+20
| | | | | | phonenumbers Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix parameter types in docsJoas Schilling2021-03-222-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Improve search results when only phonebook-matches can we autocompletedJoas Schilling2021-03-223-2/+84
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #26211 from nextcloud/backport/23718/stable21Morris Jobke2021-03-191-3/+5
|\ | | | | [stable21] expand 'path is already shared' error message
| * expand 'path is already shared' error messageRobin Appelman2021-03-191-3/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #26204 from nextcloud/backport/26200/stable21Morris Jobke2021-03-191-5/+5
|\ \ | | | | | | [stable21] Update user share must use correct expiration validation
| * | Update user share must use correct expiration validationVincent Petry2021-03-191-5/+5
| |/ | | | | | | | | | | | | | | | | | | | | Updating a user or group share now uses the correct method for the validation of the expiration date. Instead of using the one from links it uses the one for internal shares. To avoid future confusion, the method "validateExpirationDate" has been renamed to "validateExpirationDateLink". Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Merge pull request #26119 from nextcloud/backport/26003/stable21Vincent Petry2021-03-191-0/+4
|\ \ | |/ |/| [stable21] Add getID function to the simplefile implementation
| * Add getID function to the simplefile implementationRoeland Jago Douma2021-03-151-0/+4
| | | | | | | | | | | | Sometimes it is useful to get the actual fileid Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #26124 from nextcloud/backport/25533/stable21Morris Jobke2021-03-191-63/+69
|\ \ | | | | | | [stable21] send share notification instead of erroring on duplicate share
| * | send share notification instead of erroring on duplicate shareRobin Appelman2021-03-151-63/+69
| |/ | | | | | | | | | | when creating a share that already exists, instead of erroring, resend the notifications Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #26087 from nextcloud/backport/26049/stable21Vincent Petry2021-03-181-2/+20
|\ \ | | | | | | [stable21] limit constructing of result objects in file search
| * | implement PagedProvider for file searchRobin Appelman2021-03-121-1/+10
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | limit constructing of result objects in file searchRobin Appelman2021-03-121-1/+10
| |/ | | | | | | | | | | | | | | even thought we currently have no proper way of limiting the search itself, we can at least limit the construction of the result objects. this saves about 40% of the time spend in the search request in my local testing Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #26090 from nextcloud/backport/25722/stable21Morris Jobke2021-03-172-1/+15
|\ \ | | | | | | [stable21] apply object store copy optimization when 'cross storage' copy is wit…
| * | apply object store copy optimization when 'cross storage' copy is within the ↵Robin Appelman2021-03-122-1/+15
| |/ | | | | | | | | | | same object store Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #26146 from nextcloud/backport/26013/stable21Morris Jobke2021-03-175-41/+62
|\ \ | | | | | | [stable21] Return the fileid from `copyFromCache` and use it instead of doing an extra query
| * | verify that cache entry is validRobin Appelman2021-03-161-0/+3
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | also implement for FailedCache and NullCacheRobin Appelman2021-03-162-0/+10
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | use returned file id for object store copyRobin Appelman2021-03-161-6/+6
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | add ICopyFromCache trait to expose existing implementationRobin Appelman2021-03-162-35/+43
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #25943 from nextcloud/backport/25659/stable21Morris Jobke2021-03-176-20/+4
|\ \ \ | | | | | | | | [stable21] catch notfound and forbidden exception in smb::getmetadata
| * | | catch notfound and forbidden exception in smb::getmetadataRobin Appelman2021-03-056-20/+4
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Merge pull request #26166 from nextcloud/backport/26131/stable21Morris Jobke2021-03-171-1/+1
|\ \ \ \ | | | | | | | | | | [stable21] Fix default missing initial state for templates
| * | | | Fix default missing initial state for templatesJohn Molakvoæ (skjnldsv)2021-03-171-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | | remove explicit fclose from S3->writeStreamRobin Appelman2021-03-171-2/+0
|/ / / / | | | | | | | | | | | | | | | | | | | | streams get closed automatically when dropped, and in some cases the stream seems to be already closed by the S3 library, in which case trying to close it again will raise an error Signed-off-by: Robin Appelman <robin@icewind.nl>
* | / / dont allow creating users with __groupfolders as uidRobin Appelman2021-03-161-0/+1
| |/ / |/| | | | | | | | | | | | | | Fixes https://github.com/nextcloud/groupfolders/issues/338 Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | only use share cacheentry when availableRobin Appelman2021-03-151-2/+8
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | adjust testsRobin Appelman2021-03-152-2/+1
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix search in nested jailsRobin Appelman2021-03-152-21/+38
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | fix cachjail searching for rootRobin Appelman2021-03-152-3/+17
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | do cachejail search filtering in sqlRobin Appelman2021-03-153-4/+60
| |/ |/| | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Chunk the array of phone numbersJoas Schilling2021-03-121-5/+9
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Clean up the logic of the contacts store a bitJoas Schilling2021-03-111-5/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Rename some parameters and methods to make the API more clearJoas Schilling2021-03-112-8/+35
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add a setting to restrict returning a full match unless in phonebook or same ↵Joas Schilling2021-03-114-3/+19
| | | | | | | | | | | | group Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Restrict autocompletion also based on the phonebook known usersJoas Schilling2021-03-114-55/+118
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add a service to find out if a user knows another userJoas Schilling2021-03-112-0/+75
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Add a KnownUsers database with modelJoas Schilling2021-03-112-0/+118
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | cache baseurl in url generatorRobin Appelman2021-03-101-1/+6
| | | | | | | | | | | | Servers don't tend to change their url in the middle of a request Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #25573 from nextcloud/backport/25378/stable21Roeland Jago Douma2021-03-051-0/+3
|\ \ | | | | | | [stable21] Improve mention matches
| * | Fix linterJoas Schilling2021-02-111-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Make Psalm happyJoas Schilling2021-02-111-1/+3
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Improve mention matchesJoas Schilling2021-02-111-0/+1
| | | | | | | | | | | | | | | | | | The previous regex didn't correctly match users with . ' or - Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #25571 from nextcloud/backport/25460/stable21Roeland Jago Douma2021-03-051-5/+0
|\ \ \ | |_|/ |/| | [stable21] Always renew apppasswords on login
| * | Always renew apppasswords on loginRoeland Jago Douma2021-02-101-5/+0
| |/ | | | | | | | | | | | | | | Else you can end up that you renewed your password (LDAP for example). But they still don't work because you did not use them before you logged in. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Filter tables with other table prefixDaniel Kesselberg2021-03-031-4/+4
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Register service aliases und parameters just onceChristoph Wurst2021-02-251-2/+3
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | bump applicable version due to an intermediate releaseArthur Schiwon2021-02-171-1/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>