Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
:toc: right
:toclevels: 1

include::encryption-types.adoc[leveloffset=2]
include::encryption-types.adoc[leveloffset=+1]

include::enable-encryption.adoc[leveloffset=+1]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ This is, potentially, exploitable by anyone with administrator access to your se
For more information, read: https://owncloud.org/blog/how-owncloud-uses-encryption-to-protect-your-data/[How ownCloud uses encryption to protect your data].
====

include::encryption-types.adoc[leveloffset=+1]
include::encryption-types.adoc[leveloffset=+2]

[[before-enabling-encryption]]
== Before Enabling Encryption
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3310,15 +3310,15 @@ You can run migration steps with the `migrations` command.
{occ-command-example-prefix} migrations:execute <app> <version>
----

===== Arguments
==== Arguments

[width="100%",cols="20%,70%",]
|===
| `app` | Name of the app this migration command shall work on.
| `version` | The version to execute.
|===

===== Example
==== Example

This example executes the migration step for the core app:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
:smb2-url: https://en.wikipedia.org/wiki/Server_Message_Block#SMB_2.0
:smbclient-manpage-url: https://www.samba.org/samba/docs/man/manpages-3/smbclient.1.html
:wannacry-ransomware-attack-url: https://en.wikipedia.org/wiki/WannaCry_ransomware_attack
:wnd-config-path: enterprise/external_storage/windows-network-drive_configuration.adoc

== Introduction

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ For PostgreSQL:
Click Finish Setup, and you’re ready to start using your new ownCloud
server.

[[post-installation-steps]]
== Post-Installation Steps

Now we will look at some important post-installation steps. For hardened
Expand Down
2 changes: 1 addition & 1 deletion modules/admin_manual/pages/installation/ubuntu_18_04.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ include::{examplesdir}installation/ubuntu/18.04/configure-log-rotation.sh[]

==== Finalise the Installation

[source,console,subs="attributes+"]
[source,console]
----
include::{examplesdir}installation/ubuntu/18.04/finalise-install.sh[]
----
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
[subs="attributes+"]
[source,console]
....
[source,console,subs="attributes+"]
----
curl --silent \
-X {request_method} \
ifdef::request_data_file[]
--data "@{request_data_file}" \
endif::[]
-u {username}:{password} \
-u {oc-examples-username}:{oc-examples-password} \
'http://localhost/{request_base_path}/{request_path_suffix}' \
| xmllint --format -
....
68 changes: 34 additions & 34 deletions modules/developer_manual/pages/core/apis/ocs-share-api.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -112,31 +112,31 @@ include::{examplesdir}core/scripts/responses/shares/list-share-details-success.j
Curl::
+
--
[source,console,subs="attributes+"]
[source,console]
----
include::{examplesdir}core/scripts/curl/list-share-details.sh[]
----
--
PHP::
+
--
[source,php,subs="attributes+"]
[source,php]
----
include::{examplesdir}core/scripts/php/list-share-details.php[]
----
--
Ruby::
+
--
[source,ruby,subs="attributes+"]
[source,ruby]
----
include::{examplesdir}core/scripts/ruby/list-share-details.rb[]
----
--
Go::
+
--
[source,go,subs="attributes+"]
[source,go]
----
include::{examplesdir}core/scripts/go/list-share-details.go[]
----
Expand Down Expand Up @@ -175,47 +175,47 @@ include::{examplesdir}core/scripts/go/list-share-details.go[]
Curl::
+
--
[source,console,subs="attributes+"]
[source,console]
----
include::{examplesdir}core/scripts/curl/get-share-info.sh[]
----
--
PHP::
+
--
[source,php,subs="attributes+"]
[source,php]
----
include::{examplesdir}core/scripts/php/get-share-info.php[]
----
--
Ruby::
+
--
[source,ruby,subs="attributes+"]
[source,ruby]
----
include::{examplesdir}core/scripts/ruby/get-share-info.rb[]
----
--
Go::
+
--
[source,go,subs="attributes+"]
[source,go]
----
include::{examplesdir}core/scripts/go/get-share-info.go[]
----
--
Kotlin::
+
--
[source,kotlin,subs="attributes+"]
[source,kotlin]
----
include::{examplesdir}core/scripts/kotlin/get-share-info.kt[]
----
--
Java::
+
--
[source,java,subs="attributes+"]
[source,java]
----
include::{examplesdir}core/scripts/java/get-share-info.java[]
----
Expand All @@ -231,15 +231,15 @@ NOTE: The Java and Kotlin examples use https://github.com/square/okhttp[the squa
Success::
+
--
[source,console,subs="attributes+"]
[source,console]
----
include::{examplesdir}core/scripts/responses/shares/get-share-info-success.xml[]
----
--
Failure::
+
--
[source,console,subs="attributes+"]
[source,console]
----
include::{examplesdir}core/scripts/responses/shares/get-share-info-failure.xml[]
----
Expand Down Expand Up @@ -293,7 +293,7 @@ Success::
+
--
.Pending share was successfully accepted
[source,console,subs="attributes+"]
[source,console]
----
include::{examplesdir}core/scripts/responses/shares/accept-pending-share-success.xml[]
----
Expand All @@ -302,7 +302,7 @@ Failure::
+
--
.The share id does not exist.
[source,console,subs="attributes+"]
[source,console]
----
include::{examplesdir}core/scripts/responses/shares/accept-pending-share-failure.xml[]
----
Expand All @@ -316,31 +316,31 @@ include::{examplesdir}core/scripts/responses/shares/accept-pending-share-failure
Curl::
+
--
[source,console,subs="attributes+"]
[source,console]
----
include::{examplesdir}core/scripts/curl/accept-pending-share.sh[]
----
--
PHP::
+
--
[source,php,subs="attributes+"]
[source,php]
----
include::{examplesdir}core/scripts/php/accept-pending-share.php[]
----
--
Ruby::
+
--
[source,ruby,subs="attributes+"]
[source,ruby]
----
include::{examplesdir}core/scripts/ruby/accept-pending-share.rb[]
----
--
Go::
+
--
[source,go,subs="attributes+"]
[source,go]
----
include::{examplesdir}core/scripts/go/accept-pending-share.go[]
----
Expand Down Expand Up @@ -423,31 +423,31 @@ a|
Curl::
+
--
[source,console,subs="attributes+"]
[source,console]
----
include::{examplesdir}core/scripts/curl/decline-pending-share.sh[]
----
--
PHP::
+
--
[source,php,subs="attributes+"]
[source,php]
----
include::{examplesdir}core/scripts/php/decline-pending-share.php[]
----
--
Ruby::
+
--
[source,ruby,subs="attributes+"]
[source,ruby]
----
include::{examplesdir}core/scripts/ruby/decline-pending-share.rb[]
----
--
Go::
+
--
[source,go,subs="attributes+"]
[source,go]
----
include::{examplesdir}core/scripts/go/decline-pending-share.go[]
----
Expand Down Expand Up @@ -540,31 +540,31 @@ XML containing the share ID (int) of the newly created share
Curl::
+
--
[source,console,subs="attributes+"]
[source,console]
----
include::{examplesdir}core/scripts/curl/create-share.sh[]
----
--
PHP::
+
--
[source,php,subs="attributes+"]
[source,php]
----
include::{examplesdir}core/scripts/php/create-share.php[]
----
--
Ruby::
+
--
[source,ruby,subs="attributes+"]
[source,ruby]
----
include::{examplesdir}core/scripts/ruby/create-share.rb[]
----
--
Go::
+
--
[source,go,subs="attributes+"]
[source,go]
----
include::{examplesdir}core/scripts/go/create-share.go[]
----
Expand Down Expand Up @@ -699,31 +699,31 @@ Remove the given share.
Curl::
+
--
[source,console,subs="attributes+"]
[source,console]
----
include::{examplesdir}core/scripts/curl/delete-share.sh[]
----
--
PHP::
+
--
[source,php,subs="attributes+"]
[source,php]
----
include::{examplesdir}core/scripts/php/delete-share.php[]
----
--
Ruby::
+
--
[source,ruby,subs="attributes+"]
[source,ruby]
----
include::{examplesdir}core/scripts/ruby/delete-share.rb[]
----
--
Go::
+
--
[source,go,subs="attributes+"]
[source,go]
----
include::{examplesdir}core/scripts/go/delete-share.go[]
----
Expand Down Expand Up @@ -795,31 +795,31 @@ NOTE: Only one of the update parameters can be specified at once.
Curl::
+
--
[source,console,subs="attributes+"]
[source,console]
----
include::{examplesdir}core/scripts/curl/update-share.sh[]
----
--
PHP::
+
--
[source,php,subs="attributes+"]
[source,php]
----
include::{examplesdir}core/scripts/php/update-share.php[]
----
--
Ruby::
+
--
[source,ruby,subs="attributes+"]
[source,ruby]
----
include::{examplesdir}core/scripts/ruby/update-share.rb[]
----
--
Go::
+
--
[source,go,subs="attributes+"]
[source,go]
----
include::{examplesdir}core/scripts/go/update-share.go[]
----
Expand Down
Loading