1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-23 00:05:22 +03:00
Commit graph

699 commits

Author SHA1 Message Date
Andrew Young
10fb05efc8 Added change heatmap to PIDs for the sliders 2019-12-23 00:28:47 +00:00
Richard Cooper
a3e879288c Fix bad powerTable in vtx lua output 2019-12-10 10:15:35 +00:00
Bruce Luckcuck
f3cefcef81 Add support for "Auto" RC Smoothing derivative type 2019-11-30 19:03:35 -05:00
Miguel Angel Mulero Martinez
8179081d0a Fix OSD stat flight distance description 2019-11-29 11:20:42 +01:00
Michael Keller
5ae30e3e2e
Adds RC Channels element to the OSD (#1826)
Adds RC Channels element to the OSD
2019-11-16 01:05:48 +13:00
Michael Keller
ec932af580
Fix unknown elements at the end in the OSD tab (#1825)
Fix unknown elements at the end in the OSD tab
2019-11-16 01:05:26 +13:00
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
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
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
Michael Keller
e688d4191f
Updated maximun no battery voltage (#1796)
Updated maximun no battery voltage
2019-11-04 14:47:00 +13:00
Miguel Angel Mulero Martinez
09e2f6d231 Remove tabs and some trailing spaces 2019-11-03 13:46:19 +01: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
36f29108d9 Fixed vulnerabilities found by SonarCloud. 2019-11-02 21:06:33 +13: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
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
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
Michael Keller
49c7da5683
Save vtx_table lua file. (#1759)
Save vtx_table lua file.
2019-10-29 14:29:48 +13:00
Asizon
df2db988d5 HideMotorPoles
Suggested changes

Doblewhitespace
2019-10-28 06:28:57 +01:00
Michael Keller
39591abdc8
Fix channel limiting (#1764)
Fix channel limiting
2019-10-27 16:04:22 +13:00
Michael Keller
0d7d19f134
Squash all dark theme files into a single file (#1767)
Squash all dark theme files into a single file
2019-10-27 14:55:45 +13:00
Kyle K
d6bb3833f4 remove a duplicate instance of of update_dataflash_global function
Removing the one that is less advanced, as its not actually used.
2019-10-25 20:53:53 +00:00
IvoFPV
69d756f1cd Squash all dark theme files into a single file 2019-10-23 17:39:40 +02:00
Richard Cooper
b05c3105ef Refactor table creation to function 2019-10-23 13:44:04 +01:00
Richard Cooper
fe0cd8b910 Save vtx_table lua file. 2019-10-23 13:44:04 +01:00
Anisotropic
02c98ae43e Fix channel limiting 2019-10-23 00:01:19 +03:00