Commit Graph

11 Commits

Author SHA1 Message Date
mini-bomba
7c1abd9747 Make returned video duration in getBranding.ts consistent
Instead of picking the first segment returned by the db (i.e. possibly
random), sort segments by submission time and use the oldest visible
segment with a non-zero video duration.
2024-05-04 21:56:03 +02:00
Ajay
af31f511a5 Add tests for fetch all 2024-03-24 13:52:33 -04:00
Ajay
c19d6fe97a Only send low voted segments when asked for 2024-03-22 18:37:39 -04:00
Ajay
b04e0dcd97 DeArrow downvotes 2024-01-03 01:13:35 -05:00
Ajay
665b91eb65 Revert distinct selection change as it seems to be misbehaving 2023-07-27 03:04:46 -04:00
Ajay
d23e9b9940 Only show one title/thumbnail per userID 2023-07-26 15:19:22 -04:00
Ajay
3bb8d5b58b Add verification where new users start with lower votes 2023-06-10 12:35:43 -04:00
Ajay
ef3e48ec24 Send video duration if known 2023-06-08 15:28:37 -04:00
Ajay
5834643ba0 Add random timestamp generation to get branding 2023-06-08 03:39:44 -04:00
Ajay
10e9aef8cc use await in get branding test 2023-01-28 02:20:16 -05:00
Ajay
36f1d15605 Add tests for get branding and fix issues
Also improve deep partial equals
2023-01-28 01:53:59 -05:00