Commit Graph
100 Commits
Author SHA1 Message Date
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 a6678bd537 feat: update firmware version after update (#649)
* feat: add clipboard copy icon to the x-term-component

* feat: start device poll after firmware upgrade

* feat: remove the OK button from the firmware upgrade page

* feat: read the firmware after firmware upgrade

* fix: scrolling of the x-term-component

* feat: refresh the firmware version after recovery device

* fix: remove the scrollbar styling

* fix: stay on device firmware upgrade screen
2018-05-21 10:57:34 +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
Róbert Kiss 091796d13c feat: not allow non ascii character in macro action text (#645) 2018-05-17 23:56:36 +02:00
Róbert Kiss 17693ec8fe build: upgrade node.js => 8.11.2 (#641) 2018-05-16 22:08:11 +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
Róbert Kiss 3d9c83f9f4 build: check node version before build (#625)
* build: check node version before build

* use package.json engine section
2018-05-01 22:50:28 +02:00
Róbert Kiss 14ed163238 chore: npm run clean delete root node_modules and dist folders (#624) 2018-05-01 22:46:23 +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
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
Róbert Kiss 478dac0621 build: extract electron dependencies to the root package.json (#593) 2018-03-31 22:11:41 +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 2f00a5eaf4 feat: enhance device firmware page (#588)
* feat: enhance device firmware page

* remove confirmation dialog from firmware upgrade buttons
2018-03-15 12:20:35 +01:00
Róbert Kiss 990ff8e980 ci: mac code sign (#585)
* ci: register certificate into the mac keychain

* try to not use yarn electron-builder installer on mac

* use -P

* debug electron-osx-sign

* use cscLink

* use xcode xcode9.3beta

* increase package.json version

* revert version to 1.1.1

* delete unused files

* format release.js file

* format release.js file

* format release.js file
2018-03-09 18:31:48 +01:00
Róbert Kiss 1ca8e67e52 try to use xcode 9.2 (#584) 2018-03-08 18:09:17 +01:00
Róbert Kiss 23cb583bf7 chore: upgrade lerna => 2.9.0 (#583) 2018-03-06 00:34:06 +01:00
Róbert Kiss d5cc735b85 build: Windows code sign (#581)
* build: Add windows certificate

* temporary bump version

* change CSC_LINK settings

* rdp connection

* remove appveyor RDP block
2018-03-01 17:29:55 +01:00
Róbert Kiss b8f35df155 build: switch off mac codesign 2018-02-24 23:33:22 +01:00
Róbert Kiss c3e712851c build: Sign mac installer 2018-02-24 23:12:01 +01:00
Róbert Kiss 10ae68ad4b fix(keymap): Fix undefined keymap serialization (#573) 2018-02-17 18:07:33 +01:00
Róbert Kiss 6c7232a5ba feat(device): Make Agent able to unbrick bricked modules (#577) 2018-02-13 02:11:27 +01:00
Róbert Kiss 7a64191955 fix(config): Save reset user configuration in web module (#574) 2018-02-11 20:44:08 +01:00
Róbert Kiss 1a413c824e Fix 560 delete bind play macro action when macro delete (#576)
* fix(config): delete KeyAction binding of deleted macro

* refactor: use sorter import

* fix(macro): read the macro id from route params

* fix(keyAction): use NoneAction in keyAction mapping
2018-02-11 20:12:12 +01:00
Róbert Kiss e545c9d67b feat(popover): Add Non-US help tooltip (#578) 2018-02-11 19:47:41 +01:00
Róbert Kiss 662ca0152f fix(keymap): Don't show keymap description in the key action popover (#572) 2018-01-29 23:40:41 +01:00
Róbert Kiss 6358528438 ci: use node 8.9.4 (#571)
Node 8.9.4 contain a few security update and use npm 5.6.0 so not need to
install npm in the build process. The build time will a few sec sorter
2018-01-29 23:20:07 +01:00
Róbert Kiss a44a7dc5f8 chore: use lodash-es version (#569)
lodash-es support tree shaking and the bundle size will near 2MB less
2018-01-29 23:02:17 +01:00
Róbert Kiss 02d57fdabf feat(keymap): add description to keymap (#559)
* feat(keymap): add description to keymaps

* add new feature request

* preserve new lines
2018-01-29 22:54:29 +01:00
Róbert Kiss 38f6688930 chore: upgrade electron => 1.7.11 (#568) 2018-01-29 21:26:32 +01:00
Róbert Kiss 6ca12d0ccd build: set Apple appId => com.ultimategadgetlabs.agent (#566) 2018-01-23 19:19:15 +01:00
Róbert Kiss a8108b9abf revert: Revert auto write user configuration (#558) 2018-01-14 19:32:41 +01:00
Róbert Kiss f0139c55ee feat(user-config): Upload user configuration from json/bin file (#545)
* feat(user-config): Upload user configuration from json/bin file

* fix error message

* remove file extension filter

* apply user config after loaded from file

* add file filter

* remove file filter
2018-01-08 05:29:31 +01:00
Róbert Kiss 906beaac0e Update README.md (#548) 2018-01-07 21:27:07 +01:00
Róbert Kiss bbce1e0e0f fix(user-config): Validate device, keymap, and macro names (#543)
* fix(user-config): Validate device, keymap, and macro names

* fix device name renaming
2018-01-03 21:06:08 +01:00
Róbert Kiss 0b69d01a0d style: add missing semicolon (#526)
* fix(updater): check updater error is exists or not

* set default error message

* style: add missing semicolon

* style: add missing semicolon
2017-12-22 21:38:44 +01:00
Róbert Kiss 500ccc296b fix(device): use tmp path to run setup-rules.sh (#523) 2017-12-22 19:58:54 +01:00
Róbert Kiss 8bb9f7f839 fix(updater): handle undefined error when updater not provide error content (#524)
* fix(updater): check updater error is exists or not

* set default error message
2017-12-22 19:50:31 +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
Róbert Kiss b32c93f0f8 feat(agent): automatically write user configuration after app started (#516)
* auto write userconfig

* fix load success action

* exit from app

* add electron:auto-write-config script
2017-12-14 23:36:43 +01:00
Róbert Kiss 711d3c0690 add electron:auto-write-config script 2017-12-14 23:22:13 +01:00
Róbert Kiss 42b4465230 exit from app 2017-12-14 23:19:34 +01:00
Róbert Kiss 2bf7d545a2 fix load success action 2017-12-14 22:50:24 +01:00
Róbert Kiss d09c46af42 Merge branch 'master' into auto-write-config 2017-12-14 22:01:12 +01:00
Róbert Kiss d57ba81d10 auto write userconfig 2017-12-14 21:59:44 +01:00
Róbert Kiss 40b72e8903 feat(scripts): Add write-userconfig (#511) 2017-12-09 20:37:14 +01:00
Róbert Kiss 2d416e7668 fix(device): use module import in uhk-usb (#509)
* fix(device): use module import in uhk-usb

* fix getTransferBuffers import
2017-12-09 18:02:39 +01:00
Róbert Kiss 3de9181687 feat(device): Ensure serial the device communication (#508) 2017-12-09 16:11:03 +01:00
Róbert Kiss 19d7b8ebfe chore(release): 1.4.1 2017-12-05 22:29:02 +01:00
Róbert Kiss 75ab0e2977 test(user-config): fix unit tests (#506) 2017-12-05 22:27:27 +01:00
Róbert Kiss 777832068d chore(release): 1.4.0 2017-12-05 21:02:27 +01:00
Róbert Kiss 58b1b9b1dc fix(device): fix IpcRenderer empty data messages (#503)
* fix(device): fix IpcRenderer empty data messages

If IpcRenderer send null / undefined data as argument then IpcMain parse
it as empty array and not a NULL object

* fix else line break
2017-12-02 22:40:54 +01:00
Róbert Kiss 95d1d7f8b5 chore: Upgrade node => 5.9.1 and npm => 5.6.0 (#502)
The npm upgrade maybe solve the cross-platform package-lock.json problem.
2017-12-02 13:31:34 +01:00
Róbert Kiss 13f2b65a7c fix(rendered): Double scrollbar 2017-11-30 00:09:03 +01:00
Róbert Kiss 297fd3be79 feat(device): flash device firmware from Agent (#499)
* add dataModelVersion, usbProtocolVersion, slaveProtocolVersion

* read the package.json at appstart

* flash firmware

* update firmware

* fix extra resource path

* fix import modules

* update lock files

* fix imports

* terminal window

* exclude tmp folder from git repo

* ok button

* auto scroll in xterm

* fix maxTry count calculation

* optimize logging

* optimize timeout

* readSync

* Add extra delay

* fix async call

* fix error message in log

* fix ok button disable state

* retry

* list devices

* close device after reenumeration

* retry snooze

* kboot maxtry 10

* retry 100

* remove deprecated toPayload ngrx helper

* flash firmware with custom file

* fix tslint
2017-11-27 22:12:43 +01:00
Róbert Kiss 62c5e9d88a fix(keymap): Handle more than 35 same keymap abbreviation (#497) 2017-11-12 15:29:30 +01:00
Róbert Kiss 9e69098ad2 fix(keymap): Secondary role show 'None' value if not set (#496)
* fix(keymaps): Secondary role show 'None' value if not set

* style: move else in the same line with the close if }
2017-11-12 15:11:01 +01:00
Róbert Kiss e61f6ef106 chore(release): 1.3.7 2017-11-07 23:26:06 +01:00
Róbert Kiss 30890fca0d ci: install yarn on travis osx 2017-11-07 23:25:40 +01:00
Róbert Kiss 555688f7d4 Revert "ci: try to build ARM7"
This reverts commit e842bae
2017-11-07 21:47:52 +01:00
Róbert Kiss d80de77b2f chore(release): 1.3.6 2017-11-07 21:28:20 +01:00
Róbert Kiss e842baefa8 ci: try to build ARM7 2017-11-07 21:26:35 +01:00
Róbert Kiss 8703664118 chore(release): 1.3.5 2017-11-07 18:26:43 +01:00
Róbert Kiss 89b45de11a chore(release): 1.3.4 2017-11-06 23:25:19 +01:00
Róbert Kiss 40eb2ca9a2 ci: install electron-builder only when releasing 2017-11-06 23:24:27 +01:00
Róbert Kiss b7cca0a082 chore(release): 1.3.3 2017-11-05 13:35:42 +01:00
Róbert Kiss e8f755af70 ci: use the same build dependencies than node-hid (#492) 2017-11-05 12:52:35 +01:00
Róbert Kiss e7d6913984 chore(release): 1.3.2 2017-11-04 23:42:41 +01:00
Róbert Kiss 8e0ab4f71c ci: Add g++-multilib to travis (#491) 2017-11-04 23:38:28 +01:00
Róbert Kiss 3313fad9e6 chore(release): 1.3.1 2017-11-04 17:40:33 +01:00
Róbert Kiss d9417eaa89 fix(config): Remove userConfigurationLength from json serialization (#490) 2017-11-04 17:38:04 +01:00
Róbert Kiss 78e27c3688 build: user-config-json-to-bin.ts runnable from other directory (#489)
* new setup

* make run able ts file from other directory

* do not build project
2017-11-04 17:26:34 +01:00
Róbert Kiss 8660a9ae50 chore(release): 1.3.0 2017-11-04 11:14:39 +01:00
Róbert Kiss ec4505cead chore: mark package as private 2017-11-04 11:14:30 +01:00
Róbert Kiss 47b589b3d8 build: stop travis if any script failed 2017-11-04 11:14:04 +01:00
Róbert Kiss ea700852bc fix(config): Add userConfigurationLength to the user-config.json 2017-11-02 23:58:47 +01:00
Róbert Kiss 217d78a85f chore: add lint precommit hook (#488) 2017-11-02 23:29:48 +01:00
Róbert Kiss f6ea327813 build(usb): run chmod u+x after build (#487) 2017-11-02 23:20:53 +01:00
Róbert Kiss 0c30eccaca feat(device): Read only filled user configuration and fix app close on mac (#486)
* feat(device): Save user configuration length

* feat(device): Read only filled user configuration from EEPROM

* fix(agent): Close device connections and quit from app on Mac
2017-11-02 23:06:53 +01:00
Róbert Kiss fe6cd68c55 build: upgrade nodejs => 8.9.0 (#485)
* build: upgrade nodejs => 8.9.0

* ci: remove npm upgrade from CI files
2017-11-02 21:22:43 +01:00
Róbert Kiss e394f8483e build: Add watch script to usb module 2017-11-02 20:20:14 +01:00
Róbert Kiss 009dd8e963 fix(usb): user-config-json-to-bin compile 2017-11-02 19:56:21 +01:00
Róbert Kiss 5318b2a2e1 chore(release): 1.2.4 2017-10-30 20:36:07 +01:00
Róbert Kiss 1f634f98f3 fix(usb): remove extra first 0 from USB transfer data 2017-10-30 20:35:41 +01:00
Róbert Kiss eac9341c99 chore(release): 1.2.3 2017-10-29 09:45:15 +01:00
Róbert Kiss d876203d27 ci: remove appveyor x64 platform entry 2017-10-29 09:45:08 +01:00
Róbert Kiss 2d1fcded0f chore(release): 1.2.2 2017-10-29 09:33:50 +01:00
Róbert Kiss 48567d420b build: fix node-hid version number in deploy package.json 2017-10-29 09:33:33 +01:00
Róbert Kiss 90ab458d5f chore(release): 1.2.1 2017-10-29 09:30:13 +01:00
Róbert Kiss b3475992b1 Merge branch 'master' of https://github.com/UltimateHackingKeyboard/agent 2017-10-29 09:25:11 +01:00
Róbert Kiss 3f2ded819e chore(release): 1.2.0 (#481) 2017-10-29 00:59:55 +02:00
Róbert Kiss 115544c62c chore(release): 1.2.0 2017-10-29 00:53:30 +02:00
Róbert Kiss 053352467d build: platform specific builds (#480)
* build: upgrade electron-builder and updater

* build: pack or publish managed by ENV

* fix typo

* ci: appveyor y64 build

* style: fix indent in release.js

* build: upgrade package version

* build: upgrade node-hid => 0.5.7

* build: upgrade node-hid => 0.5.7

* build: setup new release script

* build: setup new release script
2017-10-29 00:52:09 +02:00
Róbert Kiss cdc4a169de feat(config): Add deviceName to the user config (#474)
* add device name to configuration

* feat(config): Rename user configuration

* style: fix tslint error

* test: Fix unit tests

* test: Add UserConfiguration device name test

* set device name if faild the user-config read from device

* feat(device): Remove the first 0 from USB[W] dump
2017-10-28 20:16:59 +02:00
Róbert Kiss 9885439b10 feat(ui): macro ui improvement (#473)
* Remove the "Input the text you want to type with this macro action." sentence from the type text macro action.

* Move pointer and Scroll enhancement

* remove the extra vertical space above the mouse buttons

* macro delay enhancement

* not allow user select on a few elements

* fill the macro, keymap name the all space in the header
2017-10-28 16:54:08 +02:00