* fix indentation
* add primeTypeChanged signal to uiState
* hide advanced networking toggles on prime type change
* switch between map settings on prime type change
* cleanup
* remove duplicate code, wait for signal
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
* roaming toggle
* clean up
* only tici
* fix order
* move to wifiManager
* should be working
* clean up
clean up
* use map icon
* move to advanced settings
* clean up
* temporarily change home-only
* keep setting for now
* set both to defaults in case ui doesn't start
* knownConnections stores conn names
* Revert "knownConnections stores conn names"
This reverts commit 4466a029a3.
* save lteConnectionPath instead
* use the if statement
Co-authored-by: Comma Device <device@comma.ai>
* refresh on show event
* setup fix
* show scanning message if no networks nearby
* setup isn't ready in 1 second, use signal again
* clean up
* clean up
* Update selfdrive/ui/qt/offroad/networking.cc
* Update selfdrive/ui/qt/offroad/networking.cc
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* wait for adapter to initialize wifimanager
* clean up
* formatting
* don't try to use adapter when not available
* Revert "don't try to use adapter when not available"
This reverts commit 3887fc87eb.
* only tetheringEnabled for now
* request scan once adapter is up (prev behavior)
* populate introspection cache when we need it
populate introspection cache when we need it
* Quicker refreshing and use connection signals
* Android remembers connections with incorrect passwords
* forget network on password incorrect
* knownConnections is already filled here
* refresh on UI init
* scan and wait for signal from networkmanager to update
* fixes incorrectPassword never triggering on known connections
* Update UI on connect state change
* pause timer on leaving networking
* no need to update adapter state on init
* uses AccessPoints signal
clean up
clean up
* Revert "uses AccessPoints signal"
This reverts commit 534219857a10dc200f979e1a66705ac13ca68698.
* perform non-blocking scan on first start only
* suggestions
* forgetNetwork already checks this
* Prevent double refresh on connect interaction and revert timer change
* Should fix nm is inactive error
* Revert "Should fix nm is inactive error"
This reverts commit 36a7ad098b713ae7e17cf1a8d717455ecdd29e2b.
* Fixup original timer code. could be cleaned up, but works
* use WifiManager's firstScan
* no more force!
* fix after rebase
fix after rebase
* scan for next update (seems clearer this way)
* see how responsive device is at scanning, PC is taking up to 15 seconds
* clean up and check ifVisible for scanning and UI updating
* explicitly define relationship since it's not called in Networking any more
The keyboard now signals when it wants to open. By subscribing to this signal we can close the sidebar to make the keyboard larger. We also increase the key size to make it easier to type on.
We now detect wrong passwrods and request the correct password from the user. We also write "CONNECTING" if we are actively connecting to a network.
For a tiny usability upgrade, we now display "Refreshing networks" text, while loading the wifi networks available around us.
* add keyboard
* put widget in settings
* port a keyboard
* forgot git add
* reduce diff
* submodules
* fix macOS and reduce diff
* cleanup
* little more cleanup
* test input
* not working yet
* compiles now
* add stuff
* add keyboard on panel 3
* works now
* small layout improvements
* cleanup
* styling
* cleanup
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* qt wifi
Squashed commit of the following:
commit bec029c7b906c1df5324a8dbb0a58b8980c313ab
Author: grekiki <gregor1234567890@gmail.com>
Date: Mon Nov 2 19:31:30 2020 +0100
try to collect security type
commit e1e4d97f48a293392d33fe607936bbe94415c846
Author: grekiki <gregor1234567890@gmail.com>
Date: Mon Nov 2 16:06:55 2020 +0100
add a function for refresh
commit 52bd7d0937040bd1d5c582f324fdb60f33677014
Author: grekiki <gregor1234567890@gmail.com>
Date: Fri Oct 30 11:14:23 2020 +0100
allow compilation
commit 1b91e1057cca564d6b021a579d97940a8f2b9328
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date: Wed Oct 21 14:12:05 2020 +0200
dont build keyboard
commit cc8bad2ddd668d1397a9003a518699c3f706cca8
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date: Tue Oct 20 18:22:07 2020 +0200
kind of works
commit ce3a9b6d96a1985ba5b9a2f17c15530cb8f93ca8
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Oct 19 11:22:55 2020 +0200
remove button and text field
commit 2db3d11bdb8e69098c34c04a1341ea707ce1ed6a
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Aug 24 15:31:26 2020 +0200
try lineedit
commit d045c302dcec612c8d2ff14ba256af06c7df9ebb
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Aug 24 15:01:18 2020 +0200
add dialog test button
commit 21fa63e33b12b0bcdad441e778b2cf6c42b113e4
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Aug 24 12:36:10 2020 +0200
Only show one if both 2.4 and 5 Ghz found
commit dfb9ca4173adc05264663a3658298899eea2c619
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Aug 24 12:24:16 2020 +0200
Sort networks by strength
commit e57fe68f7972f955fc4da7054af676df8581b003
Author: Willem Melching <willem.melching@gmail.com>
Date: Sun Aug 23 13:59:39 2020 +0200
Handle currently connected AP
commit a5e80e122176f39a9bccfb8056b0886d210fdf24
Author: Willem Melching <willem.melching@gmail.com>
Date: Sun Aug 23 13:38:18 2020 +0200
Add todo
commit 98a1bc6e7a1f38b0ff7cb810b7d63a133552dfcc
Author: Willem Melching <willem.melching@gmail.com>
Date: Sun Aug 23 13:37:35 2020 +0200
Implement scan method
commit 9a774a509b1665371d9fd51b40550ad2388d58bc
Author: Willem Melching <willem.melching@gmail.com>
Date: Sun Aug 23 13:29:03 2020 +0200
show list of wifi networks
* add to settings
* no wifi on pc
* refactor get_property
* refactor WiFi, split between UI and network manager stuff
* renaming
* refresh works
* refactor
* forgot to git add
* connecting works again
* print connection error on weird networks
* extract adapter path
* found networks
* Deleting existing connections to SSID we are trying to connect to
* have paths of active connections
* mvp
* fix review
* qt wifi
Squashed commit of the following:
commit bec029c7b906c1df5324a8dbb0a58b8980c313ab
Author: grekiki <gregor1234567890@gmail.com>
Date: Mon Nov 2 19:31:30 2020 +0100
try to collect security type
commit e1e4d97f48a293392d33fe607936bbe94415c846
Author: grekiki <gregor1234567890@gmail.com>
Date: Mon Nov 2 16:06:55 2020 +0100
add a function for refresh
commit 52bd7d0937040bd1d5c582f324fdb60f33677014
Author: grekiki <gregor1234567890@gmail.com>
Date: Fri Oct 30 11:14:23 2020 +0100
allow compilation
commit 1b91e1057cca564d6b021a579d97940a8f2b9328
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date: Wed Oct 21 14:12:05 2020 +0200
dont build keyboard
commit cc8bad2ddd668d1397a9003a518699c3f706cca8
Author: Gregor Kikelj <gregor1234567890@gmail.com>
Date: Tue Oct 20 18:22:07 2020 +0200
kind of works
commit ce3a9b6d96a1985ba5b9a2f17c15530cb8f93ca8
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Oct 19 11:22:55 2020 +0200
remove button and text field
commit 2db3d11bdb8e69098c34c04a1341ea707ce1ed6a
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Aug 24 15:31:26 2020 +0200
try lineedit
commit d045c302dcec612c8d2ff14ba256af06c7df9ebb
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Aug 24 15:01:18 2020 +0200
add dialog test button
commit 21fa63e33b12b0bcdad441e778b2cf6c42b113e4
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Aug 24 12:36:10 2020 +0200
Only show one if both 2.4 and 5 Ghz found
commit dfb9ca4173adc05264663a3658298899eea2c619
Author: Willem Melching <willem.melching@gmail.com>
Date: Mon Aug 24 12:24:16 2020 +0200
Sort networks by strength
commit e57fe68f7972f955fc4da7054af676df8581b003
Author: Willem Melching <willem.melching@gmail.com>
Date: Sun Aug 23 13:59:39 2020 +0200
Handle currently connected AP
commit a5e80e122176f39a9bccfb8056b0886d210fdf24
Author: Willem Melching <willem.melching@gmail.com>
Date: Sun Aug 23 13:38:18 2020 +0200
Add todo
commit 98a1bc6e7a1f38b0ff7cb810b7d63a133552dfcc
Author: Willem Melching <willem.melching@gmail.com>
Date: Sun Aug 23 13:37:35 2020 +0200
Implement scan method
commit 9a774a509b1665371d9fd51b40550ad2388d58bc
Author: Willem Melching <willem.melching@gmail.com>
Date: Sun Aug 23 13:29:03 2020 +0200
show list of wifi networks
* add to settings
* no wifi on pc
* refactor get_property
* refactor WiFi, split between UI and network manager stuff
* renaming
* refresh works
* refactor
* forgot to git add
* connecting works again
* print connection error on weird networks
* extract adapter path
* found networks
* Deleting existing connections to SSID we are trying to connect to
* have paths of active connections
* mvp
* fix review
* fix bugs
* fix text color
* colors
* wider button
* show connected network first
* fix sorting
* remove hack
* sorting
* auto refresh
* only refresh when widget is visible
* scan once on startup
* dont open dialog on qcom2
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: grekiki <gregor1234567890@gmail.com>