Commit Graph

771 Commits

Author SHA1 Message Date
Fijxu
448007e5ba Tokens: Server side generated tokens.
#18
2024-10-17 23:44:30 -03:00
Fijxu
8dc0a67be3 Feat: User supplied po_token and visitor_data 2024-10-11 16:50:21 -03:00
Fijxu
2f5a555ea7 Merge remote-tracking branch 'upstream/master' 2024-10-08 19:22:53 -03:00
Fijxu
dc2aba106c Backends: Use backend switcher to indicate the current backend in use. 2024-10-08 18:59:01 -03:00
Fijxu
33ffafb9e3 Feat: backend supports with cookies 2024-10-08 16:54:18 -03:00
Samantaz Fox
82ac9a8609 Preferences: Add option to control preloading of video data (#4122)
This PR adds a configuration option to control the preloading of video data on
page load with the HTML5 'preload'[1] attribute on the `<video>` element.

The option is enabled by default, meaning that the `preload` attribute's value
will be 'auto'. If users want to prevent preloading of video data, they
can disable the option, which will set the attribute value to 'none'.

[1](https://www.w3schools.com/tags/att_video_preload.asp)

Closes issue 4110
2024-10-08 17:38:06 +02:00
Fijxu
5ced7694fe Merge remote-tracking branch 'upstream/master' 2024-08-24 15:56:36 -04:00
Samantaz Fox
da70c9b7b0 Ameba: Miscellaneous fixes (#4807)
End of a series of PRs meant to improve code quality.

Related to issue 2231
2024-08-24 19:42:10 +02:00
Samantaz Fox
febf18cbf7 UI: Add search button to search bar (#4706)
Closes issue 529
2024-08-24 19:38:48 +02:00
syeopite
f66068976e Ameba: Fix Naming/PredicateName 2024-08-21 02:43:08 -07:00
Fijxu
2f8ef155c8 Merge remote-tracking branch 'upstream/master' 2024-08-13 15:30:54 -04:00
Samantaz Fox
80ffc442f2 HTML: Add rel="noreferrer noopener" to external links (#4667)
Note: Does not add rel="noreferrer noopener" to:
 * links in channel description
 * links in video descriptions
 * links in video comments

Related to issue 4267
2024-08-11 13:35:57 +02:00
Fijxu
ddfb8e7d93 Views: Add "Watch on Materialious" link on videos. 2024-07-21 13:01:00 -04:00
Fijxu
067dcbef5e Options for donation and contact links 2024-07-21 13:00:27 -04:00
sf.nadeko.net ~root
d1051efd6e Add History feed menu 2024-07-21 13:00:26 -04:00
Fijxu
03bf4592ce Add history tab in feed menu 2024-07-21 13:00:26 -04:00
sf.nadeko.net ~root
65d9468911 Add some links and change some things in the CSS 2024-07-21 13:00:25 -04:00
syeopite
7e680c692f Remove preferences and login link from footer 2024-07-21 13:00:25 -04:00
syeopite
1eb28edfb3 Add modified disclaimer to version tag 2024-07-21 13:00:25 -04:00
syeopite
780f9df7d3 Add config option for instance donation link
Co-authored-by: Arya K <arya@projectsegfau.lt>
2024-07-21 13:00:24 -04:00
syeopite
4d11c324b0 Add "Instance" section to footer 2024-07-21 13:00:24 -04:00
syeopite
57f8bfb965 Add config to add custom text in the footer
Co-authored-by: Aural Glow <125497673+auralglow@users.noreply.github.com>
2024-07-21 13:00:24 -04:00
syeopite
9d0ab0a83c Add Invidious version to footer 2024-07-21 13:00:24 -04:00
syeopite
4164159057 Use instances.invidious.io instead of redirect
Co-authored-by: TheFrenchGhosty <47571719+TheFrenchGhosty@users.noreply.github.com>
2024-07-21 13:00:24 -04:00
syeopite
e98aafa4b5 Extract and implement footer overhaul from #2215 2024-07-21 13:00:24 -04:00
Samantaz Fox
8b1da2001e Preferences: Fix handling of modified source code URL(#4437)
Before this PR, setting the modified code repo URL through the preferences
page in Invidious was broken:

* the HTML input tag for this field had invalid type "input"
  (though browser falls back on text input)

* the URL was used to set the "checked" property and not as a plain value,
  which makes no sense for a text-based input (and resulted in a blank field)

* when the submitted field is empty, the retrieved value was an empty 'String'
  instead of 'nil', causing the "modified source code URL" to be an empty
  'href' link which just pointed to the current page

No associated open issue
2024-07-21 17:23:48 +02:00
thansk
1ce2d10c50 fix: use ion icon for search icon 2024-05-20 14:17:30 +00:00
thansk
5abafb8296 fix: use a search icon instead of text 2024-05-20 11:49:56 +00:00
thansk
9cd2e93a2e feat: allow submitting search with mouse 2024-05-19 11:46:55 +00:00
ulmemxpoc
c4fec89a9b Apply suggestions from code review 2024-05-10 11:23:11 -07:00
Fijxu
9d66676f2d Use full URL in the og:image property. 2024-05-01 22:21:18 -04:00
ulmemxpoc
f696f96824 Add rel="noreferrer noopener" to external links 2024-04-30 03:40:19 +00:00
nooptek
499aed37dd Fix handling of modified source code URL setting 2024-03-10 17:51:29 +01:00
Samantaz Fox
e0ce59d3e8 Channels: Add support for multi-image community posts (#4412)
This PR adds a CSS-only image carousel for community posts with more than
one image attached.

Closes issue 3522
2024-02-19 00:16:17 +01:00
Samantaz Fox
c5a3112e49 CSS: expand #contents width on small screens (#4405)
The #contents div now takes the full width on small screens (< 1280px).
All page elements have a little more room, especially the video titles.
2024-02-19 00:16:17 +01:00
ChunkyProgrammer
ef6b766b29 Add support for multi image community posts 2024-02-15 21:45:21 -05:00
Samantaz Fox
f32764c840 HTML: Preserve playlist in "Watch on YouTube" link (#4342)
It seems that at some point, Youtube changed the URL parameter from `plid`
to `list` and we didn't notice. This fixes that.

Closes #3929
2024-02-12 22:23:44 +01:00
Samantaz Fox
d30dae43fe HTML: Add title to toggle theme icon (#4320) 2024-02-12 22:20:14 +01:00
toabr
4a339df5c4 CSS: expand #contents width on small screens 2024-01-27 00:38:47 +01:00
guidiasz
87a8207f37 fix: "Watch on YouTube" preserve current playlist 2023-12-18 13:23:55 -03:00
ChunkyProgrammer
fe8b1b4cc4 Add title to toggle theme icon 2023-12-07 11:43:56 -05:00
ChunkyProgrammer
f1edb1d6bf fix related video author when id is empty 2023-12-07 09:39:33 -05:00
Chunky programmer
b5f8b4542a Search: Don't error if AuthorId does not exist 2023-12-07 09:39:33 -05:00
Samantaz Fox
2414e7db41 User: Add support for importing Youtube watch history (#4171) 2023-10-21 18:33:05 +02:00
Samantaz Fox
2a65b5f52e Frontend: Add video timestamp on external links (#4101) 2023-10-21 18:31:42 +02:00
Ulysses Zhan
b9cbdce976 add: importing watch history from YouTube 2023-10-14 15:49:33 -07:00
Samantaz Fox
60fae015d8 Add support for community post page/comments (#4010) 2023-10-07 19:58:54 +02:00
ChunkyProgrammer
f77e4378fe Add support for viewing comments without js
Improve stylings
2023-09-28 18:09:45 -04:00
Thomas Lange
824cc1a5aa Don't redefine the "preload" option in player.js
If the HTML5 "<video>" element defines the "preload" attribute directly,
it isn't necessary to redefine the "preload" option in the player.js.
2023-09-27 15:36:40 +02:00
Thomas Lange
bf470704a5 Add option to control preloading of video data
Fix #4110 by adding an option to control the preloading of video data on
page load. If disabled ("false"), the browser will not preload any video
data until the user explicitly hits the "Play" button.

If enabled ("true"), the default behavior will be used, which means the
browser decides how much of the video will be preloaded.
2023-09-26 22:21:12 +02:00