summaryrefslogtreecommitdiffstats
path: root/lib/public
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #29325 from nextcloud/backport/28541/stable21John Molakvoæ2022-01-071-1/+14
|\
| * update @since for getDatabasePlatformRobin Appelman2021-11-231-1/+1
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * disable path prefix index on postgresql for nowRobin Appelman2021-10-211-1/+14
| | | | | | | | | | | | | | having the index work properly for the queries we need it for requires some additional options which dbal does not support at the momement. to prevent making it harder to add the correct index later on we don't create the index for now on postgresql Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #30248 from nextcloud/backport/30245/stable21MichaIng2021-12-202-0/+6
|\ \ | | | | | | [stable21] Only wildcard search if enumeration is allowed
| * | Convert strict_search to wildcard property and add psalm docsJoas Schilling2021-12-132-3/+6
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Only limit search in the system address bookJoas Schilling2021-12-131-1/+2
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | Only wildcard search if enumeration is allowedJoas Schilling2021-12-132-0/+2
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | also use case sensitive like when searching in a folderRobin Appelman2021-12-141-0/+1
| | | | | | | | | | | | | | | | | | this case was missed from https://github.com/nextcloud/server/pull/29080 Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Fix typing problems in OC_ImageCôme Chilliet2021-12-141-1/+1
|/ / | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | code checker fixes for instanceOfStorageRobin Appelman2021-12-023-2/+7
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | teach psalm about `Storage::instanceOfStorage`Robin Appelman2021-12-021-0/+3
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Apply changes from master's update to 3.1.3Joas Schilling2021-11-151-2/+2
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Allow NULL as well for limit, not integer onlyJoas Schilling2021-11-152-4/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Fix resource usages in OC_ImageCôme Chilliet2021-11-021-1/+1
|/ | | | | | This makes sure using resource or GdImage (PHP>=8) behaves the same. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Merge pull request #29203 from nextcloud/backport/26688/stable21MichaIng2021-10-141-0/+14
|\ | | | | [stable21] Add proper message to created share not found
| * Default message for ShareNotFound exceptionJohn Molakvoæ (skjnldsv)2021-10-131-0/+14
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Keep group restrictions when reenabling apps after an updateJoas Schilling2021-10-131-6/+0
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Use IRoomMetadata as source of truth for supported room typesRichard Steinmetz2021-09-211-1/+1
| | | | Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
* Use IURLGenerator function to get value of `\OC::$WEBROOT` globalJonas Meurer2021-08-161-0/+6
| | | | Signed-off-by: Jonas Meurer <jonas@freesources.org>
* Fix missing exception class importChristoph Wurst2021-07-281-0/+1
| | | | | | Regression of https://github.com/nextcloud/server/pull/27121 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Revert "[stable21] Fix constraint violation detection in QB Mapper"Christoph Wurst2021-06-301-6/+3
|
* Fix a usort comparison function returning a boolean instead of an integerRichard de Boer2021-06-071-1/+1
| | | | | | PHP 8 shows deprecation warnings about this, see #25806 Signed-off-by: Richard de Boer <git@tubul.net>
* Escape filename in Content-DispositionLukas Reschke2021-06-021-6/+2
| | | | | | We should escape all occurences of ' and \ in here. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add DB exception throws tag to QBMapper PHPDocAnna Larch2021-05-261-7/+17
| | | | Signed-off-by: Anna Larch <anna@nextcloud.com>
* typodartcafe2021-05-211-1/+1
| | | | Signed-off-by: dartcafe <github@dartcafe.de>
* fix #25813dartcafe2021-05-211-1/+1
| | | | Signed-off-by: dartcafe <github@dartcafe.de>
* remove undefined parameter, add descriptionArthur Schiwon2021-04-221-1/+1
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix constraint violation detection in QB MapperJoas Schilling2021-04-161-3/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* make ILDAPProviderFactory usable when there is no ldap setupRobin Appelman2021-04-011-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Allow apps to write/update account dataJoas Schilling2021-04-011-0/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Map old account scope properties to new namesVincent Petry2021-03-291-3/+3
| | | | | | | | 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>
* Add new v2-private account scopeVincent Petry2021-03-291-3/+46
| | | | | | | | | | Added new v2-private account manager scope that restricts the scope further by excluding public link access. Avatars with v2-private account scope are now showing the guest avatar instead of the real avatar. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* handle ordering in folder searchRobin Appelman2021-03-231-0/+12
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* only require user to be set in a query that handles tagsRobin Appelman2021-03-231-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Make psalm happyRoeland Jago Douma2021-03-221-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix parameter types in docsJoas Schilling2021-03-221-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Improve search results when only phonebook-matches can we autocompletedJoas Schilling2021-03-223-1/+56
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #26124 from nextcloud/backport/25533/stable21Morris Jobke2021-03-191-0/+50
|\ | | | | [stable21] send share notification instead of erroring on duplicate share
| * send share notification instead of erroring on duplicate shareRobin Appelman2021-03-151-0/+50
| | | | | | | | | | | | when creating a share that already exists, instead of erroring, resend the notifications Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #26122 from nextcloud/backport/26004/stable21Roeland Jago Douma2021-03-181-1/+1
|\ \ | | | | | | [stable21] Allow overwriting isAuthenticated
| * | Allow overwriting isAuthenticatedRoeland Jago Douma2021-03-151-1/+1
| |/ | | | | | | | | | | | | * Some implementations might check for different things * IT will not change how the current ones work Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #26146 from nextcloud/backport/26013/stable21Morris Jobke2021-03-171-0/+11
|\ \ | | | | | | [stable21] Return the fileid from `copyFromCache` and use it instead of doing an extra query
| * | add ICopyFromCache trait to expose existing implementationRobin Appelman2021-03-161-0/+11
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #25943 from nextcloud/backport/25659/stable21Morris Jobke2021-03-171-2/+2
|\ \ | |/ |/| [stable21] catch notfound and forbidden exception in smb::getmetadata
| * catch notfound and forbidden exception in smb::getmetadataRobin Appelman2021-03-051-2/+2
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Add a setting to restrict returning a full match unless in phonebook or same ↵Joas Schilling2021-03-111-0/+8
| | | | | | | | | | | | group Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Restrict autocompletion also based on the phonebook known usersJoas Schilling2021-03-111-0/+8
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #25871 from nextcloud/backport/25758/stable21Roeland Jago Douma2021-03-021-0/+25
|\ | | | | [stable21] Include RichObject for forms
| * Include RichObject for formsJonas Rittershofer2021-03-021-0/+25
| | | | | | | | | | | | Ref. https://github.com/nextcloud/forms/pull/789 Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
* | Fix namespacingAnna Larch2021-03-021-1/+1
|/ | | | Signed-off-by: Anna Larch <anna@nextcloud.com>