[tor-commits] [snowflake-webext/main] Add "icons" to the manifest

2021-11-03 Thread arlo
commit 16a2f93759568be79f1a7d4a86ce1d6c9795b1d8 Author: Arlo Breault Date: Wed Nov 3 13:08:52 2021 -0400 Add "icons" to the manifest For the chrome://extensions page. Fixes #33 --- webext/manifest.json | 6 +- 1 file changed, 5 insertions(+), 1 deletio

[tor-commits] [snowflake-webext/main] No need to set DtlsSrtpKeyAgreement option

2021-11-03 Thread arlo
commit 66b67687bcfd0e15222ebb930188101ff49212de Author: Arlo Breault Date: Wed Nov 3 12:46:27 2021 -0400 No need to set DtlsSrtpKeyAgreement option This used to be required for Chrome and Firefox to interoperate a long time but is deprecated and being removed, https

[tor-commits] [snowflake-webext/main] No need to specify not to use RtpDataChannels

2021-08-12 Thread arlo
commit bda2cd6144ed9e1fe18bf232ce1abe5a6e720070 Author: Arlo Breault Date: Fri Aug 6 12:28:12 2021 -0400 No need to specify not to use RtpDataChannels They've been removed, https://www.chromestatus.com/feature/6485681910054912 Chrome was raising a warning, &quo

[tor-commits] [snowflake-webext/main] Stop aliasing global RTC constructors

2021-08-12 Thread arlo
commit f04d5115722d835d83aa588c61d0c8d4c731412b Author: Arlo Breault Date: Fri Aug 6 13:55:27 2021 -0400 Stop aliasing global RTC constructors `window` isn't defined in service workers --- proxypair.js | 4 ++-- shims.js | 11 ++- snowflake.js

[tor-commits] [snowflake-webext/main] Reinstall wrtc to bump loose dependencies

2021-08-06 Thread arlo
commit 020a330fd3310f200f17f4c50154ee476d2cde70 Author: Arlo Breault Date: Fri Aug 6 11:12:15 2021 -0400 Reinstall wrtc to bump loose dependencies Addresses vulns in subdependencies that `npm audit` was complaining about, https://github.com/npm/node-tar/security/advisories

[tor-commits] [snowflake-webext/main] Bump ws package to satisfy npm audit

2021-07-15 Thread arlo
commit ca66dbc13b5f074d2c73979c06a6cd625a2d0320 Author: Arlo Breault Date: Thu Jul 15 14:52:39 2021 -0400 Bump ws package to satisfy npm audit From https://github.com/advisories/GHSA-6fc8-4gx4-v693 Only affects ws servers, which aren't used here so a release isn't

[tor-commits] [snowflake-webext/main] Run `npm audit fix`

2021-07-15 Thread arlo
commit 2f9a74cb1265b2619ac686f54222ddb7d7fc8590 Author: Arlo Breault Date: Thu Jul 15 13:17:26 2021 -0400 Run `npm audit fix` For https://github.com/advisories/GHSA-ww39-953v-wcq6 Only affects a dev dependency. --- package-lock.json | 6 +++--- 1 file changed, 3

[tor-commits] [snowflake/main] Remove and restore some comments, after review

2021-07-08 Thread arlo
commit 2c2f93c022c64ad45f5d471b692eb6317b50d209 Author: Arlo Breault Date: Thu Jul 8 15:35:04 2021 -0400 Remove and restore some comments, after review --- broker/http.go | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/broker/http.go b/broker/http.go index e30e442

[tor-commits] [snowflake/main] Use variables for string matching

2021-07-08 Thread arlo
commit c3c84fdb48ec27fe8fa5527693d18176df40637f Author: Arlo Breault Date: Thu Jul 8 12:47:23 2021 -0400 Use variables for string matching The legacy code does case matching on these exact strings so it's better to ensure they're constant. --- broker/http.go | 4

[tor-commits] [snowflake/main] Intermediary refactor teasing apart http / ipc

2021-07-08 Thread arlo
commit 015958fbe66bd91a003c6fc92a11bd5d13b887c3 Author: Arlo Breault Date: Thu May 20 07:49:27 2021 -0400 Intermediary refactor teasing apart http / ipc Introduces an IPC struct and moves the logic out of the http handlers and into methods on that. --- broker/broker.go

[tor-commits] [snowflake/main] Get rid of legacy version

2021-07-08 Thread arlo
commit 87ad06a5e2f1b0d72c64dd0ca17543f524ac1d63 Author: Arlo Breault Date: Thu Jun 3 17:04:58 2021 -0400 Get rid of legacy version Move the logic for the legacy version into the http handlers and use a shim when doing ipc. --- broker/http.go | 51

[tor-commits] [snowflake/main] Move http handlers to a separate file

2021-07-08 Thread arlo
commit 0ced1cc32497f3b47a614ef4a526af7925447252 Author: Arlo Breault Date: Thu May 20 08:31:30 2021 -0400 Move http handlers to a separate file --- broker/broker.go | 196 broker/http.go | 205

[tor-commits] [snowflake/main] Fix race is broker test reported by `go test -race`

