]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
4 years agoMerge pull request #23384 from nextcloud/backport/23284/stable20
Christoph Wurst [Wed, 14 Oct 2020 13:58:46 +0000 (15:58 +0200)]
Merge pull request #23384 from nextcloud/backport/23284/stable20

[stable20] Fix adminpass strengthify margin

4 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 14 Oct 2020 02:18:55 +0000 (02:18 +0000)]
[tx-robot] updated from transifex

4 years agoMerge pull request #23420 from nextcloud/backport/23402/stable20
Morris Jobke [Tue, 13 Oct 2020 19:43:53 +0000 (21:43 +0200)]
Merge pull request #23420 from nextcloud/backport/23402/stable20

[stable20] Encode requesttoken for logout url in auto logout

4 years agoEncode requesttoken for logout url in auto logout 23420/head
Julius Härtl [Tue, 13 Oct 2020 06:43:27 +0000 (08:43 +0200)]
Encode requesttoken for logout url in auto logout

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoMerge pull request #23395 from nextcloud/backport/23300/stable20
Morris Jobke [Tue, 13 Oct 2020 15:46:32 +0000 (17:46 +0200)]
Merge pull request #23395 from nextcloud/backport/23300/stable20

[stable20] Stop transfer of ownership between same users

4 years agoMerge pull request #23403 from nextcloud/backport/23396/stable20
Christoph Wurst [Tue, 13 Oct 2020 09:45:24 +0000 (11:45 +0200)]
Merge pull request #23403 from nextcloud/backport/23396/stable20

[stable20] VersioningTest.php:729 is unreliable and should be disabled

4 years agoVersioningTest:729 is unreliable and should be disabled 23403/head
Morris Jobke [Mon, 12 Oct 2020 20:02:58 +0000 (22:02 +0200)]
VersioningTest:729 is unreliable and should be disabled

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoMerge pull request #23281 from nextcloud/backport/23269/stable20
Morris Jobke [Mon, 12 Oct 2020 22:29:44 +0000 (00:29 +0200)]
Merge pull request #23281 from nextcloud/backport/23269/stable20

[stable20] Fix the user remove from group in UI

4 years agoStop transfer of ownership between same users 23395/head
Sujith Haridasan [Fri, 9 Oct 2020 05:20:03 +0000 (10:50 +0530)]
Stop transfer of ownership between same users

Stop the transfer of ownership between same user.

Signed-off-by: Sujith Haridasan <sujith.h@gmail.com>
4 years agoCompile assets 23281/head
npmbuildbot[bot] [Mon, 12 Oct 2020 19:53:34 +0000 (19:53 +0000)]
Compile assets

Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoMerge pull request #23388 from nextcloud/backport/23378/stable20
Morris Jobke [Mon, 12 Oct 2020 19:50:14 +0000 (21:50 +0200)]
Merge pull request #23388 from nextcloud/backport/23378/stable20

[stable20] Fix typo 'shared'

4 years agoMerge pull request #23390 from nextcloud/backport/23379/stable20
Morris Jobke [Mon, 12 Oct 2020 19:38:25 +0000 (21:38 +0200)]
Merge pull request #23390 from nextcloud/backport/23379/stable20

[stable20] Expose CLOUD federation for local users in the recent addressbook

4 years agoDrop X-NEXTCLOUD-UID 23390/head
John Molakvoæ (skjnldsv) [Mon, 12 Oct 2020 14:56:20 +0000 (16:56 +0200)]
Drop X-NEXTCLOUD-UID

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
4 years agoExpose CLOUD federation for local users as well
John Molakvoæ (skjnldsv) [Mon, 12 Oct 2020 12:55:02 +0000 (14:55 +0200)]
Expose CLOUD federation for local users as well

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
4 years agoFix code style 23388/head
Morris Jobke [Mon, 12 Oct 2020 12:54:51 +0000 (14:54 +0200)]
Fix code style

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoFix typo 'shared'
Robin Windey [Mon, 12 Oct 2020 12:19:41 +0000 (14:19 +0200)]
Fix typo 'shared'

