Commit Graph

338 Commits (d6dff07d28a2d5a6370876b5ea68ce26a8f93195)

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 9247ce8bbe fix puppeteer test 2021-09-14 12:44:36 +02:00
Joost Wooning ac71fa85c5 logout if no access to route 2021-09-14 12:37:04 +02:00
Joost Wooning 2a0370aa58 google auth instead of explorer auth 2021-07-29 18:02:02 +02:00
andyh2 0ce944f776 demo: use preserved log urls 2020-01-16 15:38:17 -05:00
Andy Haden d95ddca99f Fix test 2019-12-11 17:56:47 -08:00
Andy Haden 952f6c3b58 Fall back to video server 2019-12-11 17:07:25 -08:00
Andy Haden c605ad31ee calculate video offset from log 2019-12-11 16:26:00 -08:00
Andy Haden 8e5795a3aa Fix tests 2019-12-11 15:14:14 -08:00
Andy Haden c38949e7f9 Update cabana demo fixture 2019-12-11 14:26:06 -08:00
Andy Haden e9bec22a98 qcamera stream 2019-12-11 01:28:14 -08:00
TK211X e660d11c3a
Revert Graph Interpolation back to Natural
Cardinal graph interpolation causes headaches when you're trying to spot step changes. You are forced to have to hover over the plot to spot a intermediary jump between two linear points. Otherwise it appears as a smooth change and causes confusion when figuring out the message profile.
2019-11-30 11:15:17 +09:00
Chris Vickery 02d1969cd5 Make line colors more different, fix line interpolation having no tension 2019-11-06 16:51:12 -08:00
Chris Vickery f5b3c9cc41 Change graph interpolation from natural to cardinal with tension 1 2019-11-06 15:00:29 -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
Andy Haden d2ebae84a9 update demo fixtures 2019-11-03 18:48:39 -08:00
Chris Vickery 6798471d14 Dont seek when changing segments 2019-10-30 15:28:11 -07:00
Chris Vickery a6d3d095ae Fix issues seeking, especially with segments 2019-10-30 15:19:32 -07:00
Chris Vickery 4458b83837 class => className 2019-10-30 15:02:51 -07:00
Chris Vickery 940127263e Fix play speed not being accessible 2019-10-30 14:27:36 -07:00
Chris Vickery e64b1fa45e Make it easier to differentiate between same signal messages 2019-10-28 15:39:56 -07:00
Chris Vickery 80ad007ad3 Fix route seeker looking on wrong segment variable 2019-10-28 13:24:04 -07:00
Chris Vickery 509b6fbb5c Dont loop at the end of non-zoomed segments 2019-10-28 13:18:21 -07:00
Chris Vickery 255a766e44 Add error recovery to video, remove some dead code 2019-10-22 14:23:14 -07:00
Chris Vickery 3464aec62c Minor lint fixes 2019-10-21 14:07:26 -07:00
Chris Vickery 6bbcaebf14 Try fixing CI 2019-10-11 14:00:41 -07:00
Chris Vickery c7365bea5a Add correct dbc and fix deploy scripts 2019-10-11 11:10:40 -07:00
Chris Vickery 040f0bf2e1 Support testing against builds 2019-10-11 11:03:23 -07:00
Chris Vickery 6561506b51 Add puppeteer config and test for demo mode 2019-10-10 18:24:06 -07:00
Chris Vickery 4a2e59eea8 Add init script, fix minor issues in tests 2019-10-10 16:22:07 -07:00
Chris Vickery 9be4f934d6 Start refactoring init, add test for basic execution 2019-10-10 15:14:46 -07:00
Chris Vickery af3f354e15 Fix issue with segments url params 2019-10-10 15:08:24 -07:00
Chris Vickery 5b9d9d2853 Fix error caused by incorrect linting 2019-10-10 14:59:39 -07:00
Chris Vickery ce9e0a94fe Change back to commaai hls fork 2019-10-10 13:37:54 -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
Chris Vickery 170fc9d395 Actually fix the build system this time 2019-09-26 18:19:26 -07:00
Chris Vickery 52af2c994c
Upgrade to react-scripts 3 and craco (#23)
* Upgrade to react-scripts 3 and craco

* Update readme

* readme

* readme

* Clean up stuff

* You dont need to install your own sasser anymore

* Fix craco url

* Clean up more stuff

* Remove old hls library, not using specific version with webpack support
2019-09-26 15:22:56 -07:00
Chris Vickery 3eed6ea06c
Fix cabana graphs and upgrade react-vega (#22)
* Fix cabana graphs by upgrading react-vega

* Fix test cases

* Ensure tests on prs

* Remove actions menu from graphs
2019-09-25 15:31:59 -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