Commit Graph

3603 Commits

Author SHA1 Message Date
constraintAutomaton 609996d175
In app download (#1971)
* src/renderer/store/modules/utils.js, src/renderer/components/watch-video-info/watch-video-info.vue, src/renderer/components/watch-video-info/watch-video-info.js, src/renderer/components/ft-icon-button/ft-icon-button.js, src/main/index.js

in-app download in hardcoded path

* download into variable folder supported

download can be done into a specify folder defined in the  settings or can be done by choosing a folder just before the downloading

* src/renderer/store/modules/utils.js: folder is asked before downloading when appropriate

* src/renderer/store/modules/utils.js: toast added for success and faillure

* src/renderer/store/modules/utils.js: mecanism to show download progress

* src/renderer/store/modules/utils.js: percentage symbol added to toast message when displaying progress

* src/renderer/components/download-settings/download-settings.js: clarification comment about electron

* src/renderer/store/modules/utils.js: typo in comment resolved

* src/renderer/store/modules/utils.js: show a toast when there is a file error

* static/locales/fr-FR.yaml: resolved typo in Choose Path

* src/renderer/store/modules/utils.js: download progress notification toast deleted

* corrections of typos, changes in toast messages, toast messages translatable by modifying the ft-toast component to allow translatable strings

* cleaner code for translatable toast

* downloadMedia argument changed from array to object

* src/renderer/components/download-settings/download-settings.sass: trailling space added

* Apply suggestions from code review

folder changed for folderPath

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

* fix forgotten folderPath renaming

* extra space deleted

* starting toast displayed after download folder asks

* audio button deleted

* experimental electron web library deleted because can cause performance issues

* placeholder for web support

* made better condition for web and electon compatibility and small variable renaming

* better error message when user cancel the download

* falling back to asking the user if the download repository doesn't exist

* falling back mode implemented

* console.log for debugging deleted

* useless import deleted

* small renaming

Co-authored-by: PikachuEXE <pikachuexe@gmail.com>
2022-01-30 12:49:16 -05:00
dependabot[bot] c8264c0d4d
Bump node-fetch from 2.6.2 to 2.6.7 (#2032)
Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.2 to 2.6.7.
- [Release notes](https://github.com/node-fetch/node-fetch/releases)
- [Commits](https://github.com/node-fetch/node-fetch/compare/v2.6.2...v2.6.7)

---
updated-dependencies:
- dependency-name: node-fetch
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-30 12:40:29 -05:00
菘菘 5bcc62b68f
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (539 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2022-01-30 11:53:07 +01:00
The Cats fac67ca8e6
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (539 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2022-01-28 18:56:20 +01:00
dependabot[bot] 244869648a
Bump nanoid from 3.1.25 to 3.2.0 (#2017)
Bumps [nanoid](https://github.com/ai/nanoid) from 3.1.25 to 3.2.0.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.1.25...3.2.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-28 10:20:43 -05:00
PikachuEXE 16166ba843
Cleanup/duplicate datastore module (#2023)
* - Remove duplicate datastore file

Which is not referenced and comes from old PR

* - Remove unncessary index
2022-01-28 10:18:02 -05:00
max 8bacacc870
Translated using Weblate (Spanish)
Currently translated at 100.0% (539 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-01-27 12:56:47 +01:00
Adrián López Galera cdfed64735
Translated using Weblate (Spanish)
Currently translated at 100.0% (539 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-01-26 20:53:12 +01:00
Kyotaro Iijima fa198487b7
Translated using Weblate (Japanese)
Currently translated at 100.0% (539 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ja/
2022-01-24 20:53:15 +01:00
mapi68 5f7a9011e0
Translated using Weblate (Italian)
Currently translated at 100.0% (539 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-01-24 06:52:46 +01:00
philip 7ca8ed40c4
Translated using Weblate (Russian)
Currently translated at 99.4% (536 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2022-01-23 20:56:04 +01:00
DFC c6ccc2509f
Translated using Weblate (Spanish (Argentina))
Currently translated at 38.2% (206 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es_AR/
2022-01-23 13:56:09 +01:00
Grzegorz Wójcicki d2b8508d95
Translated using Weblate (Polish)
Currently translated at 100.0% (539 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pl/
2022-01-22 09:57:26 +01:00
Breck Steck 82b0629650
Translated using Weblate (Vietnamese)
Currently translated at 83.1% (448 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/vi/
2022-01-21 23:56:42 +01:00
max e3c06a8033
Translated using Weblate (Spanish)
Currently translated at 100.0% (539 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-01-21 12:56:32 +01:00
zmni 27deed1342
Translated using Weblate (Indonesian)
Currently translated at 98.5% (531 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/id/
2022-01-21 08:55:57 +01:00
Milo Ivir b6b90687cb
Translated using Weblate (Croatian)
Currently translated at 100.0% (539 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hr/
2022-01-20 22:55:53 +01:00
Milo Ivir 4d4c1db92d
Translated using Weblate (German)
Currently translated at 100.0% (539 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2022-01-20 22:55:52 +01:00
Rex_sa 6e2d706e2f
Translated using Weblate (Arabic)
Currently translated at 100.0% (539 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ar/
2022-01-20 18:54:45 +01:00
max 476e0b9154
Translated using Weblate (Spanish)
Currently translated at 100.0% (539 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-01-20 15:54:16 +01:00
max cc51e5a6fc
Translated using Weblate (Spanish)
Currently translated at 100.0% (539 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-01-20 12:54:23 +01:00
Breck Steck d6d4f925ad
Translated using Weblate (Vietnamese)
Currently translated at 78.1% (421 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/vi/
2022-01-20 09:54:29 +01:00
retiolus b265acbad8
Translated using Weblate (Catalan)
Currently translated at 34.3% (185 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ca/
2022-01-20 00:53:54 +01:00
My Random Thoughts 373adf8ec0
Translated using Weblate (English (United Kingdom))
Currently translated at 99.8% (538 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2022-01-19 10:53:26 +01:00
Oskari Lavinto 79340c6510
Translated using Weblate (Finnish)
Currently translated at 98.5% (531 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fi/
2022-01-19 06:52:53 +01:00
Rusi Dimitrov 584413d56e
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (539 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bg/
2022-01-18 19:53:57 +01:00
Oğuz Ersen c66c7f9775
Translated using Weblate (Turkish)
Currently translated at 100.0% (539 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2022-01-18 19:53:56 +01:00
Sveinn í Felli e9fd2083fb
Translated using Weblate (Icelandic)
Currently translated at 100.0% (539 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/is/
2022-01-18 11:54:08 +01:00
Ihor Hordiichuk e52c6fafc9
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (539 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/uk/
2022-01-18 11:54:07 +01:00
Yaron Shahrabani 2b651fabb4
Translated using Weblate (Hebrew)
Currently translated at 97.2% (524 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/he/
2022-01-18 08:54:42 +01:00
Eric 92fe8a6fa3
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (539 of 539 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2022-01-18 08:54:40 +01:00
constraintAutomaton 6caa5da46c
Search option in watch history and favorite playlist (#1942)
* transition duration of 0.5s added to watched videos

* small code reformating

* extra white spaces deleted

* typo in the word transition corrected

* original whitespaces respected

* transition added when hovering end

* video stat components started and properties chosen

* ft-video-stats integraded into the video player for dev and debugging

* using a timer to get video stats and a method to update the statistic every second

* getting statistic from vhs and adaptativeFormat

* frame drop capture

* stats capture in the form of event

* useless comment deleted

* stats render with a for loop in the template

* stats correctly displayed

* overlay stats added

* video stats component deleted

* video stats component deleted inside template video player

* video stats component fully deleted

* modal solution working need more styling and code messy

* lint

* modal working with stats

* keyboard shortcut for stats

* lint fix

* network state is now a string

* new line deleted

* useless whitespace deleted

* package-lock.json remove and ignore

* keyboard shortcut restricted to up arrow

* stats overlay made larger

* align to left corner

* useless formatting of string deleted

* renaming of variable formatedStrats for formattedStats

* keyboard shortcut made into a variable

* lint-fix

* key change for i

* label translated

* whitespace added for gitignore

* lock file not ignored

* videoId stat deleted

* ft-video-player.js, en-US.yaml, fr-FR.yaml: changing percentage stats display

changing the display for percentage stats for the format 'x%' instead of 'xx.xx'

* ft-video-player.js, en-US.yaml, fr-FR.yaml: network state video statistic deleted

* ft-video-player.js: made stats modal background color darker

* ft-video-player.js, en-US.yaml, fr-FR.yaml: video id are now related to the one of youtube

* ft-video-player.js, en-US.yaml, fr-FR.yaml: stats displayed made closet to the youtube implementation

the name are capitalized, the order of display is changed and fps is combined with viewport

* lint-fix

* en-US.yaml, fr-FR.yaml: network state possibilities deleted because not used

* package.json.lock: deleted

* ft-video-player.js: formated_stats renamed for formatted_stats

* lock file deleted

* index.js, ft-video-player.js: handling of right click context menu

via electon ipc bus an event is send to tell the vue component to show the stats modal

* ft-video-player.js, index.js: renaming of video stats display event and definition of it as a variable

* index.js, en-US.yaml: inconsistant capitalization of video statistics label solved

* index.js: pluralized video stats

* ft-video-player.js: fix right click undefined this.player

change the arrow function inside the closure for a function with a bind to this

* ft-video-player.js: handling of the case when this.player is not defined

the property this.stats.display.activated as been added and manage when the to show the stats. In this way in the runtime (it is still refered in the run time but it is capture in an event loop) with dont have to refer to this.player so when it is not defined it doesnt affect the behavior.

* lint fix

* src/renderer/components/ft-video-player/ft-video-player.js: modal.close move into the display event of the statistic context

* lint fix

* src/renderer/components/ft-video-player/ft-video-player.js, static/locales/en-US.yaml, static/locales/fr-FR.yaml: better capitalization of the stats labels

* static/locales/en-US.yaml: fps capitalized

* static/locales/fr-FR.yaml, static/locales/en-US.yaml: capitalized label

* src/renderer/views/History/History.js, src/renderer/store/datastores.js, src/renderer/store/modules/history.js: search history function added and indexing of history database

* npm fix

* src/renderer/views/History/History.js, src/renderer/store/modules/history.js: regex used to handle text search since their is no text indexing

* src/renderer/views/History/History.js, src/renderer/views/History/History.vue: search bar added but not adapted for history search use case

* src/renderer/views/History/History.js, src/renderer/views/History/History.vue: search bar added but not adapted for history search use case

* src/renderer/views/History/History.js, src/renderer/store/modules/history.js, src/renderer/views/History/History.vue: search history working but order do not remain the same depending on search

* src/renderer/views/History/History.js, src/renderer/store/modules/history.js, src/renderer/views/History/History.vue: search history working but order do not remain the same depending on search

* src/renderer/views/History/History.js: loading added when query is empty to order the history

* src/renderer/views/History/History.vue, src/renderer/views/History/History.js, static/locales/en-US.yaml, static/locales/fr-FR.yaml: translation added

* src/renderer/components/ft-list-video/ft-list-video.js, src/renderer/views/History/History.vue, src/renderer/views/History/History.js: fix the bad history reconstruction problem by adding an update hook to ft-list-video component

* lint fix

* src/datastores/handlers/base.js, src/datastores/handlers/electron.js, src/datastores/handlers/web.js, src/datastores/index.js, src/renderer/store/modules/history.js, src/renderer/views/History/History.js, src/constants.js: history adapted to the new db

* src/renderer/store/modules/history.js: print statement deleted

* src/renderer/views/History/History.js, static/locales/en-US.yaml, static/locales/fr-FR.yaml: search history place holder renamed

* search playlists backend

* search bar added into the frontend, search method of playlist deleted because the document are the playlist and not the videos

* src/renderer/store/modules/playlists.js: commment typo resolved

* placeholder name of search bar only defined into the .vue file instead of in the .js file

* src/renderer/components/ft-list-video/ft-list-video.js: fix the mecanism to modify a video card to reflect the current data

* src/renderer/views/History/History.js: doesn't load when query is empty

* src/renderer/components/ft-list-video/ft-list-video.js: fix problem date disapearing

* video id query deleted from search in history and playlist
2022-01-18 00:03:54 -05:00
dependabot[bot] bb6ffe0a88
Bump follow-redirects from 1.14.3 to 1.14.7 (#2011)
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.3 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.3...v1.14.7)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-17 03:42:04 -05:00
Nicole Richwine 54705540ff
Translated using Weblate (Serbian)
Currently translated at 63.3% (340 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sr/
2022-01-14 18:56:12 +01:00
Milo Ivir 6fd7822a34
Translated using Weblate (Serbian)
Currently translated at 63.3% (340 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sr/
2022-01-14 18:56:12 +01:00
Milo Ivir 2a6d12ea15
Translated using Weblate (Croatian)
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hr/
2022-01-14 18:56:12 +01:00
Milo Ivir 579ac7f203
Translated using Weblate (German)
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2022-01-14 18:56:11 +01:00
Jakub fa45a572c1
Translated using Weblate (Slovak)
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/sk/
2022-01-13 21:56:12 +01:00
Grzegorz Wójcicki 5eaa8d4e93
Translated using Weblate (Polish)
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pl/
2022-01-12 13:53:59 +01:00
Daniel b2fb12586b
Translated using Weblate (Romanian)
Currently translated at 99.4% (534 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ro/
2022-01-12 06:54:02 +01:00
PrestonN 2be2301d92 Prevent middle click from opening URLs within the app 2022-01-10 21:16:50 -05:00
dependabot[bot] 24265613e7
Bump node-forge from 0.10.0 to 1.0.0 (#1987)
Bumps [node-forge](https://github.com/digitalbazaar/forge) from 0.10.0 to 1.0.0.
- [Release notes](https://github.com/digitalbazaar/forge/releases)
- [Changelog](https://github.com/digitalbazaar/forge/blob/main/CHANGELOG.md)
- [Commits](https://github.com/digitalbazaar/forge/compare/0.10.0...v1.0.0)

---
updated-dependencies:
- dependency-name: node-forge
  dependency-type: direct:production
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-08 11:36:52 -05:00
efb4f5ff-1298-471a-8973-3d47447115dc ceaf048b19
fix auto add labels (#1989) 2022-01-08 09:23:22 -05:00
petaded 84a8efdb4d
fix search suggestion exiting container (#1984)
Co-authored-by: petaded <code@zikl.co.uk>
2022-01-08 14:00:49 +08:00
ChunkyProgrammer 6d32bd0f5f
Switch to yaml issue templates (forms) (#1593)
* Delete bug_report.md

* Delete discussion.md

* Delete question.md

* Delete feature_request.md

* Create bug_report.yaml

* Create config.yml

* Create discussion.yaml

* Create feature_request.yaml

* Create question.yaml

* Fix dropdown list

* Update bug_report.yaml

* Update feature_request.yaml

* added checkbox for duplicate issue

* removed label icons

* Update bug_report.yaml

* replaced checkboxes in dropdowns

* Update bug_report.yaml

* Update feature_request.yaml

* Update question.yaml

* Update question.yaml

* Update question.yaml

* Update discussion.yaml

* Update bug_report.yaml

* Update bug_report.yaml

* Update bug_report.yaml

* Update feature_request.yaml

* Update feature_request.yaml

* Update feature_request.yaml

* Update feature_request.yaml

* Update question.yaml

* Update bug_report.yaml

* removed discussion and question template

* added readme and label

* fixes hyperlinks

* fix typo

* fix I

* fixed I

* Create autoLabelIssue.yaml

* Update bug_report.yaml

* added description, changed required to true and moved the codeblock

* moved labels dropdown to logical place

* added all bug labels

* added enhancement labels

* label api issue added

* new feature label added

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>
2022-01-07 22:34:34 -05:00
efb4f5ff-1298-471a-8973-3d47447115dc c14bd0eaed
Waiting author (#1831)
* Create dependent-issues.yml

* Update dependent-issues.yml

* Create no-response.yml

* Update no-response.yml

* Delete no-response.yml

* Delete dependent-issues.yml

* Add files via upload

* Update no-response.yml

* added closeComment

* Update no-response.yml
2022-01-07 22:29:01 -05:00
retiolus 842fec0b46
Translated using Weblate (Catalan)
Currently translated at 29.6% (159 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ca/
2022-01-06 15:54:55 +01:00
neko 208663578f
Translated using Weblate (Indonesian)
Currently translated at 98.1% (527 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/id/
2022-01-06 07:54:04 +01:00
ChunkyProgrammer f81cee055f
Fix: parsing video info of videos with like count disabled (#1915)
* fix watch-video-info

* don't display likes as 0 when disabled
2022-01-03 23:00:33 +00:00
ssantos fec545ee86
Translated using Weblate (Portuguese)
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt/
2022-01-02 00:55:21 +01:00