Skip to content

emit typed event for user management - #22649

Merged
blizzz merged 1 commit into
masterfrom
fix/noid/user-settings-event
Sep 8, 2020
Merged

emit typed event for user management#22649
blizzz merged 1 commit into
masterfrom
fix/noid/user-settings-event

Conversation

@blizzz

Copy link
Copy Markdown
Member

Next to the legacy event, fire a typed event. Needed for impersonate's IBootstrap implementation

@blizzz

blizzz commented Sep 7, 2020

Copy link
Copy Markdown
MemberAuthor

Psalm's complaint is unrelated.

@blizzz
blizzzforce-pushed the fix/noid/user-settings-event branch from 61c22d4 to 023e52eCompareSeptember 7, 2020 16:01
Comment threadapps/settings/lib/Events/LoadAdditionalScriptsEvent.php Outdated
@blizzzblizzz removed the 3. to review Waiting for reviews label Sep 7, 2020
@blizzz
blizzzforce-pushed the fix/noid/user-settings-event branch from 023e52e to c9a6e23CompareSeptember 7, 2020 21:03
@rullzerrullzer mentioned this pull request Sep 8, 2020
13 tasks
@blizzz
blizzzforce-pushed the fix/noid/user-settings-event branch from c9a6e23 to 895a750CompareSeptember 8, 2020 09:21
@ChristophWurstChristophWurst added the 3. to review Waiting for reviews label Sep 8, 2020
@blizzz
blizzzforce-pushed the fix/noid/user-settings-event branch from 895a750 to 249a585CompareSeptember 8, 2020 09:23
@blizzz

Copy link
Copy Markdown
MemberAuthor

should be mentioned then in #20953 (comment) as well

@kesselbkesselb left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@skjnldsv

Copy link
Copy Markdown
Member

LGTM

ci says no

@blizzz
blizzzforce-pushed the fix/noid/user-settings-event branch from 249a585 to 452c86cCompareSeptember 8, 2020 20:31
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
@blizzz
blizzzforce-pushed the fix/noid/user-settings-event branch from 452c86c to f959828CompareSeptember 8, 2020 20:50
@faily-bot

faily-botBot commented Sep 8, 2020

Copy link
Copy Markdown

🤖 beep boop beep 🤖

Here are the logs for the failed build:

Status of 32860: failure

jsunit

Show full log
PhantomJS 2.1.1 (Linux 0.0.0) WARN: 'No OC found'
PhantomJS 2.1.1 (Linux 0.0.0) LOG: 'JQMIGRATE: Migrate is installed, version 1.4.1'
PhantomJS 2.1.1 (Linux 0.0.0) WARN: 'jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own.'
PhantomJS 2.1.1 (Linux 0.0.0) WARN: '$ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own.'
PhantomJS 2.1.1 (Linux 0.0.0) WARN: 'Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20'
PhantomJS 2.1.1 (Linux 0.0.0) DEBUG: 'OCA.Files.Settings initialized'
PhantomJS 2.1.1 (Linux 0.0.0) DEBUG: 'OCA.Files.Sidebar initialized'
PhantomJS 2.1.1 (Linux 0.0.0) DEBUG: 'OCA.Sharing.ShareSearch initialized'
PhantomJS 2.1.1 (Linux 0.0.0) DEBUG: 'OCA.Sharing.ExternalLinkActions initialized'
PhantomJS 2.1.1 (Linux 0.0.0): Executed 847 of 850 (skipped 3) SUCCESS (14.721 secs / 13.985 secs)

integration-sharing-v1-video-verification

  • build/integration/sharing_features/sharing-v1-video-verification.feature:8
  • build/integration/sharing_features/sharing-v1-video-verification.feature:20
  • build/integration/sharing_features/sharing-v1-video-verification.feature:33
  • build/integration/sharing_features/sharing-v1-video-verification.feature:47
  • build/integration/sharing_features/sharing-v1-video-verification.feature:62
  • build/integration/sharing_features/sharing-v1-video-verification.feature:76
  • build/integration/sharing_features/sharing-v1-video-verification.feature:91
  • build/integration/sharing_features/sharing-v1-video-verification.feature:104
  • build/integration/sharing_features/sharing-v1-video-verification.feature:118
  • build/integration/sharing_features/sharing-v1-video-verification.feature:130
  • build/integration/sharing_features/sharing-v1-video-verification.feature:145
  • build/integration/sharing_features/sharing-v1-video-verification.feature:176
  • build/integration/sharing_features/sharing-v1-video-verification.feature:209
  • build/integration/sharing_features/sharing-v1-video-verification.feature:246
  • build/integration/sharing_features/sharing-v1-video-verification.feature:260
  • build/integration/sharing_features/sharing-v1-video-verification.feature:275
  • build/integration/sharing_features/sharing-v1-video-verification.feature:291
  • build/integration/sharing_features/sharing-v1-video-verification.feature:308
  • build/integration/sharing_features/sharing-v1-video-verification.feature:324
  • build/integration/sharing_features/sharing-v1-video-verification.feature:341
  • build/integration/sharing_features/sharing-v1-video-verification.feature:356
  • build/integration/sharing_features/sharing-v1-video-verification.feature:372
  • build/integration/sharing_features/sharing-v1-video-verification.feature:386
  • build/integration/sharing_features/sharing-v1-video-verification.feature:403
  • build/integration/sharing_features/sharing-v1-video-verification.feature:419
  • build/integration/sharing_features/sharing-v1-video-verification.feature:436
  • build/integration/sharing_features/sharing-v1-video-verification.feature:453
  • build/integration/sharing_features/sharing-v1-video-verification.feature:471
