Michael Keller
bafc683183
i18next uses :
to denote a namespace for messages. Get rid of… ( #1817 )
...
i18next uses `:` to denote a namespace for messages. Get rid of warnings.
2019-11-12 19:27:07 +13:00
Michael Keller
b6485ef887
Add support for max7456 detected flag ( #1818 )
...
Add support for max7456 detected flag
2019-11-12 19:26:59 +13:00
Bruce Luckcuck
5c795957d8
Add support for max7456 detected flag
...
Hides the font manager if the max7456 is not detected to prevent the firmware wedging.
Also fixes the OSD Profile div hiding to not be based on the target having a max7456.
2019-11-10 19:19:11 -05: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
Michael Keller
13bde2c415
Sonar clean main js ( #1806 )
...
Sonar clean main js
2019-11-10 23:28:08 +13:00
Miguel Angel Mulero Martinez
3252654aea
Clean Sonar issues from main.js
2019-11-10 09:20:41 +01:00
Michael Keller
77802ceb3a
Merge pull request #1813 from mikeller/fix_test_warning
...
Fixed warning in tests.
2019-11-10 15:11:15 +13:00
Michael Keller
53fb5944d1
Add more parameters to GPS Rescue ( #1812 )
...
Add more parameters to GPS Rescue
2019-11-10 11:32:31 +13:00
Michael Keller
9dcd467aaa
Fix galileo and home point once as per review ( #1814 )
...
Fix galileo and home point once as per review
2019-11-10 11:16:22 +13:00
Miguel Angel Mulero Martinez
77dfd8eaa8
Fix galileo and home point once as per review
2019-11-08 08:52:40 +01:00
Miguel Angel Mulero Martinez
1672a44dc2
Add more parameters to GPS Rescue
2019-11-08 08:45:17 +01:00
Michael Keller
a656dc2f5b
Add Galileo and Home Point once to GPS ( #1810 )
...
Add Galileo and Home Point once to GPS
2019-11-08 08:54:43 +13:00
mikeller
9bfea852eb
Fixed warning in tests.
2019-11-08 07:12:37 +13:00
Michael Keller
4e21ad32a1
Merge pull request #1809 from frozenskys/azure-build-tests
...
Add test runs for nightlies
2019-11-08 07:06:28 +13:00
Richard Cooper
7f87965b9c
fix karma.conf.js after removing puppeteer.
2019-11-06 22:47:06 +00:00
Richard Cooper
6b6610d346
Just run tests on windows build.
2019-11-06 22:31:08 +00:00
Richard Cooper
a4f40455de
fix missing trailing comma (sonarcloud)
2019-11-06 18:28:33 +00:00
Miguel Angel Mulero Martinez
ce044622a2
Add Galileo and Home Point once to GPS
2019-11-06 19:25:56 +01:00
Richard Cooper
bd296b8eb9
Use puppeteer for karma tests
2019-11-06 16:22:43 +00:00
Richard Cooper
9da36488ac
display name update
2019-11-06 15:01:31 +00:00
Richard Cooper
21263087ec
run karma tests as part of build
2019-11-06 14:58:27 +00:00
Richard Cooper
2a6fb63be2
fix test name
2019-11-06 14:49:00 +00:00
Richard Cooper
a3998927cd
exlude PRs and fix build name.
2019-11-06 09:58:37 +00:00
Michael Keller
e69c904730
Fix critical and major bugs from Sonar in JS files ( #1804 )
...
Fix critical and major bugs from Sonar in JS files
2019-11-06 13:32:58 +13:00
Michael Keller
dbaf47ddee
Update language info and nightlies in the README ( #1803 )
...
Update language info and nightlies in the README
2019-11-06 13:32:48 +13:00
Michael Keller
37f26d5032
Disable Schema validation for ChromeOS ( #1802 )
...
Disable Schema validation for ChromeOS
2019-11-06 13:32:34 +13:00
Miguel Angel Mulero Martinez
4ff98691f3
Some more Sonar fixes in servos.js
2019-11-05 13:15:45 +01:00
Miguel Angel Mulero Martinez
c8b4958e8c
Fix critical and major bugs from Sonar in JS files
2019-11-05 13:15:44 +01:00
Michael Keller
377149f06a
clean up gulpfile.js ( #1801 )
...
clean up gulpfile.js
2019-11-05 22:13:37 +13:00
Michael Keller
f1473695db
Remove tabs and some trailing spaces ( #1800 )
...
Remove tabs and some trailing spaces
2019-11-05 22:07:32 +13:00
Miguel Angel Mulero Martinez
86f64600f2
Update language info and nightlies in the README
2019-11-04 15:41:49 +01:00
Miguel Angel Mulero Martinez
918a989e72
Disable Schema validation for ChromeOS
2019-11-04 13:01:15 +01:00
Michael Keller
0c00a80b8e
Validate the contents of the VTX Json when loading ( #1753 )
...
Validate the contents of the VTX Json when loading
2019-11-04 23:32:51 +13:00
Miguel Angel Mulero Martinez
510056b278
Add VTX Config JSON Schema validation
2019-11-04 10:16:50 +01:00
Miguel Angel Mulero Martinez
1d7ec1a764
Add djv library to validate against JSON Schemas
2019-11-04 10:07:07 +01:00
Michael Keller
e688d4191f
Updated maximun no battery voltage ( #1796 )
...
Updated maximun no battery voltage
2019-11-04 14:47:00 +13:00
Michael Keller
2abe14be3d
Removed copy of semver from repository. ( #1795 )
...
Removed copy of semver from repository.
2019-11-04 14:46:07 +13:00
Michael Keller
7505e5896a
Fixed vulnerabilities found by SonarCloud. ( #1793 )
...
Fixed vulnerabilities found by SonarCloud.
2019-11-04 14:45:48 +13:00
Michael Keller
e6cfae063a
Removed non-published builds from the Azure pipeline. ( #1797 )
...
Removed non-published builds from the Azure pipeline.
2019-11-04 14:32:24 +13:00
Kyle K
0c5f3656fb
clean up gulpfile.js
...
throwing out the generator config as I can't find a place to use it.
2019-11-03 21:41:38 +00:00
Michael Keller
3843b4250b
Update version of nw.js ( #1794 )
...
Update version of nw.js
2019-11-04 09:08:33 +13:00
Miguel Angel Mulero Martinez
09e2f6d231
Remove tabs and some trailing spaces
2019-11-03 13:46:19 +01:00
Michael Keller
55df431247
sonar cloud cleanup, test of sorts ( #1792 )
...
sonar cloud cleanup, test of sorts
2019-11-03 19:32:40 +13:00
mikeller
7da219259d
Added badges to README.md.
2019-11-03 14:49:53 +13:00
mikeller
e73cd9b24d
Removed non-published builds from the Azure pipeline.
2019-11-03 13:17:35 +13:00
Michael Keller
f6b4d87235
Fix Azure-Pipelines.yml to do a build and release on check in o… ( #1727 )
...
Fix Azure-Pipelines.yml to do a build and release on check in of master branch
2019-11-03 12:30:23 +13:00
Michael Keller
c94d8bdd41
pngcrush pngs ( #1791 )
...
pngcrush pngs
2019-11-03 12:11:24 +13:00
mikeller
18184013b5
Updated 'yarn release' target.
2019-11-03 12:10:06 +13:00
Asizon
80afa929b7
Increaseto1.8
2019-11-02 10:51:02 +01:00
Asizon
1985ff0b01
Moreincrease
2019-11-02 10:44:11 +01:00