Commit Graph
219 Commits
Author SHA1 Message Date
Thomas Weber af2a10bf9f Improve packaged project progress bar 2021-06-24 14:09:30 -05:00
Thomas Weber c030a1c786 Deep clone options
They could change while the packager is running, that's not ideal
2021-06-24 14:09:30 -05:00
Thomas Weber 4b69208573 Rename getProjectJSON to getProjectData 2021-06-24 14:09:30 -05:00
Thomas Weber 63cda3a7a6 Add zip-one-asset environment
Works like the old zip environment
2021-06-24 14:09:30 -05:00
Thomas Weber 51b221f4ce Rename "Progress bar color" 2021-06-24 14:09:30 -05:00
Thomas Weber 30b7d37720 Standalone fullscreen icon should use forground color 2021-06-24 14:09:29 -05:00
Thomas Weber 650defcc9f Fix fullscreen in Safari 2021-06-24 14:09:29 -05:00
Thomas Weber 1d83a744f8 Avoid async promise constructor anti-pattern 2021-06-24 14:09:29 -05:00
Thomas Weber ebbacea86f Reset cache when resetting options 2021-06-24 14:09:29 -05:00
Thomas Weber e58569d327 Ensure we aren't affected by https://bugs.webkit.org/show_bug.cgi?id=226547 2021-06-24 14:09:29 -05:00
Thomas Weber 6ef7c22ea8 Always have a bit of margin around modals 2021-06-24 14:09:28 -05:00
Thomas Weber a13d3f3cf1 Copy and paste video provider from scratch-gui 2021-06-24 14:09:28 -05:00
Thomas Weber bf0d9bae88 Throttle cloud variable updates 2021-06-24 14:09:28 -05:00
Thomas Weber 521d3d6afe Continue release preparations 2021-06-24 14:09:28 -05:00
Thomas Weber 630fb536bc Cloud manager should check overrides when receiving updates
If a cloud variable server sends an update for a variable that is overridden to use eg. local storage, the update should be ignored.
2021-06-24 14:09:28 -05:00
Thomas Weber 0d215a390c Add copyright notice to the generated projects 2021-06-24 14:09:27 -05:00
Thomas Weber a8b74e2c9b Add privacy-respecting analytics
optout by DNT or installing an adblocker
2021-06-24 14:09:27 -05:00
Thomas Weber c0964c5710 Add privacy policy 2021-06-24 14:09:27 -05:00
Thomas Weber e93ee1cce8 Change names of environments 2021-06-24 14:09:26 -05:00
Thomas Weber b8048b39e6 Allow project URL input to shrink without wrapping 2021-06-24 14:09:26 -05:00
Thomas Weber f67ab41d17 Cache busting for scaffolding.js, addons.js 2021-06-24 14:09:26 -05:00
Thomas Weber afccb775f8 Chrome's XHR progress event can't compute total with compression, so let's estimate it 2021-06-24 14:09:26 -05:00
Thomas Weber 6d104ccc33 Only set progress to 50% when the cache was actually hit 2021-06-24 14:09:26 -05:00
Thomas Weber 9e2a4cd98a Set type explicitly 2021-06-24 14:09:26 -05:00
Thomas Weber ff08c8d95d Better large asset progress bars 2021-06-24 14:09:25 -05:00
Thomas Weber 1e8953f010 Use a faster sha256 implementation
2700ms -> 600ms in Firefox on Linux
10000ms -> 600ms (!!!) in Safari on macOS
A bit unpredictable in chrome, not sure why
2021-06-24 14:09:25 -05:00
Thomas Weber 435447d6eb Always check checksum of assets, even when loaded from cache 2021-06-24 14:09:25 -05:00
Thomas Weber 27ef3d6905 Use indexed DB to cache large files longer and more reliably 2021-06-24 14:09:25 -05:00
Thomas Weber 018df89abc Loading screen should use background color 2021-06-24 14:09:24 -05:00
Thomas Weber f696272a7c Remove unused CSS selector 2021-06-24 14:09:24 -05:00
Thomas Weber 2885542baf Buttons don't have a color property 2021-06-24 14:09:24 -05:00
Thomas Weber c92ff88d56 Reduce unnecessary padding 2021-06-24 14:09:24 -05:00
Thomas Weber de6f12a2b1 Fix layout shift when changing from project ID to file 2021-06-24 14:09:24 -05:00
Thomas Weber 0bdecc1c06 Improve close modal button 2021-06-24 14:09:23 -05:00
Thomas Weber f0e2c6b65b Make sure browsers will display updated favicon 2021-06-24 14:09:23 -05:00
Thomas Weber d655d4b13c Credit fosshost 2021-06-24 14:09:23 -05:00
Thomas Weber 391a7ce7eb Update text 2021-06-24 14:09:23 -05:00
Thomas Weber d83a2fef83 Add more IMAGE_EXTENSIONS 2021-06-24 14:09:22 -05:00
Thomas Weber 9b4ed5d86d Generate better filenames 2021-06-24 14:09:22 -05:00
Thomas Weber 308dc08975 Fix packaging Scratch 2 projects with no variables 2021-06-24 14:09:22 -05:00
Thomas Weber cfb052670b Let project url input shrink when necessary 2021-06-24 14:09:22 -05:00
Thomas Weber 819050b539 Simplify asset loading tracking 2021-06-24 14:09:22 -05:00
Thomas Weber 4d1ba8e77c Update nw.js options 2021-06-24 14:09:22 -05:00
Thomas Weber ea8be9fc51 Fix compression progress bars 2021-06-24 14:09:21 -05:00
Thomas Weber 0e910a19cb Don't create useless extra worker when loading files 2021-06-24 14:09:21 -05:00
Thomas Weber a7e611f663 Remove unused dependency 2021-06-24 14:09:21 -05:00
Thomas Weber dd3c4ec541 Terminate workers when no longer needed 2021-06-24 14:09:21 -05:00
Thomas Weber d3eb6a0d95 Simplify 2021-06-24 14:09:21 -05:00
Thomas Weber 690939e2f6 Trim whitespace 2021-06-24 14:09:20 -05:00
Thomas Weber a71e14d74b Fiz zip environments 2021-06-24 14:09:20 -05:00