Created
April 30, 2021 06:14
-
-
Save benn8/c67b93a4f189d065a60491600b626537 to your computer and use it in GitHub Desktop.
console output
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@***:/var/www/html/core# sudo -u www-data make test-acceptance-api SKELETON_DIR=apps/testing/data/apiSkeleton BEHAT_FEATURE=tests/acceptance/features/apiComments/comments.feature SHOW_OC_LOGS=true DEBUG_ACCEPTANCE_REQUESTS=true DEBUG_ACCEPTANCE_RESPONSES=true DEBUG_ACCEPTANCE_API_CALLS=true | |
composer install | |
Installing dependencies from lock file (including require-dev) | |
Verifying lock file contents can be installed on current platform. | |
Nothing to install, update or remove | |
Package container-interop/container-interop is abandoned, you should avoid using it. Use psr/container instead. | |
Package guzzlehttp/ringphp is abandoned, you should avoid using it. No replacement was suggested. | |
Package guzzlehttp/streams is abandoned, you should avoid using it. No replacement was suggested. | |
Package patchwork/jsqueeze is abandoned, you should avoid using it. No replacement was suggested. | |
Package jakub-onderka/php-console-color is abandoned, you should avoid using it. Use php-parallel-lint/php-console-color instead. | |
Package jakub-onderka/php-console-highlighter is abandoned, you should avoid using it. Use php-parallel-lint/php-console-highlighter instead. | |
Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested. | |
Generating optimized autoload files | |
49 packages you are using are looking for funding. | |
Use the `composer fund` command to find out more! | |
Composer cleaner: Removed 5 files or directories. | |
composer bin behat install --no-progress | |
Installing dependencies from lock file (including require-dev) | |
Verifying lock file contents can be installed on current platform. | |
Nothing to install, update or remove | |
Generating autoload files | |
composer/package-versions-deprecated: Generating version class... | |
composer/package-versions-deprecated: ...done generating version class | |
61 packages you are using are looking for funding. | |
Use the `composer fund` command to find out more! | |
./tests/acceptance/run.sh --type api | |
Script path: /var/www/html/core/tests/acceptance | |
Using php inbuilt server for running scenario ... | |
8080 | |
13669 | |
8180 | |
13670 | |
[Fri Apr 30 12:43:59 2021] PHP 7.4.3 Development Server (http://localhost:8180) started | |
[Fri Apr 30 12:43:59 2021] PHP 7.4.3 Development Server (http://localhost:8080) started | |
[Fri Apr 30 12:44:04 2021] 127.0.0.1:48512 Accepted | |
[Fri Apr 30 12:44:05 2021] 127.0.0.1:48512 [400]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:05 2021] 127.0.0.1:48512 Closing | |
[Fri Apr 30 12:44:05 2021] 127.0.0.1:48514 Accepted | |
[Fri Apr 30 12:44:05 2021] 127.0.0.1:48514 [400]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:05 2021] 127.0.0.1:48514 Closing | |
[Fri Apr 30 12:44:05 2021] 127.0.0.1:48516 Accepted | |
[Fri Apr 30 12:44:06 2021] 127.0.0.1:48516 [400]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:06 2021] 127.0.0.1:48516 Closing | |
[Fri Apr 30 12:44:06 2021] 127.0.0.1:48518 Accepted | |
[Fri Apr 30 12:44:06 2021] 127.0.0.1:48518 [400]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:06 2021] 127.0.0.1:48518 Closing | |
[Fri Apr 30 12:44:06 2021] 127.0.0.1:48520 Accepted | |
[Fri Apr 30 12:44:07 2021] 127.0.0.1:48520 [400]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:07 2021] 127.0.0.1:48520 Closing | |
[Fri Apr 30 12:44:07 2021] 127.0.0.1:48522 Accepted | |
[Fri Apr 30 12:44:07 2021] 127.0.0.1:48522 [400]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:07 2021] 127.0.0.1:48522 Closing | |
[Fri Apr 30 12:44:07 2021] 127.0.0.1:48526 Accepted | |
[Fri Apr 30 12:44:08 2021] 127.0.0.1:48526 [400]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:08 2021] 127.0.0.1:48526 Closing | |
[Fri Apr 30 12:44:08 2021] 127.0.0.1:48528 Accepted | |
[Fri Apr 30 12:44:09 2021] 127.0.0.1:48528 [400]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:09 2021] 127.0.0.1:48528 Closing | |
[Fri Apr 30 12:44:09 2021] 127.0.0.1:48530 Accepted | |
[Fri Apr 30 12:44:09 2021] 127.0.0.1:48530 [400]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:09 2021] 127.0.0.1:48530 Closing | |
[Fri Apr 30 12:44:09 2021] 127.0.0.1:48532 Accepted | |
[Fri Apr 30 12:44:10 2021] 127.0.0.1:48532 [400]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:10 2021] 127.0.0.1:48532 Closing | |
[Fri Apr 30 12:44:10 2021] 127.0.0.1:48534 Accepted | |
[Fri Apr 30 12:44:10 2021] 127.0.0.1:48534 [400]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:10 2021] 127.0.0.1:48534 Closing | |
[Fri Apr 30 12:44:10 2021] 127.0.0.1:48536 Accepted | |
[Fri Apr 30 12:44:13 2021] 127.0.0.1:48536 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ/bulk | |
[Fri Apr 30 12:44:13 2021] 127.0.0.1:48536 Closing | |
[Fri Apr 30 12:44:13 2021] 127.0.0.1:48538 Accepted | |
[Fri Apr 30 12:44:13 2021] 127.0.0.1:48538 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:13 2021] 127.0.0.1:48538 Closing | |
[Fri Apr 30 12:44:13 2021] 127.0.0.1:48540 Accepted | |
[Fri Apr 30 12:44:14 2021] 127.0.0.1:48540 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:14 2021] 127.0.0.1:48540 Closing | |
[Fri Apr 30 12:44:14 2021] 127.0.0.1:48542 Accepted | |
[Fri Apr 30 12:44:14 2021] 127.0.0.1:48542 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:14 2021] 127.0.0.1:48542 Closing | |
[Fri Apr 30 12:44:14 2021] 127.0.0.1:48544 Accepted | |
[Fri Apr 30 12:44:14 2021] 127.0.0.1:48544 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:14 2021] 127.0.0.1:48544 Closing | |
-:2: parser error : Start tag expected, '<' not found | |
^ | |
Running apiComments tests tagged ~@skipWhenTestingRemoteSystems&&~@skipOnFedOcV10&&~@skipOnFedOcV10.7&&~@skipOnFedOcV10.7.0&&~@skipOnOcV10&&~@skipOnOcV10.7&&~@skipOnOcV10.7.0&&@api&&~@skip | |
[Fri Apr 30 12:44:20 2021] 127.0.0.1:48546 Accepted | |
[Fri Apr 30 12:44:20 2021] Inserting dummy entry with fileid bigger than max int of 32 bits for testing | |
[Fri Apr 30 12:44:20 2021] 127.0.0.1:48546 [200]: POST /ocs/v1.php/apps/testing/api/v1/increasefileid | |
[Fri Apr 30 12:44:20 2021] 127.0.0.1:48546 Closing | |
┌─ @BeforeSuite # FeatureContext::useBigFileIDs() | |
│ | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: POST http://localhost:8080/ocs/v1.php/apps/testing/api/v1/increasefileid | |
│ Headers: | |
│ Host: localhost:8080 | |
│ Body: | |
│ string(0) "" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 200 | |
│ Headers: | |
│ Host: localhost:8080 | |
│ Date: Fri, 30 Apr 2021 04:44:20 GMT | |
│ Connection: close | |
│ X-Powered-By: PHP/7.4.3 | |
│ Set-Cookie: oc_sessionPassphrase=vw81qaSQlQXfWIMdG23f2KLEtYLppxmp6awEC4Ef1joc8mIDdS0Pz2KwH9NYC8iJNrpoVFUMs1MIjvgCc8pGEDs4ZWlV4wUs1S8smIbzUyAa1cA2Vip1YoMtfEPyxwn0; path=/; HttpOnly; SameSite=Strict, cookie_test=test; expires=Fri, 30-Apr-2021 05:44:20 GMT; Max-Age=3600, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc365b0w4kcp=i7fog8u0nee0s2rdg93r2h56vr; path=/; HttpOnly; SameSite=Strict | |
│ Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src * | |
│ X-XSS-Protection: 0 | |
│ X-Content-Type-Options: nosniff | |
│ X-Frame-Options: SAMEORIGIN | |
│ X-Robots-Tag: none | |
│ X-Download-Options: noopen | |
│ X-Permitted-Cross-Domain-Policies: none | |
│ Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
│ Cache-Control: no-store, no-cache, must-revalidate | |
│ Pragma: no-cache | |
│ Content-type: text/xml; charset=UTF-8 | |
│ Body: | |
│ string(127) "<?xml version="1.0"?> | |
│ <ocs> | |
│ <meta> | |
│ <status>ok</status> | |
│ <statuscode>100</statuscode> | |
│ <message/> | |
│ </meta> | |
│ <data/> | |
│ </ocs> | |
│ " | |
│ | |
│ ### END RESPONSE | |
│ | |
│ | |
@api @comments-app-required @issue-ocis-reva-38 | |
Feature: Comments | |
[Fri Apr 30 12:44:20 2021] 127.0.0.1:48548 Accepted | |
[Fri Apr 30 12:44:21 2021] 127.0.0.1:48548 [200]: GET /ocs/v1.php/cloud/capabilities | |
[Fri Apr 30 12:44:21 2021] 127.0.0.1:48548 Closing | |
[Fri Apr 30 12:44:21 2021] 127.0.0.1:48550 Accepted | |
[Fri Apr 30 12:44:21 2021] 127.0.0.1:48550 [200]: POST /ocs/v1.php/apps/testing/api/v1/apps | |
[Fri Apr 30 12:44:21 2021] 127.0.0.1:48550 Closing | |
[Fri Apr 30 12:44:21 2021] 127.0.0.1:48552 Accepted | |
[Fri Apr 30 12:44:21 2021] 127.0.0.1:48552 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:21 2021] 127.0.0.1:48552 Closing | |
[Fri Apr 30 12:44:21 2021] 127.0.0.1:48554 Accepted | |
[Fri Apr 30 12:44:21 2021] 127.0.0.1:48554 [200]: DELETE /ocs/v2.php/apps/testing/api/v1/opcache | |
[Fri Apr 30 12:44:21 2021] 127.0.0.1:48554 Closing | |
[Fri Apr 30 12:44:21 2021] 127.0.0.1:60024 Accepted | |
[Fri Apr 30 12:44:21 2021] 127.0.0.1:60024 [404]: (null) /ocs/v1.php/cloud/capabilities - No such file or directory | |
[Fri Apr 30 12:44:21 2021] 127.0.0.1:60024 Closing | |
[Fri Apr 30 12:44:21 2021] 127.0.0.1:60026 Accepted | |
[Fri Apr 30 12:44:21 2021] 127.0.0.1:60026 [404]: (null) /ocs/v2.php/apps/testing/api/v1/occ - No such file or directory | |
[Fri Apr 30 12:44:21 2021] 127.0.0.1:60026 Closing | |
Background: # /var/www/html/core/tests/acceptance/features/apiComments/comments.feature:4 | |
Given using new DAV path # FeatureContext::usingOldOrNewDavPath() | |
And user "Alice" has been created with default attributes and small skeleton files # FeatureContext::userHasBeenCreatedWithDefaultAttributes() | |
┌─ @BeforeScenario # FeatureContext::prepareParametersBeforeScenario() | |
│ | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: GET http://localhost:8080/ocs/v1.php/cloud/capabilities | |
│ Headers: | |
│ Host: localhost:8080 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(0) "" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 200 | |
│ Headers: | |
│ Host: localhost:8080 | |
│ Date: Fri, 30 Apr 2021 04:44:21 GMT | |
│ Connection: close | |
│ X-Powered-By: PHP/7.4.3 | |
│ Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
│ Pragma: no-cache | |
│ Set-Cookie: oc_sessionPassphrase=E7IMwImprbRtBCCK%2Byu3m6hcAcLMevme6dRaWAOQMQYS04Y%2B09RL8AF1k4Yy9dDvhwkvY4HSC29%2BWSX%2Fzk0d3u6iLiAq4b844socNJ9kiQVihaE8gBW24Zt6j6UiybUQ; path=/; HttpOnly; SameSite=Strict, oc365b0w4kcp=9ckf8s7nuc38e9tdok8fhqlhqv; path=/; HttpOnly; SameSite=Strict, cookie_test=test; expires=Fri, 30-Apr-2021 05:44:21 GMT; Max-Age=3600 | |
│ X-XSS-Protection: 0 | |
│ X-Content-Type-Options: nosniff | |
│ X-Frame-Options: SAMEORIGIN | |
│ X-Robots-Tag: none | |
│ X-Download-Options: noopen | |
│ X-Permitted-Cross-Domain-Policies: none | |
│ Cache-Control: no-cache, no-store, must-revalidate | |
│ Content-Type: application/xml; charset=utf-8 | |
│ Content-Security-Policy: default-src 'none';manifest-src 'self';script-src 'self' 'unsafe-eval';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src 'self';connect-src 'self';media-src 'self' | |
│ Content-Length: 3688 | |
│ Body: | |
│ string(3688) "<?xml version="1.0"?> | |
│ <ocs> | |
│ <meta> | |
│ <status>ok</status> | |
│ <statuscode>100</statuscode> | |
│ <message>OK</message> | |
│ <totalitems></totalitems> | |
│ <itemsperpage></itemsperpage> | |
│ </meta> | |
│ <data> | |
│ <version> | |
│ <major>10</major> | |
│ <minor>7</minor> | |
│ <micro>0</micro> | |
│ <string>10.7.0</string> | |
│ <edition>Community</edition> | |
│ </version> | |
│ <capabilities> | |
│ <core> | |
│ <pollinterval>60</pollinterval> | |
│ <webdav-root>remote.php/webdav</webdav-root> | |
│ <status> | |
│ <installed>1</installed> | |
│ <maintenance></maintenance> | |
│ <needsDbUpgrade></needsDbUpgrade> | |
│ <version>10.7.0.4</version> | |
│ <versionstring>10.7.0</versionstring> | |
│ <edition>Community</edition> | |
│ <productname>ownCloud</productname> | |
│ <hostname>b32a59a7549d</hostname> | |
│ </status> | |
│ <support-url-signing>1</support-url-signing> | |
│ </core> | |
│ <checksums> | |
│ <supportedTypes> | |
│ <element>SHA1</element> | |
│ </supportedTypes> | |
│ <preferredUploadType>SHA1</preferredUploadType> | |
│ </checksums> | |
│ <files> | |
│ <privateLinks>1</privateLinks> | |
│ <privateLinksDetailsParam>1</privateLinksDetailsParam> | |
│ <bigfilechunking>1</bigfilechunking> | |
│ <blacklisted_files> | |
│ <element>.htaccess</element> | |
│ </blacklisted_files> | |
│ <favorites>1</favorites> | |
│ <file_locking_support>1</file_locking_support> | |
│ <file_locking_enable_file_action></file_locking_enable_file_action> | |
│ <undelete>1</undelete> | |
│ <versioning>1</versioning> | |
│ </files> | |
│ <dav> | |
│ <chunking>1.0</chunking> | |
│ <reports> | |
│ <element>search-files</element> | |
│ </reports> | |
│ <trashbin>1.0</trashbin> | |
│ </dav> | |
│ <files_sharing> | |
│ <api_enabled>1</api_enabled> | |
│ <public> | |
│ <enabled>1</enabled> | |
│ <password> | |
│ <enforced_for> | |
│ <read_only></read_only> | |
│ <read_write></read_write> | |
│ <upload_only></upload_only> | |
│ <read_write_delete></read_write_delete> | |
│ </enforced_for> | |
│ <enforced></enforced> | |
│ </password> | |
│ <roles_api>1</roles_api> | |
│ <expire_date> | |
│ <enabled></enabled> | |
│ </expire_date> | |
│ <send_mail></send_mail> | |
│ <social_share>1</social_share> | |
│ <upload>1</upload> | |
│ <multiple>1</multiple> | |
│ <supports_upload_only>1</supports_upload_only> | |
│ <defaultPublicLinkShareName>Public link</defaultPublicLinkShareName> | |
│ </public> | |
│ <user> | |
│ <send_mail></send_mail> | |
│ <expire_date> | |
│ <enabled></enabled> | |
│ </expire_date> | |
│ </user> | |
│ <group> | |
│ <expire_date> | |
│ <enabled></enabled> | |
│ </expire_date> | |
│ </group> | |
│ <remote> | |
│ <expire_date> | |
│ <enabled></enabled> | |
│ </expire_date> | |
│ </remote> | |
│ <resharing>1</resharing> | |
│ <group_sharing>1</group_sharing> | |
│ <auto_accept_share>1</auto_accept_share> | |
│ <share_with_group_members_only>1</share_with_group_members_only> | |
│ <share_with_membership_groups_only>1</share_with_membership_groups_only> | |
│ <can_share>1</can_share> | |
│ <user_enumeration> | |
│ <enabled>1</enabled> | |
│ <group_members_only></group_members_only> | |
│ </user_enumeration> | |
│ <default_permissions>31</default_permissions> | |
│ <providers_capabilities> | |
│ <ocinternal> | |
│ <user> | |
│ <element>shareExpiration</element> | |
│ </user> | |
│ <group> | |
│ <element>shareExpiration</element> | |
│ </group> | |
│ <link> | |
│ <element>shareExpiration</element> | |
│ <element>passwordProtected</element> | |
│ </link> | |
│ </ocinternal> | |
│ <ocFederatedSharing> | |
│ <remote> | |
│ <element>shareExpiration</element> | |
│ </remote> | |
│ </ocFederatedSharing> | |
│ </providers_capabilities> | |
│ <federation> | |
│ <outgoing>1</outgoing> | |
│ <incoming>1</incoming> | |
│ </federation> | |
│ <search_min_length>2</search_min_length> | |
│ </files_sharing> | |
│ </capabilities> | |
│ </data> | |
│ </ocs> | |
│ " | |
│ | |
│ ### END RESPONSE | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: POST http://localhost:8080/ocs/v1.php/apps/testing/api/v1/apps | |
│ Headers: | |
│ Host: localhost:8080 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(3498) "values%5B0%5D%5Bappid%5D=core&values%5B0%5D%5Bconfigkey%5D=shareapi_auto_accept_share&values%5B0%5D%5Bvalue%5D=yes&values%5B1%5D%5Bappid%5D=core&values%5B1%5D%5Bconfigkey%5D=shareapi_enabled&values%5B1%5D%5Bvalue%5D=yes&values%5B2%5D%5Bappid%5D=core&values%5B2%5D%5Bconfigkey%5D=shareapi_allow_links&values%5B2%5D%5Bvalue%5D=yes&values%5B3%5D%5Bappid%5D=core&values%5B3%5D%5Bconfigkey%5D=shareapi_allow_public_upload&values%5B3%5D%5Bvalue%5D=yes&values%5B4%5D%5Bappid%5D=core&values%5B4%5D%5Bconfigkey%5D=shareapi_allow_group_sharing&values%5B4%5D%5Bvalue%5D=yes&values%5B5%5D%5Bappid%5D=core&values%5B5%5D%5Bconfigkey%5D=shareapi_only_share_with_group_members&values%5B5%5D%5Bvalue%5D=no&values%5B6%5D%5Bappid%5D=core&values%5B6%5D%5Bconfigkey%5D=shareapi_only_share_with_membership_groups&values%5B6%5D%5Bvalue%5D=no&values%5B7%5D%5Bappid%5D=core&values%5B7%5D%5Bconfigkey%5D=shareapi_exclude_groups&values%5B7%5D%5Bvalue%5D=no&values%5B8%5D%5Bappid%5D=core&values%5B8%5D%5Bconfigkey%5D=shareapi_exclude_groups_list&values%5B8%5D%5Bvalue%5D=&values%5B9%5D%5Bappid%5D=core&values%5B9%5D%5Bconfigkey%5D=shareapi_allow_share_dialog_user_enumeration&values%5B9%5D%5Bvalue%5D=yes&values%5B10%5D%5Bappid%5D=core&values%5B10%5D%5Bconfigkey%5D=shareapi_share_dialog_user_enumeration_group_members&values%5B10%5D%5Bvalue%5D=no&values%5B11%5D%5Bappid%5D=core&values%5B11%5D%5Bconfigkey%5D=shareapi_allow_resharing&values%5B11%5D%5Bvalue%5D=yes&values%5B12%5D%5Bappid%5D=core&values%5B12%5D%5Bconfigkey%5D=shareapi_enforce_links_password_read_only&values%5B12%5D%5Bvalue%5D=no&values%5B13%5D%5Bappid%5D=core&values%5B13%5D%5Bconfigkey%5D=shareapi_enforce_links_password_read_write&values%5B13%5D%5Bvalue%5D=no&values%5B14%5D%5Bappid%5D=core&values%5B14%5D%5Bconfigkey%5D=shareapi_enforce_links_password_write_only&values%5B14%5D%5Bvalue%5D=no&values%5B15%5D%5Bappid%5D=core&values%5B15%5D%5Bconfigkey%5D=shareapi_allow_public_notification&values%5B15%5D%5Bvalue%5D=no&values%5B16%5D%5Bappid%5D=core&values%5B16%5D%5Bconfigkey%5D=shareapi_allow_social_share&values%5B16%5D%5Bvalue%5D=yes&values%5B17%5D%5Bappid%5D=core&values%5B17%5D%5Bconfigkey%5D=shareapi_default_expire_date&values%5B17%5D%5Bvalue%5D=no&values%5B18%5D%5Bappid%5D=core&values%5B18%5D%5Bconfigkey%5D=shareapi_enforce_expire_date&values%5B18%5D%5Bvalue%5D=no&values%5B19%5D%5Bappid%5D=core&values%5B19%5D%5Bconfigkey%5D=shareapi_allow_mail_notification&values%5B19%5D%5Bvalue%5D=no&values%5B20%5D%5Bappid%5D=core&values%5B20%5D%5Bconfigkey%5D=shareapi_default_expire_date_user_share&values%5B20%5D%5Bvalue%5D=no&values%5B21%5D%5Bappid%5D=core&values%5B21%5D%5Bconfigkey%5D=shareapi_enforce_expire_date_user_share&values%5B21%5D%5Bvalue%5D=no&values%5B22%5D%5Bappid%5D=core&values%5B22%5D%5Bconfigkey%5D=shareapi_default_expire_date_group_share&values%5B22%5D%5Bvalue%5D=no&values%5B23%5D%5Bappid%5D=core&values%5B23%5D%5Bconfigkey%5D=shareapi_enforce_expire_date_group_share&values%5B23%5D%5Bvalue%5D=no&values%5B24%5D%5Bappid%5D=core&values%5B24%5D%5Bconfigkey%5D=shareapi_default_expire_date_remote_share&values%5B24%5D%5Bvalue%5D=no&values%5B25%5D%5Bappid%5D=core&values%5B25%5D%5Bconfigkey%5D=shareapi_enforce_expire_date_remote_share&values%5B25%5D%5Bvalue%5D=no&values%5B26%5D%5Bappid%5D=files_sharing&values%5B26%5D%5Bconfigkey%5D=outgoing_server2server_share_enabled&values%5B26%5D%5Bvalue%5D=yes&values%5B27%5D%5Bappid%5D=files_sharing&values%5B27%5D%5Bconfigkey%5D=incoming_server2server_share_enabled&values%5B27%5D%5Bvalue%5D=yes" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 200 | |
│ Headers: | |
│ Host: localhost:8080 | |
│ Date: Fri, 30 Apr 2021 04:44:21 GMT | |
│ Connection: close | |
│ X-Powered-By: PHP/7.4.3 | |
│ Set-Cookie: oc_sessionPassphrase=qCGrZVj2zy0yXtybAoKVVhQL%2FrqyGGiTA7xCuzkHzQGibZz9EQoHfBwwLO%2FYAsGHrvkZ86q7hkB9PvoVRr2LsCz%2FXxh4mOqBilDtG3kN5gszGc5frCNilBmqIBbr1HEY; path=/; HttpOnly; SameSite=Strict, cookie_test=test; expires=Fri, 30-Apr-2021 05:44:21 GMT; Max-Age=3600, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc365b0w4kcp=r5cr7jqjv7fqjj0lors1u4n7cf; path=/; HttpOnly; SameSite=Strict | |
│ Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src * | |
│ X-XSS-Protection: 0 | |
│ X-Content-Type-Options: nosniff | |
│ X-Frame-Options: SAMEORIGIN | |
│ X-Robots-Tag: none | |
│ X-Download-Options: noopen | |
│ X-Permitted-Cross-Domain-Policies: none | |
│ Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
│ Cache-Control: no-store, no-cache, must-revalidate | |
│ Pragma: no-cache | |
│ Content-type: text/xml; charset=UTF-8 | |
│ Body: | |
│ string(127) "<?xml version="1.0"?> | |
│ <ocs> | |
│ <meta> | |
│ <status>ok</status> | |
│ <statuscode>100</statuscode> | |
│ <message/> | |
│ </meta> | |
│ <data/> | |
│ </ocs> | |
│ " | |
│ | |
│ ### END RESPONSE | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: POST http://localhost:8080/ocs/v2.php/apps/testing/api/v1/occ | |
│ Headers: | |
│ Host: localhost:8080 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(31) "command=config%3Alist+--private" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 200 | |
│ Headers: | |
│ Host: localhost:8080 | |
│ Date: Fri, 30 Apr 2021 04:44:21 GMT | |
│ Connection: close | |
│ X-Powered-By: PHP/7.4.3 | |
│ Set-Cookie: oc_sessionPassphrase=9zJfU1onseJYi0WnkTQ4FGNvcxyup1YmzxVtI6ZGDeRSHsj1wYtTeH9HVaan08w3wnFZWHV%2FbYsqq%2BxrSv0A1TXsYrm6TGGyuOCRT0bUj5SBCOboZzwhTq2xtXH2lojz; path=/; HttpOnly; SameSite=Strict, cookie_test=test; expires=Fri, 30-Apr-2021 05:44:21 GMT; Max-Age=3600, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc365b0w4kcp=hoq77rd44e66oue96jb8v8e5k9; path=/; HttpOnly; SameSite=Strict | |
│ Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src * | |
│ X-XSS-Protection: 0 | |
│ X-Content-Type-Options: nosniff | |
│ X-Frame-Options: SAMEORIGIN | |
│ X-Robots-Tag: none | |
│ X-Download-Options: noopen | |
│ X-Permitted-Cross-Domain-Policies: none | |
│ Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
│ Cache-Control: no-store, no-cache, must-revalidate | |
│ Pragma: no-cache | |
│ Content-type: text/xml; charset=UTF-8 | |
│ Body: | |
│ string(7711) "<?xml version="1.0"?> | |
│ <ocs> | |
│ <meta> | |
│ <status>ok</status> | |
│ <statuscode>200</statuscode> | |
│ <message/> | |
│ </meta> | |
│ <data> | |
│ <code>0</code> | |
│ <stdOut>{ | |
│ "system": { | |
│ "passwordsalt": "*** REMOVED ***", | |
│ "secret": "*** REMOVED ***", | |
│ "trusted_domains": [ | |
│ "localhost" | |
│ ], | |
│ "datadirectory": "\/var\/www\/html\/core\/data", | |
│ "overwrite.cli.url": "http:\/\/localhost", | |
│ "dbtype": "mysql", | |
│ "version": "10.7.0.4", | |
│ "dbname": "owncloud", | |
│ "dbhost": "localhost", | |
│ "dbtableprefix": "oc_", | |
│ "mysql.utf8mb4": true, | |
│ "dbuser": "oc_admin", | |
│ "dbpassword": "*** REMOVED ***", | |
│ "logtimezone": "UTC", | |
│ "apps_paths": [ | |
│ { | |
│ "path": "\/var\/www\/html\/core\/apps", | |
│ "url": "\/apps", | |
│ "writable": false | |
│ }, | |
│ { | |
│ "path": "\/var\/www\/html\/core\/apps-external", | |
│ "url": "\/apps-external", | |
│ "writable": true | |
│ } | |
│ ], | |
│ "installed": true, | |
│ "instanceid": "oc365b0w4kcp", | |
│ "mail_domain": "foobar.com", | |
│ "mail_from_address": "owncloud", | |
│ "mail_smtpmode": "smtp", | |
│ "mail_smtphost": "127.0.0.1", | |
│ "mail_smtpport": "1025", | |
│ "sharing.federation.allowHttpFallback": true, | |
│ "grace_period.demo_key.show_popup": false, | |
│ "files_external_allow_create_new_local": "true", | |
│ "skeletondirectory": "apps\/testing\/data\/apiSkeleton" | |
│ }, | |
│ "apps": { | |
│ "comments": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.3.0", | |
│ "types": "logging,dav" | |
│ }, | |
│ "core": { | |
│ "backgroundjobs_mode": "webcron", | |
│ "enable_external_storage": "yes", | |
│ "first_install_version": "10.7.0.4", | |
│ "installedat": "1619757716.6585", | |
│ "lastupdatedat": "1619757716.663", | |
│ "public_files": "files_sharing\/public.php", | |
│ "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php", | |
│ "shareapi_allow_group_sharing": "yes", | |
│ "shareapi_allow_links": "yes", | |
│ "shareapi_allow_mail_notification": "no", | |
│ "shareapi_allow_public_notification": "no", | |
│ "shareapi_allow_public_upload": "yes", | |
│ "shareapi_allow_resharing": "yes", | |
│ "shareapi_allow_share_dialog_user_enumeration": "yes", | |
│ "shareapi_allow_social_share": "yes", | |
│ "shareapi_auto_accept_share": "yes", | |
│ "shareapi_default_expire_date": "no", | |
│ "shareapi_default_expire_date_group_share": "no", | |
│ "shareapi_default_expire_date_remote_share": "no", | |
│ "shareapi_default_expire_date_user_share": "no", | |
│ "shareapi_enabled": "yes", | |
│ "shareapi_enforce_expire_date": "no", | |
│ "shareapi_enforce_expire_date_group_share": "no", | |
│ "shareapi_enforce_expire_date_remote_share": "no", | |
│ "shareapi_enforce_expire_date_user_share": "no", | |
│ "shareapi_enforce_links_password_read_only": "no", | |
│ "shareapi_enforce_links_password_read_write": "no", | |
│ "shareapi_enforce_links_password_write_only": "no", | |
│ "shareapi_exclude_groups": "no", | |
│ "shareapi_exclude_groups_list": "", | |
│ "shareapi_only_share_with_group_members": "no", | |
│ "shareapi_only_share_with_membership_groups": "no", | |
│ "shareapi_share_dialog_user_enumeration_group_members": "no" | |
│ }, | |
│ "dav": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.6.0", | |
│ "types": "filesystem" | |
│ }, | |
│ "federatedfilesharing": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.5.0", | |
│ "types": "filesystem" | |
│ }, | |
│ "federation": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.1.0", | |
│ "types": "authentication" | |
│ }, | |
│ "files": { | |
│ "enabled": "yes", | |
│ "installed_version": "1.5.2", | |
│ "types": "filesystem" | |
│ }, | |
│ "files_external": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.7.1", | |
│ "types": "filesystem" | |
│ }, | |
│ "files_sharing": { | |
│ "enabled": "yes", | |
│ "incoming_server2server_share_enabled": "yes", | |
│ "installed_version": "0.14.0", | |
│ "outgoing_server2server_share_enabled": "yes", | |
│ "types": "filesystem" | |
│ }, | |
│ "files_trashbin": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.9.1", | |
│ "types": "filesystem" | |
│ }, | |
│ "files_versions": { | |
│ "enabled": "yes", | |
│ "installed_version": "1.3.0", | |
│ "types": "filesystem" | |
│ }, | |
│ "provisioning_api": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.5.0", | |
│ "types": "prevent_group_restriction" | |
│ }, | |
│ "systemtags": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.3.0", | |
│ "types": "logging" | |
│ }, | |
│ "testing": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.1.0", | |
│ "types": "dav,authentication" | |
│ }, | |
│ "updatenotification": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.2.1", | |
│ "types": "" | |
│ } | |
│ } | |
│ } | |
│ </stdOut> | |
│ <stdErr></stdErr> | |
│ </data> | |
│ </ocs> | |
│ " | |
│ | |
│ ### END RESPONSE | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: DELETE http://localhost:8080/ocs/v2.php/apps/testing/api/v1/opcache | |
│ Headers: | |
│ Host: localhost:8080 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(0) "" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 200 | |
│ Headers: | |
│ Host: localhost:8080 | |
│ Date: Fri, 30 Apr 2021 04:44:21 GMT | |
│ Connection: close | |
│ X-Powered-By: PHP/7.4.3 | |
│ Set-Cookie: oc_sessionPassphrase=kRYsjHIi5tbucBl4ouVizn1BZ1zuSVsPPV8qnakLlHKrWwugX98O4mrLH1xg394IvIiHmdhGel3wcQW0RdO3ckt5kHvq%2F%2BWvYVvTEI%2BF%2B4%2FPQD6QMJhSMxQ1n%2FQfp%2Bs7; path=/; HttpOnly; SameSite=Strict, cookie_test=test; expires=Fri, 30-Apr-2021 05:44:21 GMT; Max-Age=3600, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc365b0w4kcp=63tf86rfvoldlgaqbjh2c9s1b4; path=/; HttpOnly; SameSite=Strict | |
│ Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src * | |
│ X-XSS-Protection: 0 | |
│ X-Content-Type-Options: nosniff | |
│ X-Frame-Options: SAMEORIGIN | |
│ X-Robots-Tag: none | |
│ X-Download-Options: noopen | |
│ X-Permitted-Cross-Domain-Policies: none | |
│ Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
│ Cache-Control: no-store, no-cache, must-revalidate | |
│ Pragma: no-cache | |
│ Content-type: text/xml; charset=UTF-8 | |
│ Body: | |
│ string(127) "<?xml version="1.0"?> | |
│ <ocs> | |
│ <meta> | |
│ <status>ok</status> | |
│ <statuscode>200</statuscode> | |
│ <message/> | |
│ </meta> | |
│ <data/> | |
│ </ocs> | |
│ " | |
│ | |
│ ### END RESPONSE | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: GET http://localhost:8180/ocs/v1.php/cloud/capabilities | |
│ Headers: | |
│ Host: localhost:8180 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(0) "" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 404 | |
│ Headers: | |
│ Host: localhost:8180 | |
│ Date: Fri, 30 Apr 2021 04:44:21 GMT | |
│ Connection: close | |
│ Content-Type: text/html; charset=UTF-8 | |
│ Content-Length: 562 | |
│ Body: | |
│ string(562) "<!doctype html><html><head><title>404 Not Found</title><style> | |
│ body { background-color: #fcfcfc; color: #333333; margin: 0; padding:0; } | |
│ h1 { font-size: 1.5em; font-weight: normal; background-color: #9999cc; min-height:2em; line-height:2em; border-bottom: 1px inset black; margin: 0; } | |
│ h1, p { padding-left: 10px; } | |
│ code.url { background-color: #eeeeee; font-family:monospace; padding:0 2px;} | |
│ </style> | |
│ </head><body><h1>Not Found</h1><p>The requested resource <code class="url">/ocs/v1.php/cloud/capabilities</code> was not found on this server.</p></body></html>" | |
│ | |
│ ### END RESPONSE | |
│ | |
│ | |
╳ AppConfigurationContext::userGetsCapabilitiesCheckResponse user admin returned unexpected status 404 (Exception) | |
│ | |
┌─ @BeforeScenario # FeatureContext::rememberAppEnabledDisabledState() | |
│ | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: POST http://localhost:8180/ocs/v2.php/apps/testing/api/v1/occ | |
│ Headers: | |
│ Host: localhost:8180 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(42) "command=app%3Alist+--output+json+--no-ansi" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 404 | |
│ Headers: | |
│ Host: localhost:8180 | |
│ Date: Fri, 30 Apr 2021 04:44:21 GMT | |
│ Connection: close | |
│ Content-Type: text/html; charset=UTF-8 | |
│ Content-Length: 567 | |
│ Body: | |
│ string(567) "<!doctype html><html><head><title>404 Not Found</title><style> | |
│ body { background-color: #fcfcfc; color: #333333; margin: 0; padding:0; } | |
│ h1 { font-size: 1.5em; font-weight: normal; background-color: #9999cc; min-height:2em; line-height:2em; border-bottom: 1px inset black; margin: 0; } | |
│ h1, p { padding-left: 10px; } | |
│ code.url { background-color: #eeeeee; font-family:monospace; padding:0 2px;} | |
│ </style> | |
│ </head><body><h1>Not Found</h1><p>The requested resource <code class="url">/ocs/v2.php/apps/testing/api/v1/occ</code> was not found on this server.</p></body></html>" | |
│ | |
│ ### END RESPONSE | |
│ | |
│ | |
╳ Warning: simplexml_load_string(): Entity: line 1: parser error : StartTag: invalid element name in /var/www/html/core/tests/TestHelpers/SetupHelper.php line 745 | |
│ | |
@smokeTest | |
Scenario: Getting info of comments using files endpoint # /var/www/html/core/tests/acceptance/features/apiComments/comments.feature:9 | |
Given user "Alice" has uploaded file "filesForUpload/textfile.txt" to "/myFileToComment.txt" # FeatureContext::userHasUploadedAFileTo() | |
And user "Alice" has commented with content "My first comment" on file "/myFileToComment.txt" # CommentsContext::userHasCommentedWithContentOnEntry() | |
And user "Alice" should have the following comments on file "/myFileToComment.txt" # CommentsContext::checkComments() | |
| user | comment | | |
| Alice | My first comment | | |
When user "Alice" gets the following properties of folder "/myFileToComment.txt" using the WebDAV API # WebDavPropertiesContext::userGetsPropertiesOfFolder() | |
| propertyName | | |
| oc:comments-href | | |
| oc:comments-count | | |
| oc:comments-unread | | |
Then the single response should contain a property "oc:comments-count" with value "1" # WebDavPropertiesContext::theSingleResponseShouldContainAPropertyWithValue() | |
And the single response should contain a property "oc:comments-unread" with value "0" # WebDavPropertiesContext::theSingleResponseShouldContainAPropertyWithValue() | |
And the single response should contain a property "oc:comments-href" with value "%a_comment_url%" # WebDavPropertiesContext::theSingleResponseShouldContainAPropertyWithValue() | |
[Fri Apr 30 12:44:21 2021] 127.0.0.1:48560 Accepted | |
[Fri Apr 30 12:44:22 2021] 127.0.0.1:48560 [200]: GET /ocs/v1.php/cloud/capabilities | |
[Fri Apr 30 12:44:22 2021] 127.0.0.1:48560 Closing | |
[Fri Apr 30 12:44:22 2021] 127.0.0.1:48562 Accepted | |
[Fri Apr 30 12:44:22 2021] 127.0.0.1:48562 [200]: POST /ocs/v1.php/apps/testing/api/v1/apps | |
[Fri Apr 30 12:44:22 2021] 127.0.0.1:48562 Closing | |
[Fri Apr 30 12:44:22 2021] 127.0.0.1:48564 Accepted | |
[Fri Apr 30 12:44:22 2021] 127.0.0.1:48564 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:22 2021] 127.0.0.1:48564 Closing | |
[Fri Apr 30 12:44:22 2021] 127.0.0.1:48566 Accepted | |
[Fri Apr 30 12:44:22 2021] 127.0.0.1:48566 [200]: DELETE /ocs/v2.php/apps/testing/api/v1/opcache | |
[Fri Apr 30 12:44:22 2021] 127.0.0.1:48566 Closing | |
[Fri Apr 30 12:44:22 2021] 127.0.0.1:60036 Accepted | |
[Fri Apr 30 12:44:22 2021] 127.0.0.1:60036 [404]: (null) /ocs/v1.php/cloud/capabilities - No such file or directory | |
[Fri Apr 30 12:44:22 2021] 127.0.0.1:60036 Closing | |
[Fri Apr 30 12:44:22 2021] 127.0.0.1:60038 Accepted | |
[Fri Apr 30 12:44:22 2021] 127.0.0.1:60038 [404]: (null) /ocs/v2.php/apps/testing/api/v1/occ - No such file or directory | |
[Fri Apr 30 12:44:22 2021] 127.0.0.1:60038 Closing | |
┌─ @BeforeScenario # FeatureContext::prepareParametersBeforeScenario() | |
│ | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: GET http://localhost:8080/ocs/v1.php/cloud/capabilities | |
│ Headers: | |
│ Host: localhost:8080 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(0) "" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 200 | |
│ Headers: | |
│ Host: localhost:8080 | |
│ Date: Fri, 30 Apr 2021 04:44:22 GMT | |
│ Connection: close | |
│ X-Powered-By: PHP/7.4.3 | |
│ Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
│ Pragma: no-cache | |
│ Set-Cookie: oc_sessionPassphrase=MH7Zmc%2FhZB7dH5L3moYYzDYrlaNASqvjqdNPdZYBAVYkNeHfDEF96bT4ELvgwok%2FvYimYxYSc%2FMWEeUqwk166sKS9jLt8wqc1Q8RlbEiWLR9Da%2FMgM%2BKPU51JvTFWYVg; path=/; HttpOnly; SameSite=Strict, oc365b0w4kcp=u0k0g6vo3igmsjlq3neg1rg38n; path=/; HttpOnly; SameSite=Strict, cookie_test=test; expires=Fri, 30-Apr-2021 05:44:22 GMT; Max-Age=3600 | |
│ X-XSS-Protection: 0 | |
│ X-Content-Type-Options: nosniff | |
│ X-Frame-Options: SAMEORIGIN | |
│ X-Robots-Tag: none | |
│ X-Download-Options: noopen | |
│ X-Permitted-Cross-Domain-Policies: none | |
│ Cache-Control: no-cache, no-store, must-revalidate | |
│ Content-Type: application/xml; charset=utf-8 | |
│ Content-Security-Policy: default-src 'none';manifest-src 'self';script-src 'self' 'unsafe-eval';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src 'self';connect-src 'self';media-src 'self' | |
│ Content-Length: 3686 | |
│ Body: | |
│ string(3686) "<?xml version="1.0"?> | |
│ <ocs> | |
│ <meta> | |
│ <status>ok</status> | |
│ <statuscode>100</statuscode> | |
│ <message>OK</message> | |
│ <totalitems></totalitems> | |
│ <itemsperpage></itemsperpage> | |
│ </meta> | |
│ <data> | |
│ <version> | |
│ <major>10</major> | |
│ <minor>7</minor> | |
│ <micro>0</micro> | |
│ <string>10.7.0</string> | |
│ <edition>Community</edition> | |
│ </version> | |
│ <capabilities> | |
│ <core> | |
│ <pollinterval>60</pollinterval> | |
│ <webdav-root>remote.php/webdav</webdav-root> | |
│ <status> | |
│ <installed>1</installed> | |
│ <maintenance></maintenance> | |
│ <needsDbUpgrade></needsDbUpgrade> | |
│ <version>10.7.0.4</version> | |
│ <versionstring>10.7.0</versionstring> | |
│ <edition>Community</edition> | |
│ <productname>ownCloud</productname> | |
│ <hostname>b32a59a7549d</hostname> | |
│ </status> | |
│ <support-url-signing>1</support-url-signing> | |
│ </core> | |
│ <checksums> | |
│ <supportedTypes> | |
│ <element>SHA1</element> | |
│ </supportedTypes> | |
│ <preferredUploadType>SHA1</preferredUploadType> | |
│ </checksums> | |
│ <files> | |
│ <privateLinks>1</privateLinks> | |
│ <privateLinksDetailsParam>1</privateLinksDetailsParam> | |
│ <bigfilechunking>1</bigfilechunking> | |
│ <blacklisted_files> | |
│ <element>.htaccess</element> | |
│ </blacklisted_files> | |
│ <favorites>1</favorites> | |
│ <file_locking_support>1</file_locking_support> | |
│ <file_locking_enable_file_action></file_locking_enable_file_action> | |
│ <undelete>1</undelete> | |
│ <versioning>1</versioning> | |
│ </files> | |
│ <dav> | |
│ <chunking>1.0</chunking> | |
│ <reports> | |
│ <element>search-files</element> | |
│ </reports> | |
│ <trashbin>1.0</trashbin> | |
│ </dav> | |
│ <files_sharing> | |
│ <api_enabled>1</api_enabled> | |
│ <public> | |
│ <enabled>1</enabled> | |
│ <password> | |
│ <enforced_for> | |
│ <read_only></read_only> | |
│ <read_write></read_write> | |
│ <upload_only></upload_only> | |
│ <read_write_delete></read_write_delete> | |
│ </enforced_for> | |
│ <enforced></enforced> | |
│ </password> | |
│ <roles_api>1</roles_api> | |
│ <expire_date> | |
│ <enabled></enabled> | |
│ </expire_date> | |
│ <send_mail></send_mail> | |
│ <social_share>1</social_share> | |
│ <upload>1</upload> | |
│ <multiple>1</multiple> | |
│ <supports_upload_only>1</supports_upload_only> | |
│ <defaultPublicLinkShareName>Public link</defaultPublicLinkShareName> | |
│ </public> | |
│ <user> | |
│ <send_mail></send_mail> | |
│ <expire_date> | |
│ <enabled></enabled> | |
│ </expire_date> | |
│ </user> | |
│ <group> | |
│ <expire_date> | |
│ <enabled></enabled> | |
│ </expire_date> | |
│ </group> | |
│ <remote> | |
│ <expire_date> | |
│ <enabled></enabled> | |
│ </expire_date> | |
│ </remote> | |
│ <resharing>1</resharing> | |
│ <group_sharing>1</group_sharing> | |
│ <auto_accept_share>1</auto_accept_share> | |
│ <share_with_group_members_only></share_with_group_members_only> | |
│ <share_with_membership_groups_only></share_with_membership_groups_only> | |
│ <can_share>1</can_share> | |
│ <user_enumeration> | |
│ <enabled>1</enabled> | |
│ <group_members_only></group_members_only> | |
│ </user_enumeration> | |
│ <default_permissions>31</default_permissions> | |
│ <providers_capabilities> | |
│ <ocinternal> | |
│ <user> | |
│ <element>shareExpiration</element> | |
│ </user> | |
│ <group> | |
│ <element>shareExpiration</element> | |
│ </group> | |
│ <link> | |
│ <element>shareExpiration</element> | |
│ <element>passwordProtected</element> | |
│ </link> | |
│ </ocinternal> | |
│ <ocFederatedSharing> | |
│ <remote> | |
│ <element>shareExpiration</element> | |
│ </remote> | |
│ </ocFederatedSharing> | |
│ </providers_capabilities> | |
│ <federation> | |
│ <outgoing>1</outgoing> | |
│ <incoming>1</incoming> | |
│ </federation> | |
│ <search_min_length>2</search_min_length> | |
│ </files_sharing> | |
│ </capabilities> | |
│ </data> | |
│ </ocs> | |
│ " | |
│ | |
│ ### END RESPONSE | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: POST http://localhost:8080/ocs/v1.php/apps/testing/api/v1/apps | |
│ Headers: | |
│ Host: localhost:8080 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(3498) "values%5B0%5D%5Bappid%5D=core&values%5B0%5D%5Bconfigkey%5D=shareapi_auto_accept_share&values%5B0%5D%5Bvalue%5D=yes&values%5B1%5D%5Bappid%5D=core&values%5B1%5D%5Bconfigkey%5D=shareapi_enabled&values%5B1%5D%5Bvalue%5D=yes&values%5B2%5D%5Bappid%5D=core&values%5B2%5D%5Bconfigkey%5D=shareapi_allow_links&values%5B2%5D%5Bvalue%5D=yes&values%5B3%5D%5Bappid%5D=core&values%5B3%5D%5Bconfigkey%5D=shareapi_allow_public_upload&values%5B3%5D%5Bvalue%5D=yes&values%5B4%5D%5Bappid%5D=core&values%5B4%5D%5Bconfigkey%5D=shareapi_allow_group_sharing&values%5B4%5D%5Bvalue%5D=yes&values%5B5%5D%5Bappid%5D=core&values%5B5%5D%5Bconfigkey%5D=shareapi_only_share_with_group_members&values%5B5%5D%5Bvalue%5D=no&values%5B6%5D%5Bappid%5D=core&values%5B6%5D%5Bconfigkey%5D=shareapi_only_share_with_membership_groups&values%5B6%5D%5Bvalue%5D=no&values%5B7%5D%5Bappid%5D=core&values%5B7%5D%5Bconfigkey%5D=shareapi_exclude_groups&values%5B7%5D%5Bvalue%5D=no&values%5B8%5D%5Bappid%5D=core&values%5B8%5D%5Bconfigkey%5D=shareapi_exclude_groups_list&values%5B8%5D%5Bvalue%5D=&values%5B9%5D%5Bappid%5D=core&values%5B9%5D%5Bconfigkey%5D=shareapi_allow_share_dialog_user_enumeration&values%5B9%5D%5Bvalue%5D=yes&values%5B10%5D%5Bappid%5D=core&values%5B10%5D%5Bconfigkey%5D=shareapi_share_dialog_user_enumeration_group_members&values%5B10%5D%5Bvalue%5D=no&values%5B11%5D%5Bappid%5D=core&values%5B11%5D%5Bconfigkey%5D=shareapi_allow_resharing&values%5B11%5D%5Bvalue%5D=yes&values%5B12%5D%5Bappid%5D=core&values%5B12%5D%5Bconfigkey%5D=shareapi_enforce_links_password_read_only&values%5B12%5D%5Bvalue%5D=no&values%5B13%5D%5Bappid%5D=core&values%5B13%5D%5Bconfigkey%5D=shareapi_enforce_links_password_read_write&values%5B13%5D%5Bvalue%5D=no&values%5B14%5D%5Bappid%5D=core&values%5B14%5D%5Bconfigkey%5D=shareapi_enforce_links_password_write_only&values%5B14%5D%5Bvalue%5D=no&values%5B15%5D%5Bappid%5D=core&values%5B15%5D%5Bconfigkey%5D=shareapi_allow_public_notification&values%5B15%5D%5Bvalue%5D=no&values%5B16%5D%5Bappid%5D=core&values%5B16%5D%5Bconfigkey%5D=shareapi_allow_social_share&values%5B16%5D%5Bvalue%5D=yes&values%5B17%5D%5Bappid%5D=core&values%5B17%5D%5Bconfigkey%5D=shareapi_default_expire_date&values%5B17%5D%5Bvalue%5D=no&values%5B18%5D%5Bappid%5D=core&values%5B18%5D%5Bconfigkey%5D=shareapi_enforce_expire_date&values%5B18%5D%5Bvalue%5D=no&values%5B19%5D%5Bappid%5D=core&values%5B19%5D%5Bconfigkey%5D=shareapi_allow_mail_notification&values%5B19%5D%5Bvalue%5D=no&values%5B20%5D%5Bappid%5D=core&values%5B20%5D%5Bconfigkey%5D=shareapi_default_expire_date_user_share&values%5B20%5D%5Bvalue%5D=no&values%5B21%5D%5Bappid%5D=core&values%5B21%5D%5Bconfigkey%5D=shareapi_enforce_expire_date_user_share&values%5B21%5D%5Bvalue%5D=no&values%5B22%5D%5Bappid%5D=core&values%5B22%5D%5Bconfigkey%5D=shareapi_default_expire_date_group_share&values%5B22%5D%5Bvalue%5D=no&values%5B23%5D%5Bappid%5D=core&values%5B23%5D%5Bconfigkey%5D=shareapi_enforce_expire_date_group_share&values%5B23%5D%5Bvalue%5D=no&values%5B24%5D%5Bappid%5D=core&values%5B24%5D%5Bconfigkey%5D=shareapi_default_expire_date_remote_share&values%5B24%5D%5Bvalue%5D=no&values%5B25%5D%5Bappid%5D=core&values%5B25%5D%5Bconfigkey%5D=shareapi_enforce_expire_date_remote_share&values%5B25%5D%5Bvalue%5D=no&values%5B26%5D%5Bappid%5D=files_sharing&values%5B26%5D%5Bconfigkey%5D=outgoing_server2server_share_enabled&values%5B26%5D%5Bvalue%5D=yes&values%5B27%5D%5Bappid%5D=files_sharing&values%5B27%5D%5Bconfigkey%5D=incoming_server2server_share_enabled&values%5B27%5D%5Bvalue%5D=yes" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 200 | |
│ Headers: | |
│ Host: localhost:8080 | |
│ Date: Fri, 30 Apr 2021 04:44:22 GMT | |
│ Connection: close | |
│ X-Powered-By: PHP/7.4.3 | |
│ Set-Cookie: oc_sessionPassphrase=mVyk097zQU%2BWOe50t6Fd4jsp%2BK6YBGquTCaaEQ6SQxm%2F73bsGH7s0%2FXBM479anyyH8JddcoPeJDbO8M6mMW4j2ss1Tto8HZcoQbymwDfW2Ttg9Ewo4pxOpvKwZPrjyrO; path=/; HttpOnly; SameSite=Strict, cookie_test=test; expires=Fri, 30-Apr-2021 05:44:22 GMT; Max-Age=3600, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc365b0w4kcp=298q2ucver7to216j0km11i9dj; path=/; HttpOnly; SameSite=Strict | |
│ Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src * | |
│ X-XSS-Protection: 0 | |
│ X-Content-Type-Options: nosniff | |
│ X-Frame-Options: SAMEORIGIN | |
│ X-Robots-Tag: none | |
│ X-Download-Options: noopen | |
│ X-Permitted-Cross-Domain-Policies: none | |
│ Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
│ Cache-Control: no-store, no-cache, must-revalidate | |
│ Pragma: no-cache | |
│ Content-type: text/xml; charset=UTF-8 | |
│ Body: | |
│ string(127) "<?xml version="1.0"?> | |
│ <ocs> | |
│ <meta> | |
│ <status>ok</status> | |
│ <statuscode>100</statuscode> | |
│ <message/> | |
│ </meta> | |
│ <data/> | |
│ </ocs> | |
│ " | |
│ | |
│ ### END RESPONSE | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: POST http://localhost:8080/ocs/v2.php/apps/testing/api/v1/occ | |
│ Headers: | |
│ Host: localhost:8080 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(31) "command=config%3Alist+--private" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 200 | |
│ Headers: | |
│ Host: localhost:8080 | |
│ Date: Fri, 30 Apr 2021 04:44:22 GMT | |
│ Connection: close | |
│ X-Powered-By: PHP/7.4.3 | |
│ Set-Cookie: oc_sessionPassphrase=V9SmswEthqNaa6Kl6FpbUdLRlVl9sAwFAfEXX5Leum7%2F8BGvxcjiBiy2%2BcUe4G6CLFMiF0NALupxr2JKVbkusZikS7%2F2r44KTG2d%2FkgjjQxSNa3h7O2zrXwPb%2FmYfpAO; path=/; HttpOnly; SameSite=Strict, cookie_test=test; expires=Fri, 30-Apr-2021 05:44:22 GMT; Max-Age=3600, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc365b0w4kcp=mcac2ausfk40l050eu2gbgih86; path=/; HttpOnly; SameSite=Strict | |
│ Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src * | |
│ X-XSS-Protection: 0 | |
│ X-Content-Type-Options: nosniff | |
│ X-Frame-Options: SAMEORIGIN | |
│ X-Robots-Tag: none | |
│ X-Download-Options: noopen | |
│ X-Permitted-Cross-Domain-Policies: none | |
│ Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
│ Cache-Control: no-store, no-cache, must-revalidate | |
│ Pragma: no-cache | |
│ Content-type: text/xml; charset=UTF-8 | |
│ Body: | |
│ string(7711) "<?xml version="1.0"?> | |
│ <ocs> | |
│ <meta> | |
│ <status>ok</status> | |
│ <statuscode>200</statuscode> | |
│ <message/> | |
│ </meta> | |
│ <data> | |
│ <code>0</code> | |
│ <stdOut>{ | |
│ "system": { | |
│ "passwordsalt": "*** REMOVED ***", | |
│ "secret": "*** REMOVED ***", | |
│ "trusted_domains": [ | |
│ "localhost" | |
│ ], | |
│ "datadirectory": "\/var\/www\/html\/core\/data", | |
│ "overwrite.cli.url": "http:\/\/localhost", | |
│ "dbtype": "mysql", | |
│ "version": "10.7.0.4", | |
│ "dbname": "owncloud", | |
│ "dbhost": "localhost", | |
│ "dbtableprefix": "oc_", | |
│ "mysql.utf8mb4": true, | |
│ "dbuser": "oc_admin", | |
│ "dbpassword": "*** REMOVED ***", | |
│ "logtimezone": "UTC", | |
│ "apps_paths": [ | |
│ { | |
│ "path": "\/var\/www\/html\/core\/apps", | |
│ "url": "\/apps", | |
│ "writable": false | |
│ }, | |
│ { | |
│ "path": "\/var\/www\/html\/core\/apps-external", | |
│ "url": "\/apps-external", | |
│ "writable": true | |
│ } | |
│ ], | |
│ "installed": true, | |
│ "instanceid": "oc365b0w4kcp", | |
│ "mail_domain": "foobar.com", | |
│ "mail_from_address": "owncloud", | |
│ "mail_smtpmode": "smtp", | |
│ "mail_smtphost": "127.0.0.1", | |
│ "mail_smtpport": "1025", | |
│ "sharing.federation.allowHttpFallback": true, | |
│ "grace_period.demo_key.show_popup": false, | |
│ "files_external_allow_create_new_local": "true", | |
│ "skeletondirectory": "apps\/testing\/data\/apiSkeleton" | |
│ }, | |
│ "apps": { | |
│ "comments": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.3.0", | |
│ "types": "logging,dav" | |
│ }, | |
│ "core": { | |
│ "backgroundjobs_mode": "webcron", | |
│ "enable_external_storage": "yes", | |
│ "first_install_version": "10.7.0.4", | |
│ "installedat": "1619757716.6585", | |
│ "lastupdatedat": "1619757716.663", | |
│ "public_files": "files_sharing\/public.php", | |
│ "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php", | |
│ "shareapi_allow_group_sharing": "yes", | |
│ "shareapi_allow_links": "yes", | |
│ "shareapi_allow_mail_notification": "no", | |
│ "shareapi_allow_public_notification": "no", | |
│ "shareapi_allow_public_upload": "yes", | |
│ "shareapi_allow_resharing": "yes", | |
│ "shareapi_allow_share_dialog_user_enumeration": "yes", | |
│ "shareapi_allow_social_share": "yes", | |
│ "shareapi_auto_accept_share": "yes", | |
│ "shareapi_default_expire_date": "no", | |
│ "shareapi_default_expire_date_group_share": "no", | |
│ "shareapi_default_expire_date_remote_share": "no", | |
│ "shareapi_default_expire_date_user_share": "no", | |
│ "shareapi_enabled": "yes", | |
│ "shareapi_enforce_expire_date": "no", | |
│ "shareapi_enforce_expire_date_group_share": "no", | |
│ "shareapi_enforce_expire_date_remote_share": "no", | |
│ "shareapi_enforce_expire_date_user_share": "no", | |
│ "shareapi_enforce_links_password_read_only": "no", | |
│ "shareapi_enforce_links_password_read_write": "no", | |
│ "shareapi_enforce_links_password_write_only": "no", | |
│ "shareapi_exclude_groups": "no", | |
│ "shareapi_exclude_groups_list": "", | |
│ "shareapi_only_share_with_group_members": "no", | |
│ "shareapi_only_share_with_membership_groups": "no", | |
│ "shareapi_share_dialog_user_enumeration_group_members": "no" | |
│ }, | |
│ "dav": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.6.0", | |
│ "types": "filesystem" | |
│ }, | |
│ "federatedfilesharing": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.5.0", | |
│ "types": "filesystem" | |
│ }, | |
│ "federation": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.1.0", | |
│ "types": "authentication" | |
│ }, | |
│ "files": { | |
│ "enabled": "yes", | |
│ "installed_version": "1.5.2", | |
│ "types": "filesystem" | |
│ }, | |
│ "files_external": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.7.1", | |
│ "types": "filesystem" | |
│ }, | |
│ "files_sharing": { | |
│ "enabled": "yes", | |
│ "incoming_server2server_share_enabled": "yes", | |
│ "installed_version": "0.14.0", | |
│ "outgoing_server2server_share_enabled": "yes", | |
│ "types": "filesystem" | |
│ }, | |
│ "files_trashbin": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.9.1", | |
│ "types": "filesystem" | |
│ }, | |
│ "files_versions": { | |
│ "enabled": "yes", | |
│ "installed_version": "1.3.0", | |
│ "types": "filesystem" | |
│ }, | |
│ "provisioning_api": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.5.0", | |
│ "types": "prevent_group_restriction" | |
│ }, | |
│ "systemtags": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.3.0", | |
│ "types": "logging" | |
│ }, | |
│ "testing": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.1.0", | |
│ "types": "dav,authentication" | |
│ }, | |
│ "updatenotification": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.2.1", | |
│ "types": "" | |
│ } | |
│ } | |
│ } | |
│ </stdOut> | |
│ <stdErr></stdErr> | |
│ </data> | |
│ </ocs> | |
│ " | |
│ | |
│ ### END RESPONSE | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: DELETE http://localhost:8080/ocs/v2.php/apps/testing/api/v1/opcache | |
│ Headers: | |
│ Host: localhost:8080 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(0) "" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 200 | |
│ Headers: | |
│ Host: localhost:8080 | |
│ Date: Fri, 30 Apr 2021 04:44:22 GMT | |
│ Connection: close | |
│ X-Powered-By: PHP/7.4.3 | |
│ Set-Cookie: oc_sessionPassphrase=qVMDipg38cBQeza7hTp4sVJxznU2i0%2FnTnZ160RVYayjk5rHPp75%2FzCMujPnxc2V7BgTd3n5GgJSGceZgPgHrRZOBlL9SwV4qa5H1vuDuQhx9Fye%2FGpWwnr%2BgppBH2TZ; path=/; HttpOnly; SameSite=Strict, cookie_test=test; expires=Fri, 30-Apr-2021 05:44:22 GMT; Max-Age=3600, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc365b0w4kcp=q4h8tve03h4b2j211k62s3ma63; path=/; HttpOnly; SameSite=Strict | |
│ Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src * | |
│ X-XSS-Protection: 0 | |
│ X-Content-Type-Options: nosniff | |
│ X-Frame-Options: SAMEORIGIN | |
│ X-Robots-Tag: none | |
│ X-Download-Options: noopen | |
│ X-Permitted-Cross-Domain-Policies: none | |
│ Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
│ Cache-Control: no-store, no-cache, must-revalidate | |
│ Pragma: no-cache | |
│ Content-type: text/xml; charset=UTF-8 | |
│ Body: | |
│ string(127) "<?xml version="1.0"?> | |
│ <ocs> | |
│ <meta> | |
│ <status>ok</status> | |
│ <statuscode>200</statuscode> | |
│ <message/> | |
│ </meta> | |
│ <data/> | |
│ </ocs> | |
│ " | |
│ | |
│ ### END RESPONSE | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: GET http://localhost:8180/ocs/v1.php/cloud/capabilities | |
│ Headers: | |
│ Host: localhost:8180 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(0) "" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 404 | |
│ Headers: | |
│ Host: localhost:8180 | |
│ Date: Fri, 30 Apr 2021 04:44:22 GMT | |
│ Connection: close | |
│ Content-Type: text/html; charset=UTF-8 | |
│ Content-Length: 562 | |
│ Body: | |
│ string(562) "<!doctype html><html><head><title>404 Not Found</title><style> | |
│ body { background-color: #fcfcfc; color: #333333; margin: 0; padding:0; } | |
│ h1 { font-size: 1.5em; font-weight: normal; background-color: #9999cc; min-height:2em; line-height:2em; border-bottom: 1px inset black; margin: 0; } | |
│ h1, p { padding-left: 10px; } | |
│ code.url { background-color: #eeeeee; font-family:monospace; padding:0 2px;} | |
│ </style> | |
│ </head><body><h1>Not Found</h1><p>The requested resource <code class="url">/ocs/v1.php/cloud/capabilities</code> was not found on this server.</p></body></html>" | |
│ | |
│ ### END RESPONSE | |
│ | |
│ | |
╳ AppConfigurationContext::userGetsCapabilitiesCheckResponse user admin returned unexpected status 404 (Exception) | |
│ | |
┌─ @BeforeScenario # FeatureContext::rememberAppEnabledDisabledState() | |
│ | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: POST http://localhost:8180/ocs/v2.php/apps/testing/api/v1/occ | |
│ Headers: | |
│ Host: localhost:8180 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(42) "command=app%3Alist+--output+json+--no-ansi" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 404 | |
│ Headers: | |
│ Host: localhost:8180 | |
│ Date: Fri, 30 Apr 2021 04:44:22 GMT | |
│ Connection: close | |
│ Content-Type: text/html; charset=UTF-8 | |
│ Content-Length: 567 | |
│ Body: | |
│ string(567) "<!doctype html><html><head><title>404 Not Found</title><style> | |
│ body { background-color: #fcfcfc; color: #333333; margin: 0; padding:0; } | |
│ h1 { font-size: 1.5em; font-weight: normal; background-color: #9999cc; min-height:2em; line-height:2em; border-bottom: 1px inset black; margin: 0; } | |
│ h1, p { padding-left: 10px; } | |
│ code.url { background-color: #eeeeee; font-family:monospace; padding:0 2px;} | |
│ </style> | |
│ </head><body><h1>Not Found</h1><p>The requested resource <code class="url">/ocs/v2.php/apps/testing/api/v1/occ</code> was not found on this server.</p></body></html>" | |
│ | |
│ ### END RESPONSE | |
│ | |
│ | |
╳ Warning: simplexml_load_string(): Entity: line 1: parser error : StartTag: invalid element name in /var/www/html/core/tests/TestHelpers/SetupHelper.php line 745 | |
│ | |
Scenario: Getting info on comments for a folder using the endpoint # /var/www/html/core/tests/acceptance/features/apiComments/comments.feature:24 | |
Given user "Alice" has commented with content "My first comment" on folder "/PARENT" # CommentsContext::userHasCommentedWithContentOnEntry() | |
And user "Alice" should have the following comments on folder "/PARENT" # CommentsContext::checkComments() | |
| user | comment | | |
| Alice | My first comment | | |
When user "Alice" gets the following properties of folder "/PARENT" using the WebDAV API # WebDavPropertiesContext::userGetsPropertiesOfFolder() | |
| propertyName | | |
| oc:comments-href | | |
| oc:comments-count | | |
| oc:comments-unread | | |
Then the single response should contain a property "oc:comments-count" with value "1" # WebDavPropertiesContext::theSingleResponseShouldContainAPropertyWithValue() | |
And the single response should contain a property "oc:comments-unread" with value "0" # WebDavPropertiesContext::theSingleResponseShouldContainAPropertyWithValue() | |
And the single response should contain a property "oc:comments-href" with value "%a_comment_url%" # WebDavPropertiesContext::theSingleResponseShouldContainAPropertyWithValue() | |
[Fri Apr 30 12:44:22 2021] 127.0.0.1:48572 Accepted | |
[Fri Apr 30 12:44:23 2021] 127.0.0.1:48572 [200]: GET /ocs/v1.php/cloud/capabilities | |
[Fri Apr 30 12:44:23 2021] 127.0.0.1:48572 Closing | |
[Fri Apr 30 12:44:23 2021] 127.0.0.1:48574 Accepted | |
[Fri Apr 30 12:44:23 2021] 127.0.0.1:48574 [200]: POST /ocs/v1.php/apps/testing/api/v1/apps | |
[Fri Apr 30 12:44:23 2021] 127.0.0.1:48574 Closing | |
[Fri Apr 30 12:44:23 2021] 127.0.0.1:48576 Accepted | |
[Fri Apr 30 12:44:23 2021] 127.0.0.1:48576 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:23 2021] 127.0.0.1:48576 Closing | |
[Fri Apr 30 12:44:23 2021] 127.0.0.1:48578 Accepted | |
[Fri Apr 30 12:44:23 2021] 127.0.0.1:48578 [200]: DELETE /ocs/v2.php/apps/testing/api/v1/opcache | |
[Fri Apr 30 12:44:23 2021] 127.0.0.1:48578 Closing | |
[Fri Apr 30 12:44:23 2021] 127.0.0.1:60048 Accepted | |
[Fri Apr 30 12:44:23 2021] 127.0.0.1:60048 [404]: (null) /ocs/v1.php/cloud/capabilities - No such file or directory | |
[Fri Apr 30 12:44:23 2021] 127.0.0.1:60048 Closing | |
[Fri Apr 30 12:44:23 2021] 127.0.0.1:60050 Accepted | |
[Fri Apr 30 12:44:23 2021] 127.0.0.1:60050 [404]: (null) /ocs/v2.php/apps/testing/api/v1/occ - No such file or directory | |
[Fri Apr 30 12:44:23 2021] 127.0.0.1:60050 Closing | |
┌─ @BeforeScenario # FeatureContext::prepareParametersBeforeScenario() | |
│ | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: GET http://localhost:8080/ocs/v1.php/cloud/capabilities | |
│ Headers: | |
│ Host: localhost:8080 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(0) "" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 200 | |
│ Headers: | |
│ Host: localhost:8080 | |
│ Date: Fri, 30 Apr 2021 04:44:23 GMT | |
│ Connection: close | |
│ X-Powered-By: PHP/7.4.3 | |
│ Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
│ Pragma: no-cache | |
│ Set-Cookie: oc_sessionPassphrase=ImGhj5ur0zOVXDAsy2IkV%2BWC50SN26Hd%2FE8s6l9tiorTFE%2B1J4Uct67YMGe%2FkSmkF6Nu%2B6MA%2BE8XC9fY52RtMrCVAxqSqMvvLYYY5klRYTEvxSjK5zovpeVlQpaqo%2BOj; path=/; HttpOnly; SameSite=Strict, oc365b0w4kcp=bkm1e6ntv2offce18h8s9451n2; path=/; HttpOnly; SameSite=Strict, cookie_test=test; expires=Fri, 30-Apr-2021 05:44:23 GMT; Max-Age=3600 | |
│ X-XSS-Protection: 0 | |
│ X-Content-Type-Options: nosniff | |
│ X-Frame-Options: SAMEORIGIN | |
│ X-Robots-Tag: none | |
│ X-Download-Options: noopen | |
│ X-Permitted-Cross-Domain-Policies: none | |
│ Cache-Control: no-cache, no-store, must-revalidate | |
│ Content-Type: application/xml; charset=utf-8 | |
│ Content-Security-Policy: default-src 'none';manifest-src 'self';script-src 'self' 'unsafe-eval';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src 'self';connect-src 'self';media-src 'self' | |
│ Content-Length: 3686 | |
│ Body: | |
│ string(3686) "<?xml version="1.0"?> | |
│ <ocs> | |
│ <meta> | |
│ <status>ok</status> | |
│ <statuscode>100</statuscode> | |
│ <message>OK</message> | |
│ <totalitems></totalitems> | |
│ <itemsperpage></itemsperpage> | |
│ </meta> | |
│ <data> | |
│ <version> | |
│ <major>10</major> | |
│ <minor>7</minor> | |
│ <micro>0</micro> | |
│ <string>10.7.0</string> | |
│ <edition>Community</edition> | |
│ </version> | |
│ <capabilities> | |
│ <core> | |
│ <pollinterval>60</pollinterval> | |
│ <webdav-root>remote.php/webdav</webdav-root> | |
│ <status> | |
│ <installed>1</installed> | |
│ <maintenance></maintenance> | |
│ <needsDbUpgrade></needsDbUpgrade> | |
│ <version>10.7.0.4</version> | |
│ <versionstring>10.7.0</versionstring> | |
│ <edition>Community</edition> | |
│ <productname>ownCloud</productname> | |
│ <hostname>b32a59a7549d</hostname> | |
│ </status> | |
│ <support-url-signing>1</support-url-signing> | |
│ </core> | |
│ <checksums> | |
│ <supportedTypes> | |
│ <element>SHA1</element> | |
│ </supportedTypes> | |
│ <preferredUploadType>SHA1</preferredUploadType> | |
│ </checksums> | |
│ <files> | |
│ <privateLinks>1</privateLinks> | |
│ <privateLinksDetailsParam>1</privateLinksDetailsParam> | |
│ <bigfilechunking>1</bigfilechunking> | |
│ <blacklisted_files> | |
│ <element>.htaccess</element> | |
│ </blacklisted_files> | |
│ <favorites>1</favorites> | |
│ <file_locking_support>1</file_locking_support> | |
│ <file_locking_enable_file_action></file_locking_enable_file_action> | |
│ <undelete>1</undelete> | |
│ <versioning>1</versioning> | |
│ </files> | |
│ <dav> | |
│ <chunking>1.0</chunking> | |
│ <reports> | |
│ <element>search-files</element> | |
│ </reports> | |
│ <trashbin>1.0</trashbin> | |
│ </dav> | |
│ <files_sharing> | |
│ <api_enabled>1</api_enabled> | |
│ <public> | |
│ <enabled>1</enabled> | |
│ <password> | |
│ <enforced_for> | |
│ <read_only></read_only> | |
│ <read_write></read_write> | |
│ <upload_only></upload_only> | |
│ <read_write_delete></read_write_delete> | |
│ </enforced_for> | |
│ <enforced></enforced> | |
│ </password> | |
│ <roles_api>1</roles_api> | |
│ <expire_date> | |
│ <enabled></enabled> | |
│ </expire_date> | |
│ <send_mail></send_mail> | |
│ <social_share>1</social_share> | |
│ <upload>1</upload> | |
│ <multiple>1</multiple> | |
│ <supports_upload_only>1</supports_upload_only> | |
│ <defaultPublicLinkShareName>Public link</defaultPublicLinkShareName> | |
│ </public> | |
│ <user> | |
│ <send_mail></send_mail> | |
│ <expire_date> | |
│ <enabled></enabled> | |
│ </expire_date> | |
│ </user> | |
│ <group> | |
│ <expire_date> | |
│ <enabled></enabled> | |
│ </expire_date> | |
│ </group> | |
│ <remote> | |
│ <expire_date> | |
│ <enabled></enabled> | |
│ </expire_date> | |
│ </remote> | |
│ <resharing>1</resharing> | |
│ <group_sharing>1</group_sharing> | |
│ <auto_accept_share>1</auto_accept_share> | |
│ <share_with_group_members_only></share_with_group_members_only> | |
│ <share_with_membership_groups_only></share_with_membership_groups_only> | |
│ <can_share>1</can_share> | |
│ <user_enumeration> | |
│ <enabled>1</enabled> | |
│ <group_members_only></group_members_only> | |
│ </user_enumeration> | |
│ <default_permissions>31</default_permissions> | |
│ <providers_capabilities> | |
│ <ocinternal> | |
│ <user> | |
│ <element>shareExpiration</element> | |
│ </user> | |
│ <group> | |
│ <element>shareExpiration</element> | |
│ </group> | |
│ <link> | |
│ <element>shareExpiration</element> | |
│ <element>passwordProtected</element> | |
│ </link> | |
│ </ocinternal> | |
│ <ocFederatedSharing> | |
│ <remote> | |
│ <element>shareExpiration</element> | |
│ </remote> | |
│ </ocFederatedSharing> | |
│ </providers_capabilities> | |
│ <federation> | |
│ <outgoing>1</outgoing> | |
│ <incoming>1</incoming> | |
│ </federation> | |
│ <search_min_length>2</search_min_length> | |
│ </files_sharing> | |
│ </capabilities> | |
│ </data> | |
│ </ocs> | |
│ " | |
│ | |
│ ### END RESPONSE | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: POST http://localhost:8080/ocs/v1.php/apps/testing/api/v1/apps | |
│ Headers: | |
│ Host: localhost:8080 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(3498) "values%5B0%5D%5Bappid%5D=core&values%5B0%5D%5Bconfigkey%5D=shareapi_auto_accept_share&values%5B0%5D%5Bvalue%5D=yes&values%5B1%5D%5Bappid%5D=core&values%5B1%5D%5Bconfigkey%5D=shareapi_enabled&values%5B1%5D%5Bvalue%5D=yes&values%5B2%5D%5Bappid%5D=core&values%5B2%5D%5Bconfigkey%5D=shareapi_allow_links&values%5B2%5D%5Bvalue%5D=yes&values%5B3%5D%5Bappid%5D=core&values%5B3%5D%5Bconfigkey%5D=shareapi_allow_public_upload&values%5B3%5D%5Bvalue%5D=yes&values%5B4%5D%5Bappid%5D=core&values%5B4%5D%5Bconfigkey%5D=shareapi_allow_group_sharing&values%5B4%5D%5Bvalue%5D=yes&values%5B5%5D%5Bappid%5D=core&values%5B5%5D%5Bconfigkey%5D=shareapi_only_share_with_group_members&values%5B5%5D%5Bvalue%5D=no&values%5B6%5D%5Bappid%5D=core&values%5B6%5D%5Bconfigkey%5D=shareapi_only_share_with_membership_groups&values%5B6%5D%5Bvalue%5D=no&values%5B7%5D%5Bappid%5D=core&values%5B7%5D%5Bconfigkey%5D=shareapi_exclude_groups&values%5B7%5D%5Bvalue%5D=no&values%5B8%5D%5Bappid%5D=core&values%5B8%5D%5Bconfigkey%5D=shareapi_exclude_groups_list&values%5B8%5D%5Bvalue%5D=&values%5B9%5D%5Bappid%5D=core&values%5B9%5D%5Bconfigkey%5D=shareapi_allow_share_dialog_user_enumeration&values%5B9%5D%5Bvalue%5D=yes&values%5B10%5D%5Bappid%5D=core&values%5B10%5D%5Bconfigkey%5D=shareapi_share_dialog_user_enumeration_group_members&values%5B10%5D%5Bvalue%5D=no&values%5B11%5D%5Bappid%5D=core&values%5B11%5D%5Bconfigkey%5D=shareapi_allow_resharing&values%5B11%5D%5Bvalue%5D=yes&values%5B12%5D%5Bappid%5D=core&values%5B12%5D%5Bconfigkey%5D=shareapi_enforce_links_password_read_only&values%5B12%5D%5Bvalue%5D=no&values%5B13%5D%5Bappid%5D=core&values%5B13%5D%5Bconfigkey%5D=shareapi_enforce_links_password_read_write&values%5B13%5D%5Bvalue%5D=no&values%5B14%5D%5Bappid%5D=core&values%5B14%5D%5Bconfigkey%5D=shareapi_enforce_links_password_write_only&values%5B14%5D%5Bvalue%5D=no&values%5B15%5D%5Bappid%5D=core&values%5B15%5D%5Bconfigkey%5D=shareapi_allow_public_notification&values%5B15%5D%5Bvalue%5D=no&values%5B16%5D%5Bappid%5D=core&values%5B16%5D%5Bconfigkey%5D=shareapi_allow_social_share&values%5B16%5D%5Bvalue%5D=yes&values%5B17%5D%5Bappid%5D=core&values%5B17%5D%5Bconfigkey%5D=shareapi_default_expire_date&values%5B17%5D%5Bvalue%5D=no&values%5B18%5D%5Bappid%5D=core&values%5B18%5D%5Bconfigkey%5D=shareapi_enforce_expire_date&values%5B18%5D%5Bvalue%5D=no&values%5B19%5D%5Bappid%5D=core&values%5B19%5D%5Bconfigkey%5D=shareapi_allow_mail_notification&values%5B19%5D%5Bvalue%5D=no&values%5B20%5D%5Bappid%5D=core&values%5B20%5D%5Bconfigkey%5D=shareapi_default_expire_date_user_share&values%5B20%5D%5Bvalue%5D=no&values%5B21%5D%5Bappid%5D=core&values%5B21%5D%5Bconfigkey%5D=shareapi_enforce_expire_date_user_share&values%5B21%5D%5Bvalue%5D=no&values%5B22%5D%5Bappid%5D=core&values%5B22%5D%5Bconfigkey%5D=shareapi_default_expire_date_group_share&values%5B22%5D%5Bvalue%5D=no&values%5B23%5D%5Bappid%5D=core&values%5B23%5D%5Bconfigkey%5D=shareapi_enforce_expire_date_group_share&values%5B23%5D%5Bvalue%5D=no&values%5B24%5D%5Bappid%5D=core&values%5B24%5D%5Bconfigkey%5D=shareapi_default_expire_date_remote_share&values%5B24%5D%5Bvalue%5D=no&values%5B25%5D%5Bappid%5D=core&values%5B25%5D%5Bconfigkey%5D=shareapi_enforce_expire_date_remote_share&values%5B25%5D%5Bvalue%5D=no&values%5B26%5D%5Bappid%5D=files_sharing&values%5B26%5D%5Bconfigkey%5D=outgoing_server2server_share_enabled&values%5B26%5D%5Bvalue%5D=yes&values%5B27%5D%5Bappid%5D=files_sharing&values%5B27%5D%5Bconfigkey%5D=incoming_server2server_share_enabled&values%5B27%5D%5Bvalue%5D=yes" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 200 | |
│ Headers: | |
│ Host: localhost:8080 | |
│ Date: Fri, 30 Apr 2021 04:44:23 GMT | |
│ Connection: close | |
│ X-Powered-By: PHP/7.4.3 | |
│ Set-Cookie: oc_sessionPassphrase=xPryUZyu%2BDq2pDtJZVPqgO0yFvVoWyYHmpPHShTrTYNCr8RbCn7spHPy7UXQNPjBeRvVvWj9bJvnqeg4ca39xD5ufewY%2FV4jvS2Rqj4chfy4knWSxNP4zSZMZtE%2B9viS; path=/; HttpOnly; SameSite=Strict, cookie_test=test; expires=Fri, 30-Apr-2021 05:44:23 GMT; Max-Age=3600, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc365b0w4kcp=tl161iimu033brlrk6kbnaa7ct; path=/; HttpOnly; SameSite=Strict | |
│ Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src * | |
│ X-XSS-Protection: 0 | |
│ X-Content-Type-Options: nosniff | |
│ X-Frame-Options: SAMEORIGIN | |
│ X-Robots-Tag: none | |
│ X-Download-Options: noopen | |
│ X-Permitted-Cross-Domain-Policies: none | |
│ Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
│ Cache-Control: no-store, no-cache, must-revalidate | |
│ Pragma: no-cache | |
│ Content-type: text/xml; charset=UTF-8 | |
│ Body: | |
│ string(127) "<?xml version="1.0"?> | |
│ <ocs> | |
│ <meta> | |
│ <status>ok</status> | |
│ <statuscode>100</statuscode> | |
│ <message/> | |
│ </meta> | |
│ <data/> | |
│ </ocs> | |
│ " | |
│ | |
│ ### END RESPONSE | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: POST http://localhost:8080/ocs/v2.php/apps/testing/api/v1/occ | |
│ Headers: | |
│ Host: localhost:8080 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(31) "command=config%3Alist+--private" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 200 | |
│ Headers: | |
│ Host: localhost:8080 | |
│ Date: Fri, 30 Apr 2021 04:44:23 GMT | |
│ Connection: close | |
│ X-Powered-By: PHP/7.4.3 | |
│ Set-Cookie: oc_sessionPassphrase=qxmB4CVnn1Ga31bs4pu2pRzsi1nWfQLP6yO%2FXPEa5I09P%2FjhdTBli61ka453zRgYTWHaZENVSwi7zTSB5x2pMQODpBoCigl1YKeDQAV2wj1ZxC%2BO5%2F5wdBo2YEfvOyG0; path=/; HttpOnly; SameSite=Strict, cookie_test=test; expires=Fri, 30-Apr-2021 05:44:23 GMT; Max-Age=3600, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc365b0w4kcp=eatmcbqfug7tmferdjct7n650u; path=/; HttpOnly; SameSite=Strict | |
│ Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src * | |
│ X-XSS-Protection: 0 | |
│ X-Content-Type-Options: nosniff | |
│ X-Frame-Options: SAMEORIGIN | |
│ X-Robots-Tag: none | |
│ X-Download-Options: noopen | |
│ X-Permitted-Cross-Domain-Policies: none | |
│ Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
│ Cache-Control: no-store, no-cache, must-revalidate | |
│ Pragma: no-cache | |
│ Content-type: text/xml; charset=UTF-8 | |
│ Body: | |
│ string(7711) "<?xml version="1.0"?> | |
│ <ocs> | |
│ <meta> | |
│ <status>ok</status> | |
│ <statuscode>200</statuscode> | |
│ <message/> | |
│ </meta> | |
│ <data> | |
│ <code>0</code> | |
│ <stdOut>{ | |
│ "system": { | |
│ "passwordsalt": "*** REMOVED ***", | |
│ "secret": "*** REMOVED ***", | |
│ "trusted_domains": [ | |
│ "localhost" | |
│ ], | |
│ "datadirectory": "\/var\/www\/html\/core\/data", | |
│ "overwrite.cli.url": "http:\/\/localhost", | |
│ "dbtype": "mysql", | |
│ "version": "10.7.0.4", | |
│ "dbname": "owncloud", | |
│ "dbhost": "localhost", | |
│ "dbtableprefix": "oc_", | |
│ "mysql.utf8mb4": true, | |
│ "dbuser": "oc_admin", | |
│ "dbpassword": "*** REMOVED ***", | |
│ "logtimezone": "UTC", | |
│ "apps_paths": [ | |
│ { | |
│ "path": "\/var\/www\/html\/core\/apps", | |
│ "url": "\/apps", | |
│ "writable": false | |
│ }, | |
│ { | |
│ "path": "\/var\/www\/html\/core\/apps-external", | |
│ "url": "\/apps-external", | |
│ "writable": true | |
│ } | |
│ ], | |
│ "installed": true, | |
│ "instanceid": "oc365b0w4kcp", | |
│ "mail_domain": "foobar.com", | |
│ "mail_from_address": "owncloud", | |
│ "mail_smtpmode": "smtp", | |
│ "mail_smtphost": "127.0.0.1", | |
│ "mail_smtpport": "1025", | |
│ "sharing.federation.allowHttpFallback": true, | |
│ "grace_period.demo_key.show_popup": false, | |
│ "files_external_allow_create_new_local": "true", | |
│ "skeletondirectory": "apps\/testing\/data\/apiSkeleton" | |
│ }, | |
│ "apps": { | |
│ "comments": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.3.0", | |
│ "types": "logging,dav" | |
│ }, | |
│ "core": { | |
│ "backgroundjobs_mode": "webcron", | |
│ "enable_external_storage": "yes", | |
│ "first_install_version": "10.7.0.4", | |
│ "installedat": "1619757716.6585", | |
│ "lastupdatedat": "1619757716.663", | |
│ "public_files": "files_sharing\/public.php", | |
│ "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php", | |
│ "shareapi_allow_group_sharing": "yes", | |
│ "shareapi_allow_links": "yes", | |
│ "shareapi_allow_mail_notification": "no", | |
│ "shareapi_allow_public_notification": "no", | |
│ "shareapi_allow_public_upload": "yes", | |
│ "shareapi_allow_resharing": "yes", | |
│ "shareapi_allow_share_dialog_user_enumeration": "yes", | |
│ "shareapi_allow_social_share": "yes", | |
│ "shareapi_auto_accept_share": "yes", | |
│ "shareapi_default_expire_date": "no", | |
│ "shareapi_default_expire_date_group_share": "no", | |
│ "shareapi_default_expire_date_remote_share": "no", | |
│ "shareapi_default_expire_date_user_share": "no", | |
│ "shareapi_enabled": "yes", | |
│ "shareapi_enforce_expire_date": "no", | |
│ "shareapi_enforce_expire_date_group_share": "no", | |
│ "shareapi_enforce_expire_date_remote_share": "no", | |
│ "shareapi_enforce_expire_date_user_share": "no", | |
│ "shareapi_enforce_links_password_read_only": "no", | |
│ "shareapi_enforce_links_password_read_write": "no", | |
│ "shareapi_enforce_links_password_write_only": "no", | |
│ "shareapi_exclude_groups": "no", | |
│ "shareapi_exclude_groups_list": "", | |
│ "shareapi_only_share_with_group_members": "no", | |
│ "shareapi_only_share_with_membership_groups": "no", | |
│ "shareapi_share_dialog_user_enumeration_group_members": "no" | |
│ }, | |
│ "dav": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.6.0", | |
│ "types": "filesystem" | |
│ }, | |
│ "federatedfilesharing": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.5.0", | |
│ "types": "filesystem" | |
│ }, | |
│ "federation": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.1.0", | |
│ "types": "authentication" | |
│ }, | |
│ "files": { | |
│ "enabled": "yes", | |
│ "installed_version": "1.5.2", | |
│ "types": "filesystem" | |
│ }, | |
│ "files_external": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.7.1", | |
│ "types": "filesystem" | |
│ }, | |
│ "files_sharing": { | |
│ "enabled": "yes", | |
│ "incoming_server2server_share_enabled": "yes", | |
│ "installed_version": "0.14.0", | |
│ "outgoing_server2server_share_enabled": "yes", | |
│ "types": "filesystem" | |
│ }, | |
│ "files_trashbin": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.9.1", | |
│ "types": "filesystem" | |
│ }, | |
│ "files_versions": { | |
│ "enabled": "yes", | |
│ "installed_version": "1.3.0", | |
│ "types": "filesystem" | |
│ }, | |
│ "provisioning_api": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.5.0", | |
│ "types": "prevent_group_restriction" | |
│ }, | |
│ "systemtags": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.3.0", | |
│ "types": "logging" | |
│ }, | |
│ "testing": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.1.0", | |
│ "types": "dav,authentication" | |
│ }, | |
│ "updatenotification": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.2.1", | |
│ "types": "" | |
│ } | |
│ } | |
│ } | |
│ </stdOut> | |
│ <stdErr></stdErr> | |
│ </data> | |
│ </ocs> | |
│ " | |
│ | |
│ ### END RESPONSE | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: DELETE http://localhost:8080/ocs/v2.php/apps/testing/api/v1/opcache | |
│ Headers: | |
│ Host: localhost:8080 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(0) "" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 200 | |
│ Headers: | |
│ Host: localhost:8080 | |
│ Date: Fri, 30 Apr 2021 04:44:23 GMT | |
│ Connection: close | |
│ X-Powered-By: PHP/7.4.3 | |
│ Set-Cookie: oc_sessionPassphrase=bJfsRXmfPFtgRxizZlxQqA%2BIev8j8cjv9c3GQXMu5okCOOhMPSBMCXRzqU3ZZObAof7stD9bAWqheJ2%2BMoSlsO2ohyL8yzMOe62WsxYZYVttrtVgvb1gQjjzDk%2F378Fn; path=/; HttpOnly; SameSite=Strict, cookie_test=test; expires=Fri, 30-Apr-2021 05:44:23 GMT; Max-Age=3600, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc365b0w4kcp=j53156l1q83ldsq9okbfackldc; path=/; HttpOnly; SameSite=Strict | |
│ Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src * | |
│ X-XSS-Protection: 0 | |
│ X-Content-Type-Options: nosniff | |
│ X-Frame-Options: SAMEORIGIN | |
│ X-Robots-Tag: none | |
│ X-Download-Options: noopen | |
│ X-Permitted-Cross-Domain-Policies: none | |
│ Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
│ Cache-Control: no-store, no-cache, must-revalidate | |
│ Pragma: no-cache | |
│ Content-type: text/xml; charset=UTF-8 | |
│ Body: | |
│ string(127) "<?xml version="1.0"?> | |
│ <ocs> | |
│ <meta> | |
│ <status>ok</status> | |
│ <statuscode>200</statuscode> | |
│ <message/> | |
│ </meta> | |
│ <data/> | |
│ </ocs> | |
│ " | |
│ | |
│ ### END RESPONSE | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: GET http://localhost:8180/ocs/v1.php/cloud/capabilities | |
│ Headers: | |
│ Host: localhost:8180 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(0) "" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 404 | |
│ Headers: | |
│ Host: localhost:8180 | |
│ Date: Fri, 30 Apr 2021 04:44:23 GMT | |
│ Connection: close | |
│ Content-Type: text/html; charset=UTF-8 | |
│ Content-Length: 562 | |
│ Body: | |
│ string(562) "<!doctype html><html><head><title>404 Not Found</title><style> | |
│ body { background-color: #fcfcfc; color: #333333; margin: 0; padding:0; } | |
│ h1 { font-size: 1.5em; font-weight: normal; background-color: #9999cc; min-height:2em; line-height:2em; border-bottom: 1px inset black; margin: 0; } | |
│ h1, p { padding-left: 10px; } | |
│ code.url { background-color: #eeeeee; font-family:monospace; padding:0 2px;} | |
│ </style> | |
│ </head><body><h1>Not Found</h1><p>The requested resource <code class="url">/ocs/v1.php/cloud/capabilities</code> was not found on this server.</p></body></html>" | |
│ | |
│ ### END RESPONSE | |
│ | |
│ | |
╳ AppConfigurationContext::userGetsCapabilitiesCheckResponse user admin returned unexpected status 404 (Exception) | |
│ | |
┌─ @BeforeScenario # FeatureContext::rememberAppEnabledDisabledState() | |
│ | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: POST http://localhost:8180/ocs/v2.php/apps/testing/api/v1/occ | |
│ Headers: | |
│ Host: localhost:8180 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(42) "command=app%3Alist+--output+json+--no-ansi" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 404 | |
│ Headers: | |
│ Host: localhost:8180 | |
│ Date: Fri, 30 Apr 2021 04:44:23 GMT | |
│ Connection: close | |
│ Content-Type: text/html; charset=UTF-8 | |
│ Content-Length: 567 | |
│ Body: | |
│ string(567) "<!doctype html><html><head><title>404 Not Found</title><style> | |
│ body { background-color: #fcfcfc; color: #333333; margin: 0; padding:0; } | |
│ h1 { font-size: 1.5em; font-weight: normal; background-color: #9999cc; min-height:2em; line-height:2em; border-bottom: 1px inset black; margin: 0; } | |
│ h1, p { padding-left: 10px; } | |
│ code.url { background-color: #eeeeee; font-family:monospace; padding:0 2px;} | |
│ </style> | |
│ </head><body><h1>Not Found</h1><p>The requested resource <code class="url">/ocs/v2.php/apps/testing/api/v1/occ</code> was not found on this server.</p></body></html>" | |
│ | |
│ ### END RESPONSE | |
│ | |
│ | |
╳ Warning: simplexml_load_string(): Entity: line 1: parser error : StartTag: invalid element name in /var/www/html/core/tests/TestHelpers/SetupHelper.php line 745 | |
│ | |
Scenario: Getting more info about comments using REPORT method # /var/www/html/core/tests/acceptance/features/apiComments/comments.feature:38 | |
Given user "Alice" has uploaded file "filesForUpload/textfile.txt" to "myFileToComment.txt" # FeatureContext::userHasUploadedAFileTo() | |
And user "Alice" has commented with content "My first comment" on file "myFileToComment.txt" # CommentsContext::userHasCommentedWithContentOnEntry() | |
When user "Alice" gets all information about the comments on file "myFileToComment.txt" using the WebDAV REPORT API # CommentsContext::userGetsAllInfoOfCommentsOfFolderUsingTheWebdavReportApi() | |
Then the following comment properties should be listed about user "Alice" # CommentsContext::followingPropertiesShouldBeListed() | |
| propertyName | propertyValue | | |
| verb | comment | | |
| actorType | users | | |
| actorId | %username% | | |
| objectType | files | | |
| isUnread | false | | |
| actorDisplayName | %displayname% | | |
| message | My first comment | | |
[Fri Apr 30 12:44:23 2021] 127.0.0.1:48584 Accepted | |
[Fri Apr 30 12:44:24 2021] 127.0.0.1:48584 [200]: GET /ocs/v1.php/cloud/capabilities | |
[Fri Apr 30 12:44:24 2021] 127.0.0.1:48584 Closing | |
[Fri Apr 30 12:44:24 2021] 127.0.0.1:48586 Accepted | |
[Fri Apr 30 12:44:24 2021] 127.0.0.1:48586 [200]: POST /ocs/v1.php/apps/testing/api/v1/apps | |
[Fri Apr 30 12:44:24 2021] 127.0.0.1:48586 Closing | |
[Fri Apr 30 12:44:24 2021] 127.0.0.1:48588 Accepted | |
[Fri Apr 30 12:44:24 2021] 127.0.0.1:48588 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:24 2021] 127.0.0.1:48588 Closing | |
[Fri Apr 30 12:44:24 2021] 127.0.0.1:48590 Accepted | |
[Fri Apr 30 12:44:24 2021] 127.0.0.1:48590 [200]: DELETE /ocs/v2.php/apps/testing/api/v1/opcache | |
[Fri Apr 30 12:44:24 2021] 127.0.0.1:48590 Closing | |
[Fri Apr 30 12:44:24 2021] 127.0.0.1:60060 Accepted | |
[Fri Apr 30 12:44:24 2021] 127.0.0.1:60060 [404]: (null) /ocs/v1.php/cloud/capabilities - No such file or directory | |
[Fri Apr 30 12:44:24 2021] 127.0.0.1:60060 Closing | |
[Fri Apr 30 12:44:24 2021] 127.0.0.1:60062 Accepted | |
[Fri Apr 30 12:44:24 2021] 127.0.0.1:60062 [404]: (null) /ocs/v2.php/apps/testing/api/v1/occ - No such file or directory | |
[Fri Apr 30 12:44:24 2021] 127.0.0.1:60062 Closing | |
┌─ @BeforeScenario # FeatureContext::prepareParametersBeforeScenario() | |
│ | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: GET http://localhost:8080/ocs/v1.php/cloud/capabilities | |
│ Headers: | |
│ Host: localhost:8080 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(0) "" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 200 | |
│ Headers: | |
│ Host: localhost:8080 | |
│ Date: Fri, 30 Apr 2021 04:44:24 GMT | |
│ Connection: close | |
│ X-Powered-By: PHP/7.4.3 | |
│ Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
│ Pragma: no-cache | |
│ Set-Cookie: oc_sessionPassphrase=ysJZjMxj9aj3o5tEnNRaVSnPCg63%2BFNHL6K0S88Gn29fKeQBJu%2Ft8sGTl5sltZQmwHyJHanBybKdEAOhZZRV%2FnNaQSO1mS%2BFtPI1YUzsqiPATcGrSF9BpKssBZ1WcjSt; path=/; HttpOnly; SameSite=Strict, oc365b0w4kcp=bd5in6u5vrkdgfibk286b7c37k; path=/; HttpOnly; SameSite=Strict, cookie_test=test; expires=Fri, 30-Apr-2021 05:44:24 GMT; Max-Age=3600 | |
│ X-XSS-Protection: 0 | |
│ X-Content-Type-Options: nosniff | |
│ X-Frame-Options: SAMEORIGIN | |
│ X-Robots-Tag: none | |
│ X-Download-Options: noopen | |
│ X-Permitted-Cross-Domain-Policies: none | |
│ Cache-Control: no-cache, no-store, must-revalidate | |
│ Content-Type: application/xml; charset=utf-8 | |
│ Content-Security-Policy: default-src 'none';manifest-src 'self';script-src 'self' 'unsafe-eval';style-src 'self' 'unsafe-inline';img-src 'self' data: blob:;font-src 'self';connect-src 'self';media-src 'self' | |
│ Content-Length: 3686 | |
│ Body: | |
│ string(3686) "<?xml version="1.0"?> | |
│ <ocs> | |
│ <meta> | |
│ <status>ok</status> | |
│ <statuscode>100</statuscode> | |
│ <message>OK</message> | |
│ <totalitems></totalitems> | |
│ <itemsperpage></itemsperpage> | |
│ </meta> | |
│ <data> | |
│ <version> | |
│ <major>10</major> | |
│ <minor>7</minor> | |
│ <micro>0</micro> | |
│ <string>10.7.0</string> | |
│ <edition>Community</edition> | |
│ </version> | |
│ <capabilities> | |
│ <core> | |
│ <pollinterval>60</pollinterval> | |
│ <webdav-root>remote.php/webdav</webdav-root> | |
│ <status> | |
│ <installed>1</installed> | |
│ <maintenance></maintenance> | |
│ <needsDbUpgrade></needsDbUpgrade> | |
│ <version>10.7.0.4</version> | |
│ <versionstring>10.7.0</versionstring> | |
│ <edition>Community</edition> | |
│ <productname>ownCloud</productname> | |
│ <hostname>b32a59a7549d</hostname> | |
│ </status> | |
│ <support-url-signing>1</support-url-signing> | |
│ </core> | |
│ <checksums> | |
│ <supportedTypes> | |
│ <element>SHA1</element> | |
│ </supportedTypes> | |
│ <preferredUploadType>SHA1</preferredUploadType> | |
│ </checksums> | |
│ <files> | |
│ <privateLinks>1</privateLinks> | |
│ <privateLinksDetailsParam>1</privateLinksDetailsParam> | |
│ <bigfilechunking>1</bigfilechunking> | |
│ <blacklisted_files> | |
│ <element>.htaccess</element> | |
│ </blacklisted_files> | |
│ <favorites>1</favorites> | |
│ <file_locking_support>1</file_locking_support> | |
│ <file_locking_enable_file_action></file_locking_enable_file_action> | |
│ <undelete>1</undelete> | |
│ <versioning>1</versioning> | |
│ </files> | |
│ <dav> | |
│ <chunking>1.0</chunking> | |
│ <reports> | |
│ <element>search-files</element> | |
│ </reports> | |
│ <trashbin>1.0</trashbin> | |
│ </dav> | |
│ <files_sharing> | |
│ <api_enabled>1</api_enabled> | |
│ <public> | |
│ <enabled>1</enabled> | |
│ <password> | |
│ <enforced_for> | |
│ <read_only></read_only> | |
│ <read_write></read_write> | |
│ <upload_only></upload_only> | |
│ <read_write_delete></read_write_delete> | |
│ </enforced_for> | |
│ <enforced></enforced> | |
│ </password> | |
│ <roles_api>1</roles_api> | |
│ <expire_date> | |
│ <enabled></enabled> | |
│ </expire_date> | |
│ <send_mail></send_mail> | |
│ <social_share>1</social_share> | |
│ <upload>1</upload> | |
│ <multiple>1</multiple> | |
│ <supports_upload_only>1</supports_upload_only> | |
│ <defaultPublicLinkShareName>Public link</defaultPublicLinkShareName> | |
│ </public> | |
│ <user> | |
│ <send_mail></send_mail> | |
│ <expire_date> | |
│ <enabled></enabled> | |
│ </expire_date> | |
│ </user> | |
│ <group> | |
│ <expire_date> | |
│ <enabled></enabled> | |
│ </expire_date> | |
│ </group> | |
│ <remote> | |
│ <expire_date> | |
│ <enabled></enabled> | |
│ </expire_date> | |
│ </remote> | |
│ <resharing>1</resharing> | |
│ <group_sharing>1</group_sharing> | |
│ <auto_accept_share>1</auto_accept_share> | |
│ <share_with_group_members_only></share_with_group_members_only> | |
│ <share_with_membership_groups_only></share_with_membership_groups_only> | |
│ <can_share>1</can_share> | |
│ <user_enumeration> | |
│ <enabled>1</enabled> | |
│ <group_members_only></group_members_only> | |
│ </user_enumeration> | |
│ <default_permissions>31</default_permissions> | |
│ <providers_capabilities> | |
│ <ocinternal> | |
│ <user> | |
│ <element>shareExpiration</element> | |
│ </user> | |
│ <group> | |
│ <element>shareExpiration</element> | |
│ </group> | |
│ <link> | |
│ <element>shareExpiration</element> | |
│ <element>passwordProtected</element> | |
│ </link> | |
│ </ocinternal> | |
│ <ocFederatedSharing> | |
│ <remote> | |
│ <element>shareExpiration</element> | |
│ </remote> | |
│ </ocFederatedSharing> | |
│ </providers_capabilities> | |
│ <federation> | |
│ <outgoing>1</outgoing> | |
│ <incoming>1</incoming> | |
│ </federation> | |
│ <search_min_length>2</search_min_length> | |
│ </files_sharing> | |
│ </capabilities> | |
│ </data> | |
│ </ocs> | |
│ " | |
│ | |
│ ### END RESPONSE | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: POST http://localhost:8080/ocs/v1.php/apps/testing/api/v1/apps | |
│ Headers: | |
│ Host: localhost:8080 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(3498) "values%5B0%5D%5Bappid%5D=core&values%5B0%5D%5Bconfigkey%5D=shareapi_auto_accept_share&values%5B0%5D%5Bvalue%5D=yes&values%5B1%5D%5Bappid%5D=core&values%5B1%5D%5Bconfigkey%5D=shareapi_enabled&values%5B1%5D%5Bvalue%5D=yes&values%5B2%5D%5Bappid%5D=core&values%5B2%5D%5Bconfigkey%5D=shareapi_allow_links&values%5B2%5D%5Bvalue%5D=yes&values%5B3%5D%5Bappid%5D=core&values%5B3%5D%5Bconfigkey%5D=shareapi_allow_public_upload&values%5B3%5D%5Bvalue%5D=yes&values%5B4%5D%5Bappid%5D=core&values%5B4%5D%5Bconfigkey%5D=shareapi_allow_group_sharing&values%5B4%5D%5Bvalue%5D=yes&values%5B5%5D%5Bappid%5D=core&values%5B5%5D%5Bconfigkey%5D=shareapi_only_share_with_group_members&values%5B5%5D%5Bvalue%5D=no&values%5B6%5D%5Bappid%5D=core&values%5B6%5D%5Bconfigkey%5D=shareapi_only_share_with_membership_groups&values%5B6%5D%5Bvalue%5D=no&values%5B7%5D%5Bappid%5D=core&values%5B7%5D%5Bconfigkey%5D=shareapi_exclude_groups&values%5B7%5D%5Bvalue%5D=no&values%5B8%5D%5Bappid%5D=core&values%5B8%5D%5Bconfigkey%5D=shareapi_exclude_groups_list&values%5B8%5D%5Bvalue%5D=&values%5B9%5D%5Bappid%5D=core&values%5B9%5D%5Bconfigkey%5D=shareapi_allow_share_dialog_user_enumeration&values%5B9%5D%5Bvalue%5D=yes&values%5B10%5D%5Bappid%5D=core&values%5B10%5D%5Bconfigkey%5D=shareapi_share_dialog_user_enumeration_group_members&values%5B10%5D%5Bvalue%5D=no&values%5B11%5D%5Bappid%5D=core&values%5B11%5D%5Bconfigkey%5D=shareapi_allow_resharing&values%5B11%5D%5Bvalue%5D=yes&values%5B12%5D%5Bappid%5D=core&values%5B12%5D%5Bconfigkey%5D=shareapi_enforce_links_password_read_only&values%5B12%5D%5Bvalue%5D=no&values%5B13%5D%5Bappid%5D=core&values%5B13%5D%5Bconfigkey%5D=shareapi_enforce_links_password_read_write&values%5B13%5D%5Bvalue%5D=no&values%5B14%5D%5Bappid%5D=core&values%5B14%5D%5Bconfigkey%5D=shareapi_enforce_links_password_write_only&values%5B14%5D%5Bvalue%5D=no&values%5B15%5D%5Bappid%5D=core&values%5B15%5D%5Bconfigkey%5D=shareapi_allow_public_notification&values%5B15%5D%5Bvalue%5D=no&values%5B16%5D%5Bappid%5D=core&values%5B16%5D%5Bconfigkey%5D=shareapi_allow_social_share&values%5B16%5D%5Bvalue%5D=yes&values%5B17%5D%5Bappid%5D=core&values%5B17%5D%5Bconfigkey%5D=shareapi_default_expire_date&values%5B17%5D%5Bvalue%5D=no&values%5B18%5D%5Bappid%5D=core&values%5B18%5D%5Bconfigkey%5D=shareapi_enforce_expire_date&values%5B18%5D%5Bvalue%5D=no&values%5B19%5D%5Bappid%5D=core&values%5B19%5D%5Bconfigkey%5D=shareapi_allow_mail_notification&values%5B19%5D%5Bvalue%5D=no&values%5B20%5D%5Bappid%5D=core&values%5B20%5D%5Bconfigkey%5D=shareapi_default_expire_date_user_share&values%5B20%5D%5Bvalue%5D=no&values%5B21%5D%5Bappid%5D=core&values%5B21%5D%5Bconfigkey%5D=shareapi_enforce_expire_date_user_share&values%5B21%5D%5Bvalue%5D=no&values%5B22%5D%5Bappid%5D=core&values%5B22%5D%5Bconfigkey%5D=shareapi_default_expire_date_group_share&values%5B22%5D%5Bvalue%5D=no&values%5B23%5D%5Bappid%5D=core&values%5B23%5D%5Bconfigkey%5D=shareapi_enforce_expire_date_group_share&values%5B23%5D%5Bvalue%5D=no&values%5B24%5D%5Bappid%5D=core&values%5B24%5D%5Bconfigkey%5D=shareapi_default_expire_date_remote_share&values%5B24%5D%5Bvalue%5D=no&values%5B25%5D%5Bappid%5D=core&values%5B25%5D%5Bconfigkey%5D=shareapi_enforce_expire_date_remote_share&values%5B25%5D%5Bvalue%5D=no&values%5B26%5D%5Bappid%5D=files_sharing&values%5B26%5D%5Bconfigkey%5D=outgoing_server2server_share_enabled&values%5B26%5D%5Bvalue%5D=yes&values%5B27%5D%5Bappid%5D=files_sharing&values%5B27%5D%5Bconfigkey%5D=incoming_server2server_share_enabled&values%5B27%5D%5Bvalue%5D=yes" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 200 | |
│ Headers: | |
│ Host: localhost:8080 | |
│ Date: Fri, 30 Apr 2021 04:44:24 GMT | |
│ Connection: close | |
│ X-Powered-By: PHP/7.4.3 | |
│ Set-Cookie: oc_sessionPassphrase=zFpeoCFEsoqSGhysW0G1Ek8GedyEFWb1YbnJjFg6Zop%2BksRPJuuw0XmioXjykUWIGfPU%2FmFALvehsp8UCna%2F%2BYx60Ugd%2BuTi4r3jVNjIHGecmCF0kTAg%2FvJIM6xiOmue; path=/; HttpOnly; SameSite=Strict, cookie_test=test; expires=Fri, 30-Apr-2021 05:44:24 GMT; Max-Age=3600, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc365b0w4kcp=8tmta32nco463p8s2hgon7ngja; path=/; HttpOnly; SameSite=Strict | |
│ Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src * | |
│ X-XSS-Protection: 0 | |
│ X-Content-Type-Options: nosniff | |
│ X-Frame-Options: SAMEORIGIN | |
│ X-Robots-Tag: none | |
│ X-Download-Options: noopen | |
│ X-Permitted-Cross-Domain-Policies: none | |
│ Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
│ Cache-Control: no-store, no-cache, must-revalidate | |
│ Pragma: no-cache | |
│ Content-type: text/xml; charset=UTF-8 | |
│ Body: | |
│ string(127) "<?xml version="1.0"?> | |
│ <ocs> | |
│ <meta> | |
│ <status>ok</status> | |
│ <statuscode>100</statuscode> | |
│ <message/> | |
│ </meta> | |
│ <data/> | |
│ </ocs> | |
│ " | |
│ | |
│ ### END RESPONSE | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: POST http://localhost:8080/ocs/v2.php/apps/testing/api/v1/occ | |
│ Headers: | |
│ Host: localhost:8080 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(31) "command=config%3Alist+--private" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 200 | |
│ Headers: | |
│ Host: localhost:8080 | |
│ Date: Fri, 30 Apr 2021 04:44:24 GMT | |
│ Connection: close | |
│ X-Powered-By: PHP/7.4.3 | |
│ Set-Cookie: oc_sessionPassphrase=M7gnaoujEZEz%2BWSEHlcR8SGzrsbwKMSw1ecy%2FdEVlrykUGCQxfQ7%2B6w3Q9t73du8A6inyD0F24OaowRfolGwYoi3WIWg2WZ%2FjHa3j5JvEbpXvs5f4mUikx8%2Fg%2FhjNOk8; path=/; HttpOnly; SameSite=Strict, cookie_test=test; expires=Fri, 30-Apr-2021 05:44:24 GMT; Max-Age=3600, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc365b0w4kcp=th3qv3u8o9vlc32ik0mtqkgakb; path=/; HttpOnly; SameSite=Strict | |
│ Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src * | |
│ X-XSS-Protection: 0 | |
│ X-Content-Type-Options: nosniff | |
│ X-Frame-Options: SAMEORIGIN | |
│ X-Robots-Tag: none | |
│ X-Download-Options: noopen | |
│ X-Permitted-Cross-Domain-Policies: none | |
│ Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
│ Cache-Control: no-store, no-cache, must-revalidate | |
│ Pragma: no-cache | |
│ Content-type: text/xml; charset=UTF-8 | |
│ Body: | |
│ string(7711) "<?xml version="1.0"?> | |
│ <ocs> | |
│ <meta> | |
│ <status>ok</status> | |
│ <statuscode>200</statuscode> | |
│ <message/> | |
│ </meta> | |
│ <data> | |
│ <code>0</code> | |
│ <stdOut>{ | |
│ "system": { | |
│ "passwordsalt": "*** REMOVED ***", | |
│ "secret": "*** REMOVED ***", | |
│ "trusted_domains": [ | |
│ "localhost" | |
│ ], | |
│ "datadirectory": "\/var\/www\/html\/core\/data", | |
│ "overwrite.cli.url": "http:\/\/localhost", | |
│ "dbtype": "mysql", | |
│ "version": "10.7.0.4", | |
│ "dbname": "owncloud", | |
│ "dbhost": "localhost", | |
│ "dbtableprefix": "oc_", | |
│ "mysql.utf8mb4": true, | |
│ "dbuser": "oc_admin", | |
│ "dbpassword": "*** REMOVED ***", | |
│ "logtimezone": "UTC", | |
│ "apps_paths": [ | |
│ { | |
│ "path": "\/var\/www\/html\/core\/apps", | |
│ "url": "\/apps", | |
│ "writable": false | |
│ }, | |
│ { | |
│ "path": "\/var\/www\/html\/core\/apps-external", | |
│ "url": "\/apps-external", | |
│ "writable": true | |
│ } | |
│ ], | |
│ "installed": true, | |
│ "instanceid": "oc365b0w4kcp", | |
│ "mail_domain": "foobar.com", | |
│ "mail_from_address": "owncloud", | |
│ "mail_smtpmode": "smtp", | |
│ "mail_smtphost": "127.0.0.1", | |
│ "mail_smtpport": "1025", | |
│ "sharing.federation.allowHttpFallback": true, | |
│ "grace_period.demo_key.show_popup": false, | |
│ "files_external_allow_create_new_local": "true", | |
│ "skeletondirectory": "apps\/testing\/data\/apiSkeleton" | |
│ }, | |
│ "apps": { | |
│ "comments": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.3.0", | |
│ "types": "logging,dav" | |
│ }, | |
│ "core": { | |
│ "backgroundjobs_mode": "webcron", | |
│ "enable_external_storage": "yes", | |
│ "first_install_version": "10.7.0.4", | |
│ "installedat": "1619757716.6585", | |
│ "lastupdatedat": "1619757716.663", | |
│ "public_files": "files_sharing\/public.php", | |
│ "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php", | |
│ "shareapi_allow_group_sharing": "yes", | |
│ "shareapi_allow_links": "yes", | |
│ "shareapi_allow_mail_notification": "no", | |
│ "shareapi_allow_public_notification": "no", | |
│ "shareapi_allow_public_upload": "yes", | |
│ "shareapi_allow_resharing": "yes", | |
│ "shareapi_allow_share_dialog_user_enumeration": "yes", | |
│ "shareapi_allow_social_share": "yes", | |
│ "shareapi_auto_accept_share": "yes", | |
│ "shareapi_default_expire_date": "no", | |
│ "shareapi_default_expire_date_group_share": "no", | |
│ "shareapi_default_expire_date_remote_share": "no", | |
│ "shareapi_default_expire_date_user_share": "no", | |
│ "shareapi_enabled": "yes", | |
│ "shareapi_enforce_expire_date": "no", | |
│ "shareapi_enforce_expire_date_group_share": "no", | |
│ "shareapi_enforce_expire_date_remote_share": "no", | |
│ "shareapi_enforce_expire_date_user_share": "no", | |
│ "shareapi_enforce_links_password_read_only": "no", | |
│ "shareapi_enforce_links_password_read_write": "no", | |
│ "shareapi_enforce_links_password_write_only": "no", | |
│ "shareapi_exclude_groups": "no", | |
│ "shareapi_exclude_groups_list": "", | |
│ "shareapi_only_share_with_group_members": "no", | |
│ "shareapi_only_share_with_membership_groups": "no", | |
│ "shareapi_share_dialog_user_enumeration_group_members": "no" | |
│ }, | |
│ "dav": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.6.0", | |
│ "types": "filesystem" | |
│ }, | |
│ "federatedfilesharing": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.5.0", | |
│ "types": "filesystem" | |
│ }, | |
│ "federation": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.1.0", | |
│ "types": "authentication" | |
│ }, | |
│ "files": { | |
│ "enabled": "yes", | |
│ "installed_version": "1.5.2", | |
│ "types": "filesystem" | |
│ }, | |
│ "files_external": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.7.1", | |
│ "types": "filesystem" | |
│ }, | |
│ "files_sharing": { | |
│ "enabled": "yes", | |
│ "incoming_server2server_share_enabled": "yes", | |
│ "installed_version": "0.14.0", | |
│ "outgoing_server2server_share_enabled": "yes", | |
│ "types": "filesystem" | |
│ }, | |
│ "files_trashbin": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.9.1", | |
│ "types": "filesystem" | |
│ }, | |
│ "files_versions": { | |
│ "enabled": "yes", | |
│ "installed_version": "1.3.0", | |
│ "types": "filesystem" | |
│ }, | |
│ "provisioning_api": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.5.0", | |
│ "types": "prevent_group_restriction" | |
│ }, | |
│ "systemtags": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.3.0", | |
│ "types": "logging" | |
│ }, | |
│ "testing": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.1.0", | |
│ "types": "dav,authentication" | |
│ }, | |
│ "updatenotification": { | |
│ "enabled": "yes", | |
│ "installed_version": "0.2.1", | |
│ "types": "" | |
│ } | |
│ } | |
│ } | |
│ </stdOut> | |
│ <stdErr></stdErr> | |
│ </data> | |
│ </ocs> | |
│ " | |
│ | |
│ ### END RESPONSE | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: DELETE http://localhost:8080/ocs/v2.php/apps/testing/api/v1/opcache | |
│ Headers: | |
│ Host: localhost:8080 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(0) "" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 200 | |
│ Headers: | |
│ Host: localhost:8080 | |
│ Date: Fri, 30 Apr 2021 04:44:24 GMT | |
│ Connection: close | |
│ X-Powered-By: PHP/7.4.3 | |
│ Set-Cookie: oc_sessionPassphrase=EgClr6%2F93BcLAF3nvdDu1rf5i3D9iEXdC2xIINIKrdA9RqOVHxvXdlOdKSZc3CuXr%2FnpK6NZcwmHuh7KLxI7aM4CqDHP3oU5qc2UXEsdL5Dbp%2F1TdFa0C6%2BLHsOz4wVG; path=/; HttpOnly; SameSite=Strict, cookie_test=test; expires=Fri, 30-Apr-2021 05:44:24 GMT; Max-Age=3600, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; HttpOnly, oc_username=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_token=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc_remember_login=deleted; expires=Thu, 01-Jan-1970 00:00:01 GMT; Max-Age=0; path=/; HttpOnly, oc365b0w4kcp=qlkk33ae62r02gr7v96jd3hmk8; path=/; HttpOnly; SameSite=Strict | |
│ Content-Security-Policy: default-src 'self'; script-src 'self' 'unsafe-eval'; style-src 'self' 'unsafe-inline'; frame-src *; img-src * data: blob:; font-src 'self' data:; media-src *; connect-src * | |
│ X-XSS-Protection: 0 | |
│ X-Content-Type-Options: nosniff | |
│ X-Frame-Options: SAMEORIGIN | |
│ X-Robots-Tag: none | |
│ X-Download-Options: noopen | |
│ X-Permitted-Cross-Domain-Policies: none | |
│ Expires: Thu, 19 Nov 1981 08:52:00 GMT | |
│ Cache-Control: no-store, no-cache, must-revalidate | |
│ Pragma: no-cache | |
│ Content-type: text/xml; charset=UTF-8 | |
│ Body: | |
│ string(127) "<?xml version="1.0"?> | |
│ <ocs> | |
│ <meta> | |
│ <status>ok</status> | |
│ <statuscode>200</statuscode> | |
│ <message/> | |
│ </meta> | |
│ <data/> | |
│ </ocs> | |
│ " | |
│ | |
│ ### END RESPONSE | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: GET http://localhost:8180/ocs/v1.php/cloud/capabilities | |
│ Headers: | |
│ Host: localhost:8180 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(0) "" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 404 | |
│ Headers: | |
│ Host: localhost:8180 | |
│ Date: Fri, 30 Apr 2021 04:44:24 GMT | |
│ Connection: close | |
│ Content-Type: text/html; charset=UTF-8 | |
│ Content-Length: 562 | |
│ Body: | |
│ string(562) "<!doctype html><html><head><title>404 Not Found</title><style> | |
│ body { background-color: #fcfcfc; color: #333333; margin: 0; padding:0; } | |
│ h1 { font-size: 1.5em; font-weight: normal; background-color: #9999cc; min-height:2em; line-height:2em; border-bottom: 1px inset black; margin: 0; } | |
│ h1, p { padding-left: 10px; } | |
│ code.url { background-color: #eeeeee; font-family:monospace; padding:0 2px;} | |
│ </style> | |
│ </head><body><h1>Not Found</h1><p>The requested resource <code class="url">/ocs/v1.php/cloud/capabilities</code> was not found on this server.</p></body></html>" | |
│ | |
│ ### END RESPONSE | |
│ | |
│ | |
╳ AppConfigurationContext::userGetsCapabilitiesCheckResponse user admin returned unexpected status 404 (Exception) | |
│ | |
┌─ @BeforeScenario # FeatureContext::rememberAppEnabledDisabledState() | |
│ | |
│ ### AUTH: admin:admin | |
│ ### REQUEST: POST http://localhost:8180/ocs/v2.php/apps/testing/api/v1/occ | |
│ Headers: | |
│ Host: localhost:8180 | |
│ OCS-APIREQUEST: 1 | |
│ Content-Type: application/x-www-form-urlencoded | |
│ Body: | |
│ string(42) "command=app%3Alist+--output+json+--no-ansi" | |
│ | |
│ ### END REQUEST | |
│ ### RESPONSE | |
│ Status: 404 | |
│ Headers: | |
│ Host: localhost:8180 | |
│ Date: Fri, 30 Apr 2021 04:44:24 GMT | |
│ Connection: close | |
│ Content-Type: text/html; charset=UTF-8 | |
│ Content-Length: 567 | |
│ Body: | |
│ string(567) "<!doctype html><html><head><title>404 Not Found</title><style> | |
│ body { background-color: #fcfcfc; color: #333333; margin: 0; padding:0; } | |
│ h1 { font-size: 1.5em; font-weight: normal; background-color: #9999cc; min-height:2em; line-height:2em; border-bottom: 1px inset black; margin: 0; } | |
│ h1, p { padding-left: 10px; } | |
│ code.url { background-color: #eeeeee; font-family:monospace; padding:0 2px;} | |
│ </style> | |
│ </head><body><h1>Not Found</h1><p>The requested resource <code class="url">/ocs/v2.php/apps/testing/api/v1/occ</code> was not found on this server.</p></body></html>" | |
│ | |
│ ### END RESPONSE | |
│ | |
│ | |
╳ Warning: simplexml_load_string(): Entity: line 1: parser error : StartTag: invalid element name in /var/www/html/core/tests/TestHelpers/SetupHelper.php line 745 | |
│ | |
Scenario: Getting more info about comments using PROPFIND method # /var/www/html/core/tests/acceptance/features/apiComments/comments.feature:52 | |
Given user "Alice" has uploaded file "filesForUpload/textfile.txt" to "myFileToComment.txt" # FeatureContext::userHasUploadedAFileTo() | |
And user "Alice" has commented with content "My first comment" on file "myFileToComment.txt" # CommentsContext::userHasCommentedWithContentOnEntry() | |
When user "Alice" gets the following comment properties of file "myFileToComment.txt" using the WebDAV PROPFIND API # WebDavPropertiesContext::userGetsFollowingCommentPropertiesOfFileUsingWebDAVPropfindApi() | |
| propertyName | | |
| oc:verb | | |
| oc:actorType | | |
| oc:actorId | | |
| oc:objectType | | |
| oc:isUnread | | |
| oc:actorDisplayName | | |
| oc:message | | |
Then the HTTP status code should be success # FeatureContext::theHTTPStatusCodeShouldBeSuccess() | |
And the following comment properties should be listed about user "Alice" # CommentsContext::followingPropertiesShouldBeListed() | |
| propertyName | propertyValue | | |
| verb | comment | | |
| actorType | users | | |
| actorId | %username% | | |
| objectType | files | | |
| isUnread | false | | |
| actorDisplayName | %displayname% | | |
| message | My first comment | | |
--- Skipped scenarios: | |
/var/www/html/core/tests/acceptance/features/apiComments/comments.feature:9 | |
/var/www/html/core/tests/acceptance/features/apiComments/comments.feature:24 | |
/var/www/html/core/tests/acceptance/features/apiComments/comments.feature:38 | |
/var/www/html/core/tests/acceptance/features/apiComments/comments.feature:52 | |
4 scenarios (4 skipped) | |
30 steps (30 skipped) | |
0m4.19s (15.87Mb) | |
runsh: Total 4 scenarios (0 passed, 4 failed) | |
[Fri Apr 30 12:44:25 2021] 127.0.0.1:48596 Accepted | |
[Fri Apr 30 12:44:25 2021] 127.0.0.1:48596 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:25 2021] 127.0.0.1:48596 Closing | |
[Fri Apr 30 12:44:25 2021] 127.0.0.1:48598 Accepted | |
[Fri Apr 30 12:44:26 2021] 127.0.0.1:48598 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:26 2021] 127.0.0.1:48598 Closing | |
[Fri Apr 30 12:44:26 2021] 127.0.0.1:48600 Accepted | |
[Fri Apr 30 12:44:26 2021] 127.0.0.1:48600 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:26 2021] 127.0.0.1:48600 Closing | |
[Fri Apr 30 12:44:26 2021] 127.0.0.1:48602 Accepted | |
[Fri Apr 30 12:44:26 2021] 127.0.0.1:48602 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:26 2021] 127.0.0.1:48602 Closing | |
[Fri Apr 30 12:44:26 2021] 127.0.0.1:48604 Accepted | |
[Fri Apr 30 12:44:27 2021] 127.0.0.1:48604 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:27 2021] 127.0.0.1:48604 Closing | |
[Fri Apr 30 12:44:27 2021] 127.0.0.1:48606 Accepted | |
[Fri Apr 30 12:44:27 2021] 127.0.0.1:48606 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:27 2021] 127.0.0.1:48606 Closing | |
[Fri Apr 30 12:44:27 2021] 127.0.0.1:48608 Accepted | |
[Fri Apr 30 12:44:28 2021] 127.0.0.1:48608 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:28 2021] 127.0.0.1:48608 Closing | |
[Fri Apr 30 12:44:28 2021] 127.0.0.1:48610 Accepted | |
[Fri Apr 30 12:44:28 2021] 127.0.0.1:48610 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:28 2021] 127.0.0.1:48610 Closing | |
[Fri Apr 30 12:44:28 2021] 127.0.0.1:48618 Accepted | |
[Fri Apr 30 12:44:29 2021] 127.0.0.1:48618 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:29 2021] 127.0.0.1:48618 Closing | |
[Fri Apr 30 12:44:29 2021] 127.0.0.1:48620 Accepted | |
[Fri Apr 30 12:44:29 2021] 127.0.0.1:48620 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:29 2021] 127.0.0.1:48620 Closing | |
[Fri Apr 30 12:44:29 2021] 127.0.0.1:48622 Accepted | |
[Fri Apr 30 12:44:30 2021] 127.0.0.1:48622 [200]: POST /ocs/v2.php/apps/testing/api/v1/occ | |
[Fri Apr 30 12:44:30 2021] 127.0.0.1:48622 Closing | |
{"reqId":"RG5P4vTxLJEUz89PVF2k","level":2,"time":"2021-04-30T04:44:20+00:00","remoteAddr":"127.0.0.1","user":"admin","app":"no app in context","method":"POST","url":"\/ocs\/v1.php\/apps\/testing\/api\/v1\/increasefileid","message":"Inserting dummy entry with fileid bigger than max int of 32 bits for testing"} | |
runsh: Exit code of main run: 1 | |
runsh: There were no unexpected failures. | |
runsh: There were no unexpected success. | |
runsh: The following Behat test runs exited with non-zero status: | |
apiComments had behat exit status 1 | |
make: *** [Makefile:207: test-acceptance-api] Error 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment