From 78215d49cd1647a9c6384f8550c53df17ff85b4f Mon Sep 17 00:00:00 2001 From: Nils Coenen <74965194+NICO-SOLUTIONS@users.noreply.github.com> Date: Fri, 24 Nov 2023 22:03:31 +0100 Subject: [PATCH] [IMP] website_legal_page: pre-commit auto fixes --- website_legal_page/README.rst | 102 +++++++++--------- website_legal_page/pyproject.toml | 3 + website_legal_page/readme/CONTRIBUTORS.md | 15 +++ website_legal_page/readme/CONTRIBUTORS.rst | 18 ---- website_legal_page/readme/CREDITS.md | 17 +++ website_legal_page/readme/CREDITS.rst | 15 --- website_legal_page/readme/DESCRIPTION.md | 2 + website_legal_page/readme/DESCRIPTION.rst | 2 - website_legal_page/readme/USAGE.md | 30 ++++++ website_legal_page/readme/USAGE.rst | 29 ----- .../static/description/index.html | 68 +++++++----- 11 files changed, 160 insertions(+), 141 deletions(-) create mode 100644 website_legal_page/pyproject.toml create mode 100644 website_legal_page/readme/CONTRIBUTORS.md delete mode 100644 website_legal_page/readme/CONTRIBUTORS.rst create mode 100644 website_legal_page/readme/CREDITS.md delete mode 100644 website_legal_page/readme/CREDITS.rst create mode 100644 website_legal_page/readme/DESCRIPTION.md delete mode 100644 website_legal_page/readme/DESCRIPTION.rst create mode 100644 website_legal_page/readme/USAGE.md delete mode 100644 website_legal_page/readme/USAGE.rst diff --git a/website_legal_page/README.rst b/website_legal_page/README.rst index 791933a369..ba478c6783 100644 --- a/website_legal_page/README.rst +++ b/website_legal_page/README.rst @@ -17,19 +17,19 @@ Website Legal Page :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github - :target: https://github.com/OCA/website/tree/16.0/website_legal_page + :target: https://github.com/OCA/website/tree/17.0/website_legal_page :alt: OCA/website .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/website-16-0/website-16-0-website_legal_page + :target: https://translation.odoo-community.org/projects/website-17-0/website-17-0-website_legal_page :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/website&target_branch=16.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/website&target_branch=17.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| -This module was written to provide common legal page needed in any website. -This legal page must be edited using the website builder. +This module was written to provide common legal page needed in any +website. This legal page must be edited using the website builder. **Table of contents** @@ -39,35 +39,37 @@ This legal page must be edited using the website builder. Usage ===== -Website editor can change easily any text of these pages using website builder. +Website editor can change easily any text of these pages using website +builder. This legal page is complementary to the account terms. -If you install this module with account installed too, the added page will take on a -complementary function to /terms of account, but never replace the function of the page. - +If you install this module with account installed too, the added page +will take on a complementary function to /terms of account, but never +replace the function of the page. Disclaimer -~~~~~~~~~~ +---------- These legal pages are templates. **You must edit the templates and adapt them to your particular case** -The provided agreements are for **informational purposes only** and do not -constitute legal advice. +The provided agreements are for **informational purposes only** and do +not constitute legal advice. -Authors, contributors and maintainer are not law firms and are not providing legal advice. -All information (including agreements, forms and documents) available in this -addon are **provided without any warranty**, express or implied, including as to -their legal effect and completeness. The information **should be used as a -guide** and modified to meet your own individual needs and the laws of your -state. Your use of any information or forms is at your own risk. +Authors, contributors and maintainer are not law firms and are not +providing legal advice. All information (including agreements, forms and +documents) available in this addon are **provided without any +warranty**, express or implied, including as to their legal effect and +completeness. The information **should be used as a guide** and modified +to meet your own individual needs and the laws of your state. Your use +of any information or forms is at your own risk. -Authors, contributors, maintainer and any of its employees, contractors, or -attorneys who participated in development of this addon **expressly disclaim any -warranty**: they are not creating or entering into any Attorney-Client -relationship by providing information to you. +Authors, contributors, maintainer and any of its employees, contractors, +or attorneys who participated in development of this addon **expressly +disclaim any warranty**: they are not creating or entering into any +Attorney-Client relationship by providing information to you. Bug Tracker =========== @@ -75,7 +77,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. @@ -83,55 +85,59 @@ Credits ======= Authors -~~~~~~~ +------- * Tecnativa * LasLabs * Nicolas JEUDY Contributors -~~~~~~~~~~~~ - -* Antonio Espinosa -* Igor Pastor -* Dave Lasley -* Nicola Malcontenti -* Nicolas JEUDY -* Lorenzo Battistini -* Eduardo Magdalena (C2i Change 2 improve http://www.c2i.es) +------------ -* `Tecnativa `_: +- Antonio Espinosa +- Igor Pastor +- Dave Lasley +- Nicola Malcontenti +- Nicolas JEUDY +- Lorenzo Battistini +- Eduardo Magdalena (C2i Change 2 improve + http://www.c2i.es) +- `Tecnativa `__: - * Rafael Blasco - * Jairo Llopis - * Alexandre Diaz - * Carlos Roca + - Rafael Blasco + - Jairo Llopis + - Alexandre Diaz + - Carlos Roca -* `Studio73 `_: +- `Studio73 `__: - * Miguel Gandia + - Miguel Gandia Other credits -~~~~~~~~~~~~~ +------------- Templates ~~~~~~~~~ -Templates are based on legal templates publicy provided by `termsfeed.com `_: +Templates are based on legal templates publicy provided by +`termsfeed.com `__: -* `Privacy policy `_ -* `Terms of use `_ +- `Privacy + policy `__ +- `Terms of + use `__ Icon ~~~~ Icon based on ``johnny-automatic-scales-of-justice.svg`` from -`Openclipart `_ +`Openclipart `__ -Thanks to `johnny_automatic `_ +Thanks to +`johnny_automatic `__ Maintainers -~~~~~~~~~~~ +----------- This module is maintained by the OCA. @@ -143,6 +149,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/website `_ project on GitHub. +This module is part of the `OCA/website `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/website_legal_page/pyproject.toml b/website_legal_page/pyproject.toml new file mode 100644 index 0000000000..4231d0cccb --- /dev/null +++ b/website_legal_page/pyproject.toml @@ -0,0 +1,3 @@ +[build-system] +requires = ["whool"] +build-backend = "whool.buildapi" diff --git a/website_legal_page/readme/CONTRIBUTORS.md b/website_legal_page/readme/CONTRIBUTORS.md new file mode 100644 index 0000000000..d6c749d8bb --- /dev/null +++ b/website_legal_page/readme/CONTRIBUTORS.md @@ -0,0 +1,15 @@ +- Antonio Espinosa \<\> +- Igor Pastor \<\> +- Dave Lasley \<\> +- Nicola Malcontenti \<\> +- Nicolas JEUDY \<\> +- Lorenzo Battistini \<\> +- Eduardo Magdalena \<\> (C2i Change 2 improve + ) +- [Tecnativa](https://www.tecnativa.com): + - Rafael Blasco + - Jairo Llopis + - Alexandre Diaz + - Carlos Roca +- [Studio73](https://www.studio73.es): + - Miguel Gandia diff --git a/website_legal_page/readme/CONTRIBUTORS.rst b/website_legal_page/readme/CONTRIBUTORS.rst deleted file mode 100644 index 2478eb57b6..0000000000 --- a/website_legal_page/readme/CONTRIBUTORS.rst +++ /dev/null @@ -1,18 +0,0 @@ -* Antonio Espinosa -* Igor Pastor -* Dave Lasley -* Nicola Malcontenti -* Nicolas JEUDY -* Lorenzo Battistini -* Eduardo Magdalena (C2i Change 2 improve http://www.c2i.es) - -* `Tecnativa `_: - - * Rafael Blasco - * Jairo Llopis - * Alexandre Diaz - * Carlos Roca - -* `Studio73 `_: - - * Miguel Gandia diff --git a/website_legal_page/readme/CREDITS.md b/website_legal_page/readme/CREDITS.md new file mode 100644 index 0000000000..92db61aa04 --- /dev/null +++ b/website_legal_page/readme/CREDITS.md @@ -0,0 +1,17 @@ +## Templates + +Templates are based on legal templates publicy provided by +[termsfeed.com](https://termsfeed.com): + +- [Privacy + policy](https://media.termsfeed.com/pdf/privacy-policy-template.pdf) +- [Terms of + use](https://media.termsfeed.com/pdf/terms-of-use-template.pdf) + +## Icon + +Icon based on `johnny-automatic-scales-of-justice.svg` from +[Openclipart](https://openclipart.org/detail/26849/scales-of-justice) + +Thanks to +[johnny_automatic](https://openclipart.org/user-detail/johnny_automatic) diff --git a/website_legal_page/readme/CREDITS.rst b/website_legal_page/readme/CREDITS.rst deleted file mode 100644 index 5f202e1372..0000000000 --- a/website_legal_page/readme/CREDITS.rst +++ /dev/null @@ -1,15 +0,0 @@ -Templates -~~~~~~~~~ - -Templates are based on legal templates publicy provided by `termsfeed.com `_: - -* `Privacy policy `_ -* `Terms of use `_ - -Icon -~~~~ - -Icon based on ``johnny-automatic-scales-of-justice.svg`` from -`Openclipart `_ - -Thanks to `johnny_automatic `_ diff --git a/website_legal_page/readme/DESCRIPTION.md b/website_legal_page/readme/DESCRIPTION.md new file mode 100644 index 0000000000..6868814ab0 --- /dev/null +++ b/website_legal_page/readme/DESCRIPTION.md @@ -0,0 +1,2 @@ +This module was written to provide common legal page needed in any +website. This legal page must be edited using the website builder. diff --git a/website_legal_page/readme/DESCRIPTION.rst b/website_legal_page/readme/DESCRIPTION.rst deleted file mode 100644 index e0fa810074..0000000000 --- a/website_legal_page/readme/DESCRIPTION.rst +++ /dev/null @@ -1,2 +0,0 @@ -This module was written to provide common legal page needed in any website. -This legal page must be edited using the website builder. diff --git a/website_legal_page/readme/USAGE.md b/website_legal_page/readme/USAGE.md new file mode 100644 index 0000000000..aad27f4934 --- /dev/null +++ b/website_legal_page/readme/USAGE.md @@ -0,0 +1,30 @@ +Website editor can change easily any text of these pages using website +builder. + +This legal page is complementary to the account terms. + +If you install this module with account installed too, the added page +will take on a complementary function to /terms of account, but never +replace the function of the page. + +## Disclaimer + +These legal pages are templates. + +**You must edit the templates and adapt them to your particular case** + +The provided agreements are for **informational purposes only** and do +not constitute legal advice. + +Authors, contributors and maintainer are not law firms and are not +providing legal advice. All information (including agreements, forms and +documents) available in this addon are **provided without any +warranty**, express or implied, including as to their legal effect and +completeness. The information **should be used as a guide** and modified +to meet your own individual needs and the laws of your state. Your use +of any information or forms is at your own risk. + +Authors, contributors, maintainer and any of its employees, contractors, +or attorneys who participated in development of this addon **expressly +disclaim any warranty**: they are not creating or entering into any +Attorney-Client relationship by providing information to you. diff --git a/website_legal_page/readme/USAGE.rst b/website_legal_page/readme/USAGE.rst deleted file mode 100644 index b7e09a96cc..0000000000 --- a/website_legal_page/readme/USAGE.rst +++ /dev/null @@ -1,29 +0,0 @@ -Website editor can change easily any text of these pages using website builder. - -This legal page is complementary to the account terms. - -If you install this module with account installed too, the added page will take on a -complementary function to /terms of account, but never replace the function of the page. - - -Disclaimer -~~~~~~~~~~ - -These legal pages are templates. - -**You must edit the templates and adapt them to your particular case** - -The provided agreements are for **informational purposes only** and do not -constitute legal advice. - -Authors, contributors and maintainer are not law firms and are not providing legal advice. -All information (including agreements, forms and documents) available in this -addon are **provided without any warranty**, express or implied, including as to -their legal effect and completeness. The information **should be used as a -guide** and modified to meet your own individual needs and the laws of your -state. Your use of any information or forms is at your own risk. - -Authors, contributors, maintainer and any of its employees, contractors, or -attorneys who participated in development of this addon **expressly disclaim any -warranty**: they are not creating or entering into any Attorney-Client -relationship by providing information to you. diff --git a/website_legal_page/static/description/index.html b/website_legal_page/static/description/index.html index d580de55c5..ecb119c66e 100644 --- a/website_legal_page/static/description/index.html +++ b/website_legal_page/static/description/index.html @@ -369,9 +369,9 @@

