diff --git a/content/applications/general.rst b/content/applications/general.rst index 89fd52a2a..2e269a6db 100644 --- a/content/applications/general.rst +++ b/content/applications/general.rst @@ -6,7 +6,6 @@ General .. toctree:: general/odoo_basics - general/unsplash general/base_import general/multi_companies general/auth @@ -15,4 +14,5 @@ General general/voip general/in_app_purchase general/developer_mode + general/unsplash general/mobile diff --git a/content/applications/general/unsplash.rst b/content/applications/general/unsplash.rst index 5078c1d88..f78a27c24 100644 --- a/content/applications/general/unsplash.rst +++ b/content/applications/general/unsplash.rst @@ -2,8 +2,65 @@ Unsplash ======== -.. toctree:: - :titlesonly: +Generate an Unsplash access key +=============================== - unsplash/unsplash_access_key - unsplash/unsplash_application_id \ No newline at end of file +.. tip:: + **As a SaaS user**, you are ready to use Unsplash. You won't need to follow this guide to set up + Unsplash information since you will use our own Odoo Unsplash key in a transparent way. + +Generate an Unsplash access key for non-Saas users +-------------------------------------------------- + +- Create an account on `Unsplash.com `_. + +- Go to your `applications dashboard `_ and click on **New + Application**. + +.. image:: unsplash/create_app.png + :align: center + +- Accept the conditions and click on **Accept terms**. + +.. image:: unsplash/accept_terms.png + :align: center + +- You will be prompted to insert an **Application name** and a **Description**. Please prefix your + application name by "**Odoo:** " so that Unsplash can recognize it as an Odoo instance. Once done, + click on **Create application**. + +.. image:: unsplash/app_infos.png + :align: center + +- You should be redirected to your application details page. Scroll down a bit to find your **access + key**. + +.. image:: unsplash/access_key.png + :align: center + +.. warning:: + **As a non-SaaS user**, you won't be able to register for a production Unsplash key and will be + limited to your test key that has a restriction of 50 Unsplash requests per hour. + +Generate an Unsplash application ID +=================================== + +.. tip:: + You should first create and set up your Unsplash application. + +- Go to your `applications dashboard `_ and click on your + newly created Unsplash application under **Your applications**. + +.. image:: unsplash/select_app.png + :align: center + +- You will be redirected to your application details page. The **application ID** will be visible in + your browser's URL. The URL should be something like + ``https://unsplash.com/oauth/applications/`` + +.. image:: unsplash/app_id_url.png + :align: center + +.. warning:: + **As a non-SaaS user**, you won't be able to register for a production Unsplash key and will be + limited to your test key that has a 50 Unsplash requests per hour restriction. diff --git a/content/applications/general/unsplash/media/accept_terms.png b/content/applications/general/unsplash/accept_terms.png similarity index 100% rename from content/applications/general/unsplash/media/accept_terms.png rename to content/applications/general/unsplash/accept_terms.png diff --git a/content/applications/general/unsplash/media/access_key.png b/content/applications/general/unsplash/access_key.png similarity index 100% rename from content/applications/general/unsplash/media/access_key.png rename to content/applications/general/unsplash/access_key.png diff --git a/content/applications/general/unsplash/media/app_id_url.png b/content/applications/general/unsplash/app_id_url.png similarity index 100% rename from content/applications/general/unsplash/media/app_id_url.png rename to content/applications/general/unsplash/app_id_url.png diff --git a/content/applications/general/unsplash/media/app_infos.png b/content/applications/general/unsplash/app_infos.png similarity index 100% rename from content/applications/general/unsplash/media/app_infos.png rename to content/applications/general/unsplash/app_infos.png diff --git a/content/applications/general/unsplash/media/create_app.png b/content/applications/general/unsplash/create_app.png similarity index 100% rename from content/applications/general/unsplash/media/create_app.png rename to content/applications/general/unsplash/create_app.png diff --git a/content/applications/general/unsplash/media/production_account.png b/content/applications/general/unsplash/production_account.png similarity index 100% rename from content/applications/general/unsplash/media/production_account.png rename to content/applications/general/unsplash/production_account.png diff --git a/content/applications/general/unsplash/media/select_app.png b/content/applications/general/unsplash/select_app.png similarity index 100% rename from content/applications/general/unsplash/media/select_app.png rename to content/applications/general/unsplash/select_app.png diff --git a/content/applications/general/unsplash/unsplash_access_key.rst b/content/applications/general/unsplash/unsplash_access_key.rst deleted file mode 100644 index 7e28420ff..000000000 --- a/content/applications/general/unsplash/unsplash_access_key.rst +++ /dev/null @@ -1,37 +0,0 @@ -======================================================= -How to generate an Unsplash access key -======================================================= - -.. tip:: - **As an SaaS user**, you are ready to use Unsplash. You won't need to follow this guide to set up Unsplash information, since you will use our own Odoo Unsplash key in a transparent way. - -Generate an Unsplash access key for **non-Saas** users -====================================================== - -- Create an account on `Unsplash.com `_. - -- Go to your `applications dashboard `_ and click on **New Application**. - -.. image:: media/create_app.png - :align: center - -- Accept the conditions and click on **Accept terms**. - -.. image:: media/accept_terms.png - :align: center - -- You will be prompted to insert an **Application name** and a **Description**. Please prefix your application name by "**Odoo:** " so that Unsplash can recognize it as an Odoo instance. Once done, click on **Create application**. - -.. image:: media/app_infos.png - :align: center - -- You should be redirected to your application details page. Scroll down a bit to find your **access key**. - -.. image:: media/access_key.png - :align: center - -.. warning:: - **As a non-SaaS user**, you won't be able to register for a production Unsplash key and will be limited to your test key that has a restriction of 50 Unsplash requests per hour. - -.. seealso:: - * :doc:`unsplash_application_id` diff --git a/content/applications/general/unsplash/unsplash_application_id.rst b/content/applications/general/unsplash/unsplash_application_id.rst deleted file mode 100644 index 9707044ed..000000000 --- a/content/applications/general/unsplash/unsplash_application_id.rst +++ /dev/null @@ -1,19 +0,0 @@ -======================================================= -How to generate an Unsplash application ID -======================================================= - -.. tip:: - You should first create and set up your Unsplash application with this tutorial: :doc:`unsplash_access_key`. - -- Go to your `applications dashboard `_ and click on your newly created Unsplash application under **Your applications**. - -.. image:: media/select_app.png - :align: center - -- You will be redirected to your application details page. The **application ID** will be visible in your browser's URL. The URL should be something like ``https://unsplash.com/oauth/applications/`` - -.. image:: media/app_id_url.png - :align: center - -.. warning:: - **As a non-SaaS user**, you won't be able to register for a production Unsplash key and will be limited to your test key that has a 50 Unsplash requests per hour restriction. diff --git a/redirects.txt b/redirects.txt index 6d90944ab..1e0ac4fe6 100644 --- a/redirects.txt +++ b/redirects.txt @@ -200,5 +200,7 @@ applications/general/in_app_purchase/in_app_purchase.rst applications/general/in applications/general/tags/take_tags.rst applications/general/tags.rst # tags/take_tags -> tags applications/general/multi_companies/manage_multi_companies.rst applications/general/multi_companies.rst # multi_companies/manage_multi_companies -> multi_companies applications/general/payment_acquirers/payment_acquirers.rst applications/general/payment_acquirers.rst # payment_acquirers/payment_acquirers -> payment_acquirers +applications/general/unsplash/unsplash_access_key.rst applications/general/unsplash.rst # unsplash/unsplash_access_key -> unsplash +applications/general/unsplash/unsplash_application_id.rst applications/general/unsplash.rst # unsplash/unsplash_application_id -> unsplash applications/finance/sign/overview/signature_validity.rst applications/finance/sign.rst #sign/overview/signature_validity -> sign/*