Commit Graph

169 Commits

Author SHA1 Message Date
Róbert Kiss
a8108b9abf revert: Revert auto write user configuration (#558) 2018-01-14 19:32:41 +01:00
Mikko Lakomaa
3ee6c680a1 Agent menu (#540)
* Add generate version module script

* Remove Fork me on GitHub banner

* Add app-version.ts

* Revert "Add app-version.ts"

This reverts commit fe1a37e631.

* Add app-version.ts

* Add agent icon class

* Move settings component under agent folder

* Add AboutComponent

* Add agent routes

* Add index.ts for agent folder

* Fix agent folder imports in shared module

* Add agent menu to side menu, with Settings and About pages under it

* Fix agent icon alignment in side menu

* Simplify About page

* Make Agent menu 0 level in side menu

* Remove bottom Settings menu

* Fix Agent menu closing if My UHK is closed in side menu

* Fix version text alignment in auto update settings

* Remove github fork ribbon styles

* use package.json instead of app-version.ts

* fix OpenUrlInNewWindow naming

* fix lint request

* fix: firmware download url calculation
2018-01-13 17:10:21 +01:00
László Monda
d3295c5666 Bump package.json and changelog to version 1.0.4 2017-12-30 15:29:02 +01:00
László Monda
547ab738c2 Update package.json and changelog to version 1.0.3 2017-12-28 01:31:38 +01:00
László Monda
721a4dc6e7 Bump Agent version to 1.0.2 and update changelog. 2017-12-25 23:55:23 +01:00
László Monda
5d1cc9202b Bump version to 1.0.1 and update changelog. 2017-12-21 21:21:06 +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
László Monda
9c46c6a348 Rename dataModelVersion fields to userConfigVersion. Update to firmware 7.0.0 2017-12-14 21:56:46 +01:00
László Monda
6659ef8eab Bump version to 1.4.3 2017-12-11 00:35:16 +01:00
László Monda
76ba24e0aa Bump version to 1.4.2 2017-12-10 22:57:33 +01:00
Róbert Kiss
19d7b8ebfe chore(release): 1.4.1 2017-12-05 22:29:02 +01:00
Róbert Kiss
777832068d chore(release): 1.4.0 2017-12-05 21:02:27 +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
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
e61f6ef106 chore(release): 1.3.7 2017-11-07 23:26:06 +01:00
Róbert Kiss
d80de77b2f chore(release): 1.3.6 2017-11-07 21:28:20 +01:00
Róbert Kiss
8703664118 chore(release): 1.3.5 2017-11-07 18:26:43 +01:00
Róbert Kiss
915aefe8a3 revert: remove electron builder from package.json 2017-11-07 13:53:16 +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
e7d6913984 chore(release): 1.3.2 2017-11-04 23:42:41 +01:00
Róbert Kiss
3313fad9e6 chore(release): 1.3.1 2017-11-04 17:40:33 +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
László Monda
2ae7abe440 Utilize ts-node to run user-config-json-to-bin.ts. Remove the lint pre-commit hook because I couldn't commit with git. 2017-11-03 00:33:37 +01:00
Róbert Kiss
217d78a85f chore: add lint precommit hook (#488) 2017-11-02 23:29:48 +01:00
Róbert Kiss
5318b2a2e1 chore(release): 1.2.4 2017-10-30 20:36:07 +01:00
Róbert Kiss
eac9341c99 chore(release): 1.2.3 2017-10-29 09:45:15 +01:00
Róbert Kiss
2d1fcded0f chore(release): 1.2.2 2017-10-29 09:33:50 +01:00
Róbert Kiss
90ab458d5f chore(release): 1.2.1 2017-10-29 09:30:13 +01: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
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
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
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
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
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
József Farkas
50e0b64f6e Upgrade to ngrx v4 (#378)
* Update ngrx to v4

* package.json files

* release: Remove zadic references from release script

* fix(user-config): Fix user-config loading

* build: Lock package dependencies

* build: fix app version

* ci: remove build:test step

* fix(user-config): Revert switch-keymap-action modifications

* test(user-config): xit keystroke-action test

* fix(user-config): Fix user config loading

* fix(user-config): Fix user config loading
2017-10-08 18:31:16 +02:00
Róbert Kiss
9294bede50 feat(config): Read / write hardware configuration area (#423)
* add write-hca.js

* refactor: Move config serializer into the uhk-common package

* refactor: Move getTransferBuffers into the uhk-usb package

* refactor: delete obsoleted classes

* build: add uhk-usb build command

* refactor: move eeprom transfer to uhk-usb package

* fix: Fix write-hca.js

* feat: load hardware config from the device and

* style: fix ts lint errors

* build: fix rxjs dependency resolve

* test: Add jasmine unit test framework to the tet serializer

* fix(user-config): A "type": "basic", properties to the "keystroke" action types

* feat(usb): set chmod+x on write-hca.js

* feat(usb): Create USB logger

* style: Fix type

* build: Add chalk to dependencies.

Chalk will colorize the output
2017-09-26 16:57:27 +00:00
Attila Csanyi
c135aed7c9 Issue 388 - Device node (#397)
* Issue 388 - Device node (first version before review) (#388)

* fix: style linting issues

* review: revert the same padding size of the level 1 components on the sidebar

* feat(uhk-icon): Create uhk-icon set and fix USB device icon visibility in electron

* style: Use semicolon in js files
2017-09-10 22:56:03 +02:00
Róbert Kiss
be3e116130 build: Configure AOT (#394)
* build: Configure AOT

* build: Fix appveyor ENV settings
2017-08-26 00:56:28 +02:00
Róbert Kiss
0f558e4132 refactore: create feature modules (#387)
* add @angular/cli to the project

* increase nodejs version -> 8.2.1

* add lerna

* merge web and shared module

* move electron module into packages as uhk-agent

Electron agent functionality is not working

* delete symlinker

* convert private properties to public of component if used in html

* revert uhk-message.component

* fix component path

* fix the correct name of the uhk-message.component.scss

* building web and electron module

* delete uhk-renderer package

* handle device connect disconnect state

* add privilege detection

* fix set privilege functionality

* turn back download keymap functionality

* add bootstrap, select2 js and fix null pointer exception

* turn back upload data to keyboard

* fix send keymap

* fix test-serializer

* add missing package.json

* merging

* fix appveyor build

* fix linting

* turn back electron storage service

* commit the missing electron-datastorage-repository

* update node to 8.3.0 in .nvmrc and log node version in appveyor build

* set exact version number in appveyor build

* vertical align privilege and missing device components

* set back node version to 8 in appveyor

* move node-usb dependency from usb dir to root

maybe it is fix the appveyor build

* revert usb to root

* fix electron builder script

* fix electron builder script

* turn off electron devtools

* remove CTRL+U functionality

* fix CTRL+o

* fix lint error

* turnoff store freeze

* start process when got `Error: EPERM: operation not permitted` error

* move files from root usb dir -> packages/usb
2017-08-19 20:02:17 +02:00
J??zsef Farkas
a2baedd53d Update dependencies
angular 4.3.4
2017-08-12 18:14:08 +02:00
Róbert Kiss
803ae8bb8f build: update dev dependencies (#370) 2017-07-24 22:17:25 +02:00
Róbert Kiss
a4d41f36d5 feat(app): Show add-on menu if start app with --addons arg (#359)
* refactor(store): Move app reducer from electron to shared module

* feat(app): Show add-on menu if start app with --addons arg

close: #351
2017-07-18 09:46:55 +02:00
József Farkas
3b0540f0d4 Update dependencies
* Angular 4.3.0
* Typescript 2.4.1
* ...
2017-07-15 11:02:29 +02:00
Attila Csanyi
6271802bbc Custom bootstrap tooltip with separate styles and directive (#345)
* Launch application scancodes (closes #328)

* simple directive to map bootstrap tooltip, add sample usage

* Custom bootstrap tooltip with separate styles and directive (closes #329)

* fix: linting issues

* fix: try to ignore stylelint for !important

* review: simple tooltip with html content and custom styles

* cleanup extra html tags for tooltip sample
2017-07-11 17:04:31 +02:00
József Farkas
e57a2f8637 Update dependencies (#344)
* Update angular to 4.2.6

* Update rxjs

* Update webpack

* Update type definitions

* Update tslint
2017-07-09 22:10:47 +02:00
József Farkas
d06892912f Update node and npm dependencies (#343)
node: >=8.1.0
npm: >=5.1.0
2017-07-09 12:09:15 +02:00