Commit graph

55646 commits

Author SHA1 Message Date
dependabot-preview[bot]
8b89aa4e64
Bump vimeo/psalm from 3.17.1 to 3.17.2
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 3.17.1 to 3.17.2.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/3.17.1...3.17.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-16 05:13:31 +00:00
Nextcloud bot
b13d9bcca6
[tx-robot] updated from transifex 2020-10-16 02:18:11 +00:00
Morris Jobke
95020a4787
Merge pull request #23479 from nextcloud/techdebt/noid/typed-migration-template
Make the migration template typed
2020-10-16 00:33:50 +02:00
Morris Jobke
000c4b49f9
Merge pull request #23481 from nextcloud/enhancement/psalm-typed-event-dispatcher
Add psalm types for the event dispatcher
2020-10-16 00:32:04 +02:00
John Molakvoæ
4bcf2ac639
Merge pull request #15999 from gary-kim/bugfix/15954/set-favicon-ico 2020-10-15 17:09:29 +02:00
Christoph Wurst
b47a2730c0
Type the authentication listeners
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-15 16:43:21 +02:00
Christoph Wurst
e646d7d5a9
Add psalm types for the event dispatcher
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-15 16:23:26 +02:00
Joas Schilling
600381f82a
Make the migration template typed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-10-15 16:08:50 +02:00
Morris Jobke
87f8a09ac9
Merge pull request #23464 from nextcloud/enhancement/psalm-typed-migration-schema-closure
Add psalm types for the migration schema closure
2020-10-15 13:21:44 +02:00
Christoph Wurst
65fb50f9fb
Add psalm types for the migration schema closure
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-15 10:58:51 +02:00
John Molakvoæ
20e8b266b5
Merge pull request #23448 from nextcloud/fix/sidebar-standalone
Fix app sidebar mountpoint
2020-10-15 07:46:17 +02:00
Nextcloud bot
ce57372471
[tx-robot] updated from transifex 2020-10-15 02:18:25 +00:00
Gary Kim
dfa17e9174
Allow setting favicon with a .ico file
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-10-14 18:19:23 -04:00
Morris Jobke
02fa6a77c3
Merge pull request #23097 from nextcloud/bugfix/noid/trashbin-query-versions
Restrict query when searching for versions of trashbin files
2020-10-14 22:50:02 +02:00
John Molakvoæ (skjnldsv)
2ead7732a7 Fix app sidebar mountpoint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-14 16:17:53 +00:00
Morris Jobke
9979b6d4e0
Merge pull request #23377 from nextcloud/enhancement/psalm-annotate-icontainer
Annotate IContainer so Psalm knows what resove and query return
2020-10-14 17:04:37 +02:00
Morris Jobke
2b36842e13
Merge pull request #23436 from nextcloud/fix/23158/remove-posix_getpwuid
Remove posix_getpwuid and compare only userid
2020-10-14 16:48:50 +02:00
Julius Härtl
2616a784c9
Restrict query when searching for versions of trashbin files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-14 16:38:30 +02:00
Christoph Wurst
f464ef050b
Fix type errors detected by Psalm
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-14 15:40:12 +02:00
Christoph Wurst
f9f20b63f4
Annotate IContainer so Psalm knows what resove and query return
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-14 12:29:26 +02:00
Morris Jobke
a41b273bcd
Merge pull request #23434 from nextcloud/dependachristoph/composer/vimeo-psalm-3.17.1
Bump vimeo/psalm from 3.15 to 3.17.1
2020-10-14 12:28:01 +02:00
Christoph Wurst
2c40d2cf45
Bump vimeo/psalm from 3.15 to 3.17.1
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-14 11:47:54 +02:00
Nextcloud bot
42fcc74b67
[tx-robot] updated from transifex 2020-10-14 02:18:46 +00:00
dependabot-preview[bot]
a560c30725
Merge pull request #23155 from nextcloud/dependabot/npm_and_yarn/dompurify-2.1.1 2020-10-13 23:49:41 +00:00
dependabot-preview[bot]
12baebce29 Bump dompurify from 2.0.15 to 2.1.1
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.15 to 2.1.1.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.15...2.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-13 21:43:15 +00:00
Morris Jobke
78a044900f
Merge pull request #23401 from nextcloud/techdebt/psalm-no-global
Use own psalm instead of a global one
2020-10-13 23:34:17 +02:00
Morris Jobke
106c8d719c
Do not fail on changes to baseline.xml
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-13 21:55:37 +02:00
Nextcloud bot
55b923e1fd
[tx-robot] updated from transifex 2020-10-13 19:33:40 +00:00
Morris Jobke
0c67de3109
Merge pull request #23286 from nextcloud/design/deleted-sorting
Sort deleted files by most recently deleted first
2020-10-13 19:42:13 +02:00
blizzz
060286c51a
Merge pull request #23021 from nextcloud/notify-saved-login-auth
allow using saved login credentials for notify
2020-10-13 19:39:31 +02:00
Christoph Wurst
081e9ac47f
Use own psalm instead of a global one
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-13 17:55:37 +02:00
Morris Jobke
a70f283734
Merge pull request #23409 from nextcloud/fix/cache-entry-array-access
The file cache entry is array accessible
2020-10-13 17:54:21 +02:00
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
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