Michael C
|
c0b1d201ad
|
fix non-format eslint in src/
|
2021-07-12 02:12:22 -04:00 |
|
Michael C
|
d89b26b77d
|
fix eslint-errors
|
2021-07-04 01:36:03 -04:00 |
|
Michael C
|
062faba8d1
|
remove CORS from nginx, add to express
|
2021-06-14 20:29:02 -04:00 |
|
Ajay Ramachandran
|
d3210d4e27
|
Move files to utils
|
2021-05-23 18:00:20 -04:00 |
|
Ajay Ramachandran
|
5c2ab9087a
|
Use reputation when sorting segments
|
2021-05-23 17:54:51 -04:00 |
|
Ajay Ramachandran
|
194c657ba7
|
Clear reputation cache
|
2021-05-23 17:05:06 -04:00 |
|
Ajay Ramachandran
|
cfcb6c6b64
|
Add reputation system
|
2021-05-23 16:53:35 -04:00 |
|
Ajay Ramachandran
|
799aef0b65
|
Move redis code to middleware
|
2021-05-23 15:49:12 -04:00 |
|
Ajay Ramachandran
|
9d19c59d44
|
Add caching for raw videoID fetching
|
2021-05-23 12:03:05 -04:00 |
|
Ajay Ramachandran
|
60a118f391
|
Add object src to csp
|
2021-05-06 16:14:11 -04:00 |
|
Ajay Ramachandran
|
cd66399049
|
Add csp for API
|
2021-05-06 16:03:26 -04:00 |
|
Ajay Ramachandran
|
37a07ace72
|
Cache data for getting hash-prefix segments
|
2021-03-26 19:03:30 -04:00 |
|
Ajay Ramachandran
|
ff4af3786e
|
Switch to postgres + promises
|
2021-03-01 20:40:31 -05:00 |
|
Ajay Ramachandran
|
01d318d902
|
Add redis caching for 404s
|
2021-02-20 21:13:46 -05:00 |
|
Ajay Ramachandran
|
e21ebd18a6
|
Don't ratelimit VIPs
|
2021-02-18 20:47:26 -05:00 |
|
Dainius Dauksevicius
|
12729b36fb
|
fix docker build, add proper mocks to tests, remove YouTubeAPI dependency on youtube test mock, move index.ts and test.ts to /src ant /test folders
|
2020-10-26 19:13:30 +02:00 |
|
Dainius Daukševičius
|
08d27265fc
|
migrate to typescript
|
2020-10-26 19:13:30 +02:00 |
|
Ajay Ramachandran
|
a5f5f72346
|
Setup different ratelimit for views and votes
|
2020-10-11 13:07:57 -04:00 |
|
Nanobyte
|
58097f0d60
|
Add vote rate limit
|
2020-10-11 16:17:17 +02:00 |
|
Ajay Ramachandran
|
c6afaf81e0
|
Properly catch user counter errors
|
2020-09-23 14:05:44 -04:00 |
|
Ajay Ramachandran
|
a053d87bd2
|
Catch user counter errors
|
2020-09-03 12:04:49 -04:00 |
|
Ajay Ramachandran
|
e46444f3b9
|
Added option to use new user counter
|
2020-08-30 00:22:21 -04:00 |
|
Ajay Ramachandran
|
ece475076e
|
Added log colors and method name
|
2020-08-23 12:35:57 -04:00 |
|
Joe Dowd
|
226197a827
|
Added logger util and used in place of console log
|
2020-08-21 15:27:41 +01:00 |
|
Joe-Dowd
|
5369d48eae
|
Added testing
|
2020-04-01 21:04:04 +01:00 |
|
Joe-Dowd
|
be6d75c1ff
|
add mode condition to logger util
|
2020-03-20 20:14:30 +00:00 |
|
Joe-Dowd
|
9bf065e1f0
|
added request debug log without condition
|
2020-03-20 20:14:20 +00:00 |
|
Joe-Dowd
|
8543647cbc
|
added youtube util and cors middleware
|
2020-03-20 20:14:14 +00:00 |
|