Commit graph

571 commits

Author SHA1 Message Date
Vinicius Fortuna
8c4f5a2aa7 Try to convert to a class 2019-11-07 08:53:07 -05:00
Vinicius Fortuna
74d0b19761 Move app-root js to Typescript 2019-11-06 23:57:48 -05:00
Jonathan Cohen
a3c44651ef Fix at electron v7.0.0 (#528) 2019-11-06 17:32:50 -05:00
alalamav
6d86993523
Enable localization (#530) 2019-11-06 17:07:33 -05:00
John Richter
83cd9b64f3 Upgrade to the new version of Digital Ocean's Metrics agent (#529) 2019-10-30 19:04:15 -04:00
Jonathan Cohen
07748c287f
Update electron for server_manager (#521)
* Update electron for server_manager

* Undo csv-parse upgrade -- it failed due to transitive dependencies of
restify and caused merge conflicts
2019-10-29 15:55:05 -04:00
alalamav
7dac4797ce
Convert AM messages to Polymer JSON; translation fixes (#524) 2019-10-25 18:12:52 -04:00
Jonathan Cohen
10d0d039db
Increase Server Manager version to 1.3.0 (#523)
Minor version bumped due to new functionality of changing the port
number for new access keys.
2019-10-24 18:35:25 -04:00
Jonathan Cohen
39e13e71b6
Fix messages (#525) 2019-10-24 15:23:52 -04:00
Jonathan Cohen
a9aef69d3b
Set -x in the integration test (#522)
* Set -x in the integration test

The integration test has been flaking from time to time on Travis with
no obvious failures, indicating this is happening unexpectedly outside a
`fail` call.  `set -x` will help us diagnose when it happens again.

* Only show logs on test failure

* Correctly continue if test.sh fails

* Only cleanup the logfile on success.  The logfile should stick around on
failure for easier sharing of test results.  It will eventually get
cleaned up whenever the tmp directory gets cleaned.
2019-10-24 14:45:35 -04:00
Jonathan Cohen
2e3266d529
Fix a misnamed variable in the keys port input handler (#520) 2019-10-22 18:25:08 -04:00
Jonathan Cohen
ccd93a626a
Upgrade csv-parse to avoid https://nvd.nist.gov/vuln/detail/CVE-2019-17592 (#517)
It's likely low risk for us, but an easy fix anyways.
2019-10-22 17:33:31 -04:00
Jonathan Cohen
5e72b1d554
Update typescript (#519)
This corresponds with the same change in outline-client

Tested:
yarn do {server_manager/test, shadowbox/test, shadowbox/integration_test/run, sentry_webhook/build, metrics_server/build}
2019-10-22 17:22:27 -04:00
Jonathan Cohen
3d323d8224
Allow the port for new access keys to be editable from the UI. (#505)
* Allow the port fo rnew access keys to be changed from the UI

* Remove old TODOs

* Use correct log levels

* CSS formatting

* Use Number.isNan

* short circuit on no change and kill dead code

* Implement fakes, fix display bug

* fix typo

* Respond to code review

* Fix underline coloring

* Limit to numerical input

* Respond to review comments

* Review comments

* Disable editing key port for old servers (#513)

* Disable editing key port for old servers

* Use -1 instead of the current port number, nits

* Be more conservative with the response code check

* Use on-tap instead of on-click for the keys port input

* Rename "toggleFoo" to "setFoo"

* Use 1.0.0 instead of 0.2.0

* Respond to review comments.  Also fixes a bug where, if the input was
invalid due to a server-side error, hitting Enter did nothing except
show a valid state

* Correct the previous bugfix
2019-10-22 13:04:35 -04:00
erinm
4bf578bffc Create am.json (#518) 2019-10-21 17:48:04 -04:00
alalamav
47446d4c8b
Update dependencies (#512) 2019-10-09 16:52:10 -04:00
alalamav
1695d02d1b
Allow navigation to the Mac App Store (#511) 2019-10-09 16:51:51 -04:00
alalamav
ab851bd85b
Improve type safety of manager service request parameters (#492) 2019-10-08 15:19:39 -04:00
alalamav
57df4f9400
Fix unhandled rejection (#504) 2019-09-20 15:02:12 -04:00
alalamav
20f81106ed
Fix waiting for Prometheus ready (#500) 2019-09-18 15:15:53 -04:00
oreoluwa
212132318b [fix]: regressing ip (#497) 2019-09-18 12:36:29 -04:00
alalamav
8965e2d672
Update outline-ss-server to v1.0.7 and docker node to v8.15.0 (#494) 2019-09-17 17:28:57 -04:00
alalamav
cec9516544
l10n: dedupe message, fix typo (#491) 2019-09-16 12:33:43 -04:00
alalamav
72fb3e0ba5
Server data usage timeframe (#485) 2019-09-13 18:21:09 -04:00
alalamav
cb624cd392
Access key limits (#475) 2019-08-28 11:11:50 -04:00
alalamav
e956c94df4
i18n: mirror UI for RTL languages, detect user locale (#463) 2019-08-28 11:11:13 -04:00
alalamav
1ba390b85f
Increase Outline manager version (#478) 2019-08-22 13:14:10 -04:00
alalamav
5d083bc22c
Synthesize DigitalOcean API CORS preflight responses (#477) 2019-08-22 13:10:03 -04:00
Jonathan Cohen
0445af0a95
Clear unused imports and variables (#473)
* Clear unused imports and variables

* Add trailing newline
2019-08-21 14:21:30 -04:00
Jonathan Cohen
710320ec3e
Fix a bug where blurring the server name after changing the name changed (#471)
the UI to the Connections tab
2019-08-20 15:15:00 -04:00
alalamav
79c6fe70f7
Increase Outline manager version (#469) 2019-08-16 13:40:04 -04:00
alalamav
8d27cd1cd6
Inject 'Allow-Origin' header to DigitalOcean API responses (#468) 2019-08-16 13:23:11 -04:00
Jonathan Cohen
16f6c158e1
Create an endpoint to change the default port for new access keys (#461)
* Add an endpoint to set a new port for access keys

* post commit formatting

* Document the new api

* Remove enum in errors

* Respond to review comments

* Respond to review comments

* Rename to ShadowboxError and add copywright header

* Move to errors.ts

* Respond to coments in access_key.ts

* Move to errors.ts

* More renames

* post commit formatting

* More review responses

* Correctly convert invalid port number to string

* More renaming

* post commit formatting

* Respond to review comments

* Fix issue using parseInt

* Change endpoint URL

* formatting

* Respond to more review comments

* Respond to comments, add to integration test

* post commit formatting

* Move invalidPortArgument into a local

* formatting

* More review

* more review

* formatting

* disambiguate errors using restify types

* formatting

* fix the integration test
2019-08-15 15:21:29 -04:00
Vinicius Fortuna
36d467f521
Fix API documentation link 2019-08-14 16:01:06 -04:00
Jonathan Cohen
6e93cdc3f2
Avoid declare -g for old bash installs (#462) 2019-07-30 17:24:24 -04:00
Jonathan Cohen
a63c067e8d
manager_service cleanup (#460)
* Remove magic number responses from manager_service

* add 'new'

* De-nest branches in setShareMetrics

* Cleanup manager_service

* Fix error checking

* unformat

* Respond to review comments

Force merging because the travis tests passed but the github ui isn't updating.
2019-07-29 16:31:58 -04:00
alalamav
91bde00d42
Access key quotas (#456) 2019-07-19 15:01:08 -04:00
alalamav
363c5f16d0
Convert Khmer translations to Unicode key-value JSON (#455) 2019-07-11 01:11:45 +03:00
erinm
d58aaf7526 Create km.json (#454) 2019-07-09 21:55:18 +03:00
alalamav
34b2c708be
i18n: extract strings (#446) 2019-06-20 17:38:49 -04:00
Vinicius Fortuna
a986a75780
Merge pull request #443 from Jigsaw-Code/fortuna-web
Make web app load on web
2019-06-07 13:13:49 -04:00
fortuna
744a850ec5 Fix CSP for Safari
It seems Safari expands the HTML imports before applying the CSP.
Some links were breaking because of that.
2019-06-06 18:33:47 -04:00
fortuna
f759d4ec54 Make subresources work on web 2019-06-06 15:10:54 -04:00
Jeremy Bunting
ee8a8f0ad1 Corrected a typo on 'monthly' (#437) 2019-05-30 16:50:19 -04:00
Jonathan Cohen
a29796b56a
Remove the extra space. (#422)
* Remove the extra space.  I forgot to push teh fix last time.

* Fix method indentation
2019-04-18 12:52:15 -04:00
Jonathan Cohen
fc11eeecc4
Merge pull request #423 from Jigsaw-Code/cohenjon
Hide access key help when settings tab is selected
2019-04-18 12:51:45 -04:00
Jon Cohen
665d35f113 Hide access key help when settings tab is selected 2019-04-18 12:21:45 -04:00
Jonathan Cohen
aefefc546e
Merge pull request #421 from Jigsaw-Code/cohenjon-metrics-toggle
Clarify whether or not a server is sharing metrics data
2019-04-17 18:01:58 -04:00
Jonathan Cohen
ccc86b2aa6 Remove extra space 2019-04-17 17:07:18 -04:00
Jonathan Cohen
054de15dcb Make the unticked box light gray instead of dark gray 2019-04-17 17:04:39 -04:00