Commit Graph
57 Commits
Author SHA1 Message Date
David Lechner 7ba99d62bb github: make lftp verbose
also move the install to a separate step so it is easier to read the logs
2020-05-20 16:58:50 -05:00
David Lechner 1a57031dd7 github: drop cache
this doesn't seem to speed things up much, so let's remove it for now
2020-05-20 16:58:50 -05:00
David Lechner 19d9d9c29f github: rename CI test job ID
This conflicts with the ID in build-dev.yml
2020-05-20 16:46:35 -05:00
David Lechner 0171255be9 fix lint error 2020-05-20 16:30:39 -05:00
David Lechner 8a90acde8b add script for code coverage
It is not easy to remember --watchAll=false

https://github.com/facebook/create-react-app/issues/6888
2020-05-20 16:30:39 -05:00
dependabot-preview[bot] 9257053905 Bump @testing-library/user-event from 7.2.1 to 10.3.2
Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 7.2.1 to 10.3.2.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Commits](https://github.com/testing-library/user-event/compare/v7.2.1...v10.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 15:06:04 -05:00
dependabot-preview[bot] 69a0175d5f Bump @testing-library/react from 9.5.0 to 10.0.4
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 9.5.0 to 10.0.4.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v9.5.0...v10.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 15:00:06 -05:00
David Lechner 90817a1ae7 github: add CI for pull requests
and hacks to get tests working
2020-05-20 14:52:45 -05:00
dependabot-preview[bot] cde8d6b764 Bump @types/jest from 24.9.1 to 25.2.3
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 24.9.1 to 25.2.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 13:19:32 -05:00
dependabot-preview[bot] 83460fd786 Bump node-sass from 4.14.0 to 4.14.1
Bumps [node-sass](https://github.com/sass/node-sass) from 4.14.0 to 4.14.1.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.14.0...v4.14.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 13:19:01 -05:00
David Lechner 01374b6890 update for react-dropzone API change 2020-05-20 13:08:34 -05:00
dependabot-preview[bot] abff0e58b9 Bump react-dropzone from 10.2.2 to 11.0.1
Bumps [react-dropzone](https://github.com/react-dropzone/react-dropzone) from 10.2.2 to 11.0.1.
- [Release notes](https://github.com/react-dropzone/react-dropzone/releases)
- [Commits](https://github.com/react-dropzone/react-dropzone/compare/v10.2.2...v11.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 13:08:34 -05:00
dependabot-preview[bot] c4e1aa95c1 Bump @typescript-eslint/parser from 2.30.0 to 2.34.0
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 2.30.0 to 2.34.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v2.34.0/packages/parser)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 13:00:01 -05:00
dependabot-preview[bot] 88d9ffa762 Bump @types/react-redux from 7.1.7 to 7.1.9
Bumps [@types/react-redux](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-redux) from 7.1.7 to 7.1.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-redux)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 12:59:20 -05:00
dependabot-preview[bot] 9837fb9e7c Bump react-transition-group from 4.3.0 to 4.4.1
Bumps [react-transition-group](https://github.com/reactjs/react-transition-group) from 4.3.0 to 4.4.1.
- [Release notes](https://github.com/reactjs/react-transition-group/releases)
- [Changelog](https://github.com/reactjs/react-transition-group/blob/master/CHANGELOG.md)
- [Commits](https://github.com/reactjs/react-transition-group/compare/v4.3.0...v4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 12:58:46 -05:00
dependabot-preview[bot] ad0af8a69f Bump typescript from 3.7.5 to 3.9.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.7.5 to 3.9.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v3.7.5...v3.9.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 12:57:44 -05:00
Laurens Valk 93e0bf8902 hub: check response to size message
The hub responds to every message with a checksum. The mpy size message is no different, so we need to read it.

This fixes the checksum messages being out of sync by one.
2020-05-08 12:08:25 +02:00
David Lechner a44e97f4a3 terminal resizing 2020-05-04 22:08:44 -05:00
David Lechner fce6b25e0b github: build and publish master branch 2020-05-04 16:32:47 -05:00
David Lechner 02d4726092 update to @pybricks/mpy-cross-4 v2
v2 allows us to pass the mpy-cross options from the firmware to the
mpy-cross compiler.
2020-05-04 14:05:18 -05:00
David Lechner 9a64e68c60 hub: change size to little-endian
firmware now expects little endian checksum
2020-05-04 12:03:34 -05:00
David Lechner c7b7162693 implement flashing firmware from new zip format 2020-05-02 14:40:18 -05:00
David Lechner 9d545f8f5c add polyfill for new Web Bluetooth methods 2020-05-01 21:37:45 -05:00
David Lechner 0a50ebddd7 bootloader: add withResponse option
This takes advantage of new (not implemented yet) Web Bluetooth APIs to write with or without response
2020-05-01 21:11:01 -05:00
David Lechner 70e5da1b42 update @pybricks/mpy-cross-4
older versions were broken (missing files)
2020-05-01 20:23:11 -05:00
David Lechner 3b8706c8a4 yarn upgrade 2020-05-01 19:41:15 -05:00
David Lechner 03dba3ab9a use published @pybricks/mpy-cross-4 package 2020-05-01 19:13:17 -05:00
David Lechner 13a2b271b0 remove debug code
This was just there for debugging and forgot to remove it before pushing.
2020-04-20 17:25:33 -05:00
David Lechner b1e99e0582 implement notifications 2020-04-20 13:57:58 -05:00
David Lechner cf5d801a9a enable progressive web app 2020-04-19 17:54:44 -05:00
David Lechner 530f164af1 alphabetize imports 2020-04-19 15:53:28 -05:00
David Lechner 1a7d76d0df delete old folder 2020-04-19 14:42:57 -05:00
David Lechner a753fd77a7 wire up flash button 2020-04-18 21:58:03 -05:00
David Lechner 629fbb928d wire up repl button 2020-04-17 17:24:10 -05:00
David Lechner 18417cb37c wire up stop button 2020-04-17 17:16:23 -05:00
David Lechner 454475980a wire up run button 2020-04-17 16:57:51 -05:00
David Lechner 232a8f5db5 supress cryptic error message 2020-04-17 00:55:29 -05:00
David Lechner 2772e76a62 clean up import order 2020-04-17 00:39:09 -05:00
David Lechner c7c11f0040 fix bluetooth stuck in connecting state after cancel 2020-04-17 00:07:15 -05:00
David Lechner a67656def6 wire terminal to ble 2020-04-16 23:58:35 -05:00
David Lechner b4d81fd3e5 implement bluetooth connect using redux 2020-04-16 19:09:50 -05:00
David Lechner 0a50055574 add status bar 2020-04-15 19:29:01 -05:00
David Lechner 060c32e8a6 fix up terminal layout 2020-04-15 19:15:12 -05:00
David Lechner b155e45d8c add editor back in 2020-04-15 17:39:01 -05:00
David Lechner 1a72fc275b basic toolbar using bootstrap 2020-04-15 16:43:37 -05:00
David Lechner 4711d5bceb remove buttons 2020-04-15 12:57:32 -05:00
David Lechner 5bbe820c68 add react-bootstrap package 2020-04-15 12:50:25 -05:00
David Lechner e8b5739447 add optionalServices
this fixes a secruity permission issue on chromimum on ubuntu
2020-04-13 13:33:45 -05:00
David Lechner af19990890 add stop and repl buttons 2020-04-13 13:06:00 -05:00
David Lechner 60977ff33a firmware flasher 2020-04-12 16:05:42 -05:00