summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* [tx-robot] updated from transifexNextcloud bot2022-07-142-0/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #33157 from nextcloud/backport/33153/stable24John Molakvoæ2022-07-081-4/+4
|\
| * Only ignore attempts of the same actionJoas Schilling2022-07-071-4/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | [tx-robot] updated from transifexNextcloud bot2022-07-082-2/+6
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #32983 from nextcloud/backport/32242/stable24John Molakvoæ2022-07-072-14/+24
|\ \ | |/ |/|
| * Fix logging data context to fileThomas Citharel2022-06-222-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 #32997 from nextcloud/backport/32980/stable24John Molakvoæ2022-07-074-15/+24
|\ \
| * | avoid early DI of IAppManagerArthur Schiwon2022-06-281-4/+7
| | | | | | | | | | | | | | | | | | - might break install Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | load widgets only of enabled appsArthur Schiwon2022-06-234-14/+20
| |/ | | | | | | | | | | | | | | | | | | | | | | | | - 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>
* | Merge pull request #32986 from nextcloud/backport/stable24/31771John Molakvoæ2022-07-071-13/+25
|\ \
| * | Fix hook encryption with cron jobCarl Schwan2022-06-221-13/+25
| |/ | | | | | | | | | | | | | | Make sure the setup fs is set before using the Update service Fix #29674 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | Do not save invalid display name to the databaseChristopher Ng2022-07-061-0/+4
| | | | | | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* | Merge pull request #32483 from nextcloud/backport/32451/stable24Carl Schwan2022-07-061-1/+1
|\ \ | | | | | | [stable24] Fix cropped image generated when not asked
| * | Fix cropped image generated when not askedCarl Schwan2022-07-061-1/+1
| | | | | | | | | | | | | | | | | | | | | The $crop parameter was not propagated to the imaginary pipeline and instead it used the smartcrop algorithm always Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | [tx-robot] updated from transifexNextcloud bot2022-07-062-2/+2
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | [tx-robot] updated from transifexNextcloud bot2022-07-042-0/+4
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #33078 from nextcloud/backport/32924/stable24Carl Schwan2022-07-011-24/+6
|\ \ \ | | | | | | | | [stable24] Enable binary protocol again
| * | | memcached should not throw arbitrary exceptionsArthur Schiwon2022-07-011-24/+6
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | | Enable binary protocol againCarl Schwan2022-07-011-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | Check whether entry is of type ICacheEntry in Cache->remove()Jonas2022-06-301-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 #33069 from nextcloud/backport/33065/stable24Carl Schwan2022-06-301-4/+2
|\ \ \ | | | | | | | | [stable24] Fix detection of firefox in ContentSecurityPolicyNonceManager
| * | | Fix detection of firefox in ContentSecurityPolicyNonceManagerCarl Schwan2022-06-301-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>
* | | | [tx-robot] updated from transifexNextcloud bot2022-06-302-2/+2
|/ / / | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #33049 from nextcloud/backport/32982/stable24Carl Schwan2022-06-281-1/+1
|\ \ \ | | | | | | | | [stable24] Fix metadata extraction
| * | | Fix metadata extractionCarl Schwan2022-06-281-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>
* | | | Rename setting name to reduce its lengthLouis Chemineau2022-06-282-2/+2
|/ / / | | | | | | | | | | | | Signed-off-by: Louis Chemineau <louis@chmn.me> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* | | [tx-robot] updated from transifexNextcloud bot2022-06-282-0/+2
| | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Improve local domain detectionCôme Chilliet2022-06-231-2/+4
| |/ |/| | | | | 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>
* | Merge pull request #32904 from nextcloud/backport/32898/stable24blizzz2022-06-171-4/+8
|\ \ | | | | | | [stable24] Fix logger overwriting vars in some circumstances
| * | 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>
* | | [tx-robot] updated from transifexNextcloud bot2022-06-172-0/+2
|/ / | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | [tx-robot] updated from transifexNextcloud bot2022-06-142-0/+4
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #32842 from nextcloud/backport/32685/stable24blizzz2022-06-131-1/+1
|\ \ | | | | | | [stable24] Fix replacing external storage password during debug log
| * | Fix replacing external storage password during debug logChristoph Wurst2022-06-131-1/+1
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Merge pull request #32833 from nextcloud/backport/32799/stable24blizzz2022-06-131-1/+1
|\ \ \ | |/ / |/| | [stable24] Fix exception handling when profile data is too long
| * | Fix exception handling when profile data is too longJoas Schilling2022-06-121-1/+1
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #32444 from nextcloud/backport/32357/stable24blizzz2022-06-121-0/+8
|\ \ \ | |/ / |/| | [stable24] remove storage wrappers when deleting the user storage
| * | remove storage wrappers when deleting the user storageRobin Appelman2022-06-101-0/+8
| |/ | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | [tx-robot] updated from transifexNextcloud bot2022-06-122-0/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #32708 from nextcloud/unencrypted-size-24blizzz2022-06-117-52/+156
|\ \ | |/ |/| [24] store unencrypted size in the unencrypted_size column
| * store unencrypted size in the unencrypted_size columnRobin Appelman2022-06-037-52/+156
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #32513 from nextcloud/backport/32496/stable24Vincent Petry2022-06-101-3/+11
|\ \ | | | | | | [stable24] Fix crop condition
| * | Fix crop conditionCarl Schwan2022-05-201-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | Make sure that when fetching the image from the cache we don't accidentally fetch the cropped image just because it also start with 256-256 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #32657 from nextcloud/backport/32655/stable24Vincent Petry2022-06-101-2/+7
|\ \ \ | | | | | | | | [stable24] Handle non existing settings again
| * | | Handle non existing settings againCarl Schwan2022-05-301-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | See https://github.com/nextcloud/server/pull/28189#issuecomment-1140874991 Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | | Merge pull request #32801 from nextcloud/backport/32797/stable24Vincent Petry2022-06-101-7/+3
|\ \ \ \ | | | | | | | | | | [stable24] fix mounts mounted at the users home
| * | | | fix mounts mounted at the users homeRobin Appelman2022-06-091-7/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this fixes external storages with '/' as mountpoint Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | perform onetime setup earlier to ensure wrappers are registered on timeRobin Appelman2022-06-101-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this fixes an issue with wrappers like encryption not always being applied to mountpoint that create the storage object directly (such as external storage) Signed-off-by: Robin Appelman <robin@icewind.nl>