Commit graph

860 commits

Author SHA1 Message Date
Vinicius Fortuna
bc7c1b8946 Add some errors 2020-12-30 00:40:27 -05:00
Vinicius Fortuna
c0a06eeeab Remove old test 2020-12-29 21:56:29 -05:00
Vinicius Fortuna
8aca943c83 Fix more tests 2020-12-29 21:55:46 -05:00
Vinicius Fortuna
d959bad07e Fix tests 2020-12-29 21:39:16 -05:00
Vinicius Fortuna
9887f4a80b Make addServer semi-synchronous 2020-12-29 20:59:18 -05:00
Vinicius Fortuna
50c58d23de Rename and move DisplayServer 2020-12-29 19:59:06 -05:00
Vinicius Fortuna
193f208d57 Add server cancellation 2020-12-29 19:46:54 -05:00
Vinicius Fortuna
abf88e68af Fix server loading 2020-12-29 17:19:53 -05:00
Vinicius Fortuna
160db60d25 Update server view on creation completed 2020-12-29 14:07:51 -05:00
Vinicius Fortuna
43594d9481 Merge branch 'fortuna-clean' into fortuna-display 2020-12-29 10:45:52 -05:00
Vinicius Fortuna
767af362bc Call await for serverUnreachable 2020-12-29 10:42:48 -05:00
Vinicius Fortuna
d713ba3701 Fix server creation 2020-12-28 18:18:08 -05:00
Vinicius Fortuna
d7790e0647 Remove commented out code 2020-12-28 17:41:12 -05:00
Vinicius Fortuna
2f304551f3 Remove unnecessary use of this.selectedServer 2020-12-28 17:31:03 -05:00
Vinicius Fortuna
7df13a2ff1 Replace appRoot.selectedServer server Id 2020-12-28 17:19:47 -05:00
Vinicius Fortuna
64b9a3fb35 More cleanup 2020-12-28 16:58:52 -05:00
Vinicius Fortuna
8df249535f Simplify app 2020-12-28 11:34:15 -05:00
Vinicius Fortuna
d274d4ba98 Replace promises with async 2020-12-23 17:44:13 -05:00
Vinicius Fortuna
603ff0ca34 Clean up show server logic 2020-12-23 17:00:46 -05:00
Vinicius Fortuna
a1bbfdc7c8 Clean up some async code 2020-12-23 16:39:53 -05:00
Jonathan Cohen
cf355a6fee
Per-Key Data Limits in Shadowbox (#769)
* s/AccessKeyDataLimit/DefaultDataLimit/g for shadowbox

* Implement per-key custom data limits in shadowbox

* Shadowbox integration test

* Fix the manager service test to maintain backwards compatibility with
the GET /server response

* Fix integration test for Travis

* Fix lint errors

* Implement removal of access key data limits

* Persist custom data limits

* Bump Shadowbox version number

* Add a per key dat alimit count to the feature metrics endpoint

This also involved modifying the schema of
uproxysite:uproxy_metrics_dev.feature_metrics to include the new field.
See https://cloud.google.com/bigquery/docs/managing-table-schemas#bq_1
for how this was accomplished

Tested:
  yarn do metrics_server/test && yarn do metrics_server/test_integration

* Collect usage metrics for per-key data limits

* API documentation and cleanup

* Respond to review comments

* Respond to review comments

* Don't encode the data limit in the access key url

This should have been caught in the integration test, but the
integration test was miswritten with "echo" instead of "fail", cause the
test to mistakenly pass.

Fixing this exposed other errors in the test, which were fixed.  The
test has been confirmed to both pass and fail successfully.

* Fix the manager service unit test

* Remove stray files

* Split integration test into individual functions

* Clarify comment in the AccessKey interface

* Be more explicit about behavior when no data limits are set

* Remove spuriosu import added by vscode

* DOn't bump shadowbox version number yet

* Rename to accessKeyToApiJson

* Don't export AccessKeyJson and use "StorageJson"

* Don't await data limit enforcement

* Rename the defaultDataLimit getter

* Make dataLimit in the accesskey model readonly

* Use nullish coalescing operator
2020-12-23 13:52:50 -05:00
Vinicius Fortuna
eca7028a2a
Merge pull request #782 from newjett0617/master
fix wrong path in readme
2020-12-22 22:49:12 -05:00
newjett0617
c87d5bdf98 fix wrong path in readme 2020-12-23 11:38:21 +08:00
mpmcroy
a916b455f2
Adds Karma to run web_app tests (#742)
* Adds webapp tests using Karma and Chrome headless browser

* Fixes app.spec.ts tests by injecting AppRoot into DOM

* auto-format

* Removes temp code from karma config

* Remove unused test code

* Adds license

* Fixes comment

* Addresses review comments
2020-11-18 08:39:43 -05:00
Jonathan Cohen
68d9a94846
Update Outline and Jigsaw logos (#740)
* Update Outline and Jigsaw logos

* Update launcher icon to not use transparency.

* Make the Jigsaw logo in the About view a reasonable size.

* Remove the background from the TOS view icon
2020-11-10 10:25:15 -05:00
Benjamin M. Schwartz
a4a326e116
Merge pull request #763 from Jigsaw-Code/bemasc-release
Release 1.5.3 (outline-ss-server 1.3.3)
2020-11-06 14:47:10 -05:00
Ben Schwartz
0215f1f69b Release outline-ss-server 1.3.3 2020-11-06 13:52:45 -05:00
Vinicius Fortuna
6df5bf1d04
Merge pull request #761 from Jigsaw-Code/fortuna-release
Release 1.5.2 (o-ss-s 1.3.2)
2020-11-03 12:54:36 -05:00
Vinicius Fortuna
cf45895891 Release 1.5.2 (o-ss-s 1.3.2) 2020-11-03 10:46:27 -05:00
Vinicius Fortuna
06cf79b41b
Merge pull request #755 from Jigsaw-Code/fortuna-release
Release outline-ss-server v1.3.1
2020-10-27 11:14:18 -04:00
Vinicius Fortuna
0668941722 Release outline-ss-server v1.3.1 2020-10-26 22:28:45 -04:00
Vinicius Fortuna
45fae7f119
Merge pull request #750 from Jigsaw-Code/fortuna-prom
Enable Prometheus admin API
2020-10-19 14:36:21 -04:00
Vinicius Fortuna
fdac297a46 Enable Prometheus admin API 2020-10-16 15:28:00 -04:00
Jonathan Cohen
a56a4b1fa2
Remove extra character in generateUpdatesFilesForAllChannels (#748) 2020-10-09 18:43:41 -04:00
alalamav
2d3a34a1dd
Increase Outline Manager version (#746) 2020-10-09 15:56:47 -04:00
mpmcroy
616a3a9c8a
Changes the text on the DO account connectivity dialog 'cancel' button to 'disconnect' (#744)
* Throw XhrError and show connectivity dialog on 401 responses

* Adds error message

* Renames account connectivity dialog 'cancel' button to 'disconnect'
2020-10-07 13:31:22 -04:00
mpmcroy
ab637daf25
Fix for bad/expired DigitalOcean access token issue (#743)
* Throw XhrError and show connectivity dialog on 401 responses

* Adds error message
2020-10-07 10:19:58 -04: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
Jonathan Cohen
9144486312
Remove unused assets and code (#732)
* remove empty_user.png

* Remove server_avatar.png
2020-09-21 16:07:22 -04:00
Jonathan Cohen
dbeeb50512
Remove LoadingWindow (#734)
From conversations with @alalamav, at one point the main window needed
connect to the Internet and so we would display a loading page if it
took more than 3 seconds to load.  The main window no longer accesses
the internet, so there's no real reason for us to keep a loading page
around which won't be displayed.
2020-09-21 15:58:58 -04:00
Vinicius Fortuna
c16594155a
Merge pull request #724 from Jigsaw-Code/fortuna-release
Release server 1.5.0
2020-08-31 17:58:54 -04:00
Vinicius Fortuna
76a8a80349 Release server 1.5.0 2020-08-31 17:30:52 -04:00
Vinicius Fortuna
34df4b75ab
Merge pull request #722 from Jigsaw-Code/fortuna-release
Upgrade outline-ss-server to v1.2.1
2020-08-27 16:50:17 -04:00
Vinicius Fortuna
cfb23b84e5 Upgrade outline-ss-server to 1.2.1 2020-08-27 16:12:59 -04:00
Vinicius Fortuna
acf826bd65 Upgrade outline-ss-server 2020-08-27 11:13:01 -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
Vinicius Fortuna
c5b4c52708
Merge pull request #711 from Jigsaw-Code/dependabot/npm_and_yarn/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19
2020-08-19 12:08:52 -04:00
alalamav
6b40842338
Increase Outline Manager version (#720) 2020-08-18 14:54:34 -04:00
mpmcroy
cfdcfa8c30
Outline Region Picker refactor (#714)
* Updates region picker to Polymer 3

* commit hook

* Update region picker to LitElement (Typescript)

* Auto-formatting

* Auto-formatting

* Formatting

* Refactor

* Addresses review comments

* Addresses review comments

* Exports cloud-install-styles for LitElement components

* Fixes LitElement CSS registration

* Makes region card CSS rtl friendly
2020-08-18 13:18:13 -04:00
alalamav
a403a00ecf
Import translations at b63606e (#719) 2020-08-11 15:22:09 -04:00