Skip to content

Add proxy login support - #7996

Merged
FreeTubeBot merged 2 commits into
FreeTubeApp:developmentfrom
Vaipex:development
Sep 22, 2025
Merged

FreeTubeBot merged 2 commits into
FreeTubeApp:developmentfrom
Vaipex:development

Conversation

@Vaipex

@Vaipex Vaipex commented Sep 7, 2025

Copy link
Copy Markdown
Contributor

Pull Request Type

  • Bugfix
  • Feature Implementation
  • Documentation
  • Other

Related issue

Closes #5037

Description

The commit implements two new input fields (username and password) for proxy authentication.
Because I couldn't get the authentication to work in the http://username:password@ip:port format I added an event listener.

Testing

Add a proxy that requires a login and use the "Test proxy" button.

Desktop

  • OS: Debian
  • OS Version: 13
  • FreeTube version: latest

Additional context

I'm not sure if this is the optimal way to implement this feature. Let me know if anything could be improved / needs to be changed

@github-actions github-actions Bot added the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 7, 2025
@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) September 7, 2025 13:18
@efb4f5ff-1298-471a-8973-3d47447115dc

Copy link
Copy Markdown
Member

im probably not the right person to test this so ill leave it up to the others

@PikachuEXE

Copy link
Copy Markdown
Member

Same, no proxy that requires a login

@absidue absidue left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have a proxy with a user name and password either but the code looks mostly correct.

@Vaipex Can you please confirm that you tested this yourself and that it worked for you?

Comment thread src/main/index.js Resolved
@absidue absidue added PR: changes requested U: Waiting for Response from Author and removed PR: waiting for review For PRs that are complete, tested, and ready for review labels Sep 21, 2025
@efb4f5ff-1298-471a-8973-3d47447115dc

Copy link
Copy Markdown
Member

auto-merge was automatically disabled September 21, 2025 13:25

Head branch was pushed to by a user without write access

@FreeTubeBot
FreeTubeBot enabled auto-merge (squash) September 21, 2025 13:25
@Vaipex

Vaipex commented Sep 21, 2025

Copy link
Copy Markdown
Contributor Author

I don't have a proxy with a user name and password either but the code looks mostly correct.

@Vaipex Can you please confirm that you tested this yourself and that it worked for you?

Yes, I tested this with my proxies

efb4f5ff-1298-471a-8973-3d47447115dc

This comment was marked as outdated.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with a proxy, LGTM

@efb4f5ff-1298-471a-8973-3d47447115dc efb4f5ff-1298-471a-8973-3d47447115dc added PR: waiting for review For PRs that are complete, tested, and ready for review and removed PR: changes requested labels Sep 21, 2025
@Vaipex

This comment was marked as outdated.

@efb4f5ff-1298-471a-8973-3d47447115dc

Copy link
Copy Markdown
Member

@Vaipex I think its fine like this. We alter it down the line if there are users confused about it

@Vaipex

Vaipex commented Sep 21, 2025

Copy link
Copy Markdown
Contributor Author

alright, sounds good. Thank you!

@FreeTubeBot
FreeTubeBot merged commit 4655d0e into FreeTubeApp:development Sep 22, 2025
@github-actions github-actions Bot removed the PR: waiting for review For PRs that are complete, tested, and ready for review label Sep 22, 2025
PikachuEXE added a commit to PikachuEXE/FreeTube that referenced this pull request Sep 22, 2025
* development: (24 commits)
  Add proxy login support (FreeTubeApp#7996)
  Migrate the History view to the composition API (FreeTubeApp#8064)
  Fix player button hiding (FreeTubeApp#8065)
  Translated using Weblate (Norwegian Bokmål)
  Translated using Weblate (Indonesian)
  Fix playback rate reset when video ends (FreeTubeApp#7718)
  Skip Electron binary download in CI as we do not run it (FreeTubeApp#8063)
  Feat: Display player overlay controls on keyboard interaction (FreeTubeApp#7757)
  Translated using Weblate (Hungarian)
  Translated using Weblate (Czech)
  Translated using Weblate (Estonian)
  Translated using Weblate (French)
  Bump electron from 37.4.0 to 38.1.0 (FreeTubeApp#8025)
  Translated using Weblate (Dutch)
  Translated using Weblate (Portuguese (Brazil))
  Translated using Weblate (German)
  Translated using Weblate (Breton)
  Translated using Weblate (Italian)
  Translated using Weblate (Chinese (Simplified Han script))
  Support exporting single playlists as a list of video URLs (FreeTubeApp#8054)
  ...

# Conflicts:
#	src/renderer/components/ft-shaka-video-player/ft-shaka-video-player.js
PikachuEXE added a commit to NishPatel101/FreeTube that referenced this pull request Sep 23, 2025
* development: (43 commits)
  Bump the eslint group across 1 directory with 4 updates (FreeTubeApp#8073)
  Bump electron from 38.1.0 to 38.1.2 (FreeTubeApp#8071)
  Bump sass from 1.92.1 to 1.93.0 (FreeTubeApp#8067)
  Bump lefthook from 1.13.0 to 1.13.1 (FreeTubeApp#8072)
  Bump swiper from 12.0.1 to 12.0.2 (FreeTubeApp#8070)
  Translated using Weblate (Italian)
  Translated using Weblate (Czech)
  Translated using Weblate (Hungarian)
  Translated using Weblate (German)
  Translated using Weblate (Estonian)
  Translated using Weblate (Breton)
  Translated using Weblate (German)
  Translated using Weblate (Chinese (Traditional Han script))
  Improve playlist import performance (FreeTubeApp#8062)
  Translated using Weblate (Norwegian Bokmål)
  Translated using Weblate (Portuguese (Brazil))
  Translated using Weblate (Chinese (Simplified Han script))
  Translated using Weblate (Japanese)
  Handle lockup view videos without a view count (FreeTubeApp#8066)
  Add proxy login support (FreeTubeApp#7996)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Proxy configuration with username and password

5 participants