Commit Graph

2716 Commits

Author SHA1 Message Date
Svallinn 0745f5cec8
Electron/Playlists: Implement playlist synchronization 2021-10-18 00:50:03 +01:00
Svallinn cf72a86606
Electron/Profiles: Implement profile synchronization 2021-10-18 00:31:18 +01:00
Svallinn 329b9dad00
ft-profile-edit: Small fix on profile name missing display 2021-10-18 00:30:11 +01:00
Svallinn 76cde71ed5
Profiles: Implement suplementary profile creation logic 2021-10-18 00:29:56 +01:00
Svallinn b320578807
Electron/History: Implement history synchronization 2021-10-17 23:48:28 +01:00
Svallinn dab73f8150
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).
2021-10-17 23:45:58 +01:00
Svallinn 1b5f40357f
History: Remove unused mutation 2021-10-17 20:02:13 +01:00
Svallinn 15e27bf564
Revert "Store: Implement history synchronization between windows"
This reverts commit 99b61e6178.

This is necessary for an upcoming improved implementation of the
history synchronization.
2021-10-17 03:29:54 +01:00
Svallinn d5d00fdb04
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.
2021-10-16 18:26:47 +01:00
Svallinn 02291b38cf
Everywhere: Replace default profile id magic strings with constant ref 2021-10-16 00:07:44 +01:00
Svallinn 86d0109406
IPC: Replace single sync channel for one channel per sync type 2021-10-16 00:07:43 +01:00
Svallinn 672cffdc6b
IPC: Move channel ids to their own file and make them constants 2021-10-16 00:07:41 +01:00
Svallinn 36b2885198
Profiles: Refactor profiles module 2021-10-16 00:07:40 +01:00
Svallinn 30a23781a1
History: Refactor history module 2021-10-16 00:07:30 +01:00
Sandyran 40154d40ee
Translated using Weblate (Norwegian Nynorsk)
Currently translated at 95.6% (500 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nn/
2021-10-15 23:37:01 +02:00
Sandyran f02e091d53
Translated using Weblate (Norwegian Bokmål)
Currently translated at 94.2% (493 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nb_NO/
2021-10-15 23:36:59 +02:00
mapi68 d5af3f0702
Translated using Weblate (Italian)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2021-10-15 20:35:56 +02:00
mapi68 fdcd5016ad
Translated using Weblate (Italian)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2021-10-15 15:41:36 +02:00
mapi68 e969320396
Translated using Weblate (Italian)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2021-10-15 10:35:54 +02:00
constraintAutomaton ad1fe0c9fb
Make hover on watched video a smooth background transition #1750 (#1812)
* 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
2021-10-15 00:03:11 +02:00
mapi68 abf7f10626
Translated using Weblate (Italian)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2021-10-14 20:35:34 +02:00
mapi68 5187c76c9d
Translated using Weblate (Italian)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2021-10-14 18:40:55 +02:00
mapi68 391a6b1128
Translated using Weblate (Italian)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2021-10-14 13:38:58 +02:00
alium ed9d67bf3c
Translated using Weblate (Czech)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2021-10-14 11:51:34 +02:00
mapi68 673d5b7b45
Translated using Weblate (Italian)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2021-10-14 11:51:33 +02:00
PrestonN 5ad2d75b3f Merge commit 'fde06914b5fa50bf1bac5509d4ec10bab58320aa' 2021-10-12 17:05:29 -04:00
PrestonN dc2ff5e009 Merge commit '2acd3261c49e846c46f05e2223a685797cb15f06' 2021-10-12 17:05:21 -04:00
PrestonN 36e8e7b7aa Merge commit '523a28d0f757807fe09aefdf4a30bb48cb3a4fe2' 2021-10-12 17:05:11 -04:00
PrestonN fde06914b5 Fix issue where playback rate button would disrupt the player layout 2021-10-12 17:04:03 -04:00
PrestonN 2acd3261c4 Fix issue where Invidious DASH files were not being played correctly. 2021-10-12 17:03:22 -04:00
PrestonN 523a28d0f7 Fix text color contrast with main Dracula colors 2021-10-12 16:19:46 -04:00
Sergio Varela f9bd56b70a
Translated using Weblate (Basque)
Currently translated at 7.2% (38 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/eu/
2021-10-12 19:09:55 +02:00
mapi68 3cf6b5da92
Translated using Weblate (Italian)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2021-10-10 10:04:48 +02:00
Rusi Dimitrov 8ad8efcc30
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bg/
2021-10-10 00:04:14 +02:00
SC 8df5363621
Translated using Weblate (Portuguese)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt/
2021-10-09 15:17:36 +02:00
Eric c5ecf00eab
Translated using Weblate (Chinese (Simplified))
Currently translated at 91.2% (477 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2021-10-09 09:02:26 +02:00
Frank.wu 427e6ee115
Translated using Weblate (Chinese (Simplified))
Currently translated at 91.0% (476 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2021-10-09 06:04:57 +02:00
Rex_sa 3a55b8dce3
Translated using Weblate (Arabic)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ar/
2021-10-08 21:03:42 +02:00
Jeff Huang b80a101119
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2021-10-08 05:03:58 +02:00
Gediminas Murauskas bf0a9f8cee
Translated using Weblate (Lithuanian)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/lt/
2021-10-07 20:04:23 +02:00
Oğuz Ersen 1740e22c83
Translated using Weblate (Turkish)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2021-10-07 20:04:22 +02:00
Grzegorz Wójcicki 4e903cc773
Translated using Weblate (Polish)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pl/
2021-10-07 20:04:22 +02:00
Hiers eb0138e131
Updated frame-by-frame function to cover previous edge cases. (#1411)
* Updated frame-by-frame function to cover previous edge cases.

* Minor change to setting fps value.

* Fixed default value and if.
2021-10-07 11:44:39 +00:00
Sveinn í Felli 29026765f4
Translated using Weblate (Icelandic)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/is/
2021-10-07 11:04:05 +02:00
Ihor Hordiichuk 4489a74666
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/uk/
2021-10-07 11:04:04 +02:00
ovari 1b644c90ba
Translated using Weblate (Hungarian)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2021-10-07 11:04:04 +02:00
J. Lavoie dae9a26231
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2021-10-07 11:04:03 +02:00
J. Lavoie 4f023ca284
Translated using Weblate (Spanish)
Currently translated at 99.8% (522 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2021-10-07 11:04:03 +02:00
J. Lavoie c192a06c30
Translated using Weblate (Italian)
Currently translated at 100.0% (523 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2021-10-07 11:04:02 +02:00
Allan Nordhøy 60465ad402
Translated using Weblate (Norwegian Bokmål)
Currently translated at 94.2% (493 of 523 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nb_NO/
2021-10-07 11:04:01 +02:00