Commit Graph

3461 Commits

Author SHA1 Message Date
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
Svallinn bbc9b63357
Main: Simplify `createWindow` function
With the knowledge that the session is shared by all 'BrowserWindow's,
proxy and cookie related logic can now be set once on startup and
it's not necessary to set them again for every window created.
2021-06-16 05:43:09 +01:00
Svallinn bd4e867db1
Main: Change `window.webContents.session` to `session.defaultSession`
Previously, the code misleadingly lead developers to believe that
each 'BrowserWindow' had its own isolated session.
This commit clarifies the fact that a global session is shared
by all 'BrowserWindow's by default.
2021-06-16 05:34:38 +01:00
Svallinn 0551ce44f2
Main+Renderer: Enforce synchronous messages on `setBounds` channel
This should fix an issue where, when closing the app, an error window
would very occasionally pop up declaring that 'getNormalBounds'
was called on an undefined variable.
2021-06-16 05:34:37 +01:00
Svallinn 65df233e8a
Profile+Everywhere: Tweak CSS on profile related components
This commit improves the centering of profile bubble initials
and tweaks other parts of profile related components.
2021-06-16 05:34:37 +01:00
Dragibus Noir 29ca006142
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-16 05:34:23 +02:00
kuhaku 903e1a37e7
feat(external-player): add cmd argument mapping for VLC player (#1409)
Signed-off-by: Randshot <randshot@norealm.xyz>
2021-06-15 21:54:10 +02:00
PikachuEXE 6d2b1f3632
Top-Nav: Improve search filter's appearance (#1360)
* Update search filter style to have little transparency & smaller size
2021-06-15 14:53:06 +00:00
PikachuEXE 9acafc7292
* Update top nav search input to disable spellcheck (#1346) 2021-06-15 14:42:37 +00:00
PikachuEXE 825bec1a81
* Update playlist page thumbnail to start playing first video on click (#1361) 2021-06-15 14:42:00 +00:00
PikachuEXE 78b6adeb5e
Playlist: create navigation to the respective channel (#1347) 2021-06-15 14:18:08 +00:00
Dragibus Noir 5ec5ef300f
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-15 13:34:02 +02:00
Jeff Huang 6f582cb9b5
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2021-06-15 06:34:18 +02:00
Dragibus Noir 85a7e99862
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-15 03:35:59 +02:00
qwerty287 53988a2164
Translated using Weblate (German)
Currently translated at 96.5% (472 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2021-06-14 22:34:09 +02:00
PikachuEXE ce15f4b7c4
Watch: stop autoplay countdown toasts when navigating to another page (#1287) 2021-06-14 18:10:21 +00:00
ChunkyProgrammer bb3edb750f
Hide trending and most popular when set to hidden (Portrait Mode) (#1324)
* hide trending & popular videos from bottom nav

* add computed properties for Hide Popular & Hide Trending
2021-06-14 17:54:03 +00:00
PikachuEXE 588b488856
Watch: set volume's session value to 0 when the player is muted (#1352) 2021-06-14 17:15:46 +00:00
ChunkyProgrammer f6c2e0937b
Fix emoji initials in Profile Previews (#1407)
* updated get profile initial methods

* simplify return statements
2021-06-14 16:59:09 +00:00
zmni 92dadefbbd
Translated using Weblate (Indonesian)
Currently translated at 100.0% (489 of 489 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/id/
2021-06-14 17:35:32 +02:00