Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EU Cookies Behavior Change #1447

Merged
merged 6 commits into from
Nov 5, 2019
Merged

EU Cookies Behavior Change #1447

merged 6 commits into from
Nov 5, 2019

Conversation

aaronmgdr
Copy link
Member

Description

Changes our opt out behavior to allow continued use of site even while opting out of tracking

Tested

by faking that my computer was in an EU country

Other changes

only start crash reporting if opt in has been given

Related issues

  • Fixes

Backwards compatibility

this is a breaking change for this expecting to be redirected to google.com when opting out

Key points

Disagreeing no longer redirects users away from site, instead it is noted that they responded and said not to track.

Agreeing: Cookies are set that they have responded to the consent form and tracking is enabled.

When tracking is enabled Segment and Sentry are both initialized.

If we `canTrack` they are agreed to on page load.

`canTrack` is defined as either the visitor NOT being identified as likely being in EU or being in EU and agreeing to being tracked.
* master: (61 commits)
  Remove locales as website is now just in English (#1050)
  Add MetadataURL to account struct (#1103)
  Allow validators to use any valid combination of gold commitments as stake (#885)
  Fix blockscout websocket jsonrpc url (#1096)
  [Wallet] Preliminary iOS support (#1098)
  [Wallet] Set security fee description translation in Spanish (#1097)
  Exclude generated in vscode file watcher setting (#1082)
  Update .env and .env.integration files (#1087)
  Allow a testnet to run without ethstats (#1085)
  Collect exchange rate time series using notification service (#1020)
  Return to preview view when Fee Education is closed (#1068)
  [Wallet] Pin Setup Flow v2 (#1054)
  Added a variable for electoral threshold (#1023)
  [celotool]Store .env config on GCS after deployment (#1086)
  Group size limit (#1035)
  Fix governance unit tests (#1084)
  Add getExchangeRate to ContractKit (#1083)
  [CLI]Unlock till the geth exits (#1070)
  Add Quorum and Refactor Governance (#430)
  Shuffle elected validators using block randomness (#1033)
  ...
Dont set allow cookie at all if opt out
Set responder cookie to expire within one day
* master: (128 commits)
  [Wallet] Add support for social wallet (Safeguards) import  (#1414)
  [Wallet] Implement new backup flows including social backup (#1399)
  Use validator set precompiles in Attestations (#1248)
  E2E Attestations test + various e2e improvements (#1417)
  Update Footer (#1331)
  [Wallet] New camera permission flow (#1398)
  [Wallet] Enable push notifications on iOS (#1389)
  [Wallet] Add Celo Lite toggle (UI only, zeroSync on/off in other PR) (#1369)
  Document npm inter-repo dependencies instructions (#1370)
  [wallet]Add more documentation on ZeroSync mode (#1367)
  [wallet]Add documentation for jndcrash (#1364)
  Point end-to-end tests back to master (#1372)
  Alfajores changes & comment on unlocking accounts (#1297)
  Reconfigure terraform local configuration during init to allow multiple envs (#773)
  Implement proof-of-stake changes (#1177)
  [Celotool] Update blockchain-api deploy script to automatically update faucet address (#1347)
  Allow most recently reporting oracle to report again (#1288)
  [wallet]Add documentation for ZeroSync mode (#1361)
  Fix Metadata registration during contract deploy (#1346)
  [Wallet] Enable firebase on iOS (#1344)
  ...
@codecov
Copy link

codecov bot commented Oct 23, 2019

Codecov Report

Merging #1447 into master will decrease coverage by 6.26%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1447      +/-   ##
==========================================
- Coverage   73.85%   67.58%   -6.27%     
==========================================
  Files         283      269      -14     
  Lines        7535     7982     +447     
  Branches      661      469     -192     
==========================================
- Hits         5565     5395     -170     
- Misses       1858     2481     +623     
+ Partials      112      106       -6
Flag Coverage Δ
#mobile 67.58% <ø> (-6.27%) ⬇️
Impacted Files Coverage Δ
packages/mobile/src/exchange/actions.ts 28.15% <0%> (-71.85%) ⬇️
packages/mobile/src/firebase/firebase.ts 20.89% <0%> (-15.69%) ⬇️
packages/mobile/src/exchange/reducer.ts 60% <0%> (-15%) ⬇️
packages/mobile/src/alert/reducer.ts 60% <0%> (-12.73%) ⬇️
packages/mobile/src/import/reducer.ts 42.85% <0%> (-12.7%) ⬇️
packages/mobile/src/utils/dynamicLink.ts 64.7% <0%> (-12.22%) ⬇️
packages/mobile/src/networkInfo/reducer.ts 60% <0%> (-11.43%) ⬇️
packages/mobile/src/home/reducers.ts 50% <0%> (-10%) ⬇️
packages/mobile/src/invite/JoinCelo.tsx 72.72% <0%> (-8.97%) ⬇️
packages/mobile/src/app/reducers.ts 33.33% <0%> (-8.78%) ⬇️
... and 273 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4593664...e4b5c97. Read the comment docs.

@cmcewen cmcewen removed their assignment Oct 30, 2019
@aaronmgdr aaronmgdr changed the title EU Cookies Behavior Chnage EU Cookies Behavior Change Nov 5, 2019
@aaronmgdr aaronmgdr added the automerge Have PR merge automatically when checks pass label Nov 5, 2019
@celo-ci-bot-user celo-ci-bot-user merged commit 3fb33e1 into master Nov 5, 2019
@celo-ci-bot-user celo-ci-bot-user deleted the aaronmgdr/biscuit branch November 5, 2019 19:22
aaronmgdr added a commit that referenced this pull request Dec 5, 2019
* master: (73 commits)
  Fix Ethstats Image reference (#1577)
  EU Cookies Behavior Change (#1447)
  [verifier] Upgrade to RN 61 (#1572)
  [Wallet] Update link styles and Implement VerificationEducationScreen (#1565)
  [wallet] Added native phone picker (#1310)
  [Wallet] Set up new verification screen skeletons (#1563)
  Bump e2e test migrate numbers where needed (#1567)
  [Wallet] Create new carousel component (#1555)
  [Wallet] Protect Backup Key and Safeguards with PIN (#1556)
  Increase ganache gas limit (#1569)
  Re-work locked gold requirements for validators and groups (#1474)
  Fix e2e on CI (#1537)
  Allow a specified address to disable/enable the Exchange  (#1467)
  Avoid re-encrypting key files with yarn keys:encrypt command (#1560)
  Support protocol hotfixing (#613)
  Point e2e tests back (#1562)
  Refactor to Accounts.sol (#1392)
  Add selectIssuers Transaction (#1327)
  [Wallet] Get React Native Hot Reloading Working (#1551)
  Unify to prefix messages for signing (#1473)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Have PR merge automatically when checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants