aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [tx-robot] updated from transifexNextcloud bot2021-10-2642-2/+308
| | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* Merge pull request #29318 from ↵Christoph Wurst2021-10-258-23/+61
|\ | | | | | | | | nextcloud/fix/dav-availability-settings-timezone-id Read and write time zone ID when updating CalDAV availability
| * Get VTIMEZONE data from a time zone database libChristoph Wurst2021-10-257-22/+44
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * Read and write time zone ID when updating CalDAV availabilityChristoph Wurst2021-10-254-7/+23
| | | | | | | | | | | | Tiny bug/limitation of #27466 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #29021 from nextcloud/work/smb/additional-loggingJulius Härtl2021-10-251-0/+1
|\ \
| * | Add additional logging on SMB failure to read folder contentCarl Schwan2021-10-011-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Currently we discard the error comming from the SMB library and create a new exception for nextcloud. This patch makes sure that the access/permission exception from the SMB library are logged correctly. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* | | Merge pull request #27949 from CarlSchwan/work/carl/password-reset-autocompleteLouis2021-10-255-6/+12
|\ \ \ | |_|/ |/| | Add autocompletion for password reset
| * | Add autocompletion for password resetCarl Schwan2021-10-225-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using autocomplete="current-password" and autocomplete="new-password" will help browser with integrated password managers to generate safe password for the users. See https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_an_html_input_element and https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/password#allowing_autocomplete. Also unify autocapitalize="none" autocorrect="off" behavior in a few other places for password input fields. Close #27885 Signed-off-by: Carl Schwan <carl@carlschwan.eu> Co-Authored-By: Julien Veyssier <eneiluj@posteo.net> Co-Authored-By: Pytal <24800714+Pytal@users.noreply.github.com>
* | | Merge pull request #29425 from nextcloud/revert-28138-zorn-v-patch-2John Molakvoæ2021-10-251-1/+0
|\ \ \
| * | | Revert "Fix "never catch" catches in OC_App"Joas Schilling2021-10-251-1/+0
| | | |
* | | | Merge pull request #26531 from J0WI/refactor-preview-execJohn Molakvoæ2021-10-257-80/+94
|\ \ \ \ | |/ / / |/| | |
| * | | Use findBinaryPath for previewsJ0WI2021-10-237-80/+94
| | | | | | | | | | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | | | [tx-robot] updated from transifexNextcloud bot2021-10-2536-82/+280
| | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | [tx-robot] updated from transifexNextcloud bot2021-10-2414-432/+38
|/ / / | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | Merge pull request #28389 from alanmeeson/bugfix/22077/default-encryption-moduleJohn Molakvoæ2021-10-231-2/+30
|\ \ \
| * | | Add type hint to fread_block $blockSize param & apply cs:fix.alanmeeson2021-10-231-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: alanmeeson <alan@carefullycalculated.co.uk>
| * | | Fix truncation of files upon read when using object store and encryption.Alan Meeson2021-10-231-2/+30
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When using and object store as primary storage and using the default encryption module at the same time, any encrypted file would be truncated when read, and a text error message added to the end. This was caused by a combination of the reliance of the read functions on on knowing the unencrypted file size, and a bug in the function which calculated the unencrypted file size for a given file. In order to calculate the unencrypted file size, the function would first skip the header block, then use fseek to skip to the last encrypted block in the file. Because there was a corresponence between the encrypted and unencrypted blocks, this would also be the last encrypted block. It would then read the final block and decrypt it to get the unencrypted length of the last block. With that, the number of blocks, and the unencrypted block size, it could calculate the unencrypted file size. The trouble was that when using an object store, an fread call doesn't always get you the number of bytes you asked for, even if they are available. To resolve this I adapted the stream_read_block function from lib/private/Files/Streams/Encryption.php to work here. This function wraps the fread call in a loop and repeats until it has the entire set of bytes that were requested, or there are no more to get. This fixes the imediate bug, and should (with luck) allow people to get their encrypted files out of Nextcloud now. (The problem was purely on the decryption side). In the future it would be nice to do some refactoring here. I have tested this with image files ranging from 1kb to 10mb using Nextcloud version 22.1.0 (the nextcloud:22.1-apache docker image), with sqlite and a Linode object store as the primary storage. Signed-off-by: Alan Meeson <alan@carefullycalculated.co.uk>
* | | Merge pull request #29400 from nextcloud/fix/noid/undef-index-errorJulius Härtl2021-10-231-1/+1
|\ \ \ | | | | | | | | fixes an undefined index when getAccessList returns an empty array
| * | | fixes an undefined index when getAccessList returns an empty arrayArthur Schiwon2021-10-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | - [] is a valid return value that should be honored as having no access Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Merge pull request #27440 from nextcloud/is-file-handleJohn Molakvoæ2021-10-232-6/+6
|\ \ \ \
| * | | | Update Testsacsfer2021-10-221-1/+1
| | | | |
| * | | | Tests updateacsfer2021-08-151-1/+1
| | | | |
| * | | | Handle files with is_file instead of file_existsacsfer2021-08-151-4/+4
| | | | | | | | | | | | | | | Should fix things like `fread(): read of 8192 bytes failed with errno=21 Is a directory`
* | | | | Merge pull request #28138 from nextcloud/zorn-v-patch-2John Molakvoæ2021-10-231-0/+1
|\ \ \ \ \
| * | | | | Fix "never catch" catches in OC_Appzorn-v2021-10-221-0/+1
| | |_|/ / | |/| | | | | | | | Need to check another legacy. Need to explicitly add to use or do not forget add slash `\`
* | | | | Merge pull request #29363 from nextcloud/fair-use-pushJohn Molakvoæ2021-10-2315-52/+285
|\ \ \ \ \
| * | | | | show warning on personal settings pageVitor Mattos2021-10-232-1/+23
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | | | | Show warning on admin settings pageVitor Mattos2021-10-233-1/+40
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | | | | add check isFairUseOfFreePushService on loginVitor Mattos2021-10-232-8/+42
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | | | | Fair use of push notificationsJoas Schilling2021-10-238-42/+180
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We want to keep offering our push notification service for free, but large users overload our infrastructure. For this reason we have to rate-limit the use of push notifications. If you need this feature, consider setting up your own push server or using Nextcloud Enterprise. Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | | Merge pull request #29397 from nextcloud/fix/noid/profile-missing-def-valuesJohn Molakvoæ2021-10-232-15/+14
|\ \ \ \ \
| * | | | | fix populating account array with missing default valuesArthur Schiwon2021-10-222-15/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - both $userData and $defaultUserData have numeric indices - each element contains at least the name and other fields - appending the missing data array is sufficient Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | | | Merge pull request #29413 from ↵dependabot[bot]2021-10-232-8/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | nextcloud/dependabot/npm_and_yarn/testing-library/user-event-13.5.0
| * | | | | | Bump @testing-library/user-event from 13.4.1 to 13.5.0dependabot[bot]2021-10-232-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 13.4.1 to 13.5.0. - [Release notes](https://github.com/testing-library/user-event/releases) - [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md) - [Commits](https://github.com/testing-library/user-event/compare/v13.4.1...v13.5.0) --- updated-dependencies: - dependency-name: "@testing-library/user-event" dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
* | | | | | | Merge pull request #29412 from ↵dependabot[bot]2021-10-232-12/+12
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/dependabot/npm_and_yarn/webpack-cli-4.9.1
| * | | | | | | Bump webpack-cli from 4.9.0 to 4.9.1dependabot[bot]2021-10-232-12/+12
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.9.0 to 4.9.1. - [Release notes](https://github.com/webpack/webpack-cli/releases) - [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md) - [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.9.0...webpack-cli@4.9.1) --- updated-dependencies: - dependency-name: webpack-cli dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* | | | | | | Merge pull request #29408 from ↵dependabot[bot]2021-10-231-1/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.9.0
| * | | | | | | Update behat/behat requirement in /build/integrationdependabot[bot]2021-10-231-1/+1
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates the requirements on [behat/behat](https://github.com/Behat/Behat) to permit the latest version. - [Release notes](https://github.com/Behat/Behat/releases) - [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md) - [Commits](https://github.com/Behat/Behat/compare/v3.8.0...v3.9.0) --- updated-dependencies: - dependency-name: behat/behat dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
* | | | | | | Merge pull request #29402 from nextcloud/dependabot/npm_and_yarn/sass-1.43.3dependabot[bot]2021-10-232-8/+8
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Bump sass from 1.43.2 to 1.43.3dependabot[bot]2021-10-232-8/+8
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [sass](https://github.com/sass/dart-sass) from 1.43.2 to 1.43.3. - [Release notes](https://github.com/sass/dart-sass/releases) - [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md) - [Commits](https://github.com/sass/dart-sass/compare/1.43.2...1.43.3) --- updated-dependencies: - dependency-name: sass dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* | | | | | Merge pull request #29401 from ↵dependabot[bot]2021-10-232-8/+8
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | nextcloud/dependabot/npm_and_yarn/babel-loader-8.2.3
| * | | | | | Bump babel-loader from 8.2.2 to 8.2.3dependabot[bot]2021-10-232-8/+8
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.2 to 8.2.3. - [Release notes](https://github.com/babel/babel-loader/releases) - [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel-loader/compare/v8.2.2...v8.2.3) --- updated-dependencies: - dependency-name: babel-loader dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
* / / / / / [tx-robot] updated from transifexNextcloud bot2021-10-2336-34/+178
|/ / / / / | | | | | | | | | | | | | | | Signed-off-by: Nextcloud bot <bot@nextcloud.com>
* | | | | Merge pull request #29378 from nextcloud/fix/unhelpful-route-name-errorDaniel2021-10-222-2/+2
|\ \ \ \ \ | |/ / / / |/| | | | Make the route name error more helpful
| * | | | Make the route name error more helpfulChristoph Wurst2021-10-222-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As a developer I have no clue what "Invalid route name" means. If the exception gives me a hint I might find it easier to figure out why my route triggers this error. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | Merge pull request #25392 from nextcloud/imountpoint-ocp-storageJulius Härtl2021-10-226-10/+7
|\ \ \ \ \
| * \ \ \ \ Merge branch 'master' into imountpoint-ocp-storageJohn Molakvoæ2021-10-226242-59175/+156061
| |\ \ \ \ \
| * | | | | | dont return private storage interface from public mount interfaceRobin Appelman2021-03-236-10/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | | | Merge pull request #29382 from ↵Julius Härtl2021-10-221-3/+9
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/techdebt/noid/500-on-OCS-after-internal-error
| * | | | | | | Return 500 and the exception message (on debug) on OCSJoas Schilling2021-10-221-3/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>