Róbert Kiss
f5e05f19b6
chore: upgrade ts-lib => 1.10.0 ( #991 )
2019-07-26 12:33:06 +02:00
Róbert Kiss
cbccaba1c5
feat: Display/hide left keyboard half and merged/unmerged state ( #987 )
...
* feat: Display/hide left keyboard half and merged/unmerged state
* feat: improve the animation
* feat: decrease left fade animation time
2019-07-25 23:41:20 +02:00
Róbert Kiss
56ebfba8ad
chore: move @types/* dependencies to the root package.json ( #961 )
2019-06-02 22:21:05 +02:00
Róbert Kiss
82c9126d82
refactor: use Buffer.from and Buffer.alloc instead of new Buffer() ( #957 )
2019-05-29 21:56:01 +02:00
Róbert Kiss
e6495ded05
chore: upgrade node-hid => 0.7.8 ( #951 )
2019-05-22 23:27:40 +02:00
László Monda
427f706287
Rename {left,right}Addon to {left,right}Module
2019-05-15 23:35:05 +02:00
Róbert Kiss
1b59d96296
fix: don't show the udev setup info if udev v2 setup available ( #943 )
2019-04-30 03:05:03 +02:00
Róbert Kiss
f94b221ee9
feat: convert UdevRulesInfo to string enum ( #921 )
...
* feat: convert UdevRulesInfo to string enum
For easier log reading better to use string enum.
* fix typo
2019-02-24 22:04:46 +01:00
Róbert Kiss
3964698cf7
feat: kboot package ( #894 )
...
* feat: kboot package
* feat: kboot package
* fix: wait 1 sec after device is available
* test: fix unit test
* refactor: clean unused codes
* doc: improve readme.md
* doc: improve readme.md
* test: fix unit test
* chore: fix lint settings
* style: fix linting issues
2019-01-18 17:37:31 +01:00
Róbert Kiss
1eb8720305
chore: reorganize npm script ( #884 )
...
The goal is every package should be responsible to `lint`, `build` and
`test` commands. This modification helps to easier add new package to
the repository.
2018-12-22 02:20:38 +01:00
Róbert Kiss
58ee42fcc2
chore: unify tsconfig.json files ( #883 )
2018-12-22 00:46:17 +01:00
Róbert Kiss
1ed6669ced
fix: compare available devices by vid, pid, interface on linux ( #854 )
2018-11-13 21:44:22 +01:00
Róbert Kiss
1a9bd7de83
feat: show udev rules on missing device screen ( #842 )
...
* feat: show udev rules on missing device screen
* delete MissingDeviceComponent
* feat: change privilege and message device screen texts
* feat: change message device screen texts
* fix: load config from device
* fix: load config when hasPermission = true
* fix: load app start info after set permission rules
* fix: action dispatch
* fix: load config from device when UdevRulesInfo.Ok
* fix: load config from device when 0 device available
* feat: add extra space between the "old udev rule" and permission button
2018-11-09 01:30:40 +01:00
Róbert Kiss
b45d60efb2
feat: log USB device list before check permission ( #837 )
2018-10-22 07:34:14 +02:00
Róbert Kiss
42e413ab65
chore: upgrade node-hid => 0.7.3 ( #814 )
2018-10-07 22:29:10 +02:00
Róbert Kiss
8d161ce8ff
chore: upgrade Node.js => 8.12.0 ( #783 )
...
it's fix appveyor build
2018-09-16 21:17:40 +02:00
Róbert Kiss
a7d3b62512
chore: upgrade many dependencies and restructure tsconfigs ( #757 )
...
* chore: upgrade many dependencies and restructure tsconfigs
Summary:
- upgrade many dependencies
- remove dev dependencies from test-serializer and uhk-common
- created root tsconfig.json and test-serializer and uhk-common
tsconfigs extends it
- fixed e2e test
* chore: upgrade more dependencies
2018-08-22 00:34:16 +02:00
László Monda
ac7d66e338
Add keyboard shortcut for enabling the USB stack test mode of the firmware. Resolves #735 .
2018-07-26 05:34:48 +02:00
Róbert Kiss
3d59bcf97e
feat: Tweak unsupported Windows firmware update notification ( #705 )
...
* feat: Tweak unsupported Windows firmware update notification
* feat: Display firmware update status
* feat: throw error when left half not connected under firmware upgrade
2018-06-28 18:41:16 +02:00
Róbert Kiss
5234f85dbe
fix: close device when any error occurred in the communication ( #692 )
2018-06-24 18:59:13 +02:00
Róbert Kiss
c4d7318686
chore: make firmware update log shorter ( #675 )
...
* chore: add lodash to the roor package.json
* chore: make firmware update log shorter
2018-06-13 10:07:40 +02:00
Róbert Kiss
83b9f0d1e9
fix: blhost wrapper return with Promise.reject if error code !== 0 ( #669 )
2018-06-07 23:38:27 +02:00
tenteen
82b76a9455
Fix left half timeout during fw update ( #567 ) ( #626 )
...
The snooze call is skipped in the try block when the command throws an
exception. As a result, the command tries maxTry times as fast as
possible.
The fix is to move the snooze call outside of the try block.
PS: #GotMyUHK
2018-06-07 22:50:18 +02:00
László Monda
65ea786358
Don't include os.platform into the firmware update log because os.type makes it practically redundant.
2018-05-26 17:13:10 +02:00
László Monda
1035837b3b
Fix lint error.
2018-05-22 15:29:48 +02:00
Róbert Kiss
18fc2e6b3f
fix: permission detection when device not plugged ( #653 )
2018-05-22 15:11:43 +02:00
László Monda
cdf3caee9e
Display device list at the beginning of the firmware update process.
2018-05-22 01:53:14 +02:00
László Monda
0a4d3a002e
Include operating system type to the firmware update log. Add a new tip to the firmware page.
2018-05-22 01:16:02 +02:00
Róbert Kiss
ab8ae31324
fix: permission detection on linux ( #651 )
2018-05-21 11:46:19 +02:00
Róbert Kiss
609aba856a
fix: permission detection on win and mac ( #650 )
2018-05-21 11:00:57 +02:00
Róbert Kiss
653465f0e0
feat: device recovery mode ( #642 )
...
* add new page and ipc processing
* refactor: remove unused references from uhk.js
* feat: add device recovery route
* refactor: device permission
* feat: write firmware update log to the screen
* fix: xterm height
* feat: add reload button to the recovery page
* refactor: deviceConnectionState.hasPermission in appStartInfo
* refactor: use correct imports
* refactor: move .ok-button css class to the main style.scss
* feat: add bootload active route guard
* style: move RecoveryDeviceAction into new line
* feat: delete reload button
* feat: start device polling after device recovery
2018-05-19 17:22:46 +02:00
László Monda
eb97dd844f
Make the bootloader timeout of the reenumerate script specifiable.
2018-05-16 23:19:36 +02:00
László Monda
f29d64c803
Rename kbootKommandName to kbootCommandName.
2018-05-09 02:16:38 +02:00
László Monda
0385b0ce29
Simply write that the list of available devices is unchanged instead of always listing the devices.
2018-05-09 01:32:55 +02:00
Kristian Sloth Lauszus
04aa5236c2
The usage page and usage number was changed in 6f0b1adc14 ( #630 )
2018-05-06 21:38:40 +02:00
Róbert Kiss
13ec617d58
Make saving the configuration more robust ( #594 )
...
* feat: Make saving the configuration more robust
* parse backup user config before return
* fix some bug
* Add write-userconfig.js and invalid-config.bin
* throw exception if failed user config parsing
* Merge branch 'master' into feat-467-make-save-more-robust
* hide keymaps and macros if agent in restore mode
* fix Device name settings
2018-04-09 10:11:26 +02:00
Róbert Kiss
6ccf005750
feat: Handle privilege escalation gracefully even without PolicyKit ( #599 )
...
* feat: Handle privilege escalation gracefully even without PolicyKit
* build: upgrade tslint => 5.9.1
* build: add uhk-agent/package-lock.json
* feat: add error animation
* fix: display agent icon when user use ALT + TAB
2018-04-07 23:09:47 +02:00
Róbert Kiss
b25bc9d81d
feat: show firmware version of the device/modules on firmware page ( #589 )
2018-03-23 07:10:02 +01:00
Róbert Kiss
6c7232a5ba
feat(device): Make Agent able to unbrick bricked modules ( #577 )
2018-02-13 02:11:27 +01:00
László Monda
7c065f4368
Remove --buspal speed specification because it gets disrespected by the firmware anyways.
2018-01-14 22:13:31 +01:00
László Monda
2a3dfcb0d0
Improve firmware update messages.
2017-12-27 22:47:53 +01:00
László Monda
2b3462c33f
Display retry firmware update messages with regular color because they're not errors.
2017-12-27 22:38:07 +01:00
László Monda
bbb6839f7e
Fix Linux blhost path.
2017-12-25 21:48:41 +01:00
Róbert Kiss
c11658f1fc
fix(device): check privilege on Linux ( #519 )
...
* fix(device): check privilege on Linux
* device connected if also have permission
* fix rules sh path
* refactor permission detection
* fic hasPermission condition
* fix return value
2017-12-21 20:33:40 +01:00
László Monda
3967593c9c
Add get-module-state.js and the relevant device command id.
2017-12-15 02:58:51 +01:00
László Monda
3e7a0ed81a
Query the combined ConfigSizes device property. Remove the deprecated HardwareConfigSize and UserConfigSize device properties.
2017-12-14 19:40:03 +01:00
László Monda
622b19045a
Make write-hca.js work.
2017-12-13 02:56:08 +01:00
László Monda
2eb31603f1
Change the value of UsbCommandId_{GetDeviceState,SetTestLed,GetDebugBuffer,GetAdcValue,SetLedPwmBrightness}.
2017-12-12 18:49:40 +01:00
László Monda
6b60241180
Change the arguments of UsbCommandId_LaunchEepromTransfer and its id to 0x08.
2017-12-12 03:26:57 +01:00
László Monda
c296e6f49b
Change UsbCommandId_ApplyConfig to 0x07.
2017-12-12 02:15:57 +01:00