Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InnerTube v2 update #153

Merged
merged 131 commits into from
Aug 6, 2024
Merged

InnerTube v2 update #153

merged 131 commits into from
Aug 6, 2024

Conversation

kuylar
Copy link
Member

@kuylar kuylar commented May 22, 2024

Details

Update InnerTube to v2. Since this is a big PR, it will stay in nightly for a while in https://tube-nightly.kuylar.dev, so we can make sure everything works (& update the projects that utilize the API) before releasing it

Related issues/PRs

Fixes #131 #150 #151

Changes proposed

  • Way too much to put here

@kuylar kuylar changed the base branch from master to v3dev May 22, 2024 08:23
@kuylar kuylar added this to the v3 Rewrite/Update release milestone May 22, 2024
@kuylar kuylar added enhancement New feature or request frontend Issues related to the HTML + CSS part of the site API Issues related to the LightTube API labels May 22, 2024
@InFTord
Copy link
Contributor

InFTord commented May 22, 2024

:shipit:

@kuylar kuylar merged commit ca11d15 into lighttube-org:v3dev Aug 6, 2024
github-merge-queue bot pushed a commit that referenced this pull request Aug 11, 2024
* Make configs better (#129)

* Update /api/info to be more extensible
* Parse configs at startup
* Make the error page respect user's theme
* Delete obsolete code
* Bump API version
* Formatting, and change how LIGHTTUBE_MOTD works
* Implement the alert in the page layout

* CSS updates (#130)

* Fut fixes scroll-to-refresh in mobile
* Update channel pages
* Change how the player sizes itself
* Fix channel header not being centered
* Make YTShorts thumbnails not stretch

* Update the project to .NET 8 (#139)

* .NET 8, part 2 (#141)

* :catresort:
* add primary constructors
* fix ASP0015
* collection init can be simplified fixed
* new expression can be simplified, yes
* wtf is this lmao
* more collections
* death
* more changes that im lazy to describe!

* my child will not create merge conflicts! (#146)

* Localization (#143)

* Localization support
* Add a file for the default localizations
* Make everything use translation keys
* Default to the interface language for LightTube
* Make InnerTube use the language's setting by default
* Add a language switcher setting
* Use the correct version of humanizer to support all languages

* InnerTube v2 update (#153)

* Update InnerTube

* Fix errors and warnings in Utils and Database classes

* Add a GetLocals method since the new InnerTube doesn't have it

* Fix errors in API endpoints

* fix this error i caused

* Fix the errors in the contexts

* Implement recommendations endpoint

* Fix empty ctor excuses

* Reimplement autocomplete

* Fix some API stuff

* Fix contexts

* Fix all controllers except YoutubeController.cs

* Update YoutubeController.cs

* Fix all views

* Disable authorization

* Implement some renderers for the search view

* Move renderer cshtml files to their own directory

* Move ContainerRenderer to its own file

as its mostly the same in multiple places, this should reduce the amount of repeated code

* forgot to update these two

* small css fixes

* Implement the renderers for the watch page

* kuylar vs. her own code, round 2

* New badges!

* Playlist first video IDs

* Shelf titles

* changed like 2 stuff

* Fix playlists

* Round 3

* Round... 4?

* Channel avatars

* idrk why that exploded

* Fix the player box aspect ratio

* Update null renderers

* posts in search

* Implement search chips

* hate css

* Round 5!

* Fix authentication

* Fix namespaces

* Add parserLanguage to where its needed

* Fix the like counter

* Fix ToKMB

* Implement ResolveUrl where needed

* Update the channel header

* Round 6

* Implement the featured tab of the channel

* Implement the shorts tab in channel

* Implement the community tab

* Finish all channel tabs

* fix Utils.cs

* Update LTPlayer

* Fix the custom CSS

* Fix the player returning the wrong video URLs

* Fix the issues in the player

* Fix the wrongly called subscribe button

* Fix search chips

* fix the ugly filters button

* fix the player overflowing sideways on mobile

* Clamp player aspect ratios

* Add a message if only format 18 is available

* Fix the non-JS player overflowing to the side

* Fix nullref in mixes

* Make the mobile comment panel scrollable

* Make the comments not overscroll to the recommendations

* Fix mobile guide z-index

* Add a redirect for /{videoId}

* Fix trailers

* Round- wait we skipped 7? whatever Round 8

* Add UI for trailers

* Fix the HLS manifest url validity checker

* Fix chips

* Fix broken if statements (two of them)

* Fix community posts

* hey look - a place to get a nullreferenceexception!

* Add a small thing

* Remove unused file

* Add the about tab to channels

* Fix the max-lines property

* Make the tagline always max out at a single line. Also make it a normal text instead of a hyperlink to /about

* Fix community posts in search results

* Fix localization in channel posts

* Implement search sidebars

* Final round, if no other bugs come up

* Implement exception renderers

* Make the subscription feed API use renderercontainers

* Add a null check to the playlist panel

* Fix nullrefs in video caching

* Fix nullable ints in the database exploding the playlists

* Fix video player obstructing other elements

* Fix broken html tags in video titles

* Add localization to the premiere trailer text

* Add a &page param to search endpoints

* Make stats in channel about page wider

* Fix playlists

* Fix wrong hyperlinks

* Add editable to PlaylistVideoRendererData

* Fix the avatar in the video player

* Fix titles turning into 6px line of dots and dashes

Even though LTv3 has localization, it won't support morse code

* Remove underline from channel tagline

* RecognitionShelfRenderer

* Update InnerTube for bug fixes

* but we stay silly

* Add movieRenderer

* API: Serialize enums to strings

* API: Make the UserData folllow the rest of the naming scheme

* That breaks the entire program and wipes the database clean. Use JsonProperty instead

* API: Add editable field to playlists

* API: Fix all the nullrefs in the playlist endpoint

* API: Add exact publish date to the subscription feed videos

* Make sure the search page doesnt explode when the sidebar throws an exception

* Fix the trailer screen eating all the mouse events

* Make it so videos without valid HLS manifests has UseHls = false

* Fix the comment headers

* Make the version have the major version in it

* Fix wrong renderer name

* Fix nullref in /api/playlist with LT playlists

* Add video player error messages to the channel page

* Fix messagerenderer in playlist sidebar

* Implement all sidebars

* Add query corrector

* guess whos stupid

* Fix playlist APIs

* Fix channel continuation API

* Bump InnerTube

* Fix MPD manifests

* Fix the whole video page crashing if there are no storyboards

* yea

* Delete the nojs quality switcher as YouTube now only provides itag 18

* Add the new shelf renderer

* Fix the promoted video player

* Fix the age restriction button

* [V3] Final Frontend Fixes (#160)

* Fix wrong translation value in /settings/account

* Fix the search chip color

* implement adblock

* Update README (#159)

* Update screenshots

* Update README.md

* Replace the instance list with notes to move to the new list

* jesus christ how old is this file i should remove this

* Outdated comments

* Linking to the old repository

* While I'm at it, close this PR

* README update again

---------

Co-authored-by: InF <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Issues related to the LightTube API enhancement New feature or request frontend Issues related to the HTML + CSS part of the site
Projects
None yet
2 participants