Commit Graph

871 Commits (4d4b6a2fa03b9de428a931729600c252ed801c36)

Author SHA1 Message Date
Omar Roth b6fff53b21 Refactor HTTP::Client calls into make_client 6 years ago
Omar Roth 26168a9520 Refactor CSRF tokens (using format in #473) 6 years ago
Omar Roth 3bcb98e644 Add config option to cache annotations from IA 6 years ago
Omar Roth f5dd135ed8 Add 'view as playlist' option to trending page 6 years ago
Omar Roth 9c8f85741c Fix search when keyword matches operator 6 years ago
Omar Roth 80c1ebd768 Support 'sort_by' in reddit /api/v1/comments 6 years ago
Omar Roth 9a7fea0447 Add playlist support to embedded videos 6 years ago
Omar Roth ae52ff93b2 Fix 404 for annotations endpoint 6 years ago
Omar Roth ca9ea109c6 Add id to AdaptationSets 6 years ago
Omar Roth 2a33a746f0 Remove content type from videoplayback redirects 6 years ago
Omar Roth 98295b85ab Add webm to dash manifests 6 years ago
Omar Roth af1823db8c Fix url in storyboards 6 years ago
Omar Roth a2ab6b89f1 Fix width and height in manifest 6 years ago
Omar Roth 62a4c82e95 Add storyboards and fix image caching 6 years ago
Omar Roth d522c864d4 Add dashUrl to /api/v1/videos 6 years ago
Omar Roth aa8ff7ace3 Always use ucid for channel search 6 years ago
Omar Roth 4e6a931de3 Make check_tables config option 6 years ago
Omar Roth 5e141e869d Add subtitles to download widget 6 years ago
Omar Roth e1c78fcbd3 Update view names to avoid collisions 6 years ago
Omar Roth 5dc45c35e6 Automatically migrate database 6 years ago
Omar Roth c85903383a Fix to_json for storing user preferences 6 years ago
Omar Roth 4aededf038 Add media-src blob: to CSP 6 years ago
Omar Roth 4bc6501b8d Add 'blob' to CSP 6 years ago
Omar Roth a1b3b47573 Add CSP, STS, and Referrer-Policy 6 years ago
Omar Roth c8cf4fe09c Fix subscription_ajax for Google accounts 6 years ago
Omar Roth ca07d75405 Add '--version' to command line 6 years ago
Omar Roth ea0d52c0b8 Add support for Spanish translation 6 years ago
Omar Roth 305d636217 Add multithreading to pubsub job 6 years ago
Omar Roth 5ef288b840 Add 'sort_by' to /api/v1/comments 6 years ago
Omar Roth bd4f5ebcdf Add option to configure default user preferences 6 years ago
Omar Roth ab7e1b42bd Add '/api/v1/annotations/:id' 6 years ago
Omar Roth 36c0eae7ed Add /feeds/videos.xml 6 years ago
Omar Roth 388e58bf1e Update handling for preferences 6 years ago
Omar Roth eee973fe86 Fix host in redirect 6 years ago
Omar Roth 61769c6f9c Fix local redirects in /videoplayback 6 years ago
Omar Roth 7a0f0ca5ce Fix thin mode 6 years ago
Omar Roth 63be05146d Fix expire for prefs cookie 6 years ago
Omar Roth 9239cfb3c1 Fix redirect for shortened video urls 6 years ago
Omar Roth c15790f230 Use user preferences in embedded videos 6 years ago
Omar Roth 13924a8353 Fix duplicate file extension 6 years ago
Omar Roth fd84b57ac8 Use tuples for "qualities" in API endpoints 6 years ago
Omar Roth 591a6b330a Remove 'crawl_threads', fix sleep in fibers 6 years ago
Omar Roth 0c6cede287 Format files and trim trailing whitespace 6 years ago
Omar Roth 57c05354c2 Move 'pretty=1' into middleware 6 years ago
Omar Roth fd26f9f34e Add support for premieres to search and feed 6 years ago
Omar Roth 88b70973cc Add 'premiereTimestamp' to /api/v1/videos 6 years ago
Omar Roth f0658bbd09 Add 'liveNow' to subscription feed 6 years ago
Omar Roth 6e51189d4d Expire nonce on register 6 years ago
Omar Roth f1d7aa09e4 Add fix for Google cookies with no extension 6 years ago
Omar Roth 88e6b865d9 Update contact email for text captcha 6 years ago
Omar Roth 202f3d36c4 Bake in branch, commit, version 6 years ago
Omar Roth 9091b36249 Don't require CAPTCHA for login 6 years ago
Omar Roth 2ebc773863 Add mixes to genre channels 6 years ago
Omar Roth 44f4057876 Fix issue with cookie expiration 6 years ago
Omar Roth a8c375fc95 Update copyright notice 6 years ago
Omar Roth e738e57e26 Add 'local' option to preferences 6 years ago
Omar Roth 21ebc398fa Add privacy policy 6 years ago
Omar Roth e86eb16d91 Add temporary fix for crystal-lang/crystal#7383 6 years ago
Omar Roth 1fcd1ff3e8 Add better fallback for '/videoplayback' 6 years ago
Omar Roth 58f4212aa8 Remove 'host' from query params 6 years ago
Omar Roth f01152eda1 Add 'host' to '/videoplayback' 6 years ago
Omar Roth 11ff40bcd6 Fix paths for 'local=true&raw=1' 6 years ago
Omar Roth 46e985b306 Add 'dark_mode', 'thin_mode' as query parameters 6 years ago
Omar Roth fdc014af67 Add '&local=true' to watch and embed pages 6 years ago
Omar Roth bf11a46abe Bump expire time for pubsub 6 years ago
Omar Roth c4d77bc18a Use host_url for generating thumbnails 6 years ago
Omar Roth ce528c9783 Update sorting for subscriptions 6 years ago
Omar Roth b9c7501012 Fix typo in pubsub update 6 years ago
Omar Roth ae10052aaf Fix date parsing for RSS feeds 6 years ago
Omar Roth 10abcd519f Add RSS alternate to channel and subscription pages 6 years ago
Omar Roth 7557ffcda1 Mark deleted channels in /subscription_manager 6 years ago
Omar Roth bc9d70109c Fix typo in index 6 years ago
Omar Roth b2f4a0276a Remove "lease_seconds" from pubsub response 6 years ago
Omar Roth 1435516a9c Add port number to host URL 6 years ago
Omar Roth 2a1befb41a Fix sorting for latest_only 6 years ago
Omar Roth 2840d98fd4 Fix tagging for current version 6 years ago
Omar Roth 32b9c0c840 Fix tagging for current branch 6 years ago
Omar Roth 6375a62465 Clean up handling for callback endpoint 6 years ago
Omar Roth aa63c3f70e Update formatting and default feed menu 6 years ago
Omar Roth 004fb96b2f Add nonce to pubsub token 6 years ago
Tommy Miland 732bd28c92 Update invidious.cr
Add current branch.
6 years ago
Omar Roth 7425700009 Update pubsub to support lease_seconds 6 years ago
Omar Roth 8e884fe115 Fix webhook endpoints 6 years ago
Omar Roth 64cfd2296c Add support for subscribing to channels via PubSubHubbub 6 years ago
Omar Roth 17cf0772fb Set domain to be nil by default 6 years ago
Omar Roth 66605196ad Remove "detect_language" from dependencies 6 years ago
Omar Roth 2c9b148627 Add 'playlists' tab to channel page 6 years ago
Omar Roth 03f94db5e2 Fix watch filtering from subscription feed when watch history is empty 6 years ago
Omar Roth daf8e5b8b6 Remove array from usage statistics 6 years ago
Omar Roth f0cc7a925c Add 'lastChannelRefreshedAt' to /api/v1/stats 6 years ago
Omar Roth 057e69fe70 Update User-Agent and statistics schema 6 years ago
Omar Roth 4be82c5ca6 Add /api/v1/stats 6 years ago
Omar Roth 0eaf8f38a1 Add support for Basque translation 6 years ago
Omar Roth 5859cd290c Clean up footer and add version 6 years ago
Omar Roth a39b1583da Add administrator preferences 6 years ago
Omar Roth 2fe545e19a Add content element to RSS feeds 6 years ago
Omar Roth ea52c05f05 Fix escaping for video filenames 6 years ago
Omar Roth 51df0860cc Update dependencies 6 years ago
Omar Roth e4f397d049 Fix RSS thumbnails 6 years ago
Omar Roth 0a404cc9a6 Add fix for missing param in "/videoplayback" 6 years ago
Omar Roth 17b84f32df Fix duration in /api/v1/search 6 years ago
Omar Roth b5a00f3c47 Remove duplicate information from autogenerated channel page 6 years ago
Omar Roth 09d0972ab4 Pull dash URL from player response 6 years ago
Omar Roth 6b12449be4 Show playlists for auto-generated channels 6 years ago
Omar Roth 955b36913f Add fix for spaces in content-disposition 6 years ago
Omar Roth 1692f7640c Remove JS from download widget 6 years ago
Omar Roth ebcb21dbfe Allow user to save preferences without creating an account 6 years ago
Omar Roth 85854cac77 Add support for custom channel URLs 6 years ago
Omar Roth 40073e7089 Fix sorting options for /feed/private 6 years ago
Omar Roth 83493237a5 Add support for translating time intervals 6 years ago
Omar Roth f647f7bdea Clear session ids when deleting an account 6 years ago
Omar Roth 6b61eefca7 Add support for Italian locale 6 years ago
Omar Roth f26ad00155 Add /api/v1/channels/playlists/:ucid 6 years ago
Omar Roth a210327318 Add `/api/v1/channels/latest/:ucid` 6 years ago
Omar Roth 92223dbee5 Fix channel RSS feed 6 years ago
Omar Roth 4933cd46d7 Fix sorting of subscriptions with 'latest_only' 6 years ago
Omar Roth 421ad21b40 Speed up filtering watched videos from feed 6 years ago
Omar Roth 27663b10a2 Add minor API fixes 6 years ago
Omar Roth c099a5ad2e Speed up manage_subscriptions 6 years ago
Omar Roth f02b5e8c4d Run 'crystal tool format' 6 years ago
Omar Roth f1820ffaf7 Add fix for user array 6 years ago
Omar Roth 1590393fcc Don't try to update channels in subscription manager 6 years ago
Avizini 45cdb81861 fix issues page url (#352)
* fix issues page url
6 years ago
Omar Roth 3646395f1d Store session_ids in separate table 6 years ago
Omar Roth 8bbf351d04 Fix challenge switching for Google login 6 years ago
Omar Roth 27934dad37 Add `region` to `latest_version` 6 years ago
Omar Roth 9698988be3 Filter video streams to avoid duplicates in DASH player 6 years ago
Omar Roth a7b79824de Add support for 'region' in search 6 years ago
Omar Roth d625d0ffbd Use get_video for pulling comment token 6 years ago
Omar Roth 699f85e773 Fix Google login 6 years ago
Omar Roth d0a690c303 Add CORS to API endpoints 6 years ago
Omar Roth 9989c8100a Properly escape email when creating view 6 years ago
Omar Roth c9bc081f8c Respect DEFAULT_USER_PREFERENCES in video params 6 years ago
Omar Roth fbb5df0849 Default to showing recommendations for logged out users 6 years ago
Omar Roth cef061d6fb Fix incorrect default in user preferences 6 years ago
Omar Roth c0fdc28a84 Fix colors and data-url in download widget 6 years ago
Omar Roth a9aae6b36c Add internal redirect for video URLs 6 years ago
Omar Roth 898b768b30 Fallback on ucid for channel search when author contains hyphen 6 years ago
Omar Roth ba36ab9559 Add 'pretty=1' option to API endpoints 6 years ago
Omar Roth 586c0a0579 Add error message for unavailable endpoint /api/v1/insights/:id 6 years ago
Omar Roth 1af86f6afb Add sleep to popular_videos and top_videos 6 years ago
Omar Roth 952b208a01 Add retry for /videoplaybacl 6 years ago
Omar Roth 4b60f7ddff Add logger to method calls 6 years ago
Omar Roth 0fcfb7b82b Add redirect for legacy '/profile' endpoint 6 years ago
Omar Roth af449161ff Add -o option for redirecting output 6 years ago
Omar Roth 633ecb524e Add 'fr' to list of supported locales 6 years ago
Omar Roth cf9134416c Remove unnecessary comment 6 years ago
Omar Roth 20c4d213d9 Use config.domain in place of hardcoded value 6 years ago
Omar Roth dfd17bdd88 Improve error message for 500 and add redirect for 404 6 years ago
Omar Roth 0f48d221b4 Fix hlsvp extractor 6 years ago
Omar Roth 2fdf3d24e3 Redirect to home page on empty search 6 years ago
Omar Roth 0832fa9bdb Filter paid videos from RSS and channel list 6 years ago
Omar Roth c2c224b16f Use fibers to try to speed up importing of channels 6 years ago
Omar Roth 7951d4c8aa Add length_seconds to subscription search 6 years ago
Omar Roth 6b4ea53a32 Add sleep time for update_decrypt_function 6 years ago
Omar Roth db7457f135 Add nb_NO to supported locales 6 years ago
Omar Roth f3c9566687 Fix param ordering for fetch_playlist_videos 6 years ago
Omar Roth 382a6b556d Update RSS schema 6 years ago
tor 5ca74a8dca Fixed subscription's xml feed 6 years ago
Omar Roth 0feb414a1d Add menu for selecting trending page 6 years ago
Omar Roth 1360d67c11 Show more informative error to users signing in with Google 6 years ago
Omar Roth a160c645c9 Add support for translations 6 years ago
Omar Roth d0b30ad977 Don't pass HTTP client in args 6 years ago
Omar Roth 4480e9c1ba Don't downcase UCID when searching channels 6 years ago
Omar Roth 6033e8aed1 Add related_channels to /api/v1/channels 6 years ago
Omar Roth 2dfb3e7814 Minor text changes 6 years ago
Omar Roth 19bf0ccbf0 Add /feed/top and /feed/popular 6 years ago
Omar Roth 9ce02e579d Update '/api/v1/popular' 6 years ago
Omar Roth 18bb397c7d Add '/api/v1/popular' 6 years ago
Omar Roth 3c98601f35 Add job for pulling popular videos 6 years ago
Omar Roth 26eb59e00d Add text CAPTCHA 6 years ago
Omar Roth ca4e8b800c Use absolute paths in /opensearch.xml 6 years ago
Omar Roth 941a773b7d Add opensearch.xml 6 years ago
Omar Roth 95ebfd34c5 Don't wait on server for subscription count 6 years ago
Omar Roth fd7aa59e0f Properly parse NewPipe imports 6 years ago
Omar Roth cdd916f51d Add async for manage_subscriptions 6 years ago
Omar Roth 2ce038fb7a Only show toggle watched button when relevant 6 years ago
Omar Roth 588f9b9bd6 Fix 'order' expression 6 years ago
Omar Roth 2e99642173 Add /feed/trending 6 years ago
Omar Roth aeaeacbf8d Refactor geo-bypass 6 years ago
Omar Roth 6b12f11e10 Add ability to mark videos as watched in subscription feed 6 years ago
Omar Roth 94c92b68a2 Add flat list of proxies for geo-bypass 6 years ago
Omar Roth 27488a2295 Fix invalid passing of arguments to get_video 6 years ago
Omar Roth 43961ef035 Add 'region' parameter to captions and manifest endpoints 6 years ago
Omar Roth 16964ca6ce Add 'region' parameter for bypassing region locks 6 years ago
Omar Roth 879586d7f5 Fix subscription feed for latest unseen videos 6 years ago
Omar Roth cd482cfd89 Add more informative error response on incorrect CAPTCHA 6 years ago
Omar Roth d185ba84bf Remember nonce to prevent replay attacks 6 years ago
Omar Roth c7f0a6f2e1 Create proper JSON request for Google login 6 years ago
Omar Roth 48526435ad Add CSRF token for Google accounts 6 years ago
Omar Roth bf867c3fcf Add cookie sharing with subdomains 6 years ago
Omar Roth adcefa4ffa Add 'published - reverse' option to feed 6 years ago
Omar Roth 47ed8bd13f Add channel sort to '/api/v1/channels/videos' 6 years ago
Omar Roth 44e9b4ac2a Add channel sort options 6 years ago
Omar Roth df7480bcb6 Fix comment templating when JavaScript is disabled 6 years ago
Omar Roth 4b76b93610 Add continuous playback 6 years ago
Omar Roth 7f868ecdf9 Add unminimized sources and license information 6 years ago
Omar Roth b9e2fee2c9 Fix templating for videos with 0 comments 6 years ago
Omar Roth aaf8bdb28c Disable unimplemented route 6 years ago
Omar Roth b77c73df0d Clean up data import/export 6 years ago
Omar Roth 6066615553 Update formatting 6 years ago
Omar Roth 8e6bee75e7 Add CSRF prevention for /signout 6 years ago
Omar Roth 1ea563f4f1 Add error message for fetching channel videos 6 years ago
Omar Roth c5d2a57206 Speed up importing watch history 6 years ago
Omar Roth 6ae5d489ec Add 'liveNow' to /api/v1/channels 6 years ago
Omar Roth 0a1c84ada1 Add support for partial data restore 6 years ago
Omar Roth fee3b93339 Add 'liveNow' to /api/v1/channels/videos 6 years ago
Omar Roth 1ff8579575 Check user_id as part of validating CSRF tokens 6 years ago
Omar Roth b9c29bf537 Add option for user to delete their account 6 years ago
Omar Roth f988123820 Revert "Add Origin header checks"
This reverts commit 2be240767c.
6 years ago
Omar Roth 2be240767c Add Origin header checks 6 years ago
Omar Roth 570e09333a Add error message for empty 'v' param 6 years ago
Omar Roth 9e022f3b04 Add redirect for empty 'v' param 6 years ago
Omar Roth 4f856dd898 Add support for Crystal 0.27.0 6 years ago
Omar Roth c912e63fb5 Only check invalid size passwords on register 6 years ago
Omar Roth 7e558c5b1d Add error messages for invalid password sizes 6 years ago
Omar Roth c92f6e44e7 Update keywords and view_count 6 years ago
Omar Roth 19516eaa25 Add option to view comments with JS disabled 6 years ago
Omar Roth 468e6b1c27 Fix mix continuation 6 years ago
Omar Roth e39dec9778 Add option to listen by default 6 years ago
Omar Roth ceff2763a5 Update error messages for /api/v1/channels 6 years ago
Omar Roth 1cfa1f6559 Add 'paid' and 'premium' flags to API 6 years ago
Omar Roth e46e6183ae Fix proxying for videos 6 years ago
Omar Roth b49623f90f Revert "Attempt to bypass channel region locks"
This reverts commit 95c6747a3e.
6 years ago
Omar Roth 95c6747a3e Attempt to bypass channel region locks 6 years ago
Omar Roth 245d0b571f Add next page for channels with geo-blocked videos 6 years ago
Omar Roth f88697541c Add author_thumbnail to '/api/v1/videos' 6 years ago
Omar Roth 1a39faee75 Add subCountText and add XHR alternative for subscribing to channels 6 years ago
Omar Roth ccc423f682 Fix 'latest only' feed 6 years ago
Omar Roth bcc8ba73bf Fix update_feeds job 6 years ago
Omar Roth 35e63fa3f5 Use materialized views for subscription feeds 6 years ago
Omar Roth e2c15468e0 Make usernames case-insensitive 6 years ago
Omar Roth 88430a6fc0 Add playlist playback support 6 years ago
Omar Roth 80bc29f3cd Add basic handling for (almost) valid video URLs 6 years ago
Omar Roth 6f9056fd84 Add extra handling for shortened video URLs 6 years ago
Omar Roth 3733fe8272 Redirect mixes 6 years ago
Omar Roth dc358fc7e5 Don't add channels if they've been deleted 6 years ago
Omar Roth e14f2f2750 Prevent duplicate subscriptions when importing user data 6 years ago
Omar Roth 3830604e42 Try to speed up find_working_proxies 6 years ago
Omar Roth f83e9e6eb9 Add config option for geo-bypass 6 years ago
Omar Roth d418f50576 Make geo-bypass more robust 6 years ago
Omar Roth 8c04768ef8 Add support for geo-bypass in '/videoplayback' 6 years ago
Omar Roth a718d5543d Add 'lang' and 'tlang' to '/api/v1/captions' 6 years ago
Omar Roth 20130db556 Add mixes 6 years ago
Omar Roth 29a6291957 Show info instead of empty playlist when possible 6 years ago
Omar Roth f99b2cdf01 Add support for proxying comments 6 years ago
Omar Roth 5d7bd9af0f Add host language for comments 6 years ago
Omar Roth 3e3de1890a Overhaul geo-bypass 6 years ago
Omar Roth 5b5d69a33b Add host language to YouTube requests 6 years ago
Omar Roth 74b285d0f7 Add author thumbnails to playlist endpoint 6 years ago