Commit graph

981 commits

Author SHA1 Message Date
Jonathan Cohen
583ef409cd
Upgrade outline-ss-server (#883) 2021-04-28 20:26:31 -04:00
Jonathan Cohen
e3604a28dc
Bump shadowbox to 1.6.1 (#882) 2021-04-28 16:32:42 -04:00
Jonathan Cohen
b46e1b4448
Load per key data limits from the config file (#881) 2021-04-28 14:56:59 -04:00
alalamav
73e26d7cc0
Increase manager version (#875) 2021-04-23 10:52:05 -05:00
alalamav
1633165df4
Enable kk, my translations (#877) 2021-04-23 10:51:29 -05:00
alalamav
16fb0fb04d
Update manager translations (#874) 2021-04-22 17:19:36 -05:00
mpmcroy
b7cda5c7ae
Adds GCP create server flow (#864)
* 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

* Adds GcpAccount implementation

* Auto-format

* Auto-format

* Replace OAuth config client id

* Adds method to fetch OpenID userinfo

* Adds method to fetch OpenID userinfo

* Checkpoint

* Auto-format

* Adds method to refresh GCP access token

* Uncommenting

* Checkpoint

Auto-formatting

Updates intro step with gcp account

Auto-format

typo

* Add comment

* fetch refactor

* Auto-format

* Remove account from CloudAccounts

* Refactors refresh token exchange

* Auto-format

* Auto-format

* Initial GCP create server UI

* Auto-format

* Addresses review comments

* URL encoding

* Encode URL

* Adds GCP strings

* Addresses review comments

* Addresses review comments

* Addresses review comments

* Adds GCP create server app to gallery; Addresses review comments;

* Auto-formatting

* Addresses review comments

* Auto-format

* Addresses review comments

* Auto-format

* Addresses review comments

* Addresses review comments

* Auto-format

* Addresses review comment

* Auto-format

* Addresses review comments

* Minor fix

* Removes comments

* Addresses review comments

* Auto-format

* Addresses review comments
2021-04-09 14:15:00 -04:00
Jonathan Cohen
2c575bb8a5
Bump the manager to version 1.7.2 (#860) 2021-03-25 15:55:21 -04:00
Vinicius Fortuna
ac0d26a813
Merge pull request #852 from Jigsaw-Code/fortuna-cloud
Use Account ids
2021-03-25 18:10:44 +00:00
Vinicius Fortuna
5a14fe6767 Add ID comment on the Account 2021-03-25 13:48:21 -04:00
Vinicius Fortuna
216b8122d9 Add comment 2021-03-25 13:43:11 -04:00
Vinicius Fortuna
517647b214 Add TODO 2021-03-25 12:57:10 -04:00
Vinicius Fortuna
20ef6eecd8 Merge branch 'master' into fortuna-cloud 2021-03-25 12:55:37 -04:00
Vinicius Fortuna
4b2cfbc573
Merge pull request #859 from Jigsaw-Code/fortuna-fix
Fix server removal
2021-03-25 16:52:49 +00:00
Vinicius Fortuna
3bee7cdd02 make methods async 2021-03-25 11:55:04 -04:00
Vinicius Fortuna
a7bec09ffa Minor cleanup 2021-03-25 11:40:21 -04:00
Vinicius Fortuna
fa7acacc36 Fix app.spec.ts 2021-03-25 03:41:18 -04:00
Vinicius Fortuna
8e64f0ffa1 Fix server removal 2021-03-25 03:18:52 -04:00
Vinicius Fortuna
7eea5ee560 Add AccountListEntry 2021-03-24 21:14:13 -04:00
Vinicius Fortuna
62c40524b7 Merge branch 'master' into fortuna-cloud 2021-03-24 20:09:34 -04:00
Vinicius Fortuna
55be5a8599 Remove unused getHostId() 2021-03-24 17:54:39 -04:00
alalamav
403f082208
Force production build environment for releases (#857) 2021-03-24 14:57:10 -05:00
Jonathan Cohen
3023a6926c
Don't create unsigned Windows binaries on Manager release (#851)
* Don't build an unsigned Windows Manager app on release

* Remove a stray newline
2021-03-24 15:42:00 -04:00
Jonathan Cohen
efd0daf89b
Bump the manager to version 1.7.1 after the server destruction bugfix (#856) 2021-03-24 15:05:55 -04:00
Jonathan Cohen
8fdd8d7273
Pass the id of the server to remove to event listeners (#855)
* Pass the id of the server to be removed from the manager to the event listener

* Correctly reset appRoot state after destroying a server

* Rename to forgetServer

* Remove stray logging

* Apply suggestions from code review

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>

* Further suggested changes

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>
2021-03-24 15:04:09 -04:00
Vinicius Fortuna
023a0c29fb Merge branch 'master' into fortuna-cloud 2021-03-24 11:20:23 -04:00
Vinicius Fortuna
766c22c9f6
Merge pull request #853 from Jigsaw-Code/fortuna-template
Clean up Server list template
2021-03-24 15:15:33 +00:00
Vinicius Fortuna
1353767a2e Update braces 2021-03-24 11:08:48 -04:00
Vinicius Fortuna
a6ceb399d1 Clean up Server list template 2021-03-24 00:01:57 -04:00
Vinicius Fortuna
e20cf5c118 Use Account ids 2021-03-23 23:12:45 -04:00
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
Jonathan Cohen
15cc5889c4
Add new translation strings for per key data limits (#849) 2021-03-22 19:07:55 -04:00
Jonathan Cohen
ce385a87c8
Bump the manager to version 1.7.0 (#850) 2021-03-22 19:06:50 -04:00
Jonathan Cohen
2f2e658134
Per-Key Data Limits in the Manager (#841)
* Add per-key data limits to the UI

* Hold byte values instead of DisplayDataAmounts in OutlineServerView and OutlinePerKeyDatALimitDialog

This allows us to fix a layering issue where, at the time of converting
a server access key to a DisplayAccessKey, we couldn't compute the
'relevant transfer' for progress bar displays since we couldn't get at
the server's default data limit.

* Mayp#values() returns an Iterator, not an array

* Rename event field to defaultDataLimitBytes

* Don't reset the dialog state on failure

* Use a loop instead of Math.max in refreshTransferStats

* Unconditionally enable the default data limit in the UI after adding it to the server

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>

* Consistent handling of the view's default data limit state for both addition and removal

* Use callbacks to set and remove the per key data limit

* s/_showMenu/_showDataLimit/g

* Make language a public property of the dialog

* The dialog only needs the active data limit

* Use a separate method for the handler to open the dialog

* Use _activeDataLimitBytes

* We can use the ?? operator in `refreshTransferStats`

* s/dataLimitType/dataLimitUnit/g

* Rename a couple members

Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com>
2021-03-15 10:55:41 -04:00
Vinicius Fortuna
11a6b34e6e
Merge pull request #843 from Jigsaw-Code/fortuna-patch-1
Add info on blocking resistance
2021-03-11 13:03:56 -05:00
Vinicius Fortuna
0ce47d11a5
Update README.md 2021-03-11 11:53:32 -05:00
Vinicius Fortuna
b7601ce25a
Address review comments 2021-03-11 11:48:41 -05:00
Vinicius Fortuna
b78d7754b0
Update README.md 2021-03-10 21:36:33 -05:00
Vinicius Fortuna
4ca4e0ee12
Add info on blocking resistance 2021-03-10 21:34:45 -05:00
mpmcroy
b193850304
Rename adminEmail to digitalOceanAccountName (#839)
* Renames adminEmail to digitalOceanAccountName

* Minor typo
2021-03-04 16:59:04 -05:00
mpmcroy
f5e9652ab2
Fixes unresponsive outline-do-oauth-step (#837)
* Fixes return statement

* Disconnect account and show intro when DigitalOcean OAuth is cancelled through the Outline Manager
2021-03-02 10:32:19 -05:00
Benjamin M. Schwartz
da61d6d4c7
Merge pull request #836 from Jigsaw-Code/bemasc-update
Update outline-shadowsocksconfig
2021-03-01 15:04:07 -05:00
Ben Schwartz
8f016d460d Update outline-shadowsocksconfig 2021-03-01 14:29:48 -05:00
Benjamin M. Schwartz
dc05c8db90
Merge pull request #834 from Jigsaw-Code/bemasc-shellcheck
Add a fallback IP check URL
2021-03-01 13:05:16 -05:00
Jonathan Cohen
96f23cee97
s/cohenjon/JonathanDCohen/ (#835) 2021-03-01 12:35:56 -05:00
Ben Schwartz
7f65fb7f43 Add a fallback IP check URL
Fixes #776
2021-02-26 13:54:20 -05:00
Benjamin M. Schwartz
18ad065f44
Merge pull request #833 from Jigsaw-Code/bemasc-shellcheck
Fix shellcheck installation on macOS
2021-02-24 16:24:42 -05:00
Ben Schwartz
71ec965760 Fix shellcheck installation on macOS
The shellcheck download verification step was relying on `sha256sum`,
which is not present in the macOS default install.
2021-02-24 14:44:22 -05:00
mpmcroy
3b8b2bd372
Replaces TokenManager with CloudAccounts (#829)
* Addresses review comments

* Fixes formatting
2021-02-24 12:59:04 -05:00
Benjamin M. Schwartz
7badff4d77
Merge pull request #831 from Jigsaw-Code/bemasc-bower
Remove lingering mentions of Bower
2021-02-23 17:12:03 -05:00