summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | Respect user settings in php.ini if they are big enoughMicke Nordin2022-08-221-6/+22
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In the admin guide: * https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html it is mentioned that you can tweek: * max_input_time * max_execution_time in order to enable larger file uploads. However, the current codebase will hard code these values to one hour, no matter what the user sets in php.ini. This patch will allow the user to set these settings in php.ini and they will be respected, if and only if, they are set to something bigger than 3600 seconds. Signed-off-by: Micke Nordin <kano@sunet.se>
* / | [tx-robot] updated from transifexNextcloud bot2022-08-234-2/+4
|/ / | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #33562 from nextcloud/empty-folder-size-24Robin Appelman2022-08-171-13/+17
|\ \ | | | | | | [24] fix updating size when folder is empty
| * | fix updating size when folder is emptyRobin Appelman2022-08-161-13/+17
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | [tx-robot] updated from transifexNextcloud bot2022-08-172-0/+10
|/ / | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | [tx-robot] updated from transifexNextcloud bot2022-08-162-0/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | [tx-robot] updated from transifexNextcloud bot2022-08-152-0/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | [tx-robot] updated from transifexNextcloud bot2022-08-142-2/+2
| | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | [tx-robot] updated from transifexNextcloud bot2022-08-132-0/+32
|/ | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-08-124-2/+4
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Do not update passwords if nothing changedJulius Härtl2022-08-091-3/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* [tx-robot] updated from transifexNextcloud bot2022-08-084-2/+4
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-08-072-0/+2
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-08-0618-54/+70
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* [tx-robot] updated from transifexNextcloud bot2022-08-0558-56/+58
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #32273 from nextcloud/backport/32152/stable24blizzz2022-08-041-1/+1
|\ | | | | [stable24] Allow compatibility wrapper on local external storage
| * Allow compatibility wrapper on local external storageVincent Petry2022-05-051-1/+1
| | | | | | | | | | | | | | | | The check was likely in place to prevent adding the wrapper on the root and home storage, which is not possible anyway since the encoding option cannot be set on that mount. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Multiple fixesCarl Schwan2022-08-036-24/+199
| | | | | | | | | | | | | | | | | | | | | | - 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>
* | Inherit hide download from share attributesVincent Petry2022-08-031-0/+2
| | | | | | | | | | | | | | 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>
* | Fix view-only code after code review commentsVincent Petry2022-08-032-3/+5
| | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Attempt to fix sqlite json issueVincent Petry2022-08-031-2/+2
| | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Fix share attribute related tests + code styleVincent Petry2022-08-034-24/+11
| | | | | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Add share attributes + prevent download permissionVincent Petry2022-08-039-4/+308
| | | | | | | | | | | | Makes it possible to store download permission Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* | Merge pull request #33439 from nextcloud/backport/32958/stable24blizzz2022-08-031-2/+2
|\ \ | | | | | | [stable24] Fix file public link permissions if public upload is not enabled
| * | don't reduce file public link permissions if public upload is not enabledJulien Veyssier2022-08-021-2/+2
| | | | | | | | | | | | Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
* | | Merge pull request #33407 from nextcloud/backport/stable24/one-time-passwordVincent Petry2022-08-031-3/+6
|\ \ \ | |/ / |/| | [stable24] Handle one time and large passwords
| * | Handle one time and large passwordsCarl Schwan2022-07-291-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #33353 from nextcloud/backport/33031/stable24blizzz2022-08-024-2/+201
|\ \ \ | | | | | | | | [stable24] Improve local IP detection
| * | | Fix autoloaderCôme Chilliet2022-08-012-0/+2
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Remove call to undefined function, fix typingCôme Chilliet2022-08-011-22/+11
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Align copied file with our code styleCôme Chilliet2022-08-011-184/+178
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Copy IpUtils from Symfony to avoid new dependency on backportCôme Chilliet2022-08-012-1/+203
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Use Symfony IpUtils to check for local IP rangesCôme Chilliet2022-07-261-3/+7
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Check for local IPs nested in IPv6 as wellCôme Chilliet2022-07-261-1/+3
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Refactor local IP if and set strict to true for in_arrayCôme Chilliet2022-07-261-6/+6
| | | | | | | | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
| * | | Improve local IP detectionCôme Chilliet2022-07-261-0/+6
| |/ / | | | | | | | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* / / don't set `null` as a bundle pathRobin Appelman2022-07-271-3/+6
|/ / | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #33343 from nextcloud/backport/33129/stable24Joas Schilling2022-07-261-0/+3
|\ \ | | | | | | [stable24] Fix reading blob data as resource
| * | Fix reading blob data as resourceThomas Citharel2022-07-251-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | [tx-robot] updated from transifexNextcloud bot2022-07-262-2/+12
|/ / | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | Merge pull request #33326 from nextcloud/backport/33308/stable24Vincent Petry2022-07-251-6/+15
|\ \ | | | | | | [stable24] always triger setup of builtin storage wrappers
| * | always triger setup of builtin storage wrappersRobin Appelman2022-07-221-6/+15
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #33252 from nextcloud/backport/32963/stable24blizzz2022-07-222-12/+24
|\ \ \ | |/ / |/| | [stable24] also use nextcloud certificate bundle when downloading from s3
| * | only use nextcloud bundle when explicitly enabledRobin Appelman2022-07-182-10/+15
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * | also use nextcloud certificate bundle when downloading from s3Robin Appelman2022-07-182-10/+17
| | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | Merge pull request #33212 from nextcloud/backport/33211/stable24Jonas2022-07-191-4/+4
|\ \ \ | | | | | | | | [stable24] Fix listening for circle events in SetupManager
| * | | Fix listening for circle events in SetupManagerJonas2022-07-181-4/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* / / fix loading legacy app.php with multi app dirArthur Schiwon2022-07-191-1/+1
|/ / | | | | | | | | | | | | | | | | | | - 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>
* | [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
|\ \