Commit Graph

  • f5f416eed7 lint: allow console Cameron Clough 2022-01-08 21:30:52 +0000
  • 735c341c71 lint: allow await in loops Cameron Clough 2022-01-08 20:55:41 +0000
  • e5705b2065 lint: allow unary operators in for loops Cameron Clough 2022-01-08 20:47:52 +0000
  • 7b43aa3eff apply eslint fixes Cameron Clough 2022-01-08 20:43:57 +0000
  • 4f13eae80a add lint tasks to package.json Cameron Clough 2022-01-08 20:41:18 +0000
  • f6e6445c45 move eslint config to .eslintrc.json Cameron Clough 2022-01-08 20:15:02 +0000
  • dbca7b8fb0
    Merge branch 'dev' of https://github.com/AdamSBlack/retropilot-server into dev AdamSBlack 2022-01-08 01:37:03 +0000
  • cb25d4b9f8
    Code cleanup AdamSBlack 2022-01-08 01:35:55 +0000
  • 97b630737c
    delete Cameron Clough 2022-01-08 00:53:21 +0000
  • 72f7171632 Merge branch 'dev' of https://github.com/AdamSBlack/retropilot-server into dev AdamSBlack 2022-01-07 02:08:40 +0000
  • f47cf4c152 api endpoint to support returning segments AdamSBlack 2022-01-07 02:08:17 +0000
  • e08f1ba9ad
    Merge pull request #5 from incognitojam/update-comma-log-reader Adam Black 2022-01-06 23:53:17 +0000
  • 4d2b3ba382
    Update @commaai/log_reader dependency Cameron Clough 2022-01-06 21:36:31 +0000
  • 5998ea9369 Website websocket config split out AdamSBlack 2022-01-06 20:50:38 +0000
  • 6db8a3eb93 Made AdamSBlack 2022-01-06 20:50:05 +0000
  • 36a1cbdda1 Merge branch 'dev' of https://github.com/AdamSBlack/retropilot-server into dev AdamSBlack 2022-01-06 20:07:39 +0000
  • 0a4ecf422e drive access api AdamSBlack 2022-01-06 20:07:25 +0000
  • 4a5cc93e9d
    Merge pull request #4 from incognitojam/athena-config Adam Black 2022-01-06 17:48:55 +0000
  • 33e7285236
    Use config for Athena port and host Cameron Clough 2022-01-06 13:39:17 +0000
  • bf462356be Pipework for react front end + more api end points AdamSBlack 2022-01-05 16:58:51 +0000
  • 36a3981f5b Athena restructure, websocket server for front end realtime sessions AdamSBlack 2022-01-03 16:34:46 +0000
  • 71b6eb32ac fixes AdamSBlack 2022-01-03 16:29:47 +0000
  • c2e730f09a modify pairing code AdamSBlack 2021-12-31 01:22:34 +0000
  • b4540abb5c Added support for extra c3 camera AdamSBlack 2021-11-14 15:38:38 +0000
  • dc9e96ca3d various AdamSBlack 2021-11-14 15:38:10 +0000
  • 8d435a3cbc e AdamSBlack 2021-10-31 02:28:54 +0000
  • b383fe5903 slight pairing fix AdamSBlack 2021-10-31 02:24:42 +0000
  • 1dd752b3b2 👀 AdamSBlack 2021-10-31 01:44:05 +0000
  • 5d69866bba prime activation prevents unpaired devices from pairing >0.8.2 AdamSBlack 2021-10-31 01:36:57 +0000
  • 72ff0d9457 added missing files AdamSBlack 2021-10-31 01:15:38 +0000
  • 29cacc6798 removed bad package AdamSBlack 2021-10-31 01:14:33 +0000
  • 05e59769e9 modified package.json scripts AdamSBlack 2021-10-31 01:11:30 +0000
  • 59305f2fc9 unique tagging of athena requests AdamSBlack 2021-10-31 01:53:42 +0100
  • 2f9d45fabc Revert "updated readme" AdamSBlack 2021-10-30 13:12:48 +0100
  • 751742acf6 updated readme AdamSBlack 2021-10-29 21:46:48 +0100
  • f4cb1ef142 Athena, logging, etc AdamSBlack 2021-10-29 21:45:15 +0100
  • 32325111c6 Added new tables to database, added logging to athena AdamSBlack 2021-10-26 23:38:31 +0100
  • 9361043d83 Added proof of concept for Athena AdamSBlack 2021-10-25 22:56:40 +0100
  • 4075e5730a Fixed admin API's middleware to not filter through other routes AdamSBlack 2021-10-13 19:06:46 +0100
  • 3596013e2f TODO: Fix admin api auth catching any undefined routes Removed pointlessly stateful controllers, admin api fleshed out AdamSBlack 2021-10-11 19:37:58 +0100
  • e33b10e7d0 disable useradminapi AdamSBlack 2021-10-03 17:48:52 +0100
  • acf084743d updated database, sessions managed via signed JWT token. AdamSBlack 2021-10-03 17:44:43 +0100
  • 7590e9b644 userAdminApi now allows users to change their password AdamSBlack 2021-10-03 15:35:44 +0100
  • f642360a5d Device pair logic removed from route and moved into devices controller using ORM now, not 100% tested AdamSBlack 2021-10-03 14:11:34 +0100
  • aaedd0bfd6 minor AdamSBlack 2021-10-03 00:08:21 +0100
  • f5a0fc8c0d include new models AdamSBlack 2021-10-02 23:11:51 +0100
  • cbea324a05 Implemented Sequelize ORM, moved over users.js to new ORM AdamSBlack 2021-10-02 23:08:56 +0100
  • 6521cda85a Created branch "cursed" AdamSBlack 2021-09-30 20:18:37 +0100
  • 5ca26f7b19
    Merge branch 'florianbrede-ayet:main' into main Adam Black 2021-09-30 19:22:47 +0100
  • 3ddd73ea45 TODO: ignore the "not before" timestamps in JWT - some eons seem to have a slightly off RTC Florian Brede 2021-09-29 23:43:23 +0200
  • 78f7ed77e0
    Merge pull request #7 from AdamSBlack/no-change Florian Brede 2021-09-29 23:35:33 +0200
  • 9be7c45a96 removed requirement for imei to register device AdamSBlack 2021-09-29 20:27:33 +0100
  • 2fd31d993e removed requirement for imei to register device AdamSBlack 2021-09-29 20:24:50 +0100
  • bfc3f6806e
    Merge branch 'florianbrede-ayet:main' into main Adam Black 2021-09-29 19:33:28 +0100
  • fcdc8fa509 FIX: incorrect null checks can lock up the worker Florian Brede 2021-09-13 02:00:22 +0200
  • 5005a444d5
    Merge pull request #5 from lover-of-memes/dockerfile Florian Brede 2021-09-13 02:04:11 +0200
  • f86db032b8 `bunzip2 --version` exits with a non-zero status on latest build of Alpine Linux Scott Conway 2021-09-08 19:48:41 -0400
  • bab4be2437 added dockerfile Scott Conway 2021-09-08 19:48:24 -0400
  • c5aa180c9a old changes + base for admin actions AdamSBlack 2021-08-14 23:11:32 +0100
  • 72ca4b12cd
    Merge branch 'florianbrede-ayet:main' into main Adam Black 2021-07-27 22:11:41 +0100
  • 8f15bf56ba TODO: added drive preview with videojs Florian Brede 2021-06-10 01:17:37 +0200
  • de33ebf6d7 FIX: overwrite existing rlog files (in case the previous parsing failed, this would fail again because bunzip2 exits non 0 without "-f") Florian Brede 2021-06-08 13:02:18 +0200
  • ff96091cee FIX: rewritten dashboard calls to return more plausible responses and show the username Florian Brede 2021-06-08 13:01:07 +0200
  • 2e9ed8aa4c
    Update README.md Florian Brede 2021-06-05 16:07:53 +0200
  • ebdaa2e738 FIX: another fix for the dashboard statistics (minutes) Florian Brede 2021-06-05 05:11:43 +0200
  • 562d932827 FIX: fixes for dashboard statistics Florian Brede 2021-06-05 04:56:00 +0200
  • b14f7bc083 TODO: implemented api calls for the dashboard statistics, registration feedback, account status Florian Brede 2021-06-05 04:36:50 +0200
  • a3c6c1955f FIX: added sqlite concurrency protections to prepare threaded execution of worker.js Florian Brede 2021-06-04 05:03:50 +0200
  • f6dfe782bf TODO: added welcomeMessage to overview, added some statistics Florian Brede 2021-06-04 05:02:03 +0200
  • 5280f339f4 Merge branch 'florianbrede-ayet:main' into main Adam Black 2021-05-31 19:03:34 +0100
  • 9bd1259f66 FIX: fixed the gps distance validation (now assumes > 250km/h is corrupt), some cleanup / reduced logging Florian Brede 2021-05-30 03:56:48 +0200
  • dd2b7cae35 TODO: set maximum segments per batch to 15 (from initially 50) to reduce the per-batch duration for slower devices. Florian Brede 2021-05-30 03:20:34 +0200
  • cd133d5e9f FIX: correctly check if metadata is defined Florian Brede 2021-05-30 03:19:12 +0200
  • 7b6472dd20 DATABASE MIGRATION: ALTER TABLE 'drives' ADD COLUMN 'metadata' TEXT; ----- TO UPDATE EXISTING DRIVES: UPDATE drive_segments SET upload_complete=0, is_processed=0 WHERE id IN (SELECT MIN(id) FROM "drive_segments" GROUP BY drive_identifier, dongle_id) Florian Brede 2021-05-30 03:08:02 +0200
  • 61f2f8ecd5 TODO: added vehicle parameters & general device / openpilot / drive information Florian Brede 2021-05-30 03:06:27 +0200
  • 094e9c2790 FIX: - uploads and device registration for openpilot 0.7.x devices - possible security exploit (directory not protected with token for boot/crash logs) Florian Brede 2021-05-30 01:33:02 +0200
  • 08051fb86f FIX: correctly parse dates and ignore exceptions for boot & crash logs Florian Brede 2021-05-30 01:11:59 +0200
  • 065f05e6ea FIX: worker missing crashlog path / unable to delete old logs. Florian Brede 2021-05-30 01:11:23 +0200
  • e83f2b2481 TODO: updated cabana to persist dbcs for routes and added an option to pass custom dbcs through the retropilot configuration Florian Brede 2021-05-30 01:10:07 +0200
  • 2ec6e7650f Wrote test for /retropilot/0/useradmin Adam Black 2021-05-25 20:36:35 +0100
  • 6028036aa4 API to register users Adam Black 2021-05-23 19:36:16 +0100
  • 33b630e893 moving mail logic into controller Adam Black 2021-05-23 15:40:55 +0100
  • 0ef1b2a940 Merge branch 'main' of https://github.com/florianbrede-ayet/retropilot-server into main Adam Black 2021-05-23 14:33:22 +0100
  • 6ebe94e8a5 FIX: removed discarded sendmail import Florian Brede 2021-05-23 03:11:27 +0200
  • 7dffbaf270 FIX: missing import for execSync Florian Brede 2021-05-23 03:08:12 +0200
  • a933eadb6e
    Update README.md Florian Brede 2021-05-23 02:34:33 +0200
  • d0c65b1259 TODO: directly bundled a compiled & fixed version of cabana in .../cabana/ Florian Brede 2021-05-23 02:28:33 +0200
  • a5871a9783 TODO: replaced sendmail by nodemailer to allow using a proper & authenticated smtp endpoint. Florian Brede 2021-05-23 02:18:11 +0200
  • b9cf8e26d9
    Merge pull request #3 from AdamSBlack/main Florian Brede 2021-05-23 01:21:24 +0200
  • 7cc8eca375 Merge branch 'florianbrede-ayet:main' into main Adam Black 2021-05-22 22:24:37 +0100
  • 44905c2c2c cleaned up server.js requires, renabled console logs Adam Black 2021-05-22 20:45:32 +0100
  • 24ffb60fe7 Update test name Adam Black 2021-05-22 20:42:56 +0100
  • d6cfb43532 clear down console logging, new test, silence sendmail Adam Black 2021-05-22 20:36:44 +0100
  • 0d49d5ce6c Added tests Adam Black 2021-05-22 17:33:28 +0100
  • dbe5ac7cde
    Update README.md Florian Brede 2021-05-22 04:22:33 +0200
  • 1edbaf6395 FIX: the worker was regularly hanging because the "wasm-bz2" library comma uses does not correctly handle corrupt files (the stream stalls despite not having all bytes read). we now use the native bunzip2 which both gives better performance and reliable error handling Florian Brede 2021-05-22 03:43:51 +0200
  • 2f3c094ca3 __dirname > __basedir Adam Black 2021-05-21 23:29:36 +0100
  • 68ed642fcc removed import from worker.js, will switch everything over to import in future commit Adam Black 2021-05-21 23:21:06 +0100
  • 47784d1d34 split api & useradmin into their own routes Adam Black 2021-05-21 23:17:11 +0100
  • 64d942ddbb Readded userping Adam Black 2021-05-21 22:40:00 +0100