Steven Masley
251316751e
feat: Return more 404s vs 403s ( #2194 )
...
* feat: Return more 404s vs 403s
* Return vague 404 in all cases
2022-06-14 10:14:05 -05:00
Steven Masley and Garrett
dc1de58857
feat: workspace filter query supported in backend ( #2232 )
...
* feat: add support for template in workspace filter
* feat: Implement workspace search filter to support names
* Use new query param parser for pagination fields
* Remove excessive calls, use filters on a single query
Co-authored-by: Garrett <garrett@coder.com >
2022-06-14 08:46:33 -05:00
dependabot[bot]
5be52de593
chore: bump github.com/gohugoio/hugo from 0.100.1 to 0.100.2 ( #2274 )
...
Bumps [github.com/gohugoio/hugo](https://github.com/gohugoio/hugo ) from 0.100.1 to 0.100.2.
- [Release notes](https://github.com/gohugoio/hugo/releases )
- [Changelog](https://github.com/gohugoio/hugo/blob/master/goreleaser.yml )
- [Commits](https://github.com/gohugoio/hugo/compare/v0.100.1...v0.100.2 )
---
updated-dependencies:
- dependency-name: github.com/gohugoio/hugo
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 21:39:16 -05:00
Colin Adler
961ddad925
fix: use command -v instead of which in agent bootstrap ( #2307 )
...
Certain distros don't ship with `which` (arch) and `command -v` is
built-in to the shell, so this is much more compatible.
2022-06-13 21:20:15 -05:00
Cian Johnston
0a949aaff2
cli: streamline autostart ux ( #2251 )
...
This commit adds the following changes:
- autostart enable|disable => autostart set|unset
- autostart enable now accepts a more natual schedule format: <time> <days-of-week> <location>
- autostart show now shows configured timezone
- 🎉 automatic timezone detection across mac, windows, linux 🎉
Fixes #1647
2022-06-13 22:09:36 +01:00
Bruno Quaresma
9d155843dd
refactor: Replace PageHeaderText by PageHeaderSubtitle ( #2287 )
2022-06-13 17:12:47 -03:00
Steven Masley
1863da4ff4
chore: Add some more error context in cli ( #2301 )
2022-06-13 14:39:35 -05:00
Colin Adler
dad42fe712
feat: gzip static http server assets ( #2272 )
2022-06-13 13:14:22 -05:00
Ben Potter
d057e8cc03
docs: fix: use absolute link for examples ( #2288 )
...
* docs: fix: use absolute link for examples
* fix ugh
2022-06-13 12:50:05 -05:00
Abhineet Jain
a91482cb25
fix: populate default created_by and add not-null constraint in templates ( #2290 )
2022-06-13 17:25:06 +00:00
Steven Masley
49f857806f
fix: Do not write 2 errors to api on template fetch error ( #2285 )
2022-06-13 15:42:14 +00:00
Katie Horne
cbde8e8b91
chore: add hero image to OSS docs homepage ( #2241 )
v0.6.6
2022-06-13 09:16:26 -05:00
Colin Adler
e3a1cd34b7
fix: ensure agentResource is non-nil ( #2261 )
2022-06-11 00:02:49 +00:00
Colin Adler
8415022bf9
fix(devtunnel): close http.Server before wireguard interface ( #2263 )
2022-06-10 23:40:33 +00:00
Colin Adler
de6f86bf7a
fix: ensure config dir exists before reading tunnel config ( #2259 )
2022-06-10 21:42:55 +00:00
Kira Pilot
ec0bb7b330
feat: update language on workspace page ( #2220 )
2022-06-10 16:42:21 -04:00
Abhineet Jain
02d2aea7f2
feat: store and display template creator ( #2228 )
...
* design commit
* add owner_id to templates table
* add owner information in apis and ui
* update minWidth for statItem
* rename owner to created_by
* missing refactor to created_by
* handle errors in fetching created_by names
2022-06-10 19:24:21 +00:00
Garrett Delfosse
46da59a6b5
fix: use correct link in create from template button ( #2253 )
2022-06-10 13:38:43 -05:00
Colin Adler
f562b74fa1
feat: use custom wireguard reverse proxy for dev tunnel ( #1975 )
2022-06-10 13:38:11 -05:00
David Wahler
71fd19631a
feat: Warn on coderd startup if access URL is localhost ( #2248 )
2022-06-10 13:35:51 -05:00
Kyle Carberry
f79ab7f87e
fix: Remove easter egg mentioning competitor ( #2250 )
...
This is more confusing than helpful!
2022-06-10 18:14:06 +00:00
G r e y
928958c94c
fix: workspace schedule time displays ( #2249 )
...
Summary:
Various time displays weren't quite right.
Details:
- Display date (not just time) of upcoming workspace stop in workspace
page
- Fix ttlShutdownAt for various cases + tests
- manual to non-manual
- unchanged/unmodified
- isBefore --> isSameOrBefore
- use the delta (off by _ error)
- pluralize units in dayjs.add
2022-06-10 17:26:20 +00:00
Mathias Fredriksson
1a9e57296c
feat: Show template description in coder template init ( #2238 )
2022-06-10 19:54:28 +03:00
Joe Previte
fcc52846da
fix: update icon ( #2216 )
2022-06-10 11:23:20 -05:00
Abhineet Jain
b2833c694b
feat: update build url to @username/workspace/builds/buildnumber ( #2234 )
...
* update build url to @username/workspace/builds/buildnumber
* update errors thrown from the API
* add unit tests for the new API
* add t.parallel
* get username and workspace name from params
2022-06-10 12:08:50 -04:00
Kyle Carberry
f9290b016e
fix: Use explicit resource order when assocating agents ( #2219 )
...
This cleans up agent association code to explicitly map a single
agent to a single resource. This will fix #1884 , and unblock
a prospect from beginning a POC.
2022-06-10 15:47:36 +00:00
Steven Masley
6bee180bb3
fix: Sort workspace by name by created_at ( #2214 )
...
* fix: Sort workspace by name by created_at
Fix bug where deleting workspaces with the same name returns the
oldest deleted workspace
2022-06-10 09:58:42 -05:00
Abhineet Jain
953e8c8fe6
feat: Allow admins to access member workspace terminals ( #2114 )
...
* allow workspace update permissions to access agents
* do not show app links to users without workspace update access
* address CR comments
* initialize machine context in the hook
* revert scoped connected status check
2022-06-10 10:46:48 -04:00
Mathias Fredriksson
0260e39d11
fix: Accept CODER_CACHE_DIRECTORY with CACHE_DIRECTORY fallback ( #2236 )
...
Fixes #2199
2022-06-10 17:00:00 +03:00
Ammar Bandukwala
06021bdc92
Make coder bump idempotent ( #2230 )
...
Resolves #2223
In addition to solving what's outlined in the issue,
I remove the client-side minute check because it had no
clear purpose when the API already returns an error.
2022-06-10 09:31:47 +01:00
ammario
6ea86c831b
Revert "Make coder bump idempotent ( #2225 )"
...
This reverts commit 0df75f9176 .
I merged on accident.
2022-06-10 03:31:13 +00:00
Ammar Bandukwala
0df75f9176
Make coder bump idempotent ( #2225 )
...
Resolves #2223
In addition to solving what's outlined in the issue,
I remove the client-side minute check because it had no
clear purpose when the API already returns an error.
2022-06-09 22:30:43 -05:00
Garrett Delfosse
92bda0d2c1
fix: allow admins to reset their own pass without old_password ( #2222 )
2022-06-10 11:43:54 +10:00
Garrett Delfosse
b7234a6ce1
fix: push create workspace UX to templates page ( #2142 )
2022-06-09 18:43:49 -05:00
Cian Johnston
119db78bff
feat: update workspace deadline when workspace ttl updated ( #2165 )
...
This commit adds the following changes to workspace scheduling behaviour:
* CLI: updating a workspace TTL updates the deadline of the workspace.
* If the TTL is being un-set, the workspace deadline is set to zero.
* If the TTL is being set, the workspace deadline is updated to be the last updated time of the workspace build plus the requested TTL. Additionally, the user is prompted to confirm interactively (can be bypassed with -y).
* UI: updating the workspace schedule behaves similarly to the CLI, showing a message to the user if the updated TTL/time to shutdown would effect changes to the lifetime of the running workspace.
2022-06-09 22:10:24 +01:00
G r e y
411d7da661
fix: ws schedule as 12-hour format ( #2209 )
...
This does not finish all tasks in #2175 but is one of the asks.
2022-06-09 16:20:29 -04:00
G r e y
377f17c292
fix: initialValues for ws schedule ( #2213 )
...
Summary:
When a schedule is not set, we default to M-F, 5 hours ttl
2022-06-09 15:20:53 -04:00
Bruno Quaresma and Joe Previte
d04d527f2c
chore: Update docs manifest home page and icons ( #2133 )
...
* chore: Update docs manifest home page and icons
* RRemove contributors
* Update template icon
* fixup: manifest.json changes
* fix: add missing readme to root
* fix: add readme to /docs with toc
* fix: add quickstart to manifest
Co-authored-by: Joe Previte <jjprevite@gmail.com >
2022-06-09 18:46:16 +00:00
Ben Potter
0ec1e8f89b
example: aws-linux: resize and use non-root user ( #2186 )
2022-06-09 18:10:01 +00:00
G r e y
92db80cadc
fix: sort time zones ( #2210 )
...
Summary:
The list of time zones in the edit workspace schedule form is not sorted
alphabetically.
2022-06-09 18:42:27 +01:00
Kira Pilot
518495a6c5
feat: show deleted workspace after delete action ( #2208 )
...
* added deleted workspace banner
* x state pass
* added include_deleted param
* clean up x state
* added teests
* cleaning up unneeded xstate service
2022-06-09 11:43:49 -04:00
dependabot[bot]
d0ac4d9e74
chore: bump eslint-plugin-react from 7.29.4 to 7.30.0 in /site ( #2076 )
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.29.4 to 7.30.0.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.29.4...v7.30.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 11:17:52 -04:00
G r e y
857d83750a
ci: storybook flake for auto-stop display ( #2184 )
...
Summary:
Uncaught from the change in https://github.com/coder/coder/pull/2171
2022-06-09 15:03:28 +00:00
Kyle Carberry
fff59ef6ad
fix: Add tests for instance and app association ( #2198 )
...
This was regressed in #2187 . There was bad testing around this
before, and this should prevent a similiar situation from happening
again!
v0.6.5
2022-06-09 13:34:24 +00:00
Mathias Fredriksson
567e4afdfc
example: Re-enable Digital Ocean project assignment ( #2196 )
...
The issue tracked in #1750 was fixed by #2187 , we can now re-enable the
project resource.
2022-06-09 12:17:44 +03:00
Mathias Fredriksson
2621093452
fix: Stop showing resources after coder create ( #2155 )
...
Fixes #1036
2022-06-09 10:44:41 +03:00
Steven Masley
74fe38eb3d
feat: Add initiator_username to workspace builds in apis ( #2174 )
...
* feat: Add initiator_username to workspace builds in apis
2022-06-08 20:23:35 -05:00
Kyle Carberry
14701498c9
fix: Improve Terraform agent<->resource association testing ( #2187 )
v0.6.4
2022-06-08 17:40:34 -05:00
Ben Potter
42c6b0849d
example: add and document dotfiles usage ( #2046 )
2022-06-08 21:23:54 +00:00
dependabot[bot]
c33113786e
chore: bump dayjs from 1.11.2 to 1.11.3 in /site ( #2088 )
...
Bumps [dayjs](https://github.com/iamkun/dayjs ) from 1.11.2 to 1.11.3.
- [Release notes](https://github.com/iamkun/dayjs/releases )
- [Changelog](https://github.com/iamkun/dayjs/blob/v1.11.3/CHANGELOG.md )
- [Commits](https://github.com/iamkun/dayjs/compare/v1.11.2...v1.11.3 )
---
updated-dependencies:
- dependency-name: dayjs
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-08 20:05:43 +00:00