Michel Racic
efee03fdec
fix(site): changing password no longer silently trims space chars in a password ( #5640 )
2023-01-10 11:34:58 -06:00
Presley Pizzo and Ben Potter
56a69b7eea
chore: add e2e tests for basic template and workspace flow ( #5637 )
...
* Fix type error in first user setup
* Save auth state
* Add template creation - wip
Remove saved auth state because it wasn't working
* Try adding the rest of the tests
Can't see if they work yet, waiting on a release
* Update playwright
* Update gitignore
* Write tests
* Format
* Update ignores
* Check that start worked
Co-authored-by: Ben Potter <ben@coder.com >
Co-authored-by: Ben Potter <ben@coder.com >
2023-01-10 12:30:44 -05:00
Kira Pilot
f96365a181
chore: remove redundant icon stories ( #5656 )
2023-01-10 11:53:51 -05:00
Kyle Carberry and Kira Pilot
d2ef727064
feat: add experimental button to open vscode locally ( #5654 )
...
* feat: add experimental button to open vscode locally
This uses the new Coder extension to open up any workspace
with a single click.
* Update site/src/components/VSCodeDesktopButton/VSCodeDesktopButton.stories.tsx
Co-authored-by: Kira Pilot <kira@coder.com >
Co-authored-by: Kira Pilot <kira@coder.com >
2023-01-10 16:07:40 +00:00
Joe Previte
fa7deaaa5c
feat: add storybook for /deployment/security ( #5610 )
...
* refactor: move securitysettings to dir
* refactor: split page view SecuritySettingsPage
* feat: add storybook for security page
* fixup
2023-01-09 20:44:43 +00:00
Bruno Quaresma
f70726b43c
refactor: Extract security logic from auth service ( #5635 )
2023-01-09 13:18:32 -07:00
Bruno Quaresma
fe16b2a06d
refactor: Add spacing in the bottom of a page ( #5633 )
2023-01-09 13:17:48 -07:00
Bruno Quaresma
70d71bc7bc
refactor: Do not display port forward button if it is disabled ( #5604 )
2023-01-09 13:38:31 -03:00
dependabot[bot]
34225b0380
chore: bump luxon from 3.1.1 to 3.2.1 in /site ( #5624 )
...
Bumps [luxon](https://github.com/moment/luxon ) from 3.1.1 to 3.2.1.
- [Release notes](https://github.com/moment/luxon/releases )
- [Changelog](https://github.com/moment/luxon/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moment/luxon/compare/3.1.1...3.2.1 )
---
updated-dependencies:
- dependency-name: luxon
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>
2023-01-09 13:16:42 -03:00
Joe Previte
6807ad0d1b
feat: add storybook for /deployment/userauth ( #5609 )
...
* refactor: move deploysettingspage to dir
* refactor: split page/view UserAuthSettings
* feat: add storybook for user auth
* Update site/src/components/DeploySettingsLayout/OptionsTable.tsx
2023-01-09 16:01:22 +00:00
Joe Previte
763147e5f2
feat: add storybook for /deployment/network ( #5603 )
...
* refactor: move NetworkSettingsPage to dir
* refactor: split page/view NetworkSettings
* feat: add storybook for NetworkSettingsPage
2023-01-06 17:14:01 +00:00
Joe Previte
242676bac3
feat: add storybook for /deployment/gitauth ( #5596 )
...
* refactor: move GitAuthSettingsPage to dir
* refactor: split page and view GitAuthSettingsPage
* fixup!: formatting
* refactor: narrow props in git auth view
* feat: add storybook for GitAuthSettingsPageView
* fixup: formatting
2023-01-06 16:58:20 +00:00
Bruno Quaresma
aa68e0f8c9
fix: Too many requests during watching template version ( #5602 )
2023-01-06 13:31:49 -03:00
Joe Previte and Asher
59e919ab4a
feat: add storybook for /deployments/general ( #5595 )
...
* refactor: split GeneralSettings page <> View
* feat: add story for generalsettingspageview
* Update site/src/pages/DeploySettingsPage/GeneralSettingsPage/GeneralSettingsPageView.tsx
Co-authored-by: Asher <ash@coder.com >
Co-authored-by: Asher <ash@coder.com >
2023-01-05 23:06:16 +00:00
dependabot[bot]
421e529763
chore: bump json5 from 1.0.1 to 1.0.2 in /site ( #5553 )
...
Bumps [json5](https://github.com/json5/json5 ) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v1.0.1...v1.0.2 )
---
updated-dependencies:
- dependency-name: json5
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>
2023-01-05 15:55:56 -07:00
Joe Previte
bb03df8148
feat: add storybook for /deployment/appearance page ( #5582 )
...
* wip
* wip: move appearancesettingspage
* refactor: separate page and view ApperanceSettings
* refactor: create storybook from AppearanceSettingsView
* fixup: formatting and types
2023-01-05 16:16:54 -05:00
Bruno Quaresma
0d30a1eb72
fix: Display service banner after login ( #5594 )
2023-01-05 21:10:15 +00:00
dependabot[bot] and Kira Pilot
8ee3e2c541
chore: bump chartjs-adapter-date-fns from 2.0.0 to 3.0.0 in /site ( #5528 )
...
* chore: bump chartjs-adapter-date-fns from 2.0.0 to 3.0.0 in /site
Bumps [chartjs-adapter-date-fns](https://github.com/chartjs/chartjs-adapter-date-fns ) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/chartjs/chartjs-adapter-date-fns/releases )
- [Commits](https://github.com/chartjs/chartjs-adapter-date-fns/compare/v2.0.0...v3.0.0 )
---
updated-dependencies:
- dependency-name: chartjs-adapter-date-fns
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* added transformer for esm
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kira Pilot <kira.pilot23@gmail.com >
2023-01-05 15:58:04 -05:00
Dean Sheather
5a968e2f93
feat: add flag to disaable all rate limits ( #5570 )
2023-01-05 18:05:20 +00:00
Bruno Quaresma
ab7e676b54
refactor: Refactor user menu ( #5591 )
2023-01-05 14:06:58 -03:00
Ben Potter and Dean Sheather
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
dependabot[bot]
c0dfbdf143
chore: bump emoji-mart from 5.3.3 to 5.4.0 in /site ( #5527 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05 10:00:56 +10:30
Ammar Bandukwala
0b63825a07
site: fix copy in users roles view ( #5583 )
2023-01-04 17:13:04 -06:00
Joe Previte
a231c1a384
fix: styles for <AlertBanner /> ( #5579 )
...
* feat: add new story for LoginPageView
* fix: update <AlertBanner /> styles
- align text to the left
- add padding to the top of span inside
* fixup: formatting
2023-01-04 14:46:41 -07:00
Kyle Carberry
c51b5a05db
fix: add case for non-entitled logo url ( #5580 )
...
This was missing from my prior contribution, which
would lead any user to believe they could customize the logo.
2023-01-04 21:39:54 +00:00
Kyle Carberry
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
Bruno Quaresma
175be621cf
refactor: Improve roles UI ( #5576 )
2023-01-04 18:30:35 -03:00
Jan Losinski and Colin Adler
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
Kyle Carberry
8968a00035
fix: add spacing between the copyright and login box ( #5578 )
...
I forgot to commit this before merging my prior PR!
2023-01-04 16:00:25 -03:00
Kyle Carberry and Asher
a36cd0bd7b
refactor: move footer items into the user dropdown ( #5562 )
...
* refactor: move footer items into the user dropdown
The items at the bottom looked unprofessional. Users don't
always need to be prompted to join our Discord or see the
active version of Coder.
This moves the items in the user dropdown which looks better.
* Update site/src/components/UserDropdownContent/UserDropdownContent.tsx
Co-authored-by: Asher <ash@coder.com >
* Fix import order
Co-authored-by: Asher <ash@coder.com >
2023-01-04 12:36:25 -06:00
Dean Sheather
91a4c2dce1
chore: remove address from deployment page ( #5565 )
2023-01-04 23:50:55 +10:00
Bruno Quaresma
4e14cc5207
refactor: Remove template UI from experimental ( #5555 )
2023-01-03 19:29:38 +00:00
Bruno Quaresma
829cfee29d
refactor: Improve users table view for non admins ( #5547 )
2023-01-03 13:21:58 -03:00
dependabot[bot]
5e36fd522c
chore: bump cronstrue from 2.14.0 to 2.21.0 in /site ( #5545 )
...
Bumps [cronstrue](https://github.com/bradymholt/cronstrue ) from 2.14.0 to 2.21.0.
- [Release notes](https://github.com/bradymholt/cronstrue/releases )
- [Changelog](https://github.com/bradymholt/cRonstrue/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bradymholt/cronstrue/compare/v2.14.0...v2.21.0 )
---
updated-dependencies:
- dependency-name: cronstrue
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>
2023-01-03 13:21:42 -03:00
dependabot[bot]
3969a8b58b
chore: bump prettier from 2.7.1 to 2.8.1 in /site ( #5526 )
...
Bumps [prettier](https://github.com/prettier/prettier ) from 2.7.1 to 2.8.1.
- [Release notes](https://github.com/prettier/prettier/releases )
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prettier/prettier/compare/2.7.1...2.8.1 )
---
updated-dependencies:
- dependency-name: prettier
dependency-type: direct:development
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>
2023-01-03 10:00:14 -05:00
Mathias Fredriksson
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
dependabot[bot]
86c1753e2b
chore: bump react-i18next from 12.0.0 to 12.1.1 in /site ( #5525 )
...
Bumps [react-i18next](https://github.com/i18next/react-i18next ) from 12.0.0 to 12.1.1.
- [Release notes](https://github.com/i18next/react-i18next/releases )
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md )
- [Commits](https://github.com/i18next/react-i18next/compare/v12.0.0...v12.1.1 )
---
updated-dependencies:
- dependency-name: react-i18next
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>
2023-01-02 10:35:39 -03:00
Presley Pizzo
c8f34bbad7
Test enabling deadline change buttons ( #5508 )
2022-12-22 13:47:07 -05:00
Presley Pizzo
418022943a
fix: use template default ttl when enabling auto-stop ( #5494 )
...
* Fetch default ttl - wip
* Convert ms to hours
* Format
* Fix story
* Add test
2022-12-22 12:52:27 -05:00
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