Commit Graph
299 Commits
Author SHA1 Message Date
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
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
Thomas Weber 6e8e8493ac Only emit addon setting change event on addons where the settings actually changed (#191) 2021-05-19 18:44:38 -05:00
Thomas Weber 0484daace9 Fix tests 2021-05-19 11:11:05 -05:00
Thomas Weber a3da10d4c0 Update addon settings tests 2021-04-20 15:38:16 -05:00
Thomas Weber 79838f42cb Fix test 2021-04-14 19:06:31 -05:00
Thomas Weber b0cf4efcc4 Write addon settings localStorage tests 2021-04-08 18:03:21 -05:00
Thomas Weber 773f1bb8ba Test that applying a preset resets all settings 2021-04-08 17:47:22 -05:00
Thomas Weber b893e2d42b Test that setting values to null actually removes them from storage 2021-04-08 17:45:26 -05:00
Thomas Weber 56a5ab81d2 Fix some SettingsStore bugs and improve tests 2021-04-07 15:35:58 -05:00
Thomas Weber 80d664a8cc Write tests for addons SettingsStore 2021-04-07 15:26:42 -05:00
Thomas Weber f589ee5716 Fix vm-listener-hoc tests 2021-03-21 11:18:42 -05:00
Thomas Weber c4d78848a6 Fix cloud provider test 2021-03-20 14:35:10 -05:00
Thomas Weber af8f54727b Merge branch 'develop' of https://github.com/llk/scratch-gui into develop 2021-02-19 22:55:48 -06:00
Paul Kaplan 875bee35f1 Update to eslint-config-scratch@6.0.0 and associated fixes 2021-02-10 08:54:15 -05:00
Thomas Weber f1a281eb99 Fix the test instead of disabling it 2021-01-30 16:47:35 -06:00
Thomas Weber e7f55c5978 Disable broken test 2021-01-30 16:43:43 -06:00
Thomas Weber 64c9aa332e Add a test to ensure typical exit codes do not trigger invalid username 2021-01-13 15:33:59 -06:00
Thomas Weber 229e5844de Add test for cloud code 4002 2021-01-12 22:31:25 -06:00
Thomas Weber 339c709c5b Get unit tests to mostly work, disable ones that can't seem to work (temporarily, I hope) 2021-01-12 21:35:54 -06:00
Ray Schamp b52376ac2e Merge branch 'develop' into revert-5437-revert-4809-refactor-file-uploader 2021-01-11 14:49:04 -05:00
chrisgarrity 23605ead86 Merge pull request #5482 from apple502j/fullscreen-space
Ignore sound editor keyboard shortcut on fullscreen stage
2020-11-13 15:53:07 -05:00
Benjamin Wheeler 49e7ca7471 Merge pull request #4542 from towerofnix/better-shareBlocksToTarget
Position blocks added from "share the love" within the viewport
2020-08-18 16:11:07 -04:00
Ben Wheeler bd73f83172 default blocks editor zoom level; other minor corrections 2020-08-17 15:22:49 -04:00
Noam Yorav-Raphael 22cf3184c1 Make SortableHOC work properly in RTL mode 2020-07-22 19:18:35 +03:00