Commit Graph

3804 Commits

Author SHA1 Message Date
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
Hugel cf313c5624
Translated using Weblate (Filipino)
Currently translated at 9.7% (60 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fil/
2022-08-25 10:16:55 +02:00
My Random Thoughts f153dfbb2a
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/en_GB/
2022-08-24 13:18:57 +02:00
Темак 708711b65f
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-22 01:20:06 +02:00
Lukas b89d2c8393
Translated using Weblate (Alemannic)
Currently translated at 5.1% (32 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/gsw/
2022-08-21 16:06:02 +02:00
Lukas c545d25684
Translated using Weblate (German)
Currently translated at 99.6% (616 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/de/
2022-08-21 16:06:01 +02:00
Lukas 7900ec3d4f
Added translation using Weblate (Alemannic) 2022-08-21 15:36:40 +02:00
MarmadileManteater 02db9483a3
Removing an an empty toast (#2504)
which was unintentionally introduced by my
last pull request.
2022-08-21 20:19:36 +08:00
MarmadileManteater 166fe004b2
This should eliminate this race condition by using (#2493)
the seconds length value provided by the API
rather than trying to pull the time from the video
element. This is related to FreeTubeApp#2492 and
MarmadileManteater#9.
2022-08-20 14:49:41 +02:00
Massimo Pissarello bc3aaa4536
Translated using Weblate (Italian)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-08-20 07:21:25 +02:00
Chance Ducharme 70481b4880
Translated using Weblate (French)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/fr/
2022-08-18 13:19:53 +02:00
Massimo Pissarello 617bd8af32
Translated using Weblate (Italian)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-08-18 10:17:05 +02:00
Riccardo Cazzin e22e39c384
Translated using Weblate (Italian)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/it/
2022-08-17 18:14:55 +02:00
absidue 3e07114d47
Add support for bold, italics and strikethrough formatting in comments (#2475) 2022-08-16 08:11:29 -04:00
absidue 83d54bec39
Fix playlist page sizing and layout (#2484) 2022-08-16 07:44:57 -04:00
PikachuEXE e0e7b5053a
! Fix Cmd+M unable to minimize window when viewing video (#2486) 2022-08-16 06:57:07 -04:00
d 4f9aa231cb
add playlist progress bar (#2402)
* add playlist progress bar

could use some css

* theme and lint
idk if those changes to the package.json or yarn.lock are ok but
it wouldent lint without them :/

* hopfuly fix errors

* why is this not working

* this is anoying.

* fix some other issues

thx @PikachuEXE

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

* spelling mistake

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

* will not display if playlist is shuffled or
reversed

Co-authored-by: makerio90 <makerio1@pm.me>
Co-authored-by: PikachuEXE <pikachuexe@gmail.com>
2022-08-16 12:37:16 +02:00
ChunkyProgrammer 84b4d230ab
fix unsubscribe from "All Channels" profile (#2451) 2022-08-16 11:45:39 +02:00
MarmadileManteater 33cf88ce31
Mapping the invidious API field to the view (#2483)
Added a line to map the field "authorId" to "channelId"
on the featured channels that come from the Invidious API
because the Channel view expects related channels to have
the property "channelId". This is related to FreeTubeApp#2481.
2022-08-15 23:14:59 +00:00
Kyotaro Iijima 3fb378a2be
Translated using Weblate (Japanese)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/ja/
2022-08-13 23:20:35 +02:00
PikachuEXE 75139ef6a3
^ Update lefthook to latest version (#2472) 2022-08-13 00:44:39 +02:00
Темак 6ccc2b975f
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-12 12:16:54 +02:00
PikachuEXE ba0bcee2fe
Add Git Hooks to run lint (#1788)
* + Add package @arkweid/lefthook

* Add git hook pre-commit for linting changed files only

* Update lefthook.yml about `glob`

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

* Update lefthook.yml to use `yarn run` instead of `npx`

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

Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
2022-08-11 23:41:32 -04:00
PrestonN 180a89d7c6 Move channels page to more menu in mobile UI 2022-08-11 21:46:41 -04:00
PrestonN dbc5ded08c Bump version number to v0.17.1 2022-08-11 21:36:57 -04:00
absidue a2eceffcc8
Stop electron-builder trying to create GitHub releases in CI workflow (#2407) 2022-08-12 08:35:26 +08:00
Hin Weisner 5aa109dfa2
Translated using Weblate (Spanish)
Currently translated at 93.6% (579 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/es/
2022-08-12 02:21:26 +02:00
PikachuEXE 23b33d799e
* Update GH workflows to run on ubuntu-latest (#2466)
Especially with ubuntu-18.04 deprecated

https://github.blog/changelog/2022-08-09-github-actions-ubuntu-22-04-is-now-generally-available-on-github-hosted-runners/
2022-08-11 23:07:48 +00:00
absidue 2205f38884
Temporarily switch over to my fork of ytdl-core (#2469) 2022-08-11 18:20:17 -04:00
Milo Ivir 5bdcd1920b
Translated using Weblate (Croatian)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/hr/
2022-08-11 23:19:28 +02:00
Grzegorz Wójcicki 8830fb2577
Translated using Weblate (Polish)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/pl/
2022-08-11 21:19:32 +02:00
Sveinn í Felli d499c2b97a
Translated using Weblate (Icelandic)
Currently translated at 100.0% (618 of 618 strings)

Translation: FreeTube/Translations
Translate-URL: https://hosted.weblate.org/projects/free-tube/translations/is/
2022-08-11 18:16:30 +02:00