Commit Graph

86 Commits

Author SHA1 Message Date
Fijxu
50fa7de901 Merge remote-tracking branch 'upstream/master' 2025-02-27 02:02:47 -03:00
syeopite
9fbe3944b0 Channels: Add Courses to channel page and channel API (#5158)
Closes #5144
2025-02-26 14:08:44 -08:00
syeopite
f95f87e448 Frontend: Add a first page and previous page buttons for channel navigation (#4123) 2025-02-26 13:54:25 -08:00
ChunkyProgrammer
eaf47385c5 Add Courses to channel page and channel API 2025-01-25 14:43:39 -05:00
Fijxu
3bb7924181 replace the old useless HOST_URL by env.request.headers["Host"] 2025-01-01 01:00:41 -03:00
Fijxu
9d66676f2d Use full URL in the og:image property. 2024-05-01 22:21:18 -04:00
RadoslavL
e8c2388589 Removed the purging of the query parameters 2023-10-26 11:30:12 +03:00
RadoslavL
c0d75bc52f Removed <noscript> and the user preferences option 2023-10-22 13:54:35 +03:00
RadoslavL
5cdbc184c7 Added a previous_page_button preference option and made switching between the first page and previous page buttons possible 2023-09-30 18:36:43 +03:00
RadoslavL
58bad6180f Changed first_page type to Bool 2023-09-27 19:22:34 +03:00
RadoslavL
07c52cba3d Fixed an issue with tabs 2023-09-27 15:05:17 +03:00
RadoslavL
905582db66 Added a first page button 2023-09-27 11:28:47 +03:00
Samantaz Fox
c8ade5194b UI: Nicer buttons (#3763) 2023-07-16 17:36:35 +02:00
Samantaz Fox
05cc503391 Fix lint 2023-07-15 12:57:26 +00:00
ChunkyProgrammer
f2fa3da9d2 Add support for releases and podcasts tabs 2023-07-14 16:15:20 -07:00
Samantaz Fox
7bd6d0ac49 HTML: Use the new pagination component for channel pages 2023-07-06 00:58:30 +02:00
Wes van der Vleuten
bde21d527f Fixed console error 2023-02-19 20:41:18 +01:00
Wes van der Vleuten
420e12bb8b Merge remote-tracking branch 'upstream/master' 2023-01-21 23:35:39 +01:00
Samantaz Fox
4e3a930626 frontend: Add support for the "featured channels" page 2022-12-22 16:13:35 +01:00
Samantaz Fox
b6a4de66a5 frontend: Unify the various channel pages 2022-12-22 16:13:34 +01:00
Samantaz Fox
6c9754e663 frontend: Add support for shorts and livestreams 2022-12-22 16:13:34 +01:00
Samantaz Fox
9588fcb5d1 frontend: remove paging on channel videos 2022-12-04 15:31:50 +01:00
Wes van der Vleuten
c95ee10d69 Added parital watch indicator on more locations 2022-11-08 23:18:24 +01:00
thecashewtrader
6f301db11c Remove twitter:site meta tag from channel view 2022-10-25 15:25:58 +05:30
thecashewtrader
a1e0a6b499 Add meta tags to channels 2022-10-15 19:37:47 +05:30
Samantaz Fox
f5fb4c6c64 Apply 2859.diff 2022-05-01 21:10:43 +02:00
Émilien Devos
595c3fb833 Revert "Youtube verification badge" (#3070) 2022-04-30 23:42:38 +02:00
Jonas Wunderlich
ec3e67e0d2 Wait that was too much replacing 2022-03-26 20:18:24 +01:00
Jonas Wunderlich
611e7e9dd8 Changed icon to checkmark and for verified author to checkmark-circle 2022-03-26 20:13:33 +01:00
Jonas Wunderlich
aa09bbe23d Done some refactoring 2022-03-13 20:16:30 +01:00
jonas-w
f8b29674b2 Gave them marks some space and added nil checks 2022-02-07 02:25:34 +01:00
jonas-w
c584e31657 Inlined the if statement 2022-02-03 22:14:00 +01:00
jonas-w
66340281e6 Added verification badge for channel view 2022-02-03 21:42:28 +01:00
syeopite
437bdedb07 Use env.request.resource for instance switch link 2021-10-26 16:12:25 -07:00
syeopite
66e7285108 Only use /redirect when automatically redirecting 2021-10-26 16:12:16 -07:00
mastihios
0947c26612 Fix URL-encoding in href strings (#2460)
* hrefs: replace HTML.escape w/ URI.encode_www_form

* Fix search_query_encoded
2021-10-11 05:18:20 -07:00
Samantaz Fox
56ebef4352 Multiple front-end fixes (#2247)
Fixes:
* Sanitize user-provided content in HTML (Fixes #2193)
* Fix encoding of search query in prev/next pages (Fixes #2229)
* Fix some issues introduced with #2196:
   - Fix alignment of all <h3> elements (Move the inline style from the parent to the <h3> element)
   - Add missing comma on 'dir' HTML attribute (Typo introduced by PR #2196)

Code cleaning:
* Remove unnecessary 'each_sclice' + 'each' double loop in ECR files
* Clean the player's <source> list generation code (in player.ecr)
2021-07-15 23:01:36 +02:00
Samantaz Fox
9e4fd193c6 Limit descriptions width to ease mixed LTR/RTL text reading
This will prevent, on large pages, the LTR and RTL text to be
far away, on each side of the page. This could happen on channel
and playlists descriptions, when the page is displayed on a large
screen.
2021-06-24 17:35:44 +04:30
Mostafa Ahangarha
d16a748f37 set alignment for feed link 2021-06-24 17:08:40 +04:30
syeopite
10804927bb Add channel redirect 2021-06-19 04:16:18 -07:00
saltycrys
5f03a583d1 Update code for Crystal 0.36.0
Rename `HTTPClient@socket` to `HTTPClient@io`, see
https://github.com/crystal-lang/crystal/pull/9543.

Rename `URI#full_path` to `URI#request_target`, see
https://github.com/crystal-lang/crystal/pull/10099.
2021-02-02 20:01:02 +01:00
Triplesalt
ec4a22687f Update get_about_info for polymer (iv-org/invidious#1423) (#1429)
Update get_about_info for polymer (iv-org/invidious#1423)
2020-10-23 01:40:07 +00:00
Omar Roth
f92027c44b Escape 'sort_by' 2020-03-10 11:25:32 -04:00
Omar Roth
b1fc80b79a Update sub_count extractor 2019-09-12 21:09:23 -04:00
Omar Roth
4c9975a7d9 Use accurate sub count when available 2019-08-21 18:35:54 -05:00
Omar Roth
4f120e19fd Fix overflow for channel description 2019-08-04 09:46:26 -05:00
Omar Roth
f71d5c429d Add description to channel pages 2019-07-31 19:29:16 -05:00
Omar Roth
bcd239ac2b Add community page 2019-07-09 09:31:04 -05:00
Omar Roth
196ee1aa8b Add '/api/v1/channels/comments' 2019-07-02 18:53:19 -05:00
Omar Roth
48ad744ebf Add support for default channel banners 2019-06-30 12:59:38 -05:00