Bruno Quaresma
175dde1c52
chore(site): Try to fix flake test ( #6848 )
2023-03-29 16:10:04 -03:00
Cian Johnston
b38d1ed4a5
Revert "fix(UI): redirect if user is not permissioned to see workspace ( #6786 )" ( #6836 )
...
This reverts commit fc21e159b8 .
2023-03-28 09:38:39 +00:00
Bruno Quaresma
dd4e1f74ff
feat(site): Ask for version name and if it is active when publishing a new version on editor ( #6756 )
2023-03-27 17:26:57 +00:00
Steven Masley and Bruno Quaresma
7fa5afa268
fix: Users that can update a template can also read the file ( #6776 )
...
* fix: Users that can update a template can also read the file
This currently has a strange RBAC story. An issue will be filed
to streamline this.
This is a hotfix to resolve current functionality
* Only showsource code tab if the user has permission to edit the template
---------
Co-authored-by: Bruno Quaresma <bruno_nonato_quaresma@hotmail.com >
2023-03-27 09:21:41 -05:00
Kira Pilot
fc21e159b8
fix(UI): redirect if user is not permissioned to see workspace ( #6786 )
...
* fix(UI): redirect if user is not permissioned to see workspace
* fix tests
2023-03-27 06:25:31 -07:00
Kira Pilot
08afe3cfad
chore(UI): remove private icon from apps in dashboard ( #6801 )
...
* chore(UI): remove private icon from apps in dashboard
* clean up redudant snapshots
2023-03-27 06:24:42 -07:00
Ammar Bandukwala
e0cc4ee7f8
fix: correct english in CreateWorkspacePage ( #6797 )
2023-03-27 08:49:18 -03:00
Bruno Quaresma
e3a965bcc9
fix(site): Add page header into permissions page ( #6760 )
2023-03-27 11:32:20 +00:00
Marcin Tojek
c9cbc63cd4
feat: Fine-tune logs presentation ( #6771 )
...
* Process debug mode logs
* Debug logs are grey
* Fix
2023-03-24 13:29:18 +01:00
Ammar Bandukwala
2bd6d2908e
feat: convert entire CLI to clibase ( #6491 )
...
I'm sorry.
2023-03-23 17:42:20 -05:00
Bruno Quaresma
b71b8daa21
fix(site): Add helper text and prevent undefined when deleting empty value ( #6757 )
2023-03-23 20:44:40 +00:00
Bruno Quaresma
88e24db643
refactor(site): Group template permissions, settings and variables under a settings layout ( #6737 )
2023-03-23 16:43:12 -03:00
Kyle Carberry and Asher
cb7375450b
feat: add startup script logs to the ui ( #6558 )
...
* Add startup script logs to the database
* Add coderd endpoints for startup script logs
* Push startup script logs from agent
* Pull startup script logs on frontend
* Rename queries
* Add constraint
* Start creating log sending loop
* Add log sending to the agent
* Add tests for streaming logs
* Shorten notify channel name
* Add FE
* Improve bulk log performance
* Finish UI display
* Fix startup log visibility
* Add warning for overflow
* Fix agent queue logs overflow
* Display staartup logs in a virtual DOM for performance
* Fix agent queue with loads of logs
* Fix authorize test
* Remove faulty test
* Fix startup and shutdown reporting error
* Fix gen
* Fix comments
* Periodically purge old database entries
* Add test fixture for migration
* Add Storybook
* Check if there are logs when displaying features
* Fix startup component overflow gap
* Fix startup log wrapping
---------
Co-authored-by: Asher <ash@coder.com >
2023-03-23 14:09:13 -05:00
Steven Masley
a6fa8cac58
chore: add typescript api for ssh config ( #6741 )
...
* chore: add typescript api for ssh config
2023-03-23 17:46:39 +00:00
Bruno Quaresma
8857971552
feat(coder): Add PATCH /templateversions/:templateversion endpoint ( #6698 )
2023-03-23 13:26:50 -03:00
Bruno Quaresma
eaacc26da7
fix(site): Fix missing parameters detection on update workspace ( #6740 )
2023-03-23 08:05:19 +01:00
Kira Pilot
25e92fd2f4
fix(audit): audit login/logout for new 3rd-party auth ( #6733 )
...
* fix(audit): audit login/logout for new 3rd-party auth
* no longer auditing unknown users
2023-03-22 12:52:13 -07:00
Steven Masley
250ee17933
fix: Page offset on workspace pagination was incorrect ( #6693 )
...
* fix: Page offset on workspace pagination was incorrect
2023-03-22 18:17:49 +00:00
Kira Pilot
1ccbd54ea2
chore(UI): update autocomplete no options text ( #6735 )
2023-03-22 11:14:07 -07:00
Kyle Carberry
ad9c9b468f
fix: block updating mutable parameters ( #6717 )
2023-03-22 11:05:04 -05:00
Dean Sheather
5460ab4ba6
chore: switch to new wgtunnel via tunnelsdk ( #6489 )
2023-03-22 13:13:48 +00:00
Kyle Carberry
38d278ac46
fix: use the default value for a rich parameter if unset ( #6715 )
...
This fixes an error thrown on the workspace settings page when
a new parameter is added and the workspace hasn't been built yet.
2023-03-22 00:02:55 +00:00
Bruno Quaresma
5cbe360176
fix(site): Fix CSP directives for monaco ( #6709 )
2023-03-21 12:51:02 -07:00
Colin Adler
00860cf1c8
feat: add group mapping option for group sync ( #6705 )
...
* feat: add group mapping option for group sync
* fixup! feat: add group mapping option for group sync
2023-03-21 14:25:45 -05:00
Bruno Quaresma
120bc4b750
refactor(site): Only show status after first edition ( #6701 )
2023-03-21 16:23:33 -03:00
Kyle Carberry
71eecb3515
chore: embed build info in the html to reduce requests ( #6605 )
...
This will reduce a request on every page load of Coder!
2023-03-21 19:04:54 +00:00
Bruno Quaresma
29d71bb3dd
feat(site): Add source code tab on template page, group buttons and add edit file option ( #6681 )
2023-03-21 16:52:42 +00:00
Bruno Quaresma
f97c22540a
fix: Only show mutable parameters on workspace settings form ( #6690 )
2023-03-21 13:47:54 -03:00
Kyle Carberry
247470b1d6
fix: increase timeout of CreateTemplatePage initial render ( #6694 )
...
This might fix some test flakes we've been seeing!
2023-03-21 13:24:07 -03:00
Steven Masley
2321160c62
feat: Dbauthz is now default, remove out of experimental ( #6650 )
...
* feat: dbauthz always on, out of experimental
* Add ability to do rbac checks in unit tests
* Remove AuthorizeAllEndpoints
* Remove duplicate rbac checks
2023-03-21 09:10:22 -05:00
Bruno Quaresma
cb846bab46
fix(site): Show job error on updating template variables ( #6674 )
2023-03-20 12:51:59 -03:00
Bruno Quaresma
a4d86e9d78
fix(site): Don't handle 304 as error ( #6655 )
2023-03-20 10:08:06 -03:00
Bruno Quaresma
ca067cf004
feat(site): Support list(string) rich parameter field ( #6653 )
2023-03-17 18:53:11 +00:00
Kira Pilot
5b07f1e2a3
feat(tokens): improve delete confirmation dialog ( #6651 )
2023-03-17 10:29:51 -07:00
Muhammad Atif Ali and Ben
e6d52b07b7
docs: add template to provision docker image based workspaces on fly.io ( #6526 )
...
* add fly.io example
* fix: `fly_volume` does not allow using - in name.
fix: `fly_volume` does not allow using - in the name.
* fix: provider versions and settings
* fix: valid `fly_app` name
* chore: ipv6 is not used
* fix: names
strangely `fly_volume` does not allow `-` and `fly_app` does not allow `_`.
* chore: update max RAM
* add fly-auth-api managed variables
* Update README.md
* improve setup flow
- user is not prompted in UI for default values
- org slug is best fetched via CLI
* add metadata
* add to starter templates
---------
Co-authored-by: Ben <me@bpmct.net >
2023-03-17 11:46:44 -05:00
Steven Masley
e55d921537
chore: Typescript generator TODOs resolved, adding explainations ( #6633 )
...
* chore: Explain usage of eslint comments
* Conform comment
* Fix wording
* Linting
2023-03-17 09:28:16 -05:00
Bruno Quaresma
b1c1e1a8a6
refactor(site): Remove wave animation from skeleton ( #6644 )
2023-03-17 10:44:17 -03:00
Bruno Quaresma
01a6af98b4
fix(site): Do not require immutable parameters ( #6637 )
2023-03-17 10:09:10 -03:00
Steven Masley
fe247c86eb
feat: Add deployment side config-ssh options ( #6613 )
...
* feat: Allow setting deployment wide ssh config settings
* feat: config-ssh respects deployment ssh config
* The '.' is now configurable
* Move buildinfo into deployment.go
2023-03-16 13:03:37 -05:00
Bruno Quaresma
95177ad0e5
refactor(site): Remove change version from the UI ( #6621 )
2023-03-16 13:07:33 -03:00
Bruno Quaresma
ab90651a7e
refactor(site): Add skeletons for table loading state ( #6626 )
2023-03-16 13:06:15 -03:00
Kira Pilot
811a69f371
feat(site): add ability to create tokens from account tokens page ( #6608 )
...
* add token actions
* added basic token form
* removed token switch
* refined date field
* limiting lifetime days to maxTokenLifetime
* broke apart files
* added loader and error
* fixed form layout
* added some unit tests
* fixed be tests
* no authorize check
2023-03-16 08:25:08 -07:00
Bruno Quaresma
af618477bd
feat(site): Show stop button when workspace is failed ( #6622 )
2023-03-16 14:34:55 +00:00
Bruno Quaresma
107ae55642
feat(site): Add workspace settings page ( #6612 )
2023-03-16 11:00:19 -03:00
Bruno Quaresma
854bcce5e0
fix(site): Fix filter hover ( #6624 )
2023-03-16 06:31:41 -07:00
Muhammad Atif Ali
a0e096bcfe
chore: update templates to use rich parameters ( #6397 )
2023-03-15 13:11:52 +00:00
Bruno Quaresma
3cf235c564
feat(site): Ask for parameter values when updating a workspace ( #6586 )
2023-03-14 13:20:49 -03:00
Bruno Quaresma
b806d1cfcf
fix(site): Display delete template error from the API ( #6589 )
2023-03-14 10:44:27 -03:00
Marcin Tojek
7587850a1c
feat: import value from legacy variable to build parameter ( #6556 )
2023-03-14 12:02:44 +00:00
Bruno Quaresma
813b54942f
chore(site): Make FE tests faster ( #6543 )
2023-03-13 13:35:09 -03:00