Commit Graph
94 Commits
Author SHA1 Message Date
picklesrus 0dd0fd8e7a Merge pull request #4537 from picklesrus/init-locale-vm
Fixes #4253 by telling the vm the langauge when it is initialized.  B…
2019-02-27 16:37:31 -05:00
Paul Kaplan d301794463 Add a way for GUI consumer to retrieve snapshots of the stage 2019-02-15 14:21:37 -05:00
picklesrus 1aa241749b Fix up the tests and add a couple checks. 2019-02-12 11:41:32 -05:00
Paul Kaplan 655a179cb8 Merge pull request #4417 from paulkaplan/throttle-costume-updates
Throttle costume and watermark updates
2019-01-23 16:24:01 -05:00
Paul Kaplan d9c5ad6aa4 Use curried style for HOC configuration 2019-01-23 15:56:23 -05:00
Paul Kaplan 0bc6de1362 Throttle updates to assets on sprite selector item via HOC
Adds unit tests for this HOC.
2019-01-23 14:30:41 -05:00
Paul Kaplan d3511f6020 Disable target updates while sound recording 2019-01-22 14:26:16 -05:00
Benjamin Wheeler 765e4bd74a Merge pull request #3937 from benjiwheeler/alert-text
use blue creating screen for new projects; revised alert text for copy/remix
2018-12-07 09:17:08 -05:00
Ben Wheeler da66dd9766 fixed tests 2018-12-06 14:47:24 -05:00
Benjamin Wheeler c7c64b1bff Merge pull request #3965 from benjiwheeler/handle-is-remixing2
handle the onRemixing prop from www
2018-12-06 13:41:09 -05:00
Paul Kaplan c0e105dd94 Bind vm project_start event to passed in onGreenFlag prop 2018-12-06 11:49:06 -05:00
Ben Wheeler 96fd7b0818 added tests for onRemixing 2018-12-06 08:41:02 -05:00
Paul Kaplan 09a22e061f Add an alert that is shown when you first add a cloud variable 2018-12-04 15:12:23 -05:00
Karishma Chadha 6bdf803028 Add unit test for new hasCloudPermission prop. Update existing tests. 2018-12-03 15:00:37 -05:00
Benjamin Wheeler bcca5bf1e8 Merge pull request #3856 from benjiwheeler/autosave-draft
autosave periodically when project is dirty
2018-11-28 19:28:09 -08:00
Ben Wheeler 5d36b584d0 make project saver tests pass; correct misnamed action 2018-11-28 19:08:58 -08:00
Ben Wheeler c326e3f073 made tests for autosaving on a schedule 2018-11-28 16:08:39 -08:00
Karishma Chadha 2ca51904b4 Clean up merge conflict resolution. 2018-11-28 18:37:55 -05:00
Karishma Chadha 9fc6d85ce6 Merge branch 'develop' into editor-cloud-disconnect 2018-11-28 18:27:32 -05:00
Ben Wheeler acdebc65da fixed test for auto saving 2018-11-28 15:14:33 -08:00
Karishma Chadha db57175a90 Connect to cloud if project has cloud data. Disconnect if it doesn't.
Queue up messages to send ot the cloud server which accumulate before 
the connection is ready. Add tests for new/updated functionality.
2018-11-28 17:07:34 -05:00
Karishma Chadha 143dd5e106 Add unit tests for disconnecting from cloud when viewing a project in editor mode without the ability to save. 2018-11-27 18:08:38 -05:00
Paul Kaplan f659dfbc3c Move the started flag to the vmStatus reducer 2018-11-27 15:00:34 -05:00
Paul Kaplan 59df9b6ca5 Do not auto-start the VM in player mode. Always start before green flag. 2018-11-27 11:25:04 -05:00
Karishma Chadha 9fe4bc50e7 Add unit tests for new renameVariable and deleteVariable APIs. 2018-11-20 15:09:40 -05:00
Karishma Chadha 162d61ae70 Merge pull request #3821 from kchadha/cloud-bugfixes
Cloud bugfixes
2018-11-20 13:44:55 -05:00
Karishma Chadha 7acaf1cb06 Merge pull request #3824 from kchadha/day-of-week-label-fix
Fix monitor label for day of week block.
2018-11-20 00:20:19 -05:00
Karishma Chadha 3545d3d097 Refactor shouldDisconnect logic and add more disconnection unit tests. 2018-11-20 00:14:10 -05:00
Benjamin Wheeler da976f4b2c Merge pull request #3776 from benjiwheeler/menu-bar-messages
menu bar save messaging; self-dismissing alerts
2018-11-19 17:53:50 -05:00
Paul Kaplan fed9ee518e Merge pull request #3818 from paulkaplan/reconnect-cloud
Add exponential backoff for cloud provider.
2018-11-19 15:53:05 -05:00
Karishma Chadha 340d368791 Set VM's cloud provider to null when disconnecting from the cloud server. Add unit test for disconnecting on unmount. 2018-11-19 13:16:38 -05:00
Paul Kaplan a6e4f1f436 Make sure to always wait at least 1 interval before reconnecting. 2018-11-19 12:29:47 -05:00
Paul Kaplan 2b92ff4e06 Be more careful about when connection attempt is incremented 2018-11-19 11:57:27 -05:00
Paul Kaplan 10b611ad8f Keep track of and log the real connection attempt number and update test 2018-11-19 10:17:45 -05:00
chrisgarrity fdfd9d64f2 re-refactor after fixing merge conflicts 2018-11-19 09:18:38 -05:00
Karishma Chadha 76f203d2a9 Fix monitor label for day of week block. Add unit tests for opcode-labels util. 2018-11-16 20:06:28 -05:00
Karishma Chadha b7cdbb3550 Add test for ensuring that cloud connection does not happen just because of a project id change. isShowingWithId must also be true. 2018-11-16 18:24:56 -05:00
Karishma Chadha eab9b74ff7 Fix issue where regular cloud variable messages were throwing uncaught Json parse errors because of a newline being at the end of the message. Add test that fails without the bugfix. 2018-11-16 18:15:04 -05:00
Paul Kaplan ca48afadb9 Add exponential backoff for cloud provider.
Uses randomized duration between [0, 2^k-1] where k is the connection attempt number, maxed out at 5.

