155 Commits
Author SHA1 Message Date
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
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
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 63d43fbc78 feat: apply color theme to extension categories and blocks 2023-02-24 09:37:26 -05:00
Andy O'Neill b2d4021455 feat: store color theme in state 2023-02-15 13:28:15 -05:00
Andy O'Neill 92e5e3f809 chore: add test for cloud-manager-hoc with video 2022-11-09 09:12:57 -05:00
GarboMuffin b1d8e8ee42 Disable intentionally broken test 2022-08-08 22:52:22 -05:00
Thomas Weber 534740d23e Fix code payload test 2022-05-30 17:18:15 -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 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 0484daace9 Fix tests 2021-05-19 11:11:05 -05:00
Thomas Weber 79838f42cb Fix test 2021-04-14 19:06:31 -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 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
Noam Yorav-Raphael 22cf3184c1 Make SortableHOC work properly in RTL mode 2020-07-22 19:18:35 +03: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
Benjamin Wheeler d82ed25b8a Revert "Revert "refactor SB* file uploader into top-level HOC"" 2020-02-11 12:05:36 -05: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
Benjamin Wheeler 97885c7518 Merge pull request #5198 from benjiwheeler/block-cloud-on-embed
simplify props of cloud-manager-hoc
2020-01-28 14:13:40 -05:00
Ben Wheeler a23dd3e349 shouldNotModifyCloudData into prop canModifyCloudData ; add defaultProps 2020-01-27 14:29:56 -05:00
Paul Kaplan 76f5cfe1cf Correctly return the sampleRate from the sample dropper 2020-01-09 12:12:41 -05:00
Paul Kaplan fcbf1b051b Make submitNewSamples async and use promises 2020-01-09 12:12:41 -05:00
Ben Wheeler a4e27112ab fixed typo 2020-01-06 15:11:18 -05:00
Paul Kaplan def5cdc450 Send keyCode if the key information is gone 2019-08-21 15:28:04 -04:00
Paul Kaplan 90b71ce5e5 Merge pull request #5039 from paulkaplan/fix-context-menu-after-drag
Fix issue where context menu wouldn't come back after dragging
2019-08-07 15:59:28 -04:00
Paul Kaplan b07c645124 Fix saving after recording a sound 2019-08-02 09:31:53 -04:00
rschamp 3c6bfe0607 Add Jest-specific linting rules
Adding this caught a couple of important things:
- The sound integration tests have a `.only` in them
- The project-saver-hoc tests had two tests with the same description, causing possible confusion if that test broke
2019-08-01 11:31:01 -04:00
Eric Rosenbaum 2890609053 Add unit test for audio effect adjustedTrim times 2019-07-30 11:38:52 -04:00
Paul Kaplan 227d747c72 Fix gestureInProgress after dragEnd to return the correct value
Fixes #5031, which is happening because the gestureInProgress call is still returning true after a drag ends.
2019-07-29 15:52:15 -04:00
Eric Rosenbaum d9409f0f0c Cleanup test 2019-07-22 17:48:25 -04:00
Eric Rosenbaum 40dc8487f4 Fix off-by-one error in reverse effect, add a test 2019-07-22 17:47:44 -04:00
Eric Rosenbaum 1e147e4397 Fix tests 2019-07-09 15:32:29 -04:00
Eric Rosenbaum fdd4b61d5d Revert and fix tests
This reverts commit 42ff50300cff7558fd03cdebb757eca8caf85199.
2019-07-09 15:32:29 -04:00
Eric Rosenbaum 0d88c7755b Update tests 2019-07-09 15:32:28 -04:00