Skip to content

Commit

Permalink
Tutorial I
Browse files Browse the repository at this point in the history
  • Loading branch information
Cassie205 committed Aug 16, 2024
1 parent 4b82d2f commit 3060346
Show file tree
Hide file tree
Showing 22 changed files with 194 additions and 0 deletions.
7 changes: 7 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,13 @@ protocols/profiles/index
cryptomator/index
```

```{toctree}
:hidden:
:titlesonly:
:caption: Tutorials & Workarounds
tutorials/index
```

## Support

If you have a feature request or bug to report you can open a new ticket. The pages below has all the information on how to collect relevant log files.
Expand Down
12 changes: 12 additions & 0 deletions tutorials/cyberduck/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Tutorials for Cyberduck
===

:::{toctree}
:hidden:
:titlesonly:



:::

Coming soon
24 changes: 24 additions & 0 deletions tutorials/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Cyberduck & Mountain Duck Tutorials
====

:::{toctree}
:hidden:
:titlesonly:
cyberduck/index
mountainduck/index
workarounds/index
:::

Find detailed step-by-step instructions for setup, connecting and most common use-cases as well as tutorials for more complicated workarounds.

### [Cyberduck](cyberduck/index.md)

Check warning on line 14 in tutorials/index.md

View workflow job for this annotation

GitHub Actions / build

Non-consecutive header level increase; H1 to H3 [myst.header]

Detailed instructions how to setup and use Cyberduck.

### [Mountain Duck](mountainduck/index.md)

Check warning on line 18 in tutorials/index.md

View workflow job for this annotation

GitHub Actions / build

Non-consecutive header level increase; H1 to H3 [myst.header]

Step-by-step instruction how to setup and use Mountain Duck

### [Workarounds](workarounds/index.md)

Check warning on line 22 in tutorials/index.md

View workflow job for this annotation

GitHub Actions / build

Non-consecutive header level increase; H1 to H3 [myst.header]

Instructions for specific workarounds as well as generall topics.

Check failure on line 24 in tutorials/index.md

View workflow job for this annotation

GitHub Actions / Check for spelling errors

generall ==> generally, general
12 changes: 12 additions & 0 deletions tutorials/mountainduck/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Tutorials for Mountain Duck
===

:::{toctree}
:hidden:
:titlesonly:



:::

Coming soon
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
37 changes: 37 additions & 0 deletions tutorials/workarounds/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
@import url("https://cdn.cyberduck.io/css/custom.css");

body {
font-size: 16px;
}

.wy-nav-content {
max-width: 100%
}

.text-align\:left {
text-align: left;
}
.text-align\:center {
text-align: center;
}
.text-align\:right {
text-align: right;
}

.wy-menu-vertical a:hover, .wy-menu-vertical a:focus {
color: inherit;
}

.rst-content blockquote {
font-size: 16px;
margin: 0;
}

.rst-content blockquote p {
padding-left: 10px;
border-left: 5px solid #ccc;
}

.sphinx-tabs-panel {
padding: 1em 1em 0 1em;
}
Binary file added tutorials/workarounds/_static/favicon.ico
Binary file not shown.
Binary file not shown.
96 changes: 96 additions & 0 deletions tutorials/workarounds/custom_oauth_client_id.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
Setup a Custom OAuth Client ID for Google Drive

Check warning on line 1 in tutorials/workarounds/custom_oauth_client_id.md

View workflow job for this annotation

GitHub Actions / build

document isn't included in any toctree
===

## Register Client ID

Log in to your Google account, go to [Google Cloud resource manager](https://console.cloud.google.com/cloud-resource-manager) and create a new project.

:::{image} _images/Create_New_Project_Client_ID.png
:alt: Create new Project
:width: 600px
:::

You will be prompt to select a name of the project. Once the project is created navigate to _APIs & Services_ and select _Enable APIs & services_.

:::{image} _images/APIs_Services_Client_ID.png
:alt: APIs and Services
:width: 600px
:::

Select _Enable APIs & services_ and search for "Google Drive API" in the search box of the API library.

:::{image} _images/Enable_APIs_Client_ID.png
:alt: Enable APIs
:width: 600px
:::

The results will show three with the Google Drive icon. Select te result called _Google Drive API_ and enable it. The other two are optional but not necessary.

Check failure on line 27 in tutorials/workarounds/custom_oauth_client_id.md

View workflow job for this annotation

GitHub Actions / Check for spelling errors

te ==> the, be, we, to

:::{image} _images/Search_Google_API.png
:alt: API Library Google Drive
:width: 600px
:::

Afterward, go to _OAuth consent screen_.

:::{image} _images/Consent_Screen_Client_ID.png
:alt: Consent Screen OAuth Client ID
:width: 600px
:::

Choose _External_ and select _Create_. Fill in the required information by using your own gmail address and select _Save and Continue_.

:::{image} _images/App_Information_Client_ID.png
:alt: App Information OAuth Client ID
:width: 600px
:::

Select _Add or Remove Scopes_ in the next step. Search for "Google Drive API" and enable the scope ".../auth/drive". The other scopes are optional but not necessary. Select _Update_ to confirm and _Save and Continue_ to move to the next step.

:::{image} _images/App_Information_Client_ID.png
:alt: List of Scopes OAuth Client ID
:width: 600px
:::

Add the email addresses for your gmail accounts after selecting _Add Users_.

:::{image} _images/Test_Users_Client_ID.png
:alt: Test Users OAuth Client ID
:width: 600px
:::

Confirm by selecting _Save and Continue_. Check the overview and choose _Back to Dashbord_ or go to _Credentials_ directly.

:::{image} _images/Client_ID_Credentials.png
:alt: OAuth Client ID Credentials
:width: 600px
:::

Select _Desktop app_ as application type, name the credential, and select _Create_ to confirm.

:::{image} _images/Application_Type_Client_ID.png
:alt: Application Type for Credentials
:width: 600px
:::

The Credentials will be created and displayed automatically. Make sure save the credentials in a save place as you need them to set up the custom connection profile in the next step.

:::{image} _images/OAuth_Client_ID_Credentials.png
:alt: OAuth Client ID Credentials
:width: 400px
:::

## Add Custom Connection Profile

Edit the sample profile and save it into the _Profiles_ folder of the application support folder.

- {download}`Google Drive Custom OAuth Client ID.cyberduckprofile<_static/Google Drive Custom OAuth Client ID.cyberduckprofile>`

Check warning on line 87 in tutorials/workarounds/custom_oauth_client_id.md

View workflow job for this annotation

GitHub Actions / build

download file not readable: /github/workspace/tutorials/workarounds/_static/Google Drive Custom OAuth Client ID.cyberduckprofile

Use the OAuth credentials to edit the following sections of the sample profile:

:::{image} _images/Edit_Custom_Client_ID_Profile.png
:alt: Edit Google OAuth Client ID
:width: 600px
:::

The saved profile will be available in the _Protocol_ section of the bookmark configuration.
6 changes: 6 additions & 0 deletions tutorials/workarounds/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Workarounds & General Instructions
===

The list of Workarounds will be updated based on new topics:

- To fix the `This app is blocked` error by Google Drive, please check the instructions to set up a [Custom OAuth Client ID](custom_oauth_client_id.md)

0 comments on commit 3060346

Please sign in to comment.