Garrett Delfosse
ccabec6dd1
fi stop tracing 4xx http status codes as errors ( #3707 )
v0.8.7
2022-08-26 15:18:42 +00:00
Spike Curtis
23f61fce2a
CLI: coder licensese delete ( #3699 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-26 08:15:46 -07:00
Mathias Fredriksson
98a6958f10
Revert "fix: Avoid double escaping of ProxyCommand on Windows ( #3664 )" ( #3704 )
...
This reverts commit 123fe0131e .
2022-08-26 17:52:25 +03:00
Mathias Fredriksson
6a00baf235
fix: Transform branch name to valid Docker tag for dogfood ( #3703 )
2022-08-26 17:38:40 +03:00
Mathias Fredriksson
c8f8c95f6a
feat: Add support for renaming workspaces ( #3409 )
...
* feat: Implement workspace renaming
* feat: Add hidden rename command (and data loss warning)
* feat: Implement database.IsUniqueViolation
2022-08-26 12:28:38 +03:00
Presley Pizzo
623fc5baac
feat: condition Audit log on licensing ( #3685 )
...
* Update XService
* Add simple wrapper
* Add selector
* Condition page
* Condition link
* Format and lint
* Integration test
* Add username to api call
* Format
* Format
* Fix link name
* Upgrade xstate/react to fix crashing tests
* Fix tests
* Format
* Abstract strings
* Debug test
* Increase timeout
* Add comments and try shorter timeout
* Use PropsWithChildren
* Undo PropsWithChildren, try lower timeout
* Format, lower timeout
2022-08-25 19:20:31 -04:00
Spike Curtis
ca3811499e
DELETE license API endpoint ( #3697 )
...
* DELETE license API endpoint
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix new lint stuff
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-25 14:04:31 -07:00
Dean Sheather
14a9576b77
Auto import kubernetes template in Helm charts ( #3550 )
2022-08-26 05:32:35 +10:00
Joe Previte
94e96fa40b
chore: enable react/no-array-index-key eslint ( #3696 )
...
* chore: enable react/no-array-index-key eslint
* fix: add missing key to ResourcesTable
2022-08-25 11:20:24 -07:00
Dean Sheather
8a446837d4
chore: remove exa -> ls and bat -> cat replacements from dogfood img ( #3695 )
2022-08-26 04:03:27 +10:00
Garrett Delfosse
7a77e55bd4
fix: match term color ( #3694 )
2022-08-25 16:34:37 +00:00
Garrett Delfosse
b412cc1a4b
fix: use correct response writer for tracing middle ( #3693 )
2022-08-25 11:24:43 -05:00
Mathias Fredriksson and Joe Previte
78a24941fe
feat: Add codersdk.NullTime, change workspace build deadline ( #3552 )
...
Fixes #2015
Co-authored-by: Joe Previte <jjprevite@gmail.com >
2022-08-25 19:10:42 +03:00
Roman Zubov and Anton Korzhuk
a21a6d2f4a
docs: replaced manual up next blocks with doc tag in workspaces.md ( #3023 )
...
* docs: replaced manual up next blocks with doc tag in workspaces.md
* replaced up next blocks with <doc page=""> tags
* revert back to markdown
now that we updated how these links work, we can have them as markdown on github and as cards on the docs website.
Co-authored-by: Anton Korzhuk <antonkorzhuk@gmail.com >
2022-08-25 08:26:04 -07:00
Spike Curtis
4de1fc8339
CLI: coder licenses list ( #3686 )
...
* Check GET license calls authz
Signed-off-by: Spike Curtis <spike@coder.com >
* CLI: coder licenses list
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-25 08:24:39 -07:00
Garrett Delfosse
a05fad4efd
fix: stop tracing static file server ( #3683 )
2022-08-25 09:37:59 -04:00
Steven Masley
6e496077ae
feat: Support search query and --me in workspace list ( #3667 )
2022-08-24 17:43:41 -04:00
Kira Pilot
cf0d2c9bbc
added react-i18next to FE ( #3682 )
...
* added react-i18next
* fixing typo
* snake case to camel case
* typo
* clearer error in catch block
2022-08-24 17:28:02 -04:00
Joe Previte
e6b6b7f610
chore: upload playwright videos on failure ( #3677 )
2022-08-24 13:45:03 -07:00
Steven Masley
0b53b06fc6
chore: Make member role struct match site roles ( #3671 )
2022-08-24 15:58:57 -04:00
Spike Curtis
076c4a0aa8
Fix authz test for GET licenses ( #3681 )
...
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-24 12:25:37 -07:00
Spike Curtis
9e35793b43
Enterprise rbac testing ( #3653 )
...
* WIP refactor Auth tests to allow enterprise
Signed-off-by: Spike Curtis <spike@coder.com >
* enterprise RBAC testing
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix import ordering
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-24 12:05:46 -07:00
Joe Previte
254e91a08f
Update stale.yaml ( #3674 )
...
- remove close-issue-reason (only valid in 5.1.0)
- add days-before-issue-stale 30
2022-08-24 12:02:12 -07:00
Garrett Delfosse
5d7c4092ac
fix: end long lived connection traces ( #3679 )
2022-08-24 14:57:31 -04:00
Spike Curtis
c9bce19d88
GET license endpoint ( #3651 )
...
* GET license endpoint
Signed-off-by: Spike Curtis <spike@coder.com >
* SDK GetLicenses -> Licenses
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-24 18:44:22 +00:00
Kira Pilot
da54874958
fixed users test ( #3676 )
2022-08-24 14:10:41 -04:00
Kira Pilot and Cian Johnston
57c202d112
Template settings fixes/kira pilot ( #3668 )
...
* using hours instead of seconds
* checking out
* added ttl tests
* added description validation and tests
* added some helper text
* fix typing
* Update site/src/pages/TemplateSettingsPage/TemplateSettingsForm.tsx
Co-authored-by: Cian Johnston <cian@coder.com >
* ran prettier
* added ttl of 0 test
* typo
* PR feedback
Co-authored-by: Cian Johnston <cian@coder.com >
2022-08-24 14:07:56 -04:00
Garrett Delfosse
4e3b212707
make agent 'connecting' visually different from 'connected' ( #3675 )
2022-08-24 17:54:45 +00:00
Kyle Carberry
4f8270d95b
fix: Exclude time column when selecting build log ( #3673 )
...
Closes #2962 .
2022-08-24 12:04:33 -05:00
Garrett Delfosse
1400d7cd84
fix: correctly link agent name in app urls ( #3672 )
2022-08-24 16:49:03 +00:00
Eric Paulsen
ca3c0490e0
chore: k8s example persistence & coder images ( #3619 )
...
* add: persistence & coder images
* add: code-server
* chore: README updates
* chore: README example
2022-08-24 11:23:02 -05:00
Mathias Fredriksson
123fe0131e
fix: Avoid double escaping of ProxyCommand on Windows ( #3664 )
...
Fixes #2853
2022-08-24 19:12:40 +03:00
Kyle Carberry
09142255e6
fix: Add consistent use of coder templates init ( #3665 )
...
Closes #2303 .
2022-08-24 11:40:36 -04:00
Kyle Carberry
706bceb7e7
fix: Remove reference to coder rebuild command ( #3670 )
...
Closes #2464 .
2022-08-24 15:35:46 +00:00
Cian Johnston
eba753ba87
fix: template: enforce bounds of template max_ttl ( #3662 )
...
This PR makes the following changes:
- enforces lower and upper limits on template `max_ttl_ms`
- adds a migration to enforce 7-day cap on `max_ttl`
- allows setting template `max_ttl` to 0
- updates template edit CLI help to be clearer
2022-08-24 15:45:14 +01:00
Mathias Fredriksson
343d1184b2
fix: Clean up coder config-ssh dry-run behavior ( #3660 )
...
This commit also drops old deprecated code.
Fixes #2982
2022-08-24 16:58:46 +03:00
Mathias Fredriksson
7a71180ae6
chore: Enable comments for database dump / models ( #3661 )
2022-08-24 12:44:30 +00:00
Ammar Bandukwala
253e6cbffa
web: fix template permission check ( #3652 )
...
Resolves #3582
2022-08-23 23:44:32 +00:00
Spike Curtis
184f0625e1
coder licenses add CLI command ( #3632 )
...
* coder licenses add CLI command
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix up lint
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix t.parallel call
Signed-off-by: Spike Curtis <spike@coder.com >
* Code review improvements
Signed-off-by: Spike Curtis <spike@coder.com >
* Lint
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-23 13:55:39 -07:00
Cian Johnston and Joe Previte
6dacf70898
fix: disable AccountForm when user is not allowed edit users ( #3649 )
...
* RED: add unit tests for AccountForm username field
* GREEN: disable username field and button on account form when user edits are not allowed
Co-authored-by: Joe Previte <jjprevite@gmail.com >
2022-08-23 20:19:26 +00:00
Garrett Delfosse
b9dd566804
fix scrollbar on ssh key view ( #3647 )
2022-08-23 15:22:42 -04:00
Mathias Fredriksson
e44f7adb7e
feat: Set SSH env vars: SSH_CLIENT, SSH_CONNECTION and SSH_TTY ( #3622 )
...
Fixes #2339
2022-08-23 21:19:57 +03:00
9c0cd5287c
fix: clarify we download templates on template select ( #3296 )
...
Co-authored-by: Joe Previte <jjprevite@gmail.com >
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
2022-08-23 17:30:46 +00:00
Mathias Fredriksson
5025fe2fa0
fix: Protect circular buffer during close in reconnectingPTY ( #3646 )
2022-08-23 16:07:31 +00:00
Presley Pizzo and Kira Pilot
49de44c76d
feat: Add LicenseBanner ( #3568 )
...
* Extract reusable Pill component
* Make icon optional
* Get pills in place
* Rough styling
* Extract Expander component
* Fix alignment
* Put it in action - type error
* Hide banner by default
* Use generated type
* Move PaletteIndex type
* Tweak colors
* Format, another color tweak
* Add stories
* Add tests
* Update site/src/components/Pill/Pill.tsx
Co-authored-by: Kira Pilot <kira@coder.com >
* Update site/src/components/Pill/Pill.tsx
Co-authored-by: Kira Pilot <kira@coder.com >
* Comments
* Remove empty story, improve empty test
* Lint
Co-authored-by: Kira Pilot <kira@coder.com >
2022-08-23 11:26:22 -04:00
Mathias Fredriksson
f7ccfa2ab9
feat: Set CODER=true in workspaces ( #3637 )
...
Fixes #2340
2022-08-23 14:29:01 +03:00
Colin Adler
8343a4f199
chore: cleanup go.mod ( #3636 )
2022-08-22 22:40:11 -05:00
Jon Ayers
a7b49788f5
chore: deduplicate OAuth login code ( #3575 )
2022-08-22 18:13:46 -05:00
Ammar Bandukwala
a07ca946c3
Increase default auto-stop to 12h ( #3631 )
...
Resolves #3462 .
And, clarify language to resolve #3509 .
2022-08-22 17:24:15 -05:00
Ben Potter
8ca3fa9712
fix: use hardcoded "coder" user for AWS and Azure ( #3625 )
2022-08-22 22:19:30 +00:00