No description
| config | ||
| types/proxy | ||
| CHANGELOG.md | ||
| DOCUMENTATION.md | ||
| firefox.png | ||
| foxyproxy.png | ||
| README.md | ||
Description
This tutorial shows to you an example of Rougail use on how to set a proxy in the Mozilla Firefox browser.
More precisely, this tutorial aims at reproducing this Mozilla Firefox settings page:
And the integration of part of the Firefox FoxyProxy plugin.
The idea is to have a namespace specific to FoxyProxy and to find in it part of the settings that we will have made in the main namespace.
This is what the page looks like:
Installation
To test this tutorial, you need to download this repository and install Rougail:
git clone -b 1.1 https://forge.cloud.silique.fr/stove/rougail-tutorials.git
cd rougail-tutorials
python -m venv venv_rougail
. venv_rougail/bin/activate
pip install rougail-cli rougail-output-exporter rougail-output-doc rougail-user-data-yaml
Summary
Each step is a separerate commit. You can navigate to history to discover different aspect to the Rougail format.
- Configure Proxy Access to the Internet (doc)
- Getting started
- A variable with possible values
- Manual proxy configuration (doc)
- Group variables inside families
- Some suitable types
- Calculated default value for a variable
- Define access to variable or family
- A dynamically built family
- Playing with Jinja
- Custom type
- [tutorial v1.1_080] HTTP Proxy with "proxy" type (doc - diff)
- [tutorial v1.1_081] HTTPS and SOCKS Proxy with "proxy" type (doc - diff)
- [tutorial v1.1_082] Add a variable in a family with custom type (doc - diff)
- [tutorial v1.1_083] Redefine default value in custom type variable (doc - diff)
- [tutorial v1.1_084] Redefine other parameter in custom type for HTTP (doc - diff)
- [tutorial v1.1_085] Redefine other parameter in custom type for HTTPS and SOCKS (doc - diff)
- Nullable variable
- Automatic proxy configuration URL (doc)
- A web_address variable
- Address for which proxy will be desactivated (doc)
- Variable with multiple values
- A full documented variable
- Use proxy DNS when using SOCKS v5 (doc)
- Practice
- The Jinja propertyerror filter
- Mode
- DNS over HTTPS (doc)
- Practice
- Validating a variable's value
- Proxy configuration (doc)
- Namespace
- Similar object sequence
- Regexp type with calculation
- Name and parameter conflict
- Variable calculation with propertyerror
- Redefine variable

