Commit Graph

4396 Commits

Author SHA1 Message Date
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
f0378f3e82 Bring back support for legacy browsers.
Closes #723
2022-01-13 09:57:55 +00:00
8f10ee5c72 Add support for sponsorblock's filler and highlight skipping. 2022-01-13 09:42:33 +00:00
6f1bb9445d Add runtime caching for fonts. 2022-01-13 06:30:23 +00:00
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
fc4978ec03 Add support for displaying chapters (#694) 2022-01-13 04:52:14 +00:00
7942581a76 Bump vite-plugin-pwa from 0.11.12 to 0.11.13
Bumps [vite-plugin-pwa](https://github.com/antfu/vite-plugin-pwa) from 0.11.12 to 0.11.13.
- [Release notes](https://github.com/antfu/vite-plugin-pwa/releases)
- [Commits](https://github.com/antfu/vite-plugin-pwa/compare/v0.11.12...v0.11.13)

---
updated-dependencies:
- dependency-name: vite-plugin-pwa
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-12 22:35:43 +00:00
46ad4d1d27 Merge pull request #683 from TeamPiped/windicss
Replace UIKit with Windicss
2022-01-12 22:19:14 +00:00
63062bd767 Fix minimize recommandation overlap. 2022-01-12 22:17:22 +00:00
3d188f2cc8 Remove all references to uikit. 2022-01-12 12:13:04 +00:00
05d7853ef0 Convert inline style css to classes. 2022-01-12 11:59:50 +00:00
fb3ac51cd8 Changes for Preferences menu and cleanup. 2022-01-12 11:27:08 +00:00
a9e7d79121 Run yarn lint. 2022-01-12 05:42:48 +00:00
9b1f7086f4 Fix timeago import and warning. 2022-01-12 05:39:36 +00:00
983fdac95d Populate search_query on mount.
Closes #703
2022-01-12 05:31:12 +00:00
89ca5094a5 Add support for hour, minute and second time paterns.
Closes #706
2022-01-12 05:31:12 +00:00
5aaf80a3e2 Untrack existing ipfs action. 2022-01-12 05:31:12 +00:00
c8639c2ce7 Make eslint work with vue files 2022-01-12 05:31:12 +00:00
3349cd69c9 Add eslint plugin, add script in package.json 2022-01-12 05:31:12 +00:00
5977e2c51a Fix incorrect tag nesting 2022-01-12 05:31:12 +00:00
f576ca74d1 Componentize video sorting functionality 2022-01-12 05:31:12 +00:00
53197b5e2d Autoclose HTML tags 2022-01-12 05:31:12 +00:00
d750eabc37 Favour v-text over mustache syntax 2022-01-12 05:31:12 +00:00
c4ea68f9d8 Replace b and i tags with semantic HTML 2022-01-12 05:31:12 +00:00
4289a02e20 Fix xml-js pollyfills. 2022-01-12 05:31:12 +00:00
b32e868e8f Improve PWA support. 2022-01-12 05:31:12 +00:00
ce4be5d217 Fix docker and ci for Vite. 2022-01-12 05:31:12 +00:00
247a4371ba Upgrade vite. 2022-01-12 05:31:12 +00:00
179dcbb687 Fix PWA support. 2022-01-12 05:31:12 +00:00
4bfbb9aa2e Migrate to Vite from webpack. 2022-01-12 05:31:12 +00:00
77010ccac4 Improve theming, and make auto theme work with media query. 2022-01-12 05:31:12 +00:00
13a1f352d8 Fix navbar and cleanup search suggestions. 2022-01-12 05:31:12 +00:00
9b6e32683f Remove whitepace for spacing, and reduce grid dom size. 2022-01-12 05:31:12 +00:00
3a577a4dfa Improve grid for smaller displays. 2022-01-12 05:31:12 +00:00
ea7669c863 Some general improvements. 2022-01-12 05:31:12 +00:00
b6d5fabeca Experiment with loading css synchronously. 2022-01-12 05:31:12 +00:00
43e69ff284 Implement theming in a better manner. 2022-01-12 05:31:12 +00:00
d9283b2762 Fix navbar. 2022-01-12 05:31:12 +00:00
d0c45650de Fix layout above description.
Affects, uploaded date, views, likes, subscribe button, etc.
2022-01-12 05:31:12 +00:00
f9fcc5e98a Attempt to improve CLS. 2022-01-12 05:31:12 +00:00
defe4d6c91 Migrate more css classes. 2022-01-12 05:31:12 +00:00
4899c9717c Port more classes. 2022-01-12 05:31:12 +00:00
5b59c54904 Migrate more classes. 2022-01-12 05:31:12 +00:00
871447050c Attempt to migrate more classes. 2022-01-12 05:31:12 +00:00
69ae2bf131 Replace video grids with windicss. 2022-01-12 05:31:12 +00:00
7314642efa Run yarn lint. 2022-01-12 05:31:00 +00:00
2886ad966b Add hotkeys to slow and speed up video.
Closes #705
2022-01-12 05:15:43 +00:00
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
076f0951c9 Bump shaka-player from 3.2.2 to 3.3.0
Bumps [shaka-player](https://github.com/google/shaka-player) from 3.2.2 to 3.3.0.
- [Release notes](https://github.com/google/shaka-player/releases)
- [Changelog](https://github.com/google/shaka-player/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/shaka-player/compare/v3.2.2...v3.3.0)

---
updated-dependencies:
- dependency-name: shaka-player
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 06:38:23 +00:00
daf67ff0ae Bump shaka-player from 3.2.1 to 3.2.2
Bumps [shaka-player](https://github.com/google/shaka-player) from 3.2.1 to 3.2.2.
- [Release notes](https://github.com/google/shaka-player/releases)
- [Changelog](https://github.com/google/shaka-player/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/shaka-player/compare/v3.2.1...v3.2.2)

---
updated-dependencies:
- dependency-name: shaka-player
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-07 05:17:10 +00:00