Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2022-08-03Multiple fixesCarl Schwan
- Fix tests - Use non deprecated event stuff - Add a bit of type hinting to the new stuff - More safe handling of instanceOfStorage (share might not be the first wrapper) - Fix resharing Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-03Inherit hide download from share attributesVincent Petry
When resharing by link, if the download permission was removed through share attributes, convert it to the hide download flag. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-03Fix view-only code after code review commentsVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-03Attempt to fix sqlite json issueVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-03Fix share attribute related tests + code styleVincent Petry
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-03Add share attributes + prevent download permissionVincent Petry
Makes it possible to store download permission Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-03Merge pull request #33439 from nextcloud/backport/32958/stable24blizzz
[stable24] Fix file public link permissions if public upload is not enabled
2022-08-03Merge pull request #33407 from nextcloud/backport/stable24/one-time-passwordVincent Petry
[stable24] Handle one time and large passwords
2022-08-02don't reduce file public link permissions if public upload is not enabledJulien Veyssier
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2022-08-02Merge pull request #33353 from nextcloud/backport/33031/stable24blizzz
[stable24] Improve local IP detection
2022-08-01Fix autoloaderbackport/33031/stable24Côme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-01Remove call to undefined function, fix typingCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-01Align copied file with our code styleCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-08-01Copy IpUtils from Symfony to avoid new dependency on backportCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-29Handle one time and large passwordsbackport/stable24/one-time-passwordCarl Schwan
For passwords bigger than 250 characters, use a bigger key since the performance impact is minor (around one second to encrypt the password). For passwords bigger than 470 characters, give up earlier and throw exeception recommanding admin to either enable the previously enabled configuration or use smaller passwords. This adds an option to disable storing passwords in the database. This might be desirable when using single use token as passwords or very large passwords. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-27don't set `null` as a bundle pathbackport/33378/stable24Robin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-07-26Use Symfony IpUtils to check for local IP rangesCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-26Check for local IPs nested in IPv6 as wellCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-26Refactor local IP if and set strict to true for in_arrayCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-26Improve local IP detectionCôme Chilliet
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-07-26Merge pull request #33343 from nextcloud/backport/33129/stable24Joas Schilling
[stable24] Fix reading blob data as resource
2022-07-26[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-25Fix reading blob data as resourcebackport/33129/stable24Thomas Citharel
PostgreSQL returns data as resource when using IQueryBuilder::PARAM_LOB (which is used for QBMapper). Previously we just converted this resource using settype, which produced things like "Resource id #14" instead of the actual resource data. Now we read the stream correctly if the returned data is a resource See context at #22472 Fixes #22439 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2022-07-25Merge pull request #33326 from nextcloud/backport/33308/stable24Vincent Petry
[stable24] always triger setup of builtin storage wrappers
2022-07-23Merge pull request #33252 from nextcloud/backport/32963/stable24blizzz
[stable24] also use nextcloud certificate bundle when downloading from s3
2022-07-22always triger setup of builtin storage wrappersbackport/33308/stable24Robin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-07-19Merge pull request #33212 from nextcloud/backport/33211/stable24Jonas
[stable24] Fix listening for circle events in SetupManager
2022-07-19fix loading legacy app.php with multi app dirArthur Schiwon
- requireAppFile() only appends /appinfo/app.php - without the absolute path, require_once looks into include_path - the first match in inlcude_path however migth be different from appPath - fixed by providing the tested(!), full path to the app Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-07-18Fix listening for circle events in SetupManagerbackport/33211/stable24Jonas
So far, SetupManager listened for deprecated events that are no longer triggered. Instead, use the circle events that actually get triggered when adding or removing a circle or circle member. Also, these events get triggered on each instance of a globalscale setup. Fixes: #33210 Signed-off-by: Jonas <jonas@freesources.org>
2022-07-18only use nextcloud bundle when explicitly enabledbackport/32963/stable24Robin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-07-18also use nextcloud certificate bundle when downloading from s3Robin Appelman
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-07-14[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-08Merge pull request #33157 from nextcloud/backport/33153/stable24John Molakvoæ
2022-07-08[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-07Merge pull request #32983 from nextcloud/backport/32242/stable24John Molakvoæ
2022-07-07Only ignore attempts of the same actionbackport/33153/stable24Joas Schilling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-07Merge pull request #32997 from nextcloud/backport/32980/stable24John Molakvoæ
2022-07-07Merge pull request #32986 from nextcloud/backport/stable24/31771John Molakvoæ
2022-07-06Do not save invalid display name to the databaseChristopher Ng
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-06Merge pull request #32483 from nextcloud/backport/32451/stable24Carl Schwan
[stable24] Fix cropped image generated when not asked
2022-07-06Fix cropped image generated when not askedCarl Schwan
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>
2022-07-06[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-04[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-07-01Merge pull request #33078 from nextcloud/backport/32924/stable24Carl Schwan
[stable24] Enable binary protocol again
2022-07-01memcached should not throw arbitrary exceptionsbackport/32924/stable24Arthur Schiwon
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-07-01Enable binary protocol againCarl Schwan
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-06-30Check whether entry is of type ICacheEntry in Cache->remove()backport/33050/stable24Jonas
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>
2022-06-30Merge pull request #33069 from nextcloud/backport/33065/stable24Carl Schwan
[stable24] Fix detection of firefox in ContentSecurityPolicyNonceManager
2022-06-30[tx-robot] updated from transifexNextcloud bot
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-06-30Fix detection of firefox in ContentSecurityPolicyNonceManagerbackport/33065/stable24Carl Schwan
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>