summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Only ignore attempts of the same actionJoas Schilling2022-07-071-4/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #33052 from nextcloud/fix/set-display-nameJoas Schilling2022-07-061-0/+4
|\ | | | | Do not send display name twice for saving
| * Do not save invalid display name to the databaseChristopher Ng2022-06-281-0/+4
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | [tx-robot] updated from transifexNextcloud bot2022-07-062-2/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #33086 from ↵blizzz2022-07-052-7/+11
|\ \ | | | | | | | | | | | | nextcloud/techdebt/noid/allow-expiring-comments-of-multiple-objects-in-one-go Allow to expire comments of multiple objects with one call
| * | Allow to expire comments of multiple objects with one callJoas Schilling2022-07-012-7/+11
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | [tx-robot] updated from transifexNextcloud bot2022-07-042-0/+4
|/ / | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Add status automationJoas Schilling2022-07-011-0/+12
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | [tx-robot] updated from transifexNextcloud bot2022-06-302-2/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Fix detection of firefox in ContentSecurityPolicyNonceManagerCarl Schwan2022-06-291-4/+2
| | | | | | | | | | | | | | | | Reuse Request::USER_AGENT_FIREFOX, and also update the safari detection since safari < 12 is not supported anymore and we can remove a bit of code duplication Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Check whether entry is of type ICacheEntry in Cache->remove()Jonas2022-06-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | In some scenarios (file not in cache, but partial data of it in the object), Cache->get() might return an array, which leads to errors like "Call to a member function getId() on array". So check whether the returned entry is of type ICacheEntry before doing operations on it in Cache->remove(). Fixes: #33023 Signed-off-by: Jonas <jonas@freesources.org>
* | Merge pull request #32994 from nextcloud/fix/extended-query-searchCarl Schwan2022-06-292-5/+9
|\ \ | | | | | | Search without join on filecache_extended
| * | Search without join on filecache_extendedCarl Schwan2022-06-232-5/+9
| | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #33042 from nextcloud/bugfix/noid/extend-email-loggingJoas Schilling2022-06-281-0/+3
|\ \ \ | |_|/ |/| | Extend email logging
| * | Extend email loggingJoas Schilling2022-06-281-0/+3
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #32982 from nextcloud/fix/metadata-extractionCarl Schwan2022-06-281-1/+1
|\ \ \ | | | | | | | | Fix metadata extraction
| * | | Fix metadata extractionCarl Schwan2022-06-221-1/+1
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | The metadata extraction only happens when the size is not equal to 0, but due to a regression in FileInfo the size is always zero. This fix the regression. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #33007 from nextcloud/cleanup/federation-appCarl Schwan2022-06-283-0/+50
|\ \ \ | | | | | | | | Summer cleanup of the federation app
| * | | Summer cleanup of the federation appCarl Schwan2022-06-243-0/+50
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use IEventDispatcher instead of deprecated symfony dispatcher - Use LoggerInterface where possible - Use php 7.4 properties - Add type hinting where possible - Move federation hooks to a seperate listener Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #32960 from nextcloud/fix/avoid-using-undeclared-propertiesCôme Chilliet2022-06-286-66/+30
|\ \ \ | |_|/ |/| | Fix PHP 8.2 warnings about undeclared properties
| * | composer run cs:fixCôme Chilliet2022-06-212-2/+0
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | Fix PHP 8.2 warnings about undeclared propertiesCôme Chilliet2022-06-216-65/+31
| | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | [tx-robot] updated from transifexNextcloud bot2022-06-282-0/+2
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #32998 from nextcloud/fix/setting_nameLouis2022-06-272-2/+2
|\ \ \ | | | | | | | | Rename setting name to reduce its length
| * | | Rename setting name to reduce its lengthLouis Chemineau2022-06-272-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* | | | Merge pull request #32863 from nextcloud/feature/add-comments-expire-dateblizzz2022-06-246-0/+67
|\ \ \ \ | |/ / / |/| | | Add comments expire date
| * | | Add comments expire dateVitor Mattos2022-06-156-0/+67
| | | | | | | | | | | | | | | | | | | | | | | | https://github.com/nextcloud/spreed/pull/7327 Signed-off-by: Vitor Mattos <vitor@php.rio>
* | | | Merge pull request #32980 from ↵blizzz2022-06-234-17/+26
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/fix/32887/dashboard-load-only-enabled-apps load dashboard widgets of enabled apps only
| * | | | avoid early DI of IAppManagerArthur Schiwon2022-06-221-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - might break install Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | | load widgets only of enabled appsArthur Schiwon2022-06-224-17/+24
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - per design, all enabled apps have their registration run - limitations, e.g. enabled by group, are not considered in that state, because we do not have a session (and might need apps?) - before instantiation of widget it has to be checked whether the providing app is actually enabled for the logged in user. - a public interface is being changed, but it is not meant to be implemented or used outside of the core handling. Therefore save to backport. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* / | | Improve local domain detectionCôme Chilliet2022-06-231-2/+4
|/ / / | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | Merge pull request #32242 from nextcloud/fix-logging-data-arrayblizzz2022-06-212-14/+24
|\ \ \ | | | | | | | | Fix logging data context to file
| * | | Fix logging data context to fileThomas Citharel2022-05-022-14/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It was only logged when an exception was provided or when using logData (which is not being much used). We make sure the interpolated parameters are not logged. Only tested with file write logger, but shouldn't work differently. Crash reporters always had the context. Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | | | Merge pull request #31475 from nextcloud/kofemann-patch-1blizzz2022-06-211-0/+1
|\ \ \ \ | |_|_|/ |/| | | files: close open directory file descriptor on error path
| * | | files: close open directory file descriptor on error pathTiramisu Mokka2022-03-071-0/+1
| | | |
* | | | Merge pull request #32924 from nextcloud/memcached-binary-protocolCarl Schwan2022-06-211-24/+6
|\ \ \ \ | | | | | | | | | | Enable binary protocol again
| * | | | memcached should not throw arbitrary exceptionsArthur Schiwon2022-06-171-24/+6
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | | Enable binary protocol againCarl Schwan2022-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | | Merge pull request #32868 from ↵blizzz2022-06-213-4/+8
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/fix/replace-opis-closure-by-laravel-fork Replace opis/closure by laravel/serializable-closure
| * | | | | Explicitely only accept closures from our dependencies in ClosureJobCôme Chilliet2022-06-211-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | | | Replace opis/closure with laravel/serializable-closure in codeCôme Chilliet2022-06-143-4/+5
| | |_|_|/ | |/| | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | | | [tx-robot] updated from transifexNextcloud bot2022-06-192-0/+2
| |/ / / |/| | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | [tx-robot] updated from transifexNextcloud bot2022-06-172-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | make placeholder a const for reuseArthur Schiwon2022-06-161-2/+4
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | fix overwriting original vars when loggingArthur Schiwon2022-06-161-2/+4
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Use {$var} instead of ${var} for PHP 8.2 compatibilityCôme Chilliet2022-06-143-3/+3
|/ / / | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* | | [tx-robot] updated from transifexNextcloud bot2022-06-142-0/+4
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #31966 from nextcloud/unencrypted-sizeVincent Petry2022-06-1317-170/+297
|\ \ \ | | | | | | | | store unencrypted size in the unencrypted_size column
| * | | store unencrypted size in the unencrypted_size columnRobin Appelman2022-06-027-49/+146
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | | add case statement to sql function builderRobin Appelman2022-06-022-0/+23
| | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>