Commit Graph

30 Commits (b06c42535268f8b5709a2a423dd5ab78ccf5d34d)

Author SHA1 Message Date
Dessa Simpson b06c425352 Add streamer authentication
Closes #17
2020-09-10 22:43:05 -07:00
Dessa Simpson 3c94c25458 Validate api token on authenticated requests
Also implements logic to refresh the token if a request fails.

Fixes #3
2020-08-15 19:12:35 -07:00
Dessa Simpson 33c31a13d7 Remove duplicate testdata.sql from readme 2020-08-14 11:38:05 -07:00
Dessa Simpson 9b8fae4278 Check whether profile image exists before attempting to display it 2020-08-12 12:43:30 -07:00
Dessa Simpson b586262905 Update test data 2020-08-12 12:39:31 -07:00
Dessa Simpson 1256c4bb8b Display profile pictures in requests table
Fixes #14
2020-08-09 23:40:13 -07:00
Dessa Simpson 48b1252ef9 Make Youtube links open in new tab 2020-08-09 18:39:43 -07:00
Dessa Simpson 80e9bc1bde Redesign database and implement voting 2020-08-09 17:23:37 -07:00
Dessa Simpson a0b65c7d5b Forward Postgres port from host 2020-08-07 21:28:53 -07:00
Dessa Simpson fffe1596b8 Move 50-views.sql to 90-views.sql 2020-08-02 22:13:39 -07:00
Dessa Simpson 34a9c0d0d1 Consistency and cleanup 2020-08-02 22:06:28 -07:00
Dessa Simpson 567b2bba27 Make demo-ready
- Add README.md
- Add DB test data
- Add port forward to docker-compose to allow the app to be accessed on
  Macs
2020-07-06 22:02:28 -07:00
Dessa Simpson 18ff4c9d1f Get client id and url prefix from config in main.eta 2020-07-06 22:02:19 -07:00
Dessa Simpson bf89c6956d Implement addRequest in UI
- addRequest modal
  - Error box inside addRequest modal
- Generic message modal
- URL validation - same code as server
- Update /api/addRequest to get requester from session
- Fix return of requests.addRequest() for already requested
- Make requests.addRequest() return 201 when created
2020-07-06 21:24:04 -07:00
Dessa Simpson e54db3c4eb Close modal with bg click or escape key 2020-07-05 20:41:42 -07:00
Dessa Simpson 603769d5fd Make addRequest box resize nicely 2020-07-05 20:16:41 -07:00
Dessa Simpson 19f51d3a5a Fix handling of twitch auth flow rejection 2020-07-05 20:13:07 -07:00
Dessa Simpson 12d4ffad2b Add 'Add Request' Modal 2020-07-05 15:20:22 -07:00
Dessa Simpson e8d7d6362b Finish implementing login
- Templated main page to show user and profile image
- Added logout
- Handle user rejecting Twitch authorization flow
2020-07-05 14:15:30 -07:00
Dessa Simpson df68c990fc Implement Twitch API connector 2020-07-05 11:46:41 -07:00
Dessa Simpson 2ef965f749 Move environment variables to .env 2020-07-04 19:17:29 -07:00
Dessa Simpson 6322a6db14 UI redesign 2020-07-04 18:02:45 -07:00
Dessa Simpson 94c1dd5782 Add session driver 2020-07-04 11:29:07 -07:00
Dessa Simpson 057ee6e56d Add URL validation 2020-07-04 09:34:03 -07:00
Dessa Simpson 5e596167e4 Sort both requests views by score then id 2020-07-04 08:48:24 -07:00
Dessa Simpson d55d1d1abe Initial frontend 2020-07-04 08:45:34 -07:00
Dessa Simpson 0f3d921d96 Add updateRequestState endpoint 2020-07-02 13:32:55 -07:00
Dessa Simpson 75e5022090 Add better error handling and logging 2020-07-02 13:06:13 -07:00
Dessa Simpson b7d8f14eb4 Initial API 2020-07-02 11:03:18 -07:00
Dessa Simpson ce518aeeb5 Initial commit 2020-07-01 20:08:33 -07:00