Tomas Chmelevskij
d71a5f7ef3
feat: move firmware to modules
...
this fixes the disconnect issue
2021-06-03 21:04:46 +01:00
Tomas Chmelevskij
616c2e796d
chore: add semi
rule to the linter and run --fix
...
Adds semicolon to the linter rules.
2021-02-14 07:37:03 +01:00
Mark Haslinghuis
431aa6bac8
Fix and add check for chrome.runtime.lastError
2020-12-20 06:17:29 +01:00
Asizon
4243e70a18
Fix trailing
2020-12-13 11:21:23 +01:00
Asizon
d243a24755
Improve conditionals
2020-12-13 08:40:57 +01:00
Asizon
511ba1cf96
Fix Load Firmware buttons reactivation after flash
2020-12-12 12:44:12 +01:00
Mark Haslinghuis
f79ade37ec
Disable Exit Dfu Mode button while flashing
2020-12-09 22:54:01 +01:00
Tomas Chmelevskij
2938c4338d
chore: remove custom string formatting
...
String template literals are in built way to handle these cases now
2020-11-12 22:01:01 +01:00
Žan Pevec
d22f22924a
Css files fixed and match styles
...
Moved css and match styling with other selects
2020-08-20 19:46:19 +02:00
mikeller
53c0e01a1b
Added injection of custom defaults header when flashing local file.
2020-06-01 23:22:47 +12:00
mikeller
153fa2b486
Added version information to Unified Targets when they are flashed.
2020-04-02 01:14:44 +13:00
Asizon
35d129c8d6
Disable Exit DFU Button when no needed
...
add interval function
sonar issue
change Timer method to port change detect
fixing white space
2020-03-25 13:01:46 +01:00
mikeller
c8ee46f45c
Added warning when flashing unstable firmware.
2020-03-19 13:56:44 +13:00
mikeller
7313407bec
Fixed cache expiry for Unified Target configurations.
2020-02-26 00:12:53 +13:00
mikeller
d4271042f0
Improved naming of event categories, 'Firmware' is now 'Flashing'.
2020-02-07 10:09:21 +13:00
mikeller
d293d6b1e7
Added button to exit DFU.
2020-01-26 22:59:54 +13:00
Michael Keller
e67a1b4c52
Directly localise messages instead of reprocessing the entire page needlessly.
2019-11-13 13:37:31 +13:00
Michael Keller
e97fd5bef8
Moved styling into CSS file.
2019-11-13 11:46:17 +13:00
mikeller
3de7f6e167
Re-ordered targets for flasher.
2019-11-13 11:46:17 +13:00
Kyle K
16266ec979
Simplify flashingMessage function
...
i18next uses `:` to denote a namespace for messages.
The firmware flashing tab has a `flashingMessage` function that is used to update the bar at the bottom, it can either be passed a message key, or a properly formatted string.
`Loaded Local Firmware: (473178 bytes)` was getting looked up as a key, which generates the following warning
i18next.min.js:1 i18next::translator: key " (473178 bytes)" for namespace "Loaded Local Firmware" for languages "en" won't get resolved as namespace was not yet loaded This means something IS WRONG in your application setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!
Proposed fix is to just look at the message for a `:` and excluding those before asking the localization system if its a key.
Revised to just remove the lookup
2019-11-10 22:43:43 +00:00
Miguel Angel Mulero Martinez
09e2f6d231
Remove tabs and some trailing spaces
2019-11-03 13:46:19 +01:00
Michael Keller
71e538379a
Don't accept fancy lookin letters in Unified configs ( #1693 )
...
Don't accept fancy lookin letters in Unified configs
2019-09-29 19:24:23 +13:00
Kyle K
7133001fa2
revise limit to 255, and handle comments
2019-09-29 06:13:25 +00:00
mikeller
261ebd7bbe
Added support for Unified Target configurations with manufacturer_id in the name.
2019-09-27 15:48:03 +12:00
Kyle K
96619a4b58
Don't accept fancy lookin letters.
...
Backstory, Unified configs mean we can embed arbitrary text into the firmware, what is one source of text? Project Gutenberg!
I tried attaching a snippet of the text into the config (as comments, I am a careful deviant) and ended up learning a little about how text is encoded and handled these days.
Given a character with a value higher than 1 byte, the value gets cropped off, so 0x2018 would get flashed as 0x18, and would fail validation, because we'd be checking 0x2018 against 0x18
Asking Notepad++ to convert the document to ANSI was no good either, it decided to use Code page 1252, which still has fancy quotes, and when loaded into the configurator, instead of 0x92, it'd be converted to a replacement character FFFD if you want to look something up.
2019-09-26 22:06:47 +00:00
mikeller
005868bc07
Added analytics for new configurator elements.
2019-09-15 22:15:25 +12:00
Kyle K
000e537283
Finish up work on unified targets
2019-09-10 22:32:04 +00:00
Kyle K
59d9832efa
stop board selection from being dropped
2019-09-06 22:13:09 +00:00
Kyle K
f6934f234f
consider versions for unified targets
2019-09-06 10:05:29 +00:00
Kyle K
0c4e53e4aa
clean up, refactor a little
2019-09-06 01:38:37 +12:00
Kyle K
f7275c25f3
translate the (Legacy) bit, and only show it where needed
2019-09-05 04:15:22 +00:00
Kyle K
c46631d7a2
Ensure that loading message is provided.
2019-09-05 04:15:22 +00:00
Kyle K
16cabc93a4
initial go at flashing unified target with a config
2019-09-05 04:15:22 +00:00
mikeller
1079a854aa
Added flasing of Unified Targets from configurations.
2019-08-19 00:54:35 +12:00
Michael Keller
2b0e5617f4
Make the 'Update Firmware' buttom more consistent ( #1571 )
...
Make the 'Update Firmware' buttom more consistent
2019-08-11 14:42:59 +12:00
Kyle K
3baab000da
Make the 'Update Firmware' buttom more consistent
2019-08-10 00:49:59 +00:00
Kyle K
ea1aaf7e8a
switch languages without an app restart
2019-08-10 00:04:46 +00:00
Michael Keller
9b8b17b219
Refactor flashing progress bar code ( #1523 )
...
Refactor flashing progress bar code
2019-07-07 15:20:13 +12:00
Miguel Angel Mulero Martinez
58657ac345
Refactor flashing progress bar code
2019-07-04 20:39:29 +02:00
Miguel Angel Mulero Martinez
f1ec75e939
Remove size limit of local flash file
2019-07-04 18:40:23 +02:00
Miguel Angel Mulero Martinez
e38afdcf46
Fix and make bigger max size local file to flash
2019-07-02 20:06:06 +02:00
Miguel Angel Mulero Martinez
057185aead
Move flash progress to toolbar
2019-05-16 09:07:12 +02:00
mikeller
9aa4d8aa1b
Fixed lockout for flashing local file caused by the releases being loaded.
2019-04-01 22:52:07 +13:00
mikeller
5f5166cc41
Fixed ownership of installed files on debian.
2019-03-24 11:52:59 +13:00
Dr Nic Williams
39fc46e8b0
once hardware selected, default to/encourage latest firmware
2019-02-08 07:13:39 +10:00
jflyper
2f2da42f53
Add an ability to handle multiple DFU device types
2018-11-12 21:05:51 +09:00
Sean M
9c4bf73101
Select first value in drop down upon enabling expert mode
2018-09-13 20:01:03 -04:00
mikeller
ae5603af2b
Added expert mode to firmware flasher to hide unstable builds.
2018-08-13 00:18:06 +12:00
mikeller
d9e8330997
Added more metrics, fixed bug in CLI save.
2018-08-10 09:33:09 +12:00
mikeller
91af936893
Added tracking for firmware download channel.
2018-08-09 01:48:55 +12:00