Website Legal Page

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! source digest: sha256:e2ff273740ec645e0d6a08ba95f8782d83cae81bba8c3d08f3c34ed92ea8ce4d !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

-

This module was written to provide common legal page needed in any website. -This legal page must be edited using the website builder.

+

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

+

This module was written to provide common legal page needed in any +website. This legal page must be edited using the website builder.

Table of contents

Usage

-

Website editor can change easily any text of these pages using website builder.

+

Website editor can change easily any text of these pages using website +builder.

This legal page is complementary to the account terms.

-

If you install this module with account installed too, the added page will take on a -complementary function to /terms of account, but never replace the function of the page.

+

If you install this module with account installed too, the added page +will take on a complementary function to /terms of account, but never +replace the function of the page.

Disclaimer

These legal pages are templates.

You must edit the templates and adapt them to your particular case

-

The provided agreements are for informational purposes only and do not -constitute legal advice.

-

Authors, contributors and maintainer are not law firms and are not providing legal advice. -All information (including agreements, forms and documents) available in this -addon are provided without any warranty, express or implied, including as to -their legal effect and completeness. The information should be used as a -guide and modified to meet your own individual needs and the laws of your -state. Your use of any information or forms is at your own risk.

-

Authors, contributors, maintainer and any of its employees, contractors, or -attorneys who participated in development of this addon expressly disclaim any -warranty: they are not creating or entering into any Attorney-Client -relationship by providing information to you.

