- 13 7月, 2021 2 次提交
-
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
There's a chance this function can be called with a path that is not a string. To catch that, we check if path is of a different type and throw an error if it is. This also adds a couple tests for this function.
-
- 09 7月, 2021 1 次提交
-
-
由 Joe Previte 提交于
This refactors some logic in src/browser/pages/vscode.ts related to setting the background color of the body to the editor background theme color.
-
- 07 7月, 2021 1 次提交
-
-
由 Joe Previte 提交于
-
- 03 7月, 2021 2 次提交
-
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
- 02 7月, 2021 3 次提交
-
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
由 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.
-
- 01 7月, 2021 1 次提交
-
-
由 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.
-
- 30 6月, 2021 8 次提交
-
-
由 Asher 提交于
It seems a dialog sometimes appears asking if you want to lose changes (even though we have no changes; it seems based on timers in some way). Playwright defaults to dismissing them (so quickly you might not even see them) so accepting instead fixes navigation to the logout page getting canceled.
-
由 Asher 提交于
I figure login is already tested so we can skip this and just use the cookie.
-
由 Asher 提交于
-
由 Asher 提交于
My thinking is that this may reduce the cognitive overhead for developers writing new test suites. This also allows us to perform different setup steps (like ensuring the editor is visible when authenticated).
-
由 Asher 提交于
This uses the current dev build by default but can be overidden with CODE_SERVER_TEST_ENTRY (for example to test a release or some other version). Each instance has a separate state directory. This should make parallelization work. This also means you are no longer required to specify the password and address yourself (or the extension directory once we add a test extension). `yarn test:e2e` should just work as-is. Lastly, it means the tests are no longer subject to yarn watch randomly restarting.
-
由 Asher 提交于
This way it can be used by the tests when spawning code-server on a random port to look for the address.
-
由 Asher 提交于
This should simplify testing new utils a bit.
-
由 Asher 提交于
The workspaces also have settings to prevent the welcome page from appearing.
-
- 29 6月, 2021 2 次提交
-
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
- 24 6月, 2021 1 次提交
-
-
由 Joe Previte 提交于
This PR refactors part of vscode.ts and adds a function to get the NLS Configuration. This makes the code more readable and easier to test. And it adds multiple tests for this part of the codebase.
-
- 10 6月, 2021 1 次提交
-
-
由 Max Schmitt 提交于
-
- 09 6月, 2021 16 次提交
-
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
There was a case with the hashed-password which had multiple equal signs in the value and it wasn't being parsed correctly. This uses a new function and adds a few tests.
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
Since the hash and isHashMatch are now async, I had to update the tests accordingly. Now everything is working.
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
由 Joe Previte 提交于
-
- 31 5月, 2021 1 次提交
-
-
由 dependabot[bot] 提交于
Bumps [ws](https://github.com/websockets/ws) from 7.4.2 to 7.4.6. - [Release notes](https://github.com/websockets/ws/releases) - [Commits](https://github.com/websockets/ws/compare/7.4.2...7.4.6) Signed-off-by: Ndependabot[bot] <support@github.com> Co-authored-by: Ndependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
-
- 25 5月, 2021 1 次提交
-
-
由 dependabot[bot] 提交于
Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.16.4 to 4.16.6. - [Release notes](https://github.com/browserslist/browserslist/releases) - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md) - [Commits](https://github.com/browserslist/browserslist/compare/4.16.4...4.16.6) Signed-off-by: Ndependabot[bot] <support@github.com>
-