| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Closes #219
|
|
|
| |
Only check for ignore hosts if proxy are in use.
|
| |
|
|
|
| |
Fixes: https://github.com/libproxy/libproxy/issues/208
|
|
|
|
|
| |
* add alert function to pacrunners
* code style and commentgoit
|
|
|
|
|
|
| |
Allow users to enforce a specific config plugin using
PX_FORCE_CONFIG=plugin-name
Fixes: https://github.com/libproxy/libproxy/issues/174
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
This ensures that further = settings would still be possible.
|
| |
|
|
|
|
|
|
| |
As we no longer have further dependencies like glib for accessing the
standard linux configurations and the other are platform specific. Let's
remove peas all together. Plugins are now built-in.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We tried hard to make the D-Bus service a thing, but we failed.
Beside all the advantages we do have problems which couldn't be solved
reliable:
- Dependency impact in containers (which adds D-Bus)
- Environment Variables couldn't be used anymore
- Two services had to be created (session/system) for users without a
desktop environment
- ...
Alternatives like using private d-bus connections would lead to
additional processes per app/lib using libproxy. Even with a timeout
this looks akward.
Let's remove it. ¯\_(ツ)_/¯
|
| |
|
| |
|
|
|
|
| |
Move available check to init function to exit early.
|
| |
|
| |
|
|
|
|
| |
Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
|
|
|
|
| |
Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
|
|
|
|
| |
Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
|
| |
|
|
|
|
| |
Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
|
|
|
|
|
|
|
| |
- Remove property handling as it is unused
- Rename query to GetProxiesFor
Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
|
|
|
|
| |
Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
|
|
|
|
|
|
| |
Fixes: https://github.com/janbrummer/libproxy2/issues/88
Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
|
|
|
|
|
|
|
| |
Switch to GApplication and set an inactivity timer so that the service
will be cancelled after a timeout period of 60s.
Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
|
|
|
|
| |
Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
|
| |
|
|
|
|
|
|
|
|
|
| |
In cases where we are switchting users which are not allowed or are using a non graphical shell dbus user session will not work.
User session are bound to xauthority and display environment variables. In those cases fallback to a system session running as specified user (default=root).
Fixes: https://github.com/janbrummer/libproxy2/issues/79
Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
|
|
|
|
|
|
|
| |
Return direct:// in case there is an issue with pac/wpad instead of
returning config url.
Fixes: https://github.com/janbrummer/libproxy2/issues/80
|
| |
|
| |
|
|
|
|
|
|
|
| |
In order to fix a possible build cycle between libproxy and curl add a
toggle to switch off curl if necessary.
Fixes: https://github.com/janbrummer/libproxy2/issues/57
|
|
|
|
|
|
| |
In order to reduce the number of environment manipulation for testing
purpose, introduce a new config-option property to set config files for
tests.
|
| |
|
|
|
|
| |
Simplify libproxy and allow only one download lib: curl.
|
| |
|
| |
|
|
|
|
| |
Update header and minor cleanup
|
|
|
|
| |
This can be safely replaced by duk_push_lstring.
|
| |
|
|
|
|
|
| |
Remove return value as it was unused, as well as GError. In case an
error occures we can dump it into debug. There is no user benefit.
|
|
|
|
| |
This check does nothing and can be removed.
|
| |
|
|
|
|
|
| |
Set various curl options to ensure we are not calling back to libproxy
and also improve timeout handling and identification.
|
|
|
|
|
| |
In case PAC file cannot be download, clear pac_url and treat as a non
pac case.
|
|
|
|
|
| |
Add enabling debug output using PX_DEBUG=1 and align debug output
messages.
|
|
|
|
|
|
|
|
|
|
|
| |
* Throw an error for dbus errors
* Move curl setup to download function
Move curl initialization to download function to workaround a dbus cycle
error.
* Move to debug output and fix pac data freeing
|