2021-07-08 Thread arlo
commit dfb68d7cfc4b69c5e1f5628f3db002c3595fa1f0 Author: Arlo Breault Date: Thu Jul 8 15:31:56 2021 -0400 Fix race is broker test reported by `go test -race` --- broker/snowflake-broker_test.go | 27 +++ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git

[tor-commits] [snowflake/main] Make promMetrics not a global

2021-05-20 Thread arlo
commit 160ae2dd71879ab83226a3d4eb2b15cefdb570f4 Author: Arlo Breault Date: Tue May 18 20:06:28 2021 -0400 Make promMetrics not a global Doesn't seem like it needs to exist outside of the metrics struct. Also, the call to logMetrics is moved to the constructor. A metrics

[tor-commits] [snowflake/main] Remove sync.Once from around logMetrics

2021-05-20 Thread arlo
commit 7ef49272fa8c4169a5ec13988a71011dbe14bbfb Author: Arlo Breault Date: Thu May 20 15:36:08 2021 -0400 Remove sync.Once from around logMetrics Follow up to 160ae2d Analysis by @dcf, > I don't think the sync.Once around logMetrics is necessary anymore.

[tor-commits] [snowflake-webext/main] Move cldr to dev dependencies

2021-05-14 Thread arlo
commit 1c5b5640c770a9b804c5cc67451adea7e49ed806 Author: Arlo Breault Date: Fri May 14 14:43:33 2021 -0400 Move cldr to dev dependencies The dependencies are packages used in the shim while the node version of the proxy is running. cldr is only used when running the build

[tor-commits] [snowflake-webext/main] Bump the version of cldr to satisfy npm audit

2021-05-14 Thread arlo
commit f92fc4bddc93c6af375c5090483e770f3fecfb91 Author: Arlo Breault Date: Fri May 14 14:47:11 2021 -0400 Bump the version of cldr to satisfy npm audit There's a low severity vuln in one of cldr's deps that needs updating. The major version bump of cldr is because it drops

[tor-commits] [snowflake-webext/main] Run `npm audit fix`

2021-05-14 Thread arlo
commit 288138c9dd0817e474e081e973404c454f8fed6f Author: Arlo Breault Date: Fri May 14 14:15:29 2021 -0400 Run `npm audit fix` --- package-lock.json | 8 package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json

[tor-commits] [check/master] Test on go1.11.x on travis

2021-04-21 Thread arlo
commit f867af2fc0329770b9f9773ce42259ffad070876 Author: Arlo Breault Date: Wed Apr 21 09:56:33 2021 -0400 Test on go1.11.x on travis --- .travis.yml | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4f008a4..a6b9205 100644

[tor-commits] [check/master] Add go mod and sum

2021-04-21 Thread arlo
commit f1078bbc83c41948b0abf3016988802ac0335d8d Author: Arlo Breault Date: Wed Apr 21 10:11:52 2021 -0400 Add go mod and sum --- go.mod | 5 + go.sum | 2 ++ 2 files changed, 7 insertions(+) diff --git a/go.mod b/go.mod new file mode 100644 index 000..6a98019 --- /dev/null +++ b

[tor-commits] [check/master] Bug 40003: Tweak Tor Browser UAS for Fenix 88+

2021-04-21 Thread arlo
commit 8ced29cb67e979394cdd011bb7ab6611d5836be2 Author: Matthew Finkel Date: Tue Apr 20 14:16:06 2021 + Bug 40003: Tweak Tor Browser UAS for Fenix 88+ --- utils.go | 2 +- utils_test.go | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/utils.go b/utils.go

[tor-commits] [check/master] Remove obsolete OrfoxUserAgents

2021-04-21 Thread arlo
commit 3fcc20f4b2e3e9b1900eb21048bc3c9df1c55811 Author: Arlo Breault Date: Wed Apr 21 09:46:54 2021 -0400 Remove obsolete OrfoxUserAgents --- utils.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utils.go b/utils.go index ef74784..467a78f 100644 --- a/utils.go

[tor-commits] [snowflake-webext/master] Direct users to Tor's support portal for FAQs

2021-02-18 Thread arlo
commit c3beeceae3ce679318f8976ce92b12be27d59643 Author: Arlo Breault Date: Thu Feb 11 13:06:55 2021 -0500 Direct users to Tor's support portal for FAQs Part of #7 --- static/_locales/en_US/messages.json | 6 ++ static/index.html | 6 ++ 2 files changed

[tor-commits] [snowflake-webext/master] Remove the duplication around availableLangs

2021-02-05 Thread arlo
commit 7dc400c32631d3f8058aaac19105fb32bd9dba51 Author: Arlo Breault Date: Thu Feb 4 16:53:55 2021 -0500 Remove the duplication around availableLangs This consolidates it from either a Set or an object literal to just a Map in all cases. --- make.js | 17

[tor-commits] [snowflake-webext/master] Filter out English language options

2021-02-05 Thread arlo
commit bbfe7445dd100c2db18c78bede05206a213cefb5 Author: Arlo Breault Date: Thu Feb 4 17:02:40 2021 -0500 Filter out English language options On the next line 'en_US' is pushed unconditionally. Part of #12 We can always remove this if transifex is ever updated

[tor-commits] [snowflake-webext/master] Emphasize the list of all projects

