5a968e2f93
feat: add flag to disaable all rate limits ( #5570 )
2023-01-05 18:05:20 +00:00
66fa2a1a8c
docs: API workspace agents and builds ( #5538 )
2023-01-05 15:27:10 +01:00
04d45f3c1c
fix!: remove AUTO_IMPORT_TEMPLATE for Kubernetes installs ( #5401 )
...
* fix!: remove AUTO_IMPORT_TEMPLATE
* chore: remove template auto importing
Co-authored-by: Dean Sheather <dean@deansheather.com >
2023-01-05 04:04:32 +00:00
0dba2defd1
feat: enable enterprise users to specify a custom logo ( #5566 )
...
* feat: enable enterprise users to specify a custom logo
This adds a field in deployment settings that allows users to specify
the URL to a custom logo that will display in the dashboard.
This also groups service banner into a new appearance settings page.
It adds a Fieldset component to allow for modular fields moving forward.
* Fix tests
2023-01-04 15:31:45 -06:00
de0601d611
feat: allow configurable username claim field in OIDC ( #5507 )
...
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2023-01-04 15:16:31 -06:00
5e540e3439
chore: Log out the failed audit log on failures ( #5561 )
2023-01-03 17:22:57 -06:00
e67d131514
docs: audit, deploymentconfig, files, parameters ( #5506 )
...
* docs: audit, deploymentconfig, files, parameters
* Fix: mark as binary
* Fix: show format in docs
* Fix: use .swaggo
* Fix: swagger notice
* Swagger notice
2023-01-03 19:21:10 +01:00
856f0ab6f5
chore: Improve project-wide prettier formatting and ignored files ( #5505 )
...
* chore: Improve project-wide prettier formatting and ignored files
* chore: `Run make fmt/prettier`
* Fix gitignore for `.vscode` folder so that ! works
* Add comment in `.prettierrc.yaml` to explain `.editorconfig`
* Remove scripts/apidocgen/markdown-template/README.md
* Use `yq` for processing prettierrc, update lib.sh dependency check
* Add `yq` to Dockerfile and Nix
2023-01-03 15:11:13 +02:00
8bb7e17bf1
chore!: remove GET workspaceagents/me/report-stats ( #5530 )
...
* chore!: remove GET workspaceagents/me/report-stats
* Fix: tests
2023-01-02 21:38:51 +01:00
3e2e2ac49e
fix: enforce unique agent names per workspace ( #5497 )
2022-12-22 15:20:35 -08:00
cfd02d959c
docs: api root, buildinfo, csp ( #5493 )
...
* docs: Applications
* WIP
* WIP
* WIP
* Fix: consume
* Fix: @Description
* Fix
* docs: apiroot, buildinfo, csp
* Fix: buildinfo
* docs: updatecheck
* docs: apiroot
* Fix: s/none//g
* Fix: godoc nice
* Fix: description
* Fix: It
* Fix: code sample trim empty line
* More fixes
* Fix: br
* Merge
* Fix: no-security on updatecheck
* Fix: code tags
* Fix: enumerated values in code tags
* Rephrased
* Address PR comments
* Fix: URL, id
* Fix: array items
* Fix: any property
* Fix: array item singular
2022-12-22 15:53:14 +01:00
ac27cf8c07
fix: properly apply metadata when multiple resources share the same id ( #5443 )
2022-12-21 13:48:49 -05:00
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
50dfc2082b
feat: endpoint to logout app subdomain URLs ( #5428 )
...
Co-authored-by: Bruno Quaresma <bruno@coder.com >
2022-12-20 18:45:13 +00:00
e3cf759968
test: Unit tests creating fake audit logs require create permission ( #5455 )
2022-12-19 14:02:52 -06:00
1bc4eb5329
fix: fix security vulnerabilities reported by CodeQL ( #5467 )
2022-12-19 19:25:59 +00:00
dc6d271293
feat: Build framework for generating API docs ( #5383 )
...
* WIP
* Gen
* WIP
* chi swagger
* WIP
* WIP
* WIP
* GetWorkspaces
* GetWorkspaces
* Markdown
* Use widdershins
* WIP
* WIP
* WIP
* Markdown template
* Fix: makefile
* fmt
* Fix: comment
* Enable swagger conditionally
* fix: site
* Default false
* Flag tests
* fix
* fix
* template fixes
* Fix
* Fix
* Fix
* WIP
* Formatted
* Cleanup
* Templates
* BEGIN END SECTION
* subshell exit code
* Fix
* Fix merge
* WIP
* Fix
* Fix fmt
* Fix
* Generic api.md page
* Fix merge
* Link pages
* Fix
* Fix
* Fix: links
* Add icon
* Write manifest file
* Fix fmt
* Fix: enterprise
* Fix: Swagger.Enable
* Fix: rename apidocs to apidoc
* Fix: find -not -prune
* Fix: json not available
* Fix: rename Coderd API to Coder API
* Fix: npm exec
* Fix: api dir
* Fix: by ID
* Fix: string uuid
* Fix: include deleted
* Fix: indirect go.mod
* Fix: source lib.sh
* Fix: shellcheck
* Fix: pushd popd
* Fix: fmt
* Fix: improve workspaces
* Fix: swagger-enable
* Fix
* Fix: mention only HTTP 200
* Fix: IDs
* Fix: https
* Fix: icon
* More APis
* Fix: format swagger.json
* Fix: SwaggerEndpoint
* Fix: SCRIPT_DIR
* Fix: PROJECT_ROOT
* Fix: use code tags in schemas.md
* Fix: examples
* Fix: examples
* Fix: improve format
* Fix: date-time,enums
* Fix: include_deleted
* Fix: array of
* Fix: parameter, response
* Fix: string time or null
* Workspaces: more docs
* Workspaces: more docs
* Fix: renderDisplayName
* Fix: ActiveUserCount
* Fix
* Fix: typo
* Templates: docs
* Notice: incomplete
2022-12-19 18:43:46 +01:00
f239ca7ee3
fix: add the "workflow" scope for managing GitHub Actions with gitauth ( #5461 )
...
Seen in Discord: https://discord.com/channels/747933592273027093/1054155742871031858/1054155742871031858
2022-12-19 15:17:17 +02:00
79c71d2d2c
chore: Upgrade to sqlc version 2 yaml configuration ( #5442 )
...
* chore: Upgrade to sqlc version 2 yaml configuration
2022-12-15 20:40:11 +00:00
787b8b2a51
fix: fix app hostname returning port number ( #5441 )
2022-12-16 04:43:00 +10:00
6b6eac2518
feat: remove loadtest cmd, add new scaletest cmd ( #5310 )
2022-12-15 15:04:24 +00:00
d170d27e80
feat: add external
property to coder_app
( #5425 )
...
* Add schema
* feat: add `external` property to `coder_app`
This allows exposing applications that open an external URL.
2022-12-14 15:54:18 -06:00
8bc247d0c9
fix: use proper validate url for gitauth ( #5426 )
...
This was preventing custom validation URLs from being
used to verify git tokens.
2022-12-14 21:02:35 +00:00
84995b7320
fix: preserve workspace resource metadata order ( #5421 )
...
Fixes #4511 .
2022-12-14 19:08:22 +00:00
c0b251ac52
fix: improve error messages when the agent token is invalid ( #5423 )
...
I'm not sure why this issue is common, but it seems to be
based on: https://github.com/coder/coder/issues/4551 .
This improves the error messages to be unique,
and also fixes a small edge-case bug a user ran into.
2022-12-14 12:24:22 -06:00
27386d49d0
fix: No org admins until organizations are in the UI ( #5414 )
...
* fix: No org admins until organizations are in the UI
Until organizations have management UI, we should not set any org
admins. This goes around the site wide perms transparently and
is confusing to users.
Default user is no longer an org admin, so the demotion test makes
no sense
2022-12-14 11:05:42 -06:00
ad0dd1be5d
fix: Add client certs to OAuth HTTPClient context ( #5126 )
2022-12-14 16:44:29 +02:00
4fc4c01cea
fix: Enable reconnectingpty loadtest and fix/improve logging ( #5403 )
...
* fix: Enable reconnectingpty loadtest and fix/improve logging
This commit re-enabled reconnectingpty loadtests after a logging
refactor of `(*agent).handleReconnectingPTY`. The reasons the tests were
flaking was that `logger.Error` was being called and `slogtest` failing
the test.
We could have set the option for `slogtest` to disable failing, but that
could hide real issues. The current approach improves reconnectingpty
logging overall and provides more insight into what's happening. It's
expected that reconnectingpty sessions fail after the agent is closed,
so calling `logger.Error` at that point is not wanted.
Ref: #5322
2022-12-13 21:28:07 +02:00
560c8ce0f6
fix: allow example files to be reused and not error ( #5402 )
2022-12-13 16:27:37 +00:00
1c42a20865
chore: add debugging to agent stats report ( #5395 )
2022-12-13 01:03:03 -06:00
40a5c0476f
feat: add flag for token lifetime ( #5385 )
2022-12-12 15:39:31 -05:00
ca0374b94f
feat: add examples to api ( #5331 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2022-12-09 14:29:50 -05:00
c6ae151f49
feat: amending audit string to show workspace owner ( #5364 )
...
* resolves #5269
* clean up
* fixed audit link
2022-12-09 12:19:30 -05:00
ce76d9d5a3
feat: Add diff and Dockerfile support for template version page ( #5339 )
2022-12-08 10:24:15 -05:00
687261c827
fix: Close coordinator in wsconncache test ( #5348 )
...
Possibly related to #5302
2022-12-08 11:44:03 +00:00
c063ac24a3
fix: use doWithRetries when making HTTP calls ( #5344 )
2022-12-08 10:24:50 +01:00
534bff2ff5
fix: coderd/prometheusmetrics wait for all metrics in require.Eventually ( #5338 )
2022-12-07 17:50:17 +01:00
3cea5f96f0
fix: wait for creating template versions ( #5335 )
2022-12-07 14:19:18 +01:00
161465db55
fix: do not canonicalize Sec-WebSocket-* headers in apps ( #5334 )
...
* fix: do not canonicalize Sec-WebSocket-* headers in apps
* chore: test for non-canonical header name subst
2022-12-07 22:55:02 +10:00
1cfe5de1c5
Add Service Banners ( #5272 )
2022-12-06 18:38:38 +00:00
df389d429c
Add build number to workspace_build audit logs ( #5267 )
...
* got links working
* added translations
* fixed translation
* added translation for unavailable ip
* added support for group, template, user links
* cleaned up string
* added deleted label
* querying for workspace id
* remove prints
* fix/write tests
* added build number
* checking for existence of additional fields
* adjust documentation
* PR feedback
2022-12-06 13:33:21 -05:00
c77c1b4bc2
fix: Retry if there is no git auth user yet ( #5316 )
...
Fixes part of #4900 .
2022-12-06 16:06:41 +01:00
e17fd0bb25
feat: Add GET previous template version endpoint ( #5230 )
2022-12-06 14:15:03 +00:00
825480ae9b
chore: bump crate-ci/typos from 1.12.12 to 1.13.3 ( #5304 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Geoffrey Huntley <ghuntley@ghuntley.com >
2022-12-06 11:50:33 +00:00
ee74df3d07
Fix scope of dbTTL ( #5197 )
2022-12-05 17:19:30 -05:00
061635c36d
feat: Allow multiple OIDC domains ( #5210 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2022-12-05 20:20:53 +02:00
a02617b66b
fix: remove unnecessary WHERE
s from AcquireProvisionerJob
( #5257 )
2022-12-02 23:53:49 +00:00
137a48c215
fix: workspaceapps: overloaded test server responds with 502s ( #5255 )
2022-12-02 23:16:07 +01:00
65407462d1
Add audit links/kira pilot ( #5156 )
...
* got links working
* added translations
* fixed translation
* added translation for unavailable ip
* added support for group, template, user links
* cleaned up string
* added deleted label
* querying for workspace id
* remove prints
* fix/write tests
* PR feedback pt 1
* PR feedback part 2
2022-12-02 15:14:45 -05:00
8469dbc045
fix: add index to provisioner_jobs.started_at
( #5245 )
2022-12-01 19:29:15 -06:00