Commit Graph

2530 Commits

Author SHA1 Message Date
Svallinn 40d7278383
Invidious: Randomize instance on startup
There are now two separate settings related to Invidious instances:
- currentInvidiousInstance
- defaultInvidiousInstance

'currentInvidiousInstance' is a value that exists solely in memory
and it's the value used by the app to make the API calls,
while 'defaultInvidiousInstance' is the value that can be persisted
in the database by user action and will be used to initiate
the 'currentInvidiousInstance' on startup.

If the user has not saved a default value to the database,
'currentInvidiousInstance' is randomized from
a fetched list of viable candidates.
2021-07-03 02:55:56 +01:00
Svallinn d55be8dcc5
Build: Bump copyright year 2021-07-02 17:54:59 +01:00
Svallinn 28f7f3ddac
Update package.json
- Move things around
- Remove unnecessary "xml2json" package
- Remove unnecessary "electron-rebuild" package
- Add "clean" script / Add "rimraf" to devDeps
- Modify some scripts
2021-07-02 17:54:39 +01:00
Svallinn 4047f6ea17
Revert "Update package.json"
This reverts commit 71ac1d52dd.
2021-07-02 17:33:27 +01:00
Cube Kassaki 417729a43b
Translated using Weblate (Chinese (Simplified))
Currently translated at 93.4% (457 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2021-07-02 04:34:07 +02:00
Svallinn 71ac1d52dd
Update package.json
- Move things around
- Add "clean" script / Add "rimraf" to devDeps
- Remove unnecessary "xml2json" package
2021-07-02 03:20:12 +01:00
Toldi Balázs fb341a3d11
Translated using Weblate (Hungarian)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hu/
2021-06-30 04:32:18 +02:00
qwerty287 de8a5f680d
Translated using Weblate (German)
Currently translated at 97.5% (477 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2021-06-29 18:34:04 +02:00
GM da5d4febc5
Translated using Weblate (Lithuanian)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/lt/
2021-06-28 20:34:18 +02:00
GM 979deca8b2
Translated using Weblate (Lithuanian)
Currently translated at 77.0% (377 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/lt/
2021-06-28 10:33:50 +02:00
GM 7a972638ea
Translated using Weblate (Lithuanian)
Currently translated at 74.6% (365 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/lt/
2021-06-28 00:01:52 +02:00
GM 25dd773a79
Added translation using Weblate (Lithuanian) 2021-06-27 20:56:38 +02:00
Ivan b8a5f4acee
Translated using Weblate (Russian)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2021-06-27 14:34:12 +02:00
Svallinn 41574a9633
Chore: Bump version number to 0.13.2 2021-06-27 04:06:24 +01:00
Eric a68e627745
Translated using Weblate (Chinese (Simplified))
Currently translated at 89.5% (438 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2021-06-27 04:34:09 +02:00
Dennis ten Hoove 696d6db238
Translated using Weblate (Dutch)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nl/
2021-06-26 23:33:24 +02:00
David Rebolo Magariños 571b218be6
Translated using Weblate (Galician)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/gl/
2021-06-26 20:34:34 +02:00
Oymate 64b54925b5
Translated using Weblate (Bengali)
Currently translated at 12.2% (60 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bn/
2021-06-26 09:34:45 +02:00
Svallinn 1c54954062
Merge branch 'hotfix-v0.13.2' into development 2021-06-26 05:58:57 +01:00
Svallinn 75d1984138
Hotfix: Update `ytdl-core` dependency to 4.8.3 2021-06-26 05:38:38 +01:00
Svallinn 99b61e6178
Store: Implement history synchronization between windows 2021-06-26 05:06:21 +01:00
Svallinn b68e1700c0
Main+Renderer: Make IRC window syncing channels more generic
This commit renames the 'syncSettings' IRC channels to 'syncWindows' and
changes the renderer's listener setup for this channel more generic
so that it can cover other store modules besides the settings' module.
2021-06-26 05:06:18 +01:00
Svallinn 8f4a5ee1bd
Store/History: Prevent actions from unnecessarily using the filesystem
Most actions in the history module would grab the history from disk
every time the history was updated and updated the cache this way.

This commit makes these actions perform these modifications in memory
instead of unnecessarily reaching into the disk.
2021-06-26 05:04:31 +01:00
Márcio Ghroll~# e3167782ce
Translated using Weblate (Portuguese (Brazil))
Currently translated at 99.7% (488 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt_BR/
2021-06-26 02:48:07 +02:00
Sveinn í Felli 8b17c25ef6
Translated using Weblate (Icelandic)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/is/
2021-06-25 21:34:45 +02:00
Emilia 036a310cd8
Translated using Weblate (Dutch)
Currently translated at 98.7% (483 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/nl/
2021-06-25 21:34:44 +02:00
Sveinn í Felli a6e83f410d
Translated using Weblate (Icelandic)
Currently translated at 98.9% (484 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/is/
2021-06-25 18:34:35 +02:00
Adolfo Jayme Barrientos a5a858b6c3
Translated using Weblate (Spanish)
Currently translated at 97.7% (478 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2021-06-25 13:35:05 +02:00
Harsh Kumar 25a444b7b8
Translated using Weblate (Hindi)
Currently translated at 15.3% (75 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hi/
2021-06-24 20:34:25 +02:00
Milo Ivir b9e25cbaa2
Translated using Weblate (Croatian)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hr/
2021-06-24 03:36:40 +02:00
Oi Suomi On b60311edaa
Translated using Weblate (Finnish)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fi/
2021-06-22 21:34:00 +02:00
Karl Tammik fc45203dec
Translated using Weblate (Estonian)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/et/
2021-06-21 23:33:49 +02:00
Karl Tammik e33d29e6a7
Translated using Weblate (Estonian)
Currently translated at 98.9% (484 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/et/
2021-06-21 17:34:37 +02:00
мачко 367b381696
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bg/
2021-06-20 10:34:24 +02:00
Чтабс 55ce17ee78
Translated using Weblate (Russian)
Currently translated at 99.7% (488 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2021-06-20 10:34:23 +02:00
Svallinn 9859a7ce18
App+Settings: Make locale changes reactive between windows
This commit moves the locale relevant code to the settings' store module
and incorporates it with its current architecture.

I should clarify that this makes the value present in the `localStorage`
nonmeaningful, as that value is no longer being used in any way.
2021-06-20 02:47:44 +01:00
Svallinn d3e6d57f20
Main+Utils: Rename `getLocale` function to `getSystemLocale` 2021-06-20 02:47:33 +01:00
Svallinn 5cc954066b
Renderer: Move vue-i18n to its own file 2021-06-20 02:40:40 +01:00
Svallinn 4f96aacbf6
Chore: Replace `youtube-chat` package with `@freetube/youtube-chat`
Having control of the package enables us to update its dependencies
and react to vulnerability advisories.
2021-06-19 19:12:42 +01:00
Svallinn 52f35e5be3
Chore: Update `webpack-dev-server` to its `next` version (4.0.0-beta3) 2021-06-19 19:12:42 +01:00
Dragibus Noir 48faf47dc3
Translated using Weblate (French)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2021-06-19 09:35:42 +02:00
Svallinn 7c78eb75b8
Chore: Fix some package dependencies
`npm dedupe` is apparently not all of what's cut out to be...
2021-06-18 15:26:11 +01:00
alium b2cc2db14e
Translated using Weblate (Czech)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2021-06-17 23:34:41 +02:00
Rusi Dimitrov 80652551bd
Translated using Weblate (Bulgarian)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/bg/
2021-06-17 21:34:42 +02:00
Svallinn 51d36634fb
Chore: Update `webpack` package 2021-06-17 16:28:49 +01:00
Svallinn be11e3d8cb
Chore+Refactor: Replace `nedb` package with `nedb-promises`
The 'nedb' package is unmaintained (last update was 5 years ago) and
has a couple of high severity vulnerabilities.

In addition, the use of callbacks is somewhat cumbersome for
the project's current workflow.

Therefore, I've decided to replace it with the 'nedb-promises' package,
which, internally, makes use of a maintained fork of 'nedb' and
wraps its API with Promises.
2021-06-17 04:21:58 +01:00
Svallinn 73c198a30c
Chore: Replace `markdown` package with `marked`
The 'markdown' package is unmaintained (last update was 8 years ago)
and has a low severity vulnerability, so it makes sense to replace it
with 'marked', which is actively maintained and very small in size.
2021-06-17 04:14:06 +01:00
Svallinn 990417a588
Chore: Update and dedupe various dependencies 2021-06-16 17:39:16 +01:00
Svallinn 77e743060f
Main+Renderer+Dev-Runner: Refactor smooth scrolling toggling
Smooth scrolling toggling is currently wonky on runtime, since,
most of the time, it doesn't toggle on and off properly.
In addition, now that we have multi-window support,
the current implementation was somewhat lacking.

This commit solves those issues by replacing
the existing smooth scrolling related channels with a
new generic `relaunchRequest` channel.
2021-06-16 05:43:26 +01:00
Svallinn bceab435b7
Main: Move session data cleanup to `window-all-closed` event
Since the session is shared by all 'BrowserWindow's and
it can be accessed without a window reference,
it's best to clear data when the 'window-all-closed' event is emitted.
2021-06-16 05:43:25 +01:00