183 Commits
Author SHA1 Message Date
Thomas Weber db3c7567f2 Add build-time environment variable for enabling windchimes
Disabled by default for development where those requests
get blocked by CORS and are just noise.
2025-09-28 15:14:00 -05:00
Muffin 8eadf41e81 Treat .hex same as other assets 2025-01-23 21:56:52 -06:00
Thomas Weber 11fbd4472c Fix some minor eslint errors 2024-11-02 23:52:27 -05:00
Thomas Weber 78e06ca9dd Update cache epoch to match what production has used since August 2024-11-02 22:25:57 -05:00
Muffin 09856623e8 Remove unused code 2024-08-20 00:14:36 -05:00
Muffin c4d12b2484 Use subdirectory instead of hyphen for cache epoch
Simplifies backend's cache-control header logic a bit if we keep everything in js/
The epoch is now a word so we can put easter eggs in there
2024-08-19 22:18:32 -05:00
Muffin 9eb1121933 Invalidate all old HTTP caches 2024-08-19 17:33:53 -05:00
Muffin fad062ab76 Remove ANNOUNCEMENT system that hasn't been used in years 2024-06-21 01:25:24 -05:00
veggiecan0419 c7d905b1de Disable host check (#906) 2024-03-09 00:08:10 -06:00
Muffin 2792799c7f Convert .ttf and .otf fonts to .woff2
woff2 is a much more efficient format
2024-02-03 21:59:52 -06:00
Muffin 183c1f4b3e Remove offline support from service worker :(
Our implementation is unreliable at best and has not been maintained for years. Unfortunately
errors in the service worker mean the website becomes completely unusable:
https://www.reddit.com/r/turbowarp/comments/1af999t/turbowarp_not_loading/
https://www.reddit.com/r/turbowarp/comments/198nv96/it_crashed_the_reloaded_now_its_loading/

The service worker's cache is also a security vulnerability because a malicious unsandboxed
extension can access window.caches and insert malicious code to be served by the service
worker. This enables persistence. That's not good. (An unsandboxed extension can't register
a service worker on its own)

We still keep one around for PWA reasons, but no caching at all.

Moving forward we should:
- promote the desktop app a bit more
- offer standalone .html files, like the packager
2024-02-03 01:21:00 -06:00
Muffin f8ad10c55d Fix various eslint errors 2024-01-24 15:20:34 -06:00
Muffin a1bfb8ded4 Add better splash page for editor 2024-01-11 03:21:08 -06:00
Muffin 178524d5c9 merge-upstream: Update ejs templates 2024-01-10 01:32:49 -06:00
Muffin a837663e36 merge-upstream: rewrite the theme system 2024-01-09 00:17:47 -06:00
Muffin ef57d18c31 merge-upstream: making it easier to change branding 2023-12-29 03:18:20 -06:00
Muffin 458fed2877 merge-upstream: fix some broken icons 2023-12-24 18:40:50 -06:00
Muffin bf925b1870 merge-upstream: Fix high contrast icons 2023-12-22 21:33:42 -06:00
Muffin 7f4b4fb9d3 merge-upstream: Initial merge of upstream/develop. Compiles but very broken. 2023-12-22 19:26:58 -06:00
Andy O'Neill eb120b1c30 Merge branch 'develop' into beta 2023-06-20 13:09:32 -04:00
Christopher Willis-Ford 6b13316778 style: make webpack.config.js compliant with our ES6 lint rules 2023-06-05 07:49:11 -07:00
Christopher Willis-Ford 7a94d619a4 feat: actually update micro:bit, avoid 'firmware' term 2023-06-05 07:49:11 -07:00
Andy O'Neill cfab4a2c9e feat: prepare for color theme beta release
BREAKING CHANGE: use purple as accent color across the editor
2023-05-09 13:04:47 -04:00
Andy O'Neill 40e2080580 Merge branch 'develop' into feature/color-contrast 2023-05-08 15:50:26 -04:00
Andy O'Neill f8acdaea4e chore: update how theme images are stored and served 2023-03-27 11:54:55 -04:00
Andy O'Neill 0dca3bfe28 feat: use high contrast icons 2023-03-23 10:22:43 -04:00
picklesrus c1064d5381 feat: bring back cat blocks 2023-03-17 10:42:23 -04:00
Christopher Willis-Ford 79a25ff5d3 fix: remove Sentry and add ErrorBoundary tests 2023-01-27 08:34:50 -08:00
Thomas Weber 5d1b188581 Replace monetization meta tag config with generic meta tag config 2022-07-13 20:33:53 -05:00
Thomas Weber 7c9af18fc6 Experiment with meta monetization tag 2022-07-09 00:57:17 -05:00
Thomas Weber 9541c78a08 Remove plausible leftovers 2022-07-08 22:09:32 -05:00
Thomas Weber 25bc502f0c Fix build as library 2022-05-21 16:54:03 -05:00
Thomas Weber 1b18d9227d Don't try to copy extension worker
The Worker-based extension sandbox is no longer used
2022-03-31 14:53:38 -05:00
Thomas Weber 1aa3a862b0 Merge branch 'develop' of https://github.com/llk/scratch-gui into develop 2022-03-31 14:46:55 -05:00
BryceLTaylor 5fa1b9cc7c update copy-webpack-plugin to 6.4.1
This is as far as you can go before updating to webpack 5
Requires a change to how the plugin is called.
2022-03-02 13:45:52 -05:00
Thomas Weber 703991f326 Enable compression in webpack dev server 2021-08-15 13:42:58 -05:00
Thomas Weber 608dc1e6ac Remove editoronly
It was an experiment that did not go anywhere
2021-07-08 01:51:40 -05:00
Thomas Weber 7a8a5da4b6 Add editoronly mode 2021-07-01 14:14:46 -05:00
Thomas Weber ee8361bf50 Gate service worker behind environment variable 2021-06-03 14:57:26 -05:00
Thomas Weber b9001df023 Offline support 2021-06-02 20:17:21 -05:00
Thomas Weber b0e2c09d63 Don't explicitly list babel plugins
Let preset-env figure it out. We shouldn't be wasting time downleveling syntax for browsers we don't support.
2021-03-28 12:00:57 -05:00
Thomas Weber bcefc91a65 Remove embedgpl 2021-03-25 15:06:28 -05:00
Thomas Weber c141c20573 Addons should use simple template 2021-03-07 20:47:01 -06:00
Thomas Weber ad2982ea2f Improve the credits page 2021-03-07 20:42:22 -06:00
Thomas Weber 9cc871262d Create a credits page 2021-03-07 20:01:53 -06:00
Thomas Weber 6c5cb59c5a Add embedgpl, it's like embed but it loads GPL code (addons) 2021-03-05 13:05:47 -06:00
Thomas Weber a9405f0961 Fix ANNOUNCEMENT escaping 2021-03-01 17:07:07 -06:00
Thomas Weber 1c0a8da376 Update webpack config 2021-02-27 20:39:19 -06:00
Thomas Weber 41164d4dc9 Replace scratch-render-fonts with something that loads fonts from files 2021-02-27 20:39:12 -06:00
Thomas Weber 1d2296eb81 Use our TextEncoder shim universally 2021-02-27 20:01:22 -06:00