Commit Graph
607 Commits
Author SHA1 Message Date
GarboMuffin d65e0b6ce2 Remove test for feature that doesn't exist anymore 2023-06-18 18:51:45 -05: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
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
Thomas Weber 46acc81843 Merge branch 'develop' of https://github.com/llk/scratch-gui into develop 2022-05-26 14:52:02 -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
BryceLTaylor 32f00549bc remove unused test fixture 2022-05-24 17:47:07 -04:00
BryceLTaylor de44362f05 Remove test for corrupt png upload as sprite
We should just throw an error when a user uploads a corrupt png as a sprite.  We do not need to add a gray question mark in that case.
2022-05-24 17:33:40 -04:00
BryceLTaylor 5573577b1b Fix corrupt bitmap tests 2022-05-24 17:05:33 -04:00
BryceLTaylor f06a1af81b add missing/corrupt sprite loading tests 2022-05-24 16:57:12 -04:00
BryceLTaylor ac51aacd09 Add corrupt and missing bmp fixtures for integration tests 2022-05-24 16:57:12 -04:00
BryceLTaylor 9c8cf6536f Add missing/corrupt bmp in sb3 tests 2022-05-24 16:57:12 -04:00
Thomas Weber 4821acc9c5 Merge branch 'develop' of https://github.com/llk/scratch-gui into develop 2022-05-23 18:44:26 -05:00
Thomas Weber 42fb5b848a Merge branch 'develop' of https://github.com/llk/scratch-gui into develop 2022-04-30 16:37:32 -05:00
BryceLTaylor c7f2b8bfe6 Add a test loading a corrupt scratch2 svg as a costume 2022-04-25 16:36:14 -04:00
BryceLTaylor a1e94db32c Add test uploading a bad scratch2 produced svg as a sprite 2022-04-25 16:29:47 -04:00
BryceLTaylor d1473c0c08 Add tests that upload sprite2s with bad/missing svgs 2022-04-25 16:28:56 -04:00
BryceLTaylor 1e24b36867 Add integration tests that upload sb2 with bad/missing svgs 2022-04-25 16:27:41 -04:00
BryceLTaylor 60a0887cd3 add integration test loading a corrupt svg as a sprite 2022-04-04 14:38:09 -04:00
BryceLTaylor 53884c43b9 Add integration test loading a sprite3 with a corrupt svg 2022-04-04 14:38:09 -04:00
BryceLTaylor 613238b593 Add integration test loading a sprite3 with a missing svg 2022-04-04 14:38:09 -04:00
BryceLTaylor 69b73f55d0 Add integration test loading corrupt svg from scratch3 as a costume 2022-04-04 14:38:09 -04:00
BryceLTaylor f5c484659c Add integration test uploading project with corrupt svg
Includes a fixture, the project with the corrupt svg
Updates the name of an existing text in the same file in preparation for expanding tests later.
2022-04-04 14:38:09 -04: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 7faf579658 add test for loading project with missing svg costume
Includes a project in fixtures that has a missing costume
2022-03-22 15:53:10 -04:00
Thomas Weber 0150ce3eca Merge branch 'develop' of https://github.com/llk/scratch-gui into develop 2022-02-05 15:09:44 -06:00
Sarah Otts b6d65106da Merge branch 'develop' into ctx-menu-hide-option-clean-diff 2022-02-01 15:25:37 -05:00
Thomas Weber f94c013577 Migrate tw-project-info, tw-interface-customization addons 2021-12-15 15:27:12 -06:00
Thomas Weber cdebe6051f Merge branch 'develop' of github.com:LLK/scratch-gui into develop 2021-08-24 18:01:20 -05: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
Christopher Willis-Ford 0ce596db4f disable flaky test 'Creating new project resets active tab to Code tab' 2021-07-26 23:41:54 -07: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