-
-
Notifications
You must be signed in to change notification settings - Fork 513
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(ProxyManager): mass-importing proxies #4606
feat(ProxyManager): mass-importing proxies #4606
Conversation
I was hoping the JS would do the clipboard processing instead of the Kotlin code, but I can work with that anyways. |
New REST API is the only option, I guess. Or just make it grant all permissions or whatever; just another reminder that this "CEF" or "JCEF" we refer to was only meant to be used as a browser. TL;DR: Why are we over-complicating things??? |
Lines 109 to 121 in 5e4fed8
Why isn't this a guard statement??? |
Got detekted, will fix. |
…use (to fix detekt)
Oh, of course... it's because I added a |
…feat/mass-proxy-importing
dead PR lol, will test. |
* Added multi atlas support * Fix detekt * Stop using the test atlas size
This comment was marked as resolved.
This comment was marked as resolved.
that wasn’t me? that was izuna |
uhh oop |
was in the BlocksMC step that you added so I assumed that |
Ok, it's fixed now. |
Just tested, it's not working. Will debug and fix this. |
ah, I know why... |
…from clipboard and from file mfw it's just a 4 line change, why didn't I do this before when I added the endpoints?...
If you're wondering, I'm testing this on this dataset: https://raw.githubusercontent.com/proxifly/free-proxy-list/main/proxies/countries/US/data.txt |
No worries. The service is very simple and is written in Rust - it should handle several thousand connections. |
…ented imports & fix indentation
Okay, I was assuming that maybe 100 or 600 people would be importing 145+ proxies, which would multiply the amount of connections and overwhelm the server. Although I do think the client should choose some other servers randomly in order to balance the load of checking a bit. |
We could use Geo Load Balancing - but that is not needed at the moment and would drive up the cost. What I was thinking about is to use the server list functionality. So for example when you open the proxy manager it will make a request through each proxy to show ping and so on - just like the Server List does. The only problem with this would be the fact that the ping server is located in Germany - Frankfurt and therefore the latency would appear to be higher than it actually is. But this would allow you to know immediately if a proxy is good or bad, rather than having to check the proxy when adding it. |
Dead PR again |
importing via files works now |
before I mark it as ready for review, I want to implement using the server list as a method of validating. We will fallback to the LiquidProxy ping service if the user doesn't have any servers in the server list or all servers have failed the test |
Because I want to mass import proxies from a text file that is splitted by a newline (
\n
)Fixes #4599