aboutsummaryrefslogtreecommitdiffstats
path: root/youtube/templates
Commit message (Collapse)AuthorAgeFilesLines
* Add 'self' directive for img to CSP when proxy_images is offJames Taylor2020-10-191-1/+1
| | | | | | | | The default directive has self, but the img directive overrides that completely. Need this for local image requests such as subscriptions closes #31
* Merge branch 'master' into optional_proxy_imagesJames Taylor2020-10-124-14/+47
|\
| * Merge pull request #23 from zrose584/comments_jsJames Taylor2020-10-113-13/+45
| |\ | | | | | | add comments.js for comment replies
| | * add comments.js to /commentszrose5842020-10-101-0/+5
| | |
| | * jinja: only include 'comments.js' if neededzrose5842020-10-091-2/+4
| | |
| | * replies: remove css borderzrose5842020-10-091-3/+0
| | |
| | * add comments.jszrose5842020-10-073-12/+40
| | |
| * | autofocus search inputzrose5842020-10-071-1/+2
| |/
* | Don't remove the CSP completelyzrose5842020-10-091-3/+2
| |
* | settings.py: add 'proxy_images'zrose5842020-10-071-1/+3
|/
* Fix video height not scaling down when browser window is narrowJames Taylor2020-10-011-17/+56
| | | | | | This solution still makes sure the video doesn't jump in height when it loads, and makes it so the video scales down properly in aspect ratio as the browser window is made narrower.
* Add some space between transcript button and related videosJames Taylor2020-09-251-12/+14
|
* Specify video height in html so page doesn't shift down after loadJames Taylor2020-09-241-2/+1
| | | | | Use true video height extracted from youtube to handle videos shorter than their quality size. (e.g. widescreen videos)
* Transcript: Add label for table view checkboxJames Taylor2020-09-241-0/+1
|
* Merge pull request #15 from zrose584/transcript_tableJames Taylor2020-09-241-0/+30
|\ | | | | Transcript table
| * style transcript divzrose5842020-09-151-2/+6
| |
| * transcript-table: show transcript as contiguous text by defaultzrose5842020-09-121-0/+1
| |
| * let jinja create the transcript <details> elementzrose5842020-09-121-0/+14
| |
| * add transcript-table.jszrose5842020-09-111-0/+9
| |
| * hotkeys.js: add 'c' for transcriptzrose5842020-09-111-0/+2
| |
* | Jump video to timestamp in description or commentsJames Taylor2020-09-182-4/+8
| |
* | Add tor video routingJames Taylor2020-09-181-1/+1
|/ | | | | | | | | | Includes non-tor video routing by default, so no more chances of the browser leaking headers or user agent to googlevideo Adjust settings upgrade system to facilitate change to route_tor setting. Add some more space on settings page for dropdown settings so does not overflow due to options with long names. Closes #7
* Add setting to enable/disable video hotkeysJames Taylor2020-09-091-7/+8
|
* add hotkeys.jszrose5842020-09-091-1/+3
|
* Switch to desktop endpnt w/ new ctoken format except sort by old>1James Taylor2020-08-121-7/+0
| | | | | Sorting by old for pages > 1 currently broken on some channels; it's still using the mobile endpoint.
* Switch to mobile api endpoint to fix 'Unknown error' blockageJames Taylor2020-08-111-0/+7
| | | | See https://github.com/iv-org/invidious/issues/1319#issuecomment-671732646
* Add support for &t parameterJames Taylor2020-07-251-0/+5
|
* Playlist page: Fix error on failure to extract playlist titleJames Taylor2020-07-251-1/+1
| | | | Such as when the playlist was deleted or doesn't exist
* Add video transcript to downloadsJames Taylor2020-07-251-0/+10
| | | | Generated from the video captions
* Add dialog for copying urls to external player for livestreamsJames Taylor2020-06-281-0/+30
| | | | | Also for livestreams which are over whose other sources aren't present or aren't ready yet.
* Add option for reloading video without invidiousJames Taylor2020-05-271-1/+8
| | | | For faster usage of new identity button as an alternative
* Indicate that video is liveJames Taylor2020-05-271-0/+3
|
* Add playlist sidebar for videos in playlist, including autoplayJames Taylor2020-04-042-25/+212
|
* Change px values to rem values in font-size declarationsJames Taylor2020-02-222-2/+2
|
* Watch page: add info box with allowed countries and tor exit nodeJames Taylor2020-02-011-0/+27
| | | | Should help with debugging various content blocks
* local playlists: Display error message if no videos are selected or no ↵James Taylor2020-01-191-0/+10
| | | | | | playlist is chosen when using "add to playlist" See #4
* items: commatize channel video count and playlist video countJames Taylor2019-12-241-2/+2
|
* Channel searching: indicate if there's no resultsJames Taylor2019-12-231-1/+5
|
* Channel: Change search results to use next and previous page buttonsJames Taylor2019-12-232-30/+66
| | | | Because youtube doesn't give the number of search results, so previous behavior would give an error if a page number out of range was selected.
* Rewrite channel extraction with proper error handling and new extraction ↵James Taylor2019-12-211-2/+8
| | | | | | names. Extract subscriber_count correctly. Don't just shove english strings into info['stats']. Actually give semantic names for the stats.
* Watch: Add padding in description box and urlize linksJames Taylor2019-12-201-1/+2
|
* Watch: display comment count and whether comments are disabledJames Taylor2019-12-201-8/+17
|
* Add custom 500 error page. Display the traceback. Center and format error ↵James Taylor2019-12-201-1/+34
| | | | | | page in general. Also add a link to github for reporting the exception.
* Subscriptions: Display currently selected tag in page titleJames Taylor2019-12-201-1/+5
|
* Watch: Add border around badges such as unlisted badgeJames Taylor2019-12-201-1/+3
| | | | Especially for the light theme
* Subscriptions: Display selected tag above videos.James Taylor2019-12-201-0/+6
| | | | Otherwise, it wasn't clear enough that a tag was selected.
* Merge branch 'modular-data-extract'James Taylor2019-12-195-72/+128
|\ | | | | | | | | | | | | | | | | | | | | Commits in this branch are prefixed with "Extraction:" This branch refactors data extraction. All such functionality has been moved to the yt_data_extract module. Responses from requests are given to the module and it parses them into a consistent, more useful format. The dependency on youtube-dl has also been dropped and this functionality has been built from scratch for these reasons: (1) I've noticed youtube-dl breaks more often than invidious (which uses watch page extraction built from scratch) in response to changes from Youtube, so I'm hoping what I wrote will also be less brittle. (2) Such breakage is inconvenient because I have to manually merge the fixes since I had to make changes to youtube-dl to make it do things such as extracting related videos. (3) I have no control over error handling and request pooling with youtube-dl, since it does all the requests (these would require intrusive changes I don't want to maintain). (4) I will now be able to finally display the number of comments and whether comments are disabled without making additional requests.
| * Extraction: Adjust related videos box to fit new time_published information wellJames Taylor2019-12-191-8/+8
| | | | | | | | | | | | time_published will be put to the right of the view_count in related videos Author will now always be above the other stats, since it doesn't make a difference in the big search result boxes since the description snippet is always very short (However, it's important the author isn't inline with the other stats in related video boxes since those are so narrow and the author name can be very long)
| * Extraction: Rewrite item_extraction for better error handling and ↵James Taylor2019-12-184-44/+49
| | | | | | | | readability, rename extracted names for more consistency
| * Extraction: Fix thumbnail and remove badges on related videosJames Taylor2019-12-172-4/+10
| |