4 years agoMerge pull request #23383 from nextcloud/backport/23371/stable20
kesselb [Mon, 12 Oct 2020 17:12:21 +0000 (19:12 +0200)]
Merge pull request #23383 from nextcloud/backport/23371/stable20

[stable20] Add Psalm type for the bootstrap registration context

4 years agoFix adminpass strengthify margin 23384/head
Richard Steinmetz [Thu, 8 Oct 2020 11:58:54 +0000 (13:58 +0200)]
Fix adminpass strengthify margin

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
4 years agoAdd Psalm type for the bootstrap registration context 23383/head
Christoph Wurst [Mon, 12 Oct 2020 09:23:37 +0000 (11:23 +0200)]
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>
4 years agoMerge pull request #23375 from nextcloud/backport/23310/stable20
Morris Jobke [Mon, 12 Oct 2020 11:50:35 +0000 (13:50 +0200)]
Merge pull request #23375 from nextcloud/backport/23310/stable20

[stable20] Add template typing to the QBMapper

4 years agoAdd template typing to the QBMapper 23375/head
Christoph Wurst [Fri, 9 Oct 2020 12:27:59 +0000 (14:27 +0200)]
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>
4 years agoMerge pull request #23288 from nextcloud/backport/23275/stable20
Roeland Jago Douma [Thu, 8 Oct 2020 18:06:03 +0000 (20:06 +0200)]
Merge pull request #23288 from nextcloud/backport/23275/stable20

[stable20] Fix dashboard statuses sort

4 years agofix dashboard statuses sort function 23288/head
Julien Veyssier [Thu, 8 Oct 2020 09:09:29 +0000 (11:09 +0200)]
fix dashboard statuses sort function

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoFix the user remove from group in UI
Sujith Haridasan [Thu, 8 Oct 2020 06:11:13 +0000 (11:41 +0530)]
Fix the user remove from group in UI

Fix the removal of user from the group in UI.

Signed-off-by: Sujith Haridasan <sujith.h@gmail.com>
4 years agoMerge pull request #23271 from nextcloud/fix/sidebar-updateTabs
John Molakvoæ [Thu, 8 Oct 2020 10:25:59 +0000 (12:25 +0200)]
Merge pull request #23271 from nextcloud/fix/sidebar-updateTabs

Fix sidebar updateTabs method

4 years agoMerge pull request #23256 from nextcloud/backport/23184/stable20
Roeland Jago Douma [Thu, 8 Oct 2020 09:49:03 +0000 (11:49 +0200)]
Merge pull request #23256 from nextcloud/backport/23184/stable20

[stable20] Make sure getUsersFavoritingObject can be run without a user

4 years agoFix sidebar updateTabs method 23271/head
John Molakvoæ (skjnldsv) [Thu, 8 Oct 2020 07:20:16 +0000 (09:20 +0200)]
Fix sidebar updateTabs method

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoMake sure getUsersFavoritingObject can be run without a user 23256/head
Joas Schilling [Mon, 5 Oct 2020 12:57:13 +0000 (14:57 +0200)]
Make sure getUsersFavoritingObject can be run without a user

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoMerge pull request #23254 from nextcloud/backport/23252/stable20
Morris Jobke [Wed, 7 Oct 2020 10:24:28 +0000 (12:24 +0200)]
Merge pull request #23254 from nextcloud/backport/23252/stable20

[stable20] Use the correct l10n for activities

4 years agoUse the correct l10n for activities 23254/head
Roeland Jago Douma [Wed, 7 Oct 2020 08:50:06 +0000 (10:50 +0200)]
Use the correct l10n for activities

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoMerge pull request #23216 from nextcloud/backport/23183/stable20
Roeland Jago Douma [Wed, 7 Oct 2020 09:06:53 +0000 (11:06 +0200)]
Merge pull request #23216 from nextcloud/backport/23183/stable20

[stable20] Don't influence toastify errors and always use white

