Commit Graph

106 Commits (dd423bdb344bea065f421c97329323ca97cf3675)

Author SHA1 Message Date
Dessa Simpson dd423bdb34 Fix empty subscriptions page crash
Fix issue where when Twitch returns an empty page of subscribers, the
app crashes due to trying to get response.data[0].user_id where
response.data[0] is undefined

Also adds some debug logging
2022-02-28 09:34:18 -07:00
Dessa Simpson ac953b0bb5 Uncomment debug lines 2022-02-27 17:36:55 -07:00
Dessa Simpson 90f672b288 Bump version to v0.8 2022-02-27 17:36:50 -07:00
Dessa Simpson 8b49d51e08 Trim whitespace from URL on client side
Fixes #32
2021-06-06 23:20:47 -07:00
Dessa Simpson 7897fe6f3d Add ratelimits
Fixes #10
2021-06-06 23:11:30 -07:00
Dessa Simpson 6e26650077 Merge remote-tracking branch 'origin/master' 2021-04-25 22:17:24 -07:00
Dessa Simpson 891ccfae92 Update 'RELEASE.md' 2021-04-26 05:16:43 +00:00
Dessa Simpson fc09fd4dd4 Bump version to v0.7 2021-04-25 22:15:38 -07:00
Dessa Simpson 347a6d2324 Add comma in v0.6-v0.7.sql 2021-04-25 22:09:16 -07:00
Dessa Simpson 632dc73ee9 Add database logic to clear out requests that have 0 votes
Also, clean up some db constraints.

Fixes #29
2021-04-25 20:42:20 -07:00
Dessa Simpson 8483705ae4 Add sorting to UI
Fixes #27
2021-04-25 09:02:07 -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 6782ad2fb4 Apply api dupe workaround to subscriptions endpoint 2021-04-24 13:27:26 -07:00
Dessa Simpson e4910f87d1 Add missing semicolons in db bootstrap code 2021-03-27 16:59:43 -07:00
Dessa Simpson 28d5ce09dd Add sorting to API 2021-02-26 23:20:49 -07:00
Dessa Simpson b968f054d5 Bump version to v0.6 2021-02-25 19:56:14 -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 c634e763f3 Bump version to v0.5.1 2021-02-24 20:45:50 -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 354eddb673 Bump version to v0.5 2021-02-24 20:15:16 -07:00
Dessa Simpson 6bc292f122 Fix regression where songs with 0 votes had $normaluservotepoints points
Also, remove now-unnecessary join with users
2021-02-24 20:04:40 -07:00
Dessa Simpson 2a87e0408e Retrieve follows/subscriptions from Twitch API 2021-02-24 19:40:58 -07:00
Dessa Simpson dbe7e4c52d Restructure DB in preparation for follower/subscriber implementation
- Remove user.is{follower,subscriber}, replacing with tables follows and 
subscriptions
- Update vote_score_vw to reflect new structure
- Add db upgrade script
2021-02-22 23:54:47 -07:00
Dessa Simpson 60defb7ea6 Allow streamer to set vote point values 2021-02-22 22:53:03 -07:00
Dessa Simpson fcd8f2b197 Bump version to 0.4.1 2021-02-22 21:11:07 -07:00
Dessa Simpson ad435e0dba Fix add request modal not appearing 2021-02-22 21:10:34 -07:00
Dessa Simpson d2cf4aa1d2 Bump version to 0.4 2021-02-21 23:52:49 -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 2e5762c029 Add release checklist (RELEASE.md) 2020-12-20 13:16:15 -07:00
Dessa Simpson 7a4c39353c Bump version in version.sql (forgot to in e83dbe51) 2020-12-20 10:43:01 -07:00
Dessa Simpson 57991dc36a Stringify twitchApiToken response for debug logging 2020-11-29 14:13:26 -07:00
Dessa Simpson 6d559b5fe2 Bump version to v0.3 2020-11-29 13:36:36 -07:00
Dessa Simpson f69e3a821c Add v0.2-v0.3 db upgrade script 2020-11-29 13:31:03 -07:00
Dessa Simpson 21650994d2 Implement checkVersion middleware
Checks version on each request, terminating the application if version 
mdoes not match
2020-11-29 13:30:27 -07:00
Dessa Simpson 35aa0914a2 Remove unnecessary import from twitch.ts 2020-11-29 13:29:10 -07:00
Dessa Simpson 2751ccf846 Update Dockerfile.prod and .dockerignore 2020-11-29 12:37:30 -07:00
Dessa Simpson aded3f4c77 Remove extraneous whitespace 2020-11-29 01:24:41 -07:00
Dessa Simpson af97647033 Make processBans support pagination 2020-11-29 01:17:58 -07:00
Dessa Simpson a86e8a5667 Implement cron
Fixes #22
2020-11-28 23:19:56 -07:00
Dessa Simpson 42d2a4a78c Add ISO date to logging 2020-11-28 22:09:06 -07:00
Dessa Simpson 88955ba707 Shorten container names in docker-compose.yml 2020-11-28 22:07:14 -07:00
Dessa Simpson 52f73745b6 Add prod dockerfile 2020-11-10 16:53:02 -07:00
Dessa Simpson a5a8d012c8 Bump version to 0.2.1 2020-11-10 15:10:08 -07:00
Dessa Simpson fd1d4613bd Make streamer name and profile picture in navbar link to twitch page 2020-11-10 15:09:27 -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 6e365bbd16 Add v0.1-v0.2.sql upgrade script 2020-11-10 14:10:58 -07:00
Dessa Simpson a35ef5f303 Bump version to 0.2 2020-11-10 00:20:25 -07:00
Dessa Simpson 173c22b90a Implement fetching of video titles
Fixes #2
2020-11-10 00:20:20 -07:00
Dessa Simpson 5ab11f69f6 Add Youtube API connectivity 2020-11-09 16:28:30 -07:00