Show full log
 Scenario: Creating a link share with send password by Talk # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:8
[Tue Sep 8 20:55:35 2020] 127.0.0.1:37240 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:55:35 2020] 127.0.0.1:37308 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:55:35 2020] 127.0.0.1:37396 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:55:36 2020] 127.0.0.1:37432 [200]: /ocs/v2.php/cloud/users/user0
Given user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:55:36 2020] 127.0.0.1:37464 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 3 |
| password | secret |
| sendPasswordByTalk | true |
Then the OCS status code should be "100" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6da57000000006a5721f3 (
0 => '403'
) matches expected '100'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:55:36 2020] 127.0.0.1:37502 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:55:37 2020] 127.0.0.1:37582 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:55:37 2020] 127.0.0.1:37638 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Enabling send password by Talk in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:20
[Tue Sep 8 20:55:38 2020] 127.0.0.1:37764 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:55:38 2020] 127.0.0.1:37766 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:55:39 2020] 127.0.0.1:37838 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:55:39 2020] 127.0.0.1:37914 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:55:40 2020] 127.0.0.1:37952 [200]: /ocs/v2.php/cloud/users/user0
Given user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:55:40 2020] 127.0.0.1:38000 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 3 |
[Tue Sep 8 20:55:40 2020] 127.0.0.1:38040 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/1
And Updating last share with # SharingContext::updatingLastShare()
| password | secret |
| sendPasswordByTalk | true |
Then the OCS status code should be "100" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6daec000000006a5721f3 (
0 => '403'
) matches expected '100'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:55:41 2020] 127.0.0.1:38082 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:55:41 2020] 127.0.0.1:38146 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:55:41 2020] 127.0.0.1:38218 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Enabling send password by Talk with different password in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:33
[Tue Sep 8 20:55:42 2020] 127.0.0.1:38364 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:55:43 2020] 127.0.0.1:38366 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:55:43 2020] 127.0.0.1:38436 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:55:44 2020] 127.0.0.1:38516 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:55:44 2020] 127.0.0.1:38572 [200]: /ocs/v2.php/cloud/users/user0
Given user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:55:44 2020] 127.0.0.1:38606 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 3 |
| password | secret |
[Tue Sep 8 20:55:45 2020] 127.0.0.1:38690 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/2
And Updating last share with # SharingContext::updatingLastShare()
| password | another secret |
| sendPasswordByTalk | true |
Then the OCS status code should be "100" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6db7b000000006a5721f3 (
0 => '403'
) matches expected '100'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "another secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:55:45 2020] 127.0.0.1:38726 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:55:45 2020] 127.0.0.1:38808 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:55:46 2020] 127.0.0.1:38886 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Enabling send password by Talk with different password set after creation in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:47
[Tue Sep 8 20:55:47 2020] 127.0.0.1:38992 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:55:47 2020] 127.0.0.1:38994 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:55:48 2020] 127.0.0.1:39072 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:55:48 2020] 127.0.0.1:39158 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:55:48 2020] 127.0.0.1:39208 [200]: /ocs/v2.php/cloud/users/user0
Given user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:55:49 2020] 127.0.0.1:39246 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 3 |
[Tue Sep 8 20:55:49 2020] 127.0.0.1:39276 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/3
And Updating last share with # SharingContext::updatingLastShare()
| password | secret |
[Tue Sep 8 20:55:49 2020] 127.0.0.1:39346 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/3
And Updating last share with # SharingContext::updatingLastShare()
| password | another secret |
| sendPasswordByTalk | true |
Then the OCS status code should be "100" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6dba6000000006a5721f3 (
0 => '403'
) matches expected '100'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "another secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:55:50 2020] 127.0.0.1:39372 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:55:50 2020] 127.0.0.1:39430 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:55:51 2020] 127.0.0.1:39492 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Enabling send password by Talk with same password in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:62
[Tue Sep 8 20:55:51 2020] 127.0.0.1:39580 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:55:52 2020] 127.0.0.1:39582 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:55:52 2020] 127.0.0.1:39650 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:55:53 2020] 127.0.0.1:39728 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:55:53 2020] 127.0.0.1:39762 [200]: /ocs/v2.php/cloud/users/user0
Given user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:55:53 2020] 127.0.0.1:39804 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 3 |
| password | secret |
[Tue Sep 8 20:55:54 2020] 127.0.0.1:39856 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/4
And Updating last share with # SharingContext::updatingLastShare()
| password | secret |
| sendPasswordByTalk | true |
Then the OCS status code should be "100" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6d825000000006a5721f3 (
0 => '403'
) matches expected '100'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:55:54 2020] 127.0.0.1:39910 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:55:54 2020] 127.0.0.1:39990 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:55:55 2020] 127.0.0.1:40062 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Enabling send password by Talk with same password set after creation in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:76
[Tue Sep 8 20:55:56 2020] 127.0.0.1:40178 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:55:56 2020] 127.0.0.1:40180 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:55:57 2020] 127.0.0.1:40236 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:55:57 2020] 127.0.0.1:40290 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:55:57 2020] 127.0.0.1:40332 [200]: /ocs/v2.php/cloud/users/user0
Given user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:55:57 2020] 127.0.0.1:40364 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 3 |
[Tue Sep 8 20:55:58 2020] 127.0.0.1:40394 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/5
And Updating last share with # SharingContext::updatingLastShare()
| password | secret |
[Tue Sep 8 20:55:58 2020] 127.0.0.1:40450 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/5
And Updating last share with # SharingContext::updatingLastShare()
| password | secret |
| sendPasswordByTalk | true |
Then the OCS status code should be "100" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6d840000000006a5721f3 (
0 => '403'
) matches expected '100'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:55:59 2020] 127.0.0.1:40496 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:55:59 2020] 127.0.0.1:40590 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:00 2020] 127.0.0.1:40650 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Enabling send password by Talk without updating password in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:91
[Tue Sep 8 20:56:00 2020] 127.0.0.1:40730 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:56:00 2020] 127.0.0.1:40732 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:01 2020] 127.0.0.1:40772 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:56:01 2020] 127.0.0.1:40854 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:56:02 2020] 127.0.0.1:40904 [200]: /ocs/v2.php/cloud/users/user0
Given user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:56:02 2020] 127.0.0.1:40944 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 3 |
| password | secret |
[Tue Sep 8 20:56:02 2020] 127.0.0.1:41016 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/6
And Updating last share with # SharingContext::updatingLastShare()
| sendPasswordByTalk | true |
Then the OCS status code should be "100" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6d8c7000000006a5721f3 (
0 => '403'
) matches expected '100'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:56:03 2020] 127.0.0.1:41052 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:56:03 2020] 127.0.0.1:41134 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:04 2020] 127.0.0.1:41206 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Enabling send password by Talk without updating password set after creation in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:104
[Tue Sep 8 20:56:05 2020] 127.0.0.1:41316 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:56:05 2020] 127.0.0.1:41318 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:06 2020] 127.0.0.1:41368 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:56:06 2020] 127.0.0.1:41454 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:56:06 2020] 127.0.0.1:41490 [200]: /ocs/v2.php/cloud/users/user0
Given user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:56:06 2020] 127.0.0.1:41512 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 3 |
[Tue Sep 8 20:56:07 2020] 127.0.0.1:41546 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/7
And Updating last share with # SharingContext::updatingLastShare()
| password | secret |
[Tue Sep 8 20:56:07 2020] 127.0.0.1:41604 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/7
And Updating last share with # SharingContext::updatingLastShare()
| sendPasswordByTalk | true |
Then the OCS status code should be "100" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6d962000000006a5721f3 (
0 => '403'
) matches expected '100'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:56:08 2020] 127.0.0.1:41642 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:56:08 2020] 127.0.0.1:41722 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:09 2020] 127.0.0.1:41796 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Enabling send password by Talk with no password in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:118
[Tue Sep 8 20:56:09 2020] 127.0.0.1:41908 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:56:10 2020] 127.0.0.1:41910 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:10 2020] 127.0.0.1:41970 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:56:11 2020] 127.0.0.1:42056 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:56:11 2020] 127.0.0.1:42116 [200]: /ocs/v2.php/cloud/users/user0
Given user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:56:11 2020] 127.0.0.1:42156 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 3 |
[Tue Sep 8 20:56:12 2020] 127.0.0.1:42202 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/8
And Updating last share with # SharingContext::updatingLastShare()
| sendPasswordByTalk | true |
Then the OCS status code should be "400" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6d9e1000000006a5721f3 (
0 => '403'
) matches expected '400'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share can be downloaded # SharingContext::lastShareCanBeDownloaded()
[Tue Sep 8 20:56:12 2020] 127.0.0.1:42256 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:56:12 2020] 127.0.0.1:42338 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:13 2020] 127.0.0.1:42422 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Enabling send password by Talk with no password removed after creation in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:130
[Tue Sep 8 20:56:14 2020] 127.0.0.1:42552 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:56:14 2020] 127.0.0.1:42554 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:15 2020] 127.0.0.1:42620 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:56:15 2020] 127.0.0.1:42702 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:56:15 2020] 127.0.0.1:42742 [200]: /ocs/v2.php/cloud/users/user0
Given user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:56:16 2020] 127.0.0.1:42766 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 3 |
| password | secret |
[Tue Sep 8 20:56:16 2020] 127.0.0.1:42836 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/9
And Updating last share with # SharingContext::updatingLastShare()
| password | |
[Tue Sep 8 20:56:16 2020] 127.0.0.1:42878 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/9
And Updating last share with # SharingContext::updatingLastShare()
| sendPasswordByTalk | true |
Then the OCS status code should be "400" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6c60c000000006a5721f3 (
0 => '403'
) matches expected '400'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share can be downloaded # SharingContext::lastShareCanBeDownloaded()
[Tue Sep 8 20:56:17 2020] 127.0.0.1:42900 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:56:17 2020] 127.0.0.1:42978 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:18 2020] 127.0.0.1:43040 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Disabling send password by Talk without setting new password in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:145
[Tue Sep 8 20:56:18 2020] 127.0.0.1:43156 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:56:19 2020] 127.0.0.1:43184 [200]: /apps/testing/clean_opcode_cache.php
Given dummy mail server is listening # SharingContext::dummyMailServerIsListening()
[Tue Sep 8 20:56:19 2020] 127.0.0.1:43186 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:20 2020] 127.0.0.1:43250 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:56:20 2020] 127.0.0.1:43342 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:56:20 2020] 127.0.0.1:43392 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:56:20 2020] 127.0.0.1:43428 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 3 |
| password | secret |
| sendPasswordByTalk | true |
[Tue Sep 8 20:56:21 2020] 127.0.0.1:43484 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/
And Updating last share with # SharingContext::updatingLastShare()
| sendPasswordByTalk | false |
Then the OCS status code should be "100" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6c690000000006a5721f3 (
0 => '998'
) matches expected '100'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:56:21 2020] 127.0.0.1:43532 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:56:21 2020] 127.0.0.1:43636 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:22 2020] 127.0.0.1:43740 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:56:27 2020] 127.0.0.1:44598 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Disabling send password by Talk setting same password in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:176
[Tue Sep 8 20:56:28 2020] 127.0.0.1:44740 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:56:28 2020] 127.0.0.1:44770 [200]: /apps/testing/clean_opcode_cache.php
Given dummy mail server is listening # SharingContext::dummyMailServerIsListening()
[Tue Sep 8 20:56:29 2020] 127.0.0.1:44772 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:29 2020] 127.0.0.1:44812 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:56:29 2020] 127.0.0.1:44876 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:56:30 2020] 127.0.0.1:44912 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:56:30 2020] 127.0.0.1:44952 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 3 |
| password | secret |
| sendPasswordByTalk | true |
[Tue Sep 8 20:56:30 2020] 127.0.0.1:44986 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/
And Updating last share with # SharingContext::updatingLastShare()
| password | secret |
| sendPasswordByTalk | false |
Then the OCS status code should be "100" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6c798000000006a5721f3 (
0 => '998'
) matches expected '100'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:56:31 2020] 127.0.0.1:45020 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:56:31 2020] 127.0.0.1:45106 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:31 2020] 127.0.0.1:45180 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:56:37 2020] 127.0.0.1:45902 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Disabling send password by Talk setting new password in a link share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:209
[Tue Sep 8 20:56:38 2020] 127.0.0.1:46020 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:56:38 2020] 127.0.0.1:46038 [200]: /apps/testing/clean_opcode_cache.php
Given dummy mail server is listening # SharingContext::dummyMailServerIsListening()
[Tue Sep 8 20:56:38 2020] 127.0.0.1:46040 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:39 2020] 127.0.0.1:46084 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:56:39 2020] 127.0.0.1:46144 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:56:40 2020] 127.0.0.1:46160 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:56:40 2020] 127.0.0.1:46184 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 3 |
| password | secret |
| sendPasswordByTalk | true |
[Tue Sep 8 20:56:40 2020] 127.0.0.1:46228 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/
And Updating last share with # SharingContext::updatingLastShare()
| password | another secret |
| sendPasswordByTalk | false |
Then the OCS status code should be "100" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6c4ac000000006a5721f3 (
0 => '998'
) matches expected '100'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "another secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:56:41 2020] 127.0.0.1:46262 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:56:41 2020] 127.0.0.1:46316 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:41 2020] 127.0.0.1:46394 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:56:47 2020] 127.0.0.1:46962 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Creating a mail share with send password by Talk # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:246
[Tue Sep 8 20:56:48 2020] 127.0.0.1:47078 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:56:48 2020] 127.0.0.1:47102 [200]: /apps/testing/clean_opcode_cache.php
Given dummy mail server is listening # SharingContext::dummyMailServerIsListening()
[Tue Sep 8 20:56:49 2020] 127.0.0.1:47108 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:50 2020] 127.0.0.1:47148 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:56:50 2020] 127.0.0.1:47208 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:56:50 2020] 127.0.0.1:47236 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:56:50 2020] 127.0.0.1:47264 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 4 |
| shareWith | dummy@test.com |
| password | secret |
| sendPasswordByTalk | true |
Then the OCS status code should be "100" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6c5b0000000006a5721f3 (
0 => '403'
) matches expected '100'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:56:51 2020] 127.0.0.1:47290 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:56:51 2020] 127.0.0.1:47358 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:51 2020] 127.0.0.1:47404 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:56:52 2020] 127.0.0.1:47430 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Enabling send password by Talk in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:260
[Tue Sep 8 20:56:53 2020] 127.0.0.1:47538 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:56:53 2020] 127.0.0.1:47566 [200]: /apps/testing/clean_opcode_cache.php
Given dummy mail server is listening # SharingContext::dummyMailServerIsListening()
[Tue Sep 8 20:56:53 2020] 127.0.0.1:47570 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:54 2020] 127.0.0.1:47630 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:56:54 2020] 127.0.0.1:47686 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:56:55 2020] 127.0.0.1:47726 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:56:55 2020] 127.0.0.1:47758 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 4 |
| shareWith | dummy@test.com |
[Tue Sep 8 20:56:55 2020] 127.0.0.1:47790 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/13
And Updating last share with # SharingContext::updatingLastShare()
| password | secret |
| sendPasswordByTalk | true |
Then the OCS status code should be "100" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6c23c000000006a5721f3 (
0 => '403'
) matches expected '100'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:56:56 2020] 127.0.0.1:47824 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:56:56 2020] 127.0.0.1:47872 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:56 2020] 127.0.0.1:47954 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:56:57 2020] 127.0.0.1:48006 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Enabling send password by Talk with different password in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:275
[Tue Sep 8 20:56:58 2020] 127.0.0.1:48160 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:56:58 2020] 127.0.0.1:48196 [200]: /apps/testing/clean_opcode_cache.php
Given dummy mail server is listening # SharingContext::dummyMailServerIsListening()
[Tue Sep 8 20:56:58 2020] 127.0.0.1:48202 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:56:59 2020] 127.0.0.1:48272 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:56:59 2020] 127.0.0.1:48342 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:00 2020] 127.0.0.1:48380 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:57:00 2020] 127.0.0.1:48406 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 4 |
| shareWith | dummy@test.com |
| password | secret |
[Tue Sep 8 20:57:00 2020] 127.0.0.1:48480 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/14
And Updating last share with # SharingContext::updatingLastShare()
| password | another secret |
| sendPasswordByTalk | true |
Then the OCS status code should be "100" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6c243000000006a5721f3 (
0 => '403'
) matches expected '100'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "another secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:57:01 2020] 127.0.0.1:48518 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:01 2020] 127.0.0.1:48584 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:01 2020] 127.0.0.1:48666 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:02 2020] 127.0.0.1:48704 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Enabling send password by Talk with different password set after creation in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:291
[Tue Sep 8 20:57:03 2020] 127.0.0.1:48822 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:03 2020] 127.0.0.1:48846 [200]: /apps/testing/clean_opcode_cache.php
Given dummy mail server is listening # SharingContext::dummyMailServerIsListening()
[Tue Sep 8 20:57:04 2020] 127.0.0.1:48848 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:04 2020] 127.0.0.1:48902 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:57:05 2020] 127.0.0.1:48980 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:05 2020] 127.0.0.1:49006 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:57:05 2020] 127.0.0.1:49032 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 4 |
| shareWith | dummy@test.com |
[Tue Sep 8 20:57:06 2020] 127.0.0.1:49066 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/15
And Updating last share with # SharingContext::updatingLastShare()
| password | secret |
[Tue Sep 8 20:57:06 2020] 127.0.0.1:49138 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/15
And Updating last share with # SharingContext::updatingLastShare()
| password | another secret |
| sendPasswordByTalk | true |
Then the OCS status code should be "100" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6c2d0000000006a5721f3 (
0 => '403'
) matches expected '100'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "another secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:57:06 2020] 127.0.0.1:49180 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:07 2020] 127.0.0.1:49260 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:07 2020] 127.0.0.1:49322 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:08 2020] 127.0.0.1:49352 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Enabling send password by Talk with same password in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:308
[Tue Sep 8 20:57:08 2020] 127.0.0.1:49478 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:09 2020] 127.0.0.1:49516 [200]: /apps/testing/clean_opcode_cache.php
Given dummy mail server is listening # SharingContext::dummyMailServerIsListening()
[Tue Sep 8 20:57:09 2020] 127.0.0.1:49524 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:10 2020] 127.0.0.1:49570 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:57:10 2020] 127.0.0.1:49620 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:11 2020] 127.0.0.1:49668 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:57:11 2020] 127.0.0.1:49704 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 4 |
| shareWith | dummy@test.com |
| password | secret |
[Tue Sep 8 20:57:12 2020] 127.0.0.1:49788 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/16
And Updating last share with # SharingContext::updatingLastShare()
| password | secret |
| sendPasswordByTalk | true |
Then the OCS status code should be "400" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6c35d000000006a5721f3 (
0 => '403'
) matches expected '400'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:57:12 2020] 127.0.0.1:49834 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:13 2020] 127.0.0.1:49930 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:14 2020] 127.0.0.1:50096 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:15 2020] 127.0.0.1:50120 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Enabling send password by Talk with same password set after creation in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:324
[Tue Sep 8 20:57:16 2020] 127.0.0.1:50276 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:16 2020] 127.0.0.1:50308 [200]: /apps/testing/clean_opcode_cache.php
Given dummy mail server is listening # SharingContext::dummyMailServerIsListening()
[Tue Sep 8 20:57:17 2020] 127.0.0.1:50310 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:17 2020] 127.0.0.1:50362 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:57:18 2020] 127.0.0.1:50452 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:18 2020] 127.0.0.1:50502 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:57:18 2020] 127.0.0.1:50544 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 4 |
| shareWith | dummy@test.com |
[Tue Sep 8 20:57:19 2020] 127.0.0.1:50598 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/17
And Updating last share with # SharingContext::updatingLastShare()
| password | secret |
[Tue Sep 8 20:57:19 2020] 127.0.0.1:50668 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/17
And Updating last share with # SharingContext::updatingLastShare()
| password | secret |
| sendPasswordByTalk | true |
Then the OCS status code should be "400" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6c3e2000000006a5721f3 (
0 => '403'
) matches expected '400'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:57:20 2020] 127.0.0.1:50712 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:20 2020] 127.0.0.1:50782 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:20 2020] 127.0.0.1:50862 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:21 2020] 127.0.0.1:50900 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Enabling send password by Talk without updating password in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:341
[Tue Sep 8 20:57:22 2020] 127.0.0.1:51020 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:22 2020] 127.0.0.1:51046 [200]: /apps/testing/clean_opcode_cache.php
Given dummy mail server is listening # SharingContext::dummyMailServerIsListening()
[Tue Sep 8 20:57:23 2020] 127.0.0.1:51048 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:23 2020] 127.0.0.1:51100 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:57:24 2020] 127.0.0.1:51148 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:24 2020] 127.0.0.1:51170 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:57:24 2020] 127.0.0.1:51202 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 4 |
| shareWith | dummy@test.com |
| password | secret |
[Tue Sep 8 20:57:25 2020] 127.0.0.1:51260 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/18
And Updating last share with # SharingContext::updatingLastShare()
| sendPasswordByTalk | true |
Then the OCS status code should be "400" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6c06f000000006a5721f3 (
0 => '403'
) matches expected '400'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:57:25 2020] 127.0.0.1:51302 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:26 2020] 127.0.0.1:51374 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:26 2020] 127.0.0.1:51424 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:27 2020] 127.0.0.1:51458 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Enabling send password by Talk without updating password set after creation in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:356
[Tue Sep 8 20:57:27 2020] 127.0.0.1:51552 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:27 2020] 127.0.0.1:51578 [200]: /apps/testing/clean_opcode_cache.php
Given dummy mail server is listening # SharingContext::dummyMailServerIsListening()
[Tue Sep 8 20:57:28 2020] 127.0.0.1:51580 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:28 2020] 127.0.0.1:51630 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:57:29 2020] 127.0.0.1:51676 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:29 2020] 127.0.0.1:51706 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:57:29 2020] 127.0.0.1:51734 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 4 |
| shareWith | dummy@test.com |
[Tue Sep 8 20:57:30 2020] 127.0.0.1:51782 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/19
And Updating last share with # SharingContext::updatingLastShare()
| password | secret |
[Tue Sep 8 20:57:30 2020] 127.0.0.1:51848 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/19
And Updating last share with # SharingContext::updatingLastShare()
| sendPasswordByTalk | true |
Then the OCS status code should be "400" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6c3c8000000006a5721f3 (
0 => '403'
) matches expected '400'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:57:31 2020] 127.0.0.1:51876 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:31 2020] 127.0.0.1:51948 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:31 2020] 127.0.0.1:52016 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:32 2020] 127.0.0.1:52056 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Enabling send password by Talk with no password in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:372
[Tue Sep 8 20:57:33 2020] 127.0.0.1:52174 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:33 2020] 127.0.0.1:52202 [200]: /apps/testing/clean_opcode_cache.php
Given dummy mail server is listening # SharingContext::dummyMailServerIsListening()
[Tue Sep 8 20:57:33 2020] 127.0.0.1:52204 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:34 2020] 127.0.0.1:52260 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:57:34 2020] 127.0.0.1:52330 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:35 2020] 127.0.0.1:52364 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:57:35 2020] 127.0.0.1:52392 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 4 |
| shareWith | dummy@test.com |
[Tue Sep 8 20:57:35 2020] 127.0.0.1:52424 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/20
And Updating last share with # SharingContext::updatingLastShare()
| sendPasswordByTalk | true |
Then the OCS status code should be "400" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6da76000000006a5721f3 (
0 => '403'
) matches expected '400'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share can be downloaded # SharingContext::lastShareCanBeDownloaded()
[Tue Sep 8 20:57:36 2020] 127.0.0.1:52458 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:36 2020] 127.0.0.1:52522 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:36 2020] 127.0.0.1:52586 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:37 2020] 127.0.0.1:52622 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Enabling send password by Talk with no password removed after creation in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:386
[Tue Sep 8 20:57:38 2020] 127.0.0.1:52722 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:38 2020] 127.0.0.1:52750 [200]: /apps/testing/clean_opcode_cache.php
Given dummy mail server is listening # SharingContext::dummyMailServerIsListening()
[Tue Sep 8 20:57:38 2020] 127.0.0.1:52752 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:39 2020] 127.0.0.1:52804 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:57:39 2020] 127.0.0.1:52852 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:39 2020] 127.0.0.1:52880 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:57:40 2020] 127.0.0.1:52904 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 4 |
| shareWith | dummy@test.com |
| password | secret |
[Tue Sep 8 20:57:40 2020] 127.0.0.1:52966 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/21
And Updating last share with # SharingContext::updatingLastShare()
| password | |
[Tue Sep 8 20:57:41 2020] 127.0.0.1:52998 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/21
And Updating last share with # SharingContext::updatingLastShare()
| sendPasswordByTalk | true |
Then the OCS status code should be "400" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6db60000000006a5721f3 (
0 => '403'
) matches expected '400'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share can be downloaded # SharingContext::lastShareCanBeDownloaded()
[Tue Sep 8 20:57:41 2020] 127.0.0.1:53028 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:41 2020] 127.0.0.1:53072 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:41 2020] 127.0.0.1:53118 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:42 2020] 127.0.0.1:53144 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Disabling send password by Talk without setting new password in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:403
[Tue Sep 8 20:57:43 2020] 127.0.0.1:53232 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:43 2020] 127.0.0.1:53264 [200]: /apps/testing/clean_opcode_cache.php
Given dummy mail server is listening # SharingContext::dummyMailServerIsListening()
[Tue Sep 8 20:57:43 2020] 127.0.0.1:53266 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:44 2020] 127.0.0.1:53306 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:57:44 2020] 127.0.0.1:53348 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:45 2020] 127.0.0.1:53378 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:57:45 2020] 127.0.0.1:53402 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 4 |
| shareWith | dummy@test.com |
| password | secret |
| sendPasswordByTalk | true |
[Tue Sep 8 20:57:45 2020] 127.0.0.1:53420 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/
And Updating last share with # SharingContext::updatingLastShare()
| sendPasswordByTalk | false |
Then the OCS status code should be "400" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6da96000000006a5721f3 (
0 => '998'
) matches expected '400'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:57:46 2020] 127.0.0.1:53444 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:46 2020] 127.0.0.1:53506 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:46 2020] 127.0.0.1:53554 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:47 2020] 127.0.0.1:53578 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Disabling send password by Talk without setting new password set after creation in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:419
[Tue Sep 8 20:57:47 2020] 127.0.0.1:53664 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:48 2020] 127.0.0.1:53682 [200]: /apps/testing/clean_opcode_cache.php
Given dummy mail server is listening # SharingContext::dummyMailServerIsListening()
[Tue Sep 8 20:57:48 2020] 127.0.0.1:53684 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:49 2020] 127.0.0.1:53718 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:57:49 2020] 127.0.0.1:53766 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:49 2020] 127.0.0.1:53794 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:57:50 2020] 127.0.0.1:53812 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 4 |
| shareWith | dummy@test.com |
[Tue Sep 8 20:57:50 2020] 127.0.0.1:53852 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/22
And Updating last share with # SharingContext::updatingLastShare()
| password | secret |
| sendPasswordByTalk | true |
[Tue Sep 8 20:57:50 2020] 127.0.0.1:53880 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/22
And Updating last share with # SharingContext::updatingLastShare()
| sendPasswordByTalk | false |
Then the OCS status code should be "400" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6d860000000006a5721f3 (
0 => '100'
) matches expected '400'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:57:51 2020] 127.0.0.1:53908 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:51 2020] 127.0.0.1:53974 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:51 2020] 127.0.0.1:54030 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:52 2020] 127.0.0.1:54060 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Disabling send password by Talk setting same password in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:436
[Tue Sep 8 20:57:52 2020] 127.0.0.1:54150 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:53 2020] 127.0.0.1:54180 [200]: /apps/testing/clean_opcode_cache.php
Given dummy mail server is listening # SharingContext::dummyMailServerIsListening()
[Tue Sep 8 20:57:53 2020] 127.0.0.1:54182 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:54 2020] 127.0.0.1:54226 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:57:54 2020] 127.0.0.1:54274 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:54 2020] 127.0.0.1:54310 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:57:54 2020] 127.0.0.1:54328 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 4 |
| shareWith | dummy@test.com |
| password | secret |
| sendPasswordByTalk | true |
[Tue Sep 8 20:57:55 2020] 127.0.0.1:54352 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/
And Updating last share with # SharingContext::updatingLastShare()
| password | secret |
| sendPasswordByTalk | false |
Then the OCS status code should be "400" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6d8d0000000006a5721f3 (
0 => '998'
) matches expected '400'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:57:55 2020] 127.0.0.1:54376 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:55 2020] 127.0.0.1:54430 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:56 2020] 127.0.0.1:54528 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:56 2020] 127.0.0.1:54544 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Disabling send password by Talk setting same password set after creation in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:453
[Tue Sep 8 20:57:57 2020] 127.0.0.1:54626 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:57:57 2020] 127.0.0.1:54650 [200]: /apps/testing/clean_opcode_cache.php
Given dummy mail server is listening # SharingContext::dummyMailServerIsListening()
[Tue Sep 8 20:57:58 2020] 127.0.0.1:54652 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:57:58 2020] 127.0.0.1:54678 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:57:59 2020] 127.0.0.1:54706 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:57:59 2020] 127.0.0.1:54726 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:57:59 2020] 127.0.0.1:54742 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 4 |
| shareWith | dummy@test.com |
[Tue Sep 8 20:57:59 2020] 127.0.0.1:54760 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares/23
And Updating last share with # SharingContext::updatingLastShare()
| password | secret |
| sendPasswordByTalk | true |
[Tue Sep 8 20:58:00 2020] 127.0.0.1:54778 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/23
And Updating last share with # SharingContext::updatingLastShare()
| password | secret |
| sendPasswordByTalk | false |
Then the OCS status code should be "400" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6d913000000006a5721f3 (
0 => '100'
) matches expected '400'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:58:00 2020] 127.0.0.1:54818 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:58:01 2020] 127.0.0.1:54848 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:58:01 2020] 127.0.0.1:54880 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:58:02 2020] 127.0.0.1:54896 [200]: /ocs/v1.php/apps/testing/api/v1/app/sharebymail/enforcePasswordProtection
Scenario: Disabling send password by Talk setting new password in a mail share # /drone/src/build/integration/sharing_features/sharing-v1-video-verification.feature:471
[Tue Sep 8 20:58:02 2020] 127.0.0.1:54958 [200]: /apps/testing/clean_opcode_cache.php
[Tue Sep 8 20:58:03 2020] 127.0.0.1:54972 [200]: /apps/testing/clean_opcode_cache.php
Given dummy mail server is listening # SharingContext::dummyMailServerIsListening()
[Tue Sep 8 20:58:03 2020] 127.0.0.1:54974 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:58:04 2020] 127.0.0.1:55000 [200]: /ocs/v1.php/cloud/users
[Tue Sep 8 20:58:04 2020] 127.0.0.1:55028 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:58:04 2020] 127.0.0.1:55052 [200]: /ocs/v2.php/cloud/users/user0
And user "user0" exists # SharingContext::assureUserExists()
And As an "user0" # SharingContext::asAn()
[Tue Sep 8 20:58:04 2020] 127.0.0.1:55070 [401]: /ocs/v1.php/apps/files_sharing/api/v1/shares
When creating a share with # SharingContext::creatingShare()
| path | welcome.txt |
| shareType | 4 |
| shareWith | dummy@test.com |
| password | secret |
| sendPasswordByTalk | true |
[Tue Sep 8 20:58:05 2020] 127.0.0.1:55082 [200]: /ocs/v1.php/apps/files_sharing/api/v1/shares/
And Updating last share with # SharingContext::updatingLastShare()
| password | another secret |
| sendPasswordByTalk | false |
Then the OCS status code should be "100" # SharingContext::theOCSStatusCodeShouldBe()
Failed asserting that SimpleXMLElement Object &0000000014d6d9a1000000006a5721f3 (
0 => '998'
) matches expected '100'.
And the HTTP status code should be "200" # SharingContext::theHTTPStatusCodeShouldBe()
And last share with password "another secret" can be downloaded # SharingContext::lastShareWithPasswordCanBeDownloaded()
[Tue Sep 8 20:58:05 2020] 127.0.0.1:55102 [200]: /ocs/v1.php/cloud/users/user0
[Tue Sep 8 20:58:05 2020] 127.0.0.1:55136 [404]: /ocs/v2.php/cloud/users/user0
[Tue Sep 8 20:58:06 2020] 127.0.0.1:55170 [200]: /apps/testing/clean_opcode_cache.php

@blizzz
blizzz merged commit 0485e68 into masterSep 8, 2020
@blizzz
blizzz deleted the fix/noid/user-settings-event branch September 8, 2020 21:50
@MorrisJobke

Copy link
Copy Markdown
Member

#14552

MorrisJobke added a commit to nextcloud/documentation that referenced this pull request Oct 29, 2020
See nextcloud/server#22649
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
backportbot-nextcloudBot pushed a commit to nextcloud/documentation that referenced this pull request Oct 29, 2020
See nextcloud/server#22649
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@blizzz@skjnldsv@MorrisJobke@ChristophWurst@kesselb