László Monda
c553c7b63b
Rename erase-hca.js to erase-hardware-config.js
2018-05-19 21:33:12 +02:00
László Monda
e5988aa800
Rename write-hca.js to write-hardware-config.js
2018-05-19 21:32:15 +02:00
László Monda
ae319c607f
Rename write-userconfig.js to write-user-config.js
2018-05-19 21:14:48 +02:00
László Monda
5d23ad1c9e
Fix write-hca.js and write-user.js, and remove write-config.js. Fixes #627 .
2018-05-19 20:59:11 +02:00
László Monda
55eef50da7
Add erase-hca.js
2018-05-19 20:05:41 +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
2cf8044987
Check the signature of the hardware configuration area instead of uniqueId.
2018-05-19 14:07:18 +02:00
László Monda
3c056a7255
Display "Invalid hardware configuration" when the hardware configuration area is uninitialized instead of a general error message. Improves #623 .
2018-05-19 13:38:16 +02:00
Róbert Kiss
091796d13c
feat: not allow non ascii character in macro action text ( #645 )
2018-05-17 23:56:36 +02:00
László Monda
eb97dd844f
Make the bootloader timeout of the reenumerate script specifiable.
2018-05-16 23:19:36 +02:00
Róbert Kiss
7c7ce8f50f
feat: only send auto update notification when user indicated the update ( #640 )
...
* feat: only send auto update notification when user indicated the update
* fix: add more logging to the auto update process
2018-05-16 22:05:13 +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
László Monda
88c16af4a9
Merge branch 'master' of github.com:UltimateHackingKeyboard/agent
2018-05-08 17:17:36 +02:00
László Monda
05ac9a6832
Clarify the content of the tooltop regarding non-US characters.
2018-05-08 17:17:04 +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
László Monda
ec98e4e1c6
Rephrase and add explanations about the macro engine not being ready yet.
2018-05-06 03:24:54 +02:00
László Monda
2286218980
Make long media key macro actions work. ( #621 )
...
* Make long media key macro actions work.
* fix: macro key action mapping
2018-05-03 00:28:35 +02:00
László Monda
c815de0718
Edit phrasing: "... layer by *tapping* this key"
2018-05-01 03:20:44 +02:00
László Monda
6a46556d9e
Make get-right-firmware-version.js display not only firmware version but also device protocol version, module protocol version, user config version and hardware config version.
2018-05-01 02:31:17 +02:00
László Monda
d20870f11e
Update firmware version and default mouse speed.
2018-04-20 09:49:27 +02:00
Róbert Kiss
b38b6fa294
build: fix nouislider conflict in webpack conflict ( #611 )
...
* build: fix nouislider conflict in webpack conflict and upgrade nouislider
* use package import instead of sub file
2018-04-20 09:19:10 +02:00
Róbert Kiss
9b815ed9c1
chore: upgrade angular to 5.3.9 and typescript to 2.6.2 ( #605 )
...
* chore: upgrade angular to 5.3.9 and typescript to 2.6.2
* fix electron renderer build
* fix webpack config
* format webpack.config
* fix renderer build
2018-04-10 19:52:58 +02:00
Róbert Kiss
136120b831
feat: not allow run multiple Agent ( #603 )
2018-04-09 21:09:09 +02:00
Róbert Kiss
cd299c06d6
feat: not allow run multiple Agent ( #604 )
2018-04-09 20:48:22 +02:00
László Monda
e152a36ad7
Add agent-app-icon.png which I forgot to add.
2018-04-09 14:16:09 +02:00
László Monda
7ceca202b4
Reposition the ISO key in the scancode list.
2018-04-09 12:48:44 +02:00
László Monda
ddc65aa54b
Replace application icon with a diagonal gradient based icon that should look better on the desktop.
2018-04-09 12:20:46 +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
00c5b69129
fix: display agent icon when user use ALT + TAB ( #600 )
2018-04-07 23:17:50 +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
László Monda
179c982bfb
Make the Fn+Backspace shortcut of the QWERTY for PC keymap switch to the TES keymap for testing purposes.
2018-04-03 23:25:30 +02:00
László Monda
a7d07dbf4c
Make factory-update.js allow the layout to be set.
2018-04-03 21:04:47 +02:00
László Monda
0ca922d24a
Sleep 1s between sending reset and idle kboot commands. Hopefully this will always make the left half resume after firmware updates.
2018-04-03 00:49:51 +02:00
László Monda
a6f1aa15a5
Supply the correct configBufferId values to launchEepromTransfer() and get rid of the obsoleted eepromTransfer mapping.
2018-04-02 23:54:48 +02:00
László Monda
fc2d025cc4
Don't display the buffer related USB transfers of writeConfig() because they generate too much noise.
2018-04-02 23:32:13 +02:00
László Monda
8b5ae106bd
Display kboot command names instead of numberic ids.
2018-04-02 23:20:07 +02:00
László Monda
44639bbf53
Make apply-config.js and get-module-state.js use read() instead of readSync()
2018-04-02 22:56:28 +02:00
László Monda
9fcce9234a
Make getDeviceState await. Dump transfer descriptions before the actual transfers when the debug mode is on.
2018-04-02 21:35:47 +02:00
László Monda
b26fecfc7a
Make factory-update.js switch keymap.
2018-04-02 18:28:12 +02:00
László Monda
1b15911783
Extract code to uhk.writeUca()
2018-04-02 17:31:27 +02:00
László Monda
148dd8d361
Rewrite writeHca() using the JavaScript USB API instead of TypeScript because the latter couldn't reopen the USB device.
2018-04-02 17:25:35 +02:00
László Monda
0d9ac50999
Move writeHca() to uhk.js
2018-04-02 14:47:48 +02:00
László Monda
e19e4bc5a4
Move the gist of write-hca.js into writeHca()
2018-04-02 14:43:11 +02:00
László Monda
bdd79a5a9a
Clean up writeConfig() a bit.
2018-04-02 14:32:45 +02:00
László Monda
fb4e05fdc4
Dump USB reads and writes via writeDevice()
2018-04-02 00:30:03 +02:00
László Monda
01fcf9053a
Strip down factory-update.js to its essentials.
2018-04-02 00:11:35 +02:00
László Monda
533c2f13d2
Copy update-firmwares.js as factory-update.js
2018-04-01 23:58:13 +02:00
László Monda
b9c32b46a9
Extract uhk.applyConfig() and uhk.launchEepromTransfer()
2018-04-01 23:55:40 +02:00
László Monda
f9b7260be6
Extract uhk.writeUserConfig()
2018-04-01 01:23:50 +02:00