Commit Graph

6396 Commits

Author SHA1 Message Date
summoner001 a62c8329e5
Translated using Weblate (Hungarian)
Currently translated at 100.0% (829 of 829 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2024-04-19 08:03:18 +02:00
Jason d65ae6eaae
Fix video timestamps (#4979)
* Fix video timestamps

* Update week logic
2024-04-18 22:02:26 -04:00
Jakub Kordovský b753b7fdd9
Replaced SVGs that had base64 encoded bitmaps with actual vector-based images (#4976) 2024-04-18 22:00:47 -04:00
efb4f5ff-1298-471a-8973-3d47447115dc bb69b558df
Remove `logoColor.png` (#4972)
* Remove logoColor.png

* Remove png from About.vue

* Use repo svg instead of docs png

* Delete _icons/logoColor.png
2024-04-18 21:59:26 -04:00
ChunkyProgrammer 5d0dd3f531
Define emits before using them Part 2 (#4974)
* add missing emits

* update ft-refresh-widget

* Let event handler get CurrentValue instead of specifying it

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>

---------

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
2024-04-19 09:00:19 +08:00
Fjuro ee3a747ce2
Translated using Weblate (Czech)
Currently translated at 100.0% (829 of 829 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2024-04-19 00:03:42 +02:00
Rex_sa b69ecd12a5
Translated using Weblate (Arabic)
Currently translated at 100.0% (829 of 829 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ar/
2024-04-18 22:03:43 +02:00
Petrov 6a48baf399
Translated using Weblate (Bulgarian)
Currently translated at 97.9% (812 of 829 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bg/
2024-04-18 18:03:42 +02:00
Jason 207e901615
Fix refresh widget to use same z-index as top-nav (#4977) 2024-04-18 15:43:39 +00:00
Milo Ivir 747952cc97
Translated using Weblate (Croatian)
Currently translated at 100.0% (829 of 829 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hr/
2024-04-18 15:04:00 +02:00
Dragibus Noir 047ae4c459
Translated using Weblate (French)
Currently translated at 100.0% (829 of 829 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2024-04-18 13:03:34 +02:00
Oğuz Ersen 349bc2f2ba
Translated using Weblate (Turkish)
Currently translated at 100.0% (829 of 829 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2024-04-18 10:04:23 +02:00
大王叫我来巡山 2218ab8a63
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (829 of 829 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2024-04-18 10:04:21 +02:00
NEXI 791082a6cf
Translated using Weblate (Serbian)
Currently translated at 100.0% (829 of 829 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sr/
2024-04-18 05:03:42 +02:00
Jeff Huang e9710070a4
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (829 of 829 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2024-04-18 05:03:40 +02:00
absidue 27eecb9e0b
Simplify static file loading (#4971) 2024-04-18 01:09:29 +00:00
gallegonovato e633eaf1dd
Translated using Weblate (Spanish)
Currently translated at 100.0% (829 of 829 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2024-04-18 02:04:15 +02:00
Massimo Pissarello 972b9ce446
Translated using Weblate (Italian)
Currently translated at 100.0% (829 of 829 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2024-04-18 02:04:15 +02:00
Jose Delvani 5e08969280
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (829 of 829 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2024-04-18 02:04:14 +02:00
ChunkyProgrammer 009fb739b8
Add yarn run pack:web to linter (#4975) 2024-04-18 06:51:38 +08:00
absidue fa66e82a56
Bundle datastores as ES modules instead of commonjs (#4965) 2024-04-17 22:33:13 +00:00
Hosted Weblate a05b49f4f3
Merge branch 'origin/development' into Weblate. 2024-04-17 23:54:52 +02:00
Jose Delvani de66593fcb
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (827 of 827 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2024-04-17 23:54:52 +02:00
Jason ab3c1b9b29
Show when Subscriptions / Trending / Most Popular were last updated (#4380)
* Implement first draft of last subscription refresh timestamp

* Update styling to be a top bar

* Update styling to be banner-compatible, & increase banner X button size on mobile

* Update subscription refresh timestamp to be relative

* Implement refresh timestamps for Shorts, Live, and Community tabs

* Extract refresh widget to its own component

* Add Trending and Popular refresh widgets with timestamps

* Fix justifying when no timestamp exists

* Move timestamps to utils store

* Remove unneeded ref classes and currentLocale computed property

* Add page-specific titles for each feed type

* Implement showing least recent cache date per profile

* Update styling property placement & match top nav box shadow on ft-refresh-widget

* Implement showing timestamp for profile only if all channel subscriptions can be found in cache

* Disable refresh button instead of removing it or the widget from the DOM

* Increase top banner's top margin

* Update channel caching calls to provide timestamps

* Modify updateCacheByChannel functions to have default timestamp of new Date()

* Fix 30-day month relative date calculation scenarios through new optional parameter

* Rectify Case 3 (see https://github.com/FreeTubeApp/FreeTube/pull/3668)

* Add back missing line in Popular.js
2024-04-18 05:54:46 +08:00
ChunkyProgrammer 2bc44cd66b
Define emits before using them (#4973)
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
2024-04-17 21:50:23 +00:00
Milo Ivir 8483c8e3f8
Translated using Weblate (Croatian)
Currently translated at 99.1% (820 of 827 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hr/
2024-04-17 23:04:01 +02:00
Rex_sa a1067327e2
Translated using Weblate (Arabic)
Currently translated at 100.0% (827 of 827 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ar/
2024-04-17 23:04:00 +02:00
Jose Delvani babd82d09a
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (827 of 827 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2024-04-17 23:04:00 +02:00
Jason 23f1618fcb
Add back 3 Stylelint configs (#4350)
* Add back @double-great/stylelint-a11y Stylelint plugin

Notably, we choose to not use the 'a11y/no-outline-none' rule. The reason for this being that our focus ring suffices for almost every use case (https://www.w3.org/WAI/WCAG22/Understanding/focus-appearance-minimum), and using the same hover and focus styling can be considered bad design in many cases. YT goes the direction of foregoing the focus ring for many of its components and choosing a barely darker color than its :hover for :focus styling, which is controversial. Accessibility-wise, at the very least, using the same hover and focus styling can be confusing, especially for sighted users who use keyboard navigation.

* Add back stylelint-config-sass-guidelines

* Add back stylelint-config-standard

* Satisfy media-prefers-reduced-motion a11y rule

This is not recognized as a fix by the rule due to its limited detection logic, so this rule is not being imported directly.

* Remove duplicate code

* Implement linting fixes

* Implement _ft-list-item.scss linting fixes excluding no-descending-specificity

Properly implementing the no-descending-specificity rule in this file seems to utterly destroy the styling. This would be its own entire initiative to unravel.

* Restart from scratch modifications of _ft-list-item.scss

* Resolve styling discrepancies introduced with ft-list-channel and ft-tooltip
2024-04-17 19:49:37 +02:00
大王叫我来巡山 754f7640fc
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (827 of 827 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2024-04-17 11:03:40 +02:00
Fjuro 902ef0e28b
Translated using Weblate (Czech)
Currently translated at 100.0% (827 of 827 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2024-04-17 09:03:37 +02:00
summoner001 e6a9767372
Translated using Weblate (Hungarian)
Currently translated at 100.0% (827 of 827 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2024-04-17 09:03:37 +02:00
Oğuz Ersen d0ac17ff77
Translated using Weblate (Turkish)
Currently translated at 100.0% (827 of 827 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2024-04-17 09:03:36 +02:00
Massimo Pissarello 4de55d4f73
Translated using Weblate (Italian)
Currently translated at 100.0% (827 of 827 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2024-04-17 06:41:19 +02:00
Jose Delvani 25d721ac9b
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (827 of 827 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2024-04-17 06:41:18 +02:00
Jeff Huang b789c6ee4a
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (827 of 827 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2024-04-17 06:41:17 +02:00
Jason 9815ed3da2
Sort videos within playlist (#4921)
* Implement playlist sorting

* Hide sort menu for remote playlists

* Remove 'Custom (descending)' sort order

I don't see the need for this particular sort order.

* Adjust sort order & align dropdown with 'More Options' button

* Make 'Latest added first' default option instead of custom

* Remove unlikely-to-be-implemented 'Date published' sorting options

Context from absidue: 'I don't think we should even attempt to support it, due to all of the situations where it wouldn't be possible.'

* Update to use sortOrder as main variable throughout

* Hide sort menu for playlists of length <2
2024-04-17 06:26:43 +08:00
NicolaeFericitu ea35a13614
Translated using Weblate (Romanian)
Currently translated at 92.6% (759 of 819 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ro/
2024-04-17 00:02:02 +02:00
Ulises Martínez 3bef45b894
Translated using Weblate (Spanish)
Currently translated at 99.7% (817 of 819 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2024-04-17 00:02:01 +02:00
Grzegorz Wójcicki 31f0674910
Translated using Weblate (Polish)
Currently translated at 100.0% (819 of 819 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pl/
2024-04-17 00:02:00 +02:00
Hosted Weblate 3ded01b2d4
Merge branch 'origin/development' into Weblate. 2024-04-16 22:16:21 +02:00
NicolaeFericitu 4122883b39
Translated using Weblate (Romanian)
Currently translated at 90.9% (744 of 818 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ro/
2024-04-16 22:16:18 +02:00
PikachuEXE 2b7c96eb97
Update most paginated places to auto load next page (except comments) (#4565)
* * Update most paginated places to auto load next page (except comments)

* * Make comment section auto load next pages too

* $ Use new component to dedup auto load code

* * Implement auto load next page for single playlist page

* * Remove comment auto load setting

* * Update tooltip text
2024-04-16 22:16:08 +02:00
NicolaeFericitu 4229959852
Translated using Weblate (Romanian)
Currently translated at 90.7% (742 of 818 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ro/
2024-04-16 22:02:04 +02:00
Anonymous 6c314f1597
Translated using Weblate (Japanese)
Currently translated at 88.0% (720 of 818 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ja/
2024-04-16 19:02:01 +02:00
Jason 5359d8468e
Improve video playlist search UX (#4929)
* Enable playlist video search mode by default; add Ctrl+F binding

* Fix subject-verb agreement on two search labels

* Remove playlist video search bar when only one video is in the playlist

* Add check for search video mode allowed that is requisite for keybinding

* Remove unnecessary 'async function' in mounted

* Fix styling issue
2024-04-16 17:47:40 +02:00
Jason 981e8e4530
Fix user playlist reversal failing after user playlist information is updated (#4947) 2024-04-16 17:46:43 +02:00
efb4f5ff-1298-471a-8973-3d47447115dc 9e151b74bb
Fix type check failed for prop `searchQueryText` (#4962) 2024-04-16 17:46:26 +02:00
dependabot[bot] 856479fbce
Bump the eslint group with 5 updates (#4963)
Bumps the eslint group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [eslint-plugin-jsonc](https://github.com/ota-meshi/eslint-plugin-jsonc) | `2.14.1` | `2.15.1` |
| [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) | `16.6.2` | `17.2.1` |
| [eslint-plugin-unicorn](https://github.com/sindresorhus/eslint-plugin-unicorn) | `51.0.1` | `52.0.0` |
| [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) | `9.24.0` | `9.25.0` |
| [eslint-plugin-yml](https://github.com/ota-meshi/eslint-plugin-yml) | `1.13.2` | `1.14.0` |


Updates `eslint-plugin-jsonc` from 2.14.1 to 2.15.1
- [Release notes](https://github.com/ota-meshi/eslint-plugin-jsonc/releases)
- [Changelog](https://github.com/ota-meshi/eslint-plugin-jsonc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ota-meshi/eslint-plugin-jsonc/compare/v2.14.1...v2.15.1)

Updates `eslint-plugin-n` from 16.6.2 to 17.2.1
- [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases)
- [Changelog](https://github.com/eslint-community/eslint-plugin-n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint-community/eslint-plugin-n/compare/16.6.2...v17.2.1)

Updates `eslint-plugin-unicorn` from 51.0.1 to 52.0.0
- [Release notes](https://github.com/sindresorhus/eslint-plugin-unicorn/releases)
- [Commits](https://github.com/sindresorhus/eslint-plugin-unicorn/compare/v51.0.1...v52.0.0)

Updates `eslint-plugin-vue` from 9.24.0 to 9.25.0
- [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases)
- [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v9.24.0...v9.25.0)

Updates `eslint-plugin-yml` from 1.13.2 to 1.14.0
- [Release notes](https://github.com/ota-meshi/eslint-plugin-yml/releases)
- [Changelog](https://github.com/ota-meshi/eslint-plugin-yml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ota-meshi/eslint-plugin-yml/compare/v1.13.2...v1.14.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-jsonc
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: eslint
- dependency-name: eslint-plugin-n
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: eslint
- dependency-name: eslint-plugin-unicorn
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: eslint
- dependency-name: eslint-plugin-vue
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: eslint
- dependency-name: eslint-plugin-yml
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: eslint
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-16 13:48:44 +00:00
dependabot[bot] b8a7906371
Bump sass from 1.74.1 to 1.75.0 (#4956)
Bumps [sass](https://github.com/sass/dart-sass) from 1.74.1 to 1.75.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.74.1...1.75.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-15 18:15:39 +08:00