Commit Graph

55716 Commits

Author SHA1 Message Date
Morris Jobke 776c65de99
Merge pull request #23410 from nextcloud/fix/encryption-decrypt-position-type
The encryption decrypt position can be int or string
2020-10-13 17:50:31 +02:00
Morris Jobke e2d223a9a6
Merge pull request #23398 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
[Automated] Update psalm-baseline.xml
2020-10-13 17:38:28 +02:00
Morris Jobke f8ed08ca2a
Merge pull request #23295 from nextcloud/fix/versions-no-space-no-versions-undefined-index
Fix undefined index and consequential damages in versions code
2020-10-13 17:35:35 +02:00
Morris Jobke 5111d6a3e2
Merge pull request #23402 from nextcloud/bugfix/noid/encode-logout
Encode requesttoken for logout url in auto logout
2020-10-13 17:32:24 +02:00
Jan C. Borchardt 0f2f857dc3
Sort deleted files by most recently deleted first
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-13 17:29:52 +02:00
Morris Jobke 7525fb3408
Merge pull request #23350 from st3iny/fix/14849/share-api-preview-availability
Inidicate preview availability in share api responses
2020-10-13 17:27:27 +02:00
Joas Schilling ee7eb6f2b3
Some emojis are in CHAR_CATEGORY_GENERAL_OTHER_TYPES
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-13 15:32:34 +02:00
John Molakvoæ e1a0b3f98f
Merge pull request #23345 from nextcloud/fix/scrollbars
Increase scrollbar sizes
2020-10-13 15:19:38 +02:00
Richard Steinmetz 89f7e2ab64
Indicate preview availability in share api responses
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2020-10-13 14:12:42 +02:00
Christoph Wurst b2de9a6f9e
The encryption decrypt position can be int or string
The public API said string, internally we treated it as int. In reality
both are used. Let's reflect that in the documented argument type.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-13 10:51:22 +02:00
Christoph Wurst 0da89c0fa1
The file cache entry is array accessible
… so let's make this part of our API. We use it as array already.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-13 10:47:00 +02:00
Joas Schilling 349da3395a
Merge pull request #23382 from nextcloud/techdebt/noid/psr-logger-in-authentication
Use PSR logger in authentication
2020-10-13 09:45:11 +02:00
Joas Schilling 00bf7eb60a
Merge pull request #23396 from nextcloud/tests/22305/flipping-versioningtest
VersioningTest.php:729 is unreliable and should be disabled
2020-10-13 09:08:29 +02:00
Julius Härtl ca1310bd12
Encode requesttoken for logout url in auto logout
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-13 08:48:23 +02:00
Joas Schilling 0ad4ad31e1
Fix more tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-13 08:16:17 +02:00
Nextcloud-PR-Bot 035346a5d3 Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2020-10-13 04:28:02 +00:00
Nextcloud bot 85570abc9a
[tx-robot] updated from transifex 2020-10-13 02:18:40 +00:00
Morris Jobke 6ce05bc7d7
Return all keys in getAllVersions() instead
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-12 22:17:06 +02:00
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 04338c9773
Merge pull request #23274 from nextcloud/3rdparty/symfony/4.4.15
[3rdparty] Bump symfony deps to 4.4.15
2020-10-12 22:14:37 +02:00
Joas Schilling 49ff48fcd3
Use PSR logger in authentication
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-12 22:07:04 +02:00
Morris Jobke f2d05eacc6
VersioningTest:729 is unreliable and should be disabled
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-12 22:03:42 +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