Mathias Fredriksson
2b6c229e4e
fix: Trigger workspace event after agent timeout seconds ( #5141 )
...
Fixes #5116
v0.12.9
2022-11-22 11:01:28 +00:00
Marcin Tojek and Presley Pizzo
e94b27bce4
fix: Adjust description for cancel in-progress workspace jobs ( #5142 )
...
* fix: Adjust description for cancel in-progress workspace jobs
* Update site/src/i18n/en/templatePage.json
Co-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com >
Co-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com >
2022-11-21 17:00:18 +00:00
Presley Pizzo
67941b4f80
chore: refactor audit page to use window function for count ( #5133 )
...
* Move count query to window function
* Unpack count and update types
* Remove count endpoint
* Update tests, wip
* Fix tests
* Update frontend, wip
* Remove space
* Fix frontend test
* Don't hang on error
* Handle no results
* Don't omit count
* Fix frontend tests
2022-11-21 11:30:41 -05:00
Bruno Quaresma
7a369e0a30
refactor: Minor build bar UI improvement ( #5132 )
2022-11-21 10:04:24 -05:00
Marcin Tojek
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
Bruno Quaresma
5fa3fdeca0
refactor: Improve empty views ( #5134 )
2022-11-19 01:46:11 +00:00
Bruno Quaresma
a477d901d6
refactor: Fix up to date color ( #5131 )
2022-11-19 01:18:40 +00:00
Colin Adler
ae38bbeab6
chore: refactor agent stats streaming ( #5112 )
2022-11-18 16:46:53 -06:00
Bruno Quaresma
13a4cfa670
chore: Remove unused test files and code ( #5130 )
2022-11-18 18:03:15 +00:00
Presley Pizzo
4c24adb471
Fix filter bug ( #5124 )
2022-11-18 09:53:16 -05:00
Bruno Quaresma
5866ca48a9
refactor: Reemove mono font from empty title ( #5125 )
2022-11-18 10:09:13 -03:00
Ben Potter
edad2d01da
chore: fix typo in cvm docs ( #5120 )
2022-11-18 06:01:01 +00:00
Dean Sheather
69e8c9e7b4
feat: add reconnectingpty loadtest ( #5083 )
2022-11-17 16:57:15 +00:00
Ammar Bandukwala
acf34d4295
site: support high build time variation in progress bar ( #4941 )
2022-11-17 16:56:56 +00:00
Kyle Carberry
60cec022eb
fix: Parse boolean in slice for gitauth ( #5113 )
...
This was causing a panic for the new `no_refesh` option!
2022-11-17 07:52:11 -06:00
Ben Potter
8e468c49cb
chore: default to generic troubleshooting link ( #5007 )
2022-11-17 11:10:49 +00:00
Kyle Carberry
fb9ca7b830
feat: Add the option to generate a trial license during setup ( #5110 )
...
This allows users to generate a 30 day free license during setup to
test out Enterprise features.
v0.12.8
2022-11-16 17:09:49 -06:00
Kyle Carberry
b6703b11c6
feat: Add external provisioner daemons ( #4935 )
...
* Start to port over provisioner daemons PR
* Move to Enterprise
* Begin adding tests for external registration
* Move provisioner daemons query to enterprise
* Move around provisioner daemons schema
* Add tags to provisioner daemons
* make gen
* Add user local provisioner daemons
* Add provisioner daemons
* Add feature for external daemons
* Add command to start a provisioner daemon
* Add provisioner tags to template push and create
* Rename migration files
* Fix tests
* Fix entitlements test
* PR comments
* Update migration
* Fix FE types
2022-11-16 16:34:06 -06:00
Colin Adler
66d20cabac
fix: index GetWorkspaceAgentsByResourceIDs query ( #5021 )
2022-11-16 14:40:57 -06:00
Colin Adler
e7f1192614
fix: add index for GetProvisionerLogsByIDBetween ( #5020 )
2022-11-16 14:32:29 -06:00
Ammar Bandukwala
da758ba712
site: fix quota_allowance == 0 bug ( #5108 )
2022-11-16 18:20:07 +00:00
Steven Masley
894953db3d
fix: Workspace ls show only me by default ( #5107 )
2022-11-16 17:58:50 +00:00
Steven Masley
015a6f9e26
fix: RBAC should default deny missing variables. ( #5105 )
...
* fix: RBAC should default deny missing variables.
The default behavior was to use 'true' for missing variables. This
was an incorrect assumption. If the variable is missing, the new
default is to deny (fail secure).
* Assert 1 workspace is returned for the owners
2022-11-16 11:01:09 -06:00
Bruno Quaresma
1fcc7caf99
fix: Fix tab default ( #5104 )
2022-11-16 16:43:35 +00:00
Presley Pizzo
e6ead7d915
chore: refactor workspaces query to use window function ( #5079 )
...
* Use window function in query
* Convert workspace rows and unpack count
* Update types
* Fix Scan bug
* Remove getCountError
2022-11-16 10:16:37 -05:00
Presley Pizzo
560d3c9fd0
fix: remove pagination widget when filter is invalid ( #5095 )
...
* Clear count along with user, remove count error
* Format
2022-11-16 09:55:41 -05:00
Marcin Tojek
32927b1a24
feat: show template.display_name on Workspace pages ( #5082 )
...
* feat: expose template.display_name via Workspaces endpoint
* Fix: MockWorkspace
* UI: Workspace stats and row
* Show template.display_name on pages
* Fix: address PR comments
* Add helper function: getDisplayWorkspaceTemplateName
2022-11-16 15:50:32 +01:00
Mathias Fredriksson
c1ecc91aab
feat: Add fallback troubleshooting URL for coder agents ( #5005 )
2022-11-16 12:53:02 +02:00
Geoffrey Huntley
1f4f0cee2a
chore(branding): update branding ( #5028 )
2022-11-16 07:15:33 -03:00
Ben Potter
09ee844389
fix: git docs link ( #5099 )
2022-11-15 21:19:52 +00:00
Kyle Carberry
fc0a493b72
feat: Add no_refresh option to Git auth configs ( #5097 )
...
This allows organizations to disable refreshing Git tokens
and instead prompt for authentication again.
2022-11-15 21:06:13 +00:00
Bruno Quaresma
2a46702fc5
fix: Syntax highlighting with long lines and untar content with emojis ( #5098 )
2022-11-15 20:09:54 +00:00
Ammar Bandukwala
44d3225932
.github: remove issue templates
...
Developers prefer no template based on Slack poll.
2022-11-15 20:02:50 +00:00
Mathias Fredriksson
d9a83fc723
fix: Refactor tailnet conn AwaitReachable to allow for pings >1s RTT ( #5096 )
2022-11-15 20:59:22 +02:00
Marcin Tojek
eda7c66896
chore: TemplatesPage tests failing on M1 ( #5088 )
2022-11-15 19:45:01 +01:00
Bruno Quaresma
e68923fa36
fix: Worker security policy ( #5093 )
2022-11-15 17:02:24 +00:00
Mathias Fredriksson and 李董睿煊
9fb710a04f
feat: Add allow everyone option to GitHub OAuth2 logins ( #5086 )
...
* feat: Add allow everyone option for GitHub OAuth
* fix: Detect team when multiple orgs are present
Co-authored-by: 李董睿煊 <dongruixuan@hotmail.com >
2022-11-15 18:56:46 +02:00
Bruno Quaresma
f262fb4811
feat: Add template version page ( #5071 )
2022-11-15 16:24:13 +00:00
Kyle Carberry
773fc73280
fix: Add debug logging for connecting to psql ( #5078 )
...
If a database connection hung, the output was unclear.
2022-11-14 20:10:37 -06:00
Kyle Carberry
50b5becfb0
fix: Invert err nil check for opening Git URL ( #5077 )
...
Thanks @kconley-sq! 🥳
2022-11-14 20:10:23 -06:00
Geoffrey Huntley
b5181aacd7
feat(i18n): adjust language when deleting a template ( #5056 )
2022-11-15 10:12:53 +10:00
Garrett Delfosse
88f3691dcc
feat: add count to get users endpoint ( #5016 )
2022-11-14 17:22:57 -05:00
Marcin Tojek
49b340e039
Show template.display_name in the site UI ( #5069 )
...
* Show display_name field in the template settings
* Show template.display_name on pages: Templates, CreateWorkspace
* Fix: template.display_name pattern
* make fmt/prettier
* Fix tests
* Fix: make fmt/prettier
* Fix: merge
* Fix: autoFocus
* i18n: display_name
v0.12.7
2022-11-14 21:11:50 +01:00
Mathias Fredriksson
e872e18883
chore: Set initialism for DefaultTTL (from DefaultTtl) ( #4996 )
2022-11-14 20:14:08 +02:00
Ammar Bandukwala
97dbd4dc5d
Implement Quotas v3 ( #5012 )
...
* provisioner/terraform: add cost to resource_metadata
* provisionerd/runner: use Options struct
* Complete provisionerd implementation
* Add quota_allowance to groups
* Combine Quota and RBAC licenses
* Add Opts to InTx
2022-11-14 17:57:33 +00:00
Kira Pilot
3fb7892c07
fix: template permissions page never loads ( #5014 )
...
* removed redundant permissions loader
* fixed tests
2022-11-14 12:33:17 -05:00
Kyle Carberry
fefacc5bfd
chore: Expose additional agent options to telemetry ( #5070 )
...
This also adds a few properties for deployments!
2022-11-14 10:11:08 -06:00
Geoffrey Huntley
9692cc2e22
housekeeping: structure GitHub issues via templates ( #5025 )
2022-11-14 09:32:54 -06:00
Marcin Tojek
cf5d48bb5a
fix: do not skip properties on creating templates ( #5060 )
...
* fix: do not skip properties while creating templates
* test: empty edit
2022-11-14 15:32:18 +01:00
Mathias Fredriksson
4b3d211e00
fix: Use UTC in cli/cliui table test to match expected output ( #5063 )
2022-11-14 15:08:51 +02:00