From 58e6779cb0a9cbf30d403d20102a7bc0f5b8c8c3 Mon Sep 17 00:00:00 2001 From: Timo Nisula Date: Tue, 24 Sep 2024 06:57:50 +0300 Subject: [PATCH] [IMP] auth_oauth_multi_token: pre-commit auto fixes --- auth_oauth_multi_token/README.rst | 39 ++++++++++--------- auth_oauth_multi_token/pyproject.toml | 3 ++ auth_oauth_multi_token/readme/CONTRIBUTORS.md | 8 ++++ .../readme/CONTRIBUTORS.rst | 10 ----- .../{DESCRIPTION.rst => DESCRIPTION.md} | 4 +- .../readme/{USAGE.rst => USAGE.md} | 3 +- .../static/description/index.html | 24 +++++++----- 7 files changed, 49 insertions(+), 42 deletions(-) create mode 100644 auth_oauth_multi_token/pyproject.toml create mode 100644 auth_oauth_multi_token/readme/CONTRIBUTORS.md delete mode 100644 auth_oauth_multi_token/readme/CONTRIBUTORS.rst rename auth_oauth_multi_token/readme/{DESCRIPTION.rst => DESCRIPTION.md} (73%) rename auth_oauth_multi_token/readme/{USAGE.rst => USAGE.md} (82%) diff --git a/auth_oauth_multi_token/README.rst b/auth_oauth_multi_token/README.rst index c7090d1287..3297091986 100644 --- a/auth_oauth_multi_token/README.rst +++ b/auth_oauth_multi_token/README.rst @@ -17,19 +17,19 @@ OAuth Multi Token :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fserver--auth-lightgray.png?logo=github - :target: https://github.com/OCA/server-auth/tree/16.0/auth_oauth_multi_token + :target: https://github.com/OCA/server-auth/tree/17.0/auth_oauth_multi_token :alt: OCA/server-auth .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/server-auth-16-0/server-auth-16-0-auth_oauth_multi_token + :target: https://translation.odoo-community.org/projects/server-auth-17-0/server-auth-17-0-auth_oauth_multi_token :alt: Translate me on Weblate .. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png - :target: https://runboat.odoo-community.org/builds?repo=OCA/server-auth&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/server-auth&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module adds the possibility to connect with the same account -on more than one device at the same time. +This module adds the possibility to connect with the same account on +more than one device at the same time. All providers are supported (Google, Facebook, Odoo, etc). @@ -41,7 +41,8 @@ All providers are supported (Google, Facebook, Odoo, etc). Usage ===== -Nothing changes on login action: just select your provider and try to log in. +Nothing changes on login action: just select your provider and try to +log in. Bug Tracker =========== @@ -49,7 +50,7 @@ Bug Tracker Bugs are tracked on `GitHub Issues `_. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -`feedback `_. +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -57,27 +58,27 @@ Credits ======= Authors -~~~~~~~ +------- * Florent de Labarre * Camptocamp Contributors -~~~~~~~~~~~~ +------------ -* Florent de Labarre -* Simone Orsi -* `Tecnativa `__: +- Florent de Labarre +- Simone Orsi +- `Tecnativa `__: - * Jairo Llopis - * Sergio Teruel + - Jairo Llopis + - Sergio Teruel -* Stéphane Bidoul -* Dan Tillinghast -* Miku Laitinen +- Stéphane Bidoul +- Dan Tillinghast +- Miku Laitinen Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -89,6 +90,6 @@ OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -This module is part of the `OCA/server-auth `_ project on GitHub. +This module is part of the `OCA/server-auth `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/auth_oauth_multi_token/pyproject.toml b/auth_oauth_multi_token/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/auth_oauth_multi_token/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/auth_oauth_multi_token/readme/CONTRIBUTORS.md b/auth_oauth_multi_token/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..dfc9f829b4 --- /dev/null +++ b/auth_oauth_multi_token/readme/CONTRIBUTORS.md @@ -0,0 +1,8 @@ +- Florent de Labarre \<\> +- Simone Orsi \<\> +- [Tecnativa](https://www.tecnativa.com/): + - Jairo Llopis + - Sergio Teruel +- Stéphane Bidoul \<\> +- Dan Tillinghast +- Miku Laitinen diff --git a/auth_oauth_multi_token/readme/CONTRIBUTORS.rst b/auth_oauth_multi_token/readme/CONTRIBUTORS.rst deleted file mode 100644 index 59bc0837d2..0000000000 --- a/auth_oauth_multi_token/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,10 +0,0 @@ -* Florent de Labarre -* Simone Orsi -* `Tecnativa `__: - - * Jairo Llopis - * Sergio Teruel - -* Stéphane Bidoul -* Dan Tillinghast -* Miku Laitinen diff --git a/auth_oauth_multi_token/readme/DESCRIPTION.rst b/auth_oauth_multi_token/readme/DESCRIPTION.md similarity index 73% rename from auth_oauth_multi_token/readme/DESCRIPTION.rst rename to auth_oauth_multi_token/readme/DESCRIPTION.md index 2a1cb15f8a..3d8410db57 100644 --- a/auth_oauth_multi_token/readme/DESCRIPTION.rst +++ b/auth_oauth_multi_token/readme/DESCRIPTION.md @@ -1,4 +1,4 @@ -This module adds the possibility to connect with the same account -on more than one device at the same time. +This module adds the possibility to connect with the same account on +more than one device at the same time. All providers are supported (Google, Facebook, Odoo, etc). diff --git a/auth_oauth_multi_token/readme/USAGE.rst b/auth_oauth_multi_token/readme/USAGE.md similarity index 82% rename from auth_oauth_multi_token/readme/USAGE.rst rename to auth_oauth_multi_token/readme/USAGE.md index 7d01facaa8..6d27aa142c 100644 --- a/auth_oauth_multi_token/readme/USAGE.rst +++ b/auth_oauth_multi_token/readme/USAGE.md @@ -1 +1,2 @@ -Nothing changes on login action: just select your provider and try to log in. +Nothing changes on login action: just select your provider and try to +log in. diff --git a/auth_oauth_multi_token/static/description/index.html b/auth_oauth_multi_token/static/description/index.html index 836e8b8f60..17877204e4 100644 --- a/auth_oauth_multi_token/static/description/index.html +++ b/auth_oauth_multi_token/static/description/index.html @@ -8,10 +8,11 @@ /* :Author: David Goodger (goodger@python.org) -:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $ +:Id: $Id: html4css1.css 9511 2024-01-13 09:50:07Z milde $ :Copyright: This stylesheet has been placed in the public domain. Default cascading style sheet for the HTML output of Docutils. +Despite the name, some widely supported CSS2 features are used. See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to customize this style sheet. @@ -274,7 +275,7 @@ margin-left: 2em ; margin-right: 2em } -pre.code .ln { color: grey; } /* line numbers */ +pre.code .ln { color: gray; } /* line numbers */ pre.code, code { background-color: #eeeeee } pre.code .comment, code .comment { color: #5C6576 } pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold } @@ -300,7 +301,7 @@ span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -368,9 +369,9 @@

OAuth Multi Token

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:5d69848be1a2005788b0912d52d59e788ed05ce24855822272fcdb20489ad6cc !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

Beta License: AGPL-3 OCA/server-auth Translate me on Weblate Try me on Runboat

-

This module adds the possibility to connect with the same account -on more than one device at the same time.

+

Beta License: AGPL-3 OCA/server-auth Translate me on Weblate Try me on Runboat

+

This module adds the possibility to connect with the same account on +more than one device at the same time.

All providers are supported (Google, Facebook, Odoo, etc).

Table of contents

@@ -387,14 +388,15 @@

OAuth Multi Token

Usage

-

Nothing changes on login action: just select your provider and try to log in.

+

Nothing changes on login action: just select your provider and try to +log in.

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed -feedback.

+feedback.

Do not contact contributors directly about support or help with technical issues.

@@ -424,11 +426,13 @@

Contributors

Maintainers

This module is maintained by the OCA.

-Odoo Community Association + +Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

-

This module is part of the OCA/server-auth project on GitHub.

+

This module is part of the OCA/server-auth project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.