Commit graph

55588 commits

Author SHA1 Message Date
Christoph Wurst
02fa3253fe
Fix undefined index and consequential damages in versions code
If the user has no space and there are no versions, there won't be an
`all` index in the versions entry. Hence this triggers a warning and
becomes `null`, afterwards `count`, `foreach` and friends will happily
throw even more warnings and errors because they don't want to play with
`null`. Thus adding a fallback to an empty array.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-12 22:17:06 +02:00
Morris Jobke
deb499d34e
Merge pull request #23300 from sharidas/transfer-ownership-same-user
Stop transfer of ownership between same users
2020-10-12 21:52:37 +02:00
Morris Jobke
78da9532ba
Merge pull request #23317 from nextcloud/fix/contact-update
handle nested properties for contact updates
2020-10-12 21:49:04 +02:00
Morris Jobke
34463b0e1d
Merge pull request #23391 from nextcloud/fix/23245/fix-asynccommandbus-test-failure
Overwrite also the new command bus name to execute them in sync in th…
2020-10-12 21:35:07 +02:00
call-me-matt
1b2386d108
handle nested properties, fixes #20544
Signed-off-by: call-me-matt <nextcloud@matthiasheinisch.de>
2020-10-12 21:27:38 +02:00
Morris Jobke
f5a52e941c
Overwrite also the new command bus name to execute them in sync in the tests
Followup to #23245

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-12 21:04:00 +02:00
Morris Jobke
14af2246f3
Merge pull request #23378 from R0Wi/bugfix/registration_typo
Fix typo 'shared'
2020-10-12 20:04:33 +02:00
John Molakvoæ
ff84fc400a
Merge pull request #23379 from nextcloud/fix/recent-contacts-federated 2020-10-12 18:40:22 +02:00
Morris Jobke
6fde154eec
Merge pull request #23284 from st3iny/fix/noid/adminpass-strengthify-margin
Fix adminpass strengthify margin
2020-10-12 17:33:34 +02:00
Christoph Wurst
d51da5714b
Merge pull request #23371 from nextcloud/enhancement/psalm-typed-bootstrap-registration-context
Add Psalm type for the bootstrap registration context
2020-10-12 17:14:03 +02:00
John Molakvoæ (skjnldsv)
5a6a5a1639
Drop X-NEXTCLOUD-UID
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-12 16:56:20 +02:00
John Molakvoæ (skjnldsv)
698d4f55f2
Expose CLOUD federation for local users as well
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-12 15:17:14 +02:00
Christoph Wurst
ccfe6a9fa5
Add Psalm type for the bootstrap registration context
This can potentially catch a few bugs with wrong class strings.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-12 15:16:16 +02:00
Morris Jobke
91d445909a
Fix code style
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-12 14:54:51 +02:00
Robin Windey
6a1f8fb3be
Fix typo 'shared' 2020-10-12 14:19:41 +02:00
John Molakvoæ
fd452e5531
Merge pull request #23323 from nextcloud/dependabot/npm_and_yarn/moment-2.29.1
Bump moment from 2.29.0 to 2.29.1
2020-10-12 14:05:00 +02:00
Morris Jobke
b6364cc483
Merge pull request #23310 from nextcloud/enhancement/psalm-typed-qb-mapper
Add template typing to the QBMapper
2020-10-12 13:10:05 +02:00
dependabot-preview[bot]
5dd93369b5 Bump moment from 2.29.0 to 2.29.1
Bumps [moment](https://github.com/moment/moment) from 2.29.0 to 2.29.1.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.29.0...2.29.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-12 11:05:53 +00:00
John Molakvoæ
6c9b99f5e8
Merge pull request #23327 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-2.7.0
Bump @nextcloud/vue from 2.6.9 to 2.7.0
2020-10-12 12:48:14 +02:00
John Molakvoæ
60d3630980
Merge pull request #23326 from nextcloud/dependabot/npm_and_yarn/sinon-9.2.0
Bump sinon from 9.1.0 to 9.2.0
2020-10-12 11:37:39 +02:00
Christoph Wurst
2664c7f75f
Type some of the core mappers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-12 11:10:09 +02:00
Christoph Wurst
a1b351036c
Add template typing to the QBMapper
The QBMapper is kind of a generic type, though this concept does not
exist in php. Hence you have a lot of type coercion in subtypes (mappers
in the individual apps) because you suddenly don't expect an Entity[]
but your specific type.

Luckily Psalm lets us type those. Then in the subclass you can
psalm-implement the mapper with a concrete type and psalm will do all
the magic to ensure types are used correctly.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-12 11:10:08 +02:00
dependabot-preview[bot]
060eb396a2 Bump @nextcloud/vue from 2.6.9 to 2.7.0
Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 2.6.9 to 2.7.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v2.6.9...v2.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-12 08:31:03 +00:00
dependabot-preview[bot]
53c710d1e4
Bump sinon from 9.1.0 to 9.2.0
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.1.0 to 9.2.0.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v9.1.0...v9.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 08:03:20 +00:00
John Molakvoæ
b76698c547
Merge pull request #23325 from nextcloud/dependabot/npm_and_yarn/webpack-merge-5.2.0
Bump webpack-merge from 5.1.4 to 5.2.0
2020-10-12 10:01:03 +02:00
John Molakvoæ
dc400e190e
Merge pull request #23320 from nextcloud/dependabot/npm_and_yarn/sass-loader-10.0.3
Bump sass-loader from 10.0.2 to 10.0.3
2020-10-12 10:00:53 +02:00
John Molakvoæ
b473f8e4f6
Merge pull request #23324 from nextcloud/dependabot/npm_and_yarn/style-loader-2.0.0
Bump style-loader from 1.2.1 to 2.0.0
2020-10-12 10:00:37 +02:00
Julius Härtl
ef6bab6a5c
Merge pull request #23306 from nextcloud/update-readme-compiled-commits 2020-10-12 09:13:11 +02:00
Sujith Haridasan
08bdc549bb Stop transfer of ownership between same users
Stop the transfer of ownership between same user.

Signed-off-by: Sujith Haridasan <sujith.h@gmail.com>
2020-10-12 09:31:49 +05:30
Nextcloud bot
8ae4ff6648
[tx-robot] updated from transifex 2020-10-12 02:18:06 +00:00
Morris Jobke
f4e37e1063
Merge pull request #23329 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-10-11 22:11:01 +02:00
Nextcloud-PR-Bot
953c6eda28 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-10-11 04:27:09 +00:00
Nextcloud bot
d9c3b99907
[tx-robot] updated from transifex 2020-10-11 02:18:42 +00:00
John Molakvoæ
081c974971
Merge pull request #23239 from st3iny/fix/20833/broken-dbpassword-toggle
Fix database password visibility toggle
2020-10-10 17:43:12 +02:00
Richard Steinmetz
cb68bcef0f Fix password visibility toggles
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-10 12:53:23 +00:00
Nextcloud bot
4295fe67b7
[tx-robot] updated from transifex 2020-10-10 02:18:44 +00:00
dependabot-preview[bot]
a754db1b38
Bump webpack-merge from 5.1.4 to 5.2.0
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.1.4 to 5.2.0.
- [Release notes](https://github.com/survivejs/webpack-merge/releases)
- [Changelog](https://github.com/survivejs/webpack-merge/blob/master/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.1.4...v5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-10 01:19:45 +00:00
dependabot-preview[bot]
a20078b58e
Bump style-loader from 1.2.1 to 2.0.0
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.2.1 to 2.0.0.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.2.1...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-10 01:19:06 +00:00
dependabot-preview[bot]
fe72618b64
Bump sass-loader from 10.0.2 to 10.0.3
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 10.0.2 to 10.0.3.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v10.0.2...v10.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-10 01:16:50 +00:00
Vincent Petry
77a1a60004
Enhance README to mention module compilation
Added hint about MODULE=xxx when recompiling production assets.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-10-09 14:12:40 +02:00
Vincent Petry
1ba1bd252d
Add to README about compiling JS production assets.
Add note in README about the need to checkin also compiled JS assets
after running `make build-js-production`.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-10-09 12:15:20 +02:00
Roeland Jago Douma
2ec160aec8
Merge pull request #23264 from nextcloud/bug/23177/escape-html
Add local version of escapeHTML
2020-10-09 09:25:05 +02:00
Roeland Jago Douma
049d5b3a4b
Merge pull request #23249 from nextcloud/techdebt/server-container-cleanup
Server container cleanup
2020-10-09 09:19:41 +02:00
Roeland Jago Douma
174a550edb
Merge pull request #23287 from nextcloud/enh/bruteforce/limit_storage
Limit storing bruteforce attempts
2020-10-09 08:51:33 +02:00
Christoph Wurst
56b67c8c13
Clean up the server
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-09 08:25:56 +02:00
Roeland Jago Douma
c6937032b0
Merge pull request #23299 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-10-09 08:15:38 +02:00
Nextcloud-PR-Bot
7896b20100 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-10-09 04:27:56 +00:00
Nextcloud bot
9c21bd22b5
[tx-robot] updated from transifex 2020-10-09 02:18:45 +00:00
Roeland Jago Douma
0dbb99a81b
Merge pull request #23161 from nextcloud/enh/noid/setup-checks2
Remove setup check for php mail
2020-10-08 22:40:37 +02:00
Roeland Jago Douma
8fae2beece
Limit throttler to 48 hours
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-10-08 19:51:13 +02:00