1197 Commits

Author SHA1 Message Date
László Monda
547ab738c2 Update package.json and changelog to version 1.0.3 v1.0.3 2017-12-28 01:31:38 +01:00
László Monda
3de9e9aa84 Downgrade to firmware 8.0.0 because the left I2C watchdog of firmware 8.0.1 is not proven yet and might make things worse. 2017-12-28 01:09:01 +01:00
László Monda
01ac4c1e8b Note that macro playback is not implemented yet. 2017-12-27 23:30:08 +01:00
László Monda
a0c8849f13 Comment out the add keymap button because the add keymap page is practically useless now. It'll be reimplemented. 2017-12-27 23:06:58 +01:00
László Monda
2a3dfcb0d0 Improve firmware update messages. 2017-12-27 22:47:53 +01:00
László Monda
2b3462c33f Display retry firmware update messages with regular color because they're not errors. 2017-12-27 22:38:07 +01:00
László Monda
a0b838b2e9 Remove the secondary scroll bar that appears on the LED brightness page. 2017-12-27 20:43:25 +01:00
Mikko Lakomaa
90f56c350e LED brightness UI (#520)
* Add nouislider

* Add LEDBrightnessComponent

* Move LEDBrightnessComponent to correct folder

* Add LED brightness page to side menu and device routes

* Add LEDBrightnessComponent to device index file

* Add LEDBrightnessComponent and NouisliderModule to shared module

* Remove ngModelChange from LEDBrightnessComponent until onChange is implemented

* Fix stylelint issue in led brightness component

* Add nouislider files to webpack.config.js

* Add adjusting LED brightness sliders with arrow keys

* Various tweaks to LEDBrightnessComponent

* Fix linting issues in LEDBrightnessComponent

* Allow "::ng-deep" pseudo element in stylelint config

* Add reading LED brightness settings from user configuration

* led-brightness save

* Move slider to its own wrapper component, add debounce for slider change events

* Small fixes to imports and exports of SliderWrapperComponent

* Fix slide component making change event when initial value is set

* Export SliderPips interface

* Fix LED Brightness slider pips

* Add support for value unit in SliderWrapperComponent

* Add a bit of space before LED brightness sliders so the slider handle doesn't go beyond the page in the min position

* Implement onDestroy, fix slider pip values and imports in LEDBrightnessComponent

* Fix imports, implement onDestroy in SliderWrapperComponent

* Move fix for slider pip value style to global styles file

* Reorder stylelint rules
2017-12-27 20:10:55 +01:00
József Farkas
5ceca41e0f feat(renderer): show icon when possible even if the keystroke action has modifier (#533)
Closes #513
2017-12-26 23:23:32 +01:00
László Monda
721a4dc6e7 Bump Agent version to 1.0.2 and update changelog. v1.0.2 2017-12-25 23:55:23 +01:00
László Monda
c9f03b4e57 Reference firmware 8.0.1 and don't include the moduleProtocolVersion field because it's firmware-related, not Agent-related. 2017-12-25 23:39:27 +01:00
László Monda
bbb6839f7e Fix Linux blhost path. 2017-12-25 21:48:41 +01:00
László Monda
dd973c80ea Add install-win-driver-*.bat 2017-12-24 03:56:13 +01:00
László Monda
48574a121a Move zadic-*.exe to packages/zadic 2017-12-24 03:35:13 +01:00
László Monda
8bc2462589 Reluctantly, add back zadic as it's needed to install Windows drivers for blhost to update the firmware on Windows. 2017-12-24 03:12:49 +01:00
László Monda
975ab8a5e9 Update README.md 2017-12-23 19:24:13 +01:00
László Monda
f0a54768d4 Clarify the difference between the two builds. 2017-12-23 19:20:26 +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
v1.0.1
2017-12-22 21:38:44 +01:00
László Monda
838a92836c Update changelog. 2017-12-22 20:06: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
László Monda
5d1cc9202b Bump version to 1.0.1 and update changelog. 2017-12-21 21:21:06 +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
László Monda
969c36561b Fix script name. 2017-12-15 04:33:10 +01:00
László Monda
04904aca5d Merge branch 'auto-write-config' 2017-12-15 04:27:18 +01:00
László Monda
ef0b0aa4ba Add mass-updater script. 2017-12-15 04:25:28 +01:00
László Monda
3967593c9c Add get-module-state.js and the relevant device command id. 2017-12-15 02:58:51 +01:00
László Monda
b8be1c965b Fix typo: blink-led-pwm-brithness.js -> blink-led-pwm-brightness.js 2017-12-15 02:49:36 +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
László Monda
e8a1814d89 Reset changelog now the 1.0.0 has been released. v1.0.0 2017-12-14 23:02:11 +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
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
3e7a0ed81a Query the combined ConfigSizes device property. Remove the deprecated HardwareConfigSize and UserConfigSize device properties. 2017-12-14 19:40:03 +01:00
László Monda
cac74c7c5a Add update-firmwares-and-configs.js and make update-all-firmwares.js apply and save the config into the EEPROM. 2017-12-14 02:31:01 +01:00
László Monda
9c66ea058b Add the -u, or --overwrite-user-config argument to update-all-firmwares.js and make write-config.js able to read a specified config file. 2017-12-14 01:12:46 +01:00
László Monda
1be8d20d5f Fix the name of the arm-specific directory of blhost. 2017-12-13 14:35:40 +01:00
László Monda
f8f1747ec9 Add the arm version of blhost and make getBlhostCmd() return architecture-specific blhost versions. 2017-12-13 14:32:21 +01:00
László Monda
ccaf64612e Merge branch 'finalize-usb-protocol' 2017-12-13 02:59:52 +01:00
László Monda
622b19045a Make write-hca.js work. 2017-12-13 02:56:08 +01:00
László Monda
2702a74035 Finalize usb protocol (#515)
* Change UsbCommandId_SetTestLed from 0x02 to 0x14

* Change UsbCommandId_JumpToModuleBootloader from 0x12 to 0x02.

* Change UsbCommandId_SendKbootCommandToModule from 0x13 to 0x03.

* Replace UsbCommandId_ReadHardwareConfig and UsbCommandId_ReadUserConfig with UsbCommandId_ReadConfig.

* Change UsbCommandId_WriteHardwareConfig and UsbCommandId_WriteUserConfig to 0x05 and 0x06.

* Change UsbCommandId_ApplyConfig to 0x07.

* Change the arguments of UsbCommandId_LaunchEepromTransfer and its id to 0x08.

* Change the value of UsbCommandId_{GetDeviceState,SetTestLed,GetDebugBuffer,GetAdcValue,SetLedPwmBrightness}.

* Use firmware 6.0.0
2017-12-13 01:20:23 +01:00
László Monda
5b20f685e5 Use firmware 6.0.0 2017-12-12 18:50:29 +01:00
László Monda
2eb31603f1 Change the value of UsbCommandId_{GetDeviceState,SetTestLed,GetDebugBuffer,GetAdcValue,SetLedPwmBrightness}. 2017-12-12 18:49:40 +01:00
László Monda
6b60241180 Change the arguments of UsbCommandId_LaunchEepromTransfer and its id to 0x08. 2017-12-12 03:26:57 +01:00
László Monda
c296e6f49b Change UsbCommandId_ApplyConfig to 0x07. 2017-12-12 02:15:57 +01:00
László Monda
8420c83ebf Change UsbCommandId_WriteHardwareConfig and UsbCommandId_WriteUserConfig to 0x05 and 0x06. 2017-12-12 02:02:26 +01:00
László Monda
88d92130d5 Replace UsbCommandId_ReadHardwareConfig and UsbCommandId_ReadUserConfig with UsbCommandId_ReadConfig. 2017-12-12 01:24:29 +01:00