Commit Graph

3748 Commits

Author SHA1 Message Date
absidue 81426ed9bf
Don't lint while rebasing (#2711) 2022-10-13 08:34:04 +08:00
Aiz 1695605ab5
Remove deprecated @keypress + some accessability improvements (#2697)
* remove deprecated @keypress from top-nav

* remove deprecated @keypress from side-nav

* add role and tabindex to new window button

it could previously not be selected by tabbing over the buttons
2022-10-12 19:02:39 +02:00
Sveinn í Felli b35d7ea5e7
Translated using Weblate (Icelandic)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/is/
2022-10-12 15:24:35 +02:00
Hosted Weblate 6b4727c8d1
Merge branch 'origin/development' into Weblate. 2022-10-12 08:52:55 +02:00
Fjuro 2a601295c9
Translated using Weblate (Czech)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2022-10-12 08:50:11 +02:00
ovari 5199114125
Translated using Weblate (Hungarian)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2022-10-12 08:50:08 +02:00
Yaron Shahrabani 11b3c1973b
Translated using Weblate (Hebrew)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/he/
2022-10-12 08:50:05 +02:00
Егор Ермаков bd210ab0ff
Translated using Weblate (Russian)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2022-10-12 08:50:04 +02:00
absidue bc8261d970
Move colours from the store to the utils helper (#2710)
* Move colours from the store to the utils helper

* Use a single array for colours
2022-10-12 06:49:12 +00:00
SC f12b9e1dc8
Translated using Weblate (Portuguese)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt/
2022-10-11 14:20:49 +02:00
atilluF ae9d3290be
Translated using Weblate (Italian)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-10-11 12:21:19 +02:00
dependabot[bot] b2b9d97390
Bump electron-builder from 23.3.3 to 23.6.0 (#2705)
Bumps [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder) from 23.3.3 to 23.6.0.
- [Release notes](https://github.com/electron-userland/electron-builder/releases)
- [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-builder/CHANGELOG.md)
- [Commits](https://github.com/electron-userland/electron-builder/commits/v23.6.0/packages/electron-builder)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-11 09:39:59 +02:00
Emma 3c7b143fce
Improving responsiveness in Settings (#2694)
* Removing a `width:auto` which was overriding

the width for a lot of .select-text

* Making the general-settings component not overflow

* Reducing margin in settings when window is narrow

* Moving invidious instance tooltip to reduce overflow

* Reducing the width of sliders to be 100% at maximum

Before this change, the preset width `380px` could easily
be wider than the window.

* Reducing overflow in Theme Settings

- Added breakpoint for theme `select`s
- Added breakpoint for the UI scale slider

* Reducing the remaining overflow in settings

This moves all of the tooltips slightly to the left
when the window is narrow to reduce overflow.

* Expanding the sponsorblock settings to full width

* Moving remaining tooltips into a fixed zone

* Floating the tooltip icon to the right

When the display is narrow, the tooltip
can sometimes overflow, and it is very
difficult to predict how it will overflow
if the tool tip icon comes directly after
a locale string.

This change floats those icons into a
centralized location where the tooltip
can be guaranteed to not overflow.

* Removing some irrelevant changes

* Reducing margin on switches

* Removing bottom margin on the last section

* Making room for overflow ellipsis

* Adding class  `.containsTooltip` to `ft-toggle`

This should make is easier to style the toggles
which contain tooltips specficially.

* Modifying the media query for tooltips

* Adding a media query to reduce data settings margin
2022-10-11 09:38:31 +02:00
Jeff Huang 3af6dd7ff5
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2022-10-11 06:17:17 +02:00
Eric b127c85472
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2022-10-11 06:17:16 +02:00
efb4f5ff-1298-471a-8973-3d47447115dc 40859b5887
Update index.js (#2706) 2022-10-11 09:26:31 +08:00
gallegonovato 3db62f6d81
Translated using Weblate (Spanish)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-10-10 21:24:08 +02:00
Ihor Hordiichuk b4bfbdcd7c
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/uk/
2022-10-10 20:22:04 +02:00
Hosted Weblate bdb8b173f4
Merge branch 'origin/development' into Weblate. 2022-10-10 17:32:21 +02:00
Oğuz Ersen e64db7f40a
Translated using Weblate (Turkish)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2022-10-10 17:32:21 +02:00
Rex_sa 66e1ff3f66
Translated using Weblate (Arabic)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ar/
2022-10-10 17:32:20 +02:00
dependabot[bot] 687352f765
Bump mikefarah/yq from 4.27.5 to 4.28.1 (#2703)
Bumps [mikefarah/yq](https://github.com/mikefarah/yq) from 4.27.5 to 4.28.1.
- [Release notes](https://github.com/mikefarah/yq/releases)
- [Changelog](https://github.com/mikefarah/yq/blob/master/release_notes.txt)
- [Commits](https://github.com/mikefarah/yq/compare/v4.27.5...v4.28.1)

---
updated-dependencies:
- dependency-name: mikefarah/yq
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 17:17:03 +02:00
dependabot[bot] 1508b05909
Bump lefthook from 1.1.1 to 1.1.2 (#2699)
Bumps [lefthook](https://github.com/evilmartians/lefthook) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/evilmartians/lefthook/releases)
- [Changelog](https://github.com/evilmartians/lefthook/blob/master/CHANGELOG.md)
- [Commits](https://github.com/evilmartians/lefthook/compare/v1.1.1...v1.1.2)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 17:16:25 +02:00
Preston b3e0cc3866
Switch token for Flathub deployment 2022-10-10 10:28:19 -04:00
Hosted Weblate c63149d301
Merge branch 'origin/development' into Weblate. 2022-10-10 16:05:14 +02:00
gallegonovato f07aefdef3
Translated using Weblate (Spanish)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-10-10 16:05:14 +02:00
dependabot[bot] 7fb5d47712
Bump yt-channel-info from 3.1.0 to 3.1.1 (#2702)
Bumps [yt-channel-info](https://github.com/FreeTubeApp/yt-channel-info) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/FreeTubeApp/yt-channel-info/releases)
- [Commits](https://github.com/FreeTubeApp/yt-channel-info/compare/v3.1.0...v3.1.1)

---
updated-dependencies:
- dependency-name: yt-channel-info
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 14:02:23 +00:00
efb4f5ff-1298-471a-8973-3d47447115dc 510686812d
Update report.yml (#2704) 2022-10-10 10:00:42 -04:00
dependabot[bot] ce24739a48
Bump mini-css-extract-plugin from 2.6.0 to 2.6.1 (#2701)
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 2.6.0 to 2.6.1.
- [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.6.0...v2.6.1)

---
updated-dependencies:
- dependency-name: mini-css-extract-plugin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-10 14:00:29 +00:00
Hosted Weblate 48fe90e345
Merge branch 'origin/development' into Weblate. 2022-10-10 15:04:36 +02:00
gallegonovato 03cb0dbc47
Translated using Weblate (Galician)
Currently translated at 81.5% (514 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/gl/
2022-10-10 15:04:36 +02:00
Florin Voicu eeeb903645
Translated using Weblate (Romanian)
Currently translated at 98.2% (619 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ro/
2022-10-10 15:04:06 +02:00
HexagonCDN 74f57b7366
Translated using Weblate (Vietnamese)
Currently translated at 97.9% (617 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/vi/
2022-10-10 15:04:06 +02:00
absidue 22a5062334
Move calculateColorLuminance, calculatePublishedDate and buildVTTFileLocally out of the store (#2692) 2022-10-10 07:45:18 +00:00
Aiz 7ca6440a88
Add shortcuts for refresh buttons on Subscription, Trending, and Popular views (#2689)
* add shortcut to subscription refresh button

* add shortcut to most popular refresh button

* add shortcut to trending refresh button

* prevent refresh if currently loading
2022-10-09 09:10:57 -04:00
absidue aa4a01b9ab
Cleanup the web webpack config (#2690) 2022-10-09 09:09:56 -04:00
ChunkyProgrammer 41fee01217
Improve Importing Subscriptions (#2604)
* improve import

* fix merge conflicts

* dont add duplicate subscriptions, remove redundant "uniqueId"

* Update src/renderer/components/data-settings/data-settings.js

Co-authored-by: PikachuEXE <pikachuexe@gmail.com>

* fix unexpected errors

dont show toast when no errors. dont error when already subscribed

* remove check for legacy subscriptions

* rename method

* deduplicate importing code

* remove unused code

Co-authored-by: PikachuEXE <pikachuexe@gmail.com>
2022-10-09 03:08:34 +02:00
efb4f5ff-1298-471a-8973-3d47447115dc 2154255ec3
Advertise FT better in README (#2677)
* logical structure

* swap headings

* remove redundant info

* remove disclaimer

* concrete wording

* swap nightly and unofficial

* smaller header

* redirect users to discussions

* list chapters as feature

* update localization image

* added some features

* more features and reordering

* Change wording in features

* correction on screenshot feature

* condense show/hide into one

* me -> us

* correction on tor proxy

* family

* update proxy feature

* clarify extension builds

* revert previous commit and add statement
2022-10-09 09:03:02 +08:00
Emma 15d2cbbc8c
Fixing the logic for `isExternalLink` (#2687)
`.href` is computed from the real value of the attribute,
and this was causing an issue where isExternalLink would
classify links that should not be external links as external links.
2022-10-08 22:36:29 +02:00
Emma ec00ee3c04
Hiding two vjs controls when the screen is narrow (#2688)
- If picture and picture is disabled, the control can be hidden
when the available screen real estate is small.
- If the width is under 680, the video is already
almost the width of the entire window, so it makes sense
to hide it.
2022-10-08 22:35:28 +02:00
absidue 0f2fe16583
Move fetching of the sponsorblock segments out of the store (#2684) 2022-10-08 16:23:14 -04:00
absidue 9888005c91
Remove unused property from the invidious store (#2686) 2022-10-08 11:09:08 +08:00
dependabot[bot] eea76ad405
Bump vue-eslint-parser from 7.11.0 to 9.1.0 (#2645)
Bumps [vue-eslint-parser](https://github.com/vuejs/vue-eslint-parser) from 7.11.0 to 9.1.0.
- [Release notes](https://github.com/vuejs/vue-eslint-parser/releases)
- [Commits](https://github.com/vuejs/vue-eslint-parser/compare/v7.11.0...v9.1.0)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-07 19:11:39 +02:00
Emma ac5341b309
Replacing `setImmediate` with `setTimeout` (#2683)
* Adding an import for setImmediate

`setImmediate` is a global in node, but
it is technically from the `timers` module,
and it is not global in web.

* Replacing node specific call to `setImmediate`

`setTimeout` is available globally in both node and web
2022-10-07 14:42:13 +00:00
Jiri Grönroos bb90218036
Translated using Weblate (Finnish)
Currently translated at 98.8% (623 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fi/
2022-10-07 12:19:41 +02:00
Kyotaro Iijima 4d80c080e8
Translated using Weblate (Japanese)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ja/
2022-10-07 05:22:34 +02:00
dependabot[bot] d53111d7f1
Bump eslint-plugin-vue from 7.20.0 to 9.6.0 (#2676)
* Bump eslint-plugin-vue from 7.20.0 to 9.6.0

Bumps [eslint-plugin-vue](https://github.com/vuejs/eslint-plugin-vue) from 7.20.0 to 9.6.0.
- [Release notes](https://github.com/vuejs/eslint-plugin-vue/releases)
- [Commits](https://github.com/vuejs/eslint-plugin-vue/compare/v7.20.0...v9.6.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>

* add new lint rules

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: onion chunky <78101139+ChunkyProgrammer@users.noreply.github.com>
2022-10-07 09:43:27 +08:00
Fjuro 9712e1e41f
Translated using Weblate (Czech)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2022-10-06 20:25:10 +02:00
efb4f5ff-1298-471a-8973-3d47447115dc e9e7ebf97e
Create stale.yml (#2680)
* Create stale.yml

* fixes time stamps

* change wait for author 21 -> 14 days
2022-10-06 12:34:27 -04:00
absidue f67c697cbd
Remove the now unused jquery dependency (#2682) 2022-10-06 12:33:18 -04:00