Skip to content

Commit

Permalink
Update tarteaucitron.js to 1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Cruiser13 committed Sep 1, 2020
1 parent 9c91122 commit b717bbf
Show file tree
Hide file tree
Showing 25 changed files with 1,225 additions and 306 deletions.
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -88,6 +88,7 @@ tarteaucitron.services.mycustomservice = {
// when use deny cookie
}
};
(tarteaucitron.job = tarteaucitron.job || []).push('mycustomservice');
```

To get a tracker or tool which **is** included in the tarteaucitron.js package into this bundle, you'll have to do the following steps:
Expand Down Expand Up @@ -116,6 +117,15 @@ You can also append a `_helptext` to the key to insert a custom helptext for edi
Test your implementation and please create a pull request in this repository so everybody can now use your newly implemented service, tracker or tool.
Thanks!

## Updating

### Updating from initial version or 0.1 to 0.2

To update from the first release or version 0.1 to 0.2 simply adapt your composer.json and run composer update as usually.
Depending on your installation you might need to run the command
`php bin/console assets:install web`
to install the new tarteaucitron.js version (1.4 is now included) if you installed as hard copy.

## Contributing
While we consider this bundle stable and ready for productive use, we'd be very happy if you'd support us and the whole pimcore community by improving this bundle with pull requests. This is our first public pimcore bundle so constructive feedback would be very welcome aswell!

Expand Down
@@ -1,4 +1,4 @@
[![](https://data.jsdelivr.com/v1/package/gh/AmauriC/tarteaucitron.js/badge)](https://www.jsdelivr.com/package/gh/AmauriC/tarteaucitron.js)
[![](https://data.jsdelivr.com/v1/package/gh/AmauriC/tarteaucitron.js/badge)](https://www.jsdelivr.com/package/gh/AmauriC/tarteaucitron.js)
[![npm](https://img.shields.io/npm/v/tarteaucitronjs.svg)](https://www.npmjs.com/package/tarteaucitronjs) [![GitHub contributors](https://img.shields.io/github/contributors/AmauriC/tarteaucitron.js.svg)](https://github.com/AmauriC/tarteaucitron.js/graphs/contributors)

tarteaucitron.js
Expand All @@ -21,7 +21,7 @@ Bonus:


# Installation guide
[Visit opt-out.ferank.eu](https://opt-out.ferank.eu/)
[Visit tarteaucitron.io](https://tarteaucitron.io/)


# How to use
Expand All @@ -35,23 +35,23 @@ tarteaucitron.init({
"hashtag": "#tarteaucitron", /* Open the panel with this hashtag */
"cookieName": "tarteaucitron", /* Cookie name */
"orientation": "top", /* Banner position (top - bottom) */
"orientation": "middle", /* Banner position (top - bottom) */
"showAlertSmall": true, /* Show the small banner on bottom right */
"cookieslist": true, /* Show the cookie list */
"adblocker": false, /* Show a Warning if an adblocker is detected */
"AcceptAllCta" : true, /* Show the accept all button when highPrivacy on */
"highPrivacy": false, /* Disable auto consent */
"highPrivacy": true, /* Disable auto consent */
"handleBrowserDNTRequest": false, /* If Do Not Track == 1, disallow all */
"removeCredit": false, /* Remove credit link */
"moreInfoLink": true, /* Show more info link */
"useExternalCss": false, /* If false, the tarteaucitron.css file will be loaded */
//"cookieDomain": ".my-multisite-domaine.fr", /* Shared cookie for subdomain website */
"readmoreLink": "/cookiespolicy" /* Change the default readmore link pointing to opt-out.ferank.eu */
"readmoreLink": "/cookiespolicy" /* Change the default readmore link pointing to tarteaucitron.io */
});
</script>
```
Expand All @@ -60,7 +60,7 @@ tarteaucitron.init({
```js
tarteaucitron.services.mycustomservice = {
"key": "mycustomservice",
"type": "social|analytic|ads|video|support",
"type": "ads|analytic|api|comment|other|social|support|video",
"name": "MyCustomService",
"needConsent": true,
"cookies": ['cookie', 'cookie2'],
Expand Down
Expand Up @@ -302,9 +302,9 @@ div#tarteaucitronServices {
box-sizing: border-box;
}

#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronTitle,
#tarteaucitron #tarteaucitronServices .tarteaucitronTitle button,
#tarteaucitron #tarteaucitronInfo,
#tarteaucitronAlertSmall #tarteaucitronCookiesListContainer #tarteaucitronCookiesList .tarteaucitronTitle,
#tarteaucitron #tarteaucitronServices .tarteaucitronTitle button,
#tarteaucitron #tarteaucitronInfo,
#tarteaucitron #tarteaucitronServices .tarteaucitronDetails {
color: #fff;
display: inline-block;
Expand Down Expand Up @@ -498,6 +498,7 @@ div#tarteaucitronServices {
}

#tarteaucitronAlertBig #tarteaucitronPrivacyUrl,
#tarteaucitronAlertBig #tarteaucitronPrivacyUrlDialog,
#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert,
#tarteaucitronAlertBig #tarteaucitronDisclaimerAlert strong {
font: 15px verdana;
Expand All @@ -508,22 +509,33 @@ div#tarteaucitronServices {
font-weight: 700;
}

#tarteaucitronAlertBig #tarteaucitronPrivacyUrl {
#tarteaucitronAlertBig #tarteaucitronPrivacyUrl,
#tarteaucitronAlertBig #tarteaucitronPrivacyUrlDialog {
cursor: pointer;
}

#tarteaucitronAlertBig #tarteaucitronCloseAlert, #tarteaucitronAlertBig #tarteaucitronPersonalize, #tarteaucitron #tarteaucitronPrivacyUrl {
#tarteaucitronAlertBig #tarteaucitronCloseAlert,
#tarteaucitronAlertBig #tarteaucitronPersonalize,
.tarteaucitronCTAButton,
#tarteaucitron #tarteaucitronPrivacyUrl,
#tarteaucitron #tarteaucitronPrivacyUrlDialog,
#tarteaucitronRoot .tarteaucitronDeny {
background: #008300;
color: #fff;
cursor: pointer;
display: inline-block;
font-size: 16px;
font-size: 16px!important;
line-height: 1.2;
padding: 5px 10px;
text-decoration: none;
margin-left: 7px;
}

#tarteaucitronAlertBig #tarteaucitronCloseAlert, #tarteaucitron #tarteaucitronPrivacyUrl {
#tarteaucitronRoot .tarteaucitronDeny {
background: #9C1A1A;
}

#tarteaucitronAlertBig #tarteaucitronCloseAlert, #tarteaucitron #tarteaucitronPrivacyUrl, #tarteaucitron #tarteaucitronPrivacyUrlDialog {
background: #fff;
color: #333;
font-size: 13px;
Expand Down
@@ -1,5 +1,6 @@
/*global tarteaucitron */
tarteaucitron.lang = {
"middleBarHead": "☝ 🍪",
"adblock": "Здравей! Този сайт позволяа включването на бисквитки по избор.",
"adblock_call": "Моля изключете вашият adblocker и изберете бисквитките които искате, или спрете всички.",
"reload": "Презареди",
Expand Down
@@ -0,0 +1,74 @@
/*global tarteaucitron */
tarteaucitron.lang = {
"adblock": "您好!这是一个透明的网站,您可以选择激活不同的第三方服务。",
"adblock_call": "感谢您停用广告拦截功能并开始个性化设置。",
"reload": "重新加载页面",

"alertBigScroll": "继续划屏,",
"alertBigClick": "继续浏览,",
"alertBig": "即表示您同意第三方服务安装cookie",

"alertBigPrivacy": "这个网站使用cookie, 并让您可以控制想要激活的内容。",
"alertSmall": "服务管理",
"acceptAll": "好的,全部接受",
"personalize": "个性化",
"close": "关闭",

"privacyUrl": "保密政策",

"all": "所有服务的偏好设置",

"disclaimer": "通过授权这些第三方服务,您同意存储和读取cookie,并使用其正常运行所需的跟踪技术。",
"allow": "允许",
"deny": "禁用",
"noCookie": "此服务不存储任何cookie。",
"useCookie": "此服务可以存储",
"useCookieCurrent": "此服务已存储",
"useNoCookie": "此服务未存储任何cookie。",
"more": "了解更多",
"source": "查看官网",
"credit": "通过tarteaucitron.js管理cookie",

"toggleInfoBox": "显示/隐藏cookie存储信息。",
"title": "Cookie管理面板",
"cookieDetail": "Cookie详情",
"ourSite": "显示在我们的网站上",
"newWindow": "(新建窗口)",
"allowAll": "允许",
"denyAll": "禁用",

"fallback": "已禁用。",

"ads": {
"title": "广告组",
"details": "广告组通过营销网站上的广告空间来产生收入."
},
"analytic": {
"title": "受众测量",
"details": "受众测量服务可以生成对站点改进有用的访问统计数据。"
},
"social": {
"title": "社交网络",
"details": "社交网络有助于提高网站的用户友好性,并通过分享帮助推广。"
},
"video": {
"title": "视频",
"details": "视频共享服务丰富网站的多媒体内容,提高网站知名度。"
},
"comment": {
"title": "评论",
"details": "评论管理器使您的评论更容易提交,并避免垃圾邮件。"
},
"support": {
"title": "支持",
"details": "支持服务使您能够与网站团队联系并帮助改进网站."
},
"api": {
"title": "API",
"details": "API允许加载脚本:地理位置、搜索引擎、翻译……"
},
"other": {
"title": "其他",
"details": "旨在显示网页内容的服务。"
}
};
@@ -1,5 +1,6 @@
/*global tarteaucitron */
tarteaucitron.lang = {
"middleBarHead": "☝ 🍪",
"adblock": "Ahoj! Tato stránka je transparetní a umožňuje ti si přímo vybrat, jaké služby třetích stran chceš povolit.",
"adblock_call": "Pro úpravu osobních preferencí si, prosím, vypni adblock.",
"reload": "Načíst stránku znovu",
Expand Down
@@ -0,0 +1,77 @@
/*global tarteaucitron */
tarteaucitron.lang = {
"middleBarHead": "☝ 🍪",
"adblock": "Hej! Dette sted er gennemsigtigt og giver dig mulighed for at vælge de tredjeparts tjenester, du vil tillade.",
"adblock_call": "Deaktiver venligst din adblocker for at begynde tilpasningen.",
"reload": "Opdater siden",

"alertBigScroll": "Ved at fortsætte med at scrolle,",
"alertBigClick": "Hvis du fortsætter med at bruge dette websted,",
"alertBig": "tillader du alle tredjeparts tjenester",

"alertBigPrivacy": "Dette websted bruger cookies og giver dig kontrol over, hvad du vil aktivere",
"alertSmall": "Administrer tjenester",
"personalize": "Tilpas",
"acceptAll": "OK, accepter alle",
"close": "Luk",

"privacyUrl": "Fortrolighedspolitik",

"all": "Præference for alle tjenester",

"info": "Beskyttelse af dit privatliv",
"disclaimer": "Ved at tillade disse tredjeparts tjenester accepterer du deres cookies og brugen af sporingsteknologier, der er nødvendige for, at de fungerer korrekt.",
"allow": "Tillad",
"deny": "Afvis ",
"noCookie": "Denne service bruger ikke cookies",
"useCookie": "Denne service kan installere",
"useCookieCurrent": "Denne service er installeret",
"useNoCookie": "Denne service har ikke installeret nogen cookie.",
"more": "Læs mere",
"source": "Se det officielle websted",
"credit": "Cookies manager af tarteaucitron.js",
"noServices": "Dette websted bruger ikke nogen cookie, der kræver dit samtykke.",

"toggleInfoBox": "Vis / skjul informationer om opbevaring af cookies",
"title": "CCookie-styringspanel",
"cookieDetail": "Cookie detaljer for",
"ourSite": "på vores side",
"newWindow": "(nyt vindue)",
"allowAll": "Tillad alle cookies",
"denyAll": "Afvis alle cookies",

"fallback": "er deaktiveret.",

"ads": {
"title": "Annonceringsnetværk",
"details": "Annoncenetværk kan generere indtægter ved at sælge annonceplads på webstedet."
},
"analytic": {
"title": "Måling af målgruppen",
"details": "Målingstjenesterne bruges til at generere nyttig statistisk til at forbedre webstedet."
},
"social": {
"title": "Sociale netværk",
"details": "Sociale netværk kan forbedre anvendeligheden af webstedet og hjælpe med at markedsføre det via aktierne."
},
"video": {
"title": "Videoer",
"details": "Videodelingstjenester hjælper med at tilføje rige medier på webstedet og øger dets synlighed."
},
"comment": {
"title": "Kommentarer",
"details": "Kommentarledere letter arkiveringen af kommentarer og bekæmper spam."
},
"support": {
"title": "Support",
"details": "Supporttjenester giver dig mulighed for at komme i kontakt med webstedsteamet og hjælpe med at forbedre det."
},
"api": {
"title": "APIer,
"details": "AAPI'er bruges til at indlæse scripts: geolokalisation, søgemaskiner, oversættelser, ..."
},
"other": {
"title": "Andet",
"details": "Tjenester til visning af webindhold."
}
};
@@ -1,5 +1,6 @@
/*global tarteaucitron */
tarteaucitron.lang = {
"middleBarHead": "☝ 🍪",
"adblock": "Hallo! Diese Seite ist transparent und lässt Ihnen die Wahl der externen Services, die aktiviert werden dürfen.",
"adblock_call": "Bitte deaktivieren Sie Ihren 'Werbeblocker' um Cookie-Einstellungen vornehmen zu können.",
"reload": "Seite neu laden",
Expand All @@ -8,11 +9,11 @@ tarteaucitron.lang = {
"alertBigClick": "Wenn Sie diese Webseite benutzen,",
"alertBig": "stimmen Sie der Benutzung von externen Diensten zu",

"alertBigPrivacy": "Diese Webseite verwendet 'Cookies' und ermöglicht dadurch Kontrolle, welche Dienste benutzt werden dürfen",
"alertBigPrivacy": "Diese Webseite verwendet 'Cookies' um Inhalte und Anzeigen zu personalisieren und zu analysieren. Bestimmen Sie, welche Dienste benutzt werden dürfen",
"alertSmall": "Datenschutz-Einstellungen",
"personalize": "Personalisieren",
"acceptAll": "Alle akzeptieren",
"close": "Beenden",
"close": "Schließen",

"privacyUrl": "Datenschutzbestimmungen",

Expand All @@ -28,15 +29,15 @@ tarteaucitron.lang = {
"useNoCookie": "Dieser Dienst hat keine 'Cookies' installiert.",
"more": "Weiter lesen",
"source": "Zur offiziellen Webseite",
"credit": "Cookies manager von tarteaucitron.js",
"credit": "Cookie Manager von tarteaucitron.js",

"toggleInfoBox": "Zeige/verberge Cookie-Einstellungen",
"toggleInfoBox": "Zeige/Verberge Cookie-Einstellungen",
"title": "Cookie-Einstellungen",
"cookieDetail": "Cookie Details für",
"ourSite": "auf unserer Seite",
"newWindow": "(neues Fenster)",
"allowAll": "Erlaube alle cookies",
"denyAll": "Verbiete alle cookies",
"allowAll": "Erlaube alle Cookies",
"denyAll": "Verbiete alle Cookies",

"fallback": "ist deaktiviert.",

Expand All @@ -54,7 +55,7 @@ tarteaucitron.lang = {
},
"video": {
"title": "Videos",
"details": "Videoplatformen erlauben Videoinhalte einzublenden und die Sichtbarkeit der Seite zu erhöhen."
"details": "Videoplattformen erlauben Videoinhalte einzublenden und die Sichtbarkeit der Seite zu erhöhen."
},
"comment": {
"title": "Kommentare",
Expand All @@ -66,7 +67,7 @@ tarteaucitron.lang = {
},
"api": {
"title": "APIs",
"details": "APIs werden benutzt um Skripte zu laden, wie: Geolokalisation, Suchmaschinen, Übersetzungen, ..."
"details": "APIs werden benutzt um Skripte zu laden, wie: Geolokalisierung, Suchmaschinen, Übersetzungen, ..."
},
"other": {
"title": "Andere",
Expand Down
@@ -1,5 +1,6 @@
/*global tarteaucitron */
tarteaucitron.lang = {
"middleBarHead": "☝ 🍪",
"adblock": "Γεια σας! Ο ιστότοπος αυτός σας επιτρέπει να επιλέξετε τις υπηρεσίες που παρέχονται από τρίτους που θα θέλατε να επιτρέψετε.",
"adblock_call": "Παρακαλώ απενεργοποιήστε τα προγράμματα απόρριψης διαφημίσεων για να ξεκινήσετε τις τροποποιήσεις σας.",
"reload": "Ανανέωση της σελίδας",
Expand Down
@@ -1,6 +1,7 @@
/*global tarteaucitron */
tarteaucitron.lang = {
"adblock": "Hello! This site is transparent and lets you chose the 3rd party services you want to allow.",
"middleBarHead": "☝ 🍪",
"adblock": "Hello! This site is transparent and lets you choose the 3rd party services you want to allow.",
"adblock_call": "Please disable your adblocker to start customizing.",
"reload": "Refresh the page",

Expand Down Expand Up @@ -29,6 +30,7 @@ tarteaucitron.lang = {
"more": "Read more",
"source": "View the official website",
"credit": "Cookies manager by tarteaucitron.js",
"noServices": "This website does not use any cookie requiring your consent.",

"toggleInfoBox": "Show/hide informations about cookie storage",
"title": "Cookies management panel",
Expand Down
@@ -1,5 +1,6 @@
/*global tarteaucitron */
tarteaucitron.lang = {
"middleBarHead": "☝ 🍪",
"adblock": "¡Hola! Este sitio web es transparente y te da la opción de activar los servicios de terceros.",
"adblock_call": "Por favor deshabilita tu AdBlocker para empezar a personalizar los servicios.",
"reload": "Actualizar esta página",
Expand Down

0 comments on commit b717bbf

Please sign in to comment.