2021-02-05 Thread arlo
commit 5cd785acb58f1e469ea6b641950318c889c7d5ad Author: Arlo Breault Date: Fri Feb 5 10:50:13 2021 -0500 Emphasize the list of all projects --- static/_locales/en_US/messages.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/_locales/en_US/messages.json b

[tor-commits] [snowflake-webext/master] Remove redundancy when updating homepage strings

2021-02-05 Thread arlo
commit b074f1c1dee12d29254fc5c2a92d17c4b3a81562 Author: Arlo Breault Date: Thu Feb 4 13:27:10 2021 -0500 Remove redundancy when updating homepage strings --- make.js | 33 +++ package-lock.json | 8 +- package.json

[tor-commits] [snowflake-webext/master] Mention anonticket instead of the etherpad

2021-02-05 Thread arlo
commit 2d103da65eecc1f9c656ce5f13dec88a5e9abee6 Author: Arlo Breault Date: Thu Feb 4 11:54:42 2021 -0500 Mention anonticket instead of the etherpad Fixes #21 --- static/_locales/en_US/messages.json | 4 ++-- static/index.html | 8 2 files changed, 6

[tor-commits] [snowflake-webext/master] Filter out dotfiles

2021-01-15 Thread arlo
commit 5a89747fa226c99aef769cbabbbd70571d72f239 Author: Arlo Breault Date: Thu Jan 14 14:52:37 2021 -0500 Filter out dotfiles Fixes #18 --- make.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.js b/make.js index 38408aa..81a5b9b 100755 --- a/make.js

[tor-commits] [snowflake-webext/master] Factor out a common getDir function

2021-01-15 Thread arlo
commit 387ad5d243b5224c6ca0cefc4b6bc479ebdb9b8a Author: Arlo Breault Date: Thu Jan 14 14:52:00 2021 -0500 Factor out a common getDir function --- make.js | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/make.js b/make.js index 00c49b2..38408aa 100755

[tor-commits] [snowflake-webext/master] Add the package.lock

2021-01-14 Thread arlo
commit 1304cc584f41bdfbb0d3e6907cf464afc68e37be Author: Arlo Breault Date: Thu Jan 14 11:24:59 2021 -0500 Add the package.lock Since this keeps dirtying the tree. --- package-lock.json | 1592 + package.json |2 +- 2

[tor-commits] [snowflake-webext/master] Update Firefox and Chrome logos

2021-01-14 Thread arlo
commit 5d62c97b44be9844f2bceb7a8f06120793761604 Author: Arlo Breault Date: Fri Jan 8 17:37:07 2021 -0500 Update Firefox and Chrome logos These are taken from, https://commons.wikimedia.org/wiki/File:Firefox_logo,_2019.svg https://commons.wikimedia.org/wiki

[tor-commits] [snowflake-webext/master] Add a local copy of the snowflake schematic

2021-01-07 Thread arlo
commit 12f4ceccc199dee1e88da51068ff0f4780e16910 Author: Arlo Breault Date: Thu Jan 7 12:06:56 2021 -0500 Add a local copy of the snowflake schematic Trac is now redirected to gitlab, so the image isn't rendering on snowflake.tpo --- static/index.html | 2

[tor-commits] [snowflake-webext/master] Add some publishing info to the README

2020-05-08 Thread arlo
commit c0b6d25eb3b298428fbaf2968fdf5c0e801dac16 Author: Arlo Breault Date: Thu May 7 18:12:12 2020 -0400 Add some publishing info to the README Trac: 34127 --- README.md | 51 +++ 1 file changed, 51 insertions(+) diff --git

[tor-commits] [snowflake-webext/master] bump version to 0.3.1

2020-05-08 Thread arlo
commit d2a9a8fd136ac6bbba393de3d51fb7ca85e17b8a Author: Arlo Breault Date: Fri May 8 11:58:57 2020 -0400 bump version to 0.3.1 --- package.json | 4 ++-- translation | 2 +- webext/manifest.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git

[tor-commits] [snowflake-webext/master] Require semis

2020-05-07 Thread arlo
commit 6788592d492bc61324e48721b56fb671ba8639fb Author: Arlo Breault Date: Thu May 7 10:31:45 2020 -0400 Require semis Trac: 34140 --- .eslintrc.json | 3 ++- broker.js | 4 ++-- init-badge.js | 2 +- make.js | 8 snowflake.js| 2 +- static/index.js

[tor-commits] [snowflake-webext/master] Handle onicecandidate firing after connection closed

2020-05-07 Thread arlo
commit 0c2ab25864c803fbffe8bb23cfdcb0a01f93381c Author: Arlo Breault Date: Wed May 6 12:42:30 2020 -0400 Handle onicecandidate firing after connection closed This might just be an issue with node-webrtc but seems a harmless workaround. Trac: 34126 --- proxypair.js

[tor-commits] [snowflake-webext/master] Add version meta tag to embed.html when building

2020-05-07 Thread arlo
commit 5aa149724e66ace86a6a548c50f7800e8f772749 Author: Arlo Breault Date: Wed May 6 16:09:39 2020 -0400 Add version meta tag to embed.html when building Trac: 34128 --- make.js | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/make.js b/make.js

[tor-commits] [snowflake-webext/master] Add shebang for cl bin

