summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix build on NetBSD (#220)HEADmainThomas Klausner2023-05-171-0/+1
| | | Closes #219
* Improve GNOME/KDE get_config() execution (#212)libproxy-0.5.0Jan-Michael Brummer2023-05-152-3/+8
| | | Only check for ignore hosts if proxy are in use.
* Remove line break in debug output (#211)Jan-Michael Brummer2023-05-151-2/+2
|
* Check for valid uri_host in ignore_ip() (#210)Jan-Michael Brummer2023-05-121-1/+6
| | | Fixes: https://github.com/libproxy/libproxy/issues/208
* Add alert function to pacrunner (#196)WJ Liu2023-05-031-0/+21
| | | | | * add alert function to pacrunners * code style and commentgoit
* Add PX_FORCE_CONFIG env (#205)Jan-Michael Brummer2023-05-031-1/+3
| | | | | | Allow users to enforce a specific config plugin using PX_FORCE_CONFIG=plugin-name Fixes: https://github.com/libproxy/libproxy/issues/174
* Add man page for proxy tool (#204)Jan-Michael Brummer2023-05-032-1/+37
| | | Fixes: https://github.com/libproxy/libproxy/issues/190
* kde: Remove line breaks in values (#203)Jan-Michael Brummer2023-05-021-0/+1
|
* Add comment explaining KDE_PROXY_TYPE_SYSTEMJan-Michael Brummer2023-03-301-0/+3
|
* Simplify KDE no_proxy parsingJan-Michael Brummer2023-03-301-2/+1
|
* Remove unecessary removal of \r in KDE pluginJan-Michael Brummer2023-03-301-1/+0
|
* Split KDE config lines only twiceJan-Michael Brummer2023-03-301-1/+1
| | | | This ensures that further = settings would still be possible.
* Add warning in case GNOME settings arent' installedJan-Michael Brummer2023-03-301-1/+3
|
* Remove libpeas supportJan-Michael Brummer2023-03-3025-408/+208
| | | | | | 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.
* Remove d-bus supportJan-Michael Brummer2023-03-299-503/+2
| | | | | | | | | | | | | | | | | | 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. ¯\_(ツ)_/¯
* Remove root as default session ownerJan-Michael Brummer2023-03-281-5/+1
|
* Update KDE config plugin available checkJan-Michael Brummer2023-03-281-2/+12
|
* Rework GNOME config plugin initializationJan-Michael Brummer2023-03-281-14/+17
| | | | Move available check to init function to exit early.
* Update replace option descriptionJan-Michael Brummer2023-03-281-1/+1
|
* Set dbus bus owner in config file (#110)Jan-Michael Brummer2023-03-272-6/+25
|
* Remove debug output (#109)Jan-Michael Brummer2023-03-271-2/+0
| | | | Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
* Drop GDBusProxy and use GDBusConnection directly (#108)Jan-Michael Brummer2023-03-271-34/+26
| | | | | | | | | | Longrunning users of libproxy will stumble upon a missing proxy dbus service after inactivity shuts service down. GDBusProxy is not able to handle stateless services, therefore we need to switch to GDBusConnection. Fixes: https://github.com/janbrummer/libproxy2/issues/107 Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
* Minor cleanups (#106)Jan-Michael Brummer2023-03-277-36/+6
| | | | Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
* Add config-option to osx plugin (#104)Jan-Michael Brummer2023-03-271-0/+39
| | | | Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
* Add missing config-option to Windows plugin (#103)Jan-Michael Brummer2023-03-271-0/+39
|
* Add common ignore handling (#99)Jan-Michael Brummer2023-03-278-11/+134
| | | | Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
* Update D-Bus service (#101)Jan-Michael Brummer2023-03-273-22/+4
| | | | | | | - Remove property handling as it is unused - Rename query to GetProxiesFor Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
* Fix Libproxy documentation for non-dbus generation (#98)Jan-Michael Brummer2023-03-273-113/+98
| | | | Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
* Fix coverity findings (#96)Jan-Michael Brummer2023-03-272-3/+4
| | | | Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
* Handle invalid GNOME configuration (#89)Jan-Michael Brummer2023-03-271-1/+12
| | | | | | Fixes: https://github.com/janbrummer/libproxy2/issues/88 Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
* Add inactivity timeout to d-bus service (#86)Jan-Michael Brummer2023-03-271-28/+51
| | | | | | | 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>
* Add a duplicate check for proxy arrays (#87)Jan-Michael Brummer2023-03-278-20/+36
| | | | Co-authored-by: Jan-Michael Brummer <jan-michael.brummer1@volkswagen.de>
* Add file monitor support (#81)Jan-Michael Brummer2023-03-273-35/+84
|
* Add dbus system service (#83)Jan-Michael Brummer2023-03-277-47/+80
| | | | | | | | | 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>
* Fix return value for invalid pac file (#82)Jan-Michael Brummer2023-03-271-1/+1
| | | | | | | Return direct:// in case there is an issue with pac/wpad instead of returning config url. Fixes: https://github.com/janbrummer/libproxy2/issues/80
* Add initial libproxy test (#75)Jan-Michael Brummer2023-03-272-11/+25
|
* Improve non http proxy tests (#72)Jan-Michael Brummer2023-03-271-11/+5
|
* Various cleanups (#69)Jan-Michael Brummer2023-03-278-69/+40
|
* Add flag to toggle curl integration (#65)Jan-Michael Brummer2023-03-271-0/+8
| | | | | | | 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
* Add config-option property (#68)Jan-Michael Brummer2023-03-277-10/+259
| | | | | | In order to reduce the number of environment manipulation for testing purpose, introduce a new config-option property to set config files for tests.
* Add samples (#64)Jan-Michael Brummer2023-03-272-2/+2
| | | | | | | | * Change Namespace to Libproxy * Add samples Fixes: https://github.com/janbrummer/libproxy2/issues/33
* Fix crash in free function (#63)Jan-Michael Brummer2023-03-272-4/+4
|
* Fix minor issues in documentation (#62)Jan-Michael Brummer2023-03-271-11/+20
|
* Make use of G_DEFINE_BOXED_TYPE (#60)Jan-Michael Brummer2023-03-276-115/+152
|
* Move tests a level higher (#58)Jan-Michael Brummer2023-03-2719-1039/+0
|
* Make use of curl only (#54)Jan-Michael Brummer2023-03-2713-448/+42
| | | | Simplify libproxy and allow only one download lib: curl.
* Improve debug output (#53)Jan-Michael Brummer2023-03-272-6/+5
|
* Add D-Bus service files (#38)Jan-Michael Brummer2023-03-276-7/+49
|
* Code cleanup (#51)Jan-Michael Brummer2023-03-2728-60/+121
| | | | Update header and minor cleanup
* Remove temporary string variable (#49)Jan-Michael Brummer2023-03-271-2/+1
| | | | This can be safely replaced by duk_push_lstring.