+

The provided agreements are for informational purposes only and do +not constitute legal advice.

+

Authors, contributors and maintainer are not law firms and are not +providing legal advice. All information (including agreements, forms and +documents) available in this addon are provided without any +warranty, express or implied, including as to their legal effect and +completeness. The information should be used as a guide and modified +to meet your own individual needs and the laws of your state. Your use +of any information or forms is at your own risk.

+

Authors, contributors, maintainer and any of its employees, contractors, +or attorneys who participated in development of this addon expressly +disclaim any warranty: they are not creating or entering into any +Attorney-Client relationship by providing information to you.

@@ -420,7 +425,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.

@@ -442,7 +447,8 @@

Contributors

  • Nicola Malcontenti <nicola.malcontenti@agilebg.com>
  • Nicolas JEUDY <https://github.com/njeudy>
  • Lorenzo Battistini <https://github.com/eLBati>
  • -
  • Eduardo Magdalena <emagdalena@c2i.es> (C2i Change 2 improve http://www.c2i.es)
  • +
  • Eduardo Magdalena <emagdalena@c2i.es> (C2i Change 2 improve +http://www.c2i.es)
  • Tecnativa:
    • Rafael Blasco
    • Jairo Llopis
    • @@ -458,20 +464,24 @@

      Contributors

  • -

    Templates

    -

    Templates are based on legal templates publicy provided by termsfeed.com:

    +

    Templates

    +

    Templates are based on legal templates publicy provided by +termsfeed.com:

    -

    Icon

    +

    Icon

    Icon based on johnny-automatic-scales-of-justice.svg from Openclipart

    -

    Thanks to johnny_automatic

    +

    Thanks to +johnny_automatic

    +

    Maintainers

    @@ -480,7 +490,7 @@

    Maintainers

    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/website project on GitHub.

    +

    This module is part of the OCA/website project on GitHub.

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