2bbeff53f9
docs: applications and authorization ( #5477 )
...
* docs: Applications
* WIP
* WIP
* WIP
* Fix: consume
* Fix: @Description
* Fix
* Fix: s/none//g
* Fix: godoc nice
* Fix: description
* Fix: It
* Fix: code sample trim empty line
* More fixes
* Fix: br
2022-12-21 15:37:30 +01:00
611ca55458
fix: Use "data" scheme when creating parameters from the site ( #3732 )
...
Fixes #3691 .
2022-08-29 16:32:57 +00:00
3610402cd8
Use new table formatter everywhere ( #3544 )
2022-08-19 02:41:00 +10:00
4616499030
chore: Reuse ComputedParmeter, remove duplicated codersdk type ( #2477 )
...
* chore: Reuse ComputedParmeter instead of custom type
2022-06-17 15:20:13 -05:00
64b92eea67
feat: Allow inheriting parameters from previous template_versions when updating a template ( #2397 )
...
* WIP: feat: Update templates also updates parameters
* Insert params for template version update
* Working implementation of inherited params
* Add "--always-prompt" flag and logging info
2022-06-17 12:22:28 -05:00
75205f5978
feat: Implement parameters list + more template list columns ( #2359 )
...
* feat: Implement parameters list
- Allow more columns on template list
* Hide param list by default for now
2022-06-15 18:21:01 -05:00
0f44048fcc
fix: adjust ParameterSchema type for workspace creation ( #2384 )
...
* add ability to activate users
resolves #2254
* added test
* PR feedback
* guarding against null validation_contains field
* fixing type for ParameterSchema
resolves #2161
2022-06-15 15:12:57 -04:00
d8c440188e
feat: Remove organization and user scoped parameters ( #2007 )
...
* feat: Remove organization and user scoped parameters
Signed-off-by: Spike Curtis <spike@coder.com >
* Fixup dump.sql
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix dump.sql again
Signed-off-by: Spike Curtis <spike@coder.com >
* Fix down migration
Signed-off-by: Spike Curtis <spike@coder.com >
2022-06-03 11:49:58 -07:00
6c1117094d
chore: Force codersdk to not import anything from database ( #1576 )
...
* chore: Force codersdk to not import anything from database (linter rule)
* chore: Move all database types in codersdk out
2022-05-19 13:04:44 -05:00
38ee519f42
feat: Expose the values contained in an HCL validation string to the API ( #1587 )
...
* feat: Expose the values contained in an HCL validation string to the API
This allows the frontend to render inputs displaying these values!
* Update codersdk/parameters.go
Co-authored-by: Cian Johnston <cian@coder.com >
* Call a spade a space
* Fix linting errors with type conversion
Co-authored-by: Cian Johnston <cian@coder.com >
2022-05-19 13:29:36 +00:00
4ad5ac2d4a
feat: Rbac more coderd endpoints, unit test to confirm ( #1437 )
...
* feat: Enforce authorize call on all endpoints
- Make 'request()' exported for running custom requests
* Rbac users endpoints
* 401 -> 403
2022-05-17 13:43:19 -05: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
2b1a0ee126
chore: update v1 schema ( #643 )
2022-04-01 14:42:36 -05:00
591523a078
chore: Move httpapi, httpmw, & database into coderd
( #568 )
...
* chore: Move httpmw to /coderd directory
httpmw is specific to coderd and should be scoped under coderd
* chore: Move httpapi to /coderd directory
httpapi is specific to coderd and should be scoped under coderd
* chore: Move database to /coderd directory
database is specific to coderd and should be scoped under coderd
* chore: Update codecov & gitattributes for generated files
* chore: Update Makefile
2022-03-25 16:07:45 -05:00
c451f4e685
feat: Add templates to create working release ( #422 )
...
* Add templates
* Move API structs to codersdk
* Back to green tests!
* It all works, but now with tea! 🧋
* It works!
* Add cancellation to provisionerd
* Tests pass!
* Add deletion of workspaces and projects
* Fix agent lock
* Add clog
* Fix linting errors
* Remove unused CLI tests
* Rename daemon to start
* Fix leaking command
* Fix promptui test
* Update agent connection frequency
* Skip login tests on Windows
* Increase tunnel connect timeout
* Fix templater
* Lower test requirements
* Fix embed
* Disable promptui tests for Windows
* Fix write newline
* Fix PTY write newline
* Fix CloseReader
* Fix compilation on Windows
* Fix linting error
* Remove bubbletea
* Cleanup readwriter
* Use embedded templates instead of serving over API
* Move templates to examples
* Improve workspace create flow
* Fix Windows build
* Fix tests
* Fix linting errors
* Fix untar with extracting max size
* Fix newline char
2022-03-22 13:17:50 -06:00
bf0ae8f573
feat: Refactor API routes to use UUIDs instead of friendly names ( #401 )
...
* Add client for agent
* Cleanup code
* Fix linting error
* Rename routes to be simpler
* Rename workspace history to workspace build
* Refactor HTTP middlewares to use UUIDs
* Cleanup routes
* Compiles!
* Fix files and organizations
* Fix querying
* Fix agent lock
* Cleanup database abstraction
* Add parameters
* Fix linting errors
* Fix log race
* Lock on close wait
* Fix log cleanup
* Fix e2e tests
* Fix upstream version of opencensus-go
* Update coderdtest.go
* Fix coverpkg
* Fix codecov ignore
2022-03-07 11:40:54 -06:00