4 years agoMerge pull request #23235 from nextcloud/backport/22974/stable20
Morris Jobke [Tue, 6 Oct 2020 20:13:15 +0000 (22:13 +0200)]
Merge pull request #23235 from nextcloud/backport/22974/stable20

[stable20] Fix appid in translation

4 years agoFix appid in translation 23235/head
Joas Schilling [Tue, 6 Oct 2020 16:55:40 +0000 (18:55 +0200)]
Fix appid in translation

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoMerge pull request #23213 from nextcloud/backport/22937/stable20
Morris Jobke [Tue, 6 Oct 2020 14:07:54 +0000 (16:07 +0200)]
Merge pull request #23213 from nextcloud/backport/22937/stable20

[stable20] Allow configuring the activity update interval of token

4 years agoMerge pull request #23220 from nextcloud/backport/23215/stable20
Roeland Jago Douma [Tue, 6 Oct 2020 12:46:06 +0000 (14:46 +0200)]
Merge pull request #23220 from nextcloud/backport/23215/stable20

[stable20] Only run the query to get the account data once

4 years agoMerge pull request #23195 from nextcloud/backport/23175/stable20
Roeland Jago Douma [Tue, 6 Oct 2020 11:29:26 +0000 (13:29 +0200)]
Merge pull request #23195 from nextcloud/backport/23175/stable20

[stable20] Fix legacy update notifications

4 years agoMerge pull request #23170 from nextcloud/backport/22913/stable20
Roeland Jago Douma [Tue, 6 Oct 2020 11:18:12 +0000 (13:18 +0200)]
Merge pull request #23170 from nextcloud/backport/22913/stable20

[stable20] add mount point to quota warning message

4 years agoMerge pull request #23211 from nextcloud/backport/23096/stable20
Roeland Jago Douma [Tue, 6 Oct 2020 11:07:11 +0000 (13:07 +0200)]
Merge pull request #23211 from nextcloud/backport/23096/stable20

[stable20] Also check the path based mimetype for flow rule checks

4 years agoOnly run the query to get the account data once 23220/head
Joas Schilling [Tue, 6 Oct 2020 08:34:34 +0000 (10:34 +0200)]
Only run the query to get the account data once

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoDon't influence toastify errors and always use white 23216/head
Joas Schilling [Mon, 5 Oct 2020 12:12:23 +0000 (14:12 +0200)]
Don't influence toastify errors and always use white

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoAllow configuring the activity update interval of token 23213/head
Roeland Jago Douma [Fri, 18 Sep 2020 10:34:43 +0000 (12:34 +0200)]
Allow configuring the activity update interval of token

On some systems with a lot of users this creates a lot of extra DB
writes.
Being able to increase this interval helps there.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoMerge pull request #23185 from nextcloud/backport/23109/stable20
Morris Jobke [Tue, 6 Oct 2020 07:10:57 +0000 (09:10 +0200)]
Merge pull request #23185 from nextcloud/backport/23109/stable20

[stable20] dont hold a transaction during the move to trash

4 years agoMerge pull request #23207 from nextcloud/backport/23028/stable20
Morris Jobke [Tue, 6 Oct 2020 07:09:34 +0000 (09:09 +0200)]
Merge pull request #23207 from nextcloud/backport/23028/stable20

[stable20] Fix array to string conversion on event search

4 years agoMake sure to check the mimetype on the path if a secure one could not be detemined... 23211/head
Julius Härtl [Tue, 29 Sep 2020 13:52:48 +0000 (15:52 +0200)]
Make sure to check the mimetype on the path if a secure one could not be detemined though the content

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoFix array to string conversion on event search 23207/head
Joas Schilling [Thu, 24 Sep 2020 11:52:24 +0000 (13:52 +0200)]
Fix array to string conversion on event search

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoMerge pull request #23203 from nextcloud/backport/23182/stable20
Morris Jobke [Mon, 5 Oct 2020 21:03:48 +0000 (23:03 +0200)]
Merge pull request #23203 from nextcloud/backport/23182/stable20

