Commit Graph

224 Commits

Author SHA1 Message Date
Omar Roth
a789114f43 Fix login 2018-07-06 07:49:48 -05:00
Omar Roth
99c02722db Remove all cookies on sign out 2018-07-05 19:50:22 -05:00
Omar Roth
431fa642bf Add /subscription_manager 2018-07-05 19:48:55 -05:00
Omar Roth
1ada71e5ba Move user state into before_all 2018-07-05 18:43:26 -05:00
Omar Roth
a01bdf6c16 Add /user endpoint 2018-07-05 11:25:15 -05:00
Omar Roth
f5ea832721 Upgrade to Crystal 0.25 and update signature 2018-06-19 16:20:08 -05:00
Omar Roth
650b8a50fc Add subscribe button to channel page 2018-06-14 19:06:22 -05:00
Omar Roth
e9e6bbd710 Update options for videoplayback preflight 2018-06-06 21:46:57 -05:00
Omar Roth
e0dd56f4ff Fix dash endpoint 2018-06-06 17:55:51 -05:00
Omar Roth
36ba69be1f Add channel page 2018-06-02 19:52:58 -05:00
Omar Roth
e865a801aa Spin parts into components 2018-06-01 17:26:00 -05:00
Omar Roth
b8d4951a48 Add support for "t" param in watch page 2018-05-30 09:10:56 -05:00
Omar Roth
471f5345e2 Remove local links for video playback 2018-05-29 19:19:24 -05:00
Omar Roth
61cd135780 Use local links for video playback 2018-05-29 18:40:36 -05:00
Omar Roth
f79825fc80 General cleanup 2018-05-29 18:40:29 -05:00
Omar Roth
c6539c803a Fix typo 2018-05-07 22:04:58 -05:00
Omar Roth
fdcfe0bb14 Seperate new videos in subscription feed 2018-05-07 21:57:47 -05:00
Omar Roth
75f8fcd40b Add support for AAhBBmCCsDDms in video start and end params 2018-05-07 20:38:13 -05:00
Omar Roth
dce9ef3e8b Add clearer message for login failure 2018-05-05 20:51:31 -05:00
Omar Roth
6d3e88aeb5 Unify formatting 2018-05-03 20:36:48 -05:00
Omar Roth
58410e09f7 Clarify crawl option 2018-05-01 18:51:16 -05:00
Omar Roth
ae68213dc7 Add TFA 2018-04-29 09:40:33 -05:00
Omar Roth
1ea7290892 Add video refresh 2018-04-28 10:50:02 -05:00
Omar Roth
6a7d19163e General cleanup 2018-04-28 09:32:36 -05:00
Omar Roth
d753e52680 Add Fiber.yield to jobs 2018-04-28 09:32:35 -05:00
Omar Roth
92f78ff541 Remove client pool 2018-04-28 09:32:05 -05:00
Omar Roth
19f5729e18 Add support for incorrect password on /login 2018-04-28 09:29:08 -05:00
Omar Roth
742fa6a705 Add negative offset for subscription feed 2018-04-17 16:27:55 -05:00
Omar Roth
84aef70803 Set referer if referer is /login 2018-04-17 15:58:00 -05:00
Omar Roth
fd609ee7e5 Allow range in videoplayback headers 2018-04-16 20:49:00 -05:00
Omar Roth
4cfddcfb42 Add allow headers for preflight requests 2018-04-16 20:43:06 -05:00
Omar Roth
86627d8303 Add options for videoplayback 2018-04-16 19:41:38 -05:00
Omar Roth
11e871ba83 Add CORS header for videoplayback 2018-04-16 19:31:57 -05:00
Omar Roth
9898b2900f Change status_code to that of response for videoplayback 2018-04-16 19:19:02 -05:00
Omar Roth
6c5cbca575 Add support for fvip in videoplayback 2018-04-16 13:08:10 -05:00
Omar Roth
830d6fae8e Add support for using local links in manifest 2018-04-15 22:57:17 -05:00
Omar Roth
bc068721ab Add filtered handler for videoplayback 2018-04-15 22:56:58 -05:00
Omar Roth
f08199e7cf Add /videoplayback endpoint 2018-04-15 20:47:37 -05:00
Omar Roth
4bf0e538e4 Add dark theme 2018-04-13 21:32:14 -05:00
Omar Roth
6bbbfcb919 Combine enable_subscriptions and disable_notifications 2018-04-13 20:11:16 -05:00
Omar Roth
0c5b92a6cb Add error handling for channel refresh 2018-04-11 17:37:06 -05:00
Omar Roth
2a4b643539 Add label to fmt_stream 2018-04-10 21:36:43 -05:00
Omar Roth
316ca2ab34 Add gzip for views 2018-04-09 22:41:32 -05:00
Omar Roth
b3e84e27f8 Allow channel_threads to be configured and increase pool_size 2018-04-09 22:07:09 -05:00
Omar Roth
e8349ae46b Don't sort ad_slots 2018-04-08 12:47:39 -05:00
Omar Roth
22800efbc4 Clean up decrypt_signature for watch page 2018-04-08 12:31:20 -05:00
Omar Roth
3b13cf46c5 Add referer redirect 2018-04-07 21:36:09 -05:00
Omar Roth
44ebf0ed8e Add detection for ad tags and category 2018-04-07 20:09:20 -05:00
Omar Roth
69dd52bac3 Use generic url for thumbnails 2018-04-05 20:54:56 -05:00
Omar Roth
841308929d Add &start and &end to watch page 2018-04-05 20:46:32 -05:00
Omar Roth
ff91ec820c Remove notifications once viewed 2018-04-05 20:07:14 -05:00
Omar Roth
e2b5b7793a Use fill_links once instead of per comment 2018-04-05 20:06:22 -05:00
Omar Roth
815aeeb29c Fix subscriptions on watch page 2018-04-03 22:09:53 -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
57102c54c7 Add notifications 2018-03-31 19:09:27 -05:00
Omar Roth
7757eca92c Add subscribe and unsubscribe button 2018-03-31 09:51:14 -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
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
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
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
2490833b6b Add logout 2018-03-22 12:44:36 -05:00
Omar Roth
48da2ced46 Add error handling for top videos 2018-03-19 12:35:35 -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
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
997449ab4b Add language detection for top videos 2018-03-16 19:36:49 -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
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
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
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
caf82ccb8f Add error message for reddit comments 2018-03-09 10:47:25 -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