Commit Graph

61 Commits

Author SHA1 Message Date
Adeeb Shihadeh 3ede01fb14 agnos 0.6 (#20077)
* updates for agnos 0.6

* timezone

* bump version
old-commit-hash: d169914674f428f0355c0ec456ed9336fce500a1
2021-02-18 18:14:34 -08:00
Willem Melching 946b669ec5 Qt ui: set timeout on all dbus interfaces in wifiManager (#20090)
* set timeout on all dbus interfaces in network

* fix hardcoded timeout

* lower timeout in thermald
old-commit-hash: cf3cd54b687fc63f8cbbfddde14f4977a2efd452
2021-02-16 15:57:01 +01:00
grekiki b49e33cee2 should work (#20083)
old-commit-hash: 34ff2951d4172710c35f0443f2a4a274a1b73d70
2021-02-15 16:45:13 +01:00
grekiki 0346516eeb UI fixes (#20069)
We fix some UI issues. Also UI should be more resistant to network manager not running. 
old-commit-hash: 43db36d829c4f8a6c551c55d54d091c0c05ccc54
2021-02-15 13:42:02 +01:00
grekiki 03f12d8735 Qt add Terms & Conditions (#19998)
* works...

* terms

* new termms

* should be good

* reduce diff

* fix reviews

* correct font + remove unused import

* no zooming

* read the TERMStig!

* dynamic check for page being read

* rename scroll position slot

Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: caf8f85ee9821c9433d52d0fbf7c6ba4ed3fcc5c
2021-02-12 09:48:15 +01:00
Adeeb Shihadeh 80c3d67a28 Qt UI refactoring + improvements (#20033)
old-commit-hash: f9d8652cbda86a4777166b1f970f770fcf65f4f3
2021-02-07 17:33:48 -08:00
Adeeb Shihadeh 10bf2690f1 fix font weights in qt ui
old-commit-hash: d75ff1504876e4da40097504672f2ba360821ca3
2021-02-05 17:50:19 -08:00
grekiki 0b4151df44 Multithreaded ssh activation (#19988)
No more lag on SSH enable/disable
old-commit-hash: cc1308c7dffa8735bcb8f0a021f9755588efdf30
2021-02-01 19:46:03 +01:00
Adeeb Shihadeh 07747aea97 blue bg in training guide
old-commit-hash: 4a03d1cb648cbfe466b02f114fdab86876f89580
2021-01-29 13:41:48 -08:00
Adeeb Shihadeh 48282f36a4 cleanup training guide
old-commit-hash: d3756bc475b38c6343b192444bf3af4d5f387d13
2021-01-29 13:21:10 -08:00
grekiki 9518779d56 Qt training guide (#19953)
* initial commit

* background kind of works

* checkpoint

* temp

* add images

* all works

* remove some files

* rename

* enable restart

* remove first

* lfs try1

* refactor labels

* remove nonneeded code

* centered

* more centering

* don't hardcode the training version

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: c5762456e13ff46bc517ab69c07d94d022cd800b
2021-01-29 17:54:00 +01:00
grekiki 21f94c284d Wifi correct ip (#19961)
old-commit-hash: 82b894c645471a409dbb5b76562edc59b0cb62b9
2021-01-29 16:22:35 +01:00
Comma Device e6e7fa0883 wifi connecting is not hidden any more
old-commit-hash: e0b38c0278c86b95cc0e0724223f88cdd6b69bf6
2021-01-27 12:56:11 +00:00
grekiki 3ea2e2788b minor wifi improvements (#19938)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ea642aa0cb091d881098e8a412930a20004c496c
2021-01-27 13:43:28 +01:00
grekiki 2ebacdc364 Add Github SSH keys (#19879)
old-commit-hash: 7408569c1b7fc858125c2ec131037ccc407aad3a
2021-01-27 12:07:17 +01:00
Adeeb Shihadeh 1021ce3073 fix qt onboarding text color
old-commit-hash: 406ceb2ab2adcdc95cdf00b54ec2407070df5c44
2021-01-22 13:34:27 -08:00
Willem Melching bbba320d22 qt ui: remove line between poweroff/reboot
old-commit-hash: c9aa9b0178e19bbc771d627c9132e8c5a0394e33
2021-01-22 14:38:16 +01:00
grekiki bf39eb50ad qt ui: don't refresh wifi widget if it is not visible (#19876)
Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: 621a6c16a462fabc4a0696695a1797f8bf5db093
2021-01-22 14:36:42 +01:00
Willem Melching 8fa0f285f3 qt ui: fix segfault if networkmanager is not running
old-commit-hash: cafb19d37523f35ef27151e1cbb7a4e7aa79358a
2021-01-22 14:34:49 +01:00
grekiki eea78cd686 Qt parents3 (#19870)
Not just parents, we also made the UI look nicer. 
old-commit-hash: 2eb81aa1d33887bd11083bc4f57e6f51271198f9
2021-01-22 13:51:26 +01:00
grekiki ded5d24781 Hotspot password (#19854)
Now there is a possibility of changing a tethering password. The WiFi UI was also modified, so it should look nicer now. 
old-commit-hash: 24356b4a1e972bb516ce837439df4ff7bc2a876f
2021-01-21 13:00:03 +01:00
Dean Lee 4c1919f41e merge utilpp.h into util.h (#19710)
old-commit-hash: 595830135bb79c8b23eb8339ae768ca7b6a822f8
2021-01-10 14:57:32 -08:00
Willem Melching 40a74fe136 round close button
old-commit-hash: 493937d2d90ba6ed6512975e9821b777ffe1a65c
2021-01-04 11:28:28 +01:00
Comma Device fb17404dda square looks better
old-commit-hash: 3e34b67715db285dcdb9a87113efbfd55cd4fa36
2020-12-30 18:08:18 +00:00
Adeeb Shihadeh 7dd876805f offroad home style (#19593)
* make drive stats look nicer

* offroad alerts style

* rest of alerts

* move that

* fix up colors

Co-authored-by: Comma Device <device@comma.ai>
old-commit-hash: ce48d3c91eb66924ca20c0bcbd14a74e88207997
2020-12-25 01:02:47 -08:00
Adeeb Shihadeh 6e03a66575 make wifi settings a bit nicer
old-commit-hash: b7adecdf59dc520f2ff9f11ae806ab7cbe17fe1c
2020-12-24 14:31:13 -08:00
Adeeb Shihadeh 4d2ccb3a79 qt settings style (#19588)
* dark mode

* inter

* frame

* this looks pretty good

* revert that

* fix bg hack

* don't override style sheet
old-commit-hash: 550b5e422f5ee7f7ca23d569cbd58f78bfdda9c5
2020-12-24 14:10:43 -08:00
Adeeb Shihadeh 6506655011 Qt settings: highlight selected nav button
old-commit-hash: c0b1518a9b8719ac6636a7c8a69b628729f19b7b
2020-12-20 21:18:11 -08:00
Adeeb Shihadeh d64c3ae436 make onboarding a bit nicer
old-commit-hash: d5deaf2e6bf8bf9d9ae5dad4e20b55fed26d0a18
2020-12-20 16:07:33 -08:00
Adeeb Shihadeh c20cd542eb uninstall from qt offroad (#19538)
* more offroad

* implement uninstall

* just uninstall for now
old-commit-hash: 8d9be50bccfecbd0a9f346b3788b667aa00b6e61
2020-12-18 23:06:40 -08:00
Adeeb Shihadeh 6371eda194 build Qt UI with clazy (#19537)
* clazy, level0

* level1
old-commit-hash: 069189fd7fd9dc677b29725f92fd3b4b80911d8a
2020-12-18 19:26:59 -08:00
grekiki 9f0611507e 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>
old-commit-hash: 5b26c97141b65e3bcbddaec7e6526d5f2f1c910e
2020-12-18 13:29:20 +01:00
grekiki 99ee2a9459 WiFI UI show IP (#2735)
WiFi widget now shows the IP of currently connected network. 
old-commit-hash: c16c8f3c2c0c9cd982dd96c769f760185b837da8
2020-12-11 00:29:31 +01:00
grekiki 3bc7286704 Add label if no network manager is found (#2718)
old-commit-hash: f96fb625d929701717670bbe7be8791aa204bf02
2020-12-10 19:04:19 +01:00
Willem Melching 16bb8fcf54 dont init wifi widget if there is no adapter
old-commit-hash: 3d2fec6c9ad7e682404ff1481d11df43c1c03bf4
2020-12-08 16:33:00 +01:00
grekiki 2e07e45bed 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>
old-commit-hash: 3e466aa528dfaf40063c209189bb3c9ece3bf26b
2020-12-08 12:00:51 +01:00
grekiki c76d239a8e 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. 
old-commit-hash: ec671d47412838b40cedab19e738e6227419590b
2020-12-07 12:55:17 +01:00
Adeeb Shihadeh 672d0d4727 move offroad alerts to home screen (#2681)
* move offroad alerts to home screen

* offroad aletrs work, but sidebar doesn't look nice

* fix sidebar

* looks better

* cleanup

* little bigger

Co-authored-by: grekiki <gregor1234567890@gmail.com>
old-commit-hash: 8320a153fb530f973669fa1aafa693a17d4ef035
2020-12-04 15:21:55 -08:00
Adeeb Shihadeh 86dd0f5df1 Qt offroad home screen (#2672)
* some cleanup first

* home sweet home

* basic home screen

* date

* fix touch

* fix mac

* hide when onroad

* box layout didn't do what i thought
old-commit-hash: fed642c4ed2fd668360bef480da8f0b7a8559916
2020-12-02 20:47:47 -08:00
grekiki 1a686500fe small UI improvements (#2669)
* small UI improvements

* style improvements

* code style

* remove the padding

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a5132e44f9b8c7f28dee52ae1d00ed0b849a8879
2020-12-01 11:12:54 -08:00
grekiki e4b5b9a297 Offroad alerts (#2664)
We now have a working offroad alerts

old-commit-hash: 744a3317e3ab608fadc9b172dd16897b8bbdc55e
2020-12-01 16:39:14 +01:00
Adeeb Shihadeh fa147c5d6e add wifi to setup (#2604)
* add wifi to setup

* wifi looks better

* move widgets

* this looks ok

* small fixups

* fix relase tests
old-commit-hash: 6a2678aae7fa353617ec111bd46181cdc422e15b
2020-11-30 22:35:17 -08:00
Adeeb Shihadeh d1e04999c1 quick toggles cleanup
old-commit-hash: f66fac1a0b019ba99242f77eaec7c1ff8790746e
2020-11-27 09:33:52 -08:00
grekiki 3bfc92bafc Qt ui: improve toggle buttons (#2639)
* works, but is still a bit ugly

* works

* looks much better now

* fix compile error

* reduce diff

* write to params

* cleanup
old-commit-hash: 61884d2c502930c95a612ba3966dd77ec2749f61
2020-11-27 17:55:07 +01:00
grekiki 98a3cabdf2 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. 
old-commit-hash: c52e3dfb0887358faee5cb37f0eefc77767fd71d
2020-11-26 16:22:14 +01:00
grekiki 7593c41f4f pad vlayout (#2626)
old-commit-hash: 54afae71479b09d59e83a900fba908a67e532da9
2020-11-26 11:52:27 +01:00
grekiki f1bd6ebe19 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.
old-commit-hash: 7d377934343dfe83e3fe3d2da3f550b1a7086c99
2020-11-25 20:32:52 +01:00
Adeeb Shihadeh e9f6e1cb33 small onboarding cleanup
old-commit-hash: c8ab38a8a8289819895bca5fc48b0214d4e2bb8d
2020-11-25 00:01:05 -08:00
Willem Melching 97fe386b3a Qt ui: fix onboarding
old-commit-hash: 99ea3ef17856ea426f158e2aea1f363e2f386409
2020-11-24 13:53:15 +01:00
grekiki f2d7e497f8 Make next and prev buttons (#2598)
* Make next and prev buttons

* cleanup

* reduce diff

* Revert previous commit

* change scaling
old-commit-hash: f6ed146e8f027e83a7a99e6e89e909cc680f730a
2020-11-23 22:56:56 +01:00