Commit Graph

1899 Commits

Author SHA1 Message Date
Omar Roth
b1b2713546 Add option to view only notifications 2018-07-31 10:44:07 -05:00
Omar Roth
9b8a884ff8 Disable Kemal header 2018-07-30 18:42:45 -05:00
Omar Roth
b49456da97 Switch from using fontawesome to ionicons 2018-07-30 18:38:55 -05:00
Omar Roth
78f995c903 Move aspectRatio into videojs options 2018-07-30 18:13:26 -05:00
Omar Roth
381b644dab
Merge pull request #51 from omarroth/data-control
Add options to import and export user data
2018-07-30 17:37:47 -05:00
Omar Roth
0cf8f859ec Provide user with error message on '/watch' page 2018-07-30 14:14:11 -05:00
Omar Roth
b535a9d413 Add options to import and export user data 2018-07-30 12:57:26 -05:00
Omar Roth
24c79a3554 Remove migration breaks for watch history 2018-07-30 08:54:12 -05:00
Omar Roth
2e69774b1f Fix video ID redirect 2018-07-30 08:30:08 -05:00
Omar Roth
01e5bec246
Merge pull request #44 from omarroth/add-livestreams
Add livestream support [EXPERIMENTAL]
2018-07-30 08:17:47 -05:00
Omar Roth
50222fb1bc
Merge pull request #48 from omarroth/add-watch-history
Add watch history
2018-07-30 08:01:06 -05:00
Omar Roth
9a0996515f Add fix for comments that don't have valid continuation 2018-07-29 21:17:21 -05:00
Omar Roth
d201733756 Add fix for empty 'page' param 2018-07-29 21:17:08 -05:00
Omar Roth
b14a8c3f3d Throw 500 on '/watch' page error 2018-07-29 21:05:58 -05:00
Omar Roth
714fd3dae3 Add 'results' route redirect 2018-07-29 21:05:40 -05:00
Omar Roth
a09b12a774 Add fix for nonexistent channels 2018-07-29 21:01:28 -05:00
Omar Roth
503c47c8bf Fix 500 on channel page when video list is empty 2018-07-29 11:31:00 -05:00
Omar Roth
2b911aabc4 Fix comments endpoint for videos that have no comments 2018-07-29 10:56:52 -05:00
Omar Roth
6aeb508f29 Fix for /comments/ where there is only one comment 2018-07-29 10:49:46 -05:00
Omar Roth
4cc2cf46aa Add fix for subtitles without duration 2018-07-29 10:47:22 -05:00
Omar Roth
8fbc066df1 Try to split longer lines 2018-07-29 10:02:41 -05:00
Omar Roth
10d82d2d95 Add livestream support 2018-07-29 09:49:45 -05:00
Omar Roth
c07016b45c Fix template_comments and comments with formatting 2018-07-29 09:48:33 -05:00
Omar Roth
964a9e2abd Fix update_function job 2018-07-29 09:48:03 -05:00
Omar Roth
6221496f66 Add proper padding for channel elements 2018-07-29 09:47:32 -05:00
Omar Roth
b5c92c1a2f Add watch history 2018-07-29 09:00:32 -05:00
Omar Roth
0d23f25a8c Add option to redirect homepage to subscription feed 2018-07-28 22:31:02 -05:00
Omar Roth
09d78c9d3a Add fix for videos that don't have description 2018-07-28 21:56:30 -05:00
Omar Roth
573e909785 Add 'lengthSeconds' to /channels/:ucid/videos 2018-07-28 21:00:19 -05:00
Omar Roth
7060c67328
Merge pull request #46 from omarroth/add-channel-rss
Add channel RSS
2018-07-28 20:45:01 -05:00
Omar Roth
6c03992369
Merge pull request #47 from omarroth/add-comments
Add YouTube comments
2018-07-28 20:44:43 -05:00
Omar Roth
ab4b533183 Add shortened video redirect 2018-07-28 11:06:48 -05:00
Omar Roth
1eb7066c74 Add YouTube comments 2018-07-28 09:49:58 -05:00
Omar Roth
ac5dbadfc1 Add channel RSS 2018-07-28 08:24:53 -05:00
Omar Roth
829ffdd466 Add '/api/v1/channels' and '/api/v1/channels/:ucid/videos' 2018-07-28 07:51:37 -05:00
Omar Roth
9355c60f6e Refactor 'decode_date' 2018-07-28 07:50:22 -05:00
Omar Roth
e767651836 Fix thumbnail URL on recommended videos 2018-07-27 20:02:31 -05:00
Omar Roth
ff563d075a Add '/api/v1/top' 2018-07-27 10:00:29 -05:00
Omar Roth
8eb5d153b5 Add '/api/v1/trending' 2018-07-27 10:00:29 -05:00
Omar Roth
f98d30d36f
Merge pull request #42 from omarroth/change-default-account
Change default account type to Invidious accounts
2018-07-26 18:00:36 -05:00
Omar Roth
20ddd3c025
Merge pull request #43 from omarroth/thin-mode
Add thin mode
2018-07-26 18:00:13 -05:00
Omar Roth
cc047bb5e5 Update channel when fetched by thread 2018-07-26 17:17:16 -05:00
Omar Roth
8ed9624e0a Fix bug in delivering user notifications 2018-07-26 16:30:39 -05:00
Omar Roth
f7a5ce2652 Don't try to update all channel videos 2018-07-26 16:23:55 -05:00
Omar Roth
548ad14154 Update Video mapping 2018-07-26 15:09:05 -05:00
Omar Roth
09a9364427 Update videos SQL 2018-07-26 14:49:06 -05:00
Omar Roth
0f46c18f99 Add 'genre', 'allowedRegions', 'isFamilyFriendly' to videos 2018-07-26 14:24:45 -05:00
Omar Roth
1202e1f2bf Move API endpoints under '/api/v1/' prefix 2018-07-26 13:55:45 -05:00
Omar Roth
8764b298ad Add thin mode 2018-07-26 12:09:29 -05:00
Omar Roth
e578b2b8f7 Change default account type to Invidious accounts 2018-07-26 10:37:16 -05:00
Omar Roth
686e17f489 Add fix to switch to supported authentication schemes 2018-07-26 10:20:15 -05:00
Omar Roth
73443143cf Add padding to preferences page 2018-07-26 09:59:05 -05:00
Omar Roth
f07e3e5981
Merge pull request #38 from FredrikAugust/rework-navbar
Rework navbar and update README
2018-07-26 09:53:52 -05:00
Fredrik August Madsen-Malmo
24538b7296 Clean up navigation bar code
And update README so that arch users don't have to update their entire
system to install the required packages.
2018-07-26 16:46:43 +02:00
Omar Roth
0fba601e91 Fix crash in video crawler 2018-07-26 08:41:23 -05:00
Omar Roth
3f577650bc Add numbers to clock CAPTCHA 2018-07-25 22:25:14 -05:00
Omar Roth
59aad6a273 Enable volume scroll 2018-07-24 21:42:26 -05:00
Omar Roth
5800376818 Fix clock CAPTCHA on iOS 2018-07-24 21:26:19 -05:00
Omar Roth
e1ab2d5e1d Fix position of login buttons on mobile 2018-07-24 19:36:09 -05:00
Omar Roth
ba323f2c1f Fix position of RSS on mobile 2018-07-24 19:34:49 -05:00
Omar Roth
55167724b1 Add fix for unsupported authentication protocols 2018-07-24 17:55:58 -05:00
Omar Roth
333dcd2089 Fix metadata for videos 2018-07-24 17:05:02 -05:00
Omar Roth
4042b54afb Add fix for function names with numbers in them 2018-07-24 17:04:49 -05:00
Omar Roth
115a815528 Add `/videos/:id' 2018-07-23 15:09:11 -05:00
Omar Roth
965a399492 Simplify 'published' extraction 2018-07-23 13:48:43 -05:00
Omar Roth
0bb1da6bfd Escape quotes in metadata description 2018-07-23 09:16:33 -05:00
Omar Roth
bb20ec110e Add metadata fix for videos with empty description 2018-07-23 09:03:37 -05:00
Omar Roth
69e70124b4 Update metadata 2018-07-23 08:07:24 -05:00
Omar Roth
baa8a66827 Fix notification delivery 2018-07-23 07:50:18 -05:00
Omar Roth
a1e96d971d Fix meta tags on watch page 2018-07-22 23:20:49 -05:00
Omar Roth
55e6afc3df Add meta tags for '/watch' page 2018-07-22 20:02:49 -05:00
Omar Roth
8b14a60a32 Fix user update for subscription feed 2018-07-22 15:35:22 -05:00
Omar Roth
67de4192f0 Provide captions if no label is provided 2018-07-22 14:09:53 -05:00
Omar Roth
dcf4330b35 Add 'commentCount' to '/comments/:id' 2018-07-22 12:15:18 -05:00
Omar Roth
f4160f937c Add fix for videos that don't have captions 2018-07-22 11:41:08 -05:00
Omar Roth
0b0e56504a Properly clear notifications when viewing feed 2018-07-22 11:36:47 -05:00
Omar Roth
09cd7bcc66 Catch errors in 'fetch_video' fibers 2018-07-22 11:17:29 -05:00
Omar Roth
3beac53c89 Add captions 2018-07-22 11:09:43 -05:00
Omar Roth
87d520bb02 Add option to set HMAC key 2018-07-21 22:35:28 -05:00
Omar Roth
e49dadbb65 Add option to redirect to HTTPS links even if ssl isn't enabled 2018-07-21 21:28:10 -05:00
Omar Roth
30929a9574 Add '/comments/:id' 2018-07-21 20:56:11 -05:00
Omar Roth
44effdd3a6
Merge pull request #23 from omarroth/add-feed
Add Atom feed
2018-07-20 18:35:40 -05:00
Omar Roth
5c3494006f Optimize fetch_video 2018-07-20 16:39:31 -05:00
Omar Roth
56e35def8a Add 'autoplay' and 'loop' query params to watch page 2018-07-20 15:14:15 -05:00
Omar Roth
fff0a25c17 Add failure callback for comments 2018-07-20 14:50:55 -05:00
Omar Roth
c7a46cd3d5 Split Reddit comments into separate request 2018-07-20 14:36:23 -05:00
Omar Roth
e4ba09549a Change sign in messages to protect user privacy 2018-07-20 11:34:27 -05:00
Omar Roth
e180cf70f8 Fix sort options for Atom feed 2018-07-20 11:24:13 -05:00
Omar Roth
6135006b26 Add Atom feed 2018-07-20 11:19:49 -05:00
Omar Roth
ac8fb9d8c8 Add 'raw' and 'quality' options to embedded videos 2018-07-19 11:04:29 -05:00
Omar Roth
b965c8a7a4 Fix typo in embedded player 2018-07-19 10:57:57 -05:00
Omar Roth
8861d31b21 Move video options to <video> element 2018-07-19 10:30:54 -05:00
Omar Roth
d29ea79a5d Add separate user accounts 2018-07-18 20:15:18 -05:00
Omar Roth
61e3c39ecd Add 'secure' for cookies when SSL enabled 2018-07-18 19:29:03 -05:00
Omar Roth
68d5ee95b3 Add fix for decoding invalid user preferences 2018-07-18 19:13:06 -05:00
Omar Roth
abab7fca87 Fix preferences for existing users 2018-07-18 15:49:01 -05:00
Omar Roth
eaf8854f96 Fix preferences for new users 2018-07-18 15:40:50 -05:00
Omar Roth
44016a6779 Fix minute matching in decode_time 2018-07-18 15:17:02 -05:00
Omar Roth
18f8a4ae1a Add latest_only and sort options for subscription feed 2018-07-18 09:20:34 -05:00
Omar Roth
0bb07e55f5 Add ability to automatically extract video signature funtion 2018-07-17 10:53:17 -05:00
Omar Roth
e1ec1b6837 Use smarter query for updating channels 2018-07-17 09:20:07 -05:00
Omar Roth
7119395045 Refresh account for subscription feed and manager 2018-07-17 08:19:45 -05:00
Omar Roth
cecb93f832 Update signature 2018-07-17 07:39:42 -05:00
Omar Roth
a6292d956d Add option to change max_results 2018-07-16 19:31:49 -05:00
Omar Roth
cae8e1b883
Merge pull request #9 from omarroth/add-preferences
Add user preferences
2018-07-16 18:46:16 -05:00
Omar Roth
70085db5d2 Bump size for referer URL 2018-07-16 15:12:10 -05:00
Omar Roth
e87c6186e7
Merge pull request #8 from omarroth/embed-options
Add 'autoplay', 'controls', 'loop' to embedded player options
2018-07-16 15:09:38 -05:00
Omar Roth
1757db6a1c Add horizontal breaks for subscription manager 2018-07-16 14:30:15 -05:00
Omar Roth
7494e864b4 Add handling for invalid login 2018-07-16 12:50:41 -05:00
Omar Roth
58b5e97fc4 Add speed and fix <select> options 2018-07-16 11:57:52 -05:00
Omar Roth
96c520b02b Add user preferences 2018-07-16 11:24:24 -05:00
Omar Roth
f68b27da7c Organize routes 2018-07-16 08:18:59 -05:00
Omar Roth
23711a127c Add 'autoplay', 'controls', 'loop' to embedded player options 2018-07-16 08:08:18 -05:00
Omar Roth
f189cd7c48 Speed up /videoplayback streaming 2018-07-15 22:10:29 -05:00
Omar Roth
73247d75ca Add fix for mimetype in /videoplayback 2018-07-15 21:53:24 -05:00
Omar Roth
9cb96de426 Add CORS header for /videoplayback redirect 2018-07-15 21:01:35 -05:00
Omar Roth
aa389399bc Add fix for videoplayback requests with trailing slash 2018-07-15 20:54:01 -05:00
Omar Roth
f05afaf342 Add dash support for videos that already have manifest 2018-07-15 20:39:56 -05:00
Omar Roth
38af1b4c1b Add /embed/:id 2018-07-14 08:36:31 -05:00
Omar Roth
06dfcc679f Update signature 2018-07-13 16:14:32 -05:00
Omar Roth
c56a945533 Update signature 2018-07-13 08:50:32 -05:00
Omar Roth
f7fad7fe85 Update signature 2018-07-12 09:36:25 -05:00
Omar Roth
6660b2b56b Fix conflict on video update 2018-07-09 13:00:15 -05:00
Omar Roth
6c934542a6 Add versioning for assets 2018-07-09 12:17:57 -05:00
Omar Roth
72690f587e Clarify request types 2018-07-08 15:22:32 -05:00
Omar Roth
4671bcf71a Add support for Google Authenticator codes 2018-07-08 08:57:06 -05:00
Omar Roth
26c496ce78 Clarify link to subscription manager 2018-07-07 13:45:20 -05:00
Omar Roth
eb1df96e1b Remove patch and update file structure 2018-07-06 07:59:56 -05:00
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
b10d0dce78 Fix conflict on duplicates 2018-07-05 18:17:27 -05:00
Omar Roth
a01bdf6c16 Add /user endpoint 2018-07-05 11:25:15 -05:00
Omar Roth
8e24f4e9e3 Update signature 2018-07-05 11:25:06 -05:00
Omar Roth
a15c523e1d Update signature 2018-06-29 10:24:45 -05:00
Omar Roth
fdf92ddc03 Update signature 2018-06-28 10:22:29 -05:00
Omar Roth
b7f673b1e1 Add alt links for all youtube endpoints 2018-06-27 12:00:07 -05:00
Omar Roth
aa20f0424d Update signature 2018-06-26 10:56:04 -05:00
Omar Roth
a50ff5cffb Update signature 2018-06-23 11:43:29 -05:00
Omar Roth
be5c925418 Update signature 2018-06-21 17:00:38 -05:00
Omar Roth
f5ea832721 Upgrade to Crystal 0.25 and update signature 2018-06-19 16:20:08 -05:00
Omar Roth
604ae665b6 Update signature 2018-06-15 09:55:19 -05:00
Omar Roth
650b8a50fc Add subscribe button to channel page 2018-06-14 19:06:22 -05:00
Omar Roth
7234785145 Update signature 2018-06-14 18:56:20 -05:00
Omar Roth
d89ccc4d50 Unify video/audio player 2018-06-08 14:38:59 -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
208f32661b Fix notifications 2018-06-06 13:21:53 -05:00
Omar Roth
5e572c4610 Update signature 2018-06-06 13:20:09 -05:00
Omar Roth
3c9fb5ab71 Use properties instead of info 2018-06-02 22:15:15 -05:00
Omar Roth
ce714a0854 Rename id to ucid for clarity 2018-06-02 21:53:11 -05:00
Omar Roth
581056ae39 Future-proof extractors 2018-06-02 20:03:54 -05:00
Omar Roth
6d0079e886 Clean up published extraction 2018-06-02 19:57:45 -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
a2e23f7022 Move author and ucid into schema 2018-06-01 17:24:16 -05:00
Omar Roth
cbe10784aa Fix notifications layout on mobile 2018-05-31 09:52:54 -05:00
Omar Roth
a405188af6 Qualify time for shared videos 2018-05-31 09:52:41 -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
609ad873bc Update signature 2018-05-18 19:25:22 -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
0e85a04761 Fix alt linkfor youtu.be urls 2018-05-07 20:50:55 -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
fef2cbc0b2 Update signature 2018-05-07 19:56:01 -05:00
Omar Roth
dce9ef3e8b Add clearer message for login failure 2018-05-05 20:51:31 -05:00
Omar Roth
a48bf70d85 Update signature 2018-05-05 20:49:46 -05:00
Omar Roth
b52803904c Add fix for channels that have been deleted 2018-05-03 22:39:02 -05:00
Omar Roth
d1841b9be5 Use sidebar for pulling subscriptions 2018-05-03 20:37:17 -05:00
Omar Roth
6d3e88aeb5 Unify formatting 2018-05-03 20:36:48 -05:00
Omar Roth
2fee621843 Add link to login for subscriptions 2018-05-03 20:36:27 -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
8477579e0b Clean up Reddit mapping 2018-04-28 09:29:08 -05:00
Omar Roth
19f5729e18 Add support for incorrect password on /login 2018-04-28 09:29:08 -05:00
Omar Roth
7621c8ef2d Update signature 2018-04-24 13:01:43 -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
7d3ecf7567 Put word-wrap in default.css 2018-04-17 15:53:12 -05:00
Omar Roth
9180a19bf9 Update signature 2018-04-17 12:09:29 -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
9080cafa2a Update signature 2018-04-13 19:17:53 -05:00
Omar Roth
029077a4e8 Decrease time between channel updates 2018-04-11 18:36:36 -05:00
Omar Roth
0c5b92a6cb Add error handling for channel refresh 2018-04-11 17:37:06 -05:00
Omar Roth
6cb5072961 Style video element with css instead of js 2018-04-11 17:25:12 -05:00
Omar Roth
99d299d62a Don't filter sources for audio-only 2018-04-11 17:24:50 -05:00
Omar Roth
6f0e2365de Use css for styling instead of video.js 'fluid' 2018-04-10 22:10:41 -05:00
Omar Roth
a8db5aaed8 Decrement currentSource length on splice 2018-04-10 21:54:23 -05:00
Omar Roth
20c0bff96d Remove unsupported formats from quality selector 2018-04-10 21:49:10 -05:00
Omar Roth
2a4b643539 Add label to fmt_stream 2018-04-10 21:36:43 -05:00
Omar Roth
21ef842a2e Add ids for watch page elements 2018-04-10 21:09:31 -05:00
Omar Roth
7a7e735d36 Use .strip for finding email 2018-04-09 23:15:01 -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
ce28348da5 Use 'fluid' for videojs 2018-04-08 09:38:06 -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
86bf5a6266 Add notification count 2018-04-07 10:17:31 -05:00
Omar Roth
1a458ee94c Substitute redirect links in video description 2018-04-07 10:13:52 -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
cc6d322b0c Bump time for get_channel refresh 2018-04-05 20:06:38 -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
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
Omar Roth
72826c4d96 Fix regression for youtube pool 2018-03-04 22:25:03 -06:00
Omar Roth
971b471d72 Fix param conflict 2018-03-04 11:39:56 -06:00
Omar Roth
df228c82de Fix param conflict 2018-03-04 11:37:12 -06:00
Omar Roth
be6ced202c Fix CLI options 2018-03-04 11:17:46 -06:00
Omar Roth
3cd66d2e7c Include break when there are no comments 2018-03-04 11:03:12 -06:00
Omar Roth
2144c388a5 Fix user-agent string 2018-03-04 11:00:35 -06:00
Omar Roth
814cdc9971 Major fixes, add options for YT, add User-Agent for Reddit 2018-03-04 10:59:03 -06:00
Omar Roth
53acf1f6d6 Use more advanced query for reddit search 2018-03-04 09:31:26 -06:00
Omar Roth
f0b33b2975 Clean up Video class 2018-03-04 08:54:19 -06:00
Omar Roth
aa0864f87d Don't redirect youtube links 2018-03-04 07:48:59 -06:00
Omar Roth
c42c0b65b0 Only replace "/watch" links in Reddit description 2018-03-04 07:47:07 -06:00
Omar Roth
66f639a1d1 Remove TODO 2018-03-03 23:07:18 -06:00
Omar Roth
38d7dfd7e3 Allow for collapsing and expanding of Reddit comments 2018-03-03 22:36:18 -06:00
Omar Roth
62dbd361de Add support for reddit redirect 2018-03-03 19:10:25 -06:00
Omar Roth
1bf492ce78 Clarify wait option 2018-03-03 18:23:39 -06:00
Omar Roth
cf9931e2a1 Add support for redirect in URL description 2018-03-03 18:18:03 -06:00
Omar Roth
fc2e10a54f Fix client reuse 2018-03-03 17:45:54 -06:00
Omar Roth
baeb44be13 Remove "puts" 2018-03-03 16:03:15 -06:00
Omar Roth
d573461a67 Parse HTML properly instead of relying on regexes 2018-03-03 15:59:21 -06:00
Omar Roth
b8fe82a7f7 Substitute youtube links in description for local links 2018-03-03 15:27:14 -06:00
Omar Roth
323d27a5f6 Add wait time option and add handling for reddit_pool 2018-03-03 15:26:47 -06:00
Omar Roth
84c8fb9b99 Separate with comma views, likes, dislikes 2018-03-03 15:10:56 -06:00
Omar Roth
24cea8f3e7 Add reddit comments 2018-03-03 15:06:14 -06:00
Omar Roth
2e892e8dd4 Update signature 2018-03-03 09:51:58 -06:00
Omar Roth
dff93f67f9 Add author for item 2018-02-26 20:59:18 -06:00
Omar Roth
3a95d21808 Minor fixes 2018-02-26 18:59:02 -06:00
Omar Roth
7828cd9767 Remove html from DB 2018-02-26 18:58:45 -06:00
Omar Roth
13ef4440d0 Replace signature function with generic catchall 2018-02-22 13:01:37 -06:00
Omar Roth
225625a0fb Add redirect for missing params 2018-02-15 12:05:39 -06:00
Omar Roth
8956623347 Add fix to top_videos for empty database 2018-02-15 11:55:44 -06:00
Omar Roth
d6b49bc0ae Fix rank_videos 2018-02-13 13:14:21 -06:00
Omar Roth
e46ce28939 Format and add function for vflCCoUi2 and vflg4IfMn 2018-02-13 10:44:11 -06:00
Omar Roth
5b47be2b4d Run 'crystal tool format' 2018-02-13 10:43:15 -06:00
Omar Roth
4d1fa61bf0 Only add signature if stream has decrypted signature 2018-02-12 19:54:11 -06:00
Omar Roth
1d301a5055 Add support for different signature functions 2018-02-11 22:06:29 -06:00
Omar Roth
42df0df5a0 Clean up argument creation 2018-02-11 22:05:22 -06:00
Omar Roth
489ae35f1d Split audio and video into seperate views 2018-02-11 17:15:49 -06:00
Omar Roth
6adbcd050c Clarify listen param and update icon 2018-02-11 17:01:32 -06:00
Omar Roth
da97dfad8e Fix arg parsing 2018-02-11 16:48:27 -06:00
Omar Roth
ea044ec2da Fix rank_videos 2018-02-10 10:06:37 -06:00
Omar Roth
dc45fbfad6 Use error template for 404 and 500 2018-02-10 09:15:23 -06:00
Omar Roth
ecb1999795 Ensure clients are recycled properly 2018-02-08 20:19:44 -06:00
Omar Roth
a27c556904 Fix 500 for livestream 2018-02-08 20:18:47 -06:00
Omar Roth
655a593c87 Fix poster for videos that don't have thumbnail url 2018-02-07 22:05:18 -06:00
Omar Roth
5159ec0f6e Pull rank_videos into seperate thread 2018-02-07 22:04:47 -06:00
Omar Roth
567856363b Remove assets from repo 2018-02-06 18:52:01 -06:00
Omar Roth
d4c88f2844 Fix watch for videos that don't have fmt_stream 2018-02-06 17:30:53 -06:00
Omar Roth
6167ce30b0 Disable logging for connection pool 2018-02-06 17:30:14 -06:00
Omar Roth
76c008d319 Make sure extra options don't override Kemal defaults 2018-02-05 19:37:09 -06:00
Omar Roth
e9ee41846c Fix formatting 2018-02-05 19:11:57 -06:00
Omar Roth
c8d2d12282 Add default number of threads 2018-02-05 19:08:36 -06:00
Omar Roth
fb80d2f484 Add padding for video description 2018-02-05 19:08:20 -06:00
Omar Roth
990bca5af5 Refactor client creation 2018-02-05 19:07:49 -06:00
Omar Roth
0e704056a1 Make sure client gets returned to pool 2018-02-05 18:52:21 -06:00
Omar Roth
2e402c1977 Clean up views 2018-02-05 18:44:42 -06:00
Omar Roth
f47eb3016a Remove resize for larger screens 2018-02-05 18:41:24 -06:00
Omar Roth
d3e159ffbe Add youtube hotkeys 2018-02-05 18:36:16 -06:00
Omar Roth
39b271585a Add margin for footer 2018-02-05 18:05:41 -06:00
Omar Roth
66f28c8f63 Use same layout for search as for index 2018-02-05 18:05:23 -06:00
Omar Roth
d1a2b193aa Change client timeout and make sure there is always a client available 2018-02-05 17:57:53 -06:00
Omar Roth
25434c676c Run 'crystal tool format' 2018-02-05 17:57:03 -06:00
Omar Roth
a9cea62d5b Add home page 2018-02-05 17:56:40 -06:00
Omar Roth
3bd6f0151b Change layout for recommended variables 2018-02-04 19:44:15 -06:00
Omar Roth
7a7b1382c0 Use more consistent variables for search.ecr 2018-02-04 19:43:16 -06:00
Omar Roth
a9ef931856 Fix error handling 2018-02-04 19:42:42 -06:00
Omar Roth
d79c1ff3e9 Fix video indexing 2018-02-04 19:42:13 -06:00
Omar Roth
1facca5408 Replace unnecessary constant 2018-02-04 19:40:06 -06:00
Omar Roth
03aeb27b40 Add ability to specify number of threads 2018-02-03 16:13:14 -06:00
Omar Roth
1e2139d78c Add ability to decrypt signature for vflxuxnEY/en_US/base.js 2018-02-03 14:41:59 -06:00
Omar Roth
859517e206 Change layout for larger screens 2018-02-02 22:21:34 -06:00
Omar Roth
2fcdb7f6ec Partially bypass age-gate 2018-02-02 22:04:34 -06:00
Omar Roth
26c9a87e88 Add published field 2018-02-02 21:44:10 -06:00
Omar Roth
d7d905447f Change license 2018-01-28 11:32:40 -06:00
Omar Roth
a951f4a2f8 Replace chomp with rstrip 2018-01-27 20:10:37 -06:00
Omar Roth
03de6fbf06 Use likes, dislikes from record 2018-01-27 20:10:08 -06:00
Omar Roth
236fdb85ff Move functions into helpers.cr 2018-01-27 20:09:27 -06:00
Omar Roth
cf49306ffb Fix index out of bounds error 2018-01-21 17:49:27 -06:00
Omar Roth
5c1bd5fae6 Run 'crystal tool format' 2018-01-21 11:07:32 -06:00
Omar Roth
e192b55ffa Allow for views to supply tags to header 2018-01-21 11:07:02 -06:00
Omar Roth
3c29cc71bb Remove unneeded style from layout 2018-01-21 11:06:27 -06:00
Omar Roth
92f2e61624 Style 'next' link for search view 2018-01-21 11:05:54 -06:00
Omar Roth
1305410f4d Move script tags into video view 2018-01-21 11:05:30 -06:00
Omar Roth
02b6990240 Get videos from search 2018-01-21 11:04:58 -06:00
Omar Roth
daba77d665 Merge changes 2018-01-20 18:21:47 -06:00
Omar Roth
a236d7a4e8 Fix several bugs in connection pool 2018-01-20 18:19:55 -06:00
Omar Roth
01d16ec6af Move helpers into seperate file 2018-01-20 18:19:12 -06:00
Omar Roth
6418d87a63 Add fix for videos that don't have specific keys 2018-01-19 18:31:47 -06:00
Omar Roth
19309f5ef6 Fix client refresh 2018-01-20 00:20:12 +00:00
Omar Roth
f77dcb7f9b Randomly refresh HTTP clients 2018-01-19 18:51:57 +00:00
Omar Roth
61e3b47210 Add id 'pool' for connetion pool 2018-01-19 03:46:29 +00:00
Omar Roth
c36b22a16d Refresh connection pool 2018-01-16 21:42:48 -06:00
Omar Roth
634b5f6c87 Add thumbnails for related videos 2018-01-16 16:28:49 -06:00
Omar Roth
6b5426b5f6 Remove unnecessary view 2018-01-16 16:28:49 -06:00
Omar Roth
f09f971af7 Fix audio-only for video.js 2018-01-16 16:28:49 -06:00
Omar Roth
9e4d0bd3a5 Add video,js, Genesis 3:6 2018-01-16 16:28:49 -06:00
Omar Roth
9f63fcaa1e Fix up search 2018-01-16 16:28:40 -06:00
Omar Roth
b21365248d Add speed control 2018-01-15 20:30:57 -06:00
Omar Roth
38cff5a752 Freshen up for the big dance 2018-01-14 21:16:09 -06:00
Omar Roth
60c618942f Add wait for empty connection pool 2018-01-07 17:18:24 -06:00
Omar Roth
dfdeb02c7f Try using connection pool for getting videos 2018-01-07 13:03:53 -06:00
Omar Roth
070de12391 Fix broken title for related video and add link to author's channel 2018-01-07 12:35:13 -06:00
Omar Roth
225907b507 Fix unbalanced div 2018-01-07 11:50:04 -06:00
Omar Roth
9bfb663848 Move seperator to templates 2018-01-07 11:49:48 -06:00
Omar Roth
c4c1b43e5c Add thumbnail to search 2018-01-07 11:43:13 -06:00
Omar Roth
d65106d8b1 Speed up get_video 2018-01-07 11:42:24 -06:00
Omar Roth
eed7a25e7d Add header 2018-01-07 11:40:03 -06:00
Omar Roth
060c4da96d Add related videos and clean up video class 2018-01-06 20:39:24 -06:00
Omar Roth
d1eb81b653 Add audio-only 2018-01-03 20:06:16 -06:00
Omar Roth
87601d1400 Run 'crystal tool format' 2017-12-30 15:38:09 -06:00
Omar Roth
7fc7a47849 Remove unused info 2017-12-30 15:36:29 -06:00
Omar Roth
266ec3fa03 Add error page and give video.ecr more detailed video info 2017-12-30 15:35:48 -06:00
Omar Roth
a0d34367bc Adds description, video class, wilson score... 2017-12-30 15:35:28 -06:00
Omar Roth
f7f5f91316 Adds description, video class, wilson score... 2017-12-30 15:34:51 -06:00
Omar Roth
5d48215a5f Update layout.ecr, replace navbar and add functional search 2017-12-30 15:22:55 -06:00
Omar Roth
86a8e181bf Add search 2017-12-30 15:21:43 -06:00
Omar Roth
127e140130 Add fontawesome 2017-12-30 15:20:13 -06:00
Omar Roth
764fdf42ef Add fix for args order and rename videos table 2017-12-01 07:07:10 -06:00
Omar Roth
740caf8fd9 Update shard.yml and fix postgres queries 2017-11-30 18:23:16 -06:00
Omar Roth
8d6de7deba Add primitive postgres support 2017-11-29 21:49:26 -06:00
Omar Roth
383ed8b209 Rename project 2017-11-29 18:12:23 -06:00
Omar Roth
8ee5423af6 Move views to src/ directory 2017-11-29 15:33:46 -06:00
Omar Roth
7feec0c00d Add engagement rating, rating, likes, dislikes, and form of logging (primitive but in the hope of reverse-engineering requests) 2017-11-28 19:59:51 -06:00
Omar Roth
31a3e1bb3a Add view counter, likes/dislikes, rating, and HTML parser 2017-11-23 22:06:43 -06:00
Omar Roth
26959020b7 Initial commit 2017-11-23 01:48:55 -06:00