2020-05-07 Thread arlo
commit 5f85f38954cfc4d5bd902c0359431c59c7165cbc Author: Arlo Breault Date: Wed May 6 17:55:23 2020 -0400 Add shebang for cl bin Trac: 34132 --- make.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.js b/make.js index 54f51f5..5cf38e4 100755

[tor-commits] [snowflake-webext/master] Bump package.json to match manifest.json

2020-05-06 Thread arlo
commit 68f9cf8fb2481d9116190b83d0303b38cf405b86 Author: Arlo Breault Date: Wed May 6 12:51:52 2020 -0400 Bump package.json to match manifest.json Trac: 34127 --- make.js | 11 --- package.json | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git

[tor-commits] [snowflake-webext/master] Remove proxy/ prefix from .gitignore

2020-04-30 Thread arlo
commit 58406af560b78a807fd6dc70087c07157cf54eef Author: Arlo Breault Date: Thu Apr 30 16:07:10 2020 -0400 Remove proxy/ prefix from .gitignore --- .gitignore | 22 +++--- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 448d843

[tor-commits] [snowflake-webext/master] Add a button to retry probe

2020-04-30 Thread arlo
commit 2ba8f859afbfb5259c6c3a830eb94fb3d536f351 Author: Arlo Breault Date: Wed Apr 15 18:35:39 2020 -0400 Add a button to retry probe Trac: 33365 Trac: 33112 --- init-badge.js | 60 + init-webext.js

[tor-commits] [snowflake-webext/master] Move getMessage inside missingFeature

2020-04-30 Thread arlo
commit 11f3d871f34ccb0ab732ac943ac7af6416830a3b Author: Arlo Breault Date: Wed Apr 15 13:51:35 2020 -0400 Move getMessage inside missingFeature --- init-badge.js | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/init-badge.js b/init-badge.js index cb066e8

[tor-commits] [snowflake-webext/master] Refactor popup on/off to be shared between webext and badge

2020-04-30 Thread arlo
commit dc9d4fab26e788f6a4b5bd4f3cf40f2a31b3a78a Author: Arlo Breault Date: Wed Apr 15 14:21:48 2020 -0400 Refactor popup on/off to be shared between webext and badge --- init-badge.js | 23 +-- static/popup.js | 25 - webext/embed.js | 22

[tor-commits] [snowflake/master] Remove local LAN address ICE candidates in proxy-go answer

2020-03-26 Thread arlo
commit 1867f89562fb25bf9a3c2172a7b6f0a198c81adb Author: Arlo Breault Date: Thu Mar 26 14:04:29 2020 -0400 Remove local LAN address ICE candidates in proxy-go answer Trac: 19026 --- proxy-go/snowflake.go | 17 ++--- 1 file changed, 14 insertions(+), 3 deletions

[tor-commits] [snowflake/master] Move StripLocalAddresses to a common util

2020-03-26 Thread arlo
commit 670e4ba4380b3fa5cf82043559dcb8c2ca790a7d Author: Arlo Breault Date: Thu Mar 26 13:05:24 2020 -0400 Move StripLocalAddresses to a common util Trac: 19026 --- client/lib/lib_test.go | 17 - client/lib/rendezvous.go | 47

[tor-commits] [snowflake/master] Rename logToStateDir/keepLocalAddresses to kebab case

2020-03-25 Thread arlo
commit 5fa757865507e340b6117c784e4ac0bd88ac7858 Author: Arlo Breault Date: Thu Mar 19 16:15:19 2020 -0400 Rename logToStateDir/keepLocalAddresses to kebab case https://en.wikipedia.org/wiki/Letter_case#Special_case_styles --- client/snowflake.go| 15 +++ client

[tor-commits] [snowflake/master] Add unsafe logging

2020-03-25 Thread arlo
commit f58c865d82fa5d3670c1df9a587d61450aeb664b Author: Arlo Breault Date: Fri Feb 7 15:45:26 2020 -0500 Add unsafe logging --- broker/broker.go | 10 -- client/snowflake.go | 9 +++-- proxy-go/snowflake.go | 10 -- server/server.go | 10 -- 4

[tor-commits] [snowflake/master] Refactor (De)SerializeSessionDescription as common utils

2020-03-17 Thread arlo
commit d10af300c128955599aefabba10ac8db7027e063 Author: Arlo Breault Date: Tue Mar 17 15:18:25 2020 -0400 Refactor (De)SerializeSessionDescription as common utils --- client/lib/lib_test.go| 7 +++--- client/lib/rendezvous.go | 5 ++-- client/lib/util.go| 52

[tor-commits] [snowflake/master] Unmarshal the SDP to filter attributes

2020-02-08 Thread arlo
commit 846473b3549c264245354a3117d87b96a945f287 Author: Arlo Breault Date: Fri Feb 7 15:39:44 2020 -0500 Unmarshal the SDP to filter attributes Instead of string manipulation. --- client/lib/lib_test.go | 18 +++--- client/lib/rendezvous.go | 64

[tor-commits] [snowflake/master] Remove local LAN address ICE candidates

