322 Commits
Author SHA1 Message Date
Muffin 75b1a6f9d2 Update addons including fullscreen settings migration 2024-03-16 21:25:53 -05:00
Muffin 68954fa6bd Implement addon setting conditions with multiple allowed values 2024-03-16 21:12:41 -05:00
Muffin adc2a03959 Fix addon setting store tests 2024-03-16 21:10:17 -05:00
Muffin 7f4b4fb9d3 merge-upstream: Initial merge of upstream/develop. Compiles but very broken. 2023-12-22 19:26:58 -06:00
Christopher Willis-Ford 87b86b661c test: let web-audio-test-api resume
Without this change, `web-audio-test-api` can throw like this:

```
TypeError: Failed to execute the 'transitionToState' on 'AudioContext'

not enabled
```
2023-10-13 16:49:42 -07:00
Muffin 4f1d25556d Disable cloud manager tests as they are hopelessly broken 2023-08-28 00:45:09 -05:00
Muffin e0f5aeb6b3 Add cloud variable region switcher 2023-08-28 00:44:57 -05:00
GarboMuffin d65e0b6ce2 Remove test for feature that doesn't exist anymore 2023-06-18 18:51:45 -05:00
Andy O'Neill 40e2080580 Merge branch 'develop' into feature/color-contrast 2023-05-08 15:50:26 -04:00
Andy O'Neill 0b15a41c8f test: unit test for toggle-buttons 2023-04-18 17:17:09 -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 ee1deb86a8 test: add unit tests for updating block icons 2023-03-23 10:22:43 -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
Andy O'Neill b1c6ac2721 test: add tests for theme picker 2023-03-10 11:14:46 -05:00
Andy O'Neill f61402d84e test: create a test for updating extension category colors 2023-02-27 12:08:34 -05:00
Andy O'Neill d2c5d6211c chore: use constant for default theme 2023-02-24 09:52:41 -05:00
Andy O'Neill 63d43fbc78 feat: apply color theme to extension categories and blocks 2023-02-24 09:37:26 -05:00
Andy O'Neill 563dffb34a feat: color theming for monitors based on block category 2023-02-23 16:37:48 -05:00
Andy O'Neill b2d4021455 feat: store color theme in state 2023-02-15 13:28:15 -05:00
Christopher Willis-Ford 79a25ff5d3 fix: remove Sentry and add ErrorBoundary tests 2023-01-27 08:34:50 -08:00
GarboMuffin 408768307f addons: Fix inaccurate test name 2023-01-03 00:56:43 -06:00
GarboMuffin 10baaf78b4 addons: Move 'if' parsing to SettingsStore
Addon API and settings page both had their own implementation. Now there
is one single implementation that is thoroughly tested.
2023-01-03 00:11:17 -06:00
GarboMuffin 8fc3728e55 addons: Add migration for editor-devtools split 2022-12-30 13:54:11 -06:00
Andy O'Neill 97dc338b5a test: mock toolboxXML for monitor-list test 2022-12-01 09:55:27 -05:00
Andy O'Neill 92e5e3f809 chore: add test for cloud-manager-hoc with video 2022-11-09 09:12:57 -05:00
GarboMuffin 7bba1e2997 Remove color alpha in imported addon settings
https://github.com/TurboWarp/scratch-gui/issues/618#issuecomment-1263547747
2022-10-04 15:53:42 -05:00
GarboMuffin 4793777b8f Merge branch 'develop' of https://github.com/LLK/scratch-gui into develop 2022-09-23 22:54:18 -05:00
Maximouse 2409e6d6ab Update snapshot 2022-08-31 10:51:37 +02:00
GarboMuffin b1d8e8ee42 Disable intentionally broken test 2022-08-08 22:52:22 -05:00
GarboMuffin 21a102a174 Update sound-editor.test.jsx 2022-08-08 02:40:55 -05:00
GarboMuffin 2b58c19822 Update snapshots 2022-08-08 01:10:38 -05:00
GarboMuffin f15b05f735 Show a notice if the sound is in stereo 2022-08-05 17:42:09 -05:00
Thomas Weber 17e4b077b4 Update addons to 1.27.0: part 1
Internal addon settings storage version changed from 2 to 3
A migration was added for hide-flyout default setting changes
hide-flyout is still missing some style updates for dark mode & brand color
2022-07-15 01:42:09 -05:00
Thomas Weber de5359b674 Extract real extension URL from scratchx.org URLs 2022-07-09 22:02:29 -05:00
Thomas Weber 534740d23e Fix code payload test 2022-05-30 17:18:15 -05:00
Thomas Weber 9361035fbf Update sound editor snapshot test 2022-05-28 21:11:29 -05:00
GarboMuffin bf8fc9d410 Temporary project token implementation (#523)
* Temporary hack for project tokens

* Temporarily disable broken tests

* If request for metadata fails, try to continue anyways
2022-05-24 19:13:49 -05:00
Thomas Weber f94c013577 Migrate tw-project-info, tw-interface-customization addons 2021-12-15 15:27:12 -06:00
Thomas Weber 134f848913 Never save remote addon settings 2021-08-13 21:24:23 -05:00
Thomas Weber 58f4e4eb04 Make sure parseUrlParameter doesn't error on strange inputs 2021-08-13 21:20:01 -05:00
Thomas Weber 27b3d449d4 Add ?addons= URL parameter (#70) 2021-08-13 21:10:43 -05:00
Thomas Weber bf24086618 Move a upstream-meta and translators to addons/generated 2021-07-23 18:49:01 -05:00
Thomas Weber 11cd5fc903 Anonymize random player1234 usernames on the client side
To marginally improve user privacy, the random digits of "player1234" usernames will not be sent to the remote server.
The server alreay anonymizes these in the logs, but it's best to not send them in the first place.
2021-07-22 01:16:55 -05:00
Thomas Weber a1170bccdb Remove tests that rely on specific reloadRequired values
These tend to change quite often
2021-07-14 19:19:01 -05:00
Thomas Weber 82c5d28b31 Ignore addon settings changes if version does not match 2021-05-26 07:46:51 -05:00
Thomas Weber 882ca54e16 Fix test 2021-05-26 07:44:26 -05:00
Thomas Weber 4112f0f009 Fix addon settings reset live reload 2021-05-24 17:32:55 -05:00
Thomas Weber d98387cbb0 Make addon settings more resilient to weird stores
It might be possible that the addon settings page has a different version of addons than the editor
2021-05-21 18:31:38 -05:00
Thomas Weber f20d3e803a Addon dynamic enable/disable 2021-05-19 19:39:40 -05:00