Zaz-pip vs Proxy #1

Closed
opened 2021-06-04 19:00:00 -05:00 by Ghost · 4 comments

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?
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 2021-06-06 22:34:34 -05:00
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.
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
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 2021-06-14 16:38:42 -05:00
elmau closed this issue 2021-06-14 16:38:58 -05:00
Sign in to join this conversation.
No Label
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: elmau/zaz-pip#1
No description provided.