Commit Graph

205 Commits (2ea986326d1a64c294025b79088032f3c77e8320)

Author SHA1 Message Date
Émilien Devos 2ea986326d
Bump videojs to 7.12.1 (#3011) 2 years ago
Samantaz Fox fe057c7873
Make a function that builds the download widget's HTML 2 years ago
Samantaz Fox ba37259258
Also propagate changes to watch ECR page 2 years ago
Samantaz Fox 5bb2cb7d71
i18n: Use plurals for video/view/subscriber/subscription counts 2 years ago
Samantaz Fox 3bb7fbb2f1
Merge pull request #2719 from SamantazFox/batch-minor-fixes
Multiple minor fixes
2 years ago
Samantaz Fox 6c8a5a1e7f
Fix leading spaces being collapsed in descriptions
Fixes #1954
2 years ago
Samantaz Fox 1769b0fdce
Fix "video can't be added to playlist without JS"
Fixes #2686
2 years ago
Samantaz Fox 85cf27119c
Move DB queries related to playlists in a separate module (3/3) 2 years ago
Samantaz Fox f29ab53aff
Add other missing translations
* on watch page and video cards (search results, playlists, etc...)
* on /feed/playlists
* in search filters (not normalized in order to avoid collisions with
an existing PR that reworks the search filters)
3 years ago
babababag fd54cf2d05
Escape video description 3 years ago
syeopite 437bdedb07
Use env.request.resource for instance switch link 3 years ago
syeopite 66e7285108
Only use /redirect when automatically redirecting 3 years ago
Samantaz Fox b555df8377
Merge pull request #2428 from syeopite/ameba-fixes
Fix (some) issues detected by Ameba
3 years ago
Samantaz Fox 88752f32bd
Normalize translation key for user prefrerences
preferences normalized:
 - annotations
 - annotations_subscribed
 - automatic_instance_redirect
 - autoplay
 - captions
 - comments
 - continue
 - continue_autoplay
 - dark_mode
 - default_home
 - extend_desc
 - feed_menu
 - listen
 - local
 - locale
 - max_results
 - notifications_only
 - player_style
 - quality
 - quality_dash
 - related_videos
 - show_nick
 - sort
 - speed
 - thin_mode
 - unseen_only
 - video_loop
 - volume
 - vr_mode
3 years ago
syeopite 35d15c7c2b
Fix Style/VariableNames issues 3 years ago
syeopite 585e4617e8
Lazy load (some) images 3 years ago
syeopite 50c8afb525
Handle equirectangular projections for VR (#2379) 3 years ago
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)
3 years ago
syeopite 3e5c353298
Merge pull request #2205 from syeopite/fix-age-restricted-videos
Partial (and temporary) fix for age restricted videos
3 years ago
syeopite 54b19a04bb
Fix caption parsing on age restricted videos 3 years ago
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.
3 years ago
Cadence Ember 7ec93825b6 Change description-box from flex to block
I also make minor changes to the surroundings so that the same layout
and functionality as before is preserved.
3 years ago
syeopite f178297452
Generalize redirect route 3 years ago
syeopite 008598b56f
Change wording of redirect hyperlink 3 years ago
syeopite f3bc55e37e
Expose instance redirect to frontend 3 years ago
syeopite df0cd30236
Add support for VR videos through videojs-vr 3 years ago
syeopite 50ba3c5d5c
Remove unused class attr on label 3 years ago
syeopite 65663fb857
Update code to reflect 'read more' btn name change 3 years ago
syeopite 8df2f38d34
Change wording of 'read more/less' & add to locale 3 years ago
syeopite c5fae84263
Add functionality to read more button 3 years ago
sh4dowb 533d0a1fd4
Added "Read More" button for video descriptions 3 years ago
Andrew Zhao 295e5c9731 show how long ago stream started 3 years ago
Perflyst ec82c1f957
Merge pull request #1730 from notpushkin/patch-1
Add link[rel="alternate"] pointing to YouTube version
3 years ago
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.
3 years ago
Alexander Pushkov e7ada61881
Add link[rel="alternate"] pointing to YouTube version 3 years ago
saltycrys d42539949e Add YT embed link to watch page 4 years ago
saltycrys 30c92ce1b7 Add embed link to watch page 4 years ago
Omar Roth 1eca969cf6
Add support for polymer redesign 4 years ago
Omar Roth c1cbdae5ee
Make HOST_URL constant 4 years ago
Dmitry Sandalov 338dc3223c
Merge pull request #1182 from DmitrySandalov/master
Allow user to subscribe to playlist (#17)
4 years ago
mendel5 80941eacbd
More consistent HTML IDs for info section (#1156)
* More consistent IDs for info section

More consistent IDs for info section: watch-on-youtube, annotations and download

* Consistent IDs: channel-name

* Consistent IDs: published-date

The term "published" can also be found in the answer for the following YouTube API request: https://developers.google.com/youtube/v3/docs/videos/list
4 years ago
Dmitry Sandalov 5d8de5fde2
Allow user to subscribe to playlist (#17) 4 years ago
mendel5 9d23cf33fd
Consistent IDs for info section (#1133) 4 years ago
Omar Roth 408f3852ec
Hide playlist widget when user has no playlists 4 years ago
Omar Roth 3f97bebd69
Support adding video to playlist from watch page 4 years ago
Omar Roth 3b2e142542
Fix JSON serialization 4 years ago
leonklingele 70cbe91776
Migrate to a good Content Security Policy (#1023)
So attacks such as XSS (see [0]) will no longer be of an issue.

[0]: https://github.com/omarroth/invidious/issues/1022
4 years ago
sh4dowb 79da61782b
Fixed double quotes in meta description 5 years ago
Omar Roth be055d9dcb
Add support for custom playlists 5 years ago
leonklingele 1aefc5b540 Update to Crystal 0.31.0, resolve compiler deprecation warnings, update dependencies (#764)
* shard: update to crystal 0.31.0

Additionally, no longer use the Crystal "markdown" library which has
been removed from the Crystal stdlib in version 0.31.0.
See https://github.com/crystal-lang/crystal/pull/8115.

Also fix some deprecation warnings using the following commands:

    find . \( -type d -name .git -prune \) -o -type f -exec sed -i 's/URI\.escape/URI\.encode_www_form/g' "{}" \;
    find . \( -type d -name .git -prune \) -o -type f -exec sed -i 's/URI\.unescape/URI\.decode_www_form/g' "{}" \;
    sed -i 's/while \%pull\.kind \!\= \:end_object/until \%pull\.kind\.end_object\?/g' src/invidious/helpers/patch_mapping.cr
5 years ago