From dc04d5d34c1a6d96c8a098808983e79b11bd8f37 Mon Sep 17 00:00:00 2001 From: david Date: Fri, 21 Oct 2022 10:08:52 +0200 Subject: [PATCH 01/10] [ADD] website_forum_subscription: New module TT39738 --- website_forum_subscription/README.rst | 86 ++++ website_forum_subscription/__init__.py | 0 website_forum_subscription/__manifest__.py | 15 + website_forum_subscription/i18n/es.po | 47 ++ website_forum_subscription/i18n/it.po | 38 ++ .../i18n/website_forum_subscription.pot | 34 ++ .../readme/CONTRIBUTORS.rst | 3 + .../readme/DESCRIPTION.rst | 1 + website_forum_subscription/readme/USAGE.rst | 7 + .../static/description/icon.png | Bin 0 -> 8121 bytes .../static/description/index.html | 434 ++++++++++++++++++ .../templates/website_forum_templates.xml | 68 +++ 12 files changed, 733 insertions(+) create mode 100644 website_forum_subscription/README.rst create mode 100644 website_forum_subscription/__init__.py create mode 100644 website_forum_subscription/__manifest__.py create mode 100644 website_forum_subscription/i18n/es.po create mode 100644 website_forum_subscription/i18n/it.po create mode 100644 website_forum_subscription/i18n/website_forum_subscription.pot create mode 100644 website_forum_subscription/readme/CONTRIBUTORS.rst create mode 100644 website_forum_subscription/readme/DESCRIPTION.rst create mode 100644 website_forum_subscription/readme/USAGE.rst create mode 100644 website_forum_subscription/static/description/icon.png create mode 100644 website_forum_subscription/static/description/index.html create mode 100644 website_forum_subscription/templates/website_forum_templates.xml diff --git a/website_forum_subscription/README.rst b/website_forum_subscription/README.rst new file mode 100644 index 0000000000..4741e866ff --- /dev/null +++ b/website_forum_subscription/README.rst @@ -0,0 +1,86 @@ +========================== +Website Forum Subscription +========================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :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/14.0/website_forum_subscription + :alt: OCA/website +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/website-14-0/website-14-0-website_forum_subscription + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/186/14.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Allows users to subscribe/unsubscribe from forum notifications. + +**Table of contents** + +.. contents:: + :local: + +Usage +===== + +To use this module, you need to: + +#. Go to your website/forum page. +#. If there are several forums, you'll find a subscription button in every card. Click + on it to subscribe or unsubscribe depending on your forum subscription state. +#. In the main forum page, you'll find the same button on top of the forum panel. + You can proceed in the same manner as above. + +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 smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. + +Credits +======= + +Authors +~~~~~~~ + +* Tecnativa + +Contributors +~~~~~~~~~~~~ + +* `Tecnativa `__: + + * David Vidal + +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. + +.. image:: https://odoo-community.org/logo.png + :alt: Odoo Community Association + :target: https://odoo-community.org + +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. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/website_forum_subscription/__init__.py b/website_forum_subscription/__init__.py new file mode 100644 index 0000000000..e69de29bb2 diff --git a/website_forum_subscription/__manifest__.py b/website_forum_subscription/__manifest__.py new file mode 100644 index 0000000000..7c25db0da9 --- /dev/null +++ b/website_forum_subscription/__manifest__.py @@ -0,0 +1,15 @@ +# Copyright 2022 Tecnativa David Vidal +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). +{ + "name": "Website Forum Subscription", + "summary": "Adds a button to allow subscription from the website", + "version": "14.0.1.0.0", + "category": "Website", + "website": "https://github.com/OCA/website", + "author": ("Tecnativa, " "Odoo Community Association (OCA)"), + "license": "AGPL-3", + "application": False, + "installable": True, + "depends": ["website_forum"], + "data": ["templates/website_forum_templates.xml"], +} diff --git a/website_forum_subscription/i18n/es.po b/website_forum_subscription/i18n/es.po new file mode 100644 index 0000000000..1f4dda56f3 --- /dev/null +++ b/website_forum_subscription/i18n/es.po @@ -0,0 +1,47 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_forum_subscription +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2022-10-21 13:55+0000\n" +"PO-Revision-Date: 2022-10-21 16:00+0200\n" +"Last-Translator: \n" +"Language-Team: \n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: \n" +"X-Generator: Poedit 2.3\n" + +#. module: website_forum_subscription +#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow +msgid " Subscribe to forum notifications" +msgstr " Suscribirse a las notificaciones" + +#. module: website_forum_subscription +#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow +msgid " Unsubscribe from forum notifications" +msgstr " Anular suscripción a notificaciones" + +#. module: website_forum_subscription +#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow +msgid "Subscribe" +msgstr "" + +#. module: website_forum_subscription +#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow +msgid "Unsubscribe" +msgstr "" + +#~ msgid " Subscribe" +#~ msgstr " Suscribirse" + +#~ msgid "Follow" +#~ msgstr "Seguir" + +#~ msgid "Unfollow" +#~ msgstr "Dejar de seguir" diff --git a/website_forum_subscription/i18n/it.po b/website_forum_subscription/i18n/it.po new file mode 100644 index 0000000000..b14513a73f --- /dev/null +++ b/website_forum_subscription/i18n/it.po @@ -0,0 +1,38 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_forum_subscription +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"PO-Revision-Date: 2022-12-27 17:45+0000\n" +"Last-Translator: mymage \n" +"Language-Team: none\n" +"Language: it\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" +"X-Generator: Weblate 4.14.1\n" + +#. module: website_forum_subscription +#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow +msgid " Subscribe to forum notifications" +msgstr " Iscrizione alle notifiche del forum" + +#. module: website_forum_subscription +#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow +msgid " Unsubscribe from forum notifications" +msgstr "" +" Elimina iscrizione alle notifiche del forum" + +#. module: website_forum_subscription +#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow +msgid "Subscribe" +msgstr "Iscrizione" + +#. module: website_forum_subscription +#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow +msgid "Unsubscribe" +msgstr "Annulla iscrizione" diff --git a/website_forum_subscription/i18n/website_forum_subscription.pot b/website_forum_subscription/i18n/website_forum_subscription.pot new file mode 100644 index 0000000000..94e03c1c4a --- /dev/null +++ b/website_forum_subscription/i18n/website_forum_subscription.pot @@ -0,0 +1,34 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * website_forum_subscription +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 14.0\n" +"Report-Msgid-Bugs-To: \n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: website_forum_subscription +#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow +msgid " Subscribe to forum notifications" +msgstr "" + +#. module: website_forum_subscription +#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow +msgid " Unsubscribe from forum notifications" +msgstr "" + +#. module: website_forum_subscription +#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow +msgid "Subscribe" +msgstr "" + +#. module: website_forum_subscription +#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow +msgid "Unsubscribe" +msgstr "" diff --git a/website_forum_subscription/readme/CONTRIBUTORS.rst b/website_forum_subscription/readme/CONTRIBUTORS.rst new file mode 100644 index 0000000000..e5276b375e --- /dev/null +++ b/website_forum_subscription/readme/CONTRIBUTORS.rst @@ -0,0 +1,3 @@ +* `Tecnativa `__: + + * David Vidal diff --git a/website_forum_subscription/readme/DESCRIPTION.rst b/website_forum_subscription/readme/DESCRIPTION.rst new file mode 100644 index 0000000000..b580f55455 --- /dev/null +++ b/website_forum_subscription/readme/DESCRIPTION.rst @@ -0,0 +1 @@ +Allows users to subscribe/unsubscribe from forum notifications. diff --git a/website_forum_subscription/readme/USAGE.rst b/website_forum_subscription/readme/USAGE.rst new file mode 100644 index 0000000000..b72e9d1426 --- /dev/null +++ b/website_forum_subscription/readme/USAGE.rst @@ -0,0 +1,7 @@ +To use this module, you need to: + +#. Go to your website/forum page. +#. If there are several forums, you'll find a subscription button in every card. Click + on it to subscribe or unsubscribe depending on your forum subscription state. +#. In the main forum page, you'll find the same button on top of the forum panel. + You can proceed in the same manner as above. diff --git a/website_forum_subscription/static/description/icon.png b/website_forum_subscription/static/description/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..4f3e086bfae3994ef9a3580b560d9548a7d83d94 GIT binary patch literal 8121 zcmV;qA4cGbP)Py9b4f%&RCr$PT?v>J#o2y)W@l!1xo-)|$|Wue#&{wNze=LN8Wj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X&1KPa=EIJ35B}Gnl6lEa4PO;ze ztaea_(My5bMa&|U$Cny0Ew?Z4$ERUSF0VsLo`o>(-;AyfyEpRIRjhFH}lINe#^UUhf-D!NxEcEIZo)5%XVH(;UsrEfT)2ozeZT3 zU8!qQ?Vxi*r}Ti56;At6?V?QOwnKvgkXGNS&D)A4ssE3@!pU9pRnOmDBCMhMG%N?# zjnvpVjqak#`je-Ti%U@P<%ZP~`ky^ribn22mlJ@*nI!x$R{e!HLeecsb+Vo&7D1#} z4@2lI$_POLrLLnaxwH&b8@>i=Y91kNY%BFYYd@lq2s(8DvNeB33$S#A?P0UIyAfr+ zT1@Kr0C#q34QYhzD6)Dw=UGGnRNo}UVqNYE!i3%9anuy|V<>uaYWZLXmsUdvXh2y2tV^2VqqdfB`zZZ0VxyN5{ zAHZf5?%Hh2QcCujWt_XFe6~myLLJ*f$_l$auEUK}ZCxh8sjpxA3ZB{L1Ykldp>ViT zYSrSd!&9Dp!8!ziR_K5BlTsvW5M;R*WI5Yl5W$A<-ty8M1mlVJB`V;`k&07BtV#vdy TDD;+N00000NkvXXu0mjf{9l1R literal 0 HcmV?d00001 diff --git a/website_forum_subscription/static/description/index.html b/website_forum_subscription/static/description/index.html new file mode 100644 index 0000000000..9321f395c7 --- /dev/null +++ b/website_forum_subscription/static/description/index.html @@ -0,0 +1,434 @@ + + + + + + +Website Forum Subscription + + + +
+

