Commit Graph

3765 Commits

Author SHA1 Message Date
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
dependabot[bot] a56e55df96
Bump nedb-promises from 5.0.3 to 6.2.1 (#2644)
Bumps [nedb-promises](https://github.com/bajankristof/nedb-promises) from 5.0.3 to 6.2.1.
- [Release notes](https://github.com/bajankristof/nedb-promises/releases)
- [Changelog](https://github.com/bajankristof/nedb-promises/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bajankristof/nedb-promises/commits)

---
updated-dependencies:
- dependency-name: nedb-promises
  dependency-type: direct:production
  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-06 12:31:42 -04:00
Emma 2e84b442bc
Making `pack:web` work by adding polyfill (#2678)
* Making `pack:web` work

* Removing unnecessary extra line

* Ran `yarn install` to update the lock file

* I'm pretty sure that my lockfile was dirty

* Fixing an incorrect dependency resolution

`buffer` doesn't have to be included through browserify
2022-10-06 14:47:47 +00:00
PikachuEXE da5e967713
^ Update electron 20.x (#2681) 2022-10-06 16:29:04 +02:00
Rusi Dimitrov e6144571aa
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bg/
2022-10-05 20:23:01 +02:00
absidue 5677c3182d
Remove jquery from the ft-player component (#2647) 2022-10-05 08:25:50 +00:00
Jeff Huang ccb980aa0d
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-05 05:21:42 +02:00
dependabot[bot] 209fba2902
Bump mikefarah/yq from 4.0.0.pre.beta1 to 4.27.5 (#2669)
Bumps [mikefarah/yq](https://github.com/mikefarah/yq) from 4.0.0.pre.beta1 to 4.27.5.
- [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/4.0.0-beta1...v4.27.5)

---
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-05 09:11:34 +08:00
dependabot[bot] 643aaf0393
Bump alex-page/github-project-automation-plus from 0.5.1 to 0.8.1 (#2671)
Bumps [alex-page/github-project-automation-plus](https://github.com/alex-page/github-project-automation-plus) from 0.5.1 to 0.8.1.
- [Release notes](https://github.com/alex-page/github-project-automation-plus/releases)
- [Commits](https://github.com/alex-page/github-project-automation-plus/compare/v0.5.1...v0.8.1)

---
updated-dependencies:
- dependency-name: alex-page/github-project-automation-plus
  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-05 09:11:17 +08:00
dependabot[bot] e3abf7be71
Bump bluwy/substitute-string-action from 1 to 2 (#2672)
Bumps [bluwy/substitute-string-action](https://github.com/bluwy/substitute-string-action) from 1 to 2.
- [Release notes](https://github.com/bluwy/substitute-string-action/releases)
- [Commits](https://github.com/bluwy/substitute-string-action/compare/v1...v2)

---
updated-dependencies:
- dependency-name: bluwy/substitute-string-action
  dependency-type: direct:production
  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-04 21:19:33 +02:00
dependabot[bot] 4b5ec404d7
Bump electron-context-menu from 3.1.2 to 3.5.0 (#2675)
Bumps [electron-context-menu](https://github.com/sindresorhus/electron-context-menu) from 3.1.2 to 3.5.0.
- [Release notes](https://github.com/sindresorhus/electron-context-menu/releases)
- [Commits](https://github.com/sindresorhus/electron-context-menu/compare/v3.1.2...v3.5.0)

---
updated-dependencies:
- dependency-name: electron-context-menu
  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-04 21:16:26 +02:00
absidue 5cd2e5a7d0
Replace jquery on the trending page (#2663) 2022-10-04 17:56:10 +00:00
absidue 28e07ec0aa
Replace jquery in the profile selector (#2664) 2022-10-04 17:55:55 +00:00
absidue f87014aedc
Replace jquery in live chat and improve the message styling (#2666)
* Replace jquery in live chat and improve the message styling

* Fix the automatic scrolling
2022-10-04 17:55:13 +00:00
dependabot[bot] 39af7bbf0b
Bump youtube-suggest from 1.1.2 to 1.2.0 (#2674)
Bumps [youtube-suggest](https://github.com/goto-bus-stop/youtube-suggest) from 1.1.2 to 1.2.0.
- [Release notes](https://github.com/goto-bus-stop/youtube-suggest/releases)
- [Changelog](https://github.com/goto-bus-stop/youtube-suggest/blob/default/CHANGELOG.md)
- [Commits](https://github.com/goto-bus-stop/youtube-suggest/compare/v1.1.2...v1.2.0)

---
updated-dependencies:
- dependency-name: youtube-suggest
  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-04 07:47:27 -04:00
Emma 38134bffa0
Centering update prompt card (#2668)
* Making the update prompt card fit inside the window

* Centering the update promptCard using flex
2022-10-04 05:08:26 +00:00
efb4f5ff-1298-471a-8973-3d47447115dc cd35e7085e
Navigation headings for Readme (#2673)
* Navigation headings for Readme

* Fix header from h3 to h2

* switch documentation and faq

* add discussions
2022-10-04 10:56:44 +08:00
Emma 4a70726216
Adding logic to prevent virtual keyboards (#2667)
from closing the search bar
2022-10-04 10:54:31 +08:00
dependabot[bot] 1645ab0889
Bump eslint-plugin-prettier from 4.0.0 to 4.2.1 (#2641)
Bumps [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) from 4.0.0 to 4.2.1.
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-plugin-prettier/compare/v4.0.0...v4.2.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-prettier
  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-03 21:36:39 +02:00
dependabot[bot] 07ccb82c4a
Bump peter-evans/create-pull-request from 3 to 4 (#2670)
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 4.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  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-03 16:41:07 +00:00
Yaron Shahrabani 4296396cfb
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-03 16:21:16 +02:00
nautilusx 7422e79f3d
Translated using Weblate (German)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2022-10-03 14:21:01 +02:00
Sveinn í Felli 2bee33b492
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-03 12:18:48 +02:00
J. Lavoie 7ac5bb86b7
Translated using Weblate (French)
Currently translated at 100.0% (630 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2022-10-03 08:20:03 +02:00
Emma f722340962
Prevent adding extra `/` when concatenating locale paths (#2665)
* Formatting the locales pathname to be more accurate

Before this change, the URL would refer
`https://localhost//static/locales/${locale}.json`
which technically works in most web browsers,
but it does not work in Cordova at all, so this
changes the links to be more accurately:
`https://localhost/static/locales/${locale}.json`

* Removing usage of `path` because it requires a polyfill/shim

* Linting the code
2022-10-02 23:38:01 +00:00
gallegonovato a621c83a90
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-02 23:21:46 +02:00
Fjuro d1d6dabd95
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-02 16:18:21 +02:00
sute1 03f286555e
Translated using Weblate (Japanese)
Currently translated at 98.0% (618 of 630 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ja/
2022-10-02 16:18:20 +02:00
thami simo 2776ca05d8
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-02 04:25:09 +02:00
efb4f5ff-1298-471a-8973-3d47447115dc 8c2d79a035
Changed wording on issue templates (#2661)
* Changed wording on issue templates

* Update bug_report.yaml
2022-10-02 08:14:24 +08:00
efb4f5ff-1298-471a-8973-3d47447115dc 83429b1587
Label new PR's (#2653)
* Create labeler.yml

* Create label-pr.yml

* updated condition of labeling pr

* add dependecies label for dependecies files
2022-10-02 08:13:45 +08:00
absidue dc2cc746cf
Fix the development only js-yaml dependency being included in the release builds (#2646) 2022-10-02 08:12:13 +08:00
efb4f5ff-1298-471a-8973-3d47447115dc 402ddf5cc7
Delete super-linter.yml (#2662) 2022-10-02 07:56:51 +08:00
efb4f5ff-1298-471a-8973-3d47447115dc f06035cba1
Create codeql.yml (#2650) 2022-10-01 19:24:45 -04:00