Ajay Ramachandran
83b561d943
Merge pull request #548 from mchangrh/restic-update
...
change container to do chmod in builder
2023-07-26 16:03:49 -04:00
Ajay
f0b0217c78
Fix distinct query on postgres
2023-07-26 16:02:21 -04:00
Ajay
d23e9b9940
Only show one title/thumbnail per userID
2023-07-26 15:19:22 -04:00
Ajay
4b214767a0
Add buildx
2023-07-25 11:49:33 -04:00
Ajay
8c687934c2
build arm images
2023-07-25 11:36:59 -04:00
Ajay
f63fa09605
Handle exceptions, and prevent crashing from unhandled exceptions
2023-07-24 21:25:18 -04:00
Ajay
4e93a007c2
Remove unnecessary call in userInfo
2023-07-24 14:55:31 -04:00
Ajay
2fc31655ff
Add different max for private db connection
2023-07-24 13:56:09 -04:00
Ajay
79515ccc8b
Add unlocking to long title error
2023-07-23 23:45:02 -04:00
Ajay
b6f29b8b6d
Fix shadow ban test
2023-07-23 23:35:50 -04:00
Ajay
a52ecf2d37
Add more unlock calls
2023-07-23 23:32:38 -04:00
Ajay
8d518b184b
Change default lock timeout
2023-07-23 23:30:17 -04:00
Ajay
3924a65e02
Don't use locks when redis disabled
2023-07-23 23:28:41 -04:00
Ajay
a4de94bede
Remove leftover timeout
2023-07-23 23:28:26 -04:00
Ajay
8bcc781da7
Add locks to different write operations
2023-07-23 23:21:50 -04:00
Ajay
b2081fe155
Add unique constraint for titles
2023-07-23 22:53:14 -04:00
Ajay
ea80a413ba
Add postgres private db stats
2023-07-23 14:26:25 -04:00
Ajay
528f24a431
Merge branch 'master' of https://github.com/ajayyy/SponsorBlockServer
2023-07-23 14:01:50 -04:00
Ajay
0463165f1a
Add timing trace to set username
2023-07-23 14:01:49 -04:00
Ajay Ramachandran
38b7ddfd07
Merge pull request #553 from ajayyy/dependabot/npm_and_yarn/word-wrap-1.2.4
...
Bump word-wrap from 1.2.3 to 1.2.4
2023-07-19 01:08:16 -04:00
dependabot[bot]
79bac69c41
Bump word-wrap from 1.2.3 to 1.2.4
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-07-19 03:10:24 +00:00
Ajay
85fc0477ad
Fix type check for warning duplicate
2023-07-17 23:38:52 -04:00
Ajay
a5501b9655
Fix user info not checking warning type
2023-07-17 22:53:12 -04:00
Ajay
e9fcf6b445
Add seperate type for dearrow warning
...
Also add dearrow warning reason as option for user info
2023-07-17 22:42:29 -04:00
Ajay
808066a5ed
Look at -1 votes for branding sb segments
2023-07-17 19:36:58 -04:00
Ajay
93f4cfd82d
Add option to return userID in branding call
2023-07-16 15:35:22 -04:00
Ajay
d030de83bd
Add leaderboard for dearrow
2023-07-07 14:32:45 -04:00
Ajay
d1d2b011f8
Add max title length
2023-07-06 16:36:37 -04:00
Ajay
d2f8e3aee4
Fix shadow hide video branding logic
2023-07-06 14:53:48 -04:00
Ajay
2e29666781
Remove mysql code
2023-07-05 01:25:38 -04:00
Ajay
8b418c8851
Add hiding dearrow submissions in ban code
2023-07-05 01:23:48 -04:00
Ajay
5f80562772
Make dearrow verification easier to get
2023-06-28 22:12:32 -04:00
Ajay
69db87f5e1
Fix 0 second submissions not allowed
2023-06-23 23:05:52 -04:00
Ajay
fa6919a1d0
Add branding stats
2023-06-14 19:50:26 -04:00
Ajay
633f128e90
Fix voting on an existing submission not working.
2023-06-13 00:12:16 -04:00
Ajay
9f7fa53b14
Fix sort order
2023-06-12 11:51:17 -04:00
Ajay
bbb7102e37
Derank original submissions
2023-06-12 11:41:57 -04:00
Ajay
3bb8d5b58b
Add verification where new users start with lower votes
2023-06-10 12:35:43 -04:00
Ajay
1cacb2dd69
Fix random time calculator for starting empty segment
2023-06-08 18:22:26 -04:00
Ajay
fe185234cf
Add fallback video duration when finding random timestamp
2023-06-08 18:05:40 -04:00
Ajay
ef3e48ec24
Send video duration if known
2023-06-08 15:28:37 -04:00
mini-bomba
777944665d
Make voting requirements more strict
...
This aims to reduce the amount of false votes by users with no valid segments of the category they're voting for.
New tests included, one modified to work under new requirements.
Also merged userAbleToVote and ableToVote in voteOnSponsorTime.ts to skip unnecessary queries for VIPs.
2023-06-08 16:50:31 +02:00
Ajay
0932f63398
Await in post branding test case
2023-06-08 04:01:23 -04:00
Ajay
5834643ba0
Add random timestamp generation to get branding
2023-06-08 03:39:44 -04:00
Ajay
8e5be402e1
Fix VIP title and thumbnail unlock unlocking everything
2023-05-31 14:28:01 -04:00
Michael C
e253c7bb47
change container to do chmod in builder
2023-05-23 19:39:16 -04:00
Ajay
9129cee9f0
Fix tests
2023-05-21 20:12:17 -04:00
Ajay
39fcdb1d95
Allow more chapter names to appear in suggestions
2023-05-21 20:03:53 -04:00
Ajay
8d1025e17d
Add title and thumbnails to user stats
2023-05-09 23:53:18 -04:00
Ajay
6f0abddd3e
Reenable locks
2023-04-28 14:15:18 -04:00