This project is mirrored from https://github.com/Jigsaw-Code/outline-server.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts, and can be resumed by a project maintainer.
Last successful update . This branch has diverged from upstream.
  1. 11 Feb, 2020 1 commit
    • Jonathan Cohen's avatar
      Correctly internationalize new UI access key placeholder name (#574) · 8f11f16e
      Jonathan Cohen authored
      * Correctly internationalize new UI access key placeholder name
      
      * Add back the keyID for non-English languages
      
      This simply replicates the existing messages so we can release the Data
      Limits UI without waiting for these strings to be translated.
      
      * Specify that keyId will be a number
      8f11f16e
  2. 07 Feb, 2020 1 commit
  3. 04 Feb, 2020 1 commit
  4. 03 Feb, 2020 1 commit
  5. 31 Jan, 2020 2 commits
  6. 30 Jan, 2020 1 commit
    • Jonathan Cohen's avatar
      Allow users to change the hostname for new access keys (#565) · dafa1f5b
      Jonathan Cohen authored
      * Create an endpoint to change the server's hostname.
      
      This is the backend only, and does not check if the hostname exists or points to a Shadowbox
      server.  Users have the responsibility of double checking that the
      hostname and DNS if necessary are properly set up and specified.
      
      * Updates
      
      Changes validation to use regex.
      
      Gets rid of a bad test
      
      Uses paramtereized tests for better test output
      
      Adds setHostname to AccessKeyRepository and calls it in the endpoint
      
      * Integration tests
      
      Also fixes missing dependency on ip-regex
      
      * Remove validator from lockfile
      
      * Ensure we correctly use Python 2 for Cloud SDK
      
      * API for the new endpoint to change the server hostname. (#534)
      
      * API for the new endpoint to change the server hostname.
      
      I am sending it up now so we can iterate on it while I'm busy
      implementing the endpoint.  I will merge it into the feature branch when
      it's done as opposed as into master.
      
      * API for the new endpoint to change the server hostname.
      
      I am sending it up now so we can iterate on it while I'm busy
      implementing the endpoint.  I will merge it into the feature branch when
      it's done as opposed as into master.
      
      * Remove 404 and 406 error states.  Checking for a functioning Shadowbox
      server requires knowledge of the API prefix, which creates layering
      challenges.  The UI will be able to make these checks, but users who
      call the API directly will have to be careful not to put in an incorrect
      hostname.  The consequence of this would be that newly made access keys
      won't work.
      
      * Clarify API, change name, add validation errors
      
      * Clarify description
      
      * Remove the API response corresponding to a failed check against the new
      hostname that it points to the same server
      
      * Respond to review comments
      
      * Rename endpoint and related functions
      
      From the server's perspective, this does change the hostname for
      existing access keys since on server load time (in the Server Manager)
      we recalculate access key hostnames from the key repository.
      
      * Respond to review comments
      
      * Use version 1.2.0 since data limits is taking 1.1.0
      
      * Fix update_mmdb and the Docker image to work on Alpine (#559)
      
      * Fix the for loop in update_mmdb to be `dash` compatible
      
      for x in {a..b} is bash-only, and alpine's default shell is `dash`.
      
      * Fix other issues related to using musl/Busybox/dash
      
      * Use `[[` instead of `((` for the branch
      * Make sure to update to GNU coreutils in the image in order to use
      `date --date`
      
      * Respond to review comments
      
      * UI for setting the hostname for access key invitations (#553)
      
      * Increase Shadowbox version for data limits experiment (#544)
      
      * Return the port for new access keys from GET /server.  (#552)
      
      This was accidentally removed in #537.
      
      * UI for setting the hostname for access key invitations
      
      This also includes some random typo fixes and QOL improvements.
      
      To test, you can use
      
          export SB_IMAGE=cohenjongoogle/shadowbox:latest
          yarn do shadowbox/docker/run
      
      then in a different terminal
      
          yarn do server_manager/electron_app/run
      
      and add the server
      
      * Add back in new files
      
      Also fixes a backward compatibility issues for servers which don't
      support changing the hostname
      
      * Respond to review comments
      
      * Respond to review comments
      
      * Respond to review comments
      
      * Respond to review comments
      
      * Use DB-IP's Geolocation database instead of MaxMind's (#557)
      
      * Use DB-IP's free IP-to-Country database instead of MaxMind's
      
      This avoids the necesseity to either (1) bundle MaxMind's database in
      our docker image or (2) require server admins to individually create
      MaxMind accounts due to the new requirements for using GeoLite2
      databases.  See https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/
      
      * Add attribution to DB-IP for the GeoIP database
      
      * Make sure that we deal with lag between the changeover of the current
      month and release of new versions of the DB-IP database
      
      * Respond to review comments
      
      * Attribute DB-IP in the update script
      
      * Respond to review comments
      
      * Respond to review comments
      
      * Fix update_mmdb and the Docker image to work on Alpine (#559)
      
      * Fix the for loop in update_mmdb to be `dash` compatible
      
      for x in {a..b} is bash-only, and alpine's default shell is `dash`.
      
      * Fix other issues related to using musl/Busybox/dash
      
      * Use `[[` instead of `((` for the branch
      * Make sure to update to GNU coreutils in the image in order to use
      `date --date`
      
      * Respond to review comments
      
      * Update to Typescript 3.7 (#558)
      
      See https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html for more information.  Among the nice new features are optional chainging and null coalescing, and assertion functions, as well as some additional safety checks in the compiler
      
      * Create an endpoint to change the server's hostname.
      
      This is the backend only, and does not check if the hostname exists or points to a Shadowbox
      server.  Users have the responsibility of double checking that the
      hostname and DNS if necessary are properly set up and specified.
      
      * Updates
      
      Changes validation to use regex.
      
      Gets rid of a bad test
      
      Uses paramtereized tests for better test output
      
      Adds setHostname to AccessKeyRepository and calls it in the endpoint
      
      * Integration tests
      
      Also fixes missing dependency on ip-regex
      
      * Remove validator from lockfile
      
      * Ensure we correctly use Python 2 for Cloud SDK
      
      * API for the new endpoint to change the server hostname. (#534)
      
      * API for the new endpoint to change the server hostname.
      
      I am sending it up now so we can iterate on it while I'm busy
      implementing the endpoint.  I will merge it into the feature branch when
      it's done as opposed as into master.
      
      * API for the new endpoint to change the server hostname.
      
      I am sending it up now so we can iterate on it while I'm busy
      implementing the endpoint.  I will merge it into the feature branch when
      it's done as opposed as into master.
      
      * Remove 404 and 406 error states.  Checking for a functioning Shadowbox
      server requires knowledge of the API prefix, which creates layering
      challenges.  The UI will be able to make these checks, but users who
      call the API directly will have to be careful not to put in an incorrect
      hostname.  The consequence of this would be that newly made access keys
      won't work.
      
      * Clarify API, change name, add validation errors
      
      * Clarify description
      
      * Remove the API response corresponding to a failed check against the new
      hostname that it points to the same server
      
      * Respond to review comments
      
      * Rename endpoint and related functions
      
      From the server's perspective, this does change the hostname for
      existing access keys since on server load time (in the Server Manager)
      we recalculate access key hostnames from the key repository.
      
      * Respond to review comments
      
      * Use version 1.2.0 since data limits is taking 1.1.0
      
      * Fix update_mmdb and the Docker image to work on Alpine (#559)
      
      * Fix the for loop in update_mmdb to be `dash` compatible
      
      for x in {a..b} is bash-only, and alpine's default shell is `dash`.
      
      * Fix other issues related to using musl/Busybox/dash
      
      * Use `[[` instead of `((` for the branch
      * Make sure to update to GNU coreutils in the image in order to use
      `date --date`
      
      * Respond to review comments
      
      * UI for setting the hostname for access key invitations
      
      This also includes some random typo fixes and QOL improvements.
      
      To test, you can use
      
          export SB_IMAGE=cohenjongoogle/shadowbox:latest
          yarn do shadowbox/docker/run
      
      then in a different terminal
      
          yarn do server_manager/electron_app/run
      
      and add the server
      
      * Add back in new files
      
      Also fixes a backward compatibility issues for servers which don't
      support changing the hostname
      
      * Respond to review comments
      
      * Respond to review comments
      
      * Respond to review comments
      
      * Respond to review comments
      
      * Fix messed up rebase
      
      * merge
      
      * Clear merge markers
      Co-authored-by: default avataralalamav <2132122+alalamav@users.noreply.github.com>
      
      * Create an endpoint to change the server's hostname.
      
      This is the backend only, and does not check if the hostname exists or points to a Shadowbox
      server.  Users have the responsibility of double checking that the
      hostname and DNS if necessary are properly set up and specified.
      
      * Updates
      
      Changes validation to use regex.
      
      Gets rid of a bad test
      
      Uses paramtereized tests for better test output
      
      Adds setHostname to AccessKeyRepository and calls it in the endpoint
      
      * Integration tests
      
      Also fixes missing dependency on ip-regex
      
      * Remove validator from lockfile
      
      * Ensure we correctly use Python 2 for Cloud SDK
      
      * API for the new endpoint to change the server hostname. (#534)
      
      * API for the new endpoint to change the server hostname.
      
      I am sending it up now so we can iterate on it while I'm busy
      implementing the endpoint.  I will merge it into the feature branch when
      it's done as opposed as into master.
      
      * API for the new endpoint to change the server hostname.
      
      I am sending it up now so we can iterate on it while I'm busy
      implementing the endpoint.  I will merge it into the feature branch when
      it's done as opposed as into master.
      
      * Remove 404 and 406 error states.  Checking for a functioning Shadowbox
      server requires knowledge of the API prefix, which creates layering
      challenges.  The UI will be able to make these checks, but users who
      call the API directly will have to be careful not to put in an incorrect
      hostname.  The consequence of this would be that newly made access keys
      won't work.
      
      * Clarify API, change name, add validation errors
      
      * Clarify description
      
      * Remove the API response corresponding to a failed check against the new
      hostname that it points to the same server
      
      * Respond to review comments
      
      * Rename endpoint and related functions
      
      From the server's perspective, this does change the hostname for
      existing access keys since on server load time (in the Server Manager)
      we recalculate access key hostnames from the key repository.
      
      * Respond to review comments
      
      * Use version 1.2.0 since data limits is taking 1.1.0
      
      * UI for setting the hostname for access key invitations (#553)
      
      * Increase Shadowbox version for data limits experiment (#544)
      
      * Return the port for new access keys from GET /server.  (#552)
      
      This was accidentally removed in #537.
      
      * UI for setting the hostname for access key invitations
      
      This also includes some random typo fixes and QOL improvements.
      
      To test, you can use
      
          export SB_IMAGE=cohenjongoogle/shadowbox:latest
          yarn do shadowbox/docker/run
      
      then in a different terminal
      
          yarn do server_manager/electron_app/run
      
      and add the server
      
      * Add back in new files
      
      Also fixes a backward compatibility issues for servers which don't
      support changing the hostname
      
      * Respond to review comments
      
      * Respond to review comments
      
      * Respond to review comments
      
      * Respond to review comments
      
      * Use DB-IP's Geolocation database instead of MaxMind's (#557)
      
      * Use DB-IP's free IP-to-Country database instead of MaxMind's
      
      This avoids the necesseity to either (1) bundle MaxMind's database in
      our docker image or (2) require server admins to individually create
      MaxMind accounts due to the new requirements for using GeoLite2
      databases.  See https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-geolite2-databases/
      
      * Add attribution to DB-IP for the GeoIP database
      
      * Make sure that we deal with lag between the changeover of the current
      month and release of new versions of the DB-IP database
      
      * Respond to review comments
      
      * Attribute DB-IP in the update script
      
      * Respond to review comments
      
      * Respond to review comments
      
      * Fix update_mmdb and the Docker image to work on Alpine (#559)
      
      * Fix the for loop in update_mmdb to be `dash` compatible
      
      for x in {a..b} is bash-only, and alpine's default shell is `dash`.
      
      * Fix other issues related to using musl/Busybox/dash
      
      * Use `[[` instead of `((` for the branch
      * Make sure to update to GNU coreutils in the image in order to use
      `date --date`
      
      * Respond to review comments
      
      * Update to Typescript 3.7 (#558)
      
      See https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-7.html for more information.  Among the nice new features are optional chainging and null coalescing, and assertion functions, as well as some additional safety checks in the compiler
      
      * Create an endpoint to change the server's hostname.
      
      This is the backend only, and does not check if the hostname exists or points to a Shadowbox
      server.  Users have the responsibility of double checking that the
      hostname and DNS if necessary are properly set up and specified.
      
      * Updates
      
      Changes validation to use regex.
      
      Gets rid of a bad test
      
      Uses paramtereized tests for better test output
      
      Adds setHostname to AccessKeyRepository and calls it in the endpoint
      
      * Integration tests
      
      Also fixes missing dependency on ip-regex
      
      * Remove validator from lockfile
      
      * Ensure we correctly use Python 2 for Cloud SDK
      
      * API for the new endpoint to change the server hostname. (#534)
      
      * API for the new endpoint to change the server hostname.
      
      I am sending it up now so we can iterate on it while I'm busy
      implementing the endpoint.  I will merge it into the feature branch when
      it's done as opposed as into master.
      
      * API for the new endpoint to change the server hostname.
      
      I am sending it up now so we can iterate on it while I'm busy
      implementing the endpoint.  I will merge it into the feature branch when
      it's done as opposed as into master.
      
      * Remove 404 and 406 error states.  Checking for a functioning Shadowbox
      server requires knowledge of the API prefix, which creates layering
      challenges.  The UI will be able to make these checks, but users who
      call the API directly will have to be careful not to put in an incorrect
      hostname.  The consequence of this would be that newly made access keys
      won't work.
      
      * Clarify API, change name, add validation errors
      
      * Clarify description
      
      * Remove the API response corresponding to a failed check against the new
      hostname that it points to the same server
      
      * Respond to review comments
      
      * Rename endpoint and related functions
      
      From the server's perspective, this does change the hostname for
      existing access keys since on server load time (in the Server Manager)
      we recalculate access key hostnames from the key repository.
      
      * Respond to review comments
      
      * Use version 1.2.0 since data limits is taking 1.1.0
      
      * Fix update_mmdb and the Docker image to work on Alpine (#559)
      
      * Fix the for loop in update_mmdb to be `dash` compatible
      
      for x in {a..b} is bash-only, and alpine's default shell is `dash`.
      
      * Fix other issues related to using musl/Busybox/dash
      
      * Use `[[` instead of `((` for the branch
      * Make sure to update to GNU coreutils in the image in order to use
      `date --date`
      
      * Respond to review comments
      
      * UI for setting the hostname for access key invitations
      
      This also includes some random typo fixes and QOL improvements.
      
      To test, you can use
      
          export SB_IMAGE=cohenjongoogle/shadowbox:latest
          yarn do shadowbox/docker/run
      
      then in a different terminal
      
          yarn do server_manager/electron_app/run
      
      and add the server
      
      * Add back in new files
      
      Also fixes a backward compatibility issues for servers which don't
      support changing the hostname
      
      * Respond to review comments
      
      * Respond to review comments
      
      * Respond to review comments
      
      * Respond to review comments
      
      * Fix messed up rebase
      
      * merge
      
      * Clear merge markers
      Co-authored-by: default avataralalamav <2132122+alalamav@users.noreply.github.com>
      Co-authored-by: default avataralalamav <2132122+alalamav@users.noreply.github.com>
      dafa1f5b
  7. 23 Jan, 2020 1 commit
  8. 22 Jan, 2020 1 commit
  9. 21 Jan, 2020 1 commit
  10. 17 Jan, 2020 2 commits
  11. 16 Jan, 2020 1 commit
  12. 08 Jan, 2020 1 commit
  13. 11 Dec, 2019 1 commit
  14. 09 Dec, 2019 1 commit
  15. 22 Nov, 2019 1 commit
  16. 18 Nov, 2019 1 commit
  17. 07 Nov, 2019 1 commit
  18. 06 Nov, 2019 2 commits
  19. 30 Oct, 2019 1 commit
  20. 29 Oct, 2019 1 commit
  21. 25 Oct, 2019 1 commit
  22. 24 Oct, 2019 3 commits
    • Jonathan Cohen's avatar
      Increase Server Manager version to 1.3.0 (#523) · 10d0d039
      Jonathan Cohen authored
      Minor version bumped due to new functionality of changing the port
      number for new access keys.
      10d0d039
    • Jonathan Cohen's avatar
      Fix messages (#525) · 39e13e71
      Jonathan Cohen authored
      39e13e71
    • Jonathan Cohen's avatar
      Set -x in the integration test (#522) · a9aef69d
      Jonathan Cohen authored
      * 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.
      a9aef69d
  23. 22 Oct, 2019 4 commits
    • Jonathan Cohen's avatar
    • Jonathan Cohen's avatar
      Upgrade csv-parse to avoid https://nvd.nist.gov/vuln/detail/CVE-2019-17592 (#517) · ccd93a62
      Jonathan Cohen authored
      It's likely low risk for us, but an easy fix anyways.
      ccd93a62
    • Jonathan Cohen's avatar
      Update typescript (#519) · 5e72b1d5
      Jonathan Cohen authored
      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}
      5e72b1d5
    • Jonathan Cohen's avatar
      Allow the port for new access keys to be editable from the UI. (#505) · 3d323d82
      Jonathan Cohen authored
      * 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
      3d323d82
  24. 21 Oct, 2019 1 commit
  25. 09 Oct, 2019 2 commits
  26. 08 Oct, 2019 1 commit
  27. 20 Sep, 2019 1 commit
  28. 18 Sep, 2019 2 commits
  29. 17 Sep, 2019 1 commit
  30. 16 Sep, 2019 1 commit