I had to rework the tests quite a bit to make this easy to test, to work around the timeouts and the randomization.
2018-11-16 15:29:38 -05:00
Ben Wheeler 6e54aa8b68 revised tests 2018-11-15 17:12:22 -05:00
Paul Kaplan f98831e311 Support multiple commands from cloud data server 2018-11-15 16:49:15 -05:00
Paul Kaplan bb6eb6b36d Merge pull request #3749 from kchadha/create-cloud-var
Create cloud vars
2018-11-15 09:17:32 -05:00
Ray Schamp 70a622280f Fix tests 2018-11-15 11:22:40 +00:00
Karishma Chadha 4ecd312954 Add unit tests for cloud manager hoc. 2018-11-14 21:37:39 -05:00
chrisgarrity c9b87382db Merge pull request #3694 from chrisgarrity/feature/3643-all-tutorials
Start Gui with Tutorials Library open for HoC
Also export Tutorial Card initialization for www.
2018-11-12 10:12:07 -05:00
chrisgarrity 2e08c39213 Add tests 2018-11-08 11:18:13 -05:00
Ben Wheeler 82578d3d6f added tests for alerts 2018-11-08 08:02:30 -05:00
Ben Wheeler 7c1ecec840 got tests passing 2018-11-08 08:02:30 -05:00
Ray Schamp 554df59547 Merge pull request #3619 from paulkaplan/fix-cloud-backpack
Fix backpack crashing the GUI when trying to store a cloud variable
2018-11-08 10:16:52 +00:00
Paul Kaplan e453fe2c00 Fix problem with updating cloud vars to zero.
Added a unit test and covered the other case (not used) where you might be trying to update the index zero of a list
2018-11-05 15:17:40 -05:00