Commit Graph

244 Commits

Author SHA1 Message Date
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
Amauri CHAMPEAUX abf235b37f
Merge pull request #440 from prudloff-insite/internal-scripts
useExternalJs should only apply to internal scripts
2020-04-22 17:19:31 +02:00
Pierre Rudloff e555e47ecd Default value for internal parameter 2020-04-22 11:08:39 +02:00
Pierre Rudloff 4eb716c351 Refactor to make addScript() calls easier to read 2020-04-21 18:30:32 +02:00
Amauri CHAMPEAUX de701ba421
Merge pull request #436 from Manoz/fix/duplicate-code
[Enhancement] Duplicate code
2020-04-18 15:34:26 +02:00
Amauri CHAMPEAUX ec91bcdbaa New domain name: tarteaucitron.io 2020-04-18 15:20:20 +02:00
Kévin Legrand ae187c73ad [Enhancement] Duplicate code 2020-04-15 20:30:37 +02:00
Amauri CHAMPEAUX 88af745341 Revert #412 Fix #421 2020-03-28 06:29:27 +01:00
Amauri CHAMPEAUX dad64861c6 check outside the loop if thisScript is still null 2020-03-27 20:03:42 +01:00
Pierre Rudloff ab8bb3de65 useExternalJs should only apply to internal scripts 2020-03-23 17:25:35 +01:00
Amauri CHAMPEAUX b7e4b632e5
Merge pull request #393 from mobyou/patch-1
Add a bodyPosition param
2020-03-04 16:45:44 +01:00
Carsten Meyer b274b32bd8 Default value for "bodyPosition"
"bodyPosition": "bottom" as default value wich produce body.appendChild(div, body)
2020-03-04 16:21:44 +01:00
Amauri CHAMPEAUX 082bbf6d66 Don't show the middle bar if we are on the privacy policy page 2020-03-04 12:14:00 +01:00
Amauri CHAMPEAUX d23fadd718
Merge pull request #412 from yaaax/master
fix(js): select the relevant script to define the correct path for file inclusion
2020-03-04 10:25:40 +01:00
Yaacov 28dbc2de75 fix(tarteaucitron) select the relevant script to define the right path (bis) 2020-03-04 00:54:18 +01:00
Yaacov f00200a6dd fix(js): select the relevant script to define the correct path for files inclusion
See https://stackoverflow.com/a/22745553/5487370
2020-02-25 09:41:22 +01:00
Mikkel Scheike b5954aca5b Danish translation
Added support for Danish
2020-02-07 12:35:47 +01:00
Amauri CHAMPEAUX b0d669a016
Merge pull request #398 from prudloff-insite/infobox-class
Don't use the same class for the disclaimer and tooltips
2020-02-05 11:37:46 +01:00
Amauri CHAMPEAUX 4d870d731d
Merge pull request #401 from nstCactus/patch-3
 Dispatch an event when a service is added.
2020-02-05 11:32:07 +01:00
nstCactus e58a6ab8d2 Dispatch an event when a service is added. 2020-01-29 20:00:29 +01:00
nstCactus f5df8620cc 🐛 Dispatch an event when a service is accepted
PR #363 introduced an event to detect when a service is accepted.
This is only dispatched when the page is loaded with the service
already accepted.

This commit ensures its also dispatched when the user click the
Allow button in the service engagement placeholder.
2020-01-29 19:22:00 +01:00
Pierre Rudloff b999f73c86 Don't use the same class for the disclaimer and tooltips 2020-01-27 15:41:59 +01:00
Amauri CHAMPEAUX da7272f60d Add a Deny all button on the middle bar 2020-01-20 16:54:22 +01:00
Carsten Meyer f2eb28fa0b
Add a bodyPosition param
For blind people, the cookie banner must appear first in the source code. For this reason a bodyPosition parameter with the default value "top" is specified to  manage #tarteaucitronRoot
2020-01-08 15:35:54 +01:00
Amauri CHAMPEAUX a8404b8389 Fix Chinese translation 2019-11-27 15:34:54 +01:00
Amauri CHAMPEAUX c7c231796b
Merge pull request #376 from prudloff-insite/useExternalJs
New useExternalJs option
2019-11-05 18:24:42 +01:00
Amauri CHAMPEAUX 08a585ae1a
Merge pull request #377 from prudloff-insite/true-false
Simplify true/false checks
2019-11-05 18:23:52 +01:00
Amauri CHAMPEAUX cc5eba4937 Partial add of Japan locale 2019-11-05 18:18:19 +01:00
Amauri CHAMPEAUX feb4477e3e Fix the background with the middle banner 2019-11-05 17:59:40 +01:00
Pierre Rudloff 79be5270e2 Simplify true/false checks 2019-10-31 16:51:08 +01:00
Pierre Rudloff b94a94f21a New useExternalJs option 2019-10-31 15:36:20 +01:00
Amauri CHAMPEAUX 8d86ad84e4 High privacy by default and new middle bar 2019-10-31 08:25:35 +01:00
Amauri CHAMPEAUX 9dfba82d98 Fix #236 2019-10-31 07:55:01 +01:00
Amauri CHAMPEAUX da584fe5b6
Remove the Wrapper, it break a lot of custom css 2019-10-30 09:44:28 +01:00
Amauri CHAMPEAUX ee2f2f4690
Merge pull request #363 from drobert8584/master
push event when service loaded
2019-10-29 17:34:36 +01:00
Amauri CHAMPEAUX 4f7f2be078
Update tarteaucitron.js 2019-10-29 17:00:33 +01:00
Amauri CHAMPEAUX 1dfda3889d
Merge pull request #372 from prudloff-insite/empty
Display a message when no services are enabled (fixes #368)
2019-10-29 16:57:46 +01:00
Amauri CHAMPEAUX 85a555fc0c
Update var for v. pro 2019-10-29 16:48:56 +01:00
Pierre Rudloff 3c3654750c Display a message when no services are enabled (fixes #368) 2019-10-21 17:26:40 +02:00
DrDam a7c96955e8 push event when service loaded 2019-09-26 09:29:56 +02:00
Cédric ffdda75c2c
Fix error with ie
"new Event" is not compatible with ie
2019-09-12 22:08:13 +02:00
Cédric 8d048bea87
Déplacer la correction de mainTop
Permet d'éviter un mainTop négatif.
2019-09-05 12:21:07 +02:00