Commit Graph

16 Commits (5b26c97141b65e3bcbddaec7e6526d5f2f1c910e)

Author SHA1 Message Date
grekiki 5b26c97141
Qt Offroad stats (#19498)
* probably broke a lot, need the commit though

* finally works

* make it work...

* ...

* kind of works

* better styling

* all should work

* tiny cleanup

* temp

* looks nicer

* create JWT in C++

* kilometers -> km

* use correct free methods

* dont put code in assert statement

* Build JWT payload dynamically

* get dongle id once

* include cleanup

* Remove qDebug

* Update drive_stats.cc

Github is a nice editor :)

* swap week and all and fix sconscript

* install openssl

* openssl include dirs on mac

* is this where openssl is?

* It's here

* small cleanup

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
2020-12-18 13:29:20 +01:00
grekiki c16c8f3c2c
WiFI UI show IP (#2735)
WiFi widget now shows the IP of currently connected network.
2020-12-11 00:29:31 +01:00
grekiki f96fb625d9
Add label if no network manager is found (#2718) 2020-12-10 19:04:19 +01:00
Willem Melching 3d2fec6c9a dont init wifi widget if there is no adapter 2020-12-08 16:33:00 +01:00
grekiki 3e466aa528
UI style improvements with improved keyboard (#2710)
* fix spaces and make spacebar dynamically sized

* some spaces and a comment

* more spaces

* const

Co-authored-by: Comma Device <device@comma.ai>
2020-12-08 12:00:51 +01:00
grekiki ec671d4741
Tethering (#2676)
We can now enable tethering on the device. The user still has to reconnect to the wifi network after disabling tethering, the network manager is lazy.
2020-12-07 12:55:17 +01:00
grekiki a5132e44f9
small UI improvements (#2669)
* small UI improvements

* style improvements

* code style

* remove the padding

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
2020-12-01 11:12:54 -08:00
Adeeb Shihadeh 6a2678aae7
add wifi to setup (#2604)
* add wifi to setup

* wifi looks better

* move widgets

* this looks ok

* small fixups

* fix relase tests
2020-11-30 22:35:17 -08:00
grekiki c52e3dfb08
wider keyboard (#2629)
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.
2020-11-26 16:22:14 +01:00
grekiki 54afae7147
pad vlayout (#2626) 2020-11-26 11:52:27 +01:00
grekiki 7d37793434
Wifi improvements (#2618)
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.
2020-11-25 20:32:52 +01:00
grekiki f6ed146e8f
Make next and prev buttons (#2598)
* Make next and prev buttons

* cleanup

* reduce diff

* Revert previous commit

* change scaling
2020-11-23 22:56:56 +01:00
grekiki b147d91afc
new wifi strength icon (#2601)
* make wifi usable in apartments with lots of access points

* remove unused thing I added a few days ago...

* use a different image

* simpl. and correct scaling
2020-11-22 22:46:04 +01:00
Adeeb Shihadeh 45eccc842a
Qt wifi cleanup (#2594)
* cleanup wifi

* spacing

* cleanup

* little more

* wifi manager

* typo
2020-11-20 22:24:07 -08:00
grekiki 7478b21e2e
Qt keyboard (#2381)
* 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>
2020-11-20 16:29:29 +01:00
Willem Melching f93bca98ae
QT UI: Wifi chooser (#2062)
* 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>
2020-11-19 16:51:48 +01:00