2020-02-08 Thread arlo
commit 0fae4ee8ea487c3b4384217e193e5b9a9088e7de Author: Arlo Breault Date: Fri Jan 31 00:17:50 2020 -0500 Remove local LAN address ICE candidates Unfortunately, the "public" RTCIceTransportPolicy was removed. https://developer.mozilla.org/en-US/do

[tor-commits] [snowflake/master] Restructure a bit based on review

2020-02-08 Thread arlo
commit 1220853a67c8bd09c171c49097944e120ab8c9d4 Author: Arlo Breault Date: Fri Feb 7 19:02:53 2020 -0500 Restructure a bit based on review --- client/lib/rendezvous.go | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/client/lib/rendezvous.go b/client/lib

[tor-commits] [snowflake/master] Remove unreachable code

2020-02-08 Thread arlo
commit 28cf70bb444f0745d4a5221850ad213ca6799e7d Author: Arlo Breault Date: Sat Feb 8 10:12:43 2020 -0500 Remove unreachable code go vet was complaining, common/websocketconn/websocketconn.go:56:2: unreachable code --- common/websocketconn/websocketconn.go | 1 - 1 file

[tor-commits] [snowflake/master] Document setting the proxyType for metrics

2019-12-09 Thread arlo
commit 1e45d48a3c4ef05434916d963f0c00d8c0246ac9 Author: Arlo Breault Date: Fri Dec 6 17:54:54 2019 -0500 Document setting the proxyType for metrics Trac: 32499 --- proxy/README.md | 8 +++- proxy/config.js | 6 +- proxy/init-badge.js | 3 +-- proxy/init

[tor-commits] [snowflake/master] Add a build step / documentation for code reuse

2019-12-06 Thread arlo
commit af4cc52dc2eb46585d5f0da3ecc285c914e22414 Author: Arlo Breault Date: Fri Nov 22 17:17:22 2019 -0500 Add a build step / documentation for code reuse Trac: 32499 --- .gitignore | 1 + proxy/.eslintignore| 1 + proxy/README.md| 64

[tor-commits] [snowflake/master] Use gorilla websocket in proxy-go too

2019-11-25 Thread arlo
commit 30b5ef8a9e9c7a5b306e9285d1a8db323f8f22b2 Author: Arlo Breault Date: Wed Nov 20 19:33:28 2019 -0500 Use gorilla websocket in proxy-go too Trac: 32465 --- common/websocketconn/websocketconn.go | 89 +++ common/websocketconn/websocketconn_test.go

[tor-commits] [snowflake/master] Revert abstracting copyloop

2019-11-25 Thread arlo
commit 7092b2cb2c24759286f3ecc7713ad30115415e41 Author: Arlo Breault Date: Thu Nov 21 19:33:39 2019 -0500 Revert abstracting copyloop --- common/websocketconn/websocketconn.go | 19 common/websocketconn/websocketconn_test.go | 30 - proxy-go

[tor-commits] [snowflake/master] Stop using custom websocket library in server

2019-11-11 Thread arlo
commit c417fd5599c5d39951c606856c69a9f05941afd3 Author: Arlo Breault Date: Wed Oct 16 21:00:13 2019 -0400 Stop using custom websocket library in server Trac: 31028 --- .travis.yml | 2 +- server/server.go | 88 +--- 2

[tor-commits] [snowflake/master] Restore sending close message before closing

2019-11-11 Thread arlo
commit abefae158716b9f56692ea16336c1f8185eda27e Author: Arlo Breault Date: Mon Nov 11 16:59:33 2019 -0500 Restore sending close message before closing And simplify EOF check. --- server/server.go | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

[tor-commits] [snowflake/master] Regenerate the ico files to reduce size

2019-10-11 Thread arlo
commit d8d3170af8ad0a370ca8c83f996c6c7ff2836076 Author: Arlo Breault Date: Thu Oct 10 21:59:05 2019 -0400 Regenerate the ico files to reduce size With, convert -background transparent toolbar-off.svg -define icon:auto-resize=32 toolbar-off.ico --- proxy/static/assets/toolbar

[tor-commits] [snowflake/master] Update favicon with badge state on embed.html

2019-10-11 Thread arlo
commit faf02d86a15c795e69f176d952bbe1f3f531da28 Author: Arlo Breault Date: Tue Oct 1 16:45:04 2019 -0400 Update favicon with badge state on embed.html .ico files were created with, convert -density 256x256 -background transparent toolbar-on.svg -define icon:auto-resize

[tor-commits] [snowflake/master] Use a static label for the button

2019-10-01 Thread arlo
commit 36eb07a6fc1026b8b96471b72a17f578a2caff35 Author: Arlo Breault Date: Fri Sep 27 18:50:24 2019 -0400 Use a static label for the button Trac: 31685 --- proxy/init-badge.js | 2 -- proxy/static/_locales/en_US/messages.json | 7 ++- proxy/static

[tor-commits] [snowflake/master] Add a favicon

2019-09-30 Thread arlo
commit a5071ec1d623182eb2d9bc36f033f0990f50ec6f Author: Arlo Breault Date: Fri Sep 27 19:10:12 2019 -0400 Add a favicon Trac: 31537 --- proxy/static/assets/favicon.ico | Bin 0 -> 1150 bytes proxy/static/index.html | 1 + 2 files changed, 1 insertion(+) diff --

