Feincms3-cookiecontrol

Latest version: v1.5.2

Safety actively analyzes 642295 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 5

0.99.0

- Started showing the banner again when encountering unknown cookie values.
- Included the required CSS in the JavaScript file.
- Moved the root `f3cc` div creation into the JavaScript code.
- Changed the modify button behavior: When `privacyPolicyURL` is given the
modify button is only shown if the current URL equals the privacy policy URL
(protocol, host and pathname have to match).
- Updated the translations.
- Added a view which generates a JavaScript file for embedding the cookie panel
on other sites, e.g. subdomains.
- Imported the docs from the feincms3 repository and updated them.
- Rewrote `getCookie()` to actually return the full cookie value.
- Added some infrastructure code to consciously embed content from third party
providers if users give their consent.
- Added `feincms3_cookiecontrol.embedding.embed` which wraps
`feincms3.embedding` with a privacy-conscious version.

0.9.0

- Completely reworked the panel into a banner-only solution with only two
buttons, "accept all" and "reject all". The deprecated `{% feincms3_cookiecontrol_panel %}` template tag has been removed. The database
model has been recreated from scratch. If you want to keep the old script
configuration you can copy paste the following SQL into the SQL console
(after removing `feincms3_cookiecontrol` from `MIGRATION_MODULES` if it's
still in there and running migrations of course!):

insert into feincms3_cookiecontrol_script (name, script) select name, inject_if from feincms3_cookiecontrol_cookiescript;
drop table feincms3_cookiecontrol_cookiescript cascade ;
drop table feincms3_cookiecontrol_cookiecategory cascade ;

- Added Django 4.1 to the CI matrix.
- Removed recommended cookies in preparation of the simplification of the panel
to only allow required and optional cookies, nothing else.
- Removed the `inject_else` field because it was always unused and nothing
should be injected if users do not consent.

0.2.1

- Fixed a problem with our use of `100vh` by adding some padding as a temporary
(ha!) workaround.

0.2

- Deprecated the `feincms3_cookiecontrol_panel` template tag.
- Changed the `{% feincms3_cookiecontrol modify_button=True %}` to `{% feincms3_cookiecontrol hide_modify_button=False %}`. This makes the default
case of only hiding the modify button under certain circumstances more
straightforward.

0.1.6

- Added support for setting subdomain cookies using `COOKIECONTROL = {"domain": "example.com"}`
- Added a new `{% feincms3_cookiecontrol modify_button=True %}` templatetag
which allows directly controlling whether the modify button is shown or not.

0.1.5

- Fix some dimensions to compensate non-standard root font-sizes.

Page 2 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.