Commit Graph

274 Commits

Author SHA1 Message Date
Omar Roth
c3ac257dbf Remove empty array from get_user 2018-04-03 17:08:44 -05:00
Omar Roth
10c1cfa4b5 Use optional query for watch page 2018-04-03 17:06:50 -05:00
Omar Roth
e2c50d4d1f Use get_user for watch page 2018-04-03 16:52:58 -05:00
Omar Roth
8d66493c01 Remove string interpolation from SQL queries 2018-04-02 18:38:03 -05:00
Omar Roth
a54f59ad74 Minor refactor 2018-04-01 10:09:08 -05:00
Omar Roth
29545a7a6f Remove nonfunctional element on login page 2018-04-01 10:01:34 -05:00
Omar Roth
172fc72fa9 Fix arg_array on empty 2018-04-01 09:46:13 -05:00
Omar Roth
0438572c58 Use .round instead of .significant for watch page 2018-03-31 22:14:33 -05:00
Omar Roth
57102c54c7 Add notifications 2018-03-31 19:09:27 -05:00
Omar Roth
823f679cef Add fix for removed videos in subbox 2018-03-31 16:33:01 -05:00
Omar Roth
cf9a8b0037 Remove File.write from fetch_user 2018-03-31 10:50:39 -05:00
Omar Roth
ffdf2ea4c5 Add email to user table 2018-03-31 10:30:17 -05:00
Omar Roth
0e30ddb728 Clean up fetch_channel 2018-03-31 09:51:44 -05:00
Omar Roth
7757eca92c Add subscribe and unsubscribe button 2018-03-31 09:51:14 -05:00
Omar Roth
a7452d61fa Use .significant instead of .round 2018-03-31 09:19:38 -05:00
Omar Roth
86d7e6170f Fix channel link 2018-03-31 09:08:40 -05:00
Omar Roth
2c5d75dcce Add enable and disable notifications (bell dinging feature) 2018-03-30 20:52:10 -05:00
Omar Roth
6c4cfbe39d Add users table 2018-03-29 21:41:05 -05:00
Omar Roth
4a7fc4ea69 Fix refresh time 2018-03-29 19:21:44 -05:00
Omar Roth
60360ee2ae Don't change id for video conflict 2018-03-29 19:03:00 -05:00
Omar Roth
385d6301a3 Only update time for get_channel 2018-03-29 18:50:24 -05:00
Omar Roth
10f2048d95 Add conflict resolution for channel updates 2018-03-28 23:05:20 -05:00
Omar Roth
239a6c892c Use seperate table for videos pulled from RSS 2018-03-28 22:29:54 -05:00
Omar Roth
e89f15a65c Use alternate thumbnail url for search page 2018-03-28 19:01:07 -05:00
Omar Roth
f047f87100 Use alternative url for watch page thumbnails 2018-03-28 18:52:02 -05:00
Omar Roth
c172dac811 Use alternative url for homepage thumbnails 2018-03-28 18:50:24 -05:00
Omar Roth
3a1a2403f5 Update signature function 2018-03-28 18:37:00 -05:00
Omar Roth
8d97ecaeb1 Update signature 2018-03-28 16:38:40 -05:00
Omar Roth
f5437b18c7 Add break after reddit comments 2018-03-25 22:24:49 -05:00
Omar Roth
34ca35b0f7 Center heading elements 2018-03-25 22:22:57 -05:00
Omar Roth
799e172609 Clean up comments 2018-03-25 22:21:24 -05:00
Omar Roth
edfe1eefe8 Add channel refresh 2018-03-25 22:18:29 -05:00
Omar Roth
b6d2f5d658 Use CDN for silvermine quality selector 2018-03-25 00:19:24 -05:00
Omar Roth
7572c1d5ee Align-right for search and subscriptions 2018-03-24 23:14:35 -05:00
Omar Roth
15f4d95ab4 Add fix for testing authentication 2018-03-24 22:56:41 -05:00
Omar Roth
253ea8113b Minor fix for filters and search 2018-03-24 22:39:07 -05:00
Omar Roth
076eaa7635 Add subscriptions 2018-03-24 22:38:35 -05:00
Omar Roth
0ed3e5d547 Refactor arg_array 2018-03-24 20:57:57 -05:00
Omar Roth
2490833b6b Add logout 2018-03-22 12:44:36 -05:00
Omar Roth
228008168a Update signature 2018-03-22 11:02:15 -05:00
Omar Roth
48da2ced46 Add error handling for top videos 2018-03-19 12:35:35 -05:00
Omar Roth
fb87b3347b Bump size of language content 2018-03-17 12:38:34 -05:00
Omar Roth
909bb2be7f Limit size of language request 2018-03-17 12:20:22 -05:00
Omar Roth
02f1cd1a8b Remove error message 2018-03-17 00:02:02 -05:00
Omar Roth
39df8ab200 Add rescue for video ranking 2018-03-16 23:57:31 -05:00
Omar Roth
2be57276a2 Add refresh for top videos 2018-03-16 23:01:35 -05:00
Omar Roth
36b184d1fb Add published variant 2018-03-16 22:34:26 -05:00
Omar Roth
721851da81 Add word break for video titles 2018-03-16 22:18:55 -05:00
Omar Roth
f0870e0cdd Add title for login page 2018-03-16 22:13:39 -05:00
Omar Roth
46f8032fb9 Fix dash manifest 2018-03-16 21:10:38 -05:00
Omar Roth
7704b76f45 Fix HTTP redirect 2018-03-16 19:58:33 -05:00
Omar Roth
97b93d548b Disable language filtering when there is no key 2018-03-16 19:52:25 -05:00
Omar Roth
6b5c9cfaf1 Add "language" to postgres 2018-03-16 19:45:37 -05:00
Omar Roth
997449ab4b Add language detection for top videos 2018-03-16 19:36:49 -05:00
Omar Roth
dde7a643e9 Add playsinline for watch.ecr 2018-03-16 15:28:45 -05:00
Omar Roth
1b17550545 Format views and add link to cookie issue 2018-03-16 12:14:40 -05:00
Omar Roth
6581f96b70 Add fix for HTTP::Cookies 2018-03-16 12:06:03 -05:00
Omar Roth
d8372aa83e Add login page 2018-03-16 11:40:29 -05:00
Omar Roth
e8013c6d5c Use try instead of ternary 2018-03-14 18:06:21 -05:00
Omar Roth
c8a798e13c Add fix for streams 2018-03-14 18:05:19 -05:00
Omar Roth
f788548961 Use each_with_index for watch and audio 2018-03-14 16:35:09 -05:00
Omar Roth
f33cbb8b92 Add sources for iOS 2018-03-13 18:41:09 -05:00
Omar Roth
e37e9a0b8e Add qualityselector 2018-03-13 18:37:56 -05:00
Omar Roth
1a6c28735c Fix DASH manifest to be more similar to YT's 2018-03-12 22:16:38 -05:00
Omar Roth
8fb97a4511 Add suppor for dash manifest 2018-03-12 20:36:49 -05:00
Omar Roth
c53ab94519 Update signature 2018-03-12 18:53:05 -05:00
Omar Roth
9480c6f806 Use horizontal padding 2018-03-12 18:37:01 -05:00
Omar Roth
2bae09e018 Add option to hide all reddit comments 2018-03-12 18:36:08 -05:00
Omar Roth
d7168815aa Use l-box instead of margin 2018-03-11 12:08:44 -05:00
Omar Roth
052fa400a2 Add padding for watch page 2018-03-11 12:05:56 -05:00
Omar Roth
8b2d2044b2 Escape title name 2018-03-11 10:47:48 -05:00
Omar Roth
496a8bf67b Verify SSL certificates 2018-03-11 10:43:34 -05:00
Omar Roth
6795c183af Remove logging for Reddit comments 2018-03-11 10:36:15 -05:00
Omar Roth
d664d6b371 Only use HSTS if SSL is enabled 2018-03-11 10:29:40 -05:00
Omar Roth
31d1315c60 Fix HSTS header 2018-03-11 10:24:12 -05:00
Omar Roth
6d7ae6f638 Only add HTTP query if it exists 2018-03-09 14:13:26 -06:00
Omar Roth
cf07b66c12 Use 301 for HTTP redirect 2018-03-09 14:11:30 -06:00
Omar Roth
298af854fc Fix alt_link for youtu.be 2018-03-09 14:06:35 -06:00
Omar Roth
c6accd2706 Add redirect to config.yml 2018-03-09 14:06:13 -06:00
Omar Roth
b24f82fe0d Access assets over https 2018-03-09 13:39:13 -06:00
Omar Roth
84fc87229c Add full path redirect 2018-03-09 13:35:31 -06:00
Omar Roth
2596410b97 Add HTTP redirect 2018-03-09 13:22:04 -06:00
Omar Roth
eb1d1e30d1 Add config file 2018-03-09 12:42:23 -06:00
Omar Roth
e22d6d8549 Add max-age for static assets 2018-03-09 11:28:57 -06:00
Omar Roth
cb22d7423c Add date shared 2018-03-09 11:12:28 -06:00
Omar Roth
731b837774 Add fix for controversial videos 2018-03-09 10:55:14 -06:00
Omar Roth
d9c89f7e3f Limit number of reddit comments 2018-03-09 10:47:50 -06:00
Omar Roth
caf82ccb8f Add error message for reddit comments 2018-03-09 10:47:25 -06:00
Omar Roth
9886953fb6 Add link for shortened youtube url 2018-03-07 22:15:35 -06:00
Omar Roth
fd1bd35b42 Remove macro 2018-03-07 22:15:21 -06:00
Omar Roth
4ae88cd286 Add mapping macro and move templated into helpers.cr 2018-03-07 17:58:33 -06:00
Omar Roth
b388181cd4 Use different source for fallback thumbnail 2018-03-07 16:48:43 -06:00
Omar Roth
24fc14ac7a Add player title and thumbnail 2018-03-07 16:48:26 -06:00
Omar Roth
212ba05047 Update signature function 2018-03-07 08:07:40 -06:00
Omar Roth
8a3056d0e3 Make link styling default for anchor tags 2018-03-06 22:03:45 -06:00
Omar Roth
ebe51c91d7 Add local alternatives for video links 2018-03-06 22:00:35 -06:00
Omar Roth
e9f214cdc0 Update signature function 2018-03-06 16:59:23 -06:00
Omar Roth
2dae26e348 Break lines more prettily 2018-03-06 16:59:08 -06:00
Omar Roth
b14b26f7c2 Make rank_videos less greedy 2018-03-06 00:34:26 +00:00
Omar Roth
fc7b84cc68 Add line-break so links don't overflow 2018-03-05 10:12:45 -06:00