[stable20] Fix the user email issue while creating a user

4 years agoFix the user email issue while creating a user 23203/head
Sujith Haridasan [Mon, 5 Oct 2020 10:39:00 +0000 (16:09 +0530)]
Fix the user email issue while creating a user

When the user is created, the provisioning api
was not adding the email address of the user
when provided if the `send email to new user`
is not set.

Signed-off-by: Sujith Haridasan <sujith.h@gmail.com>
4 years agoFix unit tests 23170/head
Roeland Jago Douma [Mon, 5 Oct 2020 13:49:00 +0000 (15:49 +0200)]
Fix unit tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoMerge pull request #23192 from nextcloud/backport/23179/stable20
Roeland Jago Douma [Mon, 5 Oct 2020 18:01:30 +0000 (20:01 +0200)]
Merge pull request #23192 from nextcloud/backport/23179/stable20

[stable20] Fix dashboard rendering if accessibility app is disabled

4 years agoFix dashboard rendering if accessibility app is disabled 23192/head
Julius Härtl [Mon, 5 Oct 2020 07:17:23 +0000 (09:17 +0200)]
Fix dashboard rendering if accessibility app is disabled

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoFix legacy update notifications 23195/head
mrtnmtth [Sun, 4 Oct 2020 13:51:44 +0000 (15:51 +0200)]
Fix legacy update notifications

Signed-off-by: mrtnmtth <mrtn.mtth@gmx.de>
4 years agodont hold a transaction during the move to trash 23185/head
Robin Appelman [Wed, 30 Sep 2020 12:30:54 +0000 (14:30 +0200)]
dont hold a transaction during the move to trash

because moving to trash can take a long time, keeping a transaction active for the duration can lead to issues

Signed-off-by: Robin Appelman <robin@icewind.nl>
4 years agoadd mount point to quota warning message
Robin Appelman [Thu, 17 Sep 2020 14:19:41 +0000 (16:19 +0200)]
add mount point to quota warning message

makes it more clear to the user what the quota applies to

Signed-off-by: Robin Appelman <robin@icewind.nl>
4 years agoMerge pull request #23071 from nextcloud/version/20.0.0/final v20.0.0
Roeland Jago Douma [Fri, 2 Oct 2020 16:42:10 +0000 (18:42 +0200)]
Merge pull request #23071 from nextcloud/version/20.0.0/final

20 final

4 years agoMerge pull request #23143 from nextcloud/backport/23114/stable20
Roeland Jago Douma [Fri, 2 Oct 2020 16:33:17 +0000 (18:33 +0200)]
Merge pull request #23143 from nextcloud/backport/23114/stable20

[stable20]  Show icon only with dnd status in the message

4 years agoShow the full status and icon all the time 23143/head
Joas Schilling [Fri, 2 Oct 2020 12:05:41 +0000 (14:05 +0200)]
Show the full status and icon all the time

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoShow icon only with dnd status in the message
Julius Härtl [Wed, 30 Sep 2020 14:38:38 +0000 (16:38 +0200)]
Show icon only with dnd status in the message

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoMerge pull request #23141 from nextcloud/backport/23136/stable20
Roeland Jago Douma [Fri, 2 Oct 2020 15:01:03 +0000 (17:01 +0200)]
Merge pull request #23141 from nextcloud/backport/23136/stable20

[stable20] Mark all compiled JS as binary

4 years agoMerge pull request #23132 from nextcloud/backport/23130/stable20
Roeland Jago Douma [Fri, 2 Oct 2020 14:58:35 +0000 (16:58 +0200)]
Merge pull request #23132 from nextcloud/backport/23130/stable20

[stable20] Move online status into modal

