From 4e4a0c0fdcbfe694f080f5f5ed9bfaf3cb2e1ab4 Mon Sep 17 00:00:00 2001 From: Matt Godbolt Date: Thu, 31 Jul 2025 17:56:41 -0500 Subject: [PATCH] More changes --- etc/scripts/parsed-pug/parsed_pug_file.js | 2 +- static/generated/privacy.pug | 64 +++++++++-------------- 2 files changed, 27 insertions(+), 39 deletions(-) diff --git a/etc/scripts/parsed-pug/parsed_pug_file.js b/etc/scripts/parsed-pug/parsed_pug_file.js index 34a8ce354..4b3ee4e75 100644 --- a/etc/scripts/parsed-pug/parsed_pug_file.js +++ b/etc/scripts/parsed-pug/parsed_pug_file.js @@ -9,7 +9,7 @@ const path = require('path'); // just update the hash here. const expectedHashes = { cookies: '08712179739d3679', - privacy: '927087b3a3494681', + privacy: '037b6e16585b1135', }; function _execGit(command) { diff --git a/static/generated/privacy.pug b/static/generated/privacy.pug index bea77399c..1e08648a2 100644 --- a/static/generated/privacy.pug +++ b/static/generated/privacy.pug @@ -17,30 +17,30 @@ html(lang="en") | Thanks for your interest in what Compiler Explorer does with your data. Data protection is really | important to the Compiler Explorer team, and we want to be very clear about what we do with your data. - h4 Your data + h3 The short version ul - li #[strong Code] is stored temporarily while we compile it, then deleted within minutes. - li #[strong Shared links] store your code indefinitely if you create short URLs (full links don't store anything server-side). - li #[strong Web logs] contain semi-anonymised IP addresses, and are kept for up to one month. - li #[strong Error reports] - we may keep your code for up to a week if needed for debugging (you can opt out of this). - li #[strong Third parties] only receive data with your explicit consent. + li We compile your code then delete it from our servers. + li Short shared links store your code indefinitely if you choose to create them. + li We keep some logs to help run the service. + li We only share data with third parties with your explicit consent. - h4 How long we keep things + h3 How long we keep things ul - li #[strong Your source code] is usually deleted within minutes, or (unless you opt out) up to 1 week if we need it for debugging. - li #[strong Shared links] that use the shortened form are kept indefinitely (but can be deleted on request). - li #[strong Web logs] contain semi-anonymised IP addresses for up to 1 month. - li #[strong Amazon logs] contain full IP addresses for up to 1 month. - li #[strong Error reports] hold IP and browser info for up to 90 days. + li Your source code is usually deleted within minutes, or up to 1 week if we need it for debugging (unless you opt out). + li Short shared links are kept indefinitely. In emergencies these can be deleted on request. + li Web logs contain semi-anonymised IP addresses for up to 1 month. + li Amazon logs contain full IP addresses for up to 1 month. + li Error reports hold IP and browser info for up to 90 days. + li Cached compilation results are stored in memory and on disk, but can't be traced back to your original code. h3 Who we are p | Compiler Explorer was created by and is primarily administrated by | - a(href="mailto:matt@godbolt.org") Matt Godbolt + a(href="https://xania.org" target="_blank" rel="noreferrer noopener") Matt Godbolt | , along with a number of volunteers (including, but not limited to those listed in our " a(href="https://github.com/compiler-explorer/compiler-explorer/blob/main/AUTHORS.md" target="_blank" rel="noreferrer noopener") Authors @@ -53,25 +53,23 @@ html(lang="en") | | if you wish to help. - h3 Your data - - h4 What happens when you compile code + h3 What happens when you compile code p | When you compile, your browser sends your source code and compiler settings to our servers. We write your code | to a temporary file, run the compiler on it, and send the results back to your browser. p - | #[strong Your code is deleted within minutes.] As soon as compilation finishes, we clean up the temporary files. + | Your code is deleted within minutes. As soon as compilation finishes, we clean up the temporary files. p - | #[strong Exception for debugging:] If something goes wrong with Compiler Explorer itself (not your code, but our + | Exception for debugging: If something goes wrong with Compiler Explorer itself (not your code, but our | system), we might keep your code for up to a week to help us fix the problem. This only happens if you have the | "Allow my source code to be temporarily stored for diagnostic purposes" setting enabled (which it is by default). | You can disable this in Settings if you prefer. Only the Compiler Explorer team can access this, and we'll never | share your code with anyone else. - h4 How we speed things up (caching) + h3 How we speed things up (caching) p | To make repeated compilations faster, we cache the results. @@ -86,7 +84,7 @@ html(lang="en") | exceptional cases, Compiler Explorer administrators might be able to see these cached compilation results, but | there's no way for us to trace them back to the original source code. - h4 Short links + h3 Shared links p | If you choose to share your code using the "Share" dropdown, then the user interface state including the source code @@ -103,13 +101,10 @@ html(lang="en") | We switched to our own system in 2018, but when Google shut down goo.gl in 2025, we migrated any remaining old | links to ensure they keep working. - h4 Application, web and error logs + h3 Application, web and error logs p - | We keep two types of logs: - - p - | Web access logs contain semi-anonymised IP addresses but no other personal information. + | Web access logs contain semi-anonymised IP addresses (we remove parts of the IP address to make them less identifying) but no other personal information. | When you visit a long Compiler Explorer URL (the ones with #[code #] in them), your code | stays in your browser and isn't logged. If you visit a short URL we created (like #[code godbolt.org/z/abc123]), | then we can potentially retrieve your code from our logs. @@ -130,7 +125,7 @@ html(lang="en") | | to help us fix it. This keeps your IP address and browser information for up to 90 days. - h4 Executing your code + h3 Executing your code p | For certain configurations, we may support executing the results of your compilation on the Compiler Explorer @@ -138,7 +133,7 @@ html(lang="en") | both the Compiler Explorer site and other concurrently-processed requests from information leakage due to rogue | executions. - h4 Claude Explain + h3 Claude Explain p | The "Claude Explain" view sends your code and data to Anthropic, the makers of Claude. We always ask for consent @@ -146,7 +141,7 @@ html(lang="en") | Anthropic's own Privacy Policy, we use them as a "data processor", and so our own privacy policy applies to the | data. - h4 Cookies + h3 Cookies p | Compiler Explorer uses small pieces of information stored on your computer: Cookies and Browser Local @@ -160,8 +155,6 @@ html(lang="en") h3 Your rights and choices - h4 What you can control - p | You decide if and when to create shared links. In case of an emergency you can request | deletion by contacting us. @@ -177,8 +170,6 @@ html(lang="en") target="_blank" rel="noreferrer noopener") GitHub project page | . - h4 Data requests - p | If you have questions about your data or want to request deletion of a shared link, contact us at | @@ -188,12 +179,9 @@ html(lang="en") h3 Compiler Explorer and the GDPR p - | We comply with the EU's General Data Protection Regulation (GDPR) because: - - ul - li We don't collect or store permanently identifying personal information - li IP addresses in logs are semi-anonymised and deleted within one month - li Your source code is processed temporarily and then deleted + | We comply with the EU's General Data Protection Regulation (GDPR) because we don't store personal information + | long-term. IP addresses are semi-anonymised and deleted within one month, and your source code is processed + | temporarily and then deleted. h4 Name and contact details of the controller