- Jul 05, 2019
-
-
Arlo Breault authored
So that it compiles to, ``` if (!(name in result)) { result[name] = value; } ``` instead of, ``` if (!(indexOf.call(result, name) >= 0)) { result[name] = value; } ``` since `result` is an object, not an array.
-
Arlo Breault authored
Trac 31067
-
- Jul 04, 2019
-
-
Cecylia Bocovich authored
Prevents repeat calls to update() on startup
-
Cecylia Bocovich authored
Now that we're setting the active attribute of pair to true before accepting a client offer, we should be careful to reset it to false if receiving the offer fails
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
Save whether the snowflake extension is currently enabled in local storage so that users do not need to opt-in again every time the browser is restarted
-
Cecylia Bocovich authored
If there is an active connection through your snowflake proxy, your snowflake will turn to green
-
- Jul 03, 2019
-
-
Arlo Breault authored
Introduced in ead579a6, `config` is only a global in the webextension.
-
- Jul 02, 2019
-
-
-
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
The test failure was due to pollBorker waiting the full 5 seconds before polling for the first time. The lint errors were some trailing whitespace and unecessary fat arrows
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
This enables breaking the loop from the outside and cleans up the countdown
-
-
- Jun 28, 2019
-
-
Cecylia Bocovich authored
-
- Jun 26, 2019
-
-
Arlo Breault authored
This doesn't apply to the webextension but hasn't been factored out in the build step yet.
- Jun 25, 2019
-
-
Cecylia Bocovich authored
Updated the tests to pass with our new snowflake-ips-total stat
-
Cecylia Bocovich authored
Added another metrics item that counts the total availabel snowflakes (unique by IP address)
-
- Jun 24, 2019
-
-
Arlo Breault authored
-
Arlo Breault authored
-
- Jun 21, 2019
-
-
David Fifield authored
-
- Jun 19, 2019
-
-
Arlo Breault authored
-
- Jun 14, 2019
-
-
Cecylia Bocovich authored
- removed trailing ","s - removed unecessary space before seconds
-
Cecylia Bocovich authored
Also moved the geoip check to occur after we've make sure the proxy IP hasn't yet been recorded. This is will cut down on unecessary computation.
-
- Jun 12, 2019
-
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
Added unit tests for metrics logging. Refactored the logMetrics() function to allow for easier testing
-
- Jun 11, 2019
-
-
Cecylia Bocovich authored
Change it so that we log the geoip country code of proxies if they poll within the current metrics epoch. We make sure we log by unique IP address
-
Cecylia Bocovich authored
Output is now printed out in Tor Directory Protocol Format, as specified in https://trac.torproject.org/projects/tor/ticket/21315#comment:19.
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
-
Cecylia Bocovich authored
Added three new metrics: - proxyIdleCount counts the number of times a proxy polls and receives no snowflakes - clientDeniedCount counts the number of times a client requested a snowflake but none were available - clientProxyMatchCount counts the number of times a client successfully received a snowflake
-
Cecylia Bocovich authored
Set the resolution of metrics data collection to be every 24 hours
-
- Jun 06, 2019
-
-
Arlo Breault authored
-