Commit Graph

385 Commits

Author SHA1 Message Date
Amauri CHAMPEAUX aaed3a8527 Move the allowed/denied indicator near the cookie information 2021-05-09 14:40:41 +02:00
Amauri CHAMPEAUX 74bff595d2 Some fix for 🦕 browsers 2021-05-09 12:11:32 +02:00
Nicolas Rosset eab1e02e4c Missing some var declarations 2021-04-29 18:28:09 +02:00
Amauri CHAMPEAUX 3c6d75f4b4 === 0 2021-04-28 14:40:14 +02:00
Amauri CHAMPEAUX bc324cd537 Show the small alert if no services #616 2021-04-28 14:36:04 +02:00
Amauri CHAMPEAUX b091e07cc5 Add a timer on the closeelement 2021-04-28 12:14:04 +02:00
Luc MULLER ada89e28b5 tarteaucitron.js Ajout d'un tab manquant 2021-04-22 11:12:00 +02:00
Luc MULLER 481c375ca5 Mise à niveau de tarteaucitron.js 2021-04-22 11:10:09 +02:00
Luc MULLER be57d2a63c [Accessibilité] Ajout d'une information textuelle sur l'état courant des services.
Le RGAA Critère 3.1 prévoit : " Critère 3.1. Dans chaque page web, l’information ne doit pas être donnée uniquement par la couleur. Cette règle est-elle respectée ?"
https://www.numerique.gouv.fr/publications/rgaa-accessibilite/methode-rgaa/criteres/#topic3
Cette contrainte d'accessibilité n'est pas respectée par Tarte Au Citron car la seule information qui indique quel service est activé est la couleur du bouton.
Ce commit ajoute une mention, à côté du titre du service indiquant l'état courant du service en question.
Les traductions dans les différentes langues ont été faites avec Google Translate
2021-04-22 10:29:11 +02:00
Amauri CHAMPEAUX 3a073633e8 Better first focus 2021-04-20 17:59:50 +02:00
Amauri CHAMPEAUX 09db2562a5 Remove let FIX #516 2021-04-19 11:51:27 +02:00
Amauri CHAMPEAUX 279523f18d Add focus on the alert for keyboard navigation 2021-04-13 13:52:49 +02:00
Amauri CHAMPEAUX f4450c5a73 Add class on read more links and separator 2021-04-11 10:59:04 +02:00
Amauri CHAMPEAUX 205fdb3cc6 Another fix for IE11 2021-04-06 14:13:31 +02:00
Nicolas Rosset 4cf0ff2c7c fix "fixed" undefined and "i" undefined 2021-03-31 18:05:41 +02:00
Amauri CHAMPEAUX 10b2c0022b Add visual indicator for expanded groups 2021-03-29 08:51:49 +02:00
Amauri CHAMPEAUX 3b097efceb Resize the panel when group are open/close 2021-03-26 14:12:39 +01:00
Amauri CHAMPEAUX 14b7b4ca72 groupServices false by default 2021-03-26 13:22:34 +01:00
Amauri CHAMPEAUX 257f457b4c Add a popup style 2021-03-26 12:49:58 +01:00
Amauri CHAMPEAUX f8cbdcb2ce Remove ✓ ✗ 2021-03-25 19:08:54 +01:00
Amauri CHAMPEAUX cb72b822e4 Add groupServices option 2021-03-25 16:58:53 +01:00
Nicolas Rosset 64b1f9f66c Allow icon customization 2021-03-23 16:17:00 +01:00
Amauri CHAMPEAUX 65eef142b6 Add event for deny button on triggerJobsAfterAjaxCall 2021-03-23 12:10:28 +01:00
Amauri CHAMPEAUX cb221b2071 Fix a bug with analytics allowed by default 2021-03-19 10:02:31 +01:00
Amauri CHAMPEAUX a1696e8afb update version code 2021-03-11 17:56:15 +01:00
Amauri CHAMPEAUX 821fdc814c Remove includes for IE11 2021-03-11 17:53:44 +01:00
lioshi e8d1b37b82
fix: events.load really at the end (inside setTimeout)
events.load must be execute inside the setTimeout before script realy fully loaded
2021-03-08 09:57:04 +01:00
Amauri CHAMPEAUX e26cf1be6d
Merge pull request #594 from mapado/nr-add_trigger_for_post_ajax_action 2021-03-06 19:54:25 +01:00
Amauri CHAMPEAUX e120b1a6b6
Merge pull request #600 from mapado/nr-use_jsdelivr_minified_files
Use jsdelivr minified files when delivered from jsdelivr CDN
2021-03-06 09:43:48 +01:00
Nicolas Rosset b1c29763a5 Also use minified version for css & advertising.js 2021-03-04 09:50:33 +01:00
Nicolas Rosset 342ef68b1d Load minified JS when using JSDelivr CDN 2021-03-04 09:50:25 +01:00
Nicolas Rosset 1339816a1a Add function to trigger all jobs after ajax call that add <div> handled by TAC (simply add an onclick="tarteaucitron.triggerJobsAfterAjaxCall();" and the browser fire again all the jobs + fix the click on the allow button if cookies are not allowed) 2021-03-03 21:20:01 +01:00
Nicolas Rosset 068d3e9013
Merge branch 'master' into nr-fix_css_class_names 2021-03-03 21:17:57 +01:00
Nicolas Rosset e7dd455c5a Avoid CSS conflicts with "non specific" class names 2021-03-03 21:14:39 +01:00
Amauri CHAMPEAUX f65b959790 Add ATInternet hybrid mode 2021-03-03 16:25:51 +01:00
Amauri CHAMPEAUX fef0562e07
Merge pull request #564 from Klemart3D/master
Remove "text/javascript" type on <script> tags to be compliant with HTML5
2021-02-22 11:41:21 +01:00
Amauri CHAMPEAUX ececa37bf3 Put CSS on the .css file and set onclick as an event #572 2021-02-16 10:46:34 +01:00
Amauri CHAMPEAUX 054dba819b Add an option to accept/reject a group of services 2021-02-16 10:35:58 +01:00
Klemart3D 83158c78f7
remove "text/javascript" type from script type
To be compliant with HTML5
2021-02-05 19:24:59 +01:00
Amauri CHAMPEAUX 6a60ffeee3 Enable new locales and fix #548 2021-01-29 14:56:35 +01:00
Amauri CHAMPEAUX c3f983e47b Fix 1ef432c 2021-01-29 11:51:25 +01:00
Amauri CHAMPEAUX 1ef432cb79 Reload the page if user click "deny all" after accept some on the panel 2021-01-28 17:23:17 +01:00
Amauri CHAMPEAUX 751ff296ab
Merge pull request #554 from BuyukCem/master
Close PopUp with Cross
2021-01-28 17:04:53 +01:00
Amauri CHAMPEAUX 6e9db529af
Merge pull request #555 from BuyukCem/lv-traduction
Lv traduction added
2021-01-28 16:59:21 +01:00
Amauri CHAMPEAUX 2bcc78e4d3 Add ALT to images 2021-01-28 15:43:27 +01:00
Amauri CHAMPEAUX d1a772a019 Prepare the 'magic' version of tarteaucitron 😊 2021-01-28 14:08:55 +01:00
BuyukCem b28a931d76 include lv trad 2021-01-27 16:49:32 +01:00
BuyukCem e79d39946a include close popup cross 2021-01-26 13:53:51 +01:00
Amauri CHAMPEAUX 7c0062843f Add the loaded event on the accept all block 2021-01-23 18:09:14 +01:00
Pierre Rudloff f29186115d
Callback called too soon for external scripts
When useExternalJs is enabled, the callback is called immediately for internal scripts because we don't have an onreadystatechange event (because the script is not inserted by tarteaucitron).
However, for external scripts, we do want to wait for the event to be triggered.
2020-11-27 14:30:09 +01:00
Klemart3D b1a16c5d2b
Add nofollow on "read more" link to pass Google SEO test 2020-11-16 20:36:36 +01:00
Amauri CHAMPEAUX cdc36e94a9 Fix #516 2020-11-12 17:13:20 +01:00
Amauri CHAMPEAUX 8a87fd6e17 New logo 2020-11-11 18:05:53 +01:00
O2 Graphics c857e8037e
Fix buttons not working for dynamically added services 2020-11-05 20:47:11 +01:00
Amauri CHAMPEAUX 6ab6837849 Align the button on the middle banner 2020-11-05 09:31:17 +01:00
Amauri CHAMPEAUX 04dbc0030f Remove focus on unnecessary button 2020-11-05 09:08:51 +01:00
Amauri CHAMPEAUX f0911c873c Little adjustment on the big banner buttons 2020-11-04 15:20:17 +01:00
Amauri CHAMPEAUX 2620549ac2 Little adjustment on the big banner buttons 2020-11-04 14:23:18 +01:00
O2 Graphics 2e88cbbd9f
Don't run a replace() when not needed
Also, replace "==" by "===": it's better, cleaner and consistent with the rest of the code.
2020-11-01 21:21:38 +01:00
Amauri CHAMPEAUX 39aac6b2b3
Merge pull request #509 from mcouzinet/feature/accessibility
remove action on mandatory button
2020-10-29 19:00:31 +01:00
Amauri CHAMPEAUX 843f66cdfe
Merge pull request #507 from mcouzinet/feature/move-icon-to-css
move icon to css
2020-10-29 18:56:53 +01:00
Mickael Couzinet b4fc687f2c remove action on mandatory button 2020-10-29 14:11:51 +01:00
Amauri CHAMPEAUX ba79735d36 Add some animations 2020-10-28 17:29:02 +01:00
Mickael Couzinet 6b2e71a248 move icon to css 2020-10-28 12:58:33 +01:00
Amauri CHAMPEAUX bfd25e8344 Set the cookie for by default allowed services 2020-10-17 08:37:14 +02:00
Jérôme Fix 3371d6a3c1 Activation - Adding a class with the service name
Allows you to customize the block to activate an on-demand service.
2020-10-15 15:17:45 +02:00
Amauri CHAMPEAUX 3b334efc8d Do not try to load something for the mandatory allow button 2020-10-13 17:32:05 +02:00
Amauri CHAMPEAUX 8bd6928e85 Fix Uncaught Typerror while using the Deny/Accept all buttons fix #504 2020-10-13 16:54:24 +02:00
Amauri CHAMPEAUX 0c86a68194 Align the 3 buttons on the bar 2020-10-12 16:03:26 +02:00
Amauri CHAMPEAUX 1233699846 Hide the deny button on mandatory cookie for alignement 2020-10-12 12:06:45 +02:00
Amauri CHAMPEAUX 097617b84e Add the button class on the accept all button 2020-10-12 12:05:26 +02:00
Amauri CHAMPEAUX d8745b86d3 Update default values 2020-10-12 11:32:50 +02:00
Amauri CHAMPEAUX 0288f91219 remove onclick event on cookie icon 2020-10-10 11:43:25 +02:00
Amauri CHAMPEAUX 3c5d06bd92 New cookie icon off by default and border-radius adjustement 2020-10-10 10:59:37 +02:00
Amauri CHAMPEAUX 48ed45ba1c
Merge pull request #462 from clemdesign/master
Manage cookie icon
2020-10-10 10:18:17 +02:00
Amauri CHAMPEAUX 05bafd464b Add a timeout of 500ms before settings click event 2020-10-09 11:28:54 +02:00
Amauri CHAMPEAUX 314f22fe00 Remove the margin on the accept/reject all buttons
Not sure why this is here but it break a lot of installations
2020-10-09 10:37:38 +02:00
Amauri CHAMPEAUX fe96f7f2b1 update version 2020-10-06 10:00:33 +02:00
Amauri CHAMPEAUX 7662e097ce Fix Uncaught ReferenceError: secure is not defined 2020-10-06 08:23:24 +02:00
Amauri CHAMPEAUX 716ac1132f
Merge pull request #477 from sir-gawain/csp
remove onclick html attributes, add callbacks in code.
2020-10-05 13:50:01 +02:00
Harmen Christophe cb9542968e Cookie - Information Disclosure 2020-10-05 12:33:54 +02:00
Christian Welzel c68d41b27c Fixed typo. 2020-08-28 08:16:21 +02:00
Christian Welzel 2d989b3085 Moved some inline css to external css file. 2020-08-27 22:19:57 +02:00
Christian Welzel d481f0e911 remove onclick html attributes, add callbacks in code. 2020-08-27 21:55:23 +02:00
Amauri CHAMPEAUX 037edbbb04
Merge pull request #481 from f-to/middle-banner-patch
Don't show the middle banner of you are on the "moreLink" page.
2020-08-10 17:20:52 +02:00
Amauri CHAMPEAUX bb24488a02
Merge pull request #480 from Sylry/feature/DenyAllCtaOption
Add option for the Deny All button
2020-08-10 17:20:18 +02:00
Amauri CHAMPEAUX 92d0af3a93 Fix a Self-XSS vulnerability
Big thanks to Nicolas (nicolas.decayeux@intrinsec.com)
2020-07-30 09:49:32 +02:00
f-to 92f7df147f
middle banner displaying
The middle banner will not be shown on both more and privacy pages.
2020-07-09 11:13:59 +02:00
Sylry 7748943827 Add option for the Deny All button 2020-07-07 16:08:56 +02:00
Clement G 7f0e04ca62 Fix issue on cookie icon integration and responsive integration 2020-06-05 16:42:56 +02:00
Clement G d44bee32eb Manage cookie icon 2020-06-05 14:59:27 +02:00
Amauri CHAMPEAUX e88aa28701 Add an option to show a message about mandatory cookies 2020-05-21 15:37:31 +02:00
Amauri CHAMPEAUX dcbc7399d5 enable sweden locale 2020-05-21 14:29:11 +02:00
Amauri CHAMPEAUX 4832682dde Fix auto load of services when needconsent is true
+ add an alternative to not autoload matomo and at internet
2020-05-05 15:59:35 +02:00
Amauri CHAMPEAUX f96be0440e Prepare for the new Vietnamese translation 2020-05-05 09:24:15 +02:00
Mejans 8ebdbcf1dc
Update tarteaucitron.js 2020-05-01 15:19:19 +02:00
Amauri CHAMPEAUX da33f6e2fe Always allow service that doesnt need consent FIX #290 #437 2020-05-01 09:36:29 +02:00
Amauri CHAMPEAUX ca76bca789 Merge branch 'master' of https://github.com/AmauriC/tarteaucitron.js 2020-04-26 20:59:27 +02:00
Amauri CHAMPEAUX a975be9e5f enable all locales 2020-04-26 20:59:21 +02:00
Amauri CHAMPEAUX 6cca3a0836
Fix #442 2020-04-24 10:12:08 +02:00