4 years agoMark all compiled JS as binary 23141/head
Joas Schilling [Fri, 2 Oct 2020 10:21:05 +0000 (12:21 +0200)]
Mark all compiled JS as binary

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoBump @nextcloud/vue to v2.6.8 23132/head
John Molakvoæ (skjnldsv) [Fri, 2 Oct 2020 10:21:22 +0000 (12:21 +0200)]
Bump @nextcloud/vue to v2.6.8

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
4 years agoFix subline hint
John Molakvoæ (skjnldsv) [Fri, 2 Oct 2020 10:07:38 +0000 (12:07 +0200)]
Fix subline hint

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
4 years agoShow the subline
Joas Schilling [Fri, 2 Oct 2020 07:31:43 +0000 (09:31 +0200)]
Show the subline

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoSet status is also there now
Joas Schilling [Fri, 2 Oct 2020 07:12:03 +0000 (09:12 +0200)]
Set status is also there now

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoUpdate @nextcloud/vue to 2.6.7
Joas Schilling [Fri, 2 Oct 2020 07:08:22 +0000 (09:08 +0200)]
Update @nextcloud/vue to 2.6.7

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoStatus: Add subline for Invisible to explain it properly
Jan C. Borchardt [Thu, 1 Oct 2020 21:36:35 +0000 (23:36 +0200)]
Status: Add subline for Invisible to explain it properly

Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
4 years agoEnable scrollbar for too long content, same way as in Dashboard customize
Jan C. Borchardt [Thu, 1 Oct 2020 21:34:19 +0000 (23:34 +0200)]
Enable scrollbar for too long content, same way as in Dashboard customize

Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
4 years agoMove online status into modal
John Molakvoæ (skjnldsv) [Thu, 1 Oct 2020 20:10:10 +0000 (22:10 +0200)]
Move online status into modal

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
4 years agoMerge pull request #23089 from nextcloud/backport/23074/stable20
Roeland Jago Douma [Thu, 1 Oct 2020 17:29:39 +0000 (19:29 +0200)]
Merge pull request #23089 from nextcloud/backport/23074/stable20

[stable20] Do not match sharees on an empty email address

4 years agoMerge pull request #23115 from nextcloud/backport/23108/stable20
Roeland Jago Douma [Thu, 1 Oct 2020 17:23:51 +0000 (19:23 +0200)]
Merge pull request #23115 from nextcloud/backport/23108/stable20

[stable20] Reset the user status when clearing the custom message

4 years agoMerge pull request #23121 from nextcloud/backport/23112/stable20
Roeland Jago Douma [Thu, 1 Oct 2020 13:09:51 +0000 (15:09 +0200)]
Merge pull request #23121 from nextcloud/backport/23112/stable20

[stable20] Increase the timeout of statuses

4 years agoIncrease the timeout of statuses 23121/head
Joas Schilling [Wed, 30 Sep 2020 14:17:18 +0000 (16:17 +0200)]
Increase the timeout of statuses

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoMerge pull request #23116 from nextcloud/backport/23113/stable20
Roeland Jago Douma [Thu, 1 Oct 2020 06:29:27 +0000 (08:29 +0200)]
Merge pull request #23116 from nextcloud/backport/23113/stable20

[stable20] Change wording from 'custom status' to 'status message'

4 years agoChange wording from 'custom status' to 'status message' 23116/head
Jan C. Borchardt [Wed, 30 Sep 2020 14:15:29 +0000 (16:15 +0200)]
Change wording from 'custom status' to 'status message'

Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
Signed-off-by: Gary Kim <gary@garykim.dev>
4 years agoReset the user status when clearing the custom message 23115/head
Joas Schilling [Wed, 30 Sep 2020 12:12:02 +0000 (14:12 +0200)]
Reset the user status when clearing the custom message

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoMerge pull request #23098 from nextcloud/backport/22999/stable20
Roeland Jago Douma [Wed, 30 Sep 2020 11:48:05 +0000 (13:48 +0200)]
Merge pull request #23098 from nextcloud/backport/22999/stable20

[stable20] Adjust scroll container height to make it a proper boundary element for actions

