dc8b73168e
feat: add user quiet hours schedule and restart requirement feature flag ( #8115 )
2023-07-20 23:35:41 +10:00
5eaf809851
fix(cli): speed up CLI over SSH ( #7885 )
...
By caching the terminal's color profile, we avoid myriad round trips during command execution.
2023-06-07 05:22:58 +00:00
a42a36a474
feat: add workspace actions cleanup configuration flags to CLI template create and edit ( #7453 )
...
* added cleanup flags on template create
* added cleanup flags on template edit
* fixed tests
* added to tests
2023-05-10 12:57:11 -07:00
e33941b7c2
feat: allow disabling autostart and custom autostop for template ( #6933 )
...
API only, frontend in upcoming PR.
2023-04-04 12:48:35 +00:00
2bd6d2908e
feat: convert entire CLI to clibase ( #6491 )
...
I'm sorry.
2023-03-23 17:42:20 -05:00
66a6b590a1
feat: add template max_ttl ( #6114 )
...
Co-authored-by: Bruno Quaresma <bruno@coder.com >
2023-03-07 14:14:58 +00:00
e86539db11
feat: Allow user to cancel workspace jobs ( #5115 )
...
* Add database column allow_user_cancel_workspace_jobs
* Adjust API
* site: typesGenerated.ts
* Expose template.allow_ in Workspaces API
* Fix: site tests
* Fix: make fmt/prettier
* Fix: enterprise
* Database tests
* Add CLI tests
* Add checkbox
* i18n
* Logic: block cancelling
* Unit tests for conditional cancel
* Fix: message
* Address PR comment
* Address PR comments
* Fix: make
2022-11-21 11:43:53 +01:00
2042b575dc
feat: Add template display name (backend) ( #4966 )
...
* Rename to nameValidator
* Refactor: NameValid
* Fix: comment
* Define new migration
* Include display_name
* Update typesGenerated.ts
* Update meta
* Adjust tests
* CLI tests
* Fix: audit
* Fix: omitempty
* site: display_name is optional
* unit: TestUsernameValid
* entities.ts: add display_name
* site: TemplateSettingsPage.test.tsx
* Fix: TemplateSettingsForm.tsx
* Adjust tests
* Add comment to display_name column
* Fix: rename
* Fix: make
* Loosen regexp
* Fix: err check
* Fix: template name length
* Allow for whitespaces
* Update migration number
2022-11-10 21:51:09 +01:00
d277e28427
feat: change template max_ttl to default_ttl ( #4843 )
2022-11-09 19:36:25 +00:00
90f77a3415
feat: add groups support to the CLI ( #4755 )
2022-10-27 16:49:35 -05:00
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
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
80f042f01b
feat: Add icon to templates ( #3561 )
2022-08-19 13:17:35 +00:00
546157b63e
feat: Make template name editable ( #3538 )
2022-08-17 19:04:00 +00:00
c3fcf7c953
chore: renamed coder template edit
flags in coder CLI ( #3471 )
...
Use `-` over `_` for cli flags
2022-08-12 10:21:42 -05:00
159137dc10
fix: Use stdin/out defined in command ( #3199 )
2022-07-26 17:23:32 +03:00
2609be767d
feat: add timestamps to output at end of some workspace and template subcommands ( #2831 )
2022-07-08 14:27:56 -05:00
8cfe223192
feat: cli: allow editing template metadata ( #2159 )
...
This PR adds a CLI command template edit which allows updating the following metadata fields of a template:
- Description
- Max TTL
- Min Autostart Interval
2022-06-08 15:14:57 +01:00
be3bc5cc55
Remove coder templates edit command ( #1396 )
2022-05-11 20:05:45 +00:00
02ad3f14f5
chore: Rename Projects to Templates ( #880 )
...
Customer feedback indicated projects was a confusing name.
After querying the team internally, it seemed unanimous
that it is indeed a confusing name.
Here's for a lil less confusion @ashmeer7 🥂
2022-04-06 12:42:40 -05:00