Commit graph

4901 commits

Author SHA1 Message Date
ChunkyProgrammer 8781520b8a Search: Parse channel handle and hide video count when channel handle exists
Co-Authored-By: Samantaz Fox <coding@samantaz.fr>
2023-09-18 20:12:07 -04:00
ChunkyProgrammer bb04bcc42c Apply suggestions from code review
add videoId to resolve_url function

Co-Authored-By: Samantaz Fox <coding@samantaz.fr>
2023-09-18 20:10:41 -04:00
ChunkyProgrammer f55b96a53b Always craft Community Post params 2023-09-18 20:10:41 -04:00
ChunkyProgrammer 734f1b7764 Simplify resolveUrl api call
Co-Authored-By: Samantaz Fox <coding@samantaz.fr>
2023-09-18 20:10:41 -04:00
ChunkyProgrammer e3c365f3d6 Add support for post page 2023-09-18 20:10:41 -04:00
Samantaz Fox bb14f79496
Playlists: Use subtitle when author is missing (#4025) 2023-09-18 23:34:30 +02:00
Samantaz Fox bf35200207
Bump stale timer for PRs (#4107) 2023-09-18 23:33:34 +02:00
Samantaz Fox 98ff03a926
CI: Update crystal version matrix (#4095) 2023-09-18 23:32:42 +02:00
Samantaz Fox 842e9fade5
Captions: Add ability to use Innertube's transcripts API (#4001) 2023-09-18 23:31:56 +02:00
RadoslavL 270d606ad8 Changed the default dark theme as well 2023-09-18 08:14:34 +03:00
Samantaz Fox 700c57559b
JS: Replace '.setAttribute("href")' with '.href'
Co-authored-by: syeopite <70992037+syeopite@users.noreply.github.com>
2023-09-17 10:21:11 +00:00
syeopite 760bf4cfb3
Bump stale timer for PRs 2023-09-16 23:22:49 +00:00
Samantaz Fox bbf067ed55
Bump crystal-install too 2023-09-16 11:55:45 +02:00
Samantaz Fox 33ce0ddf14
Update crystal version matrix in ci.yml 2023-09-16 11:55:42 +02:00
Émilien (perso) cc03610325
Test crystal 1.8.2 2023-09-16 09:10:48 +00:00
Samantaz Fox ebee973b24
Routes: Redirect unknown channel tabs to channel home page 2023-09-16 00:54:14 +02:00
Samantaz Fox 06b2a4ba9d
Frontend: Use 'timeupdate' event listener rather than setTimeout() 2023-09-16 00:41:46 +02:00
Samantaz Fox 58f4a012b7
Frontend: Add timestamp on switch invidious instance links 2023-09-14 22:28:07 +02:00
Samantaz Fox 2456b62936
Frontend: Add timestamp on invidious embed links 2023-09-14 22:27:36 +02:00
Samantaz Fox 792a999386
Frontend: Add timestamp on youtube+embed links 2023-09-14 22:26:36 +02:00
RadoslavL beec62cf0e Increased link contrast in dark mode 2023-09-14 20:37:35 +03:00
Samantaz Fox 2425c47882
Routing: Add support for the '/live/<id>' route 2023-09-13 23:41:31 +02:00
Samantaz Fox 49b9316b9f
Routing: Handle current and future routes more nicely 2023-09-13 23:40:20 +02:00
ChunkyProgrammer afb04c3bda HTMLl.Escape the playlist subtitle 2023-09-11 22:35:58 -04:00
ChunkyProgrammer d7696574f4 Playlist: Use subtitle when author is missing 2023-09-11 22:35:57 -04:00
syeopite eabcea6f4a
Remove trailing whitespace in config documentation
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2023-08-29 06:18:35 +00:00
Ming Kin Choi 27d8fa112d
Fix iOS screen timeout on video playback loop mode (more elegantly) 2023-08-27 14:11:45 +08:00
Ming Kin Choi 2a092577c6
Fix iOS screen timeout on video playback loop mode 2023-08-27 12:50:36 +08:00
Samantaz Fox ac0c0609bb
Add workaround for storyboards on local instances (#4040) 2023-08-26 12:15:04 +02:00
Samantaz Fox 7e84d07c27
Playlist import no refresh (#3973) 2023-08-26 12:12:42 +02:00
Samantaz Fox a8295b452e
Search: Add hashtag result (#3989) 2023-08-26 12:11:38 +02:00
Samantaz Fox 95176a8eb4
Translations update from Hosted Weblate (#3977) 2023-08-26 12:11:02 +02:00
Samantaz Fox 1377f2ce7d
Revert broken i18next v3 changes made by weblate 2023-08-25 08:24:25 +02:00
syeopite 3615bb0e62
Update src/invidious/videos/caption.cr
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2023-08-24 16:21:05 -07:00
syeopite 7d435f082b
Update src/invidious/videos/transcript.cr
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
2023-08-24 23:20:20 +00:00
syeopite 1f7592e599
Refactor structure of caption.cr
Rename CaptionsMetadata to Metadata
Nest Metadata under Captions
Unnest LANGUAGES constant from Metadata to main Captions module
2023-08-24 16:00:02 -07:00
Snwglb 23b19c80b3
Update Hindi translation 2023-08-21 02:56:21 +02:00
Ettore Atalan 387f057a96
Update German translation 2023-08-21 02:56:21 +02:00
Snwglb ce44cb9421
Update Hindi translation 2023-08-19 10:08:18 +02:00
Petter Reinholdtsen de2ea47854
Update Norwegian Bokmål translation 2023-08-14 14:52:54 +02:00
Noa Laznik 4b85890c6d
Update Slovenian translation 2023-08-12 04:53:16 +02:00
Ati 37f1a6aacf
Update Slovak translation 2023-08-10 21:53:28 +02:00
Milan Šalka c089d57cdb
Update Slovak translation 2023-08-10 21:53:28 +02:00
syeopite 2b36d3b419
Update errors.cr 2023-08-10 18:45:10 +00:00
syeopite 6b17bb5250
Regression from #4037 | Fix storyboards
PR #4037 introduced a workaround around YouTube's new integrity checks
on streaming URLs. However, the usage of this workaround prevents
storyboard data from being returned by InnerTube.

This commit fixes that by only using the workaround when calling try_fetch_streaming_data
2023-08-08 15:28:01 -07:00
syeopite a81c0f329c
Add workaround for storyboards on priv. instances
An upstream problem with videojs-vtt-thumbnails means that URLs gets
joined incorrectly on any instance where `domain`, `external_port` and
`https_only` aren't set.

This commit adds some logic with the 404 handler to mitigate this
problem. This is however only a workaround.

See:
https://github.com/iv-org/invidious/issues/3117
https://github.com/chrisboustead/videojs-vtt-thumbnails/issues/31
2023-08-08 15:13:23 -07:00
Damjan Gerl 709bb7281b
Update Slovenian translation 2023-08-07 21:29:48 +02:00
Leonardo Colman 3123478cb2
Update Portuguese translation 2023-08-07 21:29:48 +02:00
Hoang Minh Pham ebb69ee4fd
Update Vietnamese translation 2023-08-07 21:29:48 +02:00
Leonardo Colman 00ac29a2ba
Update Portuguese (Brazil) translation 2023-08-07 21:29:48 +02:00