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

[16.0][MIG] website_forum_subscription: Migration to version 16.0 #1010

Merged
merged 4 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions setup/website_forum_subscription/setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import setuptools

setuptools.setup(
setup_requires=['setuptools-odoo'],
odoo_addon=True,
)
90 changes: 90 additions & 0 deletions website_forum_subscription/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
==========================
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
: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/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-15-0/website-15-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=15.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:

#. 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 <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:%2015.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

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/15.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": "16.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: 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 "<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 ml-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 ml-1\"/>"
msgstr ""

#~ 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\"/>"
38 changes: 38 additions & 0 deletions website_forum_subscription/i18n/it.po
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>\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 "<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 ml-1\"/>"
msgstr "<small>Iscrizione</small><i class=\"fa fa-fw ml-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 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 15.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 ml-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 ml-1\"/>"
msgstr ""
5 changes: 5 additions & 0 deletions website_forum_subscription/readme/CONTRIBUTORS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* `Tecnativa <https://www.tecnativa.com>`__:

* David Vidal
* Stefan Ungureanu
* Carolina Fernandez
1 change: 1 addition & 0 deletions website_forum_subscription/readme/DESCRIPTION.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Allows users to subscribe/unsubscribe from forum notifications.
7 changes: 7 additions & 0 deletions website_forum_subscription/readme/USAGE.rst
Original file line number Diff line number Diff line change
@@ -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.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading