summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Remove default token which is deprecated since Nextcloud 13Joas Schilling2021-12-0112-850/+23
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Remove files_iedavclientJohn Molakvoæ (skjnldsv)2021-11-301-5/+0
| | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Merge pull request #29966 from nextcloud/feat/remove-isIEJohn Molakvoæ2021-11-302-17/+0
|\
| * Remove isIE and associated legacy scriptsJohn Molakvoæ (skjnldsv)2021-11-302-17/+0
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #29958 from nextcloud/fix/translit-php8/deps-and-testsMichaIng2021-11-302-5/+0
|\ \ | |/ |/| Remove iconv from dependencies and tests
| * Remove iconv from dependencies and testsMichaIng2021-11-302-5/+0
| | | | | | | | | | | | which is not used anymore since: https://github.com/nextcloud/server/pull/29470 Signed-off-by: MichaIng <micha@dietpi.com>
* | Include previous execption for repair steps that don't existChristoph Wurst2021-11-301-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Let repair step query exceptions bubble upChristoph Wurst2021-11-301-1/+8
| | | | | | | | | | | | | | | | | | | | | | And hide the type error caused by a constructor call with missing arguments. `new $repairStep();` only works for the rare case that no arguments are required. Anything else will throw. Then we previously hid the trace of the more important query exception. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | [tx-robot] updated from transifexNextcloud bot2021-11-302-0/+28
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #29917 from nextcloud/fix/29768/l10nPytal2021-11-297-17/+17
|\
| * Fix source of translationsChristopher Ng2021-11-267-17/+17
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Merge pull request #29951 from nextcloud/fix/log-interpolation-exceptionsChristoph Wurst2021-11-291-8/+19
|\ \ | | | | | | Interpolate the log message also for logged exceptions
| * | 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 #29830 from ↵Christoph Wurst2021-11-291-0/+3
|\ \ \ | |/ / |/| | | | | | | | nextcloud/enhancement/wfe-operation-scope-psalm-type-hint Add Psalm specific scope type hint for the WFE operation
| * | Add Psalm specific scope type hint for the WFE operationChristoph Wurst2021-11-221-0/+3
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | [tx-robot] updated from transifexNextcloud bot2021-11-292-0/+2
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Obey col length of 255 to insert and search in accounts_dataArthur Schiwon2021-11-261-1/+8
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | add method to shorten a string to given byte size to UtilsArthur Schiwon2021-11-261-0/+24
| |/ |/| | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #29906 from nextcloud/fix/strict_comp_for_redisVincent Petry2021-11-251-1/+1
|\ \ | | | | | | Use strict comparison to detect usage of redis cluster
| * | Use strict comparison to detect usage of redis clusterLouis Chemineau2021-11-251-1/+1
| | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | Merge pull request #29894 from nextcloud/fix/inactive-profile-parameterblizzz2021-11-251-0/+1
|\ \ \ | |/ / |/| | Fix inactive profile parameters being displayed in the Profile visibility section
| * | Fix inactive profile parameters being returnedChristopher Ng2021-11-251-0/+1
| | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | Check for invalid characters before trimmingJoas Schilling2021-11-251-1/+1
|/ / | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | [tx-robot] updated from transifexNextcloud bot2021-11-252-0/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | [tx-robot] updated from transifexNextcloud bot2021-11-242-0/+18
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #29432 from nextcloud/fix/support-php-8.1Vincent Petry2021-11-2339-85/+95
|\ \ | | | | | | Support PHP 8.1 - First batch
| * | Fix default value for $type in ↵Côme Chilliet2021-11-232-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | OC\DB\QueryBuilder\ExpressionBuilder\ExpressionBuilder::literal This fixes PHP errors about passing null to PDO::quote second parameter. We may want to change IExpressionBuilder as well? Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Fix warning about passing null to substr_countCôme Chilliet2021-11-231-1/+1
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Fix warning about passing null to rtrimCôme Chilliet2021-11-231-1/+1
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Fix type errorsCôme Chilliet2021-11-232-5/+6
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Fix DateTime constructor calls with nullCôme Chilliet2021-11-231-1/+1
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Fix Guzzle function callsCôme Chilliet2021-11-232-5/+5
| | | | | | | | | | | | | | | | | | | | | Since 1.7.0 and 2.0 these functions are turned into static methods. See https://github.com/guzzle/psr7#upgrading-from-function-api Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Fix Iterator return typesCôme Chilliet2021-11-234-10/+6
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Fix ArrayAccess and JsonSerializable return typesCôme Chilliet2021-11-2326-58/+71
| | | | | | | | | | | | | | | | | | First round of modifications for PHP 8.1 Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #29835 from nextcloud/bugfix/noid/fix-ipv4-mapped-ipv6-subnetVincent Petry2021-11-231-0/+41
|\ \ \ | |/ / |/| | Fix getting subnet of ipv4 mapped ipv6 addresses
| * | Type hint in IpAddress Vincent Petry2021-11-221-3/+2
| | | | | | | | | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com> Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
| * | Improve normalizer detecting IPv4 inside of IPv6Vincent Petry2021-11-221-2/+42
| | | | | | | | | | | | | | | | | | | | | The subnet for an IPv4 address inside of IPv6 is now returned in its IPv4 form. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
| * | Fix getting subnet of ipv4 mapped ipv6 addressesVincent Petry2021-11-221-0/+2
| |/ | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* / [tx-robot] updated from transifexNextcloud bot2021-11-232-0/+44
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2021-11-222-2/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #29708 from nextcloud/fix/no-app-update-no-verboseMichaIng2021-11-221-2/+2
|\ | | | | Do not print verbose info about app updates if there are none
| * Do not print verbose info about app updates if there are noneChristoph Wurst2021-11-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | This is cosmetical but if you have a large number of apps installed then you'll see a wall of text during the server and app upgrade when it tries to update each app via the app store. In may cases nothing will be updated. For those boring cases we can hide the verbose info, but show when occ is run with -v. Any actual update will still print a few lines. Those are the important ones for the admin. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | [tx-robot] updated from transifexNextcloud bot2021-11-204-0/+72
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #29622 from nextcloud/feat/objectstore_multibucket-shiftVincent Petry2021-11-192-3/+16
|\ \ | | | | | | Implement multibucket shift for ObjectStore
| * | Implement multibucket shift for ObjectStoreJohn Molakvoæ2021-11-112-3/+16
| | | | | | | | | | | | Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
* | | Merge pull request #29632 from nextcloud/fix/26118/imagecreatetruecolor-errorVincent Petry2021-11-191-0/+4
|\ \ \ | | | | | | | | fix imagecreatetruecolor() error
| * | | fix imagecreatetruecolor() errorszaimen2021-11-101-0/+4
| |/ / | | | | | | | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* | | Merge pull request #29758 from nextcloud/disk_free_space-fix-php8Vincent Petry2021-11-191-1/+1
|\ \ \ | | | | | | | | Check for `disk_free_space`
| * | | Check for `disk_free_space`acsfer2021-11-181-1/+1
| | |/ | |/| | | | | | | Check for `disk_free_space` before calling it. Fix https://github.com/nextcloud/server/issues/29748
* | | Merge pull request #29605 from nextcloud/bugfix/29603/fix-scanner-nfd-existenzVincent Petry2021-11-196-4/+82
|\ \ \ | | | | | | | | Normalize file name before existence check in scanner