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

349 Commits

Author SHA1 Message Date
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
FireMaskterK
07529362cf
Run yarn lint. 2021-10-28 18:55:20 +01:00
FireMaskterK
ea4aabd4ea
Disable autoplay in embeds.
Closes #576
2021-10-28 18:35:48 +01:00
FireMaskterK
9be9aada13
Fix for errors reading undefined. 2021-10-27 01:34:57 +01:00
FireMaskterK
993fb15397
Add support for storing and loading video watched times.
Closes #373
2021-10-27 01:15:53 +01:00
FireMaskterK
6ee9592218
Update pre-existing watch history.
Closes #567
2021-10-27 00:49:56 +01:00
Kavin
4ec67a4884
Fix iOS trickPlay / playback rate. (#564) 2021-10-26 18:25:43 +01:00
FireMaskterK
d28945f5be
Handle videos with Ratings Disabled.
Closes #555
2021-10-23 22:20:26 +01:00
FireMaskterK
bec284ea95
Fix for videoPlayback being reset. 2021-10-22 11:40:13 +01:00
FireMaskterK
7baa3fbe34
Show a different icon when already listening.
Closes #544
2021-10-17 15:18:57 +01:00
FireMaskterK
8cf3b298de
Add support for rendering search corrections. 2021-10-10 02:20:00 +01:00
FireMasterK
8143919374
Fix old regression for Views and Upload date on channels.
Closes #424
2021-10-08 22:08:41 +01:00
Kavin
92d61a23af
Make eslint work, and fix all warnings. (#511)
* Make eslint work, and fix all warnings.

* Don't ignore v-html rule globally.

* Remove eslint file and merge in package.json.
2021-10-08 19:52:51 +01:00
FireMasterK
41ac97ed92
Add better upload date formatting. 2021-10-08 17:52:55 +01:00
FireMasterK
e8f8930932
Fix fullscreen hotkey regression. 2021-10-08 17:38:01 +01:00
FireMaskterK
68341d6441
Format and capitalize "Listen to". 2021-10-07 23:44:54 +01:00
Filipe Medeiros
cb48f3574d
feat: adds the option to toggle listen mode when watching a video (#508)
* feat: adds the option to toggle listen mode when watching a video

* feat: improve a11y

* Change some logic.

Co-authored-by: FireMaskterK <20838718+FireMasterK@users.noreply.github.com>
2021-10-07 23:43:48 +01:00
FireMaskterK
edf668dfd4 Switch to non reactive variables for shaka-player. 2021-10-06 15:33:52 +01:00
Danial Haddadi
469b194d2f
Fix safari fullscreen (#495) 2021-10-04 11:05:53 +01:00
Danial Haddadi
eea4ed14dc
Add hide recommendations button on mobile (#494) 2021-10-04 01:08:25 +01:00
Danial Haddadi
91c832f53f
Allow channel name to overflow (#492)
* Allow channel name to overflow

* Add missing title to VideoItem uploader name router-link
2021-10-04 00:00:38 +01:00
Danial Haddadi
930395f74e
Store preferred playback rate (#493) 2021-10-03 20:18:04 +01:00
FireMasterK
58e69da0c2 Use user's system language by default. 2021-09-24 00:22:28 +01:00
Weblate (bot)
4e4ecd1fba
Translations update from Weblate (#475)
* Added translation using Weblate (Chinese (Simplified))

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (64 of 64 strings)

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

* Added translation using Weblate (Basque)

* Translated using Weblate (Basque)

Currently translated at 100.0% (64 of 64 strings)

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

* Added translation using Weblate (Finnish)

* Translated using Weblate (French)

Currently translated at 100.0% (70 of 70 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (70 of 70 strings)

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

* Translated using Weblate (Italian)

Currently translated at 100.0% (70 of 70 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (70 of 70 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 74.2% (52 of 70 strings)

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

* Translated using Weblate (Lithuanian)

Currently translated at 100.0% (70 of 70 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (70 of 70 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 100.0% (70 of 70 strings)

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

* Translated using Weblate (Croatian)

Currently translated at 100.0% (70 of 70 strings)

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

* Translated using Weblate (Basque)

Currently translated at 100.0% (70 of 70 strings)

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

* Add support for Finnish and Chinese Simplified.

Co-authored-by: Xie Yanbo <xieyanbo@gmail.com>
Co-authored-by: Sergio Varela <sergitroll9@gmail.com>
Co-authored-by: J. Lavoie <j.lavoie@net-c.ca>
Co-authored-by: Gediminas Murauskas <muziejusinfo@gmail.com>
Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Co-authored-by: Milo Ivir <mail@milotype.de>
Co-authored-by: FireMasterK <20838718+FireMasterK@users.noreply.github.com>
2021-09-23 23:37:40 +01:00
FireMasterK
473814f2e4
Simplify toggle full screen to shaka-player. 2021-09-22 15:03:57 +01:00
FireMasterK
172d542cd3
Fix fullscreen not being done properly when using keybind. 2021-09-22 14:48:35 +01:00
ChunkyProgrammer
40b74c7745
Accessibility Improvements (#467)
* accessibility improvements

* fix listen icon
2021-09-21 22:58:25 +01:00
FireMasterK
4a8927c794
Default to autoplay being disabled by default.
Closes #466
2021-09-21 22:48:55 +01:00
ChunkyProgrammer
25592c3f2c
Translate countrymaps (#464)
* translate countrymap

* switch to json files
2021-09-21 21:24:21 +01:00
FireMasterK
08f8c58c5b
Fix playerAutoPlay not being read correctly.
Closes #453
2021-09-17 21:35:06 +01:00
FireMasterK
05a0cdafc5
Add missing locales to options. 2021-09-16 19:32:44 +01:00
Weblate (bot)
c2aaf635a1
Translations update from Weblate (#451)
* Translated using Weblate (Malayalam)

Currently translated at 96.8% (62 of 64 strings)

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

* Added translation using Weblate (Croatian)

* Translated using Weblate (Croatian)

Currently translated at 100.0% (64 of 64 strings)

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

* Translated using Weblate (Norwegian Bokmål)

Currently translated at 90.6% (58 of 64 strings)

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

* Added translation using Weblate (Spanish)

* Translated using Weblate (Spanish)

Currently translated at 100.0% (64 of 64 strings)

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

* Add languages to selector.

Co-authored-by: vachan-maker <vachan2014carmel@gmail.com>
Co-authored-by: rootedetc <rootable@protonmail.com>
Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Co-authored-by: Sergio Varela <sergitroll9@gmail.com>
Co-authored-by: FireMasterK <20838718+FireMasterK@users.noreply.github.com>
2021-09-16 19:19:37 +01:00
IceDBorn
c9a82f3ceb
Cut video titles when they exceed 2 lines (#445)
* Cut video titles when they exceed 2 lines

* Add tooltip to reveal full title on hover
2021-09-12 22:32:59 +05:30
Carl
0fd2ad0ea0
Add load more logic to feeds and fix feeds mobile design (#442)
* Add load more logic to feeds

* Remove load more, show more videos when scroll at the bottom of the page.

* Remove @scrool from dib

* Cleanup scroll listener.

Co-authored-by: Karlis Cudars <mainkarlis@Karliss-MacBook-Pro.local>
Co-authored-by: FireMasterK <20838718+FireMasterK@users.noreply.github.com>
2021-09-12 01:01:01 +05:30
വചൻ
556da32b0c
Add support for Italian (#432) 2021-09-09 13:06:34 +05:30
വചൻ
1c05e84133
Update Preferences.vue (#418) 2021-09-06 12:38:15 +05:30
ChunkyProgrammer
18e94204ed
fix importing csv for other languages (#417) 2021-09-05 22:36:42 +00:00
ChunkyProgrammer
0fd0bb8c83
Add labels to improve accessibility (#416)
* Add labels to improve accessibility

* switch to double quotes
2021-09-06 03:01:46 +05:30
FireMasterK
10d2df6d0d
Use unmounted instead. 2021-09-06 02:31:26 +05:30
FireMasterK
07dfa21956
Fix strange vuejs event cycle when keep-alive limit is hit. 2021-09-06 02:27:20 +05:30
FireMasterK
3dc0287dff
Add support for LBRY's HLS streams. 2021-09-05 18:42:36 +05:30
ChunkyProgrammer
d350a026b2
Fix: Make more text translatable (#414)
* Make more text translatable

* update subscription page

* Update slovak locale
2021-09-05 18:38:26 +05:30
FireMasterK
efbf3f66b7
Render verified checkmark when watching video. 2021-09-05 03:20:14 +05:30