Skip to content

Commit 36e2c4e

Browse files
committed
Initial conversion from blizz_vanisher with minor amendments.
1 parent b15e8ae commit 36e2c4e

51 files changed

Lines changed: 7390 additions & 1 deletion

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.idea/codeStyles/Project.xml

Lines changed: 46 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/codeStyles/codeStyleConfig.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/deployment.xml

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/dictionaries/Graham.xml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/encodings.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gdpr_cookies.iml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 93 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,93 @@
1-
# gdpr_cookies
1+
# gdpr_cookies
2+
NB This is a renamed version of a port of the Drupal module
3+
blizz_vanisher. It is recommended that users install this
4+
newer version which will be updated and improved as issues are
5+
reported.
6+
7+
This module aims to help site administrators follow the guidelines of
8+
the "General Data Protection Regulation" (GDPR) regarding user
9+
tracking and integration of third party content.
10+
11+
GDPR Cookies lets you prevent scripts and embedded content
12+
(e.g. videos) from being rendered until the user has given their
13+
consent to do so.
14+
15+
Please note that installing and using this module does not mean your
16+
website becomes GDPR compliant.
17+
18+
## Details
19+
The new European "General Data Protection Regulation" (GDPR) decrees
20+
that the well-known yet simple "This website uses cookies" banner is
21+
no longer sufficient and aims to provide for more transparency on the
22+
use of the website visitor's data.
23+
24+
As part of the new regulation websites are not allowed to set
25+
ANY cookie without explicit consent of the visitor. What first deems
26+
to be not that great an issue becomes a real problem when it comes to
27+
the integration of third party content - because website operators are
28+
also responsible for potential data usage by third parties.
29+
30+
## Does your website use
31+
+ Google Analytics?
32+
+ Youtube videos?
33+
+ Vimeo videos?
34+
+ Google Webfonts?
35+
+ Twitter plugins?
36+
+ Facebook plugins?
37+
+ Or any other content integrated via CDNs?
38+
39+
If using these or similar services you now have to get explicit
40+
permission from the site visitor to include content from these
41+
services into your website - BEFORE any display occurs!
42+
43+
GDPR Cookies integrates the cookie manager script "tarteaucitron.js",
44+
which elegantly provides customization features to the website's
45+
end user and does all the heavy lifting for you. Simply install
46+
the module, configure the services needed and you're done.
47+
48+
When configured, GDPR Cookies in conjunction with tarteaucitron.js
49+
prevents external services from being integrated into your website
50+
without proper consent.
51+
52+
This initial port to Backdrop is from Drupal release 7.x-1.3.
53+
54+
## Dependencies
55+
+ In Backdrop this module is dependent on the Entity Plus module that
56+
provides some entity functions omitted from core.
57+
+ The tarteaucitron script library is included in the module.
58+
59+
## Installation
60+
- Install this module using the official Backdrop CMS instructions at
61+
https://backdropcms.org/guide/modules.
62+
- Use the configuration page at admin/config/system/gdpr_cookies/settings
63+
to control which services are provided and need user consent.
64+
- There are some challenges to initialising this module which adjusts
65+
according to the current cookies on the site. If experiencing difficulty,
66+
please clear cookies in your browser and set GDPR Cookies to detect
67+
at least one of the inbuilt third party services.
68+
- The included tarteaucitron library has a number of language files
69+
which provide in editable form the text of the on-screen messages.
70+
71+
## License
72+
This project is GPL v2 software. See the LICENSE.txt
73+
file in this directory for complete text.
74+
75+
## References and Credits
76+
+ https://github.com/AmauriC/tarteaucitron.js
77+
+ https://opt-out.ferank.eu/en/
78+
+ 'The GDPR is here' - https://www.youtube.com/watch?v=CyIFNsSHPxQ
79+
80+
### Port to Backdrop
81+
82+
+ Graham Oliver (github.com/Graham-72)
83+
84+
### Maintainers of Gdpr cookies for Drupal:
85+
86+
+ Lars Rosenberg (rackberg)
87+
+ Christian Lamine (CHiLi.HH)
88+
+ marvin_B8
89+
90+
### Acknowledgement
91+
92+
This port to Backdrop would not, of course, be possible without all
93+
the work done by the developers and maintainers of the Drupal module.

config/gdpr_cookies.settings.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"_config_name": "gdpr_cookies.settings",
3+
"gdpr_cookies_hashtag": "",
4+
"gdpr_cookies_high_privacy": 0,
5+
"gdpr_cookies_orientation": "bottom",
6+
"gdpr_cookies_adblocker": 0,
7+
"gdpr_cookies_show_alert_small": 0,
8+
"gdpr_cookies_cookieslist": 0,
9+
"gdpr_cookies_remove_credit": 0,
10+
"gdpr_cookies_default_rejected": 0,
11+
"gdpr_cookies_page_compression": 1
12+
}

0 commit comments

Comments
 (0)