Commit Graph

40 Commits

Author SHA1 Message Date
Andreas Awouters
b44f74a20a 119602: Port disabling of cookie popup from main 2025-06-30 11:54:20 +02:00
Tim Donohue
4353c57cd0 Fix Klaro translations by forcing Klaro to use a 'zy' language key which DSpace will translate
(cherry picked from commit 6076423907)
2024-11-08 20:13:18 +00:00
Yury Bondarenko
463bcb40e9 Remove stray console.log 2023-01-09 16:47:24 +01:00
Yury Bondarenko
a7a6d1b27a Fix Klaro i18n issue
Caused by a merge mistake in https://github.com/DSpace/dspace-angular/pull/1975
2023-01-09 16:47:05 +01:00
Yury Bondarenko
2ffd732a40 Merge remote-tracking branch 'origin/main' into w2p-96252_Reduce-main-bundle-size_Reorganize-shared-module_REBASE-ON-7.4 2022-12-08 16:19:41 +01:00
Yury Bondarenko
95d5a2ff74 96252: Make Klaro lazy-loaded 2022-12-08 16:15:50 +01:00
Tim Donohue
35171dbd48 Switch to Klaro without translation files. Update Klaro & add missing translation keys to i18n. 2022-10-27 16:02:28 -05:00
Tim Donohue
d66fdf42b1 Add lint rule banning wildcard imports. Fix existing ones where possible. 2022-10-27 16:02:24 -05:00
Yury Bondarenko
47ae04986d 96252: Make existing lodash imports tree-shakeable 2022-10-25 17:25:34 +02:00
Davide Negretti
3b7a830ffe [CST-6782] Hide cookie settings when verification is disabled 2022-10-04 15:37:04 +02:00
Davide Negretti
88d5f02df2 Merge branch 'main-gh4s' into CST-6782-refactor
# Conflicts:
#	src/app/shared/cookies/browser-klaro.service.spec.ts
#	src/app/shared/shared.module.ts
2022-09-29 22:15:28 +02:00
Giuseppe Digilio
f3f89b3dc1 [CST-6753] track Google Analytics statistic only if user accepts cookie consents 2022-09-27 21:47:15 +02:00
Vincenzo Mecca
4484c3ebbc [CST-6782] Fixed failing tests 2022-09-19 16:26:31 +02:00
Davide Negretti
36b8b8b61b Merge branch 'main-gh4s' into CST-6782-refactor
# Conflicts:
#	src/app/shared/cookies/browser-klaro.service.spec.ts
#	src/app/shared/cookies/browser-klaro.service.ts
2022-09-19 12:21:57 +02:00
Vincenzo Mecca
59ce1a9950 [#1816][CST-6565] Refactored methods & Tests
Test:
    - New tests for the use case of filtering analytics configuration;
    - Enhanced initialization of service with new google analytics service mock.
2022-09-14 16:03:02 +02:00
Davide Negretti
97a12cae47 [UXP-10] Notify unaccepted cookies - Fixes 2022-09-08 20:06:36 +02:00
Giuseppe Digilio
18dda8c44e Merge branch 'CST-6565' of bitbucket.org:4Science/dspace-angular into CST-6565
 Conflicts:
	src/app/shared/cookies/browser-klaro.service.ts
2022-09-08 17:24:45 +02:00
Giuseppe Digilio
606663dd76 [CST-6565] fix lint 2022-09-08 17:21:57 +02:00
Vincenzo Mecca
4f2f70f851 [CST-6565] Fixed linting 2022-09-08 17:20:45 +02:00
Davide Negretti
05784bfec6 [UXP-10] Fix remove Recaptcha from klaro config 2022-09-08 17:14:14 +02:00
Davide Negretti
0b7cf23e3f [UXP-10] Fix onInit script 2022-09-08 16:52:43 +02:00
Vincenzo Mecca
032a276494 [CST-6565] Fixed configuration loading
ref:
    - refactored property loading and mapping
    - refactored klaro initialisation
fix:
    - now initialisation waits for google-analytics api keys.
2022-09-08 16:42:10 +02:00
Giuseppe Digilio
877659a7c8 Merge branch 'main' into CST-6565
# Conflicts:
#	src/app/shared/cookies/browser-klaro.service.ts
2022-09-08 12:12:31 +02:00
Sufiyan Shaikh
b72b37a647 [UXP-10] remove configuration fixed 2022-09-02 14:43:59 +05:30
Sufiyan Shaikh
6d1d7c3611 [UXP-10] property check fixed 2022-09-02 14:43:43 +05:30
Sufiyan Shaikh
cacce82b0a [CST-6565] check fixed 2022-08-22 17:03:55 +05:30
Sufiyan Shaikh
53dcd48e98 [CST-6565] path and check fixes 2022-08-22 15:28:55 +05:30
Sufiyan Shaikh
bf48971047 [CST-6565] LYRASIS7: Cookie consent shows analytics usage also when GA is disabled 2022-08-09 15:10:59 +05:30
Jens Vannerum
4dcf6a345a 92701: Fix privacy string for klaro and add documentation 2022-08-05 13:12:52 +02:00
Jens Vannerum
f2e977c402 92701: Redirect / dead link fixes 2022-08-03 15:15:45 +02:00
Art Lowel
54d0569bab adapt klaro code to be compatible with v0.7 2020-12-15 15:18:41 +01:00
Giuseppe Digilio
20b5721e3c Fixed lint errors and add lint fix script 2020-12-04 10:32:46 +01:00
Giuseppe Digilio
79285b203b Changed to use TestBed.inject method instead of deprecated TestBed.get 2020-11-20 15:21:34 +01:00
lotte
d4027cc1d1 debounce for update requests 2020-09-08 09:13:17 +02:00
lotte
90f0597baa bugfix for users without metadata value for cookie 2020-09-08 09:13:17 +02:00
lotte
48ffb2105f added missing typedoc 2020-09-08 09:13:17 +02:00
lotte
8d29090f24 small fixes 2020-09-08 09:13:17 +02:00
lotte
c19f49fb96 added tests 2020-09-08 09:13:17 +02:00
lotte
19ca179e7a commit before rebase 2020-09-08 09:13:17 +02:00
lotte
f6e8448164 fixed SSR issue, added code for storing the users cookie consents and restoring them 2020-09-08 09:13:17 +02:00