Garrett Delfosse
3ab3a62bef
feat: add port-sharing backend ( #11939 )
2024-02-13 09:31:20 -05:00
Bruno Quaresma
390217b396
feat(site): add create template from scratch ( #12082 )
2024-02-09 14:42:26 +00:00
Ammar Bandukwala
adbb025e74
feat: add user-level parameter autofill ( #11731 )
...
This PR solves #10478 by auto-filling previously used template values in create and update workspace flows.
I decided against explicit user values in settings for these reasons:
* Autofill is far easier to implement
* Users benefit from autofill _by default_ — we don't need to teach them new concepts
* If we decide that autofill creates more harm than good, we can remove it without breaking compatibility
2024-01-30 16:02:21 -06:00
Bruno Quaresma
cf17fabcc6
feat(site): refactor workspace header to be more slim ( #11327 )
2024-01-02 12:42:51 -03:00
Mathias Fredriksson
be3889af07
test(site/e2e): catch missing agent defaults in `fillResource` ( #11105 )
2023-12-23 11:52:27 +00:00
Mathias Fredriksson
3e5d292135
feat: add support for `coder_env` ( #11102 )
...
Fixes #10166
2023-12-11 16:10:18 +02:00
Marcin Tojek
a42b6c185d
fix(site): e2e: use click instead of check ( #11024 )
2023-12-04 18:02:46 +01:00
Kira Pilot
d374becdeb
fix: redirect to new url after template name update ( #10926 )
...
* fix: updating template name routes to correct URL
* added e2e test
2023-11-29 10:54:21 -05:00
dependabot[bot]
d0ac4cb4b1
chore: bump prettier from 3.0.0 to 3.1.0 in /site ( #10695 )
...
* chore: bump prettier from 3.0.0 to 3.1.0 in /site
Bumps [prettier](https://github.com/prettier/prettier ) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/3.0.0...3.1.0 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* prettier
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kira Pilot <kira.pilot23@gmail.com>
2023-11-21 11:48:40 -05:00
Bruno Quaresma
4121121797
fix(site): prevent overwriting of newest workspace data during optimistic updates ( #10751 )
2023-11-17 09:13:46 -03:00
Bruno Quaresma
88c1ee6d52
chore(site): increase stop workspace timeout ( #10742 )
2023-11-16 18:27:51 -03:00
Kyle Carberry
5596fb20b5
chore: move `/gitauth` to `/externalauth` on the frontend ( #9954 )
...
* chore: move `/gitauth` to `/externalauth` on the frontend
This actually took a lot more jank than anticipated,
so I wanted to split this up before adding the ability
to embed new providers.
* Rename FE
* Fix em' up
* Fix linting error
* Fix e2e tests
* chore: update helm golden files
2023-09-30 14:30:01 -05:00
Kyle Carberry
1262eef2c0
feat: add support for `coder_script` ( #9584 )
...
* Add basic migrations
* Improve schema
* Refactor agent scripts into it's own package
* Support legacy start and stop script format
* Pipe the scripts!
* Finish the piping
* Fix context usage
* It works!
* Fix sql query
* Fix SQL query
* Rename `LogSourceID` -> `SourceID`
* Fix the FE
* fmt
* Rename migrations
* Fix log tests
* Fix lint err
* Fix gen
* Fix story type
* Rename source to script
* Fix schema jank
* Uncomment test
* Rename proto to TimeoutSeconds
* Fix comments
* Fix comments
* Fix legacy endpoint without specified log_source
* Fix non-blocking by default in agent
* Fix resources tests
* Fix dbfake
* Fix resources
* Fix linting I think
* Add fixtures
* fmt
* Fix startup script behavior
* Fix comments
* Fix context
* Fix cancel
* Fix SQL tests
* Fix e2e tests
* Interrupt on Windows
* Fix agent leaking script process
* Fix migrations
* Fix stories
* Fix duplicate logs appearing
* Gen
* Fix log location
* Fix tests
* Fix tests
* Fix log output
* Show display name in output
* Fix print
* Return timeout on start context
* Gen
* Fix fixture
* Fix the agent status
* Fix startup timeout msg
* Fix command using shared context
* Fix timeout draining
* Change signal type
* Add deterministic colors to startup script logs
---------
Co-authored-by: Muhammad Atif Ali <atif@coder.com>
2023-09-25 16:47:17 -05:00
Marcin Tojek
415818035c
test(site): e2e: use IPv4 address for web server ( #9843 )
2023-09-25 14:44:15 +02:00
Kayla Washburn
8421f56137
refactor: bring back updated install.sh with patches ( #9583 )
2023-09-07 21:17:16 +00:00
Kayla Washburn
988c9af015
chore: format code with semicolons when using prettier ( #9555 )
2023-09-06 12:59:26 -06:00
Marcin Tojek
aa94d89f97
test: improve E2E framework ( #9469 )
2023-09-04 14:46:48 +02:00
Marcin Tojek
7c4ce62a58
test(site): print agent logs ( #9464 )
2023-08-31 14:44:44 +02:00
Marcin Tojek
f5d813c4fb
test(site): e2e: update workspace with parameters ( #9338 )
2023-08-29 15:10:31 +02:00
Bruno Quaresma
2167fe16d6
chore: remove e2e workaround ( #9393 )
2023-08-28 15:24:01 -03:00
Marcin Tojek
80425c32bf
fix(site): workaround: reload page every 3sec ( #9387 )
2023-08-28 16:22:39 +00:00
Marcin Tojek
d7a788d89d
test(site): e2e: restart workspace with ephemeral parameters ( #9304 )
2023-08-25 14:50:38 +02:00
Spike Curtis
60d5002eb6
refactor: change template archive extraction to be on provisioner ( #9264 )
...
* refactor provisionersdk protocol
Signed-off-by: Spike Curtis <spike@coder.com>
* refactor provisioners to use new protocol
Signed-off-by: Spike Curtis <spike@coder.com>
* refactor provisionerd to use new protocol
Signed-off-by: Spike Curtis <spike@coder.com>
* refactor tests & proto renames
* Fixes from self-review
Signed-off-by: Spike Curtis <spike@coder.com>
* appease fmt & link
Signed-off-by: Spike Curtis <spike@coder.com>
* code review fixes & e2e fixes
Signed-off-by: Spike Curtis <spike@coder.com>
* More fmt
Signed-off-by: Spike Curtis <spike@coder.com>
* Code review fixes
Signed-off-by: Spike Curtis <spike@coder.com>
* new gen; use uuid for session workdir
Signed-off-by: Spike Curtis <spike@coder.com>
* Revert nix-based gen CI task until dogfood is on nix
Signed-off-by: Spike Curtis <spike@coder.com>
* revert deleting dogfood Docker stuff
Signed-off-by: Spike Curtis <spike@coder.com>
* Revert "revert deleting dogfood Docker stuff"
This reverts commit 9762158167
.
---------
Signed-off-by: Spike Curtis <spike@coder.com>
2023-08-25 06:10:15 +00:00
Marcin Tojek
8a1da743cc
test(site): e2e: create workspace with rich parameters ( #9185 )
2023-08-22 14:21:32 +02:00
Kyle Carberry
4d3230c9ad
fix: default to executing e2e ssh without args ( #8975 )
...
This was causing the test to fail consistently!
2023-08-08 14:35:34 +00:00
Kyle Carberry
bac3a588b3
chore: add e2e test for backwards client ssh compatibility ( #8958 )
...
* chore: add e2e test for backwards client ssh compatibility
This was discussed as part of our regression review for outdated
agents, so here is the reverse with an extremely old client.
* fmt
2023-08-08 05:36:46 +00:00
Bruno Quaresma
471dc6126c
chore: upgrade nodejs version to 18.x ( #8768 )
2023-07-27 17:54:38 -03:00
Kyle Carberry
ff794e4b23
chore: add e2e test for backwards ssh compatibility ( #8761 )
...
* chore: add e2e test for backwards ssh compatibility
* Use the SSH client directly
* fmt
2023-07-27 10:42:11 -05:00
Kyle Carberry
34467a3289
feat: add github device flow for authentication ( #8232 )
...
* feat: add github device flow for authentication
This will allow us to add a GitHub OAuth provider out-of-the-box
to reduce setup requirements.
* Improve askpass view
* Add routes to improve clarity of git auth
* Redesign the git auth page
* Refactor to add a page view
* Fix sideways layout
* Remove legacy notify
* Fix git auth redirects
* Add E2E tests
* Fix route documentation
* Fix imports
* Remove unused imports
* Fix E2E web test
* Fix friendly message appearance
* Fix layout shifting for full-screen sign-in
* Fix height going to 100%
* Fix comments
2023-06-29 18:58:01 +00:00
Kyle Carberry
d434181941
feat: add cohesive e2e tests for the web terminal, apps, and workspaces ( #8140 )
...
* feat: add cohesive e2e tests for the web terminal, apps, and workspaces
* Fix web terminal flake
2023-06-22 00:21:40 +00:00
Kyle Carberry
2a492b7008
chore: improve the setup experience with various fixes ( #8130 )
...
* Move updatecheck logs to debug mode
This was causing logs to be emitted immediately after
initial setup, which seemed odd for the user.
* Fix setup page text to say "Create" instead of "Setup" account
* Improve copy on the empty workspaces page
- This view can be seen after the user creates their first workspace, so saying first is bad.
- It should describe what a workspace is, so I modified the description.
- The create from template button wasn't helpful!
* Improve the copy for the empty templates view
- This didn't describe what a template actually is.
- The title had the same problem as workspaces, where first makes no sense.
* Improve text consistency on the Create Template page
* Fix "View activity" displaying for non-Enterprise users
This was causing an exception to be thrown.
* Improve messaging of empty groups view
* Appropriately capitalize Workspace and Template
* Improve Docker template taglines
* Fix types
2023-06-21 18:23:59 -05:00
Bruno Quaresma
f65c7ca6b3
chore(site): Improve the e2e setup ( #5840 )
2023-01-24 14:45:44 -03:00
Presley Pizzo
56a69b7eea
chore: add e2e tests for basic template and workspace flow ( #5637 )
...
* Fix type error in first user setup
* Save auth state
* Add template creation - wip
Remove saved auth state because it wasn't working
* Try adding the rest of the tests
Can't see if they work yet, waiting on a release
* Update playwright
* Update gitignore
* Write tests
* Format
* Update ignores
* Check that start worked
Co-authored-by: Ben Potter <ben@coder.com>
Co-authored-by: Ben Potter <ben@coder.com>
2023-01-10 12:30:44 -05:00