Commit Graph

964 Commits

Author SHA1 Message Date
J??zsef Farkas
a2baedd53d Update dependencies
angular 4.3.4
2017-08-12 18:14:08 +02:00
József Farkas
4193cd0d1e Save config on shortcuts (#386)
Closes #383
2017-08-12 02:23:53 +02:00
József Farkas
49ec48c9e9 Fixing invalid keymap list propagation (#384)
Fixes #382
2017-08-10 23:58:06 +02:00
József Farkas
2735edb631 Restore renaming keymap call (#381)
Fixes #379
2017-08-10 01:20:03 +02:00
László Monda
0259ff53fc Add read-debug-info.js 2017-08-07 03:03:07 +02:00
László Monda
f6e67d0e73 Add EEPROM stress testing scripts. 2017-08-07 03:02:21 +02:00
László Monda
941ff7053b Add scripts to print and log I2C hangs. 2017-08-07 02:46:10 +02:00
László Monda
880aa06ad5 Add wait-until-i2c-dies.js 2017-08-07 02:30:17 +02:00
László Monda
b12a891ba8 Rename readMergeSensor() to readAdc() 2017-08-07 02:14:14 +02:00
József Farkas
50aac5835d Store keymapId instead of abbreviation in SwitchKeymapAction (#376)
* Store keymapId instead of abbreviation in SwitchKeymapAction

* Pass down the user configuration instead of macros
2017-07-30 21:20:16 +02:00
Róbert Kiss
ee248e9c93 fix(keymap): Fix 'Capture keystroke' button in FF (#375)
Close #374
2017-07-25 21:00:25 +02:00
Mikko Lakomaa
eac588c42c Fix key capture on Firefox (#373)
* Add tabindex attribute to svg-keyboard-key to allow focusing the key in Firefox

* Fix typo in svg-keyboard-key.component onKeyUp method
2017-07-25 20:59:00 +02:00
Róbert Kiss
817daafd18 feat: Set no wrap on Delete Keymap and Delete Macro icons (#371)
close #369
2017-07-25 00:38:43 +02:00
László Monda
c17bf0fd3d Merge branch 'master' of github.com:UltimateHackingKeyboard/agent 2017-07-25 00:31:35 +02:00
Róbert Kiss
ec085d574c ci: Travis do not use cache (#372) 2017-07-25 00:30:35 +02:00
László Monda
a52e0c81c5 Add read-config.js and add new USB command ids and receive callback to uhk.js 2017-07-25 00:30:34 +02:00
Róbert Kiss
803ae8bb8f build: update dev dependencies (#370) 2017-07-24 22:17:25 +02:00
Róbert Kiss
aad0c155dd fix(keymap): Change keymap name and abbr algorithm (#365)
* feat(keymap): Change keymap name and abbr algorithm

Close #363

* feat(keymap): When rename a keymap or macro and the new name is exists do nothing
2017-07-23 22:30:19 +02:00
Róbert Kiss
42683e32f9 feat(notification): Add undoable notification, close #318 (#338)
* feat(notification): Add undoable notification

* feat(notification): Add undoable notification

* feat(notification): Use uhk-header to the notification

* half ready solution

* - fix: "Keymap has been deleted" is displayed for macros.
- When a keymap/macro deletion gets undone, please set the route of the restored keymap/macro.
- When the user switches to another route, please make the undo notification disappear.

* fix(keymap): Store prev user configuration in the application reducer

Store the previous state in application reducer, because refactoring the
user-config reducer is not easy

* feat(keymap): Fix review request
2017-07-23 22:17:53 +02:00
Róbert Kiss
ce55cac380 fix(keymap): Add tooltips to action icons (#366)
* fix(keymap): Add tooltips to action icons

* fix(keymap): Remove console.log write

* feat(tooltip): New design of the tooltip

* feat(keymap): Show the tooltip of "Long press action" downward

* style(tooltip): Fix linting issues
2017-07-19 23:27: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
Róbert Kiss
25257132a6 fix(keymap) allow 0 in keymap abbr when rename (#362) 2017-07-18 00:06:36 +02:00
József Farkas
c9d8e735de Detect uhk without async delay (#356)
Fixes #353
2017-07-17 02:06:06 +02:00
Róbert Kiss
db8a4413de feat(settings): Only display settings in Agent-electron (#358)
close #252
2017-07-17 01:01:29 +02:00
Róbert Kiss
3db019812a feat(keymap): Keymap abbr should be only number or ASCII char (#360)
* feat(keymap): Keymap abbr should be only number or ASCII char

close #341

* fix(keymap): Allow '1' when generate keymap abbreviation
2017-07-17 00:48:31 +02:00
József Farkas
c1f96ae820 Hide UpdateAvailableComponent in AppComponent (#355)
Fixes #350
2017-07-15 17:57:22 +02:00
József Farkas
a0aac1639a Fix deleting default keymap
Fixes #349
2017-07-15 14:46:46 +02:00
Róbert Kiss
131fdea0c5 refactor: Create uhk-header component (#354)
Create a header wrapper component that will contains the undo
notification component.
2017-07-15 14:41:06 +02:00
József Farkas
3b0540f0d4 Update dependencies
* Angular 4.3.0
* Typescript 2.4.1
* ...
2017-07-15 11:02:29 +02:00
Róbert Kiss
dc6a016db2 build: Update .nvmrc -> 8.1.4 (#348)
This file manage the node version on travis build.
Suggest to everyone to use nvm to manage node version on dev environment.
2017-07-15 11:00:24 +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
József Farkas
0c52fdf2f8 Macro editing improvements (#342)
* refactor: Remove EditableMacroAction

* Fix smaller macro bugs
2017-07-08 16:05:09 +02:00
József Farkas
b51b9c9cb7 Clear key actions without mutating the original layers (#340)
Fixes #339
2017-07-08 13:15:37 +02:00
Attila Csanyi
e713c52df8 Launch application scancodes (closes #328) (#331) 2017-07-07 10:10:38 +02:00
Róbert Kiss
67a55363da build(webpack): Fix the request of a dependency is an expression (#337)
* build(webpack): Fix the request of a dependency is an expression

Critical dependency: the request of a dependency is an expression

* style: Fix spaces after object literal braces
2017-07-05 18:35:56 +02:00
Róbert Kiss
1796e61f02 style: Fix styelint warning (#336)
Deprecation Warning: 'selector-no-id' has been deprecated and in 8.0 will be removed.
Instead use 'selector-max-id' with '0' as its primary option.
See: https://stylelint.io/user-guide/rules/selector-no-id/
2017-07-05 18:02:31 +02:00
Róbert Kiss
66525f7e84 style: Fix tslint warning: The 'no-use-before-declare' rule requires type checking (#335) 2017-07-05 18:00:37 +02:00
Róbert Kiss
3a86b77421 refactor(log): Refactor logging service (#332)
* refactor(log): Refactor logging service

Removed the InjectionToken and changed LogService as default logger.
Finally ElectronLogService implements LogService directly.

* refactor: Optimize imports

* fix(app-update): Add missing rxjs imports

* style: Remove extra line
2017-07-05 13:44:52 +02:00
Róbert Kiss
f7212320e6 refactor(auto-update): Show notification messages with the angular-notifier (#334)
* refactor(log): Refactor logging service

Removed the InjectionToken and changed LogService as default logger.
Finally ElectronLogService implements LogService directly.

* refactor: Optimize imports

* fix(app-update): Add missing rxjs imports

* style: Remove extra line

* refactor(store): Move app.actions.ts to shared module

* feat(notification): Add notification panel

Add angular-notifier to the app and created the ShowNotificationAction
to manage notifications

* style(notification): Fix tslint suggestion

* fix(notification): Add missing rxjs imports

* refactor(app-update): Refactor app-update notification

* fix(auto-update): Add missing rxjs imports
2017-07-05 13:41:45 +02:00
Róbert Kiss
c9a1e9853c feat(notification): display app errors, close #319 (#333)
* refactor(log): Refactor logging service

Removed the InjectionToken and changed LogService as default logger.
Finally ElectronLogService implements LogService directly.

* refactor: Optimize imports

* fix(app-update): Add missing rxjs imports

* style: Remove extra line

* refactor(store): Move app.actions.ts to shared module

* feat(notification): Add notification panel

Add angular-notifier to the app and created the ShowNotificationAction
to manage notifications

* style(notification): Fix tslint suggestion

* fix(notification): Add missing rxjs imports
2017-07-05 13:41:31 +02:00
Róbert Kiss
6bc2bc8331 fix(device): Agent-electron should always read the configuration from the UHK over USB. (#327)
The feature will implement later.
2017-07-02 22:38:29 +02:00
Róbert Kiss
2df8f2ea54 Windows set up permission button #261 (#300)
* style(privilege): Fix typo 'excusive' -> 'exclusive'

* style(privilege): remove unused imports

* style(privilege): Fix typo 'initizalized$' -> 'initialized$'

* feat(log): Add application wide logger and error handler

It is help to debug electron install app on different device

* feat(privilege): Add windows USB driver installation

* build: I need the windows installer to test the app on windows

* fix(privilege): change wdi-simpler installer to zadic

* feat(log): change log level to debug in renderer process

* chore: Add author in package.json

* feat(privilege): Add privilege setter file as extraResource

* fix(log): Allowed transport level change only in main process

* fix(privilege): Fix app path calculation

* fix(privilege): Take the scriptPath between double quote

* build: revert the appveyor settings

* refactor(privilege): Extract vendor ID, product ID and MAX_PAYLOAD_SIZE into constants file

* refactor(privilege): Add both 32 and 64 bit zadics to extraResource of the installer

* feat(device): Add HID API communication protocol

* build: Fix npm install process

* build: Fix npm install process v2

* ci: Add libudev-dev as travis apt dependencies

* ci: Merge travis apt packages

* ci: remove node-hid from build:usb

* ci: try to fix linux build

* ci: node-hid use git repo

* ci: Add libusb-1.0-0-dev to travis apt dependency

* feat(device): Use logging service when communicate with the device

* build: create test build

* build: PUBLISH_FOR_PULL_REQUEST override

* build: revert TEST_BUILD to false

* build: node-hid use package version instead of git repo

* refactor: remove unused device store files from PR

* ci: Manage test build from environment variable

* fix(privilege): Set rules files dir base on dev or prod mode

* fix(log): Extract nested properties of the logged object

* feat(log): use util.inspect in logger service

* build: upgrade @types/node-hid -> 0.5.2

* fix(device): Add extra logging when try to open device.

* fix(device): log device description and not the device

* fix(device): add win specific write

* fix(device): add report id as first byte

* style(privilege): Reformat else and comment in privilege-checker component

* fix(privilege): Comment out windows branch
2017-07-02 20:33:28 +02:00
László Monda
84b13d3219 Reorder the keys of the Whitespace and Miscellaneous sections. 2017-06-29 20:46:16 +02:00
László Monda
0f81a6fb52 Rephrase the help text of the long press action. 2017-06-28 23:24:38 +02:00
László Monda
6a8e7e0100 Rename the Misc category to Miscellaneous. 2017-06-28 23:14:45 +02:00
László Monda
a796045b4f Move the Whitespace and Misc sections right after the Punctuation section. 2017-06-28 23:10:25 +02:00
László Monda
bdc6c06a7e Move the Whitespace category right before the Misc category. 2017-06-28 22:54:44 +02:00
László Monda
181d864126 Move Numpad keys to the end of the scancode list. 2017-06-28 22:04:25 +02:00