Commit Graph

3785 Commits

Author SHA1 Message Date
absidue 644df97acc
Increase width of quality selector so that 1080p60 doesn't overflow into the full screen button (#2556) 2022-09-10 14:14:18 +00:00
Vik 4b47ebee1c
Translated using Weblate (Russian)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2022-09-09 22:20:37 +02:00
Emma 77470751c3
Localization inconsistency fix for Local API (#2535)
* Applying a workaround for localization issue

This changes where the title comes from on the response object from ytdl.
This is related to FreeTubeApp#2530.

* Applying the same workaround on the description

* Added a fallback to videoDetails

* Adding a console error to the title try block

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>

* Simplifying a loop to Array.join

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>

* Adding a console error to the description try block

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>

* Add a map for the description lines

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>

* Added a question mark operator for descriptions

This should prevent errors from erroneously being thrown on videos
which have a blank description. If the description is undefined or does
not contain a 'runs' field, the resulting descriptionLines should be
and empty array. Then, videoDescription will be an empty string.

* Each line already contains a `\n`

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
2022-09-09 13:39:56 -04:00
Massimo Pissarello efc5477563
Translated using Weblate (Italian)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-09-09 11:18:19 +02:00
ChunkyProgrammer 4e1c843a48
update autolinker to version 4 (#2552) 2022-09-09 09:10:10 +08:00
Massimo Pissarello c2329b9e42
Translated using Weblate (Italian)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-09-08 19:22:10 +02:00
Massimo Pissarello b6e17b6bde
Translated using Weblate (Italian)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-09-08 17:21:55 +02:00
J. Lavoie 7b7c9990f5
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2022-09-08 15:22:21 +02:00
J. Lavoie 91ca964913
Translated using Weblate (Italian)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-09-08 15:22:21 +02:00
J. Lavoie 790265ed7d
Translated using Weblate (Finnish)
Currently translated at 99.8% (619 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fi/
2022-09-08 15:22:20 +02:00
J. Lavoie d853b27194
Translated using Weblate (German)
Currently translated at 99.8% (619 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2022-09-08 15:22:20 +02:00
PikachuEXE c845df9d53
^ Update electron 20.x (#2549) 2022-09-08 07:09:49 -04:00
ChunkyProgrammer f7f1672b8a
update electron-builder (#2546) 2022-09-08 08:39:22 +08:00
Milo Ivir 65cc82af78
Translated using Weblate (Croatian)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hr/
2022-09-07 21:22:07 +02:00
Егор Ермаков 76ee250694
Translated using Weblate (Russian)
Currently translated at 99.8% (619 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2022-09-07 17:21:34 +02:00
Jeff Huang 3aa90dc905
Translated using Weblate (Chinese (Traditional))
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hant/
2022-09-07 05:26:41 +02:00
Jai A P ce77d16ff5
Add linux armv7l and win/osx arm64 builds (#2113)
* Add linux armv7l

* Add linux armv7l

* Update release.yml

* Update build.yml

* Update release.yml

* Update build.js

* Update release.yml

* Update build.yml

* Update release.yml

* Update release.yml

* Update build.yml

* Update _scripts/build.js

Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>

* Update _scripts/build.js

Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>

* Update _scripts/build.js

Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>

* Update build.yml

* Update build.yml

* Update release.yml

* Remove squirrel build from windows as unused

* Update build.yml

* Update release.yml

* Update build.yml

* Update release.yml

* Update build.yml

* Update release.yml

* Update .github/workflows/release.yml

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

* Update .github/workflows/build.yml

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

Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>
Co-authored-by: PikachuEXE <pikachuexe@gmail.com>
2022-09-06 21:18:29 +00:00
Rex_sa 9faff9087b
Translated using Weblate (Arabic)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ar/
2022-09-06 22:22:51 +02:00
Fjuro a15af3a778
Translated using Weblate (Czech)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/cs/
2022-09-06 17:22:50 +02:00
ChunkyProgrammer 9236f37d6e
move conflict checker to workflows (#2545) 2022-09-06 16:47:06 +02:00
Grzegorz Wójcicki 2a4ca22f66
Translated using Weblate (Polish)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pl/
2022-09-06 16:22:57 +02:00
efb4f5ff-1298-471a-8973-3d47447115dc beece01cdf
Add files via upload (#2285) 2022-09-06 11:38:51 +00:00
Yaron Shahrabani 059eeab47a
Translated using Weblate (Hebrew)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/he/
2022-09-06 09:22:39 +02:00
Oğuz Ersen d0394e6fba
Translated using Weblate (Turkish)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/tr/
2022-09-06 07:21:20 +02:00
absidue eaa15ea833
Webpack bundle dependencies (#2511)
* Allow webpack to bundle *most* dependencies

* Exclude *most* node_modules from getting packaged by electron-builder

* Import only the required icons instead of bundling the whole icon pack

* Reduce packaging blacklist to only include the few things that still need blacklisting
2022-09-06 02:29:10 +00:00
Sveinn í Felli a453c8436e
Translated using Weblate (Icelandic)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/is/
2022-09-06 03:28:19 +02:00
Ihor Hordiichuk 780105af2b
Translated using Weblate (Ukrainian)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/uk/
2022-09-06 03:28:18 +02:00
J. Lavoie cdd390229f
Translated using Weblate (Italian)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-09-06 03:28:17 +02:00
J. Lavoie 9452693824
Translated using Weblate (French)
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2022-09-06 03:28:17 +02:00
Eric 87c771ff58
Translated using Weblate (Chinese (Simplified))
Currently translated at 100.0% (620 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/zh_Hans/
2022-09-06 03:28:16 +02:00
J. Lavoie 8ebf680ceb
Translated using Weblate (German)
Currently translated at 99.6% (618 of 620 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2022-09-06 03:28:15 +02:00
absidue d67a537d1c
Update copy-webpack-plugin dependency to 11.0.0 (#2541) 2022-09-06 08:45:35 +08:00
absidue 3d66da973e
Update ytdl-core to 4.11.2 (#2542) 2022-09-06 08:44:56 +08:00
Aiz c784841b22
Display time remaining until video goes live (#2501)
* display time left until video premiers:

* video premiere display time left with time units

Displays time left in seconds, minutes, hours, and days.

This depends on how much time is left.

* premiere time left, display time in singular if needed

also simplified the big if block

* premiere time left, display time unit in lowercase

* Add Starting Soon string to locale file

* apply fixes reported by linter

* premiere time left, add suggested changes

Better temp variable scoping, flatten nested code, rename temp variables, use string intepolation

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

* replace tabs with spaces

tabs where used in some places in the suggested code

* display time left, remove "starting soon" string

Since upcomingTimeStamp will be null when the time has passed the scheduled timestamp
it doesn't make sense to use something that will rarely be displayed.
e.g. a user has to click on the video with less than a second remaing until it goes live for it to be displayed

it would also be displayed as "Premieres in Starting soon" which doesn't make sense

* display 'less than a minute' instead of exactly how many seconds remain

Looks better and works for values less than 0

Co-authored-by: PikachuEXE <pikachuexe@gmail.com>
2022-09-05 23:45:45 +02:00
Malik 141860376d
#2463: Change formats button title from "Video" to "Media" (#2537) 2022-09-05 09:07:48 +00:00
absidue 1e58be273e
Update babel and specify exact node version target (#2536) 2022-09-05 09:29:53 +08:00
gallegonovato e6a134ab46
Translated using Weblate (Spanish)
Currently translated at 94.3% (583 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-09-04 19:16:27 +02:00
absidue 78fd045a15
Update webpack (#2534) 2022-09-04 07:40:53 -04:00
efb4f5ff-1298-471a-8973-3d47447115dc ae1d1548f1
fix broken url (#2533) 2022-09-04 07:22:30 +08:00
efb4f5ff-1298-471a-8973-3d47447115dc 4a402652bd
Compress images (#2532)
* Create calibreapp-image-actions.yml

* Update calibreapp-image-actions.yml

* Update calibreapp-image-actions.yml

* Update calibreapp-image-actions.yml

* Update calibreapp-image-actions.yml

* Update calibreapp-image-actions.yml

* Compressed Images

* Update calibreapp-image-actions.yml

* correction on comment

Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>
2022-09-03 15:23:08 +02:00
absidue 9961183c1b
Only generate the web assets directory during web builds (#2528)
* Webpack 5 optimises productions builds by default, no need for the LoaderOptionsPlugin

* Only create web assets during web build
2022-09-02 09:19:06 -04:00
ChunkyProgrammer 44c010c5fe
update yt-channel-info (#2527) 2022-09-02 11:23:53 +08:00
absidue 717f23e0dd
Update yt-comment-scraper to 6.2.0 (#2523) 2022-09-01 19:43:20 +08:00
PikachuEXE 14ab1ad3c1
^ Update electron 20.x (#2525) 2022-09-01 09:10:46 +00:00
absidue c0285c38c4
Update yt-trending-scraper to 3.1.0 (#2522) 2022-08-31 20:55:10 -04:00
Темак 67ec849f41
Translated using Weblate (Russian)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ru/
2022-08-31 19:22:50 +02:00
PikachuEXE cb63b12caf
Update top nav search input to open new window on shift click/enter (#2427)
* * Update search input shift click to open new window

* - Remove unused import

Probably auto added by IDE...
2022-08-29 09:40:42 +00:00
absidue b6740acc37
Switch back to upstream ytdl-core (#2510) 2022-08-27 07:58:33 +08:00
PikachuEXE 680abbebd8
Upgrade electron from 16 > 20 (#2448)
* ^ Upgrade electron 16.x > 20.x

* 20.0.1

* 20.0.2

* 20.1.0
2022-08-26 09:46:15 +02:00
SC c77da63d0a
Translated using Weblate (Portuguese)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pt/
2022-08-25 19:19:27 +02:00