summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Always call flush() as getAllKeys() is brokenCôme Chilliet2022-01-271-21/+2
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-01-242-220/+318
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-01-222-2/+40
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Add hashed attribute column for indexed job existence checkJulius Härtl2022-01-201-2/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Revert "[stable21] Hash job argument"John Molakvoæ2022-01-202-105/+13
|
* Merge pull request #30660 from nextcloud/backport/29622/stable21John Molakvoæ2022-01-202-3/+16
|\
| * Implement multibucket shift for ObjectStoreJohn Molakvoæ2022-01-142-3/+16
| | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | Update autoloadChristopher Ng2022-01-192-0/+2
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Add hashed attribute column for indexed job existence checkJulius Härtl2022-01-182-13/+105
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #30633 from nextcloud/backport/30358/stable21Louis2022-01-171-13/+19
|\ \ | | | | | | [stable21] Reset job disabling timer on adding the job again
| * | Update lib/private/BackgroundJob/JobList.phpLouis Chemineau2022-01-121-1/+1
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * | Reset job disabling timer on adding the job againJulius Härtl2022-01-121-13/+19
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #30682 from nextcloud/backport/30531/stable21Carl Schwan2022-01-171-1/+20
|\ \ \ | | | | | | | | [stable21] Optimize FileSystemTags workflow for groupfolder
| * | | Fix psalm issuesCarl Schwan2022-01-141-6/+6
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
| * | | Add helper method in WrapperCarl Schwan2022-01-141-1/+20
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | [tx-robot] updated from transifexNextcloud bot2022-01-152-0/+36
|/ / / | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | / Fix idn emails not working in sharesCarl Schwan2022-01-131-3/+7
| |/ |/| | | | | | | | | | | | | And add check before sending email that email address is valid Fix #30595 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | [tx-robot] updated from transifexNextcloud bot2022-01-136-2/+34
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #30601 from nextcloud/backport/30291/stable21Joas Schilling2022-01-121-1/+102
|\ | | | | [stable21] Prevent loading images that would require too much memory.
| * Prevent loading images that would require too much memory.Joachim Bauch2022-01-111-1/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | For most image formats, the header specifies the width/height. PHP allocates an image object from that size, even if the actual image data is much smaller. This image object size is not limited by the limit configured in PHP. The memory limit can be configured through "config.php" setting "preview_max_memory" and defaults to 128 MBytes which should be enough for most images without filling up all memory. Signed-off-by: Joachim Bauch <bauch@struktur.de>
* | [tx-robot] updated from transifexNextcloud bot2022-01-124-14/+50
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Fix fail when keys/files folder already existsVincent Petry2022-01-111-1/+5
| | | | | | | | | Fixes an issue with transfer ownership in move mode where the folder "files_encryption/keys/files" already exists. Instead of failing, its existence is checked before calling mkdir. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-01-116-0/+84
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-01-104-2/+58
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-01-096-0/+108
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-01-08132-2064/+2100
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #30488 from nextcloud/backport/29780/stable21John Molakvoæ2022-01-071-4/+5
|\
| * Run migrations fully when reenabling an appJoas Schilling2022-01-071-4/+5
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | [stable22] Remove iconv from dependencies and testsMichaIng2022-01-072-5/+0
| | | | | | | | | | | | which is not used anymore since: https://github.com/nextcloud/server/pull/29470 Signed-off-by: MichaIng <micha@dietpi.com>
* | Merge pull request #29963 from nextcloud/backport/29951/stable21John Molakvoæ2022-01-071-8/+19
|\ \
| * | Interpolate the log message also for logged exceptionsChristoph Wurst2021-11-291-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | According to PSR-3 the log message can have placeholders that are replaced from the context object. Our logger implementation did that for all PSR-3 logger methods. The only exception was our custom `logException`. Since PsrLoggerAdapter calls logException when an exception key is present in the context object, log messages were no longer interpolated. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #29325 from nextcloud/backport/28541/stable21John Molakvoæ2022-01-072-1/+27
|\ \ \
| * | | 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-212-1/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | [tx-robot] updated from transifexNextcloud bot2022-01-072-10/+12
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | [tx-robot] updated from transifexNextcloud bot2022-01-062-2/+2
| |_|/ |/| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | [tx-robot] updated from transifexNextcloud bot2022-01-032-0/+2
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | [tx-robot] updated from transifexNextcloud bot2021-12-252-30/+76
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #30248 from nextcloud/backport/30245/stable21MichaIng2021-12-208-13/+65
|\ \ \ | | | | | | | | [stable21] Only wildcard search if enumeration is allowed
| * | | Fix backportLouis Chemineau2021-12-131-1/+3
| | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
| * | | Make psalm more happyJoas Schilling2021-12-131-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Fix docs to make Psalm happierJoas Schilling2021-12-131-6/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Convert strict_search to wildcard property and add psalm docsJoas Schilling2021-12-133-6/+18
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Limit more contact searchesJoas Schilling2021-12-134-4/+22
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Only limit search in the system address bookJoas Schilling2021-12-133-4/+18
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Only wildcard search if enumeration is allowedJoas Schilling2021-12-134-1/+12
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | also use case sensitive like when searching in a folderRobin Appelman2021-12-143-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | this case was missed from https://github.com/nextcloud/server/pull/29080 Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Avoid assignment in if clauseCôme Chilliet2021-12-141-8/+12
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Fix typing problems in OC_ImageCôme Chilliet2021-12-142-3/+11
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | Avoid calling image* methods on booleanCôme Chilliet2021-12-141-14/+27
|/ / / | | | | | | | | | | | | | | | | | | This avoids fatal errors on PHP>=8, and warnings on older versions. Log should also be clearer. Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>