Commit Graph

387 Commits

Author SHA1 Message Date
Omar Roth
b3d5d41496 Update '/api/v1/trending' to match documentation 2018-08-05 12:32:14 -05:00
Omar Roth
626aed2d07 Update API to match documented schema 2018-08-05 12:18:14 -05:00
Omar Roth
b9315bc534 Major cleanup 2018-08-04 23:14:57 -05:00
Omar Roth
5d4198c700 Acknowledge precedence for listen operator 2018-08-04 20:39:02 -05:00
Omar Roth
3b01bc6735 Add support for 'listen=1' 2018-08-04 20:27:53 -05:00
Omar Roth
738e1a5415 Fix issue with video having zero views 2018-08-04 20:08:22 -05:00
Omar Roth
e7cad23bb9 Try to redirect invalid video IDs 2018-08-04 17:19:55 -05:00
Omar Roth
3ada6a9234 Add filters to '/api/v1/search' endpoint 2018-08-04 17:19:55 -05:00
Omar Roth
90d661e4a7 Split helpers.cr into multiple files 2018-08-04 15:30:44 -05:00
Omar Roth
9ed72a8dad Fix signature decryption for videos that don't have 'adaptive_fmts' 2018-08-04 12:25:13 -05:00
Omar Roth
d7ed7b90be Fix Reddit comments and add links to author channels/profiles 2018-08-04 11:04:13 -05:00
Omar Roth
b3cad0355b Add fix for vdieo thumbnails where video is not HD 2018-08-04 09:50:24 -05:00
Omar Roth
272e798f5c Use maxresdefault for thumbnail 2018-08-03 14:55:04 -05:00
Omar Roth
f249192ebb Add redirect for '/channels/:ucid/videos' 2018-08-02 17:18:57 -05:00
Omar Roth
a12690cbfd Add captions to embedded videos 2018-08-02 17:08:33 -05:00
Omar Roth
42405a34f1 Add proper redirect links and add support for timestamps 2018-08-02 16:30:45 -05:00
Omar Roth
ea8aaf3145 Add support for user name in place of :ucid 2018-08-01 10:44:02 -05:00
Omar Roth
fcb4f4cddb Add '/api/v1/search' 2018-08-01 00:01:01 -05:00
Omar Roth
1967c5b403 Miscellaneous bug fixes 2018-07-31 23:56:17 -05:00
Omar Roth
51903462ef
Merge pull request #53 from omarroth/notifications-only
Add option to view only notifications
2018-07-31 21:34:57 -05:00
Omar Roth
b5bbf1b9f2 Add share button 2018-07-31 14:05:42 -05:00
Omar Roth
e1391f4ac7 Use videojs-markers for start end end times 2018-07-31 13:19:38 -05:00
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
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
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
f7a5ce2652 Don't try to update all channel videos 2018-07-26 16:23:55 -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
0fba601e91 Fix crash in video crawler 2018-07-26 08:41:23 -05:00
Omar Roth
55167724b1 Add fix for unsupported authentication protocols 2018-07-24 17:55:58 -05:00
Omar Roth
115a815528 Add `/videos/:id' 2018-07-23 15:09:11 -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
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
56e35def8a Add 'autoplay' and 'loop' query params to watch page 2018-07-20 15:14:15 -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
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
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
7119395045 Refresh account for subscription feed and manager 2018-07-17 08:19:45 -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
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
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
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
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