1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-25 17:25:16 +03:00
Commit graph

125 commits

Author SHA1 Message Date
Míguel Ángel Mulero Martínez
e0fd63f5d5
Fix board name in logo and status bar (#4019) 2024-06-12 00:59:27 +10:00
Mark Haslinghuis
2f87ab29f7
Fix noselection and not closing dfu after flashing (#3993)
* Fix noselection

* Move select#baud element to vue

* Keep focus

* Do not automatically connect after flashing

* Proper select DFU

* Proper select DFU v2

* Proper select DFU v3

* Fix parentheses

* Duh

* Finally

* Cleanup
2024-06-03 12:47:24 +02:00
Míguel Ángel Mulero Martínez
324bec63a2
Move some code of portOverride from serial_backend to vue (#3992) 2024-05-31 21:15:19 +02:00
Míguel Ángel Mulero Martínez
d0599ae455
Add DFU devices to the port handler (#3991)
* Add DFU devices to the port handler

The firmware flasher ignores it, at this moment. Needs a future PR to use it in place of the actual code that asks permission each time.

* Remove the DFU word in the displayName of the USB devices

some devices contain it in the productName, so better to remove it to not duplicate the name.
2024-05-31 17:59:46 +02:00
Míguel Ángel Mulero Martínez
ff83600a43
Refactor port handler (#3984)
* Refactor port handler and fix reconnect

* Fix as per review

* Don't auto-connect for virtual or manual

* Fix auto-connect switch state

* Move auto-connect title to the parent div

The checkbox is "hidden" under the switchary
library, so move to the parent to be able to show
it.

* Select active port when request permission port exists before

* Fix retun value for webserial requestPemission
2024-05-30 20:10:09 +02:00
Mark Haslinghuis
a6e3761c26
Fix reboot (#3986)
* Fix reboot

* Remove runonce and add callback for cli

* Couldn't resist

* Refactoring

* Forgot callback

* deviceReady

* Prevent callback being called twice
2024-05-28 17:36:13 +02:00
Mark Haslinghuis
3b088d7416
Auto-detect for PWA (#3971)
* Auto-detect for PWA

* Fix sonar
2024-05-20 16:52:28 +02:00
Míguel Ángel Mulero Martínez
4fea844edb
Add auto-connect checkbox again (#3970) 2024-05-20 16:02:33 +02:00
Mark Haslinghuis
c3cb9ceda0
Use BATTERY_STATE for cellCount (#3964)
* Use BATTERY_STATE for cellCount

* Remove outdated comments

* Use vbatcellcount instead of 1.8V condition
2024-05-20 14:32:16 +02:00
Míguel Ángel Mulero Martínez
fce0c8305b
Make port_handler work with PWA (#3958)
* Make port_handler work with PWA

* Modify the port_handler more the Vue way

* Fixes after review

* Fix request permission option not being deselected

* Hide baud selection in port picker if virtual port

* Added port override option for manual

* Fix virtual port state when loading the page

* Fix request permission adds the same device several times

* Fix automatic selection of device under Linux
2024-05-17 10:24:44 +02:00
Mark Haslinghuis
6105210e9e
Add manual connection option (#3703)
* Hide manual connection and refactor port_handler

* Rebased
2024-05-08 20:01:44 +02:00
Mark Haslinghuis
461e2db634
Fix virtual reboot and auto-connect (#3933)
* Fix virtual reboot

* Fix sonar
2024-05-05 15:16:28 +02:00
Tomas Chmelevskij
18eb8dd1b2
Feat/web virtual mode (#3882)
* feat: add virtual mode on web

* feat: only show msp virtual version on virtual mode selection

* feat: update port selection to update the options
2024-04-28 19:51:41 +02:00
Mark Haslinghuis
befa88b27b
Fix connection for patch release versions (#3908) 2024-04-24 20:53:52 +02:00
Mark Haslinghuis
37fada11ef
Use firmware options on introduction (#3900)
* Use firmware options

* Enable telemetry for CRSF, GHST and FPORT

* Add supported date

* Only add telemetry when not included in firmware

* Reduce brain overload
2024-04-21 01:38:56 +02:00
Mark Haslinghuis
16f70a5be8
Fix intermittent race condition (#3901)
Fix race condition
2024-04-20 23:24:40 +02:00
Mark Haslinghuis
939b88d897
Add support for using MSP build options (#3780)
* Add buildOptions from MSP

* Fixup semver
2024-04-19 21:42:57 +02:00
Mark Haslinghuis
92c11394af
Prevent issues with corrupted firmware using outdated configurator (#3793)
* Deny use of newer firmware not supported by configurator

* Update dialog

* Abort on dialog

* Update message
2024-02-15 22:41:29 +01:00
J Blackman
7847de80f1
Increased consistency with tracking parameters captured. (#3771) 2024-01-21 03:28:38 +01:00
Mark Haslinghuis
dcda393f7b
Fix isWeb usage and missing callback (#3758)
* Fix isWeb usage

* Add missing callback

* Fix reinitialize connection
2024-01-16 13:00:42 +01:00
J Blackman
66d175b030
Updating analytics to use build server (#3729)
* Updating analytics to use build server

- allows for server side analytics submission to whatever service we plan to use

* Revert to const (artifact left over from some testing)

* Send the changeList object in total
2024-01-04 22:28:28 +01:00
Mark Haslinghuis
6008284d09
Fix flash button color (#3661) 2023-12-08 02:26:51 +01:00
Mark Haslinghuis
11279cd05a
Fix sensor status calls (#3640)
Fix Sensor Status
2023-11-24 17:51:39 +01:00
Mark Haslinghuis
feb5a48783
Fix virtual disconnect (#3620) 2023-11-01 17:27:37 +01:00
Tomas Chmelevskij
5e5aa4f980
fix: presets styling for web (#3585)
* fix: presets styling for web

* feat: add `isWeb` helper
2023-09-18 22:35:02 +02:00
Tomas Chmelevskij
0a93ea478c
fix: web serial disconnect logic (#3575)
fix: disconnect logic on the web
2023-09-12 23:32:26 +02:00
Tomas Chmelevskij
ff4b62d7e2
Feat/vite build (#3292)
feat: vite based web build

* configure vitejs build
* add web serial option
2023-08-31 20:01:06 +02:00
Tomas Chmelevskij
40c243fe47
feat: use jquery package (#3540) 2023-08-17 01:13:03 +02:00
Mark Haslinghuis
edd34a1624
Fix intermittent connect failure (#3515) 2023-07-18 15:53:05 +02:00
Mark Haslinghuis
ea02a48c07
Enable video transmitter tab (#3505) 2023-07-10 15:47:36 +02:00
Mark Haslinghuis
791751a860
Fix offline behavior (#3480)
* Fix offline behaviour

* Fix message on setup tab when offline
2023-06-14 00:54:04 +02:00
Mark Haslinghuis
99730ef531
Fix invalid version (#3449) 2023-05-12 21:44:01 +02:00
Mark Haslinghuis
e789d97baa
Fix: arm status [icon] (#3438)
Fix status
2023-05-09 17:33:49 +02:00
Mark Haslinghuis
ef40e88e21
Move mDNS initialization (#3412) 2023-04-10 01:55:24 +02:00
Mark Haslinghuis
5344781de2
Fix battery status and optimize and fix status pull (#3397)
* Fix status

* Remove duplicate status requests

* Add clearInterval

* Cleanup

* Remove more duplicate status polling
2023-04-10 01:42:03 +02:00
HThuren
6cbbaff240
GPS icon now reflect fix state (#3377)
* GPS icon now reflect fix state

* Code moved to sensor_helpers.js

* Code moved to sensor_helpers.js

* Minor changes
2023-03-13 20:34:17 +01:00
Mark Haslinghuis
5b9c0ad3b9
Remove custom defaults (#3361) 2023-03-09 20:38:21 +01:00
Mark Haslinghuis
584e672c4d
Expose Cloud Build Options and hide tabs and features (#3332)
Expose Cloud Build Options

Add cloud build options to auto-detect
2023-03-03 00:11:20 +01:00
Mark Haslinghuis
799b587ac6
Simplify Expert Mode (#3301) 2023-02-02 20:26:45 +01:00
Tomas Chmelevskij
7c6f90bea5
remove object-hash and lru_map (#3271)
* refactor: replace `object-hash` with `crypto-es`

* chore: remove `lru_map`
2023-01-25 16:02:46 +01:00
Tomas Chmelevskij
771b840095
feat: use modules instead of global bindings (#3245) 2023-01-15 23:40:23 +01:00
Tomas Chmelevskij
c086395def
Refactor msp to modules (#3214)
* feat: refactor everything to modules

* fix: a lot of circular deps fixes

* feat: use vitest instead of karma
2023-01-14 22:11:37 +01:00
Tomas Chmelevskij
4582f4d39e
Serial backend modules (#3192) 2023-01-08 17:13:20 +11:00
J Blackman
fd99e77335
RF: Moved Analytics to class (#3222)
* RF: Moved Analytics to class

* Modularisation of Google analytics.

* Removing the code smells

* Fix the unit tests

* Simplified

* Removed comment
2023-01-07 19:56:26 +01:00
Ivan Efimov
8e7aa89ee5
Bringing Google stats back - Reverting #3148 (#3204) 2023-01-07 10:05:34 +11:00
Tomas Chmelevskij
e0209c6b59
Convert battery icon to vue component (#2726)
* feat: use vue battery icon
* Add battery icon stories
* feat: use battery state if available
2023-01-07 10:04:21 +11:00
J Blackman
3f21a672ad
FIX: Incorrect naming (#3212) 2023-01-06 01:05:17 +01:00
J Blackman
17d4738b34
Adding some extra data elements to a build request (#3194)
* Adding some extra data elements to a build request

- so as to be able to provide better support, and analysis

* Renamed "info" to more appropriate "response"
2023-01-01 05:11:10 +01:00
haslinghuis
b6d8efc9f8
Remove Google Analytics (#3148) 2022-12-16 14:11:05 +11:00
haslinghuis
867b59d204
Bump API_VERSION_ACCEPTED and semver cleanup (#3104)
Firmware flasher: build config help icons style fix (#3092)

Co-authored-by: Ivan Efimov <gendalf44@yandex.ru>
2022-12-11 04:55:14 +01:00