Bruno Quaresma
c505e8b207
feat: Add create template from the UI ( #5427 )
2022-12-21 18:07:00 -03:00
Dean Sheather
43b61ce33c
chore: support underscores in agent bin filenames ( #5496 )
2022-12-21 21:06:38 +00:00
Presley Pizzo
0eb25306ad
fix: stop time incrementer on workspace page ( #5406 )
...
* Check template default ttl while setting max
* Lint
* Remove template default from max ttl consideration
* Finish removing template
* Fix disabling buttons
* Simplify, wip
* Handle NaN
* Format
* Add aria labels
* Explain NaN handling
* Use more realistic storybook args
2022-12-21 10:44:18 -05:00
Presley Pizzo and Kira Pilot
8d9528545a
feat: offer to restart workspace when ttl is changed ( #5391 )
...
* Update xstate machine
* Fix autoStopChanged
* Add dialog
* Restart workspace
* Clearing location doesn't work and doesn't seem necessary
* Fix test
* Fix second test
* Format
* Lint
* Use i18n
* Switch to fire and forget restart
* Improve error handling
* Format
* Format
* Update site/src/pages/WorkspaceSchedulePage/WorkspaceSchedulePage.test.tsx
Co-authored-by: Kira Pilot <kira@coder.com >
* Fix name of guard
* Make done state final
* Format
Co-authored-by: Kira Pilot <kira@coder.com >
2022-12-21 10:11:54 -05:00
Dean Sheather and Bruno Quaresma
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
Dean Sheather
1bc4eb5329
fix: fix security vulnerabilities reported by CodeQL ( #5467 )
2022-12-19 19:25:59 +00:00
Marcin Tojek
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
Kyle Carberry
d1f8fec1d3
fix: use static base date for timeline tests ( #5460 )
...
It was returning "yesterday" since today is Sunday ;p
2022-12-18 15:27:09 -06:00
Dean Sheather
31d38d4246
feat: allow http and https listening simultaneously ( #5365 )
2022-12-15 20:09:19 +00:00
Kyle Carberry
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
Kyle Carberry
84995b7320
fix: preserve workspace resource metadata order ( #5421 )
...
Fixes #4511 .
2022-12-14 19:08:22 +00:00
Mathias Fredriksson
2a4ef38a4f
fix(site): Use correct UUID for web terminal when first opened ( #5404 )
2022-12-14 15:03:47 +02:00
Kira Pilot
a071bfa8aa
fix: Store dismissedBanner key in localStorage ( #5388 )
...
* fix: Store dismissedBanner key in localStorage
* cleanup
* removed comment
* spelling
* fixed eslint
* wote test
2022-12-12 16:17:29 -05:00
Garrett Delfosse
40a5c0476f
feat: add flag for token lifetime ( #5385 )
2022-12-12 15:39:31 -05:00
Bruno Quaresma
e7fc21e285
chore: Add react-syntax-highlight back ( #5369 )
2022-12-12 15:46:33 -03:00
Mathias Fredriksson
1907f13c5f
fix(site): Use relative date in Timeline test ( #5377 )
2022-12-12 13:15:28 +02:00
Garrett Delfosse and Dean Sheather
ca0374b94f
feat: add examples to api ( #5331 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2022-12-09 14:29:50 -05:00
Bruno Quaresma
6cc864c048
chore: Add icons to templates ( #5368 )
2022-12-09 18:47:09 +00:00
Kira Pilot
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
Marcin Tojek
cd04330ca6
fix: replace fireEvent with userEvent ( #5361 )
...
* fix: replace fireEvent with userEvent
* fmt
2022-12-09 13:11:36 +01:00
Bruno Quaresma
92c5e97f85
fix: Fix CSP style directive for Monaco editor ( #5360 )
2022-12-08 16:53:50 -03:00
Bruno Quaresma
3c9dab34bf
fix: Fix CSP for monaco editor ( #5358 )
2022-12-08 18:32:41 +00:00
Bruno Quaresma
ce76d9d5a3
feat: Add diff and Dockerfile support for template version page ( #5339 )
2022-12-08 10:24:15 -05:00
dependabot[bot]
7eb3ab0498
chore: bump decode-uri-component from 0.2.0 to 0.2.2 in /site ( #5251 )
...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component ) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases )
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2 )
---
updated-dependencies:
- dependency-name: decode-uri-component
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-08 09:52:30 -05:00
dependabot[bot]
1ac1af7db8
chore: bump emoji-mart from 5.2.1 to 5.3.3 in /site ( #5226 )
...
Bumps [emoji-mart](https://github.com/missive/emoji-mart/tree/HEAD/packages/emoji-mart ) from 5.2.1 to 5.3.3.
- [Release notes](https://github.com/missive/emoji-mart/releases )
- [Commits](https://github.com/missive/emoji-mart/commits/v5.3.3/packages/emoji-mart )
---
updated-dependencies:
- dependency-name: emoji-mart
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-08 02:55:38 +10:00
Presley Pizzo
8ea09235f9
fix: UX issues in template settings form's default auto-stop field ( #5330 )
...
* Fix helper text
- handles 0 ttl
- uses helper text typography
- pluralizes
- still doesn't override error (once considered touched)
* Show user friendly field name in error text
* Format
* Override label through Yup instead
* Switch to i18n - wip
* Fix i18n by thunking schema
* Fix template settings tests
* Replace third arg to getFieldHelpers -is used after all
2022-12-07 11:32:39 -05:00
Ammar Bandukwala
ee605b34b6
fix: Don't show progress bar for new templates ( #5298 )
2022-12-07 16:22:20 +00:00
Kira Pilot
85945af55e
fixed bug; wrote tests ( #5329 )
2022-12-06 16:58:32 -05:00
Ammar Bandukwala
1cfe5de1c5
Add Service Banners ( #5272 )
2022-12-06 18:38:38 +00:00
Kira Pilot
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
dependabot[bot]
03328d4f6d
chore: bump eslint from 8.24.0 to 8.29.0 in /site ( #5306 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 12:14:31 +00:00
dependabot[bot]
4a0ca4818f
chore: bump @typescript-eslint/parser from 5.38.1 to 5.45.1 in /site ( #5305 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-06 12:01:01 +00:00
Daniel Carrion and Mathias Fredriksson
061635c36d
feat: Allow multiple OIDC domains ( #5210 )
...
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2022-12-05 20:20:53 +02:00
Bruno Quaresma
02bb052d09
Fix template Avatar ( #5294 )
2022-12-05 10:50:50 -07:00
Bruno Quaresma
02dcd0e20d
fix: Fix resource avatar when icon is empty string ( #5291 )
2022-12-05 14:37:14 -03:00
Bruno Quaresma
9cfdbec2ef
refactor: Remove login banner ( #5239 )
2022-12-05 11:24:53 -03:00
Kira Pilot
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
Colin Adler
ab3b3d5fca
feat: add debouncing to provisionerd rpc calls ( #5198 )
2022-12-01 16:54:53 -06:00
dependabot[bot]
f77a445bfe
chore: bump cron-parser from 4.6.0 to 4.7.0 in /site ( #5221 )
...
Bumps [cron-parser](https://github.com/harrisiirak/cron-parser ) from 4.6.0 to 4.7.0.
- [Release notes](https://github.com/harrisiirak/cron-parser/releases )
- [Commits](https://github.com/harrisiirak/cron-parser/compare/4.6.0...4.7.0 )
---
updated-dependencies:
- dependency-name: cron-parser
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-01 18:34:56 +00:00
Mathias Fredriksson and Kira Pilot
d9f2aaf3b4
feat: Add support for update checks and notifications ( #4810 )
...
Co-authored-by: Kira Pilot <kira@coder.com >
2022-12-01 19:43:28 +02:00
Bruno Quaresma
be79ae7d48
refactor: Add coder tip pill on sign in page ( #5196 )
2022-11-30 13:38:12 -03:00
Bruno Quaresma
41f10e7b69
refactor: Show template version in the workspace page ( #5194 )
2022-11-30 09:13:07 -05:00
Presley Pizzo
2e3db274f1
fix: send auto start/stop api calls only when changed ( #5184 )
...
* Send auto start/stop api calls only when changed
* Format
* Extract and test util function
2022-11-29 15:12:36 -05:00
Kyle Carberry
8b73844f69
feat: Validate Git tokens before consuming them ( #5167 )
...
* feat: Validate Git tokens before consuming them
This works the exact same way that the Git credential manager does. It ensures the user token is valid before returning it to the client.
It's been manually tested on GitHub, GitLab, and BitBucket.
* Fix requested changes
2022-11-29 12:08:27 -06:00
Bruno Quaresma
d402914eb7
refactor: Return template version name in the workspace build API ( #5178 )
2022-11-28 19:53:56 +00:00
Presley Pizzo
d5ab4fdeb8
fix: auto-stop bumper works and refreshes ( #5162 )
...
* Publish updates to workspace deadline
* Fix sync between machines
2022-11-28 10:59:43 -05:00
Cian Johnston and Mathias Fredriksson
a4a319a76e
feat: add CODER_OIDC_IGNORE_EMAIL_VERIFIED config knob ( #5165 )
...
* Adds a configuration knob CODER_OIDC_IGNORE_EMAIL_VERIFIED that allows
ignoring the email_verified OIDC claim
* Adds warning message at startup if CODER_OIDC_IGNORE_EMAIL_VERIFIED=true
* Adds warning whenever an unverified OIDC email is let through
* Skips flaky test on non-linux platforms
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
2022-11-25 10:10:09 +00:00
Bruno Quaresma
511bb469c4
feat: Change workspace version using the UI ( #5158 )
2022-11-24 13:36:50 +00:00
Bruno Quaresma
59355431d0
refactor: Refactor login page ( #5148 )
2022-11-23 14:53:42 +00:00
Presley Pizzo
71bc48dda4
feat: tweak timeline design ( #5144 )
...
* Tweak timeline design
* Extract timeline style into component
2022-11-22 17:30:43 -05:00