96 Commits
Author SHA1 Message Date
tanner dfb4e91a98 Change data directory 2020-01-04 15:57:01 -07:00
tanner 23cab66f83 Fix supervisor stopping issue 2019-05-26 15:51:35 -06:00
tanner c5e819fbfa Add python-virtualenv to auth server setup 2019-05-25 20:15:35 -06:00
tanner e554bda3eb Add instructions for setting up supervisor 2019-05-25 15:46:57 -06:00
tanner 95d6ac34a7 Improve logging on the web server 2019-05-23 14:27:01 -06:00
tanner 35c4ae4925 Only return unique authorized_tools 2019-05-23 14:27:01 -06:00
tanner 77d961376e Pass login error message to client 2019-05-23 14:27:01 -06:00
tanner 652ef3fb8d Add logging to the web client 2019-05-23 20:31:46 +00:00
tanner 9fd00d6442 Move logout, add info, and VPN warning 2019-03-21 21:55:33 -06:00
tanner 3863f58b41 Update auth server docs and fix some styling 2019-02-25 17:32:59 -07:00
tanner d2cb012e1e Update firmware readme 2019-02-18 00:42:03 -07:00
tanner 79c76a57aa Split firmware into separate files 2019-02-17 22:45:02 -07:00
tanner 0ab2ac086f Add library version check to firmware 2019-02-17 20:28:51 -07:00
tanner 39d90dbe51 Update copyright 2019-02-17 19:50:41 -07:00
tanner 20e6ff9c4d Add test log entry 2019-02-17 19:25:43 -07:00
tanner c3d4da2a22 Reset blink error count, stop logging info data over serial 2019-02-17 19:23:23 -07:00
tanner a66b8c3422 Add firmware upgrade groups and move custom routes 2019-01-29 19:12:12 -07:00
tanner ddf72a1cd1 Enable OTA updates and route to set courses 2019-01-29 19:12:12 -07:00
tanner 909a7645ff Add a link to auth server for admins 2019-01-28 16:42:33 -07:00
tanner 6a448aca85 Don't continue until user selects courses - or none 2019-01-28 16:20:47 -07:00
tanner 95291af594 Enable OTA updates in firmware 2019-01-27 00:40:14 -07:00
tanner 5f87ea8afd Ask user which courses they have taken 2019-01-27 00:35:28 -07:00
tanner 373d3efaff Add hack to fix off-centre logoff modal 2019-01-26 18:51:10 -07:00
tanner 6eb6311954 Add courses to authorize people through 2019-01-22 19:31:50 -07:00
tanner 571cdd37f0 Parse log sent be lockout, normalize cards 2019-01-22 19:31:50 -07:00
tanner 8317a9524a Stop adding periods to usernames 2019-01-20 21:32:22 -07:00
tanner 63adb9b9a3 Don't log duplicate COMM errors, remove sent log records 2019-01-20 20:04:43 -07:00
tanner 9717073507 Implement basic logging in firmware 2019-01-19 02:43:08 -07:00
tanner 5df3c5345e Use a null terminator instead of $ to mark eeprom end 2018-12-18 15:48:19 -07:00
tanner d2d63146da Remove some magic numbers 2018-12-09 06:02:18 -07:00
tanner 1627ffe639 Display red error blink on timeout 2018-12-09 06:02:18 -07:00
tanner 78c2a99d30 Add 10 second timeout to armed state 2018-12-09 06:02:18 -07:00
tanner b14dabc721 Fix supervisor issue and README spelling 2018-12-04 01:15:03 -07:00
tanner a619c3fe39 Add script to push card data to auth server 2018-12-04 01:05:17 -07:00
tanner d8ec4b30c8 Accept multiple cards for each user 2018-12-03 23:17:43 -07:00
tanner 2812685868 Move Django to https 2018-12-03 19:33:51 -07:00
tanner 31a0112f9b Change LED patterns to be more intuitive 2018-12-03 19:32:36 -07:00
tanner ffcfb54aa9 Make card write atomic and don't arm unless LED state is off 2018-12-03 19:32:36 -07:00
tanner 2c9542a2bc Flash red LED if any button is pressed while arming 2018-12-03 19:32:36 -07:00
tanner 2c8f12edd4 Use semantic-ui from a CDN 2018-12-04 02:27:13 +00:00
tanner d96e68dc04 Remove favicon and set title 2018-12-02 00:34:46 +00:00
tanner 77e5be93f9 Move network stuff into their own functions 2018-11-26 17:05:20 -07:00
tanner 781035de64 Made denied red light flash longer 2018-11-20 20:19:20 -07:00
tanner d17f252fd2 Handle not having hetwork better 2018-11-20 01:44:10 +00:00
tanner 163472ad2a Move LED control to state machine and blink red for denied cards 2018-11-18 21:33:58 -07:00
tanner d09f670a77 Convert username to lower case 2018-11-18 02:32:07 -07:00
tanner 4ef256abb3 Set up Protospace wifi and move lockout to Ticker 2018-11-17 19:17:00 -07:00
tanner bf140f02fb Get cards from auth server 2018-11-13 19:31:53 -07:00
tanner 75d4395964 Integrate login and auth server API 2018-11-13 02:45:16 -07:00
tanner bd44438277 GET authorized cards for each MAC 2018-11-10 21:40:09 -07:00
tanner 790725c29e Add card numbers and updating to auth server 2018-11-10 19:33:41 -07:00
tanner 6ec97db073 Make LEDs more intuitive 2018-11-10 17:25:17 -07:00
tanner a8331ab798 Add RFID card scanning off a list of card numbers 2018-11-10 14:56:50 -07:00
tanner 506f286990 Add firmware README 2018-11-07 19:31:12 -07:00
tanner 01b8d29a45 Abstract relay 2018-11-07 19:14:59 -07:00
tanner a12a24661b Abstract LEDs 2018-11-07 19:11:41 -07:00
tanner 5c2938ad4f Add prearm state and abstract buttons 2018-11-07 19:09:34 -07:00
tanner f56be14c80 Nuke create-react-app readme 2018-10-25 01:44:23 -06:00
tanner 72e783545f Add MAC address field to tools 2018-09-17 18:43:54 -06:00
tanner d5c16bd11b Add to setup instructions 2018-09-17 18:19:30 -06:00
tanner 0da2410869 Rename pins to reflect their actual buttons 2018-09-17 17:55:20 -06:00
tanner fceacca2cf Removed armed LED 2018-09-16 02:00:31 -06:00
tanner bb52fcff93 Change socket server URL in firmware 2018-09-16 01:59:34 -06:00
tanner 7dd40dabb0 Add example authentication request 2018-09-15 23:33:56 -06:00
tanner b40cc3c458 Change domain and make fields optional 2018-09-15 23:30:37 -06:00
tanner 8c6a4dcbe6 Add authentication info to README 2018-09-15 21:27:26 -06:00
tanner 28533e0300 Perform auth against the Protospace member portal 2018-09-14 20:09:48 -06:00
tanner 75ee9e9f6a Add token auth and POST /login/ route 2018-09-14 18:53:27 -06:00
tanner cfe6677e3d Add trailing slashes to URLs 2018-09-14 17:39:06 -06:00
tanner 3ae25304c2 Spelling 2018-09-14 14:36:57 -06:00
tanner 81536d6a24 Add API description to README 2018-09-14 14:26:35 -06:00
tanner dd1b9be50e Restrict profiles to lockout admins, convert to URL API 2018-09-14 02:57:30 -06:00
tanner 61ceff77e3 Only allow lockout admins to access tool, category 2018-09-13 23:02:51 -06:00
tanner e1c776698e Add tooldata API read-only route 2018-09-13 18:06:23 -06:00
tanner ac9aeb909a Ignore and delete migrations 2018-09-13 18:04:49 -06:00
tanner 259af053f6 Add pip requirements 2018-09-13 15:06:19 -06:00
tanner 2a3823f739 Create basic API for models 2018-09-12 17:18:11 -06:00
tanner a432535997 Create first DB migrations and remove uuid 2018-09-12 15:42:04 -06:00
tanner 1bee4085e0 Add tool, category, and user profile models 2018-09-12 15:20:47 -06:00
tanner 48431a4d84 Activate django-rest-framework and expose user model 2018-09-12 01:45:37 -06:00
tanner f081c38209 Add setup instructions 2018-09-12 00:21:26 -06:00
tanner 2d1cc332ff Create empty django project and app 2018-09-12 00:17:09 -06:00
tanner 84f69bde2a Create directory for auth server 2018-09-12 00:14:06 -06:00
tanner d65ebb1877 Change API url to tools-api.tannercollin.com 2018-09-11 20:45:20 -06:00
tanner 56ef19708d Simplify arming steps 2018-05-16 22:14:41 -06:00
tanner 3388e86d3d Don't arm lockout if green button is pressed 2018-05-16 21:03:44 -06:00
tanner 914ad9bcf2 Write firmware for the Arduino 2018-02-06 00:00:16 -07:00
tanner f0a3b02c6a Prepare web side for Pi hosting 2018-02-06 06:37:44 +00:00
tanner 6071534a72 Start firmware 2018-02-05 19:31:54 -07:00
tanner 0c59652222 Sync tool status across all clients 2018-02-03 19:59:39 -07:00
tanner a1c80c70cb Grab user data from web server 2018-02-03 17:21:09 -07:00
tanner 3b5509000d Grab tool data from web server 2018-02-03 01:48:49 -07:00
tanner 976f764123 Add tool page 2018-02-02 23:41:30 -07:00
tanner c081c6ecc3 Create basic layout and navigation for client 2018-02-02 20:53:08 -07:00
tanner 9f77ca5215 Initialize web client with create-react-app 2018-02-02 14:22:06 -07:00
tanner bb024fc904 Inital commit 2018-02-01 23:46:44 -07:00