summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Unregister enc stream wrapper for any exceptionVincent Petry2021-08-261-1/+1
| | | | | | | This prevents side effects in tests by properly cleaning up even with expected exceptions. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2021-08-222-2/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #28455 from nextcloud/backport/28303/stable21Joas Schilling2021-08-202-0/+13
|\ | | | | [stable21] UnifiedSearchController: strip webroot from URL before finding a route
| * Use IURLGenerator function to get value of `\OC::$WEBROOT` globalJonas Meurer2021-08-162-0/+13
| | | | | | | | Signed-off-by: Jonas Meurer <jonas@freesources.org>
* | Properly log errors in Movie previews generationJohn Molakvoæ (skjnldsv)2021-08-192-2/+8
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Merge pull request #28498 from nextcloud/backport/28485/stable21Julius Härtl2021-08-191-6/+14
|\ \ | | | | | | [stable21] Fix #20913: Check image resource before attempting to preserve alpha
| * | Fix #20913: Check image resource before attempting to preserve alphaSimon Spannagel2021-08-181-6/+14
| | | | | | | | | | | | Signed-off-by: Simon Spannagel <simonspa@kth.se>
* | | Merge pull request #28495 from nextcloud/backport/28481/stable21Pytal2021-08-181-2/+3
|\ \ \ | |/ / |/| | [stable21] Hash cache key
| * | Hash cache keyChristopher Ng2021-08-181-2/+3
| | | | | | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | | Emit an error log when the app token login name does not matchChristoph Wurst2021-08-181-1/+6
|/ / | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* / Only trap E_ERROR in session handlingJulius Härtl2021-08-171-1/+3
|/ | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add missing files for Composer v2Christoph Wurst2021-08-161-1/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* [tx-robot] updated from transifexNextcloud bot2021-08-152-2/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* better cleanup of user files on user deletionRobin Appelman2021-08-125-14/+76
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #28361 from nextcloud/backport/28220/stable21Julius Härtl2021-08-111-16/+30
|\ | | | | [stable21] fix Folder->getById() when a single storage is mounted multiple times
| * fix Folder->getById() when a single storage is mounted multiple timesRobin Appelman2021-08-091-16/+30
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | [tx-robot] updated from transifexNextcloud bot2021-08-104-0/+20
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2021-08-082-28/+48
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2021-08-062-4/+4
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2021-08-028-6/+492
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* dont apply jail search filter is on the rootRobin Appelman2021-07-291-0/+12
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* 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] better cleanup of filecache when deleting an external ↵John Molakvoæ2021-07-271-40/+0
| | | | storage"
* Merge pull request #27729 from nextcloud/revert-26587-backport/26581/stable21John Molakvoæ2021-07-271-6/+3
|\ | | | | [stable21] Revert "Fix constraint violation detection in QB Mapper"
| * Revert "[stable21] Fix constraint violation detection in QB Mapper"Christoph Wurst2021-06-301-6/+3
| |
* | Merge pull request #26724 from nextcloud/backport/25417/stable21John Molakvoæ2021-07-271-0/+3
|\ \
| * | Guard against null phone number valueDaniel Calviño Sánchez2021-07-021-0/+3
| | | | | | | | | | | | | | | | | | | | | "parsePhoneNumber()" expects a string, so a TypeError would be thrown if the phone number value is null. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | Merge pull request #27205 from nextcloud/backport/26936/stable21John Molakvoæ2021-07-271-0/+40
|\ \ \ | | | | | | | | [stable21] better cleanup of filecache when deleting an external storage
| * | | better cleanup of filecache when deleting an external storageRobin Appelman2021-07-131-0/+40
| | | | | | | | | | | | | | | | | | | | | | | | this way it can delete the cache entries even with per-user credentials Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | Sanitize more functions from the encryption appLukas Reschke2021-07-211-1/+57
| | | | | | | | | | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | | Disable HEIC image preview provider for performance concernstobiasKaminsky2021-07-211-2/+1
| | | | | | | | | | | | | | | | Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
* | | | Mask password for Redis and RedisCluster on connection failureDaniel Kesselberg2021-07-191-0/+6
| | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | Merge pull request #27753 from nextcloud/backport/27586/stable21MichaIng2021-07-151-0/+1
|\ \ \ \ | | | | | | | | | | [stable21] Reset checksum when writing files to object store
| * | | | Reset checksum when writing files to object storeJulius Härtl2021-07-011-0/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | [tx-robot] updated from transifexNextcloud bot2021-07-15132-262/+2
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | Correctly skip suppressed errors in PHP 8.0Chih-Hsuan Yen2021-07-141-1/+1
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Applies the suggested transformation mentioned in https://www.php.net/manual/en/migration80.incompatible.php, > The @ operator will no longer silence fatal errors (E_ERROR, > E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR, E_RECOVERABLE_ERROR, > E_PARSE). Error handlers that expect error_reporting to be 0 when > @ is used, should be adjusted to use a mask check instead The new code still works on PHP 7, as error_reporting() already returns 0 when diagnostics are suppressed. This fixes https://github.com/nextcloud/server/issues/25807 in PHP 8.0. For PHP 7.x, https://github.com/nextcloud/server/pull/22243 suppresses the E_NOTICE message from the second session_start() call with the error suppression operator @, and thus those E_NOTICE messages are still logged in PHP 8.0. See also https://github.com/nextcloud/server/issues/25806 Signed-off-by: Chih-Hsuan Yen <yan12125@gmail.com>
* | | | [tx-robot] updated from transifexNextcloud bot2021-07-102-2/+2
| | | |
* | | | [tx-robot] updated from transifexNextcloud bot2021-07-092-0/+26
| | | |
* | | | [tx-robot] updated from transifexNextcloud bot2021-07-082-0/+4
| | | |
* | | | Fix in locking cache checkMichaIng2021-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | The intention obviously was to check whether $lockingCacheClass is defined, and existing class, and available. It was however checked whether the $distributedCacheClass is an existing class, which would have caused an exception already in the previous distributed cache check. Signed-off-by: MichaIng <micha@dietpi.com>
* | | | [tx-robot] updated from transifexNextcloud bot2021-07-062-0/+4
|/ / /
* | | Merge pull request #27107 from nextcloud/backport/27043/stable21John Molakvoæ2021-07-011-6/+15
|\ \ \
| * | | fix return value of getStorageInfo when 'quota_include_external_storage' is ↵Robin Appelman2021-05-251-6/+15
| | | | | | | | | | | | | | | | | | | | | | | | enabled Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | [tx-robot] updated from transifexNextcloud bot2021-07-014-14/+14
| |_|/ |/| |
* | | [tx-robot] updated from transifexNextcloud bot2021-06-282-2/+2
| | |
* | | [tx-robot] updated from transifexNextcloud bot2021-06-276-8/+10
| | |
* | | [tx-robot] updated from transifexNextcloud bot2021-06-262-0/+2
| | |
* | | Unshift crash reports when they are loaded, to break the recusionChristoph Wurst2021-06-251-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If, for whatever reason, during the loading of a crash reporter a new log entry is generated, then the lazy loading mechanism will be invoked *again* while it's already executed. This doesn't result in an endless recursion, but means that the crash reporters will be built and registered many times. This then means any further log entry will be logged x times instead of once. Unshift makes sure to take the class off the registration list right away, so another invokation of the same method won't try to do the same job. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | [tx-robot] updated from transifexNextcloud bot2021-06-252-0/+34
| | |
* | | [tx-robot] updated from transifexNextcloud bot2021-06-244-14/+14
| | |