From 1185498765ad2297ea12e1d9887f2973c2b176f3 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Wed, 9 Oct 2024 10:27:57 +0200 Subject: [PATCH] refactor(nextcloud)!: Migrate to DAV v2 endpoint for WebDAV Signed-off-by: provokateurin --- .../src/api/webdav/models/webdav_file.dart | 2 +- .../lib/src/api/webdav/utils/webdav_uri.dart | 7 +- .../lib/src/api/webdav/webdav_client.dart | 112 ++++++++++-------- .../api/webdav/utils/webdav_uri_test.dart | 14 ++- .../test/api/webdav/webdav_test.dart | 61 +++++++++- .../test/fixtures/webdav/create_share.regexp | 4 +- .../fixtures/webdav/extended_mkcol.regexp | 4 +- .../test/fixtures/webdav/filter_files.regexp | 6 +- .../webdav/get_directory_props.regexp | 6 +- .../fixtures/webdav/get_file_props.regexp | 4 +- .../webdav/getstream_error_handling.regexp | 2 +- .../fixtures/webdav/list_directory.regexp | 2 +- .../webdav/list_directory_recursively.regexp | 2 +- .../webdav/litmus/basic/delete.regexp | 4 +- .../webdav/litmus/basic/delete_coll.regexp | 4 +- .../webdav/litmus/basic/delete_null.regexp | 2 +- .../fixtures/webdav/litmus/basic/mkcol.regexp | 2 +- .../webdav/litmus/basic/mkcol_again.regexp | 4 +- .../litmus/basic/mkcol_no_parent.regexp | 2 +- .../webdav/litmus/basic/options.regexp | 2 +- .../webdav/litmus/basic/put_get.regexp | 4 +- .../litmus/basic/put_get_utf8_segment.regexp | 4 +- .../webdav/litmus/basic/put_no_parent.regexp | 2 +- .../webdav/litmus/copymove/copy_coll.regexp | 64 +++++----- .../litmus/copymove/copy_nodestcoll.regexp | 6 +- .../litmus/copymove/copy_overwrite.regexp | 12 +- .../webdav/litmus/copymove/copy_simple.regexp | 6 +- .../webdav/litmus/copymove/move.regexp | 18 +-- .../webdav/litmus/copymove/move_coll.regexp | 72 +++++------ .../webdav/litmus/largefile/large_get.regexp | 4 +- .../fixtures/webdav/remove_properties.regexp | 10 +- .../fixtures/webdav/set_and_get_tags.regexp | 6 +- .../fixtures/webdav/set_properties.regexp | 6 +- .../upload_and_download_empty_file.regexp | 4 +- .../webdav/upload_and_download_file.regexp | 6 +- .../webdav/upload_and_download_stream.regexp | 6 +- .../webdav/upload_file_with_checksum.regexp | 4 +- .../webdav/upload_overwrite/data.regexp | 8 +- .../webdav/upload_overwrite/stream.regexp | 8 +- 39 files changed, 285 insertions(+), 211 deletions(-) diff --git a/packages/nextcloud/lib/src/api/webdav/models/webdav_file.dart b/packages/nextcloud/lib/src/api/webdav/models/webdav_file.dart index 7b765c30fc5..abe4eefab9c 100644 --- a/packages/nextcloud/lib/src/api/webdav/models/webdav_file.dart +++ b/packages/nextcloud/lib/src/api/webdav/models/webdav_file.dart @@ -26,7 +26,7 @@ class WebDavFile { return PathUri( isAbsolute: false, isDirectory: href.isDirectory, - pathSegments: href.pathSegments.sublist(webdavBase.pathSegments.length), + pathSegments: href.pathSegments.sublist(4), ); }(); diff --git a/packages/nextcloud/lib/src/api/webdav/utils/webdav_uri.dart b/packages/nextcloud/lib/src/api/webdav/utils/webdav_uri.dart index d9020ec217f..c02fc030ce8 100644 --- a/packages/nextcloud/lib/src/api/webdav/utils/webdav_uri.dart +++ b/packages/nextcloud/lib/src/api/webdav/utils/webdav_uri.dart @@ -1,13 +1,10 @@ import 'package:meta/meta.dart'; import 'package:nextcloud/src/api/webdav/webdav.dart'; -/// Base path used on the server -final webdavBase = PathUri.parse('/remote.php/webdav'); - /// Constructs the uri for a webdav request for a given server [baseURL] and file [path]. @internal -Uri constructUri(Uri baseURL, [PathUri? path]) { - final segments = baseURL.pathSegments.toList()..addAll(webdavBase.pathSegments); +Uri constructUri(String username, Uri baseURL, [PathUri? path]) { + final segments = baseURL.pathSegments.toList()..addAll(['remote.php', 'dav', 'files', username]); if (path != null) { segments.addAll(path.pathSegments); } diff --git a/packages/nextcloud/lib/src/api/webdav/webdav_client.dart b/packages/nextcloud/lib/src/api/webdav/webdav_client.dart index df65f716754..905514b5c6d 100644 --- a/packages/nextcloud/lib/src/api/webdav/webdav_client.dart +++ b/packages/nextcloud/lib/src/api/webdav/webdav_client.dart @@ -5,6 +5,7 @@ import 'dart:typed_data'; import 'package:dynamite_runtime/http_client.dart'; import 'package:http/http.dart' as http; +import 'package:nextcloud/provisioning_api.dart' as provisioning_api; import 'package:nextcloud/src/api/webdav/webdav.dart'; import 'package:nextcloud/utils.dart'; import 'package:universal_io/io.dart' show File, FileStat; @@ -51,15 +52,26 @@ class WebDavClient extends DynamiteClient { authentications: client.authentications, ); - Uri _constructUri([PathUri? path]) => constructUri(baseURL, path); + String? _username; + + Future _constructUri([PathUri? path]) async { + if (_username == null) { + final client = provisioning_api.$Client.fromClient(this); + // Consumers already need to catch http.ClientException so we don't need to catch and rethrow here. + final response = await client.users.getCurrentUser(); + _username = response.body.ocs.data.id; + } + + return constructUri(_username!, baseURL, path); + } /// Returns a request to query the WebDAV capabilities of the server. /// /// See: /// * http://www.webdav.org/specs/rfc4918.html#HEADER_DAV for more information. /// * [options] for a complete operation executing this request. - http.Request options_Request() { - final request = http.Request('OPTIONS', _constructUri()); + Future options_Request() async { + final request = http.Request('OPTIONS', await _constructUri()); _addBaseHeaders(request); return request; @@ -71,7 +83,7 @@ class WebDavClient extends DynamiteClient { /// * http://www.webdav.org/specs/rfc4918.html#HEADER_DAV for more information. /// * [options_Request] for the request sent by this method. Future options() async { - final request = options_Request(); + final request = await options_Request(); final streamedResponse = await httpClient.send(request); if (streamedResponse.statusCode != 200) { @@ -88,11 +100,11 @@ class WebDavClient extends DynamiteClient { /// See: /// * http://www.webdav.org/specs/rfc2518.html#METHOD_MKCOL and http://www.webdav.org/specs/rfc5689.html for more information. /// * [mkcol] for a complete operation executing this request. - http.Request mkcol_Request( + Future mkcol_Request( PathUri path, { WebDavProp? set, - }) { - final request = http.Request('MKCOL', _constructUri(path)); + }) async { + final request = http.Request('MKCOL', await _constructUri(path)); if (set != null) { request.body = WebDavMkcol( set: WebDavSet(prop: set), @@ -114,7 +126,7 @@ class WebDavClient extends DynamiteClient { PathUri path, { WebDavProp? set, }) async { - final request = mkcol_Request( + final request = await mkcol_Request( path, set: set, ); @@ -133,8 +145,8 @@ class WebDavClient extends DynamiteClient { /// See: /// * http://www.webdav.org/specs/rfc2518.html#METHOD_DELETE for more information. /// * [delete] for a complete operation executing this request. - http.Request delete_Request(PathUri path) { - final request = http.Request('DELETE', _constructUri(path)); + Future delete_Request(PathUri path) async { + final request = http.Request('DELETE', await _constructUri(path)); _addBaseHeaders(request); return request; @@ -146,7 +158,7 @@ class WebDavClient extends DynamiteClient { /// * http://www.webdav.org/specs/rfc2518.html#METHOD_DELETE for more information. /// * [delete_Request] for the request sent by this method. Future delete(PathUri path) async { - final request = delete_Request(path); + final request = await delete_Request(path); final streamedResponse = await httpClient.send(request); if (streamedResponse.statusCode != 204) { @@ -166,14 +178,14 @@ class WebDavClient extends DynamiteClient { /// See: /// * http://www.webdav.org/specs/rfc2518.html#METHOD_PUT for more information. /// * [put] for a complete operation executing this request. - http.Request put_Request( + Future put_Request( Uint8List localData, PathUri path, { DateTime? lastModified, DateTime? created, String? checksum, - }) { - final request = http.Request('PUT', _constructUri(path))..bodyBytes = localData; + }) async { + final request = http.Request('PUT', await _constructUri(path))..bodyBytes = localData; _addUploadHeaders( request, @@ -202,7 +214,7 @@ class WebDavClient extends DynamiteClient { DateTime? created, String? checksum, }) async { - final request = put_Request( + final request = await put_Request( localData, path, lastModified: lastModified, @@ -230,7 +242,7 @@ class WebDavClient extends DynamiteClient { /// See: /// * http://www.webdav.org/specs/rfc2518.html#METHOD_PUT for more information. /// * [putStream] for a complete operation executing this request. - http.StreamedRequest putStream_Request( + Future putStream_Request( Stream> localData, PathUri path, { required int contentLength, @@ -238,8 +250,8 @@ class WebDavClient extends DynamiteClient { DateTime? created, String? checksum, void Function(double progress)? onProgress, - }) { - final request = http.StreamedRequest('PUT', _constructUri(path)); + }) async { + final request = http.StreamedRequest('PUT', await _constructUri(path)); _addBaseHeaders(request); _addUploadHeaders( @@ -289,7 +301,7 @@ class WebDavClient extends DynamiteClient { String? checksum, void Function(double progress)? onProgress, }) async { - final request = putStream_Request( + final request = await putStream_Request( localData, path, lastModified: lastModified, @@ -318,7 +330,7 @@ class WebDavClient extends DynamiteClient { /// See: /// * http://www.webdav.org/specs/rfc2518.html#METHOD_PUT for more information. /// * [putFile] for a complete operation executing this request. - http.StreamedRequest putFile_Request( + Future putFile_Request( File file, FileStat fileStat, PathUri path, { @@ -359,7 +371,7 @@ class WebDavClient extends DynamiteClient { String? checksum, void Function(double progress)? onProgress, }) async { - final request = putFile_Request( + final request = await putFile_Request( file, fileStat, path, @@ -382,8 +394,8 @@ class WebDavClient extends DynamiteClient { /// /// See: /// * [get], [getStream] and [getFile] for complete operations executing this request. - http.Request get_Request(PathUri path) { - final request = http.Request('GET', _constructUri(path)); + Future get_Request(PathUri path) async { + final request = http.Request('GET', await _constructUri(path)); _addBaseHeaders(request); return request; @@ -412,7 +424,7 @@ class WebDavClient extends DynamiteClient { PathUri path, { void Function(double progress)? onProgress, }) async { - final request = get_Request(path); + final request = await get_Request(path); final streamedResponse = await httpClient.send(request); if (streamedResponse.statusCode != 200) { final response = await http.Response.fromStream(streamedResponse); @@ -469,12 +481,12 @@ class WebDavClient extends DynamiteClient { /// See: /// * http://www.webdav.org/specs/rfc2518.html#METHOD_PROPFIND for more information. /// * [propfind] for a complete operation executing this request. - http.Request propfind_Request( + Future propfind_Request( PathUri path, { WebDavPropWithoutValues? prop, WebDavDepth? depth, - }) { - final request = http.Request('PROPFIND', _constructUri(path)) + }) async { + final request = http.Request('PROPFIND', await _constructUri(path)) ..body = WebDavPropfind(prop: prop ?? const WebDavPropWithoutValues()) .toXmlElement(namespaces: namespaces) .toXmlString(); @@ -499,7 +511,7 @@ class WebDavClient extends DynamiteClient { WebDavPropWithoutValues? prop, WebDavDepth? depth, }) async { - final request = propfind_Request( + final request = await propfind_Request( path, prop: prop, depth: depth, @@ -521,12 +533,12 @@ class WebDavClient extends DynamiteClient { /// See: /// * https://docs.nextcloud.com/server/latest/developer_manual/client_apis/WebDAV/basic.html#listing-favorites for more information. /// * [report] for a complete operation executing this request. - http.Request report_Request( + Future report_Request( PathUri path, WebDavOcFilterRules filterRules, { WebDavPropWithoutValues? prop, - }) { - final request = http.Request('REPORT', _constructUri(path)) + }) async { + final request = http.Request('REPORT', await _constructUri(path)) ..body = WebDavOcFilterFiles( filterRules: filterRules, prop: prop ?? const WebDavPropWithoutValues(), // coverage:ignore-line @@ -548,7 +560,7 @@ class WebDavClient extends DynamiteClient { WebDavOcFilterRules filterRules, { WebDavPropWithoutValues? prop, }) async { - final request = report_Request( + final request = await report_Request( path, filterRules, prop: prop, @@ -571,12 +583,12 @@ class WebDavClient extends DynamiteClient { /// See: /// * http://www.webdav.org/specs/rfc2518.html#METHOD_PROPPATCH for more information. /// * [proppatch] for a complete operation executing this request. - http.Request proppatch_Request( + Future proppatch_Request( PathUri path, { WebDavProp? set, WebDavPropWithoutValues? remove, - }) { - final request = http.Request('PROPPATCH', _constructUri(path)) + }) async { + final request = http.Request('PROPPATCH', await _constructUri(path)) ..body = WebDavPropertyupdate( set: set != null ? WebDavSet(prop: set) : null, remove: remove != null ? WebDavRemove(prop: remove) : null, @@ -600,7 +612,7 @@ class WebDavClient extends DynamiteClient { WebDavProp? set, WebDavPropWithoutValues? remove, }) async { - final request = proppatch_Request( + final request = await proppatch_Request( path, set: set, remove: remove, @@ -630,14 +642,14 @@ class WebDavClient extends DynamiteClient { /// See: /// * http://www.webdav.org/specs/rfc2518.html#METHOD_MOVE for more information. /// * [move] for a complete operation executing this request. - http.Request move_Request( + Future move_Request( PathUri sourcePath, PathUri destinationPath, { bool overwrite = false, - }) { - final request = http.Request('MOVE', _constructUri(sourcePath)); + }) async { + final request = http.Request('MOVE', await _constructUri(sourcePath)); - _addCopyHeaders( + await _addCopyHeaders( request, destinationPath: destinationPath, overwrite: overwrite, @@ -658,7 +670,7 @@ class WebDavClient extends DynamiteClient { PathUri destinationPath, { bool overwrite = false, }) async { - final request = move_Request( + final request = await move_Request( sourcePath, destinationPath, overwrite: overwrite, @@ -680,14 +692,14 @@ class WebDavClient extends DynamiteClient { /// See: /// * http://www.webdav.org/specs/rfc2518.html#METHOD_COPY for more information. /// * [copy] for a complete operation executing this request. - http.Request copy_Request( + Future copy_Request( PathUri sourcePath, PathUri destinationPath, { bool overwrite = false, - }) { - final request = http.Request('COPY', _constructUri(sourcePath)); + }) async { + final request = http.Request('COPY', await _constructUri(sourcePath)); - _addCopyHeaders( + await _addCopyHeaders( request, destinationPath: destinationPath, overwrite: overwrite, @@ -708,7 +720,7 @@ class WebDavClient extends DynamiteClient { PathUri destinationPath, { bool overwrite = false, }) async { - final request = copy_Request( + final request = await copy_Request( sourcePath, destinationPath, overwrite: overwrite, @@ -756,8 +768,12 @@ class WebDavClient extends DynamiteClient { request.headers['content-length'] = contentLength.toString(); } - void _addCopyHeaders(http.BaseRequest request, {required PathUri destinationPath, required bool overwrite}) { - request.headers['Destination'] = _constructUri(destinationPath).toString(); + Future _addCopyHeaders( + http.BaseRequest request, { + required PathUri destinationPath, + required bool overwrite, + }) async { + request.headers['Destination'] = (await _constructUri(destinationPath)).toString(); request.headers['Overwrite'] = overwrite ? 'T' : 'F'; } } diff --git a/packages/nextcloud/test/api/webdav/utils/webdav_uri_test.dart b/packages/nextcloud/test/api/webdav/utils/webdav_uri_test.dart index fbe98965cb0..e8243551075 100644 --- a/packages/nextcloud/test/api/webdav/utils/webdav_uri_test.dart +++ b/packages/nextcloud/test/api/webdav/utils/webdav_uri_test.dart @@ -11,30 +11,32 @@ void main() { ]) { final baseURL = Uri.parse(values.$1); final sanitizedBaseURL = Uri.parse(values.$2); + const username = 'admin'; + const webdavBase = '/remote.php/dav/files/$username'; test(baseURL, () { expect( - constructUri(baseURL).toString(), + constructUri(username, baseURL).toString(), '$sanitizedBaseURL$webdavBase', ); expect( - constructUri(baseURL, PathUri.parse('/')).toString(), + constructUri(username, baseURL, PathUri.parse('/')).toString(), '$sanitizedBaseURL$webdavBase', ); expect( - constructUri(baseURL, PathUri.parse('test')).toString(), + constructUri(username, baseURL, PathUri.parse('test')).toString(), '$sanitizedBaseURL$webdavBase/test', ); expect( - constructUri(baseURL, PathUri.parse('test/')).toString(), + constructUri(username, baseURL, PathUri.parse('test/')).toString(), '$sanitizedBaseURL$webdavBase/test', ); expect( - constructUri(baseURL, PathUri.parse('/test')).toString(), + constructUri(username, baseURL, PathUri.parse('/test')).toString(), '$sanitizedBaseURL$webdavBase/test', ); expect( - constructUri(baseURL, PathUri.parse('/test/')).toString(), + constructUri(username, baseURL, PathUri.parse('/test/')).toString(), '$sanitizedBaseURL$webdavBase/test', ); }); diff --git a/packages/nextcloud/test/api/webdav/webdav_test.dart b/packages/nextcloud/test/api/webdav/webdav_test.dart index 1e68037e47f..43126c9147e 100644 --- a/packages/nextcloud/test/api/webdav/webdav_test.dart +++ b/packages/nextcloud/test/api/webdav/webdav_test.dart @@ -3,6 +3,7 @@ import 'dart:convert'; import 'dart:math'; import 'dart:typed_data'; +import 'package:dynamite_runtime/http_client.dart'; import 'package:http/http.dart'; import 'package:http/testing.dart'; import 'package:mocktail/mocktail.dart'; @@ -39,6 +40,56 @@ void main() { return; } + if (request.uri.path == '/ocs/v2.php/cloud/user') { + final response = request.response + ..headers.contentType = ContentType('application', 'json', charset: 'utf-8') + ..write( + json.encode({ + 'ocs': { + 'meta': { + 'status': '', + 'statuscode': 0, + }, + 'data': { + 'additional_mail': [], + 'address': '', + 'backend': '', + 'backendCapabilities': { + 'setDisplayName': false, + 'setPassword': false, + }, + 'biography': '', + 'display-name': '', + 'displayname': '', + 'fediverse': '', + 'groups': [], + 'headline': '', + 'id': 'admin', + 'language': '', + 'lastLogin': 0, + 'locale': '', + 'manager': '', + 'organisation': '', + 'phone': '', + 'profile_enabled': '', + 'quota': { + 'free': 0, + 'relative': 0, + 'total': 0, + 'used': 0, + }, + 'role': '', + 'subadmin': [], + 'twitter': '', + 'website': '', + }, + }, + }), + ); + + await response.close(); + return; + } final response = request.response ..headers.chunkedTransferEncoding = true @@ -59,6 +110,8 @@ void main() { host: server.address.host, port: server.port, ), + loginName: 'admin', + password: 'admin', ); final progress = []; @@ -90,6 +143,12 @@ void main() { client = WebDavClient( Uri(), httpClient: mockClient, + authentications: [ + const DynamiteHttpBasicAuthentication( + username: 'admin', + password: 'admin', + ), + ], ); file = _FileMock(); @@ -669,7 +728,7 @@ void main() { await expectLater( () => tester.client.webdav.put(Uint8List(0), PathUri.parse('test/409me/noparent.txt')), // https://github.com/nextcloud/server/issues/39625 - throwsA(predicate((e) => e.statusCode == 409)), + throwsA(predicate((e) => e.statusCode == 404)), ); }); diff --git a/packages/nextcloud/test/fixtures/webdav/create_share.regexp b/packages/nextcloud/test/fixtures/webdav/create_share.regexp index 40852135249..3d692e18624 100644 --- a/packages/nextcloud/test/fixtures/webdav/create_share.regexp +++ b/packages/nextcloud/test/fixtures/webdav/create_share.regexp @@ -1,4 +1,4 @@ -PUT http://localhost/remote\.php/webdav/test/share\.png +PUT http://localhost/remote\.php/dav/files/user1/test/share\.png authorization: Bearer mock content-length: 8650 content-type: application/xml @@ -11,7 +11,7 @@ authorization: Bearer mock content-type: application/json; charset=utf-8 ocs-apirequest: true \{"shareType":0,"publicUpload":"false","password":"","note":"","label":"","path":"/test/share\.png","shareWith":"user2"\} -PROPFIND http://localhost/remote\.php/webdav/test/share\.png +PROPFIND http://localhost/remote\.php/dav/files/user1/test/share\.png authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/extended_mkcol.regexp b/packages/nextcloud/test/fixtures/webdav/extended_mkcol.regexp index 3c86e73bdd5..b3d97bd11dc 100644 --- a/packages/nextcloud/test/fixtures/webdav/extended_mkcol.regexp +++ b/packages/nextcloud/test/fixtures/webdav/extended_mkcol.regexp @@ -1,10 +1,10 @@ -MKCOL http://localhost/remote\.php/webdav/test/extended-mkcol +MKCOL http://localhost/remote\.php/dav/files/user1/test/extended-mkcol authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token extended -PROPFIND http://localhost/remote\.php/webdav/test/extended-mkcol +PROPFIND http://localhost/remote\.php/dav/files/user1/test/extended-mkcol authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/filter_files.regexp b/packages/nextcloud/test/fixtures/webdav/filter_files.regexp index ab74eec6af6..f6ee5974083 100644 --- a/packages/nextcloud/test/fixtures/webdav/filter_files.regexp +++ b/packages/nextcloud/test/fixtures/webdav/filter_files.regexp @@ -1,17 +1,17 @@ -PUT http://localhost/remote\.php/webdav/test/filter\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/filter\.txt authorization: Bearer mock content-length: 4 content-type: application/xml ocs-apirequest: true requesttoken: token test -PROPPATCH http://localhost/remote\.php/webdav/test/filter\.txt +PROPPATCH http://localhost/remote\.php/dav/files/user1/test/filter\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token true -REPORT http://localhost/remote\.php/webdav/test +REPORT http://localhost/remote\.php/dav/files/user1/test authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/get_directory_props.regexp b/packages/nextcloud/test/fixtures/webdav/get_directory_props.regexp index bc197768fe7..ce942d39093 100644 --- a/packages/nextcloud/test/fixtures/webdav/get_directory_props.regexp +++ b/packages/nextcloud/test/fixtures/webdav/get_directory_props.regexp @@ -1,16 +1,16 @@ -MKCOL http://localhost/remote\.php/webdav/test/dir-props +MKCOL http://localhost/remote\.php/dav/files/user1/test/dir-props authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/dir-props/test\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/dir-props/test\.txt authorization: Bearer mock content-length: 4 content-type: application/xml ocs-apirequest: true requesttoken: token test -PROPFIND http://localhost/remote\.php/webdav/test/dir-props +PROPFIND http://localhost/remote\.php/dav/files/user1/test/dir-props authorization: Bearer mock content-type: application/xml depth: 0 diff --git a/packages/nextcloud/test/fixtures/webdav/get_file_props.regexp b/packages/nextcloud/test/fixtures/webdav/get_file_props.regexp index 05624aa6512..de7ad3849a6 100644 --- a/packages/nextcloud/test/fixtures/webdav/get_file_props.regexp +++ b/packages/nextcloud/test/fixtures/webdav/get_file_props.regexp @@ -1,11 +1,11 @@ -PUT http://localhost/remote\.php/webdav/test/test\.png +PUT http://localhost/remote\.php/dav/files/user1/test/test\.png authorization: Bearer mock content-length: 8650 content-type: application/xml ocs-apirequest: true requesttoken: token .+ -PROPFIND http://localhost/remote\.php/webdav/test/test\.png +PROPFIND http://localhost/remote\.php/dav/files/user1/test/test\.png authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/getstream_error_handling.regexp b/packages/nextcloud/test/fixtures/webdav/getstream_error_handling.regexp index d846a27b7e2..30fafa348ac 100644 --- a/packages/nextcloud/test/fixtures/webdav/getstream_error_handling.regexp +++ b/packages/nextcloud/test/fixtures/webdav/getstream_error_handling.regexp @@ -1,4 +1,4 @@ -GET http://localhost/remote\.php/webdav/test/404\.txt +GET http://localhost/remote\.php/dav/files/user1/test/404\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/list_directory.regexp b/packages/nextcloud/test/fixtures/webdav/list_directory.regexp index b57d3b33b78..5733b296db5 100644 --- a/packages/nextcloud/test/fixtures/webdav/list_directory.regexp +++ b/packages/nextcloud/test/fixtures/webdav/list_directory.regexp @@ -1,4 +1,4 @@ -PROPFIND http://localhost/remote\.php/webdav/test +PROPFIND http://localhost/remote\.php/dav/files/user1/test authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/list_directory_recursively.regexp b/packages/nextcloud/test/fixtures/webdav/list_directory_recursively.regexp index 5d1db10744d..eeab71eb2aa 100644 --- a/packages/nextcloud/test/fixtures/webdav/list_directory_recursively.regexp +++ b/packages/nextcloud/test/fixtures/webdav/list_directory_recursively.regexp @@ -1,4 +1,4 @@ -PROPFIND http://localhost/remote\.php/webdav/test +PROPFIND http://localhost/remote\.php/dav/files/user1/test authorization: Bearer mock content-type: application/xml depth: infinity diff --git a/packages/nextcloud/test/fixtures/webdav/litmus/basic/delete.regexp b/packages/nextcloud/test/fixtures/webdav/litmus/basic/delete.regexp index 133364c6cc2..eb9551e80f4 100644 --- a/packages/nextcloud/test/fixtures/webdav/litmus/basic/delete.regexp +++ b/packages/nextcloud/test/fixtures/webdav/litmus/basic/delete.regexp @@ -1,10 +1,10 @@ -PUT http://localhost/remote\.php/webdav/test/delete\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/delete\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/delete\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/delete\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/litmus/basic/delete_coll.regexp b/packages/nextcloud/test/fixtures/webdav/litmus/basic/delete_coll.regexp index fd7783afa98..bc670fa635a 100644 --- a/packages/nextcloud/test/fixtures/webdav/litmus/basic/delete_coll.regexp +++ b/packages/nextcloud/test/fixtures/webdav/litmus/basic/delete_coll.regexp @@ -1,9 +1,9 @@ -MKCOL http://localhost/remote\.php/webdav/test/delete-coll +MKCOL http://localhost/remote\.php/dav/files/user1/test/delete-coll authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/delete-coll +DELETE http://localhost/remote\.php/dav/files/user1/test/delete-coll authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/litmus/basic/delete_null.regexp b/packages/nextcloud/test/fixtures/webdav/litmus/basic/delete_null.regexp index c46668f33f3..961eee5e01f 100644 --- a/packages/nextcloud/test/fixtures/webdav/litmus/basic/delete_null.regexp +++ b/packages/nextcloud/test/fixtures/webdav/litmus/basic/delete_null.regexp @@ -1,4 +1,4 @@ -DELETE http://localhost/remote\.php/webdav/test/delete-null\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/delete-null\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/litmus/basic/mkcol.regexp b/packages/nextcloud/test/fixtures/webdav/litmus/basic/mkcol.regexp index 77d13be9af1..565ac5aed61 100644 --- a/packages/nextcloud/test/fixtures/webdav/litmus/basic/mkcol.regexp +++ b/packages/nextcloud/test/fixtures/webdav/litmus/basic/mkcol.regexp @@ -1,4 +1,4 @@ -MKCOL http://localhost/remote\.php/webdav/test/mkcol +MKCOL http://localhost/remote\.php/dav/files/user1/test/mkcol authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/litmus/basic/mkcol_again.regexp b/packages/nextcloud/test/fixtures/webdav/litmus/basic/mkcol_again.regexp index 42d76f8cc82..ebb983ab8e8 100644 --- a/packages/nextcloud/test/fixtures/webdav/litmus/basic/mkcol_again.regexp +++ b/packages/nextcloud/test/fixtures/webdav/litmus/basic/mkcol_again.regexp @@ -1,9 +1,9 @@ -MKCOL http://localhost/remote\.php/webdav/test/mkcol-again +MKCOL http://localhost/remote\.php/dav/files/user1/test/mkcol-again authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -MKCOL http://localhost/remote\.php/webdav/test/mkcol-again +MKCOL http://localhost/remote\.php/dav/files/user1/test/mkcol-again authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/litmus/basic/mkcol_no_parent.regexp b/packages/nextcloud/test/fixtures/webdav/litmus/basic/mkcol_no_parent.regexp index a36f60345c6..72560da9530 100644 --- a/packages/nextcloud/test/fixtures/webdav/litmus/basic/mkcol_no_parent.regexp +++ b/packages/nextcloud/test/fixtures/webdav/litmus/basic/mkcol_no_parent.regexp @@ -1,4 +1,4 @@ -MKCOL http://localhost/remote\.php/webdav/test/409me/noparent +MKCOL http://localhost/remote\.php/dav/files/user1/test/409me/noparent authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/litmus/basic/options.regexp b/packages/nextcloud/test/fixtures/webdav/litmus/basic/options.regexp index 46f2b3ab38d..79a97972896 100644 --- a/packages/nextcloud/test/fixtures/webdav/litmus/basic/options.regexp +++ b/packages/nextcloud/test/fixtures/webdav/litmus/basic/options.regexp @@ -1,4 +1,4 @@ -OPTIONS http://localhost/remote\.php/webdav +OPTIONS http://localhost/remote\.php/dav/files/user1 authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/litmus/basic/put_get.regexp b/packages/nextcloud/test/fixtures/webdav/litmus/basic/put_get.regexp index 0cc133c124d..80cf4d838f6 100644 --- a/packages/nextcloud/test/fixtures/webdav/litmus/basic/put_get.regexp +++ b/packages/nextcloud/test/fixtures/webdav/litmus/basic/put_get.regexp @@ -1,11 +1,11 @@ -PUT http://localhost/remote\.php/webdav/test/res +PUT http://localhost/remote\.php/dav/files/user1/test/res authorization: Bearer mock content-length: 19 content-type: application/xml ocs-apirequest: true requesttoken: token This is a test file -GET http://localhost/remote\.php/webdav/test/res +GET http://localhost/remote\.php/dav/files/user1/test/res authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/litmus/basic/put_get_utf8_segment.regexp b/packages/nextcloud/test/fixtures/webdav/litmus/basic/put_get_utf8_segment.regexp index 5cd0c8f8a48..b4f3275ee55 100644 --- a/packages/nextcloud/test/fixtures/webdav/litmus/basic/put_get_utf8_segment.regexp +++ b/packages/nextcloud/test/fixtures/webdav/litmus/basic/put_get_utf8_segment.regexp @@ -1,11 +1,11 @@ -PUT http://localhost/remote\.php/webdav/test/res-%25e2%2582%25ac +PUT http://localhost/remote\.php/dav/files/user1/test/res-%25e2%2582%25ac authorization: Bearer mock content-length: 19 content-type: application/xml ocs-apirequest: true requesttoken: token This is a test file -GET http://localhost/remote\.php/webdav/test/res-%25e2%2582%25ac +GET http://localhost/remote\.php/dav/files/user1/test/res-%25e2%2582%25ac authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/litmus/basic/put_no_parent.regexp b/packages/nextcloud/test/fixtures/webdav/litmus/basic/put_no_parent.regexp index 206f9fd4873..eb4a1368ad2 100644 --- a/packages/nextcloud/test/fixtures/webdav/litmus/basic/put_no_parent.regexp +++ b/packages/nextcloud/test/fixtures/webdav/litmus/basic/put_no_parent.regexp @@ -1,4 +1,4 @@ -PUT http://localhost/remote\.php/webdav/test/409me/noparent\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/409me/noparent\.txt authorization: Bearer mock content-length: 0 content-type: application/xml diff --git a/packages/nextcloud/test/fixtures/webdav/litmus/copymove/copy_coll.regexp b/packages/nextcloud/test/fixtures/webdav/litmus/copymove/copy_coll.regexp index 575f72a9a8f..160affaa59a 100644 --- a/packages/nextcloud/test/fixtures/webdav/litmus/copymove/copy_coll.regexp +++ b/packages/nextcloud/test/fixtures/webdav/litmus/copymove/copy_coll.regexp @@ -1,157 +1,157 @@ -MKCOL http://localhost/remote\.php/webdav/test/copy-coll-src +MKCOL http://localhost/remote\.php/dav/files/user1/test/copy-coll-src authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -MKCOL http://localhost/remote\.php/webdav/test/copy-coll-src/sub +MKCOL http://localhost/remote\.php/dav/files/user1/test/copy-coll-src/sub authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/copy-coll-src/0\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/copy-coll-src/0\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/copy-coll-src/1\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/copy-coll-src/1\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/copy-coll-src/2\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/copy-coll-src/2\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/copy-coll-src/3\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/copy-coll-src/3\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/copy-coll-src/4\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/copy-coll-src/4\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/copy-coll-src/5\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/copy-coll-src/5\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/copy-coll-src/6\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/copy-coll-src/6\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/copy-coll-src/7\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/copy-coll-src/7\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/copy-coll-src/8\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/copy-coll-src/8\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/copy-coll-src/9\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/copy-coll-src/9\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -COPY http://localhost/remote\.php/webdav/test/copy-coll-src +COPY http://localhost/remote\.php/dav/files/user1/test/copy-coll-src authorization: Bearer mock content-type: application/xml -destination: http://localhost/remote\.php/webdav/test/copy-coll-dst1 +destination: http://localhost/remote\.php/dav/files/user1/test/copy-coll-dst1 ocs-apirequest: true overwrite: F requesttoken: token -COPY http://localhost/remote\.php/webdav/test/copy-coll-src +COPY http://localhost/remote\.php/dav/files/user1/test/copy-coll-src authorization: Bearer mock content-type: application/xml -destination: http://localhost/remote\.php/webdav/test/copy-coll-dst2 +destination: http://localhost/remote\.php/dav/files/user1/test/copy-coll-dst2 ocs-apirequest: true overwrite: F requesttoken: token -COPY http://localhost/remote\.php/webdav/test/copy-coll-src +COPY http://localhost/remote\.php/dav/files/user1/test/copy-coll-src authorization: Bearer mock content-type: application/xml -destination: http://localhost/remote\.php/webdav/test/copy-coll-dst1 +destination: http://localhost/remote\.php/dav/files/user1/test/copy-coll-dst1 ocs-apirequest: true overwrite: F requesttoken: token -COPY http://localhost/remote\.php/webdav/test/copy-coll-src +COPY http://localhost/remote\.php/dav/files/user1/test/copy-coll-src authorization: Bearer mock content-type: application/xml -destination: http://localhost/remote\.php/webdav/test/copy-coll-dst2 +destination: http://localhost/remote\.php/dav/files/user1/test/copy-coll-dst2 ocs-apirequest: true overwrite: T requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/copy-coll-dst1/0\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/copy-coll-dst1/0\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/copy-coll-dst1/1\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/copy-coll-dst1/1\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/copy-coll-dst1/2\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/copy-coll-dst1/2\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/copy-coll-dst1/3\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/copy-coll-dst1/3\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/copy-coll-dst1/4\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/copy-coll-dst1/4\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/copy-coll-dst1/5\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/copy-coll-dst1/5\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/copy-coll-dst1/6\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/copy-coll-dst1/6\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/copy-coll-dst1/7\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/copy-coll-dst1/7\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/copy-coll-dst1/8\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/copy-coll-dst1/8\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/copy-coll-dst1/9\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/copy-coll-dst1/9\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/copy-coll-dst1/sub +DELETE http://localhost/remote\.php/dav/files/user1/test/copy-coll-dst1/sub authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/copy-coll-dst2 +DELETE http://localhost/remote\.php/dav/files/user1/test/copy-coll-dst2 authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/litmus/copymove/copy_nodestcoll.regexp b/packages/nextcloud/test/fixtures/webdav/litmus/copymove/copy_nodestcoll.regexp index 3da83a3057c..8933da8f472 100644 --- a/packages/nextcloud/test/fixtures/webdav/litmus/copymove/copy_nodestcoll.regexp +++ b/packages/nextcloud/test/fixtures/webdav/litmus/copymove/copy_nodestcoll.regexp @@ -1,12 +1,12 @@ -MKCOL http://localhost/remote\.php/webdav/test/copy-nodestcoll-src +MKCOL http://localhost/remote\.php/dav/files/user1/test/copy-nodestcoll-src authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -COPY http://localhost/remote\.php/webdav/test/copy-nodestcoll-src +COPY http://localhost/remote\.php/dav/files/user1/test/copy-nodestcoll-src authorization: Bearer mock content-type: application/xml -destination: http://localhost/remote\.php/webdav/test/nonesuch/dst +destination: http://localhost/remote\.php/dav/files/user1/test/nonesuch/dst ocs-apirequest: true overwrite: F requesttoken: token \ No newline at end of file diff --git a/packages/nextcloud/test/fixtures/webdav/litmus/copymove/copy_overwrite.regexp b/packages/nextcloud/test/fixtures/webdav/litmus/copymove/copy_overwrite.regexp index 2054c6ff10f..1fd38c2db83 100644 --- a/packages/nextcloud/test/fixtures/webdav/litmus/copymove/copy_overwrite.regexp +++ b/packages/nextcloud/test/fixtures/webdav/litmus/copymove/copy_overwrite.regexp @@ -1,24 +1,24 @@ -MKCOL http://localhost/remote\.php/webdav/test/copy-overwrite-src +MKCOL http://localhost/remote\.php/dav/files/user1/test/copy-overwrite-src authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -MKCOL http://localhost/remote\.php/webdav/test/copy-overwrite-dst +MKCOL http://localhost/remote\.php/dav/files/user1/test/copy-overwrite-dst authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -COPY http://localhost/remote\.php/webdav/test/copy-overwrite-src +COPY http://localhost/remote\.php/dav/files/user1/test/copy-overwrite-src authorization: Bearer mock content-type: application/xml -destination: http://localhost/remote\.php/webdav/test/copy-overwrite-dst +destination: http://localhost/remote\.php/dav/files/user1/test/copy-overwrite-dst ocs-apirequest: true overwrite: F requesttoken: token -COPY http://localhost/remote\.php/webdav/test/copy-overwrite-src +COPY http://localhost/remote\.php/dav/files/user1/test/copy-overwrite-src authorization: Bearer mock content-type: application/xml -destination: http://localhost/remote\.php/webdav/test/copy-overwrite-dst +destination: http://localhost/remote\.php/dav/files/user1/test/copy-overwrite-dst ocs-apirequest: true overwrite: T requesttoken: token \ No newline at end of file diff --git a/packages/nextcloud/test/fixtures/webdav/litmus/copymove/copy_simple.regexp b/packages/nextcloud/test/fixtures/webdav/litmus/copymove/copy_simple.regexp index bd5f7db80e2..d0bb3840327 100644 --- a/packages/nextcloud/test/fixtures/webdav/litmus/copymove/copy_simple.regexp +++ b/packages/nextcloud/test/fixtures/webdav/litmus/copymove/copy_simple.regexp @@ -1,12 +1,12 @@ -MKCOL http://localhost/remote\.php/webdav/test/copy-simple-src +MKCOL http://localhost/remote\.php/dav/files/user1/test/copy-simple-src authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -COPY http://localhost/remote\.php/webdav/test/copy-simple-src +COPY http://localhost/remote\.php/dav/files/user1/test/copy-simple-src authorization: Bearer mock content-type: application/xml -destination: http://localhost/remote\.php/webdav/test/copy-simple-dst +destination: http://localhost/remote\.php/dav/files/user1/test/copy-simple-dst ocs-apirequest: true overwrite: F requesttoken: token \ No newline at end of file diff --git a/packages/nextcloud/test/fixtures/webdav/litmus/copymove/move.regexp b/packages/nextcloud/test/fixtures/webdav/litmus/copymove/move.regexp index c0f2ba63bf4..5649b8e58d2 100644 --- a/packages/nextcloud/test/fixtures/webdav/litmus/copymove/move.regexp +++ b/packages/nextcloud/test/fixtures/webdav/litmus/copymove/move.regexp @@ -1,38 +1,38 @@ -PUT http://localhost/remote\.php/webdav/test/move-src1\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/move-src1\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/move-src2\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/move-src2\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -MKCOL http://localhost/remote\.php/webdav/test/move-coll +MKCOL http://localhost/remote\.php/dav/files/user1/test/move-coll authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -MOVE http://localhost/remote\.php/webdav/test/move-src1\.txt +MOVE http://localhost/remote\.php/dav/files/user1/test/move-src1\.txt authorization: Bearer mock content-type: application/xml -destination: http://localhost/remote\.php/webdav/test/move-dst\.txt +destination: http://localhost/remote\.php/dav/files/user1/test/move-dst\.txt ocs-apirequest: true overwrite: F requesttoken: token -MOVE http://localhost/remote\.php/webdav/test/move-src2\.txt +MOVE http://localhost/remote\.php/dav/files/user1/test/move-src2\.txt authorization: Bearer mock content-type: application/xml -destination: http://localhost/remote\.php/webdav/test/move-dst\.txt +destination: http://localhost/remote\.php/dav/files/user1/test/move-dst\.txt ocs-apirequest: true overwrite: F requesttoken: token -MOVE http://localhost/remote\.php/webdav/test/move-src2\.txt +MOVE http://localhost/remote\.php/dav/files/user1/test/move-src2\.txt authorization: Bearer mock content-type: application/xml -destination: http://localhost/remote\.php/webdav/test/move-dst\.txt +destination: http://localhost/remote\.php/dav/files/user1/test/move-dst\.txt ocs-apirequest: true overwrite: T requesttoken: token \ No newline at end of file diff --git a/packages/nextcloud/test/fixtures/webdav/litmus/copymove/move_coll.regexp b/packages/nextcloud/test/fixtures/webdav/litmus/copymove/move_coll.regexp index 6e0c270729b..41b904b15c0 100644 --- a/packages/nextcloud/test/fixtures/webdav/litmus/copymove/move_coll.regexp +++ b/packages/nextcloud/test/fixtures/webdav/litmus/copymove/move_coll.regexp @@ -1,173 +1,173 @@ -MKCOL http://localhost/remote\.php/webdav/test/move-coll-src +MKCOL http://localhost/remote\.php/dav/files/user1/test/move-coll-src authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -MKCOL http://localhost/remote\.php/webdav/test/move-coll-src/sub +MKCOL http://localhost/remote\.php/dav/files/user1/test/move-coll-src/sub authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/move-coll-src/0\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/move-coll-src/0\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/move-coll-src/1\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/move-coll-src/1\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/move-coll-src/2\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/move-coll-src/2\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/move-coll-src/3\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/move-coll-src/3\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/move-coll-src/4\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/move-coll-src/4\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/move-coll-src/5\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/move-coll-src/5\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/move-coll-src/6\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/move-coll-src/6\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/move-coll-src/7\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/move-coll-src/7\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/move-coll-src/8\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/move-coll-src/8\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/move-coll-src/9\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/move-coll-src/9\.txt authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/move-coll-noncoll +PUT http://localhost/remote\.php/dav/files/user1/test/move-coll-noncoll authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -COPY http://localhost/remote\.php/webdav/test/move-coll-src +COPY http://localhost/remote\.php/dav/files/user1/test/move-coll-src authorization: Bearer mock content-type: application/xml -destination: http://localhost/remote\.php/webdav/test/move-coll-dst2 +destination: http://localhost/remote\.php/dav/files/user1/test/move-coll-dst2 ocs-apirequest: true overwrite: F requesttoken: token -MOVE http://localhost/remote\.php/webdav/test/move-coll-src +MOVE http://localhost/remote\.php/dav/files/user1/test/move-coll-src authorization: Bearer mock content-type: application/xml -destination: http://localhost/remote\.php/webdav/test/move-coll-dst1 +destination: http://localhost/remote\.php/dav/files/user1/test/move-coll-dst1 ocs-apirequest: true overwrite: F requesttoken: token -MOVE http://localhost/remote\.php/webdav/test/move-coll-dst1 +MOVE http://localhost/remote\.php/dav/files/user1/test/move-coll-dst1 authorization: Bearer mock content-type: application/xml -destination: http://localhost/remote\.php/webdav/test/move-coll-dst2 +destination: http://localhost/remote\.php/dav/files/user1/test/move-coll-dst2 ocs-apirequest: true overwrite: F requesttoken: token -MOVE http://localhost/remote\.php/webdav/test/move-coll-dst2 +MOVE http://localhost/remote\.php/dav/files/user1/test/move-coll-dst2 authorization: Bearer mock content-type: application/xml -destination: http://localhost/remote\.php/webdav/test/move-coll-dst1 +destination: http://localhost/remote\.php/dav/files/user1/test/move-coll-dst1 ocs-apirequest: true overwrite: T requesttoken: token -COPY http://localhost/remote\.php/webdav/test/move-coll-dst1 +COPY http://localhost/remote\.php/dav/files/user1/test/move-coll-dst1 authorization: Bearer mock content-type: application/xml -destination: http://localhost/remote\.php/webdav/test/move-coll-dst2 +destination: http://localhost/remote\.php/dav/files/user1/test/move-coll-dst2 ocs-apirequest: true overwrite: F requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/move-coll-dst1/0\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/move-coll-dst1/0\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/move-coll-dst1/1\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/move-coll-dst1/1\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/move-coll-dst1/2\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/move-coll-dst1/2\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/move-coll-dst1/3\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/move-coll-dst1/3\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/move-coll-dst1/4\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/move-coll-dst1/4\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/move-coll-dst1/5\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/move-coll-dst1/5\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/move-coll-dst1/6\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/move-coll-dst1/6\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/move-coll-dst1/7\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/move-coll-dst1/7\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/move-coll-dst1/8\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/move-coll-dst1/8\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/move-coll-dst1/9\.txt +DELETE http://localhost/remote\.php/dav/files/user1/test/move-coll-dst1/9\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -DELETE http://localhost/remote\.php/webdav/test/move-coll-dst1/sub +DELETE http://localhost/remote\.php/dav/files/user1/test/move-coll-dst1/sub authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -MOVE http://localhost/remote\.php/webdav/test/move-coll-dst2 +MOVE http://localhost/remote\.php/dav/files/user1/test/move-coll-dst2 authorization: Bearer mock content-type: application/xml -destination: http://localhost/remote\.php/webdav/test/move-coll-noncoll +destination: http://localhost/remote\.php/dav/files/user1/test/move-coll-noncoll ocs-apirequest: true overwrite: F requesttoken: token \ No newline at end of file diff --git a/packages/nextcloud/test/fixtures/webdav/litmus/largefile/large_get.regexp b/packages/nextcloud/test/fixtures/webdav/litmus/largefile/large_get.regexp index 13b28562a97..96571fa2874 100644 --- a/packages/nextcloud/test/fixtures/webdav/litmus/largefile/large_get.regexp +++ b/packages/nextcloud/test/fixtures/webdav/litmus/largefile/large_get.regexp @@ -1,11 +1,11 @@ -PUT http://localhost/remote\.php/webdav/test/largefile\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/largefile\.txt authorization: Bearer mock content-length: 1000000000 content-type: application/xml ocs-apirequest: true requesttoken: token .* -GET http://localhost/remote\.php/webdav/test/largefile\.txt +GET http://localhost/remote\.php/dav/files/user1/test/largefile\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/remove_properties.regexp b/packages/nextcloud/test/fixtures/webdav/remove_properties.regexp index 115022bf413..c0e1ca4f6ae 100644 --- a/packages/nextcloud/test/fixtures/webdav/remove_properties.regexp +++ b/packages/nextcloud/test/fixtures/webdav/remove_properties.regexp @@ -1,29 +1,29 @@ -PUT http://localhost/remote\.php/webdav/test/remove-props\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/remove-props\.txt authorization: Bearer mock content-length: 4 content-type: application/xml ocs-apirequest: true requesttoken: token test -PROPPATCH http://localhost/remote\.php/webdav/test/remove-props\.txt +PROPPATCH http://localhost/remote\.php/dav/files/user1/test/remove-props\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token true -PROPFIND http://localhost/remote\.php/webdav/test/remove-props\.txt +PROPFIND http://localhost/remote\.php/dav/files/user1/test/remove-props\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -PROPPATCH http://localhost/remote\.php/webdav/test/remove-props\.txt +PROPPATCH http://localhost/remote\.php/dav/files/user1/test/remove-props\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -PROPFIND http://localhost/remote\.php/webdav/test/remove-props\.txt +PROPFIND http://localhost/remote\.php/dav/files/user1/test/remove-props\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/set_and_get_tags.regexp b/packages/nextcloud/test/fixtures/webdav/set_and_get_tags.regexp index 447d6c50d87..66d3a4bf2db 100644 --- a/packages/nextcloud/test/fixtures/webdav/set_and_get_tags.regexp +++ b/packages/nextcloud/test/fixtures/webdav/set_and_get_tags.regexp @@ -1,17 +1,17 @@ -PUT http://localhost/remote\.php/webdav/test/tags\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/tags\.txt authorization: Bearer mock content-length: 4 content-type: application/xml ocs-apirequest: true requesttoken: token test -PROPPATCH http://localhost/remote\.php/webdav/test/tags\.txt +PROPPATCH http://localhost/remote\.php/dav/files/user1/test/tags\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token example -PROPFIND http://localhost/remote\.php/webdav/test/tags\.txt +PROPFIND http://localhost/remote\.php/dav/files/user1/test/tags\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/set_properties.regexp b/packages/nextcloud/test/fixtures/webdav/set_properties.regexp index 001a32cc24c..d6392cb03ef 100644 --- a/packages/nextcloud/test/fixtures/webdav/set_properties.regexp +++ b/packages/nextcloud/test/fixtures/webdav/set_properties.regexp @@ -1,4 +1,4 @@ -PUT http://localhost/remote\.php/webdav/test/set-props\.txt +PUT http://localhost/remote\.php/dav/files/user1/test/set-props\.txt authorization: Bearer mock content-length: 4 content-type: application/xml @@ -7,13 +7,13 @@ requesttoken: token x-oc-ctime: 34214400 x-oc-mtime: 68256000 test -PROPPATCH http://localhost/remote\.php/webdav/test/set-props\.txt +PROPPATCH http://localhost/remote\.php/dav/files/user1/test/set-props\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token true -PROPFIND http://localhost/remote\.php/webdav/test/set-props\.txt +PROPFIND http://localhost/remote\.php/dav/files/user1/test/set-props\.txt authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/upload_and_download_empty_file.regexp b/packages/nextcloud/test/fixtures/webdav/upload_and_download_empty_file.regexp index f1ae5f780fe..839c9f8e5e3 100644 --- a/packages/nextcloud/test/fixtures/webdav/upload_and_download_empty_file.regexp +++ b/packages/nextcloud/test/fixtures/webdav/upload_and_download_empty_file.regexp @@ -1,10 +1,10 @@ -PUT http://localhost/remote\.php/webdav/test/empty-file +PUT http://localhost/remote\.php/dav/files/user1/test/empty-file authorization: Bearer mock content-length: 0 content-type: application/xml ocs-apirequest: true requesttoken: token -GET http://localhost/remote\.php/webdav/test/empty-file +GET http://localhost/remote\.php/dav/files/user1/test/empty-file authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/upload_and_download_file.regexp b/packages/nextcloud/test/fixtures/webdav/upload_and_download_file.regexp index 156b9123250..382081fe29f 100644 --- a/packages/nextcloud/test/fixtures/webdav/upload_and_download_file.regexp +++ b/packages/nextcloud/test/fixtures/webdav/upload_and_download_file.regexp @@ -1,11 +1,11 @@ -PUT http://localhost/remote\.php/webdav/test/upload_file\.png +PUT http://localhost/remote\.php/dav/files/user1/test/upload_file\.png authorization: Bearer mock content-length: 8650 content-type: application/xml ocs-apirequest: true requesttoken: token -iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4CAIAAABnsVYUAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5AMPEAwo2\+TdNAAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAACAASURBVHja7NgxAQAgDMAwQMH8O8IVJuiXSOjZfWcWAAAAAAD8diQAAAAAAKBgQAMAAAAAkDCgAQAAAABIGNAAAAAAACQMaAAAAAAAEgY0AAAAAAAJAxoAAAAAgIQBDQAAAABAwoAGAAAAACBhQAMAAAAAkDCgAQAAAABIGNAAAAAAACQMaAAAAAAAEgY0AAAAAAAJAxoAAAAAgIQBDQAAAABAwoAGAAAAACBhQAMAAAAAkDCgAQAAAABIGNAAAAAAACQMaAAAAAAAEgY0AAAAAAAJAxoAAAAAgIQBDQAAAABAwoAGAAAAACBhQAMAAAAAkDCgAQAAAABIGNAAAAAAACQMaAAAAAAAEgY0AAAAAAAJAxoAAAAAgIQBDQAAAABAwoAGAAAAACBhQAMAAAAAkDCgAQAAAABIGNAAAAAAACQMaAAAAAAAEgY0AAAAAAAJAxoAAAAAgIQBDQAAAABAwoAGAAAAACBhQAMAAAAAkDCgAQAAAABIGNAAAAAAACQMaAAAAAAAEgY0AAAAAAAJAxoAAAAAgIQBDQAAAABAwoAGAAAAACBhQAMAAAAAkDCgAQAAAABIGNAAAAAAACQMaAAAAAAAEgY0AAAAAAAJAxoAAAAAgIQBDQAAAABAwoAGAAAAACBhQAMAAAAAkDCgAQAAAABIGNAAAAAAACQMaAAAAAAAEgY0AAAAAAAJAxoAAAAAgIQBDQAAA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AAAAALAQ0AAAAAAALAQ0AAAAAwEJAAwAAAACwENAAAAAAACwENAAAAAAACwENAAAAAMBCQAMAAAAAsBDQAAAAAAAsBDQAAAAAAAsBDQAAAADAQkADAAAAALAQ0AAAAAAALAQ0AAAAAAALAQ0AAAAAwEJAAwAAAACwENAAAAAAACwENAAAAAAACwENAAAAAMBCQAMAAAAAsBDQAAAAAAAsBDQAAAAAAAsBDQAAAADAQkADAAAAALAQ0AAAAAAALAQ0AAAAAAALAQ0AAAAAwEJAAwAAAACwENAAAAAAACwENAAAAAAACwENAAAAAMBCQAMAAAAAsBDQAAAAAAAsBDQAAAAAAAsBDQAAAADAQkADAAAAALAQ0AAAAAAALAQ0AAAAAAALAQ0AAAAAwEJAAwAAAACwENAAAAAAACwENAAAAAAACwENAAAAAMBCQAMAAAAAsBDQAAAAAAAsBDQAAAAAAAsBDQAAAADAQkADZL2FUgAAAThJREFUAAAAALAQ0AAAAAAALAQ0AAAAAAALAQ0AAAAAwEJAAwAAAACwENAAAAAAACwENAAAAAAACwENAAAAAMBCQAMAAAAAsBDQAAAAAAAsBDQAAAAAAAsBDQAAAADAQkADAAAAALAQ0AAAAAAALAQ0AAAAAAALAQ0AAAAAwEJAAwAAAACwENAAAAAAACwENAAAAAAACwENAAAAAMBCQAMAAAAAsBDQAAAAAAAsBDQAAAAAAAsBDQAAAADAQkADAAAAALAQ0AAAAAAALAQ0AAAAAAALAQ0AAAAAwEJAAwAAAACwENAAAAAAACwENAAAAAAACwENAAAAAMBCQAMAAAAAsBDQAAAAAAAsBDQAAAAAAAsBDQAAAADAQkADAAAAALAQ0AAAAAAALAQ0AAAAAAALAQ0AAAAAwCKNfglZ0nZIRwAAAABJRU5ErkJggg== -GET http://localhost/remote\.php/webdav/test/upload_file\.png +.+ +GET http://localhost/remote\.php/dav/files/user1/test/upload_file\.png authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/upload_and_download_stream.regexp b/packages/nextcloud/test/fixtures/webdav/upload_and_download_stream.regexp index f86ec81361a..8fcef784e3e 100644 --- a/packages/nextcloud/test/fixtures/webdav/upload_and_download_stream.regexp +++ b/packages/nextcloud/test/fixtures/webdav/upload_and_download_stream.regexp @@ -1,11 +1,11 @@ -PUT http://localhost/remote\.php/webdav/test/upload_stream\.png +PUT http://localhost/remote\.php/dav/files/user1/test/upload_stream\.png authorization: Bearer mock content-length: 8650 content-type: application/xml ocs-apirequest: true requesttoken: token -iVBORw0KGgoAAAANSUhEUgAAB4AAAAQ4CAIAAABnsVYUAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAB3RJTUUH5AMPEAwo2\+TdNAAAABl0RVh0Q29tbWVudABDcmVhdGVkIHdpdGggR0lNUFeBDhcAACAASURBVHja7NgxAQAgDMAwQMH8O8IVJuiXSOjZfWcWAAAAAAD8diQAAAAAAKBgQAMAAAAAkDCgAQAAAABIGNAAAAAAACQMaAAAAAAAEgY0AAAAAAAJAxoAAAAAgIQBDQAAAABAwoAGAAAAACBhQAMAAAAAkDCgAQAAAABIGNAAAAAAACQMaAAAAAAAEgY0AAAAAAAJAxoAAAAAgIQBDQAAAABAwoAGAAAAACBhQAMAAAAAkDCgAQAAAABIGNAAAAAAACQMaAAAAAAAEgY0AAAAAAAJAxoAAAAAgIQBDQAAAABAwoAGAAAAACBhQAMAAAAAkDCgAQAAAABIGNAAAAAAACQMaAAAAAAAEgY0AAAAAAAJAxoAAAAAgIQBDQAAAABAwoAGAAAAACBhQAMAAAAAkDCgAQAAAABIGNAAAAAAACQMaAAAAAAAEgY0AAAAAAAJAxoAAAAAgIQBDQAAAABAwoAGAAAAACBhQAMAAAAAkDCgAQAAAABIGNAAAAAAACQMaAAAAAAAEgY0AAAAAAAJAxoAAAAAgIQBDQAAAABAwoAGAAAAACBhQAMAAAAAkDCgAQAAAABIGNAAAAAAACQMaAAAAAAAEgY0AAAAAAAJAxoAAAAAgIQBDQAAAABAwoAGAAAAACBhQAMAAAAAkDCgAQAAAABIGNA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sBDQAAAAAAAsBDQAAAAAAAsBDQAAAADAQkADAAAAALAQ0AAAAAAALAQ0AAAAAAALAQ0AAAAAwEJAAwAAAACwENAAAAAAACwENAAAAAAACwENAAAAAMBCQAMAAAAAsBDQAAAAAAAsBDQAAAAAAAsBDQAAAADAQkADAAAAALAQ0AAAAAAALAQ0AAAAAAALAQ0AAAAAwEJAAwAAAACwENAAAAAAACwENAAAAAAACwENAAAAAMBCQAMAAAAAsBDQAAAAAAAsBDQAAAAAAAsBDQAAAADAQkADAAAAALAQ0AAAAAAALAQ0AAAAAAALAQ0AAAAAwEJAAwAAAACwENAAAAAAACwENAAAAAAACwENAAAAAMBCQAMAAAAAsBDQAAAAAAAsBDQAAAAAAAsBDQAAAADAQkADAAAAALAQ0AAAAAAALAQ0AAAAAAALAQ0AAAAAwEJAAwAAAACwENAAAAAAACwENAAAAAAACwENAAAAAMBCQAMAAAAAsBDQAAAAAAAsBDQAAAAAAAsBDQAAAADAQkADZL2FUgAAAThJREFUAAAAALAQ0AAAAAAALAQ0AAAAAAALAQ0AAAAAwEJAAwAAAACwENAAAAAAACwENAAAAAAACwENAAAAAMBCQAMAAAAAsBDQAAAAAAAsBDQAAAAAAAsBDQAAAADAQkADAAAAALAQ0AAAAAAALAQ0AAAAAAALAQ0AAAAAwEJAAwAAAACwENAAAAAAACwENAAAAAAACwENAAAAAMBCQAMAAAAAsBDQAAAAAAAsBDQAAAAAAAsBDQAAAADAQkADAAAAALAQ0AAAAAAALAQ0AAAAAAALAQ0AAAAAwEJAAwAAAACwENAAAAAAACwENAAAAAAACwENAAAAAMBCQAMAAAAAsBDQAAAAAAAsBDQAAAAAAAsBDQAAAADAQkADAAAAALAQ0AAAAAAALAQ0AAAAAAALAQ0AAAAAwCKNfglZ0nZIRwAAAABJRU5ErkJggg== -GET http://localhost/remote\.php/webdav/test/upload_stream\.png +.+ +GET http://localhost/remote\.php/dav/files/user1/test/upload_stream\.png authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/upload_file_with_checksum.regexp b/packages/nextcloud/test/fixtures/webdav/upload_file_with_checksum.regexp index eeb45bab01c..df4cf47af3d 100644 --- a/packages/nextcloud/test/fixtures/webdav/upload_file_with_checksum.regexp +++ b/packages/nextcloud/test/fixtures/webdav/upload_file_with_checksum.regexp @@ -1,4 +1,4 @@ -PUT http://localhost/remote\.php/webdav/test/checksum\.png +PUT http://localhost/remote\.php/dav/files/user1/test/checksum\.png authorization: Bearer mock content-length: 8650 content-type: application/xml @@ -6,7 +6,7 @@ oc-checksum: md5:abc ocs-apirequest: true requesttoken: token .+ -PROPFIND http://localhost/remote\.php/webdav/test/checksum\.png +PROPFIND http://localhost/remote\.php/dav/files/user1/test/checksum\.png authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/upload_overwrite/data.regexp b/packages/nextcloud/test/fixtures/webdav/upload_overwrite/data.regexp index 1555b95895f..9207a926c7f 100644 --- a/packages/nextcloud/test/fixtures/webdav/upload_overwrite/data.regexp +++ b/packages/nextcloud/test/fixtures/webdav/upload_overwrite/data.regexp @@ -1,23 +1,23 @@ -PUT http://localhost/remote\.php/webdav/test/upload_overwrite\.png +PUT http://localhost/remote\.php/dav/files/user1/test/upload_overwrite\.png authorization: Bearer mock content-length: 3 content-type: application/xml ocs-apirequest: true requesttoken: token 123 -GET http://localhost/remote\.php/webdav/test/upload_overwrite\.png +GET http://localhost/remote\.php/dav/files/user1/test/upload_overwrite\.png authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/upload_overwrite\.png +PUT http://localhost/remote\.php/dav/files/user1/test/upload_overwrite\.png authorization: Bearer mock content-length: 3 content-type: application/xml ocs-apirequest: true requesttoken: token 456 -GET http://localhost/remote\.php/webdav/test/upload_overwrite\.png +GET http://localhost/remote\.php/dav/files/user1/test/upload_overwrite\.png authorization: Bearer mock content-type: application/xml ocs-apirequest: true diff --git a/packages/nextcloud/test/fixtures/webdav/upload_overwrite/stream.regexp b/packages/nextcloud/test/fixtures/webdav/upload_overwrite/stream.regexp index 1555b95895f..9207a926c7f 100644 --- a/packages/nextcloud/test/fixtures/webdav/upload_overwrite/stream.regexp +++ b/packages/nextcloud/test/fixtures/webdav/upload_overwrite/stream.regexp @@ -1,23 +1,23 @@ -PUT http://localhost/remote\.php/webdav/test/upload_overwrite\.png +PUT http://localhost/remote\.php/dav/files/user1/test/upload_overwrite\.png authorization: Bearer mock content-length: 3 content-type: application/xml ocs-apirequest: true requesttoken: token 123 -GET http://localhost/remote\.php/webdav/test/upload_overwrite\.png +GET http://localhost/remote\.php/dav/files/user1/test/upload_overwrite\.png authorization: Bearer mock content-type: application/xml ocs-apirequest: true requesttoken: token -PUT http://localhost/remote\.php/webdav/test/upload_overwrite\.png +PUT http://localhost/remote\.php/dav/files/user1/test/upload_overwrite\.png authorization: Bearer mock content-length: 3 content-type: application/xml ocs-apirequest: true requesttoken: token 456 -GET http://localhost/remote\.php/webdav/test/upload_overwrite\.png +GET http://localhost/remote\.php/dav/files/user1/test/upload_overwrite\.png authorization: Bearer mock content-type: application/xml ocs-apirequest: true