Zaz-pip vs Proxy #1

Closed
opened 2 years ago by Ghost · 4 comments
Ghost commented 2 years ago

At my job I use Libreoffice portable on Windows 10 and I don't have administrator permission, and the internet is via proxy.

To successfully use zaz-pip, I need to add this code below, in the main.py file of the file ZAZPip_v0.7.0.oxt

import os

PROXY_HOST = "100.00.0.1" #proxy host
PROXY_PORT = "8080" #port
PROXY_AUTH_USER = "windows_user"
PROXY_AUTH_PASS = "windows_password"

os.environ['http_proxy'] = f'''http://{PROXY_AUTH_USER}:{PROXY_AUTH_PASS}@{PROXY_HOST}:{PROXY_PORT}'''
os.environ['https_proxy'] = f'''http://{PROXY_AUTH_USER}:{PROXY_AUTH_PASS}@{PROXY_HOST}:{PROXY_PORT}'''

Would it be possible to add proxy options in zaz-pip configuration?

At my job I use Libreoffice portable on Windows 10 and I don't have administrator permission, and the internet is via proxy. To successfully use zaz-pip, I need to add this code below, in the main.py file of the file ZAZPip_v0.7.0.oxt ```python import os PROXY_HOST = "100.00.0.1" #proxy host PROXY_PORT = "8080" #port PROXY_AUTH_USER = "windows_user" PROXY_AUTH_PASS = "windows_password" os.environ['http_proxy'] = f'''http://{PROXY_AUTH_USER}:{PROXY_AUTH_PASS}@{PROXY_HOST}:{PROXY_PORT}''' os.environ['https_proxy'] = f'''http://{PROXY_AUTH_USER}:{PROXY_AUTH_PASS}@{PROXY_HOST}:{PROXY_PORT}''' ``` Would it be possible to add proxy options in zaz-pip configuration?
elmau commented 2 years ago
Owner

Interesting...

maybe is better if I add config option for this cases, a dialog box with config for proxy. I like this idea.

Interesting... maybe is better if I add config option for this cases, a dialog box with config for proxy. I like this idea.
elmau self-assigned this 2 years ago
elmau commented 2 years ago
Owner

ok, add in next release 0.8.0, I hope in next week.

ok, add in next release 0.8.0, I hope in next week.
elmau commented 2 years ago
Owner

ok, add button for config proxy, but, I don't used proxy, so, you can help validate this.

Version 0.8.0 in branch develop.

https://git.cuates.net/elmau/zaz-pip/src/branch/develop/files/ZAZPip_v0.8.0.oxt

ok, add button for config proxy, but, I don't used proxy, so, you can help validate this. Version 0.8.0 in branch `develop`. https://git.cuates.net/elmau/zaz-pip/src/branch/develop/files/ZAZPip_v0.8.0.oxt
elmau commented 2 years ago
Owner

ok...

In my PC I see correctly, but I'll change size icons, thanks.

ok... In my PC I see correctly, but I'll change size icons, thanks.
elmau referenced this issue from a commit 2 years ago
elmau closed this issue 2 years ago
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: elmau/zaz-pip#1
Loading…
There is no content yet.