1
0
mirror of https://github.com/TeamPiped/Piped.git synced 2024-12-16 23:30:27 +05:30
Commit Graph

391 Commits

Author SHA1 Message Date
Kavin
d47d16e235
Implement play with playlists. 2022-04-08 22:37:05 +01:00
Kavin
4c16beedaf
Change import paths to relative paths. 2022-04-08 16:46:49 +01:00
Kavin
b68b9e2c1e
Check if playlist has name when creating a new playlist. 2022-04-07 19:19:40 +01:00
Kavin
6a05acf939
Add button to add to playlist when watching. 2022-04-07 16:48:03 +01:00
Kavin
54e947fda7
Select last selected playlist by default.
For #957
2022-04-07 16:36:51 +01:00
Kavin
4d18bf8004
Add support for playlists. 2022-04-07 03:42:00 +01:00
Kavin
fd88af8824
Add support for Vietnamese. 2022-04-07 03:34:48 +01:00
Kavin
8dbab22744
Add support for showing subscriber count. (#819) 2022-03-30 17:34:47 +01:00
Kavin
49f48872f9
Add support for Danish. 2022-03-20 18:36:05 +00:00
Kavin
8713a7eaa9
Add support for start parameter and improve regex.
Closes #885
2022-03-16 18:04:01 +00:00
Kavin
0a92992084
Add pt_PT to the language selector. 2022-03-14 15:02:47 +00:00
AHOHNMYC
f27ee020bd
Uppercase some first letters in language selector (#893) 2022-03-14 14:58:05 +00:00
Nitish Yadav
c1405b63fa
Restrict the home link to only logo width (#895)
Fixes #746
2022-03-14 14:57:42 +00:00
Tom
ec1ec958c6
Make URLs in video description links (#863)
* urlify description

* changed to div

* Move urlify function away from rendering.

Co-authored-by: Tom Flux <tom@tomflux.xyz>
Co-authored-by: FireMasterK <20838718+FireMasterK@users.noreply.github.com>
2022-03-01 09:56:27 +00:00
FireMasterK
5061a4ac0a
Directly redirect to URLs from the search page.
Closes #861
2022-02-25 11:40:24 +00:00
Kavin
6b4bd1a034
Fetch instances using Instances API. (#854) 2022-02-23 12:38:21 +00:00
Kavin
f93f52051c
Center videos, and limit video size in embeds. (#848) 2022-02-22 06:13:36 +00:00
FireMasterK
0acd0ab4c7
Add support for Catalan and Esperanto. 2022-02-15 10:57:37 +00:00
FireMasterK
ecd5d54aa2
Do not define non-reactive data variables.
Closes #829
2022-02-14 06:56:03 +00:00
FireMasterK
eea4965974
Replace substr to slice. 2022-02-13 19:36:32 +00:00
FireMasterK
55009d75c0
Add support for importing subscriptions from Freetube. 2022-02-13 19:11:44 +00:00
FireMasterK
483617bd33
Add better description for search filters. 2022-02-12 17:43:11 +00:00
FireMasterK
f75f7f87d2
Add a checkmark if channel is verified. 2022-02-11 04:23:26 +00:00
FireMasterK
5ca5854594
Add support for Clips.
Closes #815
2022-02-10 15:03:33 +00:00
FireMasterK
dc750ec0a3
Remove color workaround for subtitles.
Closes #448
2022-02-07 13:54:50 +00:00
FireMasterK
c0e1abba42
Use unix epoch for timeago if present. 2022-02-06 15:35:27 +00:00
FireMasterK
19a1bacd2f
Remove css fix, and increase player buttons size.
Closes #757
Partly helps with #754
2022-01-31 04:34:27 +00:00
FireMasterK
07186f8787
Use regex to replace URLs.
Close #773
2022-01-31 04:05:59 +00:00
FireMasterK
826bdf4997
Fix for default home page. 2022-01-31 03:46:06 +00:00
FireMasterK
9b18f2eff2
Add live indicator for videos, pretranslate more components. 2022-01-30 23:48:27 +00:00
FireMasterK
dfed90c1cc
Add max width to chapter. 2022-01-26 04:39:42 +00:00
FireMasterK
1d6a6daa06
Load hotkey-js only once and fix destroy. 2022-01-23 19:08:33 +00:00
FireMasterK
de8fb4fab5
Hide chapters component if there are no chapters.
Closes #756
2022-01-22 23:23:31 +00:00
FireMasterK
c87af466c8
Workaround for bug in shaka's programmatic setup. 2022-01-22 23:10:05 +00:00
FireMasterK
bcf15940b6
Player element css improvements. 2022-01-22 23:09:29 +00:00
Weblate (bot)
5397b4d183
Translations update from Hosted Weblate (#749)
* Translated using Weblate (Croatian)

Currently translated at 98.7% (80 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/hr/

* Translated using Weblate (Chinese (Simplified))

Currently translated at 87.6% (71 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/zh_Hans/

* Added translation using Weblate (Thai)

* Translated using Weblate (Thai)

Currently translated at 24.6% (20 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/th/

* Add support for Thai.

Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: Eric <alchemillatruth@purelymail.com>
Co-authored-by: Sabaijai Jang <krabipress@gmail.com>
Co-authored-by: FireMasterK <20838718+FireMasterK@users.noreply.github.com>
2022-01-19 20:51:31 +00:00
FireMasterK
8ba11d524d
Add white text color to thumbnail overlay.
Closes #736
2022-01-17 12:55:48 +00:00
Kavin
2bb7288451
Implement better support for playback rate changes (#730)
* Implement better support for playback rate changes.

* Add isNaN check for duration.
2022-01-16 08:43:24 +00:00
Weblate (bot)
6948fb6269
Translations update from Hosted Weblate (#735)
* Added translation using Weblate (Hindi)

* Added translation using Weblate (Tamil)

* Translated using Weblate (Hindi)

Currently translated at 25.6% (20 of 78 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/hi/

* Translated using Weblate (Tamil)

Currently translated at 10.2% (8 of 78 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/ta/

* Translated using Weblate (Hindi)

Currently translated at 77.2% (61 of 79 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/hi/

* Translated using Weblate (Tamil)

Currently translated at 45.5% (36 of 79 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/ta/

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 92.5% (75 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/nb_NO/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (81 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/tr/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (81 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/es/

* Translated using Weblate (Hindi)

Currently translated at 76.5% (62 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/hi/

* Translated using Weblate (Tamil)

Currently translated at 43.2% (35 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/ta/

* Translated using Weblate (Turkish)

Currently translated at 100.0% (81 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/tr/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (81 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/es/

* Translated using Weblate (Swedish)

Currently translated at 100.0% (81 of 81 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/sv/

Co-authored-by: Kavin <kavin@kavin.rocks>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Jorge Maldonado Ventura <jorgesumle@freakspot.net>
Co-authored-by: Shjosan <shjosan@kakmix.co>
2022-01-16 08:42:01 +00:00
FireMasterK
bf1fc5e84d
Translation component improvements. 2022-01-14 02:54:27 +00:00
FireMasterK
72a0f0d376
Simplify if check. 2022-01-14 01:32:38 +00:00
FireMasterK
51eb01d7bd
Show cursor pointer on comment actions. 2022-01-14 01:32:38 +00:00
Ian Shehadeh
90cf70cc31
wait to save video ts until saved video ts is loaded (#726)
This commit introduces a new member to VideoPlayer, initialSeekComplete.
The boolean is set to true after the timestamp has been set on videoEl
from the query or IDB.
If there's no existing timestamp its set to true immediately.

Change updateProgressDatabase() to update watch_history when
initialSeekComplete is true.

This fixes a race condition where updateProgressDatabase() would run
before the saved time could be loaded.
Since the initial timestamp on the video element was 0
the saved time would be forgotten.
2022-01-13 22:41:53 +00:00
FireMasterK
8f10ee5c72
Add support for sponsorblock's filler and highlight skipping. 2022-01-13 09:42:33 +00:00
dependabot[bot]
5d8ae14db7
Bump eslint-plugin-vue from 7.20.0 to 8.3.0 (#722)
* Bump eslint-plugin-vue from 7.20.0 to 8.3.0

Bumps [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) from 7.20.0 to 8.3.0.
- [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases)
- [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v7.20.0...v8.3.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-vue
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Refractor component names.

For vue/multi-word-component-names

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: FireMasterK <20838718+FireMasterK@users.noreply.github.com>
2022-01-13 05:12:06 +00:00
Kavin
fc4978ec03
Add support for displaying chapters (#694) 2022-01-13 04:52:14 +00:00
FireMasterK
63062bd767
Fix minimize recommandation overlap. 2022-01-12 22:17:22 +00:00
FireMasterK
3d188f2cc8
Remove all references to uikit. 2022-01-12 12:13:04 +00:00
FireMasterK
05d7853ef0
Convert inline style css to classes. 2022-01-12 11:59:50 +00:00
FireMasterK
fb3ac51cd8
Changes for Preferences menu and cleanup. 2022-01-12 11:27:08 +00:00
FireMasterK
a9e7d79121
Run yarn lint. 2022-01-12 05:42:48 +00:00
FireMasterK
9b1f7086f4
Fix timeago import and warning. 2022-01-12 05:39:36 +00:00
FireMasterK
983fdac95d
Populate search_query on mount.
Closes #703
2022-01-12 05:31:12 +00:00
FireMasterK
89ca5094a5
Add support for hour, minute and second time paterns.
Closes #706
2022-01-12 05:31:12 +00:00
Tomasz Rymkiewicz
c8639c2ce7
Make eslint work with vue files 2022-01-12 05:31:12 +00:00
Tomasz Rymkiewicz
5977e2c51a
Fix incorrect tag nesting 2022-01-12 05:31:12 +00:00
Tomasz Rymkiewicz
f576ca74d1
Componentize video sorting functionality 2022-01-12 05:31:12 +00:00
Tomasz Rymkiewicz
53197b5e2d
Autoclose HTML tags 2022-01-12 05:31:12 +00:00
Tomasz Rymkiewicz
d750eabc37
Favour v-text over mustache syntax 2022-01-12 05:31:12 +00:00
Tomasz Rymkiewicz
c4ea68f9d8
Replace b and i tags with semantic HTML 2022-01-12 05:31:12 +00:00
FireMasterK
4289a02e20
Fix xml-js pollyfills. 2022-01-12 05:31:12 +00:00
FireMasterK
4bfbb9aa2e
Migrate to Vite from webpack. 2022-01-12 05:31:12 +00:00
FireMasterK
77010ccac4
Improve theming, and make auto theme work with media query. 2022-01-12 05:31:12 +00:00
FireMasterK
13a1f352d8
Fix navbar and cleanup search suggestions. 2022-01-12 05:31:12 +00:00
FireMasterK
9b6e32683f
Remove whitepace for spacing, and reduce grid dom size. 2022-01-12 05:31:12 +00:00
FireMasterK
ea7669c863
Some general improvements. 2022-01-12 05:31:12 +00:00
FireMasterK
43e69ff284
Implement theming in a better manner. 2022-01-12 05:31:12 +00:00
FireMasterK
d9283b2762
Fix navbar. 2022-01-12 05:31:12 +00:00
FireMasterK
d0c45650de
Fix layout above description.
Affects, uploaded date, views, likes, subscribe button, etc.
2022-01-12 05:31:12 +00:00
FireMasterK
f9fcc5e98a
Attempt to improve CLS. 2022-01-12 05:31:12 +00:00
FireMasterK
defe4d6c91
Migrate more css classes. 2022-01-12 05:31:12 +00:00
FireMasterK
4899c9717c
Port more classes. 2022-01-12 05:31:12 +00:00
FireMasterK
5b59c54904
Migrate more classes. 2022-01-12 05:31:12 +00:00
FireMasterK
871447050c
Attempt to migrate more classes. 2022-01-12 05:31:12 +00:00
FireMasterK
69ae2bf131
Replace video grids with windicss. 2022-01-12 05:31:12 +00:00
FireMasterK
7314642efa
Run yarn lint. 2022-01-12 05:31:00 +00:00
FireMasterK
2886ad966b
Add hotkeys to slow and speed up video.
Closes #705
2022-01-12 05:15:43 +00:00
Weblate (bot)
ea72e4c3ac
Translations update from Hosted Weblate (#720)
* Translated using Weblate (Malayalam)

Currently translated at 93.5% (73 of 78 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/ml/

* Translated using Weblate (Bengali)

Currently translated at 97.4% (76 of 78 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/bn/

* Added translation using Weblate (Swedish)

* Translated using Weblate (Swedish)

Currently translated at 100.0% (78 of 78 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/sv/

* Add Swedish to language selector.

Co-authored-by: vachan-maker <vachan2014carmel@gmail.com>
Co-authored-by: ispeakbangla <nopetaci@altmails.com>
Co-authored-by: Shjosan <shjosan@kakmix.co>
Co-authored-by: FireMasterK <20838718+FireMasterK@users.noreply.github.com>
2022-01-12 00:39:07 +00:00
Weblate (bot)
23727acdac
Translations update from Hosted Weblate (#699)
* Added translation using Weblate (Czech)

* Translated using Weblate (Czech)

Currently translated at 2.5% (2 of 78 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/cs/

* Translated using Weblate (Czech)

Currently translated at 100.0% (78 of 78 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/cs/

* Add Czech to language selector.

Co-authored-by: Tex <apptex@criptext.com>
Co-authored-by: FireMasterK <20838718+FireMasterK@users.noreply.github.com>
2021-12-27 11:15:23 +00:00
Weblate (bot)
93a057e191
Translations update from Hosted Weblate (#697)
* Added translation using Weblate (Portuguese)

* Added translation using Weblate (Korean)

* Translated using Weblate (Portuguese)

Currently translated at 92.3% (72 of 78 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/pt/

* Translated using Weblate (Korean)

Currently translated at 100.0% (78 of 78 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/ko/

* Add Korean and Portuguese to language selector.

Co-authored-by: Joao Santos <jm_santos7@hotmail.com>
Co-authored-by: Kim Tae Kyeong <kim@taekyeong.me>
Co-authored-by: FireMaskterK <20838718+FireMasterK@users.noreply.github.com>
2021-12-24 10:47:32 +00:00
FireMaskterK
74d2bec931
Fix like counter display, since YouTube hides dislikes. 2021-12-18 08:19:47 +00:00
Weblate (bot)
919c3da367
Translations update from Hosted Weblate (#672)
* Added translation using Weblate (Icelandic)

* Translated using Weblate (Icelandic)

Currently translated at 30.7% (24 of 78 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/is/

* Translated using Weblate (Icelandic)

Currently translated at 100.0% (78 of 78 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/is/

* Added translation using Weblate (Indonesian)

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (78 of 78 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/id/

* Add Icelandic and Indonesian to language selector.

Co-authored-by: Trendyne <eiko@chiru.no>
Co-authored-by: Linerly <linerly@protonmail.com>
Co-authored-by: FireMaskterK <20838718+FireMasterK@users.noreply.github.com>
2021-12-09 14:43:53 +00:00
Kavin
cc79eb5c6c
Fix for searching when composing in search box (#519)
Co-authored-by: jloqfjgk <68487118+jloqfjgk@users.noreply.github.com>
2021-12-04 07:04:44 +00:00
Anon Anonimovic
0b3257365f
Add Serbian translations (#646) 2021-11-24 19:31:39 +00:00
Andrea Spacca
6c04ff003e
support path in proxyURL (#628)
* support path in proxyURL

* linting

* fix url

* add debug print

* remove debug print

* include proxy port

* add debug print

* remove port, add protocol, fix pathname

* fix path with trailing slash

* cr fix
2021-11-24 17:36:29 +00:00
FireMaskterK
34bfd696c9
Add hotkeys to change time based on fraction.
Closes #641
2021-11-23 00:13:39 +00:00
metzgegu
f1f45551f4
Add hotkey to enable captions with "c" (#627)
Co-authored-by: metzgegu <guillaume.metzger@wizbii.com>
2021-11-16 14:04:29 +00:00
Weblate (bot)
78f0372707
Translations update from Hosted Weblate (#626)
* Added translation using Weblate (Ukrainian)

* Translated using Weblate (Ukrainian)

Currently translated at 100.0% (78 of 78 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/uk/

* Add Ukranian to language selector.

Co-authored-by: Tim D. Vutor <xlson015@gmail.com>
Co-authored-by: FireMaskterK <20838718+FireMasterK@users.noreply.github.com>
2021-11-15 10:17:49 +00:00
Weblate (bot)
bc4aaf5fb3
Translations update from Hosted Weblate (#621)
* Translated using Weblate (Croatian)

Currently translated at 100.0% (78 of 78 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/hr/

* Added translation using Weblate (Japanese)

* Translated using Weblate (Japanese)

Currently translated at 100.0% (78 of 78 strings)

Translation: Piped/Frontend
Translate-URL: https://hosted.weblate.org/projects/piped/frontend/ja/

* Add Japanese to language selector.

Co-authored-by: rootedetc <rootable@protonmail.com>
Co-authored-by: からトン <inthemountain0828@gmail.com>
Co-authored-by: FireMaskterK <20838718+FireMasterK@users.noreply.github.com>
2021-11-12 14:01:07 +00:00
FireMaskterK
43c60c6adf
Change markdown table columns size.
Closes #620
2021-11-12 13:55:30 +00:00
FireMaskterK
215e12fafe
Add button to open embed video in new tab.
Closes #611
Closes https://github.com/TeamPiped/Piped-Redirects/issues/4
2021-11-11 08:16:15 +00:00
Kavin
881621d3a4
Add support for better qualities through the IOS HLS manifest. (#474) 2021-11-07 18:40:42 +00:00
FireMaskterK
610fe86c32
Enable useFullSegmentsForStartTime for faster initial loading. 2021-11-07 13:52:40 +00:00
FireMaskterK
e6bbcdd3c3
Allow hiding replies, and make strings translatable.
Closes #591
2021-11-04 10:52:36 +00:00
FireMaskterK
8ea56aa0b9
Implement comment replies. 2021-11-01 20:23:04 +00:00
poleznosti
dc3aae8eb5
Add russian localization (#574)
* this is test localization to russian language

i didnt translate string
  "disable_lbry": "Disable LBRY for Streaming",
because i dont fully understand what this option does. i opt-in and opt-out this option on videos that have copies on LBRY but nothing changes.

* Add russian to language selector.

Co-authored-by: FireMaskterK <20838718+FireMasterK@users.noreply.github.com>
2021-10-31 18:47:24 +00:00
FireMaskterK
e3df414cdb
Simplify uk-button css. 2021-10-31 18:36:47 +00:00
FireMaskterK
f1e4380582
Add button to clear history.
Closes #584
2021-10-31 18:36:21 +00:00
Kavin
1c03633c62
Remove all non-essential js related to uikit. (#585)
* Remove all non-essential js related to uikit.

* Add padding to the bottom of the grid.
2021-10-31 17:44:36 +00:00
FireMaskterK
ea827a48ac
Use entire screen space for WatchVideo.
Closes #577
2021-10-28 19:24:16 +01:00