[tor-commits] [snowflake/master] Move probe to WS class for reuse in the badge

2019-09-30 Thread arlo
commit aa107862c5300ce52842f92196a3f1d1527b48b4 Author: Arlo Breault Date: Thu Sep 26 11:38:58 2019 -0400 Move probe to WS class for reuse in the badge --- proxy/init-webext.js | 44 ++-- proxy/websocket.js | 14 ++ 2 files changed, 32

[tor-commits] [snowflake/master] Add bridge probe to badge

2019-09-30 Thread arlo
commit 8d81270a9f217a5d0867a5db9237a02c8498eef9 Author: Arlo Breault Date: Thu Sep 26 12:31:09 2019 -0400 Add bridge probe to badge --- proxy/init-badge.js | 36 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/proxy/init-badge.js b

[tor-commits] [snowflake/master] Reorder enable checks

2019-09-30 Thread arlo
commit d4aa9ad2b3abd73c13e32a847d5a0247b4364e81 Author: Arlo Breault Date: Thu Sep 26 12:07:24 2019 -0400 Reorder enable checks First check that it is enabled before doing feature testing. This will be useful in the badge so that probing only happens if it is enabled

[tor-commits] [snowflake/master] Disable the webext if the bridge is unreachable

2019-09-30 Thread arlo
commit 685c3bd2626df5c2adc85b79b77624c980e12ef9 Author: Arlo Breault Date: Wed Sep 25 22:23:14 2019 -0400 Disable the webext if the bridge is unreachable --- proxy/init-webext.js | 34 +++ proxy/static/_locales/en_US/messages.json | 3

[tor-commits] [snowflake/master] Move missingFeature to initToggle in webext

2019-09-30 Thread arlo
commit 19bc6d88584fc8cd67e5545e8d5f659a0782aa23 Author: Arlo Breault Date: Wed Sep 25 21:33:57 2019 -0400 Move missingFeature to initToggle in webext --- proxy/init-webext.js | 91 --- proxy/webext/embed.js | 2 +- 2 files changed, 44

[tor-commits] [snowflake/master] Enforce consistent indentation in js

2019-08-27 Thread arlo
commit 1b14810d341d777fb6cdc3d8b1ad7e55b4989c32 Author: Arlo Breault Date: Tue Aug 27 18:19:51 2019 -0400 Enforce consistent indentation in js --- proxy/.eslintrc.json | 8 +++- proxy/make.js| 4 ++-- proxy/proxypair.js | 2 +- 3 files changed, 10 insertions(+), 4 deletions

[tor-commits] [snowflake/master] remove exclamation mark. ref https://grammar.yourdictionary.com/punctuation/when/when-to-use-exclamation-marks.html

2019-08-26 Thread arlo
commit ea442141db4cf1451870124d9f1cc8916a82853a Author: emma peel Date: Fri Aug 23 12:15:45 2019 + remove exclamation mark. ref https://grammar.yourdictionary.com/punctuation/when/when-to-use-exclamation-marks.html --- proxy/static/_locales/en_US/messages.json | 2 +- 1 file changed,

[tor-commits] [snowflake/master] Add branch to .gitmodule + bump to bbf11bb

2019-08-26 Thread arlo
commit 131cf4f8ea0faaa41774e52f5d81878803f45dbc Author: Arlo Breault Date: Mon Aug 26 12:09:41 2019 -0400 Add branch to .gitmodule + bump to bbf11bb This allows you to run `git submodule update --remote` to bump to the latest commit on that branch. --- .gitmodules | 1

[tor-commits] [snowflake/master] Get badge locale from navigator.language

2019-08-26 Thread arlo
commit 1e33ae830f739a7d61e03ea1626f5e71ba175cbc Author: Arlo Breault Date: Thu Aug 15 17:32:21 2019 -0400 Get badge locale from navigator.language --- proxy/init-badge.js | 23 +-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/proxy/init-badge.js b

[tor-commits] [snowflake/master] Automate generating the list of available languages for the badge

2019-08-26 Thread arlo
commit 1c550599b8239161fe8ea2bb8bb2541225770453 Author: Arlo Breault Date: Thu Aug 22 12:28:26 2019 -0400 Automate generating the list of available languages for the badge Note that getMessage in the badge depends on having a complete set of translations, unlike

[tor-commits] [snowflake/master] Copy completed translations over when building

2019-08-26 Thread arlo
commit 9c20ab398484301a8eb2b45db2aa2320a0b44b40 Author: Arlo Breault Date: Thu Aug 22 11:23:15 2019 -0400 Copy completed translations over when building --- proxy/make.js | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/proxy/make.js b/proxy

[tor-commits] [snowflake/master] Bump proxy/translation to HEAD of snowflakeaddon-messages.json_completed

2019-08-26 Thread arlo
commit 9faf8293e6614d559758fcd1fa4a76419f92dd55 Author: Arlo Breault Date: Fri Aug 23 21:54:56 2019 -0400 Bump proxy/translation to HEAD of snowflakeaddon-messages.json_completed --- proxy/translation | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/translation b

[tor-commits] [snowflake/master] Add translation submodule

2019-08-26 Thread arlo
commit a0dd3d9edcd9421ac82f33960815e5fab7d00d53 Author: Arlo Breault Date: Thu Aug 22 10:52:57 2019 -0400 Add translation submodule At the head of the snowflakeaddon-messages.json_completed branch --- .gitmodules | 3 +++ proxy/translation | 1 + 2 files changed, 4

[tor-commits] [snowflake/master] Start localization

2019-08-15 Thread arlo
commit 4e5a50f2b54db62991e4ce3313aa9b7f92a1c573 Author: Arlo Breault Date: Wed Aug 14 13:45:15 2019 -0400 Start localization Trac 30310 --- .gitignore| 1 + proxy/init-badge.js | 53 --- proxy

[tor-commits] [snowflake/master] Remove mentions of snowflake.html

2019-07-31 Thread arlo
commit e6f76339619b2891898f92842e02e88c7b5ea359 Author: Arlo Breault Date: Wed Jul 31 18:14:00 2019 -0400 Remove mentions of snowflake.html It was removed in e60f228 and aa27c05 --- README.md | 2 +- proxy/README.md | 5 + 2 files changed, 2 insertions(+), 5 deletions

[tor-commits] [snowflake/master] Move icons/ to assets/

2019-07-31 Thread arlo
commit b324d9d42fff09e7db0f2fe2657a2265a3b39271 Author: Arlo Breault Date: Wed Jul 31 17:59:48 2019 -0400 Move icons/ to assets/ There's a default alias for icons/ in apache, https://www.electrictoolbox.com/apache-icons-directory/ --- .gitignore

[tor-commits] [snowflake/master] Use execSync in make.js

2019-07-31 Thread arlo
commit 5321223240d52be28d5459631c70226cf94bdec0 Author: Arlo Breault Date: Wed Jul 31 16:43:56 2019 -0400 Use execSync in make.js 695554c highlighted the race here. --- proxy/make.js | 28 1 file changed, 12 insertions(+), 16 deletions(-) diff --git

[tor-commits] [snowflake/master] Redirect removed snowflake.html

2019-07-31 Thread arlo
commit aa27c0556c919a7186a0e24fa3303ec46ead3ce8 Author: Arlo Breault Date: Wed Jul 31 15:49:21 2019 -0400 Redirect removed snowflake.html --- proxy/static/.htaccess | 2 ++ 1 file changed, 2 insertions(+) diff --git a/proxy/static/.htaccess b/proxy/static/.htaccess index f733194..1a8277f

[tor-commits] [snowflake/master] Update the main page on the static website

2019-07-13 Thread arlo
commit d6d42e82aa067610960b2407204cf5f508d864bb Author: Arlo Breault Date: Fri Jul 12 21:31:36 2019 +0200 Update the main page on the static website --- proxy/static/SourceSansPro-Regular.ttf | Bin 0 -> 293516 bytes proxy/static/chrome150.jpg | Bin 0 -> 5321 bytes

[tor-commits] [snowflake/master] Set the browser action icon to off when webrtc is disabled

2019-07-13 Thread arlo
commit 6c6707ae9b729a676ae1420d2a62c287fd3f39ab Author: Arlo Breault Date: Sat Jul 13 12:48:21 2019 +0200 Set the browser action icon to off when webrtc is disabled This is now necessary since the webextension changed to default to on. Follow up to 095f4a0 From

[tor-commits] [snowflake/master] Remove mentions of coffeescript from docs

2019-07-10 Thread arlo
commit d3080e25669fa8408e32d3a36c372d6a5ca59029 Author: Arlo Breault Date: Sat Jul 6 16:41:56 2019 +0200 Remove mentions of coffeescript from docs --- CONTRIBUTING.md | 8 ++-- README.md| 5 ++--- proxy/README.md | 3 +-- proxy

[tor-commits] [snowflake/master] Cleanup lints identified by eslint

2019-07-10 Thread arlo
commit fab39ae57c8c8ba0a65ec381e8b9678468e45164 Author: Arlo Breault Date: Sun Jul 7 15:40:51 2019 +0200 Cleanup lints identified by eslint Some files were omitted in the .eslintignore, left as an exercise to the reader. We probably want to reduce amount of globals

[tor-commits] [snowflake/master] Close over init so that we can return if a feature isn't detected

2019-07-10 Thread arlo
commit 27a92ab03a1e296a4e73f6861b31931e4aeba221 Author: Arlo Breault Date: Sat Jul 6 16:40:03 2019 +0200 Close over init so that we can return if a feature isn't detected I guess alternatively, just use an if/else block. --- proxy/init-badge.js | 124

[tor-commits] [snowflake/master] Don't specify port for stun server

2019-07-10 Thread arlo
commit fb0578d84016439f387e1da37e23b4d5bc2f8a17 Author: Arlo Breault Date: Sun Jul 7 12:43:32 2019 +0200 Don't specify port for stun server No idea why but, with it, when a client disconnects the datachannel doesn't close. This wasn't an issue prior to 359600d since

[tor-commits] [snowflake/master] Lint with eslint

