From d6a6820693d2823869c92c3d4516fccf0bc0b107 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 24 Jul 2018 09:57:33 +0200 Subject: [PATCH] Fix warnings of build command Signed-off-by: Morris Jobke --- .../linux_database_configuration.rst | 4 +- .../external_storage/dropbox.rst | 66 ---------- .../external_storage/google.rst | 117 ------------------ admin_manual/configuration_server/theming.rst | 8 ++ 4 files changed, 10 insertions(+), 185 deletions(-) delete mode 100644 admin_manual/configuration_files/external_storage/dropbox.rst delete mode 100644 admin_manual/configuration_files/external_storage/google.rst diff --git a/admin_manual/configuration_database/linux_database_configuration.rst b/admin_manual/configuration_database/linux_database_configuration.rst index eb5d4005f..4293adc0b 100644 --- a/admin_manual/configuration_database/linux_database_configuration.rst +++ b/admin_manual/configuration_database/linux_database_configuration.rst @@ -90,7 +90,7 @@ Your :file:`/etc/mysql/my.cnf` could look like this: innodb_file_format=barracuda innodb_file_per_table=1 -Please refer to the `MySQL manual `_. +Please refer to the `page in the MySQL manual `_. * That you have installed and enabled the pdo_mysql extension in PHP @@ -276,7 +276,7 @@ Troubleshooting --------------- How to work around "general error: 2006 MySQL server has gone away" -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ The database request takes too long and therefore the MySQL server times out. It's also possible that the server is dropping a packet that is too large. Please diff --git a/admin_manual/configuration_files/external_storage/dropbox.rst b/admin_manual/configuration_files/external_storage/dropbox.rst deleted file mode 100644 index 2d14ce4ee..000000000 --- a/admin_manual/configuration_files/external_storage/dropbox.rst +++ /dev/null @@ -1,66 +0,0 @@ -======= -Dropbox -======= - -.. warning:: An app for Dropbox support is still in development for NC 13: https://github.com/icewind1991/files_external_dropbox - -While Dropbox supports the newer OAuth 2.0, Nextcloud uses OAuth 1.0, so you can -safely ignore any references to OAuth 2.0 in the Dropbox configuration. - -Connecting Dropbox is a little more work because you have to create a Dropbox -app. Log into the `Dropbox Developers page `_ -and click **Create Your App**: - -.. figure:: images/dropbox.png - :alt: Create your app. - -Next, for **Choose an API** check **Dropbox API**. - -.. figure:: images/dropbox-1.png - :alt: Select Dropbox API. - -The next option is choosing which folders to share, or to share everything in -your Dropbox. - -.. figure:: images/dropbox-2.png - :alt: Folder selection. - -Then enter your app name. This is anything you want it to be. - -.. figure:: images/dropbox-3.png - :alt: Name your app. - -Then click the **Create App** button. - -Now you are on your app page, which displays its settings and more options. Do -not click **Development (Apply for production)** because that is for apps -that you want to release publicly. - -.. figure:: images/dropbox-4.png - :alt: Your app's page. - -Click **Enable additional users** to allow multiple Nextcloud users to access -your new Dropbox share. - -Now go to your Nextcloud Admin page. Your Nextcloud configuration requires only -the local mount name, the **App Key** and the **App Secret**, and which users -or groups have access to the share. Remember the little gear icon at the -far right for additional options. - -After entering your local mount name, **App Key** and **App Secret**, click -**Grant access**. - -.. figure:: images/dropbox-6.png - :alt: Nextcloud Dropbox configuration. - -If you are not already logged into Dropbox, you will be prompted to login -and authorize access. This happens only once, when you are first creating -the new share. Click **Allow**, and you're done. - -.. figure:: images/dropbox-5.png - :alt: Allow Dropbox access. - -See :doc:`../external_storage_configuration_gui` for additional mount -options and information. - -See :doc:`auth_mechanisms` for more information on authentication schemes. diff --git a/admin_manual/configuration_files/external_storage/google.rst b/admin_manual/configuration_files/external_storage/google.rst deleted file mode 100644 index aebd53038..000000000 --- a/admin_manual/configuration_files/external_storage/google.rst +++ /dev/null @@ -1,117 +0,0 @@ -============ -Google Drive -============ - -.. warning:: An app for Google Drive support is still in development for NC 13: https://github.com/owncloud/files_external_gdrive - -Nextcloud uses OAuth 2.0 to connect to Google Drive. This requires configuration -through Google to get an app ID and app secret, as Nextcloud registers itself -as an app. - -All applications that access a Google API must be registered through the -`Google Cloud Console `_. Follow along carefully -because the Google interface is a bit of a maze and it's easy to get lost. - -If you already have a Google account, such as Groups, Drive, or Mail, you can -use your existing login to log into the Google Cloud Console. After logging in -click the **Create Project** button. - -.. figure:: images/google-drive.png - :alt: Google Drive app "create project" screen - -Give your project a name, and either accept the default **Project ID** or -create -your own, then click the **Create** button. - -.. figure:: images/google-drive1.png - :alt: New project creation screen. - -You'll be returned to your dashboard. - -.. figure:: images/google-drive2.png - :alt: Project dashboard, with all project options. - :scale: 75% - -Google helpfully highlights your next step in blue, the **Use Google APIs** -box. Make sure that your new project is selected, click on **Use Google APIs** , -and it takes you to Google's APIs screen. There are many Google APIs; look for -the **Google Apps APIs** and click **Drive API.** - -.. figure:: images/google-drive3.png - :alt: Drive API link. - -**Drive API** takes you to the API Manager overview. Click the blue **Enable -API** button. - -.. figure:: images/google-drive4.png - :alt: API dashboard. - -Now you must create your credentials, so click on **Go to credentials**. - -.. figure:: images/google-drive5.png - :alt: Create Client ID screen. - -For some reason Google warns us again that we need to create credentials. We -will use 0Auth 2.0. - -.. figure:: images/google-drive6.png - :alt: Another warning to create credentials. - -Now we have to create a consent screen. This is the information in the screen -Google shows you when you connect your new Google app to Nextcloud the first -time. Click **Configure consent screen**. Then fill in the required form fields. -Your logo must be hosted, as you cannot upload it, so enter its URL. When -you're finished click **Save**. - -.. figure:: images/google-drive8.png - :alt: Creating the consent screen. - -The next screen that opens is **Create Client ID**. Check **Web Application**, -then enter your app name. **Authorized JavaScript Origins** is your root domain, -for example ``https://example.com``, without a trailing slash. You need two -**Authorized Redirect URIs**, and they must be in this form:: - - https://example.com/nextcloud/index.php/settings/personal/ - https://example.com/nextcloud/index.php/personal/ - https://example.com/nextcloud/index.php/settings/admin/externalstorages - https://example.com/nextcloud/settings/admin/externalstorages - -Replace ``https://example.com/nextcloud/`` with your own Nextcloud server URL, -then click **Create**. - -.. figure:: images/google-drive9.png - :alt: Creating client credentials. - -Now Google reveals to you your **Client ID** and **Client Secret**. Click -**OK**. - -.. figure:: images/google-drive10.png - :alt: Client ID and client secret. - -You can see these anytime in your Google console; just click on your app name -to see complete information. - -.. figure:: images/google-drive11.png - :alt: Client ID and client secret - -Now you have everything you need to mount your Google Drive in Nextcloud. - -Go to the External Storage section of your Admin page, create your new folder -name, enter the Client ID and Client Secret, and click **Grant Access**. Your -consent page appears when Nextcloud makes a successful connection. Click -**Allow**. - -.. figure:: images/google-drive12.png - :alt: Google Drive consent page. - -When you see the green light confirming a successful connection -you're finished. - -.. figure:: images/google-drive13.png - :alt: Google Drive mount in Nextcloud. - -See :doc:`../external_storage_configuration_gui` for additional mount -options and information. - -See :doc:`auth_mechanisms` for more information on authentication schemes. -603026686136-qnv9ooocacrkrh1vs0cht83eprgm2sbb.apps.googleusercontent.com diff --git a/admin_manual/configuration_server/theming.rst b/admin_manual/configuration_server/theming.rst index eb9a62d22..a831e14de 100644 --- a/admin_manual/configuration_server/theming.rst +++ b/admin_manual/configuration_server/theming.rst @@ -59,3 +59,11 @@ set via the occ command:: occ config:app:set theming iOSClientUrl --value "https://itunes.apple.com/us/app/nextcloud/id1125420102?mt=8" This feature was added in version 12.0.1 and 13. + +Branded clients +--------------- + +.. note:: Nextcloud GmbH provides branding services, delivering sync clients (mobile + and desktop) which use your corporate identity and are pre-configured to help your + users get up and running in no time. If you are interested in our advanced branding & + support subscription, `contact our sales team `_.