This repository has been archived by the owner on Nov 27, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was
linked to
issues
May 22, 2024
|
as its mostly the same in multiple places, this should reduce the amount of repeated code
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 <inftord@inftord.tech>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
API
Issues related to the LightTube API
enhancement
New feature or request
frontend
Issues related to the HTML + CSS part of the site
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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