Commit Graph

3074 Commits

Author SHA1 Message Date
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
André Marcelo Alvarenga
ff8b4a9ee6
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2021-12-27 21:53:00 +01:00
J. Lavoie
846d9ee17c
Translated using Weblate (French)
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-12-27 21:52:59 +01:00
The Cats
9320a011fa
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2021-12-27 19:49:16 +01:00
Dennis ten Hoove
d2bc1821ba
Translated using Weblate (Dutch)
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nl/
2021-12-21 01:51:31 +01:00
zmni
73c074a528
Translated using Weblate (Indonesian)
Currently translated at 97.5% (524 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/id/
2021-12-17 16:51:18 +01:00
Nikita Epifanov
93dd4cdefa
Translated using Weblate (Russian)
Currently translated at 99.6% (535 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2021-12-16 15:54:24 +01:00
Svallinn
daecf944fb
Store Revamp / Full database synchronization across windows (#1833)
* History: Refactor history module

* Profiles: Refactor profiles module

* IPC: Move channel ids to their own file and make them constants

* IPC: Replace single sync channel for one channel per sync type

* Everywhere: Replace default profile id magic strings with constant ref

* Profiles: Refactor `activeProfile` property from store

This commit makes it so that `activeProfile`'s getter returns
the entire profile, while the related update function only needs
the profile id (instead of the previously used array index)
to change the currently active profile.

This change was made due to inconsistency regarding the active profile
when creating new profiles.
If a new profile coincidentally landed in the current active profile's
array index after sorting, the app would mistakenly change to it
without any action from the user apart from the profile's creation.
Turning the profile id into the selector instead solves this issue.

* Revert "Store: Implement history synchronization between windows"

This reverts commit 99b61e6178.

This is necessary for an upcoming improved implementation of the
history synchronization.

* History: Remove unused mutation

* Everywhere: Create abstract database handlers

The project now utilizes abstract handlers to fetch, modify
or otherwise manipulate data from the database.

This facilitates 3 aspects of the app, in addition of
making them future proof:

- Switching database libraries is now trivial
Since most of the app utilizes the abstract handlers, it's incredibly
easily to change to a different DB library.
Hypothetically, all that would need to be done is to simply replace the
the file containing the base handlers, while the rest of the app
would go unchanged.

- Syncing logic between Electron and web is now properly separated
There are now two distinct DB handling APIs: the Electron one and
the web one.
The app doesn't need to manually choose the API, because it's detected
which platform is being utilized on import.

- All Electron windows now share the same database instance
This provides a single source of truth, improving consistency
regarding data manipulation and windows synchronization.

As a sidenote, syncing implementation has been left as is
(web unimplemented; Electron only syncs settings, remaining
datastore syncing will be implemented in the upcoming commits).

* Electron/History: Implement history synchronization

* Profiles: Implement suplementary profile creation logic

* ft-profile-edit: Small fix on profile name missing display

* Electron/Profiles: Implement profile synchronization

* Electron/Playlists: Implement playlist synchronization
2021-12-15 13:42:24 -05:00
Gabriel Cardoso
3ad9dd2517
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.4% (534 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2021-12-10 03:50:28 +01:00
jmacedo
469851d14d
Translated using Weblate (Catalan)
Currently translated at 27.9% (150 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ca/
2021-12-08 11:53:24 +01:00
Sveinn í Felli
481570660b
Translated using Weblate (Icelandic)
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/is/
2021-12-06 17:52:17 +01:00
Rusi Dimitrov
92426e365a
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bg/
2021-12-05 15:52:10 +01:00
Karl Tammik
53a3f62f16
Translated using Weblate (Estonian)
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/et/
2021-12-05 12:51:12 +01:00
Karl Tammik
6aae04663a
Translated using Weblate (Estonian)
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/et/
2021-12-02 20:53:33 +01:00
Sveinn í Felli
500c462158
Translated using Weblate (Icelandic)
Currently translated at 99.8% (536 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/is/
2021-12-02 16:52:15 +01:00
Kyotaro Iijima
5ef09effe8
Translated using Weblate (Japanese)
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ja/
2021-12-02 01:51:30 +01:00
PikachuEXE
17676af5d4
^ Update electron to latest 15.x (#1928) 2021-11-30 21:05:26 -05:00
Tetsuro Shimazaki
aaa295222d
Translated using Weblate (Japanese)
Currently translated at 99.8% (536 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ja/
2021-12-01 00:53:14 +01:00
absidue
82b223ea97
Select current playback rate in playback rate selector (#1902)
* Select current playback rate in playback rate selector

* More concise implementation

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

* Scroll to the selected element instead of focusing it

Co-authored-by: PikachuEXE <pikachuexe@gmail.com>
2021-11-30 22:08:33 +00:00
fbr
842dc93231
Translated using Weblate (Catalan)
Currently translated at 27.7% (149 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ca/
2021-11-29 20:51:00 +01:00
Milo Ivir
d66b11c1bb
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/
2021-11-28 19:51:03 +01:00
g
eb22964aa5
Translated using Weblate (Lithuanian)
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/lt/
2021-11-27 16:53:04 +01:00
mapi68
8ace48048a
Translated using Weblate (Italian)
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2021-11-26 15:51:50 +01:00
J. Lavoie
ac6e0188ab
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2021-11-26 03:50:39 +01:00
J. Lavoie
358322cc95
Translated using Weblate (Italian)
Currently translated at 99.8% (536 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2021-11-26 03:50:39 +01:00
J. Lavoie
c34fce5379
Translated using Weblate (French)
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-11-26 03:50:38 +01:00
J. Lavoie
36f864d596
Translated using Weblate (Finnish)
Currently translated at 98.5% (529 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fi/
2021-11-26 03:50:37 +01:00
J. Lavoie
28a243d9e7
Translated using Weblate (German)
Currently translated at 99.6% (535 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2021-11-26 03:50:36 +01:00
Ihor Hordiichuk
341968c822
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (537 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/uk/
2021-11-25 22:50:34 +01:00
Kyotaro Iijima
cf877d49d8
Translated using Weblate (Japanese)
Currently translated at 99.8% (536 of 537 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ja/
2021-11-25 22:50:33 +01:00