Commit Graph

212 Commits (7da0fc96401a90a722db2458ec06d8277eb6f52a)

Author SHA1 Message Date
Cameron Clough 87ab6712d5
misc 2022-01-20 23:56:41 +00:00
AdamSBlack 0fa15ee61c
Fix device.getDrive returning incorrect promise
rolled back change in useradmin/view drive
2022-01-16 17:32:37 +00:00
AdamSBlack 6a229eadb0
removing HTTPS support - Please use a reverse proxy 2022-01-15 23:33:10 +00:00
AdamSBlack 1e58cad622
Import convert 2022-01-12 15:02:30 +00:00
AdamSBlack 8e61ac9493
Don't pull faulty drive segments 2022-01-11 08:26:08 +00:00
AdamSBlack d8f3189803
Removed sql from useradmin.js 2022-01-10 02:49:24 +00:00
AdamSBlack fae5da0623
Removed all legacy SQL queries from api.js 2022-01-10 01:12:55 +00:00
AdamSBlack 7a11f51cd8
added model for drive segments, pilotauth now uses ORM 2022-01-10 01:07:56 +00:00
AdamSBlack 22bf9d74e0
New eslint rules to manage promises, fixed unhandled promise in api.js 2022-01-10 00:04:04 +00:00
AdamSBlack a7a292bf5b
legacy direct DB querys only exist in api & useradmin 2022-01-09 23:19:00 +00:00
AdamSBlack de4f013bb4
partially completed api.js 2022-01-09 10:50:27 +00:00
AdamSBlack 225047e24f
Removing callback dependencies, required for
DB migration
2022-01-09 04:31:42 +00:00
Cameron Clough fb5a91a010
fix ci: use sample config 2022-01-09 02:25:26 +00:00
Cameron Clough daacbe65fd user admin 😪 2022-01-09 02:23:14 +00:00
Cameron Clough d9e4cae645 tidy up more stuff... 2022-01-09 02:22:44 +00:00
Cameron Clough 9a5b2bc0dd
lint: fix return types, tidy up 2022-01-09 01:40:49 +00:00
Cameron Clough 393a99f633
lint: more fixes 2022-01-09 01:40:49 +00:00
Cameron Clough c132913885
fix: parameter order 2022-01-09 01:40:49 +00:00
Cameron Clough 3e239ef0fc
admin api: tidy up, remove duplicate endpoint 2022-01-09 01:40:36 +00:00
Cameron Clough 3ae5c16639 lint: fix routes 2022-01-09 00:57:15 +00:00
Cameron Clough 6f05c0149a routes fixes 2022-01-09 00:38:41 +00:00
Cameron Clough 8d8338378a tidy up server 2022-01-09 00:37:46 +00:00
Cameron Clough 1165e13853 lint: tidy up controllers 2022-01-09 00:35:46 +00:00
Cameron Clough a3e8cd7853 lint: tidy up websocket 2022-01-08 23:28:15 +00:00
Cameron Clough f484ceca72 lint: many fixes 2022-01-08 23:07:09 +00:00
Cameron Clough 2039a33e3d tidy up websocket authenticateUser 2022-01-08 22:57:55 +00:00
Cameron Clough 2919cf975f lint: allow using functions before defined 2022-01-08 22:32:22 +00:00
Cameron Clough f1b185e259 lint: ignore underscore dangle for now 2022-01-08 22:23:08 +00:00
Cameron Clough 450c05501e fix worker.js indentation 2022-01-08 22:19:08 +00:00
Cameron Clough 3323b19d85
revert worker.js 2022-01-08 22:17:08 +00:00
Cameron Clough bfd724f1bd lint: ignore config.js 2022-01-08 22:08:51 +00:00
Cameron Clough 3552192132 hotfix 2022-01-08 22:08:37 +00:00
Cameron Clough 817cfccdfc
add GitHub Actions workflow 2022-01-08 22:05:27 +00:00
Cameron Clough c795d1f9fc
add package-lock.json (prepare for ci) 2022-01-08 22:04:32 +00:00
Cameron Clough d45e123e04 useradmin tidy up 2022-01-08 22:01:13 +00:00
Cameron Clough d9992dc2c0 remove unused imports, code tidy up 2022-01-08 22:00:08 +00:00
Cameron Clough 414d2438db fix: admin api get dongle typo 2022-01-08 21:57:30 +00:00
Cameron Clough ba4adceb2c lint: allow continue 2022-01-08 21:50:29 +00:00
AdamSBlack 2cfd298a31
worker fix 2022-01-08 21:40:10 +00:00
AdamSBlack 501c310f70
Added condition to skip faulty segments
new column required in drive_segments
called process_attempts, int, default=0
2022-01-08 21:36:33 +00:00
Cameron Clough f5f416eed7 lint: allow console 2022-01-08 21:30:52 +00:00
Cameron Clough 735c341c71 lint: allow await in loops 2022-01-08 20:55:41 +00:00
Cameron Clough e5705b2065 lint: allow unary operators in for loops 2022-01-08 20:47:52 +00:00
Cameron Clough 7b43aa3eff apply eslint fixes 2022-01-08 20:43:57 +00:00
Cameron Clough 4f13eae80a add lint tasks to package.json 2022-01-08 20:43:39 +00:00
Cameron Clough f6e6445c45 move eslint config to .eslintrc.json 2022-01-08 20:15:02 +00:00
AdamSBlack dbca7b8fb0
Merge branch 'dev' of https://github.com/AdamSBlack/retropilot-server into dev 2022-01-08 01:37:03 +00:00
AdamSBlack cb25d4b9f8
Code cleanup 2022-01-08 01:35:55 +00:00
Cameron Clough 97b630737c
delete 2022-01-08 00:53:21 +00:00
AdamSBlack 72f7171632 Merge branch 'dev' of https://github.com/AdamSBlack/retropilot-server into dev 2022-01-07 02:08:40 +00:00