diff --git a/web_widget_text_markdown/README.rst b/web_widget_text_markdown/README.rst index 04668fd98..2c8d6e9d7 100644 --- a/web_widget_text_markdown/README.rst +++ b/web_widget_text_markdown/README.rst @@ -7,7 +7,7 @@ Web Widget Text Markdown !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:8cfeadbd9bda08238870f7e81c3fba7fbf3d61103e5adf5072ed03ebf51c0ee7 + !! source digest: sha256:8e4fa31404e335de7a1e78b7aa8c1530de1e895d5c6d2afe70269e663589c8c3 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png @@ -17,13 +17,13 @@ Web Widget Text Markdown :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html :alt: License: AGPL-3 .. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fweb-lightgray.png?logo=github - :target: https://github.com/OCA/web/tree/14.0/web_widget_text_markdown + :target: https://github.com/OCA/web/tree/15.0/web_widget_text_markdown :alt: OCA/web .. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png - :target: https://translation.odoo-community.org/projects/web-14-0/web-14-0-web_widget_text_markdown + :target: https://translation.odoo-community.org/projects/web-15-0/web-15-0-web_widget_text_markdown :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/web&target_branch=14.0 + :target: https://runboat.odoo-community.org/builds?repo=OCA/web&target_branch=15.0 :alt: Try me on Runboat |badge1| |badge2| |badge3| |badge4| |badge5| @@ -63,7 +63,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. @@ -87,6 +87,9 @@ Contributors * Tom Blauwendraat * Kevin Kamau * Helly kapatel +* [APSL-Nagarro](): + * Bernat Obrador + * Patryk Pyczko Other credits ~~~~~~~~~~~~~ @@ -106,6 +109,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/web `_ project on GitHub. +This module is part of the `OCA/web `_ project on GitHub. You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/web_widget_text_markdown/__manifest__.py b/web_widget_text_markdown/__manifest__.py index b1d12d084..bfe751cc9 100644 --- a/web_widget_text_markdown/__manifest__.py +++ b/web_widget_text_markdown/__manifest__.py @@ -4,7 +4,7 @@ # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). { "name": "Web Widget Text Markdown", - "version": "14.0.1.0.0", + "version": "15.0.1.0.0", "author": "Alexandre Díaz, " "Komit, " "Sudokeys, " @@ -16,9 +16,16 @@ "summary": "Widget to text fields that adds markdown support", "depends": ["web"], "demo": ["demo/bootstrap_markdown.xml"], - "data": ["views/assets.xml"], - "qweb": ["static/src/xml/bootstrap_markdown.xml"], + "data": [], "installable": True, "auto_install": False, "application": False, + "assets": { + "web.assets_backend": [ + "/web_widget_text_markdown/static/src/js/web_widget_text_markdown.js", + ], + "web.qunit_suite": [ + "/web_widget_text_markdown/static/tests/js/web_widget_text_markdown.js", + ], + }, } diff --git a/web_widget_text_markdown/readme/CONTRIBUTORS.rst b/web_widget_text_markdown/readme/CONTRIBUTORS.rst index 2d47bcb54..34430bff8 100644 --- a/web_widget_text_markdown/readme/CONTRIBUTORS.rst +++ b/web_widget_text_markdown/readme/CONTRIBUTORS.rst @@ -4,3 +4,6 @@ * Tom Blauwendraat * Kevin Kamau * Helly kapatel +* [APSL-Nagarro](): + * Bernat Obrador + * Patryk Pyczko diff --git a/web_widget_text_markdown/static/description/index.html b/web_widget_text_markdown/static/description/index.html index 7486cf1da..570566518 100644 --- a/web_widget_text_markdown/static/description/index.html +++ b/web_widget_text_markdown/static/description/index.html @@ -9,10 +9,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. @@ -275,7 +276,7 @@ pre.literal-block, pre.doctest-block, pre.math, pre.code { 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 } @@ -301,7 +302,7 @@ span.option { span.pre { white-space: pre } -span.problematic { +span.problematic, pre.problematic { color: red } span.section-subtitle { @@ -367,9 +368,9 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:8cfeadbd9bda08238870f7e81c3fba7fbf3d61103e5adf5072ed03ebf51c0ee7 +!! source digest: sha256:8e4fa31404e335de7a1e78b7aa8c1530de1e895d5c6d2afe70269e663589c8c3 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! --> -

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

+

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

This module adds a new widget for text field in form view on Odoo:

  • In readonly mode, it uses text contents to parse and render them to html markdown syntax.
  • @@ -413,7 +414,7 @@ ul.auto-toc {

    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.

    @@ -436,6 +437,9 @@ If you spotted it first, help us to smash it by providing a detailed and welcome
  • Tom Blauwendraat <tom@sunflowerweb.nl>
  • Kevin Kamau <kevin@sunflowerweb.nl>
  • Helly kapatel <helly.kapatel@initos.com>
  • +
  • [APSL-Nagarro](<https://apsl.tech>): +* Bernat Obrador <bobrador@apsl.net> +* Patryk Pyczko <ppyczko@apsl.net>
@@ -447,11 +451,13 @@ If you spotted it first, help us to smash it by providing a detailed and welcome

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

+

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

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

diff --git a/web_widget_text_markdown/views/assets.xml b/web_widget_text_markdown/views/assets.xml deleted file mode 100644 index 6b82b9645..000000000 --- a/web_widget_text_markdown/views/assets.xml +++ /dev/null @@ -1,27 +0,0 @@ - - - -