4 years agoMerge pull request #23095 from nextcloud/backport/23043/stable20
Roeland Jago Douma [Tue, 29 Sep 2020 19:35:17 +0000 (21:35 +0200)]
Merge pull request #23095 from nextcloud/backport/23043/stable20

[stable20] Avoid crash when unauthenticated users make weather-related requests

4 years agoAdjust scroll container height to make it a proper boundary element for actions 23098/head
Julius Härtl [Tue, 22 Sep 2020 10:23:53 +0000 (12:23 +0200)]
Adjust scroll container height to make it a proper boundary element for actions

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoMerge pull request #23092 from nextcloud/backport/23083/stable20
Roeland Jago Douma [Tue, 29 Sep 2020 14:38:56 +0000 (16:38 +0200)]
Merge pull request #23092 from nextcloud/backport/23083/stable20

[stable20] Generate exception to log on php errors

4 years agoavoid crash when unauthenticated users make weather-related requests, mention it... 23095/head
Julien Veyssier [Fri, 25 Sep 2020 08:42:30 +0000 (10:42 +0200)]
avoid crash when unauthenticated users make weather-related requests, mention it in UI

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
4 years agoMerge pull request #23085 from nextcloud/backport/23013/stable20
Roeland Jago Douma [Tue, 29 Sep 2020 10:16:00 +0000 (12:16 +0200)]
Merge pull request #23085 from nextcloud/backport/23013/stable20

[stable20] Show federation and email results also with exact user match unless c…

4 years agoMerge pull request #23084 from nextcloud/backport/22983/stable20
Roeland Jago Douma [Tue, 29 Sep 2020 09:52:15 +0000 (11:52 +0200)]
Merge pull request #23084 from nextcloud/backport/22983/stable20

[stable20] Sync all users to the system addresssbook

4 years agoGenerate exception to log on php errors 23092/head
Julius Härtl [Tue, 29 Sep 2020 06:54:53 +0000 (08:54 +0200)]
Generate exception to log on php errors

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoDo not match sharees on an empty email address 23089/head
Christoph Wurst [Mon, 28 Sep 2020 13:35:11 +0000 (15:35 +0200)]
Do not match sharees on an empty email address

When asking for sharees we compare not only UID and displayname but also
the email address. And if that matches we return the sharee as an exact
match. This logic had a flaw as in that it also matched the empty string
to users with no email address.

This is most noticeable when you disable sharee enumeration and open the
ownership transfer dialog. It suggested other users of the instance
before. This has stopped now.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoShow federation and email results also with exact user match unless containing @ 23085/head
Joas Schilling [Wed, 23 Sep 2020 08:21:55 +0000 (10:21 +0200)]
Show federation and email results also with exact user match unless containing @

Before when you have a user "smith" and a federated user "smith@example.com"
you could see the federation result with "smit" but not with "smith" anymore.
With most LDAP configurations and local backend setups this is disturbing and
causes issues.
The idea of not showing the email and federation on a matching user was with:
Local user registered with "smith@example.com" user id and having that same
email / cloud id in your contacts addressbook. So we now only hide those
"side results" when the search does contain an @

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoSync all users to the system addresssbook 23084/head
Joas Schilling [Mon, 21 Sep 2020 07:01:39 +0000 (09:01 +0200)]
Sync all users to the system addresssbook

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoMerge pull request #23072 from nextcloud/backport/23051/stable20
Roeland Jago Douma [Mon, 28 Sep 2020 10:40:18 +0000 (12:40 +0200)]
Merge pull request #23072 from nextcloud/backport/23051/stable20

[stable20] Fix app text going too far down on hover/focus

4 years agoMerge pull request #23029 from nextcloud/backport/23024/stable20
Roeland Jago Douma [Mon, 28 Sep 2020 10:24:23 +0000 (12:24 +0200)]
Merge pull request #23029 from nextcloud/backport/23024/stable20

[stable20] Add occ command to set theming values

4 years agoFix app text going too far down on hover/focus 23072/head
Jan C. Borchardt [Fri, 25 Sep 2020 15:17:26 +0000 (17:17 +0200)]
Fix app text going too far down on hover/focus

Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
4 years agoMerge pull request #23032 from nextcloud/backport/23015/stable20
Roeland Jago Douma [Mon, 28 Sep 2020 07:33:56 +0000 (09:33 +0200)]
Merge pull request #23032 from nextcloud/backport/23015/stable20

[stable20] Log slow dashboard widgets

4 years agoMerge pull request #23048 from nextcloud/backport/23034/stable20
Roeland Jago Douma [Mon, 28 Sep 2020 07:32:40 +0000 (09:32 +0200)]
Merge pull request #23048 from nextcloud/backport/23034/stable20

[stable20] Fix numeric folders throwing on markDirty

4 years ago20 final 23071/head
Roeland Jago Douma [Mon, 28 Sep 2020 07:28:36 +0000 (09:28 +0200)]
20 final

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoFix numeric folders throwing on markDirty 23048/head
Joas Schilling [Thu, 24 Sep 2020 12:58:44 +0000 (14:58 +0200)]
Fix numeric folders throwing on markDirty

TypeError: strpos() expects parameter 1 to be string, int given

The problem is that in cacheNode() we strip of any slashes, so
a folder "0/" will be trimmed to "0" and be used as an array key.
Since PHP automatically casts numeric array keys to integers,
you afterwards get $nodePath as int(0). Since it's now a number,
the strpos() function does not accept it anymore. Simply casting
$nodePath to a string again in the foreach solves the issue

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoMerge pull request #23030 from nextcloud/backport/22948/stable20
Roeland Jago Douma [Thu, 24 Sep 2020 19:32:28 +0000 (21:32 +0200)]
Merge pull request #23030 from nextcloud/backport/22948/stable20

[stable20] Add more integration tests for "files:transfer-ownership" command

4 years agoMerge pull request #23038 from nextcloud/fix-running-video-verification-integration...
Roeland Jago Douma [Thu, 24 Sep 2020 19:30:23 +0000 (21:30 +0200)]
Merge pull request #23038 from nextcloud/fix-running-video-verification-integration-tests-in-drone-in-stable20

[stable20] Fix running video verification integration tests in Drone

4 years agoFix running video verification integration tests in Drone in stable20 23038/head
Daniel Calviño Sánchez [Thu, 24 Sep 2020 14:52:04 +0000 (16:52 +0200)]
Fix running video verification integration tests in Drone in stable20

In order to run the video verification integration tests the Talk app
needs to be cloned in a branch compatible with the server.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
4 years agoLog a warning if a "lazy" initial state loads longer than 1 second 23032/head
Joas Schilling [Wed, 23 Sep 2020 10:14:31 +0000 (12:14 +0200)]
Log a warning if a "lazy" initial state loads longer than 1 second

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoLog an error if a dashboard widget loads longer than 1 second
Joas Schilling [Wed, 23 Sep 2020 10:14:01 +0000 (12:14 +0200)]
Log an error if a dashboard widget loads longer than 1 second

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoAdd integration tests to check that only the given path is transferred 23030/head
Daniel Calviño Sánchez [Fri, 18 Sep 2020 16:35:06 +0000 (18:35 +0200)]
Add integration tests to check that only the given path is transferred

Until recently (it was fixed in ac2999a26a) when a path was transferred
other shares with the target user were removed, so a test was added to
ensure that it does not happen again.

Besides that a test to ensure that other files with the target user are
not transferred was added too (it did not fail before, but seemed
convenient to have that covered too :-) ).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
4 years agoAdd integration tests for transferring files of a user with a risky name
Daniel Calviño Sánchez [Fri, 18 Sep 2020 16:32:59 +0000 (18:32 +0200)]
Add integration tests for transferring files of a user with a risky name

The files:transfer-ownership performs a sanitization of users with
"risky" display names (including characters like "\" or "/").

In order to allow (escaped) double quotes in the display name the
regular expression used in the "user XXX with displayname YYY exists"
step had to be adjusted.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>