Commit graph

86 commits

Author SHA1 Message Date
mpmcroy
b9222fe75c
Adds GCP OAuth (#838)
* gitignore

* Adds GCP token to CloudAccounts

* Checkpoint

* Checkpoint

* Refactors cloud accounts

* Addresses comments

* Auto-formatting

* Reverts gallery webpack GCP local server

* Reverts webpack config change

* Minor cleanup

* Removes unused class

* Reverts initial feature flag implementation

* Removes unneeded logging

* Adds credentials getters to CloudAccounts and updates tests

* Auto-format

* Adds FakeCloudAccounts

* Removes credentialsGetter from CloudAccounts

* Removes account factories from CloudAccounts

* Addresses review comments

* Addresses review commetns

* Auto-formatting

* Auto-format

* Replace OAuth config client id

* Remove account from CloudAccounts
2021-03-23 15:52:25 -04:00
Ben Schwartz
8f016d460d Update outline-shadowsocksconfig 2021-03-01 14:29:48 -05:00
Sarah Laplante
3dcbe1499d bump ssconfig version 2021-02-19 14:10:09 -05:00
Sarah Laplante
ba1a964605 bump ssconfig version number 2021-02-11 20:29:21 -05:00
Jonathan Cohen
1c5b563d0d
Internationalize units and currency (#780)
* Internationalize data transfer amounts

* Internationalize units and currency

This required updating to Typescript 4 and adding compiler changes for the server manager in order to support newer features of `Intl`.

This change also fixes it so that the server city, creation date, and data limits no longer are stuck to the old language ater changing languages.

* Remove stray log

* Respond to review comments

* Remove byte-size

* Move to `web_app`

This code is only intended to be run in a web environment, not in Node.

* Respond to review comments

* Use property binding to the app language

* Respond to review comments

* Respond to review comments

* s/get/format

* Error out on Node

* Set the persisted app language before starting the app to prevent issues with undefined language at startup

* Respond to review comments and broaden covered languages
2021-02-04 18:47:45 -05:00
Jonathan Cohen
cb4c3f8d31
Ensure that Karma and Electron use the same Chromium version (#803)
* Ensure that Karma and Electron use the same Chromium version

* Move the unit test to server_manager.  This fixes an error on Travis involving importing from a package.json governed by a different tsconfig

* Unconditionally build the install script in the web app test
2021-02-01 13:04:56 -05:00
Vinicius Fortuna
0fdf9e88ac
Merge pull request #788 from Jigsaw-Code/dependabot/npm_and_yarn/ini-1.3.8
Bump ini from 1.3.5 to 1.3.8
2021-01-29 15:59:46 -05:00
Vinicius Fortuna
b4436f3861
Merge pull request #764 from Jigsaw-Code/dependabot/npm_and_yarn/find-my-way-2.2.5
Bump find-my-way from 2.2.3 to 2.2.5
2021-01-29 15:59:04 -05:00
Vinicius Fortuna
e99e39916b
Merge pull request #727 from Jigsaw-Code/dependabot/npm_and_yarn/node-fetch-2.6.1
Bump node-fetch from 2.6.0 to 2.6.1
2021-01-29 15:58:25 -05:00
dependabot[bot]
4e99f5322c
Bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-08 22:53:54 +00:00
Vinicius Fortuna
e99d5f28e2 Update yarn.lock 2021-01-08 11:26:43 -05:00
Vinicius Fortuna
8df249535f Simplify app 2020-12-28 11:34:15 -05:00
dependabot[bot]
b6436cd4b1
Bump find-my-way from 2.2.3 to 2.2.5
Bumps [find-my-way](https://github.com/delvedor/find-my-way) from 2.2.3 to 2.2.5.
- [Release notes](https://github.com/delvedor/find-my-way/releases)
- [Commits](https://github.com/delvedor/find-my-way/compare/v2.2.3...v2.2.5)

Signed-off-by: dependabot[bot] <support@github.com>
2020-11-09 22:53:16 +00:00
dependabot[bot]
33aafa1f93
Bump node-fetch from 2.6.0 to 2.6.1
Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-01 17:59:47 +00:00
Jonathan Cohen
a5d53bc2aa
Release channels and staged releases for the manager (#736)
* Generate all updates files

* TEST

* Allow staged releases and beta channels for all Electron platforms

* Clarify manager_release_channel.sh

* Install jq in the CI build

* Use a common script for common packaging options

* Fix comment in get_packaging_opts

* Use a version of `jq` managed by Yarn

* Make staged rollouts affect the beta channel for mainline builds

Also remove the alpha info chanel files since we aren't using them.

* Fix packaging scripts when no args are passed

* Don't install jq in Travis anymore

* Fix trailing newlines

* Fill packaging options by `source`-ing the options parsing script

* Rename to get_manager_release_channel.sh
2020-10-01 13:58:53 -04:00
Vinicius Fortuna
0ae399f626
Merge pull request #716 from Jigsaw-Code/dependabot/npm_and_yarn/elliptic-6.5.3
Bump elliptic from 6.5.2 to 6.5.3
2020-08-19 12:11:11 -04:00
dependabot[bot]
6285369de5
Bump elliptic from 6.5.2 to 6.5.3
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-30 16:32:52 +00:00
dependabot[bot]
cc7228abf7
Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 03:54:34 +00:00
Vinicius Fortuna
e58393d248 Merge branch 'master' into fortuna-sort 2020-06-23 11:14:25 -04:00
alalamav
2790202627
Fix unit tests (#693) 2020-06-22 16:32:48 -04:00
Vinicius Fortuna
2f09839eaf Fix sorting 2020-06-17 02:46:56 -04:00
dependabot[bot]
3f9cd0d64e
Bump websocket-extensions from 0.1.3 to 0.1.4 (#685) 2020-06-11 18:14:04 -04:00
Vinicius Fortuna
4c1f2e2672 Remove request-lite from outline-manager 2020-05-28 11:51:33 -04:00
Vinicius Fortuna
4dac95743f Replace request-lite with node-fetch 2020-05-27 21:24:15 -04:00
Vinicius Fortuna
5c5136b52f Optimize Dockerfile 2020-05-14 23:32:02 -04:00
Vinicius Fortuna
538ac088f8 Fix yarn lock 2020-05-14 18:54:36 -04:00
alalamav
e0f2e7381f
Upgrade restify to v8.5.1 (#644) 2020-05-11 16:25:09 -04:00
Vinicius Fortuna
59ebbd8a02 Cleanup 2020-05-08 16:43:40 -04:00
Vinicius Fortuna
d401dc5c49 Add l10n messages 2020-05-08 14:06:50 -04:00
Vinicius Fortuna
48756c96ba Create gallery app 2020-05-07 19:19:46 -04:00
Vinicius Fortuna
b45de5704c Fix babel and cleanup 2020-05-07 16:50:06 -04:00
Vinicius Fortuna
817bb1a20a Add support for dev server 2020-05-07 12:50:34 -04:00
Vinicius Fortuna
aef4e9b446 Create loader 2020-05-06 02:50:42 -04:00
Vinicius Fortuna
fb1504ebef Merge branch 'master' into fortuna-webpack-polymer 2020-05-01 19:13:43 -04:00
alalamav
1a57e44208
Update sentry to v1.3.0 (#635) 2020-04-30 16:34:48 -04:00
Vinicius Fortuna
092287be6c Merge branch 'master' into fortuna-webpack-polymer 2020-04-30 15:32:47 -04:00
Vinicius Fortuna
a45924501d Update yarn.lock 2020-04-30 13:14:59 -04:00
Vinicius Fortuna
6692080207 Convert to Polymer 3 2020-04-30 01:16:56 -04:00
Vinicius Fortuna
88d171d836 Merge branch 'fortuna-sentry' into fortuna-webpack 2020-04-28 18:23:47 -04:00
Vinicius Fortuna
d206df4f8c Fix sentry 2020-04-28 18:17:28 -04:00
Vinicius Fortuna
1af45d3914 Use webpack 2020-04-28 11:20:36 -04:00
Vinicius Fortuna
e1462b757b Upgrade Typescript 2020-04-28 02:04:25 -04:00
Vinicius Fortuna
8238d57346 Stop depending on Node code in the browser code 2020-04-28 01:36:53 -04:00
alalamav
c0ba8c0a5f
Data limits surveys (#612) 2020-04-09 13:38:50 -04:00
alalamav
1acf43e8a6
Remove Sentry API keys (#608) 2020-04-08 10:26:24 -04:00
mpmcroy
8a359a4a88
Fixes data transfer UI to always display in base 10 (GB vs GiB) (#605)
* Fixes data transfer limit calculation

* Replaces bytes library with byte-size

* Addresses review comments

* Update licenses.txt

* Fix typo
2020-04-01 13:03:57 -04:00
alalamav
97ec7255b6
Pin electron version to 7.0.1; update electron-builder to 22.4.0 (#603) 2020-03-10 13:43:30 -04:00
alalamav
ed9fdd3819
Update @types/express (#602) 2020-03-09 16:06:23 -04:00
Jonathan Cohen
c6435feae5
Select newly added keys (#601)
* Select newly added keys

* Add a comment about force rendering

* Use the newest types for express and remove a conflict between multiple
versions of express between the top level node modules and the
metrics_server node modules.  Also fix node typing at major version 12
to avoid issues with typing in node 13.
2020-03-06 18:33:07 -05:00
alalamav
64b3d85a62
Notarize macOS app (#584) 2020-02-21 11:34:57 -05:00