Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

10.1 - Changelog Test Results #33624

Closed
39 tasks done
davitol opened this issue Nov 22, 2018 · 11 comments
Closed
39 tasks done

10.1 - Changelog Test Results #33624

davitol opened this issue Nov 22, 2018 · 11 comments
Assignees
Milestone

Comments

@davitol
Copy link
Contributor

davitol commented Nov 22, 2018

Changelog

All notable changes to this project will be documented in this file.

Items based on https://github.com/owncloud/core/blob/stable10/CHANGELOG.md

[Unreleased]

Added

Changed

  • Set shipped apps max version to 10 in preparation for Semver switch - #33496 @davitol Tested: Quick OC check and see that files app still displays all sidebar tabs which means the apps were loaded correctly. Increase version.php and check that occ upgrade is not confused by max-version.
  • Disable browser autocomplete for password fields - #32590 @davitol Test steps: Check with Browser Developer tools that autocomplete field is set to "off"
  • Bump punic 3.1.0 => 3.2.0 - #33462 @davitol CI tests works
  • Bump symfony/polyfill components v1.9.0 => v1.10.0 - #33377 @davitol Not related to the release
  • Bump symfony/translation from 3.4.17 to 3.4.18 - #33429 Translations keeps working
  • Bump jakub-onderka/php-console-highlighter from 0.3.2 to 0.4 - #32944 => not related to released code @PVince81
  • Bump handlebars from 4.0.11 to 4.0.12 in /build - #32661 => handlebars template are used in versions sidebar and that worked fine @PVince81
  • Bump sinon from 6.2.0 to 7.1.1 - #32825 #33073 #33306 #33373 => not related to released code @PVince81
  • Bump league/flysystem from 1.0.46 to 1.0.48 - #33199 => change will not affect OC. unit tests prove that ext storage still works @PVince81
  • Bump composer/xdebug-handler to 1.3.0 - #32977 => not related to released code @PVince81
  • Bump sabre/dav from 3.2.2 to 3.2.3 - #33276 => see PROPFIND infinity fix test result
  • Bump friendsofphp/php-cs-fixer (v2.13.0 => v2.13.1) - #33290 => not related to released code @PVince81

Removed

  • Deprecate Sharing 1.0 APIs which will be removed in ownCloud 11 - #33220 @davitol Test steps: a) Quick test in the web UI, sharing still seems to work, so does "unshare from self". b) Retest fed sharing. Tested 10.1 <-> 10.0.9 using HTTP and 'sharing.federation.allowHttpFallback' => true,in config.php

Fixed

@davitol davitol self-assigned this Nov 22, 2018
@ownclouders
Copy link
Contributor

GitMate.io thinks the contributors most likely able to help are @ownclouders, and @PVince81.

Possibly related issues are #32566 (10.0.10 - Changelog Test Results), #22492 (test), #22485 (test), #31579 (test), and #30152 (Testing 10.0.5RC3 Changelog).

@PVince81 PVince81 added this to the backlog milestone Nov 23, 2018
@PVince81 PVince81 changed the title 10.0.11 - Changelog Test Results 10.1 - Changelog Test Results Nov 27, 2018
@PVince81
Copy link
Contributor

PVince81 commented Dec 4, 2018

  • persistent locking backend + frontend 🤖
  • OCM 🤖

@PVince81
Copy link
Contributor

PVince81 commented Dec 4, 2018

edited by @davitol
Added new entries:

Added

  • Federated sharing new spec OCM 1.0-proposal1 - #33027 @davitol Automated test in the PR

Changed

  • Bump karma from 3.0.0 to 3.1.3 in /build - #33256 #33343 #33737 => @PVince81 automated tests
  • Bump hoek from 4.2.0 to 4.2.1 in /build - #33574 JS tests passed
  • Bump stringstream from 0.0.5 to 0.0.6 in /build - #33755
  • Update moment JS to 2.22.2 - #33650 CI tests works

Fixed

@davitol
Copy link
Contributor Author

davitol commented Dec 18, 2018

Added new entries from PR https://github.com/owncloud/core/pull/33928/files

Added

Fixed

Changed

  • Bypass apps max-version check for daily/git release channels - #33861 @davitol Test steps: Check Max-version check still works for stable/testing release
  • Changed default link share name to be "Public link" - #33879 @davitol Test steps: Share a file/folder using a Public Link and check it is used Public link instead of file name.

@davitol
Copy link
Contributor Author

davitol commented Dec 21, 2018

Added new entries from PR #33958

Added

Changed

  • Use new DAV endpoint in web UI file list and upload - #33544 @davitol Test steps: Use new DAV endpoint in web UI #28874 (comment)
  • Changed default link share name to be "Public link" - #33879 #33955
  • Bump composer/xdebug-handler to 1.3.0 - #32977
  • Bump lodash from 4.17.4 to 4.17.11 in /build - #33754
  • Bump phpseclib/phpseclib from 2.0.11 to 2.0.13 - #33433 #33922
  • Bump squizlabs/php_codesniffer 3.3.2=>3.4.0 - #33940 No directly related to the release
  • Bump zendframework/zend-inputfilter from 2.8.2 to 2.9.0 - #33920 No directly related to the release

Fixed

@PVince81
Copy link
Contributor

effort for testing was estimated to 5md

@mmattel
Copy link
Contributor

mmattel commented Jan 3, 2019

@davitol
Copy link
Contributor Author

davitol commented Jan 14, 2019

@davitol
Copy link
Contributor Author

davitol commented Jan 14, 2019

Test Locking files:

  1. Using Libre Office:

screen shot 2019-01-14 at 12 05 18

JFYI Files are locked for PUT (modifying) but not for GET (download)

curl -u admin -X PUT http://10.40.40.222:9681/remote.php/dav/files/admin/pedro.txt
Enter host password for user 'admin':
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
  <s:exception>Sabre\DAV\Exception\Locked</s:exception>
  <s:message/>
  <d:lock-token-submitted>
    <d:href>files/admin/pedro.txt</d:href>
  </d:lock-token-submitted>
</d:error>
➜  ~ curl -v -u admin -X PUT http://10.40.40.222:9681/remote.php/dav/files/admin/pedro.txt
Enter host password for user 'admin':
*   Trying 10.40.40.222...
* TCP_NODELAY set
* Connected to 10.40.40.222 (10.40.40.222) port 9681 (#0)
* Server auth using Basic with user 'admin'
> PUT /remote.php/dav/files/admin/pedro.txt HTTP/1.1
> Host: 10.40.40.222:9681
> Authorization: Basic YWRtaW46YWRtaW4=
> User-Agent: curl/7.54.0
> Accept: */*
>
< HTTP/1.1 423 Locked
< Date: Mon, 14 Jan 2019 11:12:03 GMT
< Server: Apache
< Strict-Transport-Security: max-age=15768000; preload
< Set-Cookie: octsafs3v5s3=2tr0ksdbknmn36toqjdknoe81n; path=/; HttpOnly
< Expires: Thu, 19 Nov 1981 08:52:00 GMT
< Cache-Control: no-store, no-cache, must-revalidate
< Pragma: no-cache
< Set-Cookie: oc_sessionPassphrase=8dWapbLDG9zt9p%2FQKo1ZRZy6mJWgu3aM%2BqZF0WyLJBNFgBQt1PD6%2F0T1fYUaXRK3uZ3ybL%2FduUshfPWbKkqLsQgip1v7GfR8O1NpznyCVOnm0iy858lFAcSxB49tSQvB; path=/; HttpOnly
< Content-Security-Policy: default-src 'none';
< Set-Cookie: octsafs3v5s3=m19uhgaela3vr967v90dn08ka2; path=/; HttpOnly
< Set-Cookie: cookie_test=test; expires=Mon, 14-Jan-2019 12:12:06 GMT; Max-Age=3600
< X-Content-Type-Options: nosniff
< X-XSS-Protection: 1; mode=block
< X-Robots-Tag: none
< X-Frame-Options: SAMEORIGIN
< X-Download-Options: noopen
< X-Permitted-Cross-Domain-Policies: none
< Content-Length: 277
< Content-Type: application/xml; charset=utf-8
<
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
  <s:exception>Sabre\DAV\Exception\Locked</s:exception>
  <s:message/>
  <d:lock-token-submitted>
    <d:href>files/admin/pedro.txt</d:href>
  </d:lock-token-submitted>
</d:error>
* Connection #0 to host 10.40.40.222 left intact

Using latest ownCloud Android App version. Trying to modify the locked file we can see it is not possible:

request

response

Also we can see the lock in the Database:

select * from oc_persistent_locks;
+----+---------+------------------+-------------------------------------------+---------+------------+--------------------------------------+----------------------------------+-------+-------+
| id | file_id | owner_account_id | owner                                     | timeout | created_at | token                                | token_hash                       | scope | depth |
+----+---------+------------------+-------------------------------------------+---------+------------+--------------------------------------+----------------------------------+-------+-------+
|  1 |      17 |                1 | LibreOffice - http://www.libreoffice.org/ |    1800 | 1547463538 | ee52cd2e-6975-4593-b3e9-6de3ebe1101b | 6386a195e1cb5b97b929bc73db7fa6f4 |     1 |     0 |
+----+---------+------------------+-------------------------------------------+---------+------------+--------------------------------------+----------------------------------+-------+-------+

More scenarios tested in:

#34157

@davitol davitol modified the milestones: backlog, QA Jan 23, 2019
@davitol
Copy link
Contributor Author

davitol commented Jan 29, 2019

Added new entries from PR #34278

Added

Fixed

@davitol
Copy link
Contributor Author

davitol commented Feb 4, 2019

Added new entries from 10.1. RC2 PR #34373

curl -u nhMtO2QB1kGhee5: -X LOCK http://owncloudserver/public.php/webdav/abc -d "<?xml version='1.0' encoding='UTF-8'?><d:lockinfo xmlns:d='DAV:'> <d:lockscope><d:exclusive/></d:lockscope></d:lockinfo>" -H 'Depth: infinite'
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:o="http://owncloud.org/ns">
  <s:exception>OCA\DAV\Connector\Sabre\Exception\Forbidden</s:exception>
  <s:message>Forbidden to lock from public endpoint</s:message>
  <o:retry xmlns:o="o:">false</o:retry>
  <o:reason xmlns:o="o:">Forbidden to lock from public endpoint</o:reason>
</d:error>

(#34350) Test steps here: #34342 (comment)

curl -u 6SCOlTNzxIEP3bB: -X PROPFIND http://owncloudserver/public.php/webdav/ -d "<?xml version='1.0' encoding='UTF-8'?> <d:propfind xmlns:d='DAV:'> <d:prop><d:lockdiscovery/></d:prop> </d:propfind>" | xmllint --format -
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   408  100   292  100   116    129     51  0:00:02  0:00:02 --:--:--   129
<?xml version="1.0"?>
<d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:oc="http://owncloud.org/ns">
  <d:response>
    <d:href>/public.php/webdav/</d:href>
    <d:propstat>
      <d:prop>
        <d:lockdiscovery/>
      </d:prop>
      <d:status>HTTP/1.1 200 OK</d:status>
    </d:propstat>
  </d:response>
</d:multistatus>

@davitol davitol closed this as completed Feb 4, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Feb 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants