Commit Graph
287 Commits
Author SHA1 Message Date
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
Benjamin Wheeler 560a057e15 Merge pull request #5444 from watilde/fix/audio-context
fix: initialize audio context only with user interaction
2020-06-10 11:40:03 -04:00
Chris Willis-Ford 952a584d74 Merge pull request #5434 from cwillisf/add-about-menu-button
Add about menu button
2020-05-20 11:15:51 -07:00
Daijiro Wachi c3b32570be fix: follow eslint rule 2020-05-19 22:45:59 +09:00
Daijiro Wachi f9183b954b test: add unit test for shared-audio-context.js 2020-05-19 22:34:42 +09:00
Benjamin Wheeler d0eb28f11c Merge pull request #5362 from benjiwheeler/project-state-tests
refactor onLoadedProject() creator to handle success==false consistently; add tests of project state action creators
2020-03-18 12:04:53 -04:00
apple502j f034dec5d0 Fix test 2020-02-28 23:00:06 +09:00
Ben Wheeler 2e11787ac5 test resulting projectId; add comments; fix params 2020-02-26 17:05:22 -05:00
Benjamin Wheeler d82ed25b8a Revert "Revert "refactor SB* file uploader into top-level HOC"" 2020-02-11 12:05:36 -05:00
Christopher Willis-Ford 2ebcd850d6 add unit tests for About button on menu bar 2020-02-10 13:49:54 -08:00
Benjamin Wheeler af4ad81811 Revert "refactor SB* file uploader into top-level HOC" 2020-02-06 11:33:03 -05:00
Ben Wheeler 48245be395 reverted project state changes in f2291d96 2020-01-30 14:18:13 -05:00
Ben Wheeler f2291d963c continuing sb file uploader refactor into hoc
draft of refactor to make custom confirm modal work for upload; need to further edit sb-file-uploader

Add support for custom confirm modal to sb-file-uploader

Show custom confirm modal when confirming project upload

got custom upload refactor of file upload working, and tested failure case

cleaned up debug code, make project file upload work

simplified logic around canceling file upload

removed old sb-file-uploader.jsx; fixed linter errors

reverted two components to use old strings, not shared

(can do that refactor another time)

removed unnecessary confirm container

removed stray comment

moved, updated sb file uploader tests, related project state tests

removed custom modal, to reduce scope of changes

sb file uploader test uses intl
2020-01-28 14:57:09 -05:00