Commit Graph

15 Commits (dd423bdb344bea065f421c97329323ca97cf3675)

Author SHA1 Message Date
Dessa Simpson 7897fe6f3d Add ratelimits
Fixes #10
2021-06-06 23:11:30 -07:00
Dessa Simpson 5e42236354 Misc. bugfixes
- Fix duplicate request message showing undefined for requester and 
state
- Fix add request dialog not closing properly
2021-04-24 21:19:25 -07:00
Dessa Simpson 28d5ce09dd Add sorting to API 2021-02-26 23:20:49 -07:00
Dessa Simpson 84a22ccffd Add pagination
Note: Requests API endpoints /getRequests and /getRequestsAll have 
breaking changes (the response schema changed entirely).

Fixes #26
2021-02-25 19:52:57 -07:00
Dessa Simpson 173c22b90a Implement fetching of video titles
Fixes #2
2020-11-10 00:20:20 -07:00
Dessa Simpson 36d3871bdc Update updateRequestScore endpoint and clean up naming 2020-10-18 17:24:24 -07:00
Dessa Simpson 7de73c9565 Block banned users from adding requests or voting
Also, some minor refactoring.
2020-09-14 23:01:11 -07:00
Dessa Simpson ccfcc57540 Refactor queries and add auth on streamer endpoints
- Move prepared statement definitions to queries module
- Add authentication to streamer-only endpoints
2020-09-14 22:45:32 -07:00
Dessa Simpson 80e9bc1bde Redesign database and implement voting 2020-08-09 17:23:37 -07:00
Dessa Simpson 34a9c0d0d1 Consistency and cleanup 2020-08-02 22:06:28 -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 057ee6e56d Add URL validation 2020-07-04 09:34:03 -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