Mathias Fredriksson
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
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
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
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
Garrett Delfosse
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
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
Spike Curtis
b101a6f3f4
POST license API endpoint ( #3570 )
...
* POST license API
Signed-off-by: Spike Curtis <spike@coder.com >
* Support interface{} types in generated Typescript
Signed-off-by: Spike Curtis <spike@coder.com >
* Disable linting on empty interface any
Signed-off-by: Spike Curtis <spike@coder.com >
* Code review updates
Signed-off-by: Spike Curtis <spike@coder.com >
* Enforce unique licenses
Signed-off-by: Spike Curtis <spike@coder.com >
* Renames from code review
Signed-off-by: Spike Curtis <spike@coder.com >
* Code review renames and comments
Signed-off-by: Spike Curtis <spike@coder.com >
Signed-off-by: Spike Curtis <spike@coder.com >
2022-08-22 15:02:50 -07:00
dependabot[bot]
85acfdf0dc
chore: bump msw from 0.44.2 to 0.45.0 in /site ( #3629 )
...
Bumps [msw](https://github.com/mswjs/msw ) from 0.44.2 to 0.45.0.
- [Release notes](https://github.com/mswjs/msw/releases )
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mswjs/msw/compare/v0.44.2...v0.45.0 )
---
updated-dependencies:
- dependency-name: msw
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-22 16:56:39 -04:00
Ammar Bandukwala
2ee6acb2ad
Upgrade frontend to React 18 ( #3353 )
...
Co-authored-by: Kira Pilot <kira.pilot23@gmail.com >
2022-08-22 15:42:06 -05:00
Ammar Bandukwala
6fde537f9c
web: use seconds in max TTL input ( #3576 )
...
Milliseconds are more difficult to deal with due to
all of the zeros.
Also, describe this feature as "auto-stop" to be
consistent with our Workspace page UI and CLI. "ttl"
is our backend lingo which should eventually be updated.
2022-08-22 20:35:17 +00:00
Ammar Bandukwala
5e36be8cbb
docs: remove architecture diagram ( #3615 )
...
The diagram was more confusion than helpful.
v0.8.6
2022-08-22 10:56:10 -05:00
Kyle Carberry
58d29264aa
feat: Add template icon to the workspaces page ( #3612 )
...
This removes the last built by column from the page. It seemed
cluttered to have both on the page, and is simple enough to
click on the workspace to see additional info.
2022-08-22 09:42:11 -05:00
Dean Sheather
369a9fb535
fix: add writeable home dir to docker image ( #3603 )
2022-08-22 19:43:13 +10:00
Eric Paulsen
68e17921f0
fix: tooltip 404 ( #3618 )
2022-08-21 18:50:36 -05:00
Kyle Carberry
b0fe9bcdd1
chore: Upgrade to Go 1.19 ( #3617 )
...
This is required as part of #3505 .
2022-08-21 22:32:53 +00:00
Ammar Bandukwala
d37fb054c8
docs: outdent remote desktop docs ( #3614 )
...
Resolves #3590
2022-08-21 01:59:40 +00:00
Bruno Quaresma
54b8e794ce
feat: Add emoji picker for template icons ( #3601 )
2022-08-19 16:42:05 -04:00
Bruno Quaresma
a4c90c591d
feat: Add icon to the template page ( #3604 )
2022-08-19 15:37:16 -03:00