Commit Graph

6415 Commits

Author SHA1 Message Date
Jeff Huang 4b7f60343e
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (830 of 830 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2024-04-26 06:07:12 +02:00
absidue eea53f45f1
Fix vscode suggesting broken imports (#5024) 2024-04-26 08:18:25 +08:00
Jason 2208393f76
Implement settings section sorting option (#5010)
* Implement settings section sorting

* Make IS_ELECTRON property used directly
2024-04-25 22:59:17 +00:00
Jason d52ab88e7f
Add icons to dropdowns (#5006)
* Implement icons for all ft-selects

* Remove unnecessary v-if

* Update to use getIconForSortPreference util function with all arrows pointing down

* Update src/renderer/views/Playlist/Playlist.js

Co-authored-by: PikachuEXE <git@pikachuexe.net>

---------

Co-authored-by: PikachuEXE <git@pikachuexe.net>
2024-04-25 22:29:52 +02:00
absidue 819139e75a
Use webpack dev server's open option (#4988) 2024-04-25 16:05:03 -04:00
dependabot[bot] f3362158a7
Bump electron from 29.3.0 to 30.0.1 (#4995)
Bumps [electron](https://github.com/electron/electron) from 29.3.0 to 30.0.1.
- [Release notes](https://github.com/electron/electron/releases)
- [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md)
- [Commits](https://github.com/electron/electron/compare/v29.3.0...v30.0.1)

---
updated-dependencies:
- dependency-name: electron
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-25 20:28:59 +02:00
Ettore Atalan fede887b3d
Translated using Weblate (German)
Currently translated at 99.8% (828 of 829 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2024-04-24 23:07:22 +02:00
efb4f5ff-1298-471a-8973-3d47447115dc b2d12aa6e3
Remove leftover images (#5009)
* Delete _icons/logoWhite.png

* Delete _icons/logoBlack.png
2024-04-24 22:37:19 +02:00
absidue a94910df27
Serve files from a custom protocol instead of using file:// (#4987) 2024-04-23 21:24:59 +00:00
Priit Jõerüüt 8e2ec57058
Translated using Weblate (Estonian)
Currently translated at 100.0% (829 of 829 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/et/
2024-04-22 18:07:15 +02:00
Priit Jõerüüt 6c7b8f323c
Translated using Weblate (Estonian)
Currently translated at 98.7% (819 of 829 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/et/
2024-04-22 16:07:14 +02:00
dependabot[bot] d5b1e4cc64
Bump eslint-plugin-vuejs-accessibility in the eslint group (#4993)
Bumps the eslint group with 1 update: [eslint-plugin-vuejs-accessibility](https://github.com/vue-a11y/eslint-plugin-vuejs-accessibility).


Updates `eslint-plugin-vuejs-accessibility` from 2.2.1 to 2.3.0
- [Release notes](https://github.com/vue-a11y/eslint-plugin-vuejs-accessibility/releases)
- [Changelog](https://github.com/vue-a11y/eslint-plugin-vuejs-accessibility/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vue-a11y/eslint-plugin-vuejs-accessibility/compare/v2.2.1...v2.3.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-vuejs-accessibility
  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-22 13:10:21 +00:00
dependabot[bot] 87f573834c
Bump mini-css-extract-plugin from 2.8.1 to 2.9.0 (#4994)
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 2.8.1 to 2.9.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v2.8.1...v2.9.0)

---
updated-dependencies:
- dependency-name: mini-css-extract-plugin
  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-22 13:08:31 +00:00
dependabot[bot] e76b097e88
Bump marked from 12.0.1 to 12.0.2 (#4997)
Bumps [marked](https://github.com/markedjs/marked) from 12.0.1 to 12.0.2.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v12.0.1...v12.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 13:02:38 +00:00
dependabot[bot] 4a3475be7c
Bump sass-loader from 14.2.0 to 14.2.1 (#4996)
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 14.2.0 to 14.2.1.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v14.2.0...v14.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-22 13:02:25 +00:00
Grzegorz Wójcicki 1e955ee545
Translated using Weblate (Polish)
Currently translated at 100.0% (829 of 829 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pl/
2024-04-21 13:07:15 +02:00
Sergio Marques 47d7424f5c
Translated using Weblate (Portuguese)
Currently translated at 97.9% (812 of 829 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt/
2024-04-21 10:07:17 +02:00
PikachuEXE 0385d01546
Replace actions with nodejs 16 (#4967)
* * Replace action `jozsefsallai/node-package-version` with `jaywcjlove/github-action-package`

* * Replace action `jossef/action-set-json-field` with `jaywcjlove/github-action-package`
2024-04-21 04:14:44 +00:00
Emma 9cec76b228
Set refresh widget z-index to below dropdown search bar (#4980)
* Set `ft-refresh-widget` to z-index of 3

It should be still high enough to be above watch progress, but below the search bar

* Remove `topNav` box-shadow which was previously hidden by z-index
2024-04-19 12:42:40 +00:00
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