Commit Graph

18 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 4607eaf307 Move ordering from views to queries.ts
Turns out views aren't guaranteed to keep their order ¯\_(ツ)_/¯

Fixes #24
2021-02-24 20:45:37 -07:00
Dessa Simpson 60defb7ea6 Allow streamer to set vote point values 2021-02-22 22:53:03 -07:00
Dessa Simpson 6495e1c8ef Customization!
Add ability to control page title and color scheme.

Also, partially implements manual triggering of cronjobs.

Fixes #18
2021-02-21 23:25:48 -07:00
Dessa Simpson 1c34b3f013 Get page title and colors from database
See #18
2021-02-21 20:13:47 -07:00
Dessa Simpson a86e8a5667 Implement cron
Fixes #22
2020-11-28 23:19:56 -07:00
Dessa Simpson 51a4c5b2a3 Fix queries.getAllRequests calling requests_vw as a function
Fixes #23
2020-11-10 14:59:36 -07:00
Dessa Simpson 173c22b90a Implement fetching of video titles
Fixes #2
2020-11-10 00:20:20 -07:00
Dessa Simpson 767cfbf488 Implement version checking 2020-11-01 13:47:47 -07:00
Dessa Simpson 68faec1ae8 Add streamer UI
Closes #11
2020-11-01 13:07:16 -07:00
Dessa Simpson b479cd2948 Rewrite ban insert query to use one insert rather than one per ban
Fixes #21
2020-10-25 21:31:18 -07:00
Dessa Simpson 36d3871bdc Update updateRequestScore endpoint and clean up naming 2020-10-18 17:24:24 -07:00
Dessa Simpson 68f767b28d SQL refactoring 2020-09-21 11:12:00 -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