2019-07-10 Thread arlo
commit ebeb45c8d621dbeb2c9d0cbe06669ad3751b3ea4 Author: Arlo Breault Date: Sun Jul 7 15:31:09 2019 +0200 Lint with eslint Requires at least node v8.x --- .travis.yml | 3 ++- proxy/.eslintrc.json | 8 proxy/package.json | 4 +++- 3 files changed, 13 insertions

[tor-commits] [snowflake/master] Null out relay after closing

2019-07-10 Thread arlo
commit c12fcbeb856fcb2ea5431059bd6712d91e5ac1b5 Author: Arlo Breault Date: Sun Jul 7 18:44:56 2019 +0200 Null out relay after closing This was probably meant to be `@relay = null` is the coffeescript. --- proxy/proxypair.js | 16 1 file changed, 8 insertions

[tor-commits] [snowflake/master] Don't overwrite global location

2019-07-10 Thread arlo
commit 6e95581f53d5b20c699617b7f57fc8b285a3d9c7 Author: Arlo Breault Date: Sun Jul 7 10:30:19 2019 +0200 Don't overwrite global location --- proxy/init-badge.js | 2 +- proxy/shims.js | 5 + 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/proxy/init-badge.js b

[tor-commits] [snowflake/master] Use at least v6 of node on travis for destructuring assignment

2019-07-10 Thread arlo
commit 99952ca7de2e5d73dee5b3f17fe3da449cad6a4d Author: Arlo Breault Date: Sat Jul 6 16:59:37 2019 +0200 Use at least v6 of node on travis for destructuring assignment --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index

[tor-commits] [snowflake/master] Ensure `snnowflake` was initialized in unload handlers

2019-07-10 Thread arlo
commit 3455cd5da831ad77bd6e77544dba21134a294514 Author: Arlo Breault Date: Wed Jul 10 10:52:51 2019 +0200 Ensure `snnowflake` was initialized in unload handlers --- proxy/init-badge.js | 8 ++-- proxy/init-webext.js | 8 ++-- 2 files changed, 12 insertions(+), 4 deletions

[tor-commits] [snowflake/master] Rename Cakefile and make it work

2019-07-10 Thread arlo
commit f97c37fe5d98ad2df5f2e8cd6aac5a79882def65 Author: Arlo Breault Date: Sat Jul 6 15:48:33 2019 +0200 Rename Cakefile and make it work --- .travis.yml | 1 - proxy/Cakefile.js | 102 -- proxy/coffeelint.json | 135

[tor-commits] [snowflake/master] Bump coffeescript to 2.x

2019-07-10 Thread arlo
commit 82562fb21de6472bfe73b41d227fd0eab80567f4 Author: Arlo Breault Date: Wed Jul 10 10:42:49 2019 +0200 Bump coffeescript to 2.x After auditing for breaking changes [0] so that the output produced uses ES2015 classes. [0] https://coffeescript.org/#breaking-changes

[tor-commits] [snowflake/master] Fix pcConfig from compiling to a global

2019-07-10 Thread arlo
commit 359600ddc55d197dbaac7f01f72ac8278054efe7 Author: Arlo Breault Date: Sat Jul 6 13:43:29 2019 +0200 Fix pcConfig from compiling to a global But note that maybe we should be constructing a new PCConfig each time Config is instantiated, rather than sharing

[tor-commits] [snowflake/master] Can't reference 'this' before calling super in derived class constructors

2019-07-10 Thread arlo
commit 1fd6cb870e4731d83fe49a55e61ca4a2ce73a00e Author: Arlo Breault Date: Sat Jul 6 13:03:49 2019 +0200 Can't reference 'this' before calling super in derived class constructors From https://coffeescript.org/#breaking-changes-super-this --- proxy/ui.coffee | 4 +++- 1 file

[tor-commits] [snowflake/master] Lightly massage some of the generated JavaScript

2019-07-10 Thread arlo
commit 1867a3f121b5ea032466675f8ea3d00a134acd9a Author: Arlo Breault Date: Sat Jul 6 15:20:07 2019 +0200 Lightly massage some of the generated JavaScript --- proxy/Cakefile.js| 42 +++-- proxy/broker.js | 188 +-- proxy/config.js

[tor-commits] [snowflake/master] Update webext manifest descriptionn

2019-07-05 Thread arlo
commit e6f9211d133f7d7bef3127421f7e8109365383fd Author: Arlo Breault Date: Thu Jul 4 04:54:15 2019 +0200 Update webext manifest descriptionn --- proxy/package.json | 2 +- proxy/webext/manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy

[tor-commits] [snowflake/master] Cleanup popup onMessage handler

2019-07-05 Thread arlo
commit 453bf0611cadfc9f85240d3424b04a638b4604f3 Author: Arlo Breault Date: Fri Jul 5 07:22:20 2019 +0200 Cleanup popup onMessage handler --- proxy/webext/popup.html | 4 +-- proxy/webext/popup.js | 70 + 2 files changed, 50 insertions

[tor-commits] [snowflake/master] Fix comprehension in Parse.cookie

2019-07-05 Thread arlo
commit 6ab6e489f630296333005919754755098a8018cf Author: Arlo Breault Date: Fri Jul 5 13:24:02 2019 +0200 Fix comprehension in Parse.cookie So that it compiles to, ``` if (!(name in result)) { result[name] = value; } ``` instead

  1   2   3   4   5   6   7   >