Commit Graph
100 Commits
Author SHA1 Message Date
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
Róbert Kiss bd49e26978 build: upgrade node to 8.8.1 (#471)
* build: upgrade to nodejs 8.8.1 and npm 5.5.1

* ci: upgrade the npm to the latest version in ci files

* build: remove duplication from clean script
2017-10-27 00:44:55 +02:00
Róbert Kiss 2f459a88c6 feat(agent): remove routing animation from keymaps (#468)
* feat(agent): remove routing animation from keymaps

* fix(agent): stylelint warning

* fix(web): Align center the keyboard in init state
2017-10-26 23:49:30 +02:00
Róbert Kiss 6c6e2af047 refactor: Change name of actions (#470)
* style: shorter import in key-macro-action.ts

* refactor: rename 'press' macro key action to 'tap'

* refactor: rename 'hold' macro key action to 'press'

* refactor: rename 'press' macro mouse action to 'click'

* style: fix stylelint
2017-10-26 23:25:19 +02:00
Róbert Kiss 277e3d2ded build: upgrade node to 8.7.0 (#469) 2017-10-19 21:51:05 +02:00
Róbert Kiss 8c652a427f feat(agent): change header styles (#464) 2017-10-18 21:34:29 +02:00
Róbert Kiss 3ffaf918cd refactor(agent): Rename 'LongKeypressAction' to 'SecondaryRoleAction' (#462)
* refactor(agent): Rename 'LongKeypressAction' to 'SecondaryRoleAction'

* build: Change the build order of the modules

* fix(user-config): Fix hasSecondaryRoleAction() calculation

* fix(user-config): fix stylelint warnings
2017-10-18 21:16:56 +02:00
Róbert Kiss ab88d8a2e7 feat(agent): Add 'Device' menu and submenus (#461) 2017-10-18 01:28:02 +02:00
Róbert Kiss 041d4debb6 fix(app): Rename the title property of the uhk-message component (#460)
Renaming eliminate the default behaviour of the title attribute of the
HTML elements.
2017-10-18 01:19:40 +02:00
Róbert Kiss 69101d73a8 build: upgrade @angular => 4.4.5 (#451) 2017-10-15 14:52:24 +02:00
Róbert Kiss a4056a8b8b feat(device): Add confirmation question before reset the configuration (#449)
* feat(device): Add confirmation question before reset the configuration

* feat(device): text change

* style: fix ts-lint error
2017-10-14 16:49:13 +02:00
Róbert Kiss 6b46c85ca6 feat(device): Add save config buttons to the Device settings page (#447)
* feat(device): Add save config buttons to the Device settings page

* feat(device): Set danger style to the reset user-config buttone
2017-10-14 16:04:50 +02:00
Róbert Kiss 737897b40e feat(agent): Add loading screen (#444)
* feat(uhk-message): Add spin animation

* feat(agent): Add loading page

* fix device connected / disconnected events
2017-10-14 01:22:44 +02:00
Róbert Kiss 01b07a3ab7 feat(device): Wait for read user/hardware config until device is ready (#443)
* feat(device): Wait for read user/hardware config until device is ready

* ci: remove uhk-web test runners until not I will fix the chome on mac
2017-10-14 00:55:16 +02:00
Róbert Kiss 235034bc68 ci: fix the chrome setup on travis mac (#445)
* ci: fix chrome config on mac

* ci: fix chrome config on mac

* ci: fix chrome config on mac
2017-10-14 00:33:05 +02:00
Róbert Kiss 7baf9ad009 fix(user-config): Layer switcher key behaviour on non-base layers (#440)
* refactor(user-config): Optimize imports

* feat(user-config): Clone SwitchLayerAction to destination layer

* fix(user-config): Fix Keymap SwitchLayerAction normalization

* test(user-config): Remove spy callThrough

* build: Add uhk-common test runner

* build: delete test serialization files

* fix(user-config): Add missing "type": "basic" properties to the user-config.json

* test(user-config): Add KeyMacroAction tests

* fix(user-config): Delete SwitchLayerAction from non destination layer

* fix(user-config): Keymap normalize delete SwitchLayerActions from non base layers

* ci: turn of uhk-web tests

* ci: turn off karma watch mode in uhk-web test
2017-10-13 12:25:57 +02:00
Róbert Kiss 46b97a9b62 feat(user-config): Add ISO key scancode (#441)
close: #437
2017-10-11 22:22:34 +02:00