1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-20 14:55:15 +03:00
Commit graph

1464 commits

Author SHA1 Message Date
Miguel Angel Mulero Martinez
2a79f7e612 Adds RC Channels element to the OSD 2019-11-13 08:53:37 +01: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
Richard Cooper
cb1b63f5e7 use local not global tables and fix formatting 2019-11-12 20:35:45 +00:00
Miguel Angel Mulero Martinez
c9e0b4e276 Fix unknown elements at the end in the OSD tab 2019-11-12 16:41:02 +01:00
Miguel Angel Mulero Martinez
82c209bce4 Let pid profile and rate selects grow 2019-11-12 13:21:12 +01:00
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
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
53fb5944d1
Add more parameters to GPS Rescue (#1812)
Add more parameters to GPS Rescue
2019-11-10 11:32:31 +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
Miguel Angel Mulero Martinez
ce044622a2 Add Galileo and Home Point once to GPS 2019-11-06 19:25:56 +01: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
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
918a989e72 Disable Schema validation for ChromeOS 2019-11-04 13:01:15 +01: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
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
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
Michael Keller
c94d8bdd41
pngcrush pngs (#1791)
pngcrush pngs
2019-11-03 12:11:24 +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
Asizon
6bd75f27fa Usbmaxvoltage 2019-11-02 10:04:57 +01:00
mikeller
7bc8dbec6f Removed copy of semver from repository. 2019-11-02 21:28:14 +13:00
mikeller
36f29108d9 Fixed vulnerabilities found by SonarCloud. 2019-11-02 21:06:33 +13:00
Kyle K
e0416cec00 sonar cloud cleanup, test of sorts
this cleans up 5 or 6 things that it sonarcloud is complaining about, so it should be reasonably happy with us.

I mainly want to see if the github integration will pass or fail this.
2019-11-02 05:59:52 +00:00
Michael Keller
9bf2595cdc
redo paper background so that it tiles better (#1790)
redo paper background so that it tiles better
2019-11-02 17:54:10 +13:00
Kyle K
d1e3b9ae94 pngcrush pngs
pngcrush -rem iTXt -rem tEXt -brute

`-rem iTXt` and `-rem tEXt` are being used to remove metadata from Photoshop
2019-11-01 23:21:29 +00:00
Kyle K
a94be11042 redo paper background so that it tiles
making this look better on tall screen
2019-11-01 03:54:05 +00:00
Miguel Angel Mulero Martinez
90dc937e74 Fix array overflow in receiver when no active channels 2019-10-31 09:16:19 +01:00
Michael Keller
4edda955e3
Remove font-awesome (#1784)
Remove font-awesome
2019-10-31 19:12:48 +13:00
Michael Keller
6a82490647
convert some style manipulation over to class manipulation (#1783)
convert some style manipulation over to class manipulation
2019-10-31 19:12:35 +13:00
Michael Keller
b2cc8e0f55
Fix errors about using i18next before its properly initial… (#1782)
Fix errors about using i18next before its properly initial…
2019-10-31 19:12:12 +13:00
Michael Keller
a47aba8d7d
Merge pull request #1774 from Asizon/hidemotorPoles
Hide Motor Poles when it is not necessary
2019-10-31 01:18:47 +13:00
Kyle K
36246b8813 Remove font-awesome
I've done my best to look for any references to font awesome, and I don't see any. Is possible that the icons on the left were initially from font-awesome.
2019-10-30 00:38:08 +00:00
Kyle K
d2623dcb11 i18next: assign languageChanged hook after initialization 2019-10-29 23:16:52 +00:00
Kyle K
c2e8cf19c9 convert some style manipulation over to class manipulation
Use of addClass/removeClass makes design modifications involve html/css instead of html/css/js. Also we can look into packaging the css together to reduce file count.
Also removed some extra color statements (it is a shade of green from cleanflight 1.x)
2019-10-29 20:18:56 +00:00
Michael Keller
4d7cc704b0
CliAutocomplete for diff #1630 (#1677)
CliAutocomplete for diff #1630
2019-10-29 19:53:33 +13:00