Website Forum Subscription

+ + +

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

+

Allows users to subscribe/unsubscribe from forum notifications.

+

Table of contents

+ +
+

Usage

+

To use this module, you need to:

+
    +
  1. Go to your website/forum page.
  2. +
  3. If there are several forums, you’ll find a subscription button in every card. Click +on it to subscribe or unsubscribe depending on your forum subscription state.
  4. +
  5. In the main forum page, you’ll find the same button on top of the forum panel. +You can proceed in the same manner as above.
  6. +
+
+
+

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 smashing it by providing a detailed and welcomed +feedback.

+

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

+
+
+

Credits

+
+

Authors

+
    +
  • Tecnativa
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

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

+

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

+
+
+
+ + diff --git a/website_forum_subscription/templates/website_forum_templates.xml b/website_forum_subscription/templates/website_forum_templates.xml new file mode 100644 index 0000000000..54a9c24684 --- /dev/null +++ b/website_forum_subscription/templates/website_forum_templates.xml @@ -0,0 +1,68 @@ + + + + + + + From cdfe0e51bd84bb93700fee353067cbc167c8df31 Mon Sep 17 00:00:00 2001 From: Stefan Date: Mon, 20 Mar 2023 09:49:49 +0100 Subject: [PATCH 02/10] [MIG] website_forum_subscription: Migration to 15.0 --- website_forum_subscription/README.rst | 24 ++++++----- website_forum_subscription/__manifest__.py | 2 +- .../i18n/website_forum_subscription.pot | 2 +- .../readme/CONTRIBUTORS.rst | 1 + .../static/description/index.html | 43 ++++++++++--------- 5 files changed, 40 insertions(+), 32 deletions(-) diff --git a/website_forum_subscription/README.rst b/website_forum_subscription/README.rst index 4741e866ff..d5829dfd63 100644 --- a/website_forum_subscription/README.rst +++ b/website_forum_subscription/README.rst @@ -2,10 +2,13 @@ Website Forum Subscription ========================== -.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +.. + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! source digest: sha256:d74438ad14ac2d5fb49a9cd66ec6adc159c82934ae8de37f7a84e5e3b157fea6 + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png :target: https://odoo-community.org/page/development-status @@ -14,16 +17,16 @@ Website Forum Subscription :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/14.0/website_forum_subscription + :target: https://github.com/OCA/website/tree/15.0/website_forum_subscription :alt: OCA/website .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/website-14-0/website-14-0-website_forum_subscription + :target: https://translation.odoo-community.org/projects/website-15-0/website-15-0-website_forum_subscription :alt: Translate me on Weblate -.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png - :target: https://runbot.odoo-community.org/runbot/186/14.0 - :alt: Try me on Runbot +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png + :target: https://runboat.odoo-community.org/builds?repo=OCA/website&target_branch=15.0 + :alt: Try me on Runboat -|badge1| |badge2| |badge3| |badge4| |badge5| +|badge1| |badge2| |badge3| |badge4| |badge5| Allows users to subscribe/unsubscribe from forum notifications. @@ -48,8 +51,8 @@ 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 smashing it by providing a detailed and welcomed -`feedback `_. +If you spotted it first, help us to smash it by providing a detailed and welcomed +`feedback `_. Do not contact contributors directly about support or help with technical issues. @@ -67,6 +70,7 @@ Contributors * `Tecnativa `__: * David Vidal + * Stefan Ungureanu Maintainers ~~~~~~~~~~~ @@ -81,6 +85,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_forum_subscription/__manifest__.py b/website_forum_subscription/__manifest__.py index 7c25db0da9..8a6e67413b 100644 --- a/website_forum_subscription/__manifest__.py +++ b/website_forum_subscription/__manifest__.py @@ -3,7 +3,7 @@ { "name": "Website Forum Subscription", "summary": "Adds a button to allow subscription from the website", - "version": "14.0.1.0.0", + "version": "15.0.1.0.0", "category": "Website", "website": "https://github.com/OCA/website", "author": ("Tecnativa, " "Odoo Community Association (OCA)"), diff --git a/website_forum_subscription/i18n/website_forum_subscription.pot b/website_forum_subscription/i18n/website_forum_subscription.pot index 94e03c1c4a..a27ad8799b 100644 --- a/website_forum_subscription/i18n/website_forum_subscription.pot +++ b/website_forum_subscription/i18n/website_forum_subscription.pot @@ -4,7 +4,7 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 14.0\n" +"Project-Id-Version: Odoo Server 15.0\n" "Report-Msgid-Bugs-To: \n" "Last-Translator: \n" "Language-Team: \n" diff --git a/website_forum_subscription/readme/CONTRIBUTORS.rst b/website_forum_subscription/readme/CONTRIBUTORS.rst index e5276b375e..711237e528 100644 --- a/website_forum_subscription/readme/CONTRIBUTORS.rst +++ b/website_forum_subscription/readme/CONTRIBUTORS.rst @@ -1,3 +1,4 @@ * `Tecnativa `__: * David Vidal + * Stefan Ungureanu diff --git a/website_forum_subscription/static/description/index.html b/website_forum_subscription/static/description/index.html index 9321f395c7..d7a5bd1760 100644 --- a/website_forum_subscription/static/description/index.html +++ b/website_forum_subscription/static/description/index.html @@ -1,20 +1,20 @@ - + - + Website Forum Subscription