Commit Graph
593 Commits
Author SHA1 Message Date
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
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