Repository navigation
Fix: restore the proxy pool removed in 0.7.0 (issue #545) - #548
Open
danishkumar26 wants to merge 2 commits into
Open
danishkumar26 wants to merge 2 commits into
danishkumar26 wants to merge 2 commits into
Conversation
Restore the multi-proxy egress pool that 0.7.0 dropped (issue BaaRai#545), bringing back GET /api/settings/proxy-pool (list/add/delete), per-entry enable/disable and active selection, egress-IP testing, and a rotation strategy (none / on_failure / timed), plus a settings UI to manage it. - db: migration 0015_proxy_pool.sql plus schema.sql table (id, address, enabled, active, last_tested, egress_ip, fail_count) - server: Manager methods (ProxyPool, Add/Delete/SetProxyPoolEntry, ProxyPoolRotation, TestProxyPoolEntry), proxy-pool routes and handlers, proxy_pool/proxy_pool_rotation in the settings payload - web: ProxyPoolEntry type, proxy-pool API client, ProxyPoolCard in System settings
- gofmt server/manager.go and server/server.go - db/migrate_test.go: expect migration versions 1 to 15 (added 0015_proxy_pool.sql) - web i18n: add missing proxy-pool strings to tr.json and zh-CN.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Restores the multi-proxy egress pool that ARTEX 0.7.0 dropped (fixes #545).
What changed
per-entry enable/disable and active selection (only one active at a time),
egress-IP testing via POST /api/settings/proxy-pool/test, and a rotation
strategy (none / on_failure / timed) via PUT /api/settings/proxy-pool/rotation.
(proxy_pool: id, address, enabled, active, last_tested, egress_ip,
fail_count, timestamps).
TestProxyPoolEntry (real HTTP egress-IP probe through http/https/socks5
proxies).
test egress IP, delete entries, set rotation strategy.
deleteProxyPool/patchProxyPool/testProxyPool/putProxyPoolRotation.
Verification
Closes #545.