Commit Graph

113 Commits (bb17a1a7d36415a65a09a703b8d3384795a3c5a3)

Author SHA1 Message Date
Joost Wooning bb17a1a7d3
oauth login using api redirects (#76)
* login with api redirect

* fix scss imports

* login button styles

* keep original path after login

* no /cabana base path

* small redirect fix

* upgrade packages

* use github actions for building

* CI sass

* fix warnings

* fix build test
2021-10-04 18:57:54 +02:00
Joost Wooning ac71fa85c5 logout if no access to route 2021-09-14 12:37:04 +02:00
Andy Haden c605ad31ee calculate video offset from log 2019-12-11 16:26:00 -08:00
Andy Haden e9bec22a98 qcamera stream 2019-12-11 01:28:14 -08:00
Chris Vickery 79035c5990 Refactor can plot spec, fix charts not receiving new data 2019-11-06 14:14:26 -08:00
Chris Vickery eb37fcc7e1 eslint --fix 2019-11-04 09:55:50 -08:00
Chris Vickery 201d16f073
Cache data in memory (#30)
* WIP cabana worker refactor

* Fix out of order data and byte colors

* Reparse messages in a worker for dbc changes

* Reprocess signal data on signal change

* Enforce message frame a little better

* Fix init flow when navigated to directly

* Handle signal reentrancy and adding while loading better

* Cache more aggressively

* Dont test expirey while loading data
2019-11-04 09:10:41 -08:00
Chris Vickery 3464aec62c Minor lint fixes 2019-10-21 14:07:26 -07:00
Chris Vickery 6561506b51 Add puppeteer config and test for demo mode 2019-10-10 18:24:06 -07:00
Chris Vickery f205520532
Add support for seekTime and segments url parameters (#29)
* Add coverage script for convenience

* Add support for seekTime url parameter

* Support preset segment as well

* Test props pumping through can explorer to explorer
2019-10-09 15:22:46 -07:00
Chris Vickery 5c83305260
Read thumbnails from rlog files when video isn't working (#28)
* Add rlog thumbnails to cabana

* Fixing more linting errors
2019-10-09 11:32:17 -07:00
Chris Vickery 1be5544df3
Add eslint with explorer configuration (#26)
* Add eslint and run --fix

* Remove precommit prettier
2019-10-07 16:11:53 -07:00
Chris Vickery 347c3fdfa7
Remove t endpoint redundancy for shared rides (#25)
* Remove t endpoint redundancy for shared rides

This reverts commit a973409d87.

* Remove more dead code

* Remove api/can
2019-10-03 12:47:08 -07:00
Chris Vickery 7831038bcf Re-enable downloading logs, but only from in-memory 2019-10-03 11:30:40 -07:00
Chris Vickery 4f95cf42cc
More work on graphs, general fixes and improvements, tests (#24)
* More work on graphs, general fixes and improvements, tests

* Dont do more things after closing worker

* Fix some minor errors and graph data flow

* Fix bounds not loading correctly at first

* Clean up
2019-09-30 18:13:01 -07:00
Andy 87b77f3a57 Use signed rlog URLs for shared rides (#20) 2019-09-16 10:38:41 -07:00
Chris Vickery edf84da5ab
Refactor graph data flow, re-add subsection looping and seeking (#19)
* Close web workers when they're done

* Have graphs generate their own data, insert new data better

* Replace all messages in graphs to handle out of order signals

* Fix bugs, add video looping

* Fix looping a bit, optimizations

* Fix test cases

* Remove debug statements

* Make jest comma package workaround more generic
2019-09-11 13:36:15 -07:00
Chris Vickery 2588389da3
Remove 3 minute time window (#18)
* WIP

* Almost working, index stuff doesnt seem to be working correctly

* Rolling message cache mostly working, buggy at end of video

* Fix bug where too many messages would be filtered

* Reduce logging, fix end-of-video issues

* Remove the part picker ui element

* Remove some more log statements
2019-09-09 13:26:43 -07:00
Chris Vickery a973409d87 Re-add t endpoint redundancy for shared rides 2019-09-02 16:40:10 -07:00
Chris Vickery 48948d8dd0
Make cabana function properly on only rlogs (#17)
* Make cabana function properly on only rlogs

* Remove dead code that called old t endpoints
2019-08-28 11:25:35 -07:00
Andy Haden 839607863b use comma-api 2019-06-14 14:39:49 -07:00
Andy Haden 4bb6453247 rlog replay decoupled from np can files 2019-02-13 14:27:27 -08:00
Andy Haden 3f058285c6 Revert "Reduxify a bunch of the state, add seekTime URL parameter (#12)"
This reverts commit e755a4e911.
2018-09-03 14:13:25 -07:00
Andy Haden 75d662ab7e fix demo in dev mode, there was a race here 2018-08-31 20:25:02 -07:00
Chris Vickery e755a4e911
Reduxify a bunch of the state, add seekTime URL parameter (#12)
* Start the process of reduxifying. Some of it works

* better seeking

* Seeking and stuff

* Add segment functionality

* Fix tests

* Fix more tests
2018-08-15 12:53:21 -07:00
Chris Vickery 7754ac67bd
Add raw logs to basic CAN massage view (#8)
* Add raw car state to basic can massage view

* Format and transfer log data better

* Expose most of car state, support 32 bit ints and signed vals better

* Reroute frame requests through getter, intercept log event frame requests

* Add all requested logs

* Remove testing debugger

* Make log events toggle in view

* Fix minor exception with drag and drop
2018-07-24 15:15:09 -07:00
Andy Haden d1234f225c this was unnecessary 2018-06-06 21:13:55 -07:00
Andy Haden 46e3919aab fix bug where last log was not downloaded, and where queued update did not contain ended=True 2018-06-06 21:09:30 -07:00
Andy Haden 6d5834aae8 resolve bug where last part of a 3-length segment was not available 2018-06-06 18:42:41 -07:00
Chris Vickery 6fc3664e57 Dont query for log url metadata on share 2018-05-10 11:04:56 -07:00
Chris Vickery 81e29fac88 Fix shared links / demo mode weirdness 2018-05-10 10:24:31 -07:00
Chris Vickery 1acd9a24f7 Fix demo mode 2018-05-09 11:06:52 -07:00
Chris Vickery 3ce3f56135 Update pandajs to working version, log panda errors 2018-05-03 12:14:39 -07:00
Chris Vickery 63ca8ba824
Replace can stream with capnp stream (#7)
* Not working yet, initial download flow. Figuring out prev message garbage

* Basic functionality, but its slooowwwwwwww

* Make localforage optional since it doesnt work in CI for some reason

* Performance improvements

* remove dead code

* Update version of log reader

* Fall back on the old can fetcher when you see ios logs
2018-05-03 11:23:45 -07:00
Chris Vickery e8c8b901c1 Switch to use @commaai/pandajs for webusb communications
Squashed commit of the following:

commit c5d1f64a7072d1eeee6cd52b02aed69515275e22
Author: Chris Vickery <chrisinajar@gmail.com>
Date:   Sun Mar 18 17:45:14 2018 -0700

    Change to scoped pandajs

commit 4ebc842bfc957b32eb694b74517bf3aedf5194c7
Author: Chris Vickery <chrisinajar@gmail.com>
Date:   Sun Mar 18 17:37:09 2018 -0700

    Use pandajs lib to communicate with panda modules
2018-03-18 17:46:30 -07:00
Andy Haden 536c04bd71 merge save-live-data 2018-03-17 16:54:07 -07:00
ChristopherBiscardi 298c6cbabc
eslint fixes for ci to pass 2017-12-15 14:29:13 -08:00
ChristopherBiscardi 40e7efad4c
switch back to create-react-app 2017-12-12 18:24:01 -08:00
Andy Haden 54c5f50c71 cabana: use route.proclog instead of props.max 2017-12-06 16:06:41 -08:00
Andy Haden 633624cb9c cabana: raw log CSV download (Chris' project) 2017-12-06 13:27:50 -08:00
Andy Haden f4d528b2de cabana: remove demo_routes 2017-11-06 17:52:52 -08:00
Andy Haden fdb88e804d cabana: don't return demo routes when authed fetch fails 2017-11-06 17:46:44 -08:00
Andy Haden 8f5deeadf3 cabana: fix exception when selected message falls out of window in live mode 2017-10-26 12:24:54 -07:00
Andy Haden e7e0ddb595 cabana: part selector is more reliable and will be hidden when route duration is <= segment length 2017-09-29 18:40:47 -07:00
Andy Haden 43c218da34 cabana: idempotent share url (no double urlencode); style 2017-09-29 17:43:43 -07:00
Andy Haden f7e419650d cabana: fix edit message with consistent persistDbc interface 2017-08-22 13:33:44 -07:00
Andy Haden c15f506029 cabana: fix live addressing; live button doesnt hang on errors 2017-08-21 18:20:09 -07:00
Andy Haden 04891f9337 cabana: merge v-cabana-view-chffr-drives 2017-08-10 18:55:10 -07:00
Andy Haden cc3cc4fb39 cabana: fix race bug where changing signal name could duplicate signal 2017-08-10 16:23:12 -07:00
Andy Haden 28a8a5513e cabana: github sign out button; remove gh_access_token from URL immediately after persisting 2017-08-09 13:03:20 -07:00