Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] website_forum_subscription: Migration to version 17.0 #1068

Merged
merged 10 commits into from
Nov 26, 2024
92 changes: 92 additions & 0 deletions website_forum_subscription/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
==========================
Website Forum Subscription
==========================

..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:a16b7259e6947aef9c6cc9237e29bcf89274a353e2914578b18e72fab647a11c
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/17.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-17-0/website-17-0-website_forum_subscription
: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=17.0
:alt: Try me on Runboat

|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:

1. Go to your website/forum page.
2. 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.
3. 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 <https://github.com/OCA/website/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 <https://github.com/OCA/website/issues/new?body=module:%20website_forum_subscription%0Aversion:%2017.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

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

Credits
=======

Authors
-------

* Tecnativa

Contributors
------------

- `Tecnativa <https://www.tecnativa.com>`__:

- David Vidal
- Stefan Ungureanu
- Carolina Fernandez

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 <https://github.com/OCA/website/tree/17.0/website_forum_subscription>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Empty file.
16 changes: 16 additions & 0 deletions website_forum_subscription/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Copyright 2022 Tecnativa David Vidal
# Copyright 2023 Tecnativa Carolina Fernandez
# 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": "17.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"],
}
47 changes: 47 additions & 0 deletions website_forum_subscription/i18n/es.po
Original file line number Diff line number Diff line change
@@ -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: 2023-10-15 20:37+0000\n"
"Last-Translator: Ivorra78 <informatica@totmaterial.es>\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: nplurals=2; plural=n != 1;\n"
"X-Generator: Weblate 4.17\n"

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<i class=\"fa fa-bell\"/> Subscribe to forum notifications"
msgstr "<i class=\"fa fa-bell\"/> Suscribirse a las notificaciones"

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<i class=\"fa fa-bell-slash\"/> Unsubscribe from forum notifications"
msgstr "<i class=\"fa fa-bell-slash\"/> Anular suscripción a notificaciones"

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<small>Subscribe</small><i class=\"fa fa-fw ms-1\"/>"
msgstr "<small>Suscribirse</small><i class=\"fa fa-fw ms-1\"/>"

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<small>Unsubscribe</small><i class=\"fa fa-fw ms-1\"/>"
msgstr "<small>Cancelar suscripción</small><i class=\"fa fa-fw ms-1\"/>"

#~ msgid "<i class=\"fa fa-bell\"/> Subscribe"
#~ msgstr "<i class=\"fa fa-bell\"/> Suscribirse"

#~ msgid "<small>Follow</small><i class=\"fa fa-fw ml-1\"/>"
#~ msgstr "<small>Seguir</small><i class=\"fa fa-fw ml-1\"/>"

#~ msgid "<small>Unfollow</small><i class=\"fa fa-fw ml-1\"/>"
#~ msgstr "<small>Dejar de seguir</small><i class=\"fa fa-fw ml-1\"/>"
44 changes: 44 additions & 0 deletions website_forum_subscription/i18n/it.po
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# 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: 2023-11-14 15:36+0000\n"
"Last-Translator: mymage <stefano.consolaro@mymage.it>\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.17\n"

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<i class=\"fa fa-bell\"/> Subscribe to forum notifications"
msgstr "<i class=\"fa fa-bell\"/> Iscrizione alle notifiche del forum"

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<i class=\"fa fa-bell-slash\"/> Unsubscribe from forum notifications"
msgstr ""
"<i class=\"fa fa-bell-slash\"/> Elimina iscrizione alle notifiche del forum"

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<small>Subscribe</small><i class=\"fa fa-fw ms-1\"/>"
msgstr "<small>Iscrizione</small><i class=\"fa fa-fw ms-1\"/>"

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<small>Unsubscribe</small><i class=\"fa fa-fw ms-1\"/>"
msgstr "<small>Annulla iscrizione</small><i class=\"fa fa-fw ms-1\"/>"

#~ msgid "<small>Subscribe</small><i class=\"fa fa-fw ml-1\"/>"
#~ msgstr "<small>Iscrizione</small><i class=\"fa fa-fw ml-1\"/>"

#~ msgid "<small>Unsubscribe</small><i class=\"fa fa-fw ml-1\"/>"
#~ msgstr "<small>Annulla iscrizione</small><i class=\"fa fa-fw ml-1\"/>"
34 changes: 34 additions & 0 deletions website_forum_subscription/i18n/website_forum_subscription.pot
Original file line number Diff line number Diff line change
@@ -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 16.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 "<i class=\"fa fa-bell\"/> Subscribe to forum notifications"
msgstr ""

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<i class=\"fa fa-bell-slash\"/> Unsubscribe from forum notifications"
msgstr ""

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<small>Subscribe</small><i class=\"fa fa-fw ms-1\"/>"
msgstr ""

#. module: website_forum_subscription
#: model_terms:ir.ui.view,arch_db:website_forum_subscription.follow
msgid "<small>Unsubscribe</small><i class=\"fa fa-fw ms-1\"/>"
msgstr ""
3 changes: 3 additions & 0 deletions website_forum_subscription/pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[build-system]
requires = ["whool"]
build-backend = "whool.buildapi"
4 changes: 4 additions & 0 deletions website_forum_subscription/readme/CONTRIBUTORS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- [Tecnativa](https://www.tecnativa.com):
- David Vidal
- Stefan Ungureanu
- Carolina Fernandez
1 change: 1 addition & 0 deletions website_forum_subscription/readme/DESCRIPTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Allows users to subscribe/unsubscribe from forum notifications.
8 changes: 8 additions & 0 deletions website_forum_subscription/readme/USAGE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
To use this module, you need to:

1. Go to your website/forum page.
2. 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.
3. 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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading