|
| 1 | +============================ |
| 2 | +Clean URLs in website editor |
| 3 | +============================ |
| 4 | + |
| 5 | +.. |
| 6 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 7 | + !! This file is generated by oca-gen-addon-readme !! |
| 8 | + !! changes will be overwritten. !! |
| 9 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 10 | + !! source digest: sha256:2f68fbe3909f6e172b2af03d877a484e1b3690fd85a91b130e4ab51229b28034 |
| 11 | + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! |
| 12 | +
|
| 13 | +.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png |
| 14 | + :target: https://odoo-community.org/page/development-status |
| 15 | + :alt: Alpha |
| 16 | +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png |
| 17 | + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html |
| 18 | + :alt: License: AGPL-3 |
| 19 | +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fwebsite-lightgray.png?logo=github |
| 20 | + :target: https://github.com/OCA/website/tree/16.0/web_editor_clean_url |
| 21 | + :alt: OCA/website |
| 22 | +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png |
| 23 | + :target: https://translation.odoo-community.org/projects/website-16-0/website-16-0-web_editor_clean_url |
| 24 | + :alt: Translate me on Weblate |
| 25 | +.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png |
| 26 | + :target: https://runboat.odoo-community.org/builds?repo=OCA/website&target_branch=16.0 |
| 27 | + :alt: Try me on Runboat |
| 28 | + |
| 29 | +|badge1| |badge2| |badge3| |badge4| |badge5| |
| 30 | + |
| 31 | +This module allows administrators to configure cleanup rules for links |
| 32 | +inserted by their users, as inexperienced people tend to just copy&paste |
| 33 | +whatever they find in their address bar, which might contain data you do |
| 34 | +not want to see published on your website, be it tracking tokens or |
| 35 | +session identifiers. |
| 36 | + |
| 37 | +.. IMPORTANT:: |
| 38 | + This is an alpha version, the data model and design can change at any time without warning. |
| 39 | + Only for development or testing purpose, do not use in production. |
| 40 | + `More details on development status <https://odoo-community.org/page/development-status>`_ |
| 41 | + |
| 42 | +**Table of contents** |
| 43 | + |
| 44 | +.. contents:: |
| 45 | + :local: |
| 46 | + |
| 47 | +Configuration |
| 48 | +============= |
| 49 | + |
| 50 | +You find the configuration in Website / Configuration / Clean URLs. |
| 51 | + |
| 52 | +For every configuration, you can fill in: |
| 53 | + |
| 54 | +``Hostname``: allowing to restrict this configuration to some domain |
| 55 | + |
| 56 | +``Remove Query Parameter``: removes parameters from the URL. Separate |
| 57 | +with comma |
| 58 | + |
| 59 | +``Replace Regex``: replaces a whole portion of the url |
| 60 | + |
| 61 | +``Substitution``: if the regex contains brackets, you can refer to the |
| 62 | +matched content with \\1, \\2 etc |
| 63 | + |
| 64 | +Usage |
| 65 | +===== |
| 66 | + |
| 67 | +To use this module, you need to: |
| 68 | + |
| 69 | +1. Review the configuration |
| 70 | +2. Edit a website page, insert links and observe they are transformed as |
| 71 | + configured after saving |
| 72 | + |
| 73 | +Bug Tracker |
| 74 | +=========== |
| 75 | + |
| 76 | +Bugs are tracked on `GitHub Issues <https://github.com/OCA/website/issues>`_. |
| 77 | +In case of trouble, please check there if your issue has already been reported. |
| 78 | +If you spotted it first, help us to smash it by providing a detailed and welcomed |
| 79 | +`feedback <https://github.com/OCA/website/issues/new?body=module:%20web_editor_clean_url%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_. |
| 80 | + |
| 81 | +Do not contact contributors directly about support or help with technical issues. |
| 82 | + |
| 83 | +Credits |
| 84 | +======= |
| 85 | + |
| 86 | +Authors |
| 87 | +------- |
| 88 | + |
| 89 | +* Hunki Enterprises BV |
| 90 | + |
| 91 | +Contributors |
| 92 | +------------ |
| 93 | + |
| 94 | +- Holger Brunn <mail@hunki-enterprises.com> |
| 95 | + (https://hunki-enterprises.com) |
| 96 | + |
| 97 | +Maintainers |
| 98 | +----------- |
| 99 | + |
| 100 | +This module is maintained by the OCA. |
| 101 | + |
| 102 | +.. image:: https://odoo-community.org/logo.png |
| 103 | + :alt: Odoo Community Association |
| 104 | + :target: https://odoo-community.org |
| 105 | + |
| 106 | +OCA, or the Odoo Community Association, is a nonprofit organization whose |
| 107 | +mission is to support the collaborative development of Odoo features and |
| 108 | +promote its widespread use. |
| 109 | + |
| 110 | +.. |maintainer-hbrunn| image:: https://github.com/hbrunn.png?size=40px |
| 111 | + :target: https://github.com/hbrunn |
| 112 | + :alt: hbrunn |
| 113 | + |
| 114 | +Current `maintainer <https://odoo-community.org/page/maintainer-role>`__: |
| 115 | + |
| 116 | +|maintainer-hbrunn| |
| 117 | + |
| 118 | +This module is part of the `OCA/website <https://github.com/OCA/website/tree/16.0/web_editor_clean_url>`_ project on GitHub. |
| 119 | + |
| 120 | +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. |
0 commit comments