1. 02 7月, 2021 1 次提交
    • J
      feat: add escapeHtml function · c505fc45
      Joe Previte 提交于
      This can be used to escape any special characters in a string with HTML before
      sending from the server back to the client. This is important to prevent a
      cross-site scripting attack.
      c505fc45
  2. 01 7月, 2021 1 次提交
    • J
      fix(isHashMatch): check that hash starts with $ · 7f12fab3
      Joe Previte 提交于
      Previously, we used argon2 to verify the hash with the password.
      
      If the hash didn't start with a $, then it would enter the catch block.
      
      Now we check the hash before trying to verify it and we also throw an Error if
      the verify fails.
      
      This makes the isHashMatch function more robust.
      7f12fab3
  3. 30 6月, 2021 1 次提交
    • A
      Move onLine to utilities · 49c44818
      Asher 提交于
      This way it can be used by the tests when spawning code-server on a
      random port to look for the address.
      49c44818
  4. 10 6月, 2021 1 次提交
  5. 09 6月, 2021 9 次提交
  6. 14 5月, 2021 2 次提交
  7. 24 4月, 2021 1 次提交
  8. 17 3月, 2021 1 次提交
    • A
      Replace fs-extra with fs.promises · 964ebe8d
      Asher 提交于
      Remove the Mac directory copy instead of refactoring it since we've had
      this for a long time now and I think it's safe to assume that users
      running code-server on Mac don't have the old directory anymore.
      964ebe8d
  9. 22 1月, 2021 1 次提交
  10. 04 11月, 2020 1 次提交
  11. 31 10月, 2020 4 次提交
  12. 10 10月, 2020 1 次提交
  13. 14 8月, 2020 2 次提交
  14. 19 5月, 2020 1 次提交
  15. 14 5月, 2020 1 次提交
  16. 13 5月, 2020 2 次提交
  17. 27 4月, 2020 1 次提交
  18. 17 3月, 2020 1 次提交
  19. 20 2月, 2020 1 次提交
    • A
      Add binary extraction · 51a5c77c
      Asher 提交于
      I temporarily removed this during the refactor so it needed to be added
      back. This time I bundled it with the nbin loader code since it's all
      related (will also make it easier to remove).
      51a5c77c
  20. 15 2月, 2020 1 次提交
  21. 06 2月, 2020 1 次提交
  22. 05 2月, 2020 1 次提交
  23. 08 11月, 2019 1 次提交
    • A
      Hash password · 20180248
      Asher 提交于
      Fixes issues with unexpected characters breaking things when setting the
      cookie (like semicolons).
      
      This change as-is does not affect the security of code-server
      itself (we've just replaced the static password with a static hash) but
      if we were to add a salt in the future it would let us invalidate keys
      by rehashing with a new salt which could be handy.
      20180248
  24. 25 10月, 2019 1 次提交
  25. 05 10月, 2019 1 次提交
  26. 05 9月, 2019 1 次提交