Permalink
Browse files

0.9.55

  • Loading branch information...
1 parent ad66122 commit 7d5b0207946b7f993ff1c4915f94a8c948ba7cd0 @fadiaidi fadiaidi committed Jan 11, 2017
Showing with 1,454 additions and 39 deletions.
  1. +7 −0 CHANGELOG.md
  2. +22 −22 bin/pub/app.js
  3. +1 −1 bin/pub/proxy.html
  4. +1,377 −0 db/cities.csv
  5. +18 −12 lib/cities.js
  6. +17 −1 lib/manager.js
  7. +1 −1 lib/swagger.json
  8. +1 −1 lib/username.js
  9. +1 −1 package.json
  10. +9 −0 test.js
View
@@ -1,5 +1,12 @@
# Luminati Proxy manager - Change Log
+## 0.9.55:
+- :bug: Explicit any country was not working properly
+- :bug: Add countries that have no cities/states into UI
+- :sparkles: Warn when keep_alive value is outside effective range 0-60
+- :sparkles: Added alert for SSL connection to IP URLs
+- :sparkles: Handle 404 URLs
+
## 0.9.54:
- :bug: Allow setting max requests from the UI
View
@@ -1577,12 +1577,6 @@ function history($scope, $http, $window){
var alerts = [];
var disabled_alerts = [];
var add_alert = function(alert){
- if (r.method=='CONNECT'
- ||request_headers.host=='lumtest.com'
- ||r.url.match(/^https?:\/\/lumtest.com[$\/\?]/))
- {
- return;
- }
if (localStorage.getItem(
'request-alert-disabled-'+alert.type))
{
@@ -1595,6 +1589,28 @@ function history($scope, $http, $window){
var request_headers = {};
for (var h in raw_headers)
request_headers[h.toLowerCase()] = raw_headers[h];
+ r.request_headers = request_headers;
+ r.response_headers = JSON.parse(r.response_headers);
+ r.alerts = alerts;
+ r.disabled_alerts = disabled_alerts;
+ if (r.url
+ .match(/^(https?:\/\/)?\d+\.\d+\.\d+\.\d+[$\/\?:]/))
+ {
+ add_alert({
+ type: 'ip_url',
+ title: 'IP URL',
+ description: 'The url uses IP and not '
+ +'hostname, it will not be served from the'
+ +' proxy peer. It could mean a resolve '
+ +'configuration issue when using SOCKS.',
+ });
+ }
+ if (r.method=='CONNECT'
+ ||request_headers.host=='lumtest.com'
+ ||r.url.match(/^https?:\/\/lumtest.com[$\/\?]/))
+ {
+ return r;
+ }
if (!request_headers['user-agent'])
{
add_alert({
@@ -1664,18 +1680,6 @@ function history($scope, $http, $window){
+'the home page of the site.',
});
}
- if (r.url
- .match(/^https?:\/\/\d+\.\d+\.\d+\.\d+[$\/\?]/))
- {
- add_alert({
- type: 'ip_url',
- title: 'IP URL',
- description: 'The url uses IP and not '
- +'hostname, it will not be served from the'
- +' proxy peer. It could mean a resolve '
- +'configuration issue when using SOCKS.',
- });
- }
var sensitive_headers = [];
for (var i in $scope.hola_headers)
{
@@ -1694,10 +1698,6 @@ function history($scope, $http, $window){
+sensitive_headers.join(', '),
});
}
- r.request_headers = request_headers;
- r.response_headers = JSON.parse(r.response_headers);
- r.alerts = alerts;
- r.disabled_alerts = disabled_alerts;
return r;
});
});
View
@@ -344,7 +344,7 @@ <h4 class=modal-title ng-if=!port>Adding Proxy</h4>
</label>
<input id=proxy-field-keep-alive type=number
ng-model=form.keep_alive class=form-control
- ng-disabled=!form.preset.support.keep_alive
+ ng-disabled=!form.preset.support.keep_alive
placeholder={{consts.keep_alive.def}}>
</div>
<div class=form-group>
Oops, something went wrong.

0 comments on commit 7d5b020

Please sign in to comment.