From 570d3077c97dd1638f979881f6b52714c8c56906 Mon Sep 17 00:00:00 2001 From: KKamaa Date: Fri, 2 Jul 2021 23:11:11 +0300 Subject: [PATCH] [ADD] web_clickjack_protection --- .../odoo/addons/web_clickjack_protection | 1 + setup/web_clickjack_protection/setup.cfg | 2 + setup/web_clickjack_protection/setup.py | 6 + web_clickjack_protection/README.rst | 76 ++++ web_clickjack_protection/__init__.py | 2 + web_clickjack_protection/__manifest__.py | 15 + .../readme/CONTRIBUTORS.rst | 2 + .../readme/DESCRIPTION.rst | 3 + .../static/description/icon.png | Bin 0 -> 9455 bytes .../static/description/index.html | 421 ++++++++++++++++++ web_clickjack_protection/views/web_assets.xml | 24 + 11 files changed, 552 insertions(+) create mode 120000 setup/web_clickjack_protection/odoo/addons/web_clickjack_protection create mode 100644 setup/web_clickjack_protection/setup.cfg create mode 100644 setup/web_clickjack_protection/setup.py create mode 100644 web_clickjack_protection/README.rst create mode 100644 web_clickjack_protection/__init__.py create mode 100644 web_clickjack_protection/__manifest__.py create mode 100644 web_clickjack_protection/readme/CONTRIBUTORS.rst create mode 100644 web_clickjack_protection/readme/DESCRIPTION.rst create mode 100644 web_clickjack_protection/static/description/icon.png create mode 100644 web_clickjack_protection/static/description/index.html create mode 100644 web_clickjack_protection/views/web_assets.xml diff --git a/setup/web_clickjack_protection/odoo/addons/web_clickjack_protection b/setup/web_clickjack_protection/odoo/addons/web_clickjack_protection new file mode 120000 index 000000000..91812c15b --- /dev/null +++ b/setup/web_clickjack_protection/odoo/addons/web_clickjack_protection @@ -0,0 +1 @@ +../../../../web_clickjack_protection \ No newline at end of file diff --git a/setup/web_clickjack_protection/setup.cfg b/setup/web_clickjack_protection/setup.cfg new file mode 100644 index 000000000..3c6e79cf3 --- /dev/null +++ b/setup/web_clickjack_protection/setup.cfg @@ -0,0 +1,2 @@ +[bdist_wheel] +universal=1 diff --git a/setup/web_clickjack_protection/setup.py b/setup/web_clickjack_protection/setup.py new file mode 100644 index 000000000..28c57bb64 --- /dev/null +++ b/setup/web_clickjack_protection/setup.py @@ -0,0 +1,6 @@ +import setuptools + +setuptools.setup( + setup_requires=['setuptools-odoo'], + odoo_addon=True, +) diff --git a/web_clickjack_protection/README.rst b/web_clickjack_protection/README.rst new file mode 100644 index 000000000..6ec6709c9 --- /dev/null +++ b/web_clickjack_protection/README.rst @@ -0,0 +1,76 @@ +======================== +Web Clickjack Protection +======================== + +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! 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%2Fweb-lightgray.png?logo=github + :target: https://github.com/OCA/web/tree/11.0/web_clickjack_protection + :alt: OCA/web +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/web-11-0/web-11-0-web_clickjack_protection + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/162/11.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + +Clickjacking is a technique by which a malicious party embeds your website in an