Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

[#53996] merged create folder command specs

Eric Schubert3b36cee0a111
diff --git a/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/create_folder_command.rb b/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/create_folder_command.rb
index b13fe3c455b..c8a623bb52e 100644
--- a/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/create_folder_command.rb
+++ b/modules/storages/app/common/storages/peripherals/storage_interaction/nextcloud/create_folder_command.rb
@@ -49,14 +49,15 @@ module Storages::Peripherals::StorageInteraction::Nextcloud
end
folder_path = Util.join_uri_path(parent_location, folder_name)
+ base_url = Util.join_uri_path(@storage.uri, "remote.php/dav/files", CGI.escapeURIComponent(origin_user_id.result))
+ path_prefix = URI.parse(base_url).path
+ request_url = Util.join_uri_path(base_url, Util.escape_path(folder_path))
Auth[auth_strategy].call(storage: @storage) do |http|
- request_url = Util.join_uri_path(@storage.uri,
- "remote.php/dav/files",
- CGI.escapeURIComponent(origin_user_id.result),
- Util.escape_path(folder_path))
+ result = handle_response(http.mkcol(request_url))
+ return result if result.failure?
- handle_response http.mkcol(request_url)
+ handle_response(http.propfind(request_url, requested_properties)).map(&storage_file(path_prefix))
end
end
@@ -65,32 +66,62 @@ module Storages::Peripherals::StorageInteraction::Nextcloud
def handle_response(response)
case response
in { status: 200..299 }
- ServiceResult.success(message: "Folder was successfully created.")
- in { status: 405 }
- if Util.error_text_from_response(response) == "The resource you tried to create already exists"
- ServiceResult.success(message: "Folder already exists.")
- else
- Util.failure(code: :not_allowed,
- data: Util.error_data_from_response(caller: self.class, response:),
- log_message: "Outbound request method not allowed!")
- end
+ ServiceResult.success(result: response)
in { status: 401 }
Util.failure(code: :unauthorized,
data: Util.error_data_from_response(caller: self.class, response:),
log_message: "Outbound request not authorized!")
- in { status: 404 }
+ in { status: 404 | 409 } # webDAV endpoint returns 409 if path does not exist
Util.failure(code: :not_found,
data: Util.error_data_from_response(caller: self.class, response:),
log_message: "Outbound request destination not found!")
- in { status: 409 }
+ in { status: 405 } # webDAV endpoint returns 405 if folder already exists
Util.failure(code: :conflict,
data: Util.error_data_from_response(caller: self.class, response:),
- log_message: Util.error_text_from_response(response))
+ log_message: "Folder already exists")
else
Util.failure(code: :error,
data: Util.error_data_from_response(caller: self.class, response:),
log_message: "Outbound request failed with unknown error!")
end
end
+
+ def requested_properties
+ Nokogiri::XML::Builder.new do |xml|
+ xml["d"].propfind(
+ "xmlns:d" => "DAV:",
+ "xmlns:oc" => "http://owncloud.org/ns"
+ ) do
+ xml["d"].prop do
+ xml["oc"].fileid
+ xml["oc"].size
+ xml["d"].getlastmodified
+ xml["oc"].send(:"owner-display-name")
+ end
+ end
+ end.to_xml
+ end
+
+ def storage_file(path_prefix)
+ ->(response) do
+ xml = response.xml
+ path = xml.xpath('//d:response/d:href/text()').to_s
+ timestamp = xml.xpath('//d:response/d:propstat/d:prop/d:getlastmodified/text()').to_s
+ creator = xml.xpath('//d:response/d:propstat/d:prop/oc:owner-display-name/text()').to_s
+ location = CGI.unescapeURIComponent(path.gsub(path_prefix, "")).delete_suffix("/")
+
+ Storages::StorageFile.new(
+ id: xml.xpath('//d:response/d:propstat/d:prop/oc:fileid/text()').to_s,
+ name: location.split('/').last,
+ size: xml.xpath('//d:response/d:propstat/d:prop/oc:size/text()').to_s,
+ mime_type: "application/x-op-directory",
+ created_at: Time.zone.parse(timestamp),
+ last_modified_at: Time.zone.parse(timestamp),
+ created_by_name: creator,
+ last_modified_by_name: creator,
+ location:
+ )
+ end
+ end
end
end
diff --git a/modules/storages/spec/common/storages/peripherals/storage_interaction/create_folder_command_spec.rb b/modules/storages/spec/common/storages/peripherals/storage_interaction/create_folder_command_spec.rb
new file mode 100644
index 00000000000..60cf729f64e
--- /dev/null
+++ b/modules/storages/spec/common/storages/peripherals/storage_interaction/create_folder_command_spec.rb
@@ -0,0 +1,197 @@
+# frozen_string_literal: true
+
+#-- copyright
+# OpenProject is an open source project management software.
+# Copyright (C) 2012-2024 the OpenProject GmbH
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License version 3.
+#
+# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
+# Copyright (C) 2006-2013 Jean-Philippe Lang
+# Copyright (C) 2010-2013 the ChiliProject Team
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+#
+# See COPYRIGHT and LICENSE files for more details.
+#++
+
+require "spec_helper"
+require_module_spec_helper
+
+RSpec.describe "create folder command" do
+ using Storages::Peripherals::ServiceResultRefinements
+
+ shared_examples_for "basic command setup" do
+ it "is registered as commands.create_folder" do
+ expect(Storages::Peripherals::Registry
+ .resolve("#{storage.short_provider_type}.commands.create_folder")).to eq(described_class)
+ end
+
+ it "responds to #call with correct parameters" do
+ expect(described_class).to respond_to(:call)
+
+ method = described_class.method(:call)
+ expect(method.parameters).to contain_exactly(%i[keyreq storage],
+ %i[keyreq auth_strategy],
+ %i[keyreq folder_name],
+ %i[keyreq parent_location])
+ end
+ end
+
+ shared_examples_for "successful folder creation" do
+ it "creates a folder" do
+ result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)
+
+ result.match(
+ on_success: ->(response) do
+ expect(response).to be_a(Storages::StorageFile)
+ expect(response.name).to eq(folder_name)
+ expect(response.location).to eq(path)
+ end,
+ on_failure: ->(error) { fail "Expected success, got #{error}" }
+ )
+ ensure
+ delete_created_folder(storage, result.result)
+ end
+ end
+
+ shared_examples_for "parent not found" do
+ it "returns a failure" do
+ result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)
+
+ result.match(
+ on_failure: ->(error) do
+ expect(error.code).to eq(:not_found)
+ expect(error.data.source).to eq(error_source)
+ end,
+ on_success: ->(result) { fail "Expected failure, got #{result}" }
+ )
+ end
+ end
+
+ shared_examples_for "folder already exists" do
+ it "returns a failure" do
+ result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)
+
+ result.match(
+ on_failure: ->(error) do
+ expect(error.code).to eq(:conflict)
+ expect(error.data.source).to eq(error_source)
+ end,
+ on_success: ->(result) { fail "Expected failure, got #{result}" }
+ )
+ end
+ end
+
+ describe Storages::Peripherals::StorageInteraction::OneDrive::CreateFolderCommand, :vcr, :webmock do
+ let(:storage) { create(:sharepoint_dev_drive_storage) }
+ let(:auth_strategy) do
+ Storages::Peripherals::StorageInteraction::AuthenticationStrategies::OAuthClientCredentials.strategy
+ end
+
+ it_behaves_like "basic command setup"
+
+ context "when creating a folder in the root", vcr: "one_drive/create_folder_root" do
+ let(:folder_name) { "Földer CreatedBy Çommand" }
+ let(:parent_location) { Storages::Peripherals::ParentFolder.new("/") }
+ let(:path) { "/#{folder_name}" }
+
+ it_behaves_like "successful folder creation"
+ end
+
+ context "when creating a folder in a parent folder", vcr: "one_drive/create_folder_parent" do
+ let(:folder_name) { "Földer CreatedBy Çommand" }
+ let(:parent_location) { Storages::Peripherals::ParentFolder.new("01AZJL5PKU2WV3U3RKKFF2A7ZCWVBXRTEU") }
+ let(:path) { "/Folder with spaces/#{folder_name}" }
+
+ it_behaves_like "successful folder creation"
+ end
+
+ context "when creating a folder in a non-existing parent folder", vcr: "one_drive/create_folder_parent_not_found" do
+ let(:folder_name) { "Földer CreatedBy Çommand" }
+ let(:parent_location) { Storages::Peripherals::ParentFolder.new("01AZJL5PKU2WV3U3RKKFF4A7ZCWVBXRTEU") }
+ let(:error_source) { described_class }
+
+ it_behaves_like "parent not found"
+ end
+
+ context "when folder already exists", vcr: "one_drive/create_folder_already_exists" do
+ let(:folder_name) { "Folder" }
+ let(:parent_location) { Storages::Peripherals::ParentFolder.new("/") }
+ let(:error_source) { described_class }
+
+ it_behaves_like "folder already exists"
+ end
+ end
+
+ describe Storages::Peripherals::StorageInteraction::Nextcloud::CreateFolderCommand, :vcr, :webmock do
+ let(:user) { create(:user) }
+ let(:storage) do
+ create(:nextcloud_storage_with_local_connection, :as_not_automatically_managed, oauth_client_token_user: user)
+ end
+ let(:auth_strategy) do
+ Storages::Peripherals::StorageInteraction::AuthenticationStrategies::OAuthUserToken.strategy.with_user(user)
+ end
+
+ it_behaves_like "basic command setup"
+
+ context "when creating a folder in the root", vcr: "nextcloud/create_folder_root" do
+ let(:folder_name) { "Földer CreatedBy Çommand" }
+ let(:parent_location) { Storages::Peripherals::ParentFolder.new("/") }
+ let(:path) { "/#{folder_name}" }
+
+ it_behaves_like "successful folder creation"
+ end
+
+ context "when creating a folder in a parent folder", vcr: "nextcloud/create_folder_parent" do
+ let(:folder_name) { "Földer CreatedBy Çommand" }
+ let(:parent_location) { Storages::Peripherals::ParentFolder.new("/Folder") }
+ let(:path) { "/Folder/#{folder_name}" }
+
+ it_behaves_like "successful folder creation"
+ end
+
+ context "when creating a folder in a non-existing parent folder", vcr: "nextcloud/create_folder_parent_not_found" do
+ let(:folder_name) { "New Folder" }
+ let(:parent_location) { Storages::Peripherals::ParentFolder.new("/DeathStar3") }
+ let(:error_source) { described_class }
+
+ it_behaves_like "parent not found"
+ end
+
+ context "when folder already exists", vcr: "nextcloud/create_folder_already_exists" do
+ let(:folder_name) { "Folder" }
+ let(:parent_location) { Storages::Peripherals::ParentFolder.new("/") }
+ let(:error_source) { described_class }
+
+ it_behaves_like "folder already exists"
+ end
+ end
+
+ private
+
+ def delete_created_folder(storage, folder)
+ location = if storage.provider_type_nextcloud?
+ folder.location
+ else
+ folder.id
+ end
+
+ Storages::Peripherals::Registry
+ .resolve("#{storage.short_provider_type}.commands.delete_folder")
+ .call(storage:, auth_strategy:, location:)
+ end
+end
diff --git a/modules/storages/spec/common/storages/peripherals/storage_interaction/nextcloud/create_folder_command_spec.rb b/modules/storages/spec/common/storages/peripherals/storage_interaction/nextcloud/create_folder_command_spec.rb
deleted file mode 100644
index bae7eb1ce99..00000000000
--- a/modules/storages/spec/common/storages/peripherals/storage_interaction/nextcloud/create_folder_command_spec.rb
+++ /dev/null
@@ -1,121 +0,0 @@
-# frozen_string_literal: true
-
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2024 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
-require "spec_helper"
-require_module_spec_helper
-
-RSpec.describe Storages::Peripherals::StorageInteraction::Nextcloud::CreateFolderCommand, :vcr, :webmock do
- using Storages::Peripherals::ServiceResultRefinements
-
- let(:user) { create(:user) }
- let(:storage) do
- create(:nextcloud_storage_with_local_connection, :as_not_automatically_managed, oauth_client_token_user: user)
- end
- let(:auth_strategy) do
- Storages::Peripherals::StorageInteraction::AuthenticationStrategies::OAuthUserToken.strategy.with_user(user)
- end
-
- it "is registered as commands.nextcloud.create_folder" do
- expect(Storages::Peripherals::Registry.resolve("nextcloud.commands.create_folder")).to eq(described_class)
- end
-
- describe "#call" do
- let(:folder_name) { "New Folder" }
-
- it "responds with correct parameters" do
- expect(described_class).to respond_to(:call)
-
- method = described_class.method(:call)
- expect(method.parameters).to contain_exactly(%i[keyreq storage],
- %i[keyreq auth_strategy],
- %i[keyreq folder_name],
- %i[keyreq parent_location])
- end
-
- it "creates a folder in root", vcr: "nextcloud/create_folder_root" do
- parent_location = Storages::Peripherals::ParentFolder.new("/")
-
- result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)
-
- expect(result).to be_success
- ensure
- delete_created_folder(folder_name)
- end
-
- it "creates a folder in another folder", vcr: "nextcloud/create_folder_parent" do
- parent_location = Storages::Peripherals::ParentFolder.new("/Folder")
-
- result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)
-
- expect(result).to be_success
- ensure
- delete_created_folder("#{parent_location}/#{folder_name}")
- end
-
- context "if parent location does not exist" do
- it "returns a failure", vcr: "nextcloud/create_folder_parent_not_found" do
- parent_location = Storages::Peripherals::ParentFolder.new("/DeathStar3")
-
- result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)
-
- expect(result).to be_failure
- result.match(
- on_failure: ->(error) do
- expect(error.code).to eq(:conflict)
- expect(error.data.source).to be(described_class)
- expect(error.log_message).to eq("Parent node does not exist")
- end,
- on_success: ->(response) { fail "Expected failure, got #{response}" }
- )
- end
- end
-
- context "if folder already exists" do
- let(:folder_name) { "Folder" }
-
- it "returns a success", vcr: "nextcloud/create_folder_already_exists" do
- parent_location = Storages::Peripherals::ParentFolder.new("/")
-
- result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)
-
- expect(result).to be_success
- expect(result.message).to eq("Folder already exists.")
- end
- end
- end
-
- private
-
- def delete_created_folder(location)
- Storages::Peripherals::Registry
- .resolve("nextcloud.commands.delete_folder")
- .call(storage:, auth_strategy:, location:)
- end
-end
diff --git a/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/create_folder_command_spec.rb b/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/create_folder_command_spec.rb
deleted file mode 100644
index b966cf5a507..00000000000
--- a/modules/storages/spec/common/storages/peripherals/storage_interaction/one_drive/create_folder_command_spec.rb
+++ /dev/null
@@ -1,124 +0,0 @@
-# frozen_string_literal: true
-
-#-- copyright
-# OpenProject is an open source project management software.
-# Copyright (C) 2012-2024 the OpenProject GmbH
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License version 3.
-#
-# OpenProject is a fork of ChiliProject, which is a fork of Redmine. The copyright follows:
-# Copyright (C) 2006-2013 Jean-Philippe Lang
-# Copyright (C) 2010-2013 the ChiliProject Team
-#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License
-# as published by the Free Software Foundation; either version 2
-# of the License, or (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
-#
-# See COPYRIGHT and LICENSE files for more details.
-#++
-
-require "spec_helper"
-require_module_spec_helper
-
-RSpec.describe Storages::Peripherals::StorageInteraction::OneDrive::CreateFolderCommand, :vcr, :webmock do
- using Storages::Peripherals::ServiceResultRefinements
-
- let(:storage) { create(:sharepoint_dev_drive_storage) }
- let(:auth_strategy) do
- Storages::Peripherals::StorageInteraction::AuthenticationStrategies::OAuthClientCredentials.strategy
- end
-
- it "is registered as commands.one_drive.create_folder" do
- expect(Storages::Peripherals::Registry.resolve("one_drive.commands.create_folder")).to eq(described_class)
- end
-
- describe "#call" do
- let(:folder_name) { "Földer CreatedBy Çommand" }
-
- it "responds with correct parameters" do
- expect(described_class).to respond_to(:call)
-
- method = described_class.method(:call)
- expect(method.parameters).to contain_exactly(%i[keyreq storage],
- %i[keyreq auth_strategy],
- %i[keyreq folder_name],
- %i[keyreq parent_location])
- end
-
- it "creates a folder in root", vcr: "one_drive/create_folder_root" do
- parent_location = Storages::Peripherals::ParentFolder.new("/")
-
- result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)
-
- expect(result).to be_success
- ensure
- delete_created_folder(result.result.id)
- end
-
- it "creates a folder in another folder", vcr: "one_drive/create_folder_parent" do
- parent_location = Storages::Peripherals::ParentFolder.new("01AZJL5PKU2WV3U3RKKFF2A7ZCWVBXRTEU")
-
- result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)
-
- expect(result).to be_success
- ensure
- delete_created_folder(result.result.id)
- end
-
- context "if parent location does not exist" do
- it "returns a failure", vcr: "one_drive/create_folder_parent_not_found" do
- parent_location = Storages::Peripherals::ParentFolder.new("01AZJL5PKU2WV3U3RKKFF4A7ZCWVBXRTEU")
-
- result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)
-
- expect(result).to be_failure
- result.match(
- on_failure: ->(error) do
- expect(error.code).to eq(:not_found)
- expect(error.data.source).to be(described_class)
- end,
- on_success: ->(response) { fail "Expected failure, got #{response}" }
- )
- end
- end
-
- context "if folder already exists" do
- let(:folder_name) { "Folder" }
-
- it "returns a success", vcr: "one_drive/create_folder_already_exists" do
- parent_location = Storages::Peripherals::ParentFolder.new("/")
-
- result = described_class.call(storage:, auth_strategy:, folder_name:, parent_location:)
-
- expect(result).to be_failure
- expect(result.result).to eq(:already_exists)
- result.match(
- on_failure: ->(error) do
- expect(error.code).to eq(:conflict)
- expect(error.data.source).to be(described_class)
- end,
- on_success: ->(response) { fail "Expected failure, got #{response}" }
- )
- end
- end
- end
-
- private
-
- def delete_created_folder(location)
- Storages::Peripherals::Registry
- .resolve("one_drive.commands.delete_folder")
- .call(storage:, auth_strategy:, location:)
- end
-end
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/create_folder_parent.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/create_folder_parent.yml
index 193f0a947bd..0c26aa18261 100644
--- a/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/create_folder_parent.yml
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/create_folder_parent.yml
@@ -2,7 +2,7 @@
http_interactions:
- request:
method: mkcol
- uri: https://nextcloud.local/remote.php/dav/files/admin/Folder/New%20Folder
+ uri: https://nextcloud.local/remote.php/dav/files/admin/Folder/F%C3%B6lder%20CreatedBy%20%C3%87ommand
body:
encoding: US-ASCII
string: ''
@@ -27,11 +27,11 @@ http_interactions:
Content-Type:
- text/html; charset=UTF-8
Date:
- - Mon, 22 Apr 2024 09:39:26 GMT
+ - Tue, 23 Apr 2024 11:25:29 GMT
Expires:
- Thu, 19 Nov 1981 08:52:00 GMT
Oc-Fileid:
- - 00000376ocirabgzify6
+ - '00000378ocirabgzify6'
Pragma:
- no-cache
Referrer-Policy:
@@ -39,24 +39,24 @@ http_interactions:
Server:
- Apache/2.4.57 (Debian)
Set-Cookie:
- - ocirabgzify6=8c80041145ec1e150bebb1a90cb3cad3; path=/; secure; HttpOnly; SameSite=Lax,
- oc_sessionPassphrase=P8AdLTeRfLwXVVrog9NuJbm47Mt6vKwMCT9VZweEpUq5NkUR9JTQaSA8fy6HijKVYfbPdwiFVcU56vmwJgY0t38lQCFBnR%2B3k17Nqe2RcptagT8U6aFBXb8KjHk1QO5q;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=8c80041145ec1e150bebb1a90cb3cad3;
+ - ocirabgzify6=ceecd9275f73688198643c9e7d3c635b; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=MYNJ%2FNWpfizNKGTTKaqLNDMolxg0EzHGAO5NDnCnf7FmU85Qo1qXAQNnlDcuqbf8YuYUrsiaBKLhxvA6RXXi5XoTIM7%2BRq0FAeMZzFcz0P0pipY%2BaYd2d8KsR8OIZstZ;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=ceecd9275f73688198643c9e7d3c635b;
path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
__Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
- 31-Dec-2100 23:59:59 GMT; SameSite=strict, ocirabgzify6=8c80041145ec1e150bebb1a90cb3cad3;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=8c80041145ec1e150bebb1a90cb3cad3;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=8c80041145ec1e150bebb1a90cb3cad3;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=8c80041145ec1e150bebb1a90cb3cad3;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=8c80041145ec1e150bebb1a90cb3cad3;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=8c80041145ec1e150bebb1a90cb3cad3;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=8c80041145ec1e150bebb1a90cb3cad3;
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, ocirabgzify6=ceecd9275f73688198643c9e7d3c635b;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=ceecd9275f73688198643c9e7d3c635b;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=ceecd9275f73688198643c9e7d3c635b;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=ceecd9275f73688198643c9e7d3c635b;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=ceecd9275f73688198643c9e7d3c635b;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=ceecd9275f73688198643c9e7d3c635b;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=ceecd9275f73688198643c9e7d3c635b;
path=/; secure; HttpOnly; SameSite=Lax
X-Content-Type-Options:
- nosniff
X-Debug-Token:
- - G5c01AuhOu00ROtutc6H
+ - 69HzuEoCX0t5sxLFKbkO
X-Frame-Options:
- SAMEORIGIN
X-Permitted-Cross-Domain-Policies:
@@ -64,7 +64,7 @@ http_interactions:
X-Powered-By:
- PHP/8.2.16
X-Request-Id:
- - G5c01AuhOu00ROtutc6H
+ - 69HzuEoCX0t5sxLFKbkO
X-Robots-Tag:
- noindex, nofollow
X-Xss-Protection:
@@ -74,10 +74,107 @@ http_interactions:
body:
encoding: UTF-8
string: ''
- recorded_at: Mon, 22 Apr 2024 09:39:26 GMT
+ recorded_at: Tue, 23 Apr 2024 11:25:29 GMT
+- request:
+ method: propfind
+ uri: https://nextcloud.local/remote.php/dav/files/admin/Folder/F%C3%B6lder%20CreatedBy%20%C3%87ommand
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">
+ <d:prop>
+ <oc:fileid/>
+ <oc:size/>
+ <d:getlastmodified/>
+ <oc:owner-display-name/>
+ </d:prop>
+ </d:propfind>
+ headers:
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ Depth:
+ - '1'
+ User-Agent:
+ - httpx.rb/1.2.4
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/xml; charset=utf-8
+ Content-Length:
+ - '207'
+ response:
+ status:
+ code: 207
+ message: Multi-Status
+ headers:
+ Cache-Control:
+ - no-store, no-cache, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Tue, 23 Apr 2024 11:25:29 GMT
+ Dav:
+ - 1, 3, extended-mkcol, access-control, calendarserver-principal-property-search,
+ nextcloud-checksum-update, nc-calendar-search, nc-enable-birthday-calendar
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.57 (Debian)
+ Set-Cookie:
+ - ocirabgzify6=2c786e864dc31b23b829c1b38bc9fd3b; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=Sd1Rey6hsovDO61HS3F7nILY%2FDzQSyt9f9pXyOxN0Y6OrBtKqZH7ZwxBZoez8SCNYuH5wlwVlory6AMBSTU6%2BGOIRB%2F5AeLyh8ub8dZP%2BH8V5F4dMqhJ0zHl%2BgDVBjIk;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=2c786e864dc31b23b829c1b38bc9fd3b;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, ocirabgzify6=2c786e864dc31b23b829c1b38bc9fd3b;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=2c786e864dc31b23b829c1b38bc9fd3b;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=2c786e864dc31b23b829c1b38bc9fd3b;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=2c786e864dc31b23b829c1b38bc9fd3b;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=2c786e864dc31b23b829c1b38bc9fd3b;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=2c786e864dc31b23b829c1b38bc9fd3b;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=2c786e864dc31b23b829c1b38bc9fd3b;
+ path=/; secure; HttpOnly; SameSite=Lax
+ Vary:
+ - Brief,Prefer
+ X-Content-Type-Options:
+ - nosniff
+ X-Debug-Token:
+ - 5NZudMK9T7o3X1ExoTIJ
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.16
+ X-Request-Id:
+ - 5NZudMK9T7o3X1ExoTIJ
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '325'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns"><d:response><d:href>/remote.php/dav/files/admin/Folder/F%c3%b6lder%20CreatedBy%20%c3%87ommand/</d:href><d:propstat><d:prop><oc:fileid>378</oc:fileid><oc:size>0</oc:size><d:getlastmodified>Tue, 23 Apr 2024 11:25:29 GMT</d:getlastmodified><oc:owner-display-name>admin</oc:owner-display-name></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus>
+ recorded_at: Tue, 23 Apr 2024 11:25:29 GMT
- request:
method: delete
- uri: https://nextcloud.local/remote.php/dav/files/admin/Folder/New%20Folder
+ uri: https://nextcloud.local/remote.php/dav/files/admin/Folder/F%C3%B6lder%20CreatedBy%20%C3%87ommand
body:
encoding: US-ASCII
string: ''
@@ -100,7 +197,7 @@ http_interactions:
Content-Security-Policy:
- default-src 'none';
Date:
- - Mon, 22 Apr 2024 09:39:26 GMT
+ - Tue, 23 Apr 2024 11:25:30 GMT
Expires:
- Thu, 19 Nov 1981 08:52:00 GMT
Pragma:
@@ -110,24 +207,24 @@ http_interactions:
Server:
- Apache/2.4.57 (Debian)
Set-Cookie:
- - ocirabgzify6=9d5c82d9a91cdd6c50da8dd72e255ee2; path=/; secure; HttpOnly; SameSite=Lax,
- oc_sessionPassphrase=SfJvjrqcM4zR35%2BKz2xXQcydvsBFiaJm8CSSZWPtjNPNgkgqsiwTW29%2Frmr2NP21pZvZhGKVlqAXOKFBW1ztZH4aM7iAN6bMfgZhKsScHldY3MJpjN3UsMhypTeqFe8u;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=9d5c82d9a91cdd6c50da8dd72e255ee2;
+ - ocirabgzify6=2c85029be0cca081da53706b75dda99a; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=LeYZagFxHWyiImT4QgwC4B%2Fm2sb8t1lrZ1oOUoOWd2avBWyb0DWkWqS3MCaoltf8jHM%2FPwlo3zn1qShxy9eIEirY4PUijDyFznUiReyJRxIeBpWsPDxp12OI9QgJPVVp;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=2c85029be0cca081da53706b75dda99a;
path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
__Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
- 31-Dec-2100 23:59:59 GMT; SameSite=strict, ocirabgzify6=9d5c82d9a91cdd6c50da8dd72e255ee2;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=9d5c82d9a91cdd6c50da8dd72e255ee2;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=9d5c82d9a91cdd6c50da8dd72e255ee2;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=9d5c82d9a91cdd6c50da8dd72e255ee2;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=9d5c82d9a91cdd6c50da8dd72e255ee2;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=9d5c82d9a91cdd6c50da8dd72e255ee2;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=9d5c82d9a91cdd6c50da8dd72e255ee2;
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, ocirabgzify6=2c85029be0cca081da53706b75dda99a;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=2c85029be0cca081da53706b75dda99a;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=2c85029be0cca081da53706b75dda99a;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=2c85029be0cca081da53706b75dda99a;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=2c85029be0cca081da53706b75dda99a;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=2c85029be0cca081da53706b75dda99a;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=2c85029be0cca081da53706b75dda99a;
path=/; secure; HttpOnly; SameSite=Lax
X-Content-Type-Options:
- nosniff
X-Debug-Token:
- - Skl6Bo6YIalyrmAbdjG2
+ - 99dzZ6fuzmQ6OKqdiJTJ
X-Frame-Options:
- SAMEORIGIN
X-Permitted-Cross-Domain-Policies:
@@ -135,7 +232,7 @@ http_interactions:
X-Powered-By:
- PHP/8.2.16
X-Request-Id:
- - Skl6Bo6YIalyrmAbdjG2
+ - 99dzZ6fuzmQ6OKqdiJTJ
X-Robots-Tag:
- noindex, nofollow
X-Xss-Protection:
@@ -143,5 +240,5 @@ http_interactions:
body:
encoding: UTF-8
string: ''
- recorded_at: Mon, 22 Apr 2024 09:39:26 GMT
+ recorded_at: Tue, 23 Apr 2024 11:25:30 GMT
recorded_with: VCR 6.2.0
diff --git a/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/create_folder_root.yml b/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/create_folder_root.yml
index b945b3a5768..24965787e5d 100644
--- a/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/create_folder_root.yml
+++ b/modules/storages/spec/support/fixtures/vcr_cassettes/nextcloud/create_folder_root.yml
@@ -2,7 +2,7 @@
http_interactions:
- request:
method: mkcol
- uri: https://nextcloud.local/remote.php/dav/files/admin/New%20Folder
+ uri: https://nextcloud.local/remote.php/dav/files/admin/F%C3%B6lder%20CreatedBy%20%C3%87ommand
body:
encoding: US-ASCII
string: ''
@@ -27,11 +27,11 @@ http_interactions:
Content-Type:
- text/html; charset=UTF-8
Date:
- - Mon, 22 Apr 2024 09:35:46 GMT
+ - Tue, 23 Apr 2024 11:22:31 GMT
Expires:
- Thu, 19 Nov 1981 08:52:00 GMT
Oc-Fileid:
- - 00000375ocirabgzify6
+ - 00000377ocirabgzify6
Pragma:
- no-cache
Referrer-Policy:
@@ -39,24 +39,24 @@ http_interactions:
Server:
- Apache/2.4.57 (Debian)
Set-Cookie:
- - ocirabgzify6=8761b9e8d4568bfbfea71767bceb07ba; path=/; secure; HttpOnly; SameSite=Lax,
- oc_sessionPassphrase=J9P8gQ6tPcwI9aBaromRubvXEOIw9n55xHeC9pieXS7dVkxR9GpfikzPc7CMyJM6Cs1hnPyYDql7u1ID%2Bd8JFkVTPMFZfKW%2BI%2FzvkI3OqyseTWmgu%2B6e7hdOS41EHbTK;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=8761b9e8d4568bfbfea71767bceb07ba;
+ - ocirabgzify6=dd7ce459e2cabdf972c3f87cd183ad7f; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=CucxndjvP8%2BXaXaLrjP0pUq7V3cwEomLjViS9pyhS7AlQ3hud9EhGHF7txkv3E9i4Y88dtnjQ9742lbIGQZwLrcdXIAR%2FfbHhteH2XhToQ1phd3vCH1kmLl0XBWdxUd1;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=dd7ce459e2cabdf972c3f87cd183ad7f;
path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
__Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
- 31-Dec-2100 23:59:59 GMT; SameSite=strict, ocirabgzify6=8761b9e8d4568bfbfea71767bceb07ba;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=8761b9e8d4568bfbfea71767bceb07ba;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=8761b9e8d4568bfbfea71767bceb07ba;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=8761b9e8d4568bfbfea71767bceb07ba;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=8761b9e8d4568bfbfea71767bceb07ba;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=8761b9e8d4568bfbfea71767bceb07ba;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=8761b9e8d4568bfbfea71767bceb07ba;
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, ocirabgzify6=dd7ce459e2cabdf972c3f87cd183ad7f;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=dd7ce459e2cabdf972c3f87cd183ad7f;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=dd7ce459e2cabdf972c3f87cd183ad7f;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=dd7ce459e2cabdf972c3f87cd183ad7f;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=dd7ce459e2cabdf972c3f87cd183ad7f;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=dd7ce459e2cabdf972c3f87cd183ad7f;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=dd7ce459e2cabdf972c3f87cd183ad7f;
path=/; secure; HttpOnly; SameSite=Lax
X-Content-Type-Options:
- nosniff
X-Debug-Token:
- - RUTFlOAjyi4Z244Taqvh
+ - HZEbHK0fWt8z74g7AAcr
X-Frame-Options:
- SAMEORIGIN
X-Permitted-Cross-Domain-Policies:
@@ -64,7 +64,7 @@ http_interactions:
X-Powered-By:
- PHP/8.2.16
X-Request-Id:
- - RUTFlOAjyi4Z244Taqvh
+ - HZEbHK0fWt8z74g7AAcr
X-Robots-Tag:
- noindex, nofollow
X-Xss-Protection:
@@ -74,10 +74,107 @@ http_interactions:
body:
encoding: UTF-8
string: ''
- recorded_at: Mon, 22 Apr 2024 09:35:47 GMT
+ recorded_at: Tue, 23 Apr 2024 11:22:31 GMT
+- request:
+ method: propfind
+ uri: https://nextcloud.local/remote.php/dav/files/admin/F%C3%B6lder%20CreatedBy%20%C3%87ommand
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">
+ <d:prop>
+ <oc:fileid/>
+ <oc:size/>
+ <d:getlastmodified/>
+ <oc:owner-display-name/>
+ </d:prop>
+ </d:propfind>
+ headers:
+ Authorization:
+ - Bearer <BEARER TOKEN>
+ Depth:
+ - '1'
+ User-Agent:
+ - httpx.rb/1.2.4
+ Accept:
+ - "*/*"
+ Accept-Encoding:
+ - gzip, deflate
+ Content-Type:
+ - application/xml; charset=utf-8
+ Content-Length:
+ - '207'
+ response:
+ status:
+ code: 207
+ message: Multi-Status
+ headers:
+ Cache-Control:
+ - no-store, no-cache, must-revalidate
+ Content-Encoding:
+ - gzip
+ Content-Security-Policy:
+ - default-src 'none';
+ Content-Type:
+ - application/xml; charset=utf-8
+ Date:
+ - Tue, 23 Apr 2024 11:22:31 GMT
+ Dav:
+ - 1, 3, extended-mkcol, access-control, calendarserver-principal-property-search,
+ nextcloud-checksum-update, nc-calendar-search, nc-enable-birthday-calendar
+ Expires:
+ - Thu, 19 Nov 1981 08:52:00 GMT
+ Pragma:
+ - no-cache
+ Referrer-Policy:
+ - no-referrer
+ Server:
+ - Apache/2.4.57 (Debian)
+ Set-Cookie:
+ - ocirabgzify6=0b4b09c6179209355093498040262528; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=g4GnBMKuLL0cOxOzKNK%2FGCklEn8yQciQmOy9nNCYimhGWIHSx%2F%2F5Ax8K%2F3jd3OdCdnNiKhoZoJhLNAkxsf6wRDu3SGktO1bYNr%2BHfOEi3WBRMfNzLq%2B1YVCgTZ0jkDH4;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=0b4b09c6179209355093498040262528;
+ path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
+ path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
+ __Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, ocirabgzify6=0b4b09c6179209355093498040262528;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=0b4b09c6179209355093498040262528;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=0b4b09c6179209355093498040262528;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=0b4b09c6179209355093498040262528;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=0b4b09c6179209355093498040262528;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=0b4b09c6179209355093498040262528;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=0b4b09c6179209355093498040262528;
+ path=/; secure; HttpOnly; SameSite=Lax
+ Vary:
+ - Brief,Prefer
+ X-Content-Type-Options:
+ - nosniff
+ X-Debug-Token:
+ - 9oDnx7CV0R7QW7DNSd4w
+ X-Frame-Options:
+ - SAMEORIGIN
+ X-Permitted-Cross-Domain-Policies:
+ - none
+ X-Powered-By:
+ - PHP/8.2.16
+ X-Request-Id:
+ - 9oDnx7CV0R7QW7DNSd4w
+ X-Robots-Tag:
+ - noindex, nofollow
+ X-Xss-Protection:
+ - 1; mode=block
+ Content-Length:
+ - '320'
+ body:
+ encoding: UTF-8
+ string: |
+ <?xml version="1.0"?>
+ <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns"><d:response><d:href>/remote.php/dav/files/admin/F%c3%b6lder%20CreatedBy%20%c3%87ommand/</d:href><d:propstat><d:prop><oc:fileid>377</oc:fileid><oc:size>0</oc:size><d:getlastmodified>Tue, 23 Apr 2024 11:22:31 GMT</d:getlastmodified><oc:owner-display-name>admin</oc:owner-display-name></d:prop><d:status>HTTP/1.1 200 OK</d:status></d:propstat></d:response></d:multistatus>
+ recorded_at: Tue, 23 Apr 2024 11:22:32 GMT
- request:
method: delete
- uri: https://nextcloud.local/remote.php/dav/files/admin/New%20Folder
+ uri: https://nextcloud.local/remote.php/dav/files/admin/F%C3%B6lder%20CreatedBy%20%C3%87ommand
body:
encoding: US-ASCII
string: ''
@@ -100,7 +197,7 @@ http_interactions:
Content-Security-Policy:
- default-src 'none';
Date:
- - Mon, 22 Apr 2024 09:35:47 GMT
+ - Tue, 23 Apr 2024 11:22:32 GMT
Expires:
- Thu, 19 Nov 1981 08:52:00 GMT
Pragma:
@@ -110,24 +207,24 @@ http_interactions:
Server:
- Apache/2.4.57 (Debian)
Set-Cookie:
- - ocirabgzify6=43fa9a24287eb4c8afaf266526f6bb0f; path=/; secure; HttpOnly; SameSite=Lax,
- oc_sessionPassphrase=rDzNWMd4CaBBTiMZEDZiXb5PrqyBFy1Za57hRCCRW35ovn8YjynZ3j%2F94YoGQ%2BMjrhIENlTGE%2FybTUigMTK%2BlUZcqdvImLsmYHopmzzIYfyeWAJkugK2prW%2BpJsZYflL;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=43fa9a24287eb4c8afaf266526f6bb0f;
+ - ocirabgzify6=947d30a592db32931270e3f8becceb30; path=/; secure; HttpOnly; SameSite=Lax,
+ oc_sessionPassphrase=sd7OS%2Fqp1IC6pwqeAQCG8sLf545iZxRlwKPWcqGv5cUCdPgHzprDPAgy7lhsTRflZ3QqDWo3RBUo7vlKoV6gNQhAXgb40dq3L6Dh4eDEq84A7%2BdrUPI1VH1GR%2FbS7ZEE;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=947d30a592db32931270e3f8becceb30;
path=/; secure; HttpOnly; SameSite=Lax, __Host-nc_sameSiteCookielax=true;
path=/; httponly;secure; expires=Fri, 31-Dec-2100 23:59:59 GMT; SameSite=lax,
__Host-nc_sameSiteCookiestrict=true; path=/; httponly;secure; expires=Fri,
- 31-Dec-2100 23:59:59 GMT; SameSite=strict, ocirabgzify6=43fa9a24287eb4c8afaf266526f6bb0f;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=43fa9a24287eb4c8afaf266526f6bb0f;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=43fa9a24287eb4c8afaf266526f6bb0f;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=43fa9a24287eb4c8afaf266526f6bb0f;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=43fa9a24287eb4c8afaf266526f6bb0f;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=43fa9a24287eb4c8afaf266526f6bb0f;
- path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=43fa9a24287eb4c8afaf266526f6bb0f;
+ 31-Dec-2100 23:59:59 GMT; SameSite=strict, ocirabgzify6=947d30a592db32931270e3f8becceb30;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=947d30a592db32931270e3f8becceb30;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=947d30a592db32931270e3f8becceb30;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=947d30a592db32931270e3f8becceb30;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=947d30a592db32931270e3f8becceb30;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=947d30a592db32931270e3f8becceb30;
+ path=/; secure; HttpOnly; SameSite=Lax, ocirabgzify6=947d30a592db32931270e3f8becceb30;
path=/; secure; HttpOnly; SameSite=Lax
X-Content-Type-Options:
- nosniff
X-Debug-Token:
- - yZbkVlNNUauhRpSmfYgH
+ - HV8GJcQ5Af2dJOnXTkKk
X-Frame-Options:
- SAMEORIGIN
X-Permitted-Cross-Domain-Policies:
@@ -135,7 +232,7 @@ http_interactions:
X-Powered-By:
- PHP/8.2.16
X-Request-Id:
- - yZbkVlNNUauhRpSmfYgH
+ - HV8GJcQ5Af2dJOnXTkKk
X-Robots-Tag:
- noindex, nofollow
X-Xss-Protection:
@@ -143,5 +240,5 @@ http_interactions:
body:
encoding: UTF-8
string: ''
- recorded_at: Mon, 22 Apr 2024 09:35:47 GMT
+ recorded_at: Tue, 23 Apr 2024 11:22:32 GMT
recorded_with: VCR 6.2.0