Bruno Quaresma
bc47d7ce69
feat: Add extra fields to the audit filter ( #4123 )
2022-09-20 13:07:21 -03:00
Kyle Carberry
db0ba8588e
chore: Refactor Enterprise code to layer on top of AGPL ( #4034 )
...
* chore: Refactor Enterprise code to layer on top of AGPL
This is an experiment to invert the import order of the Enterprise
code to layer on top of AGPL.
* Fix Garrett's comments
* Add pointer.Handle to atomically obtain references
This uses a context to ensure the same value persists through
multiple executions to `Load()`.
* Remove entitlements API from AGPL coderd
* Remove AGPL Coder entitlements endpoint test
* Fix warnings output
* Add command-line flag to toggle audit logging
* Fix hasLicense being set
* Remove features interface
* Fix audit logging default
* Add bash as a dependency
* Add comment
* Add tests for resync and pubsub, and add back previous exp backoff retry
* Separate authz code again
* Add pointer loading example from comment
* Fix duplicate test, remove pointer.Handle
* Fix expired license
* Add entitlements struct
* Fix context passing
2022-09-19 23:11:01 -05:00
Bruno Quaresma
1186e643ec
feat: Add audit logs filtering to the UI ( #4120 )
2022-09-19 21:28:23 -03:00
Bruno Quaresma
adad347902
refactor: Refactor audit logs count to support filtering ( #4113 )
2022-09-19 17:08:25 +00:00
Bruno Quaresma
3e4b67893e
fix: Workspace default filter on search bar ( #4111 )
2022-09-19 13:27:41 -03:00
Bruno Quaresma
bf8d823ae3
feat: Add audit log filters in the API ( #4078 )
2022-09-19 10:37:33 -03:00
Geoffrey Huntley
f314f30ebc
housekeeping(gitignore): update gitignore/eslintignore/prettierignore ( #4108 )
2022-09-19 17:16:19 +10:00
Denbeigh Stevens
36a599ea9a
docs: fix ephemeral resources link ( #4101 )
...
[This link](https://coder.com/docs/coder-oss/latest/templates#persistent-and-ephemeral-resources )
directs to the top of the Templates page, we should use
[this link](https://coder.com/docs/coder-oss/latest/templates#persistent-vs-ephemeral-resources ) instead.
2022-09-19 02:23:17 +00:00
Garrett Delfosse
63fd4945a2
chore: watch workspace endpoint ( #4060 )
2022-09-16 18:54:23 +00:00
Joe Previte
1bca269b90
refactor: add type safety in utils.test.ts ( #4091 )
...
This makes a few changes to the typings in
site/src/components/GlobalSnackbar/utils.test.ts to more accurately
represent the types we're using. It allows us to remove from type
assertion and one eslin-disable comment..
2022-09-16 10:11:37 -07:00
Joe Previte
b8bd3208ca
chore: update cSpell and fix isNotificationTextPrefixed ( #4076 )
...
* chore: update cSpell words
* chore: add ignorePaths for cSpell
* fix: update isNotificationTextPrefixed
This removes an eslint-disable rule and adds two new tests to ensure
isNotificationTextPrefixed is working as expected.
* fix(e2e): remove filter in workspacesPage
2022-09-15 16:59:22 -03:00
Bruno Quaresma
9e9a9e0cd2
fix: Setup redirect ( #4064 )
2022-09-15 13:26:24 +00:00
Bruno Quaresma
40c0fc285c
refactor: Remove users redirect to active filter ( #4056 )
2022-09-15 10:05:33 -03:00
Bruno Quaresma
b78ab9e028
Fix form tab ( #4066 )
2022-09-15 09:59:13 -03:00
Bruno Quaresma
62d97b18f4
refactor: Typography, action hover and table head colors ( #4046 )
...
* Adjust primary text color
* refactor: Typography and table head colors
2022-09-14 15:09:06 -03:00
Bruno Quaresma
b20ecfdf37
refactor: Minor improvements and fixes for the page headers ( #4045 )
2022-09-14 11:04:01 -03:00
Presley Pizzo
b6712ffbee
chore: add wrapper components for conditional rendering ( #4047 )
...
* Add conditional wrappers
* Use wrappers in TemplatesPageView
2022-09-14 09:55:00 -04:00
Kyle Carberry
4f0417c6ad
Revert "feat: Add portforward to the UI ( #3812 )" ( #4048 )
...
This reverts commit 0552c36e29 .
2022-09-13 17:18:27 -05:00
Bruno Quaresma and Presley Pizzo
0552c36e29
feat: Add portforward to the UI ( #3812 )
...
* feat: Add portforward to the UI
* Update site/src/components/PortForwardButton/PortForwardButton.tsx
Co-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com >
* Add CODER_ENABLE_WILDCARD_APPS env var
* Fix portforward link
* Remove t file
Co-authored-by: Presley Pizzo <1290996+presleyp@users.noreply.github.com >
2022-09-13 17:41:40 -03:00
Steven Masley and Presley Pizzo
9b5ee8f267
feat: Implement (but not enforce) CSRF for FE requests ( #3786 )
...
Future work is to enforce CSRF
Co-authored-by: Presley Pizzo <presley@coder.com >
2022-09-13 15:26:46 -04:00
Steven Masley and Dean Sheather
9ab437d6e2
feat: Add serving applications on subdomains and port-based proxying ( #3753 )
...
Co-authored-by: Dean Sheather <dean@deansheather.com >
2022-09-14 03:31:33 +10:00
Presley Pizzo
99a7a8dd22
chore: Turn predictable action arguments on ( #3964 )
...
* Turn predictable action arguments on
* Remove layout strings
2022-09-13 12:54:04 -04:00
Bruno Quaresma
214e59452f
feat: Show custom resource icons in the UI ( #4020 )
2022-09-13 11:32:59 -03:00
Presley Pizzo
83c35bb916
feat: display specific errors if templates page fails ( #4023 )
...
* Surface templates page errors
* Format
* Separate error messages
* Fix story
* Format
* Format
* Fix imports
* Remove unnecessary check
* Format
2022-09-13 10:26:58 -04:00
Kyle Carberry
850a83097c
feat: Allow deleting users ( #4028 )
...
* Add deleted column to the users table
* Fix user indexes
* Add frontend
* Add test
2022-09-12 23:24:20 +00:00
Bruno Quaresma
846dd999b7
refactor: Remove cli example from the Audit page ( #4031 )
2022-09-12 17:17:59 -03:00
Kyle Carberry
2b8223bdd5
fix: Use command property when launching an application ( #3998 )
...
Fixes #3777 .
2022-09-12 16:46:13 +00:00
Kyle Carberry
66ad86a755
fix: Update workspace wasn't using the latest build ( #4001 )
...
This was an oversight in a prior contribution. It broke the update
button, but fixed the other cases.
2022-09-12 08:22:29 -03:00
Bruno Quaresma and Joe Previte
43f368dfc4
docs: Add audit logs docs ( #3975 )
...
* docs: Add audit logs docs
* Apply suggestions from code review
Co-authored-by: Joe Previte <jjprevite@gmail.com >
* Add contact link
Co-authored-by: Joe Previte <jjprevite@gmail.com >
2022-09-12 01:04:56 +00:00
Presley Pizzo
20d950d1b3
feat: Update template page automatically ( #3962 )
...
* Update template page automatically
* Remove misleading test
2022-09-09 16:27:21 -04:00
Bruno Quaresma
ce211fd8f5
fix: Do not update workspace on start ( #3984 )
2022-09-09 12:56:41 -07:00
Bruno Quaresma
8a94b72c7d
feat: Allow hide resources ( #3977 )
2022-09-09 16:38:00 -03:00
Ammar Bandukwala
f6aa025a01
feat: use active users instead of total users in Template views ( #3900 )
2022-09-09 19:30:31 +00:00
Bruno Quaresma
346583f13e
fix: Audit log human parse message and nullable diffs ( #3978 )
...
* fix: Audit log human parse message and nullable diffs
* Fix diff values
2022-09-09 13:53:38 -03:00
Kyle Carberry
2c41343ce5
fix: Show audit log in production if allowed ( #3960 )
2022-09-08 14:58:53 +00:00
Colin Adler
7dc73ed6c6
feat: add description to audit log responses ( #3949 )
2022-09-08 09:36:34 -05:00
Presley Pizzo
2a085d1936
chore: refactor dialogs ( #3935 )
...
* Move dialogs
* Repurpose WorkspaceDeleteDialog
* Rename to DeleteDialog
Pausing on the typing part for now, leaving this as a refactor
* Rename handlers
2022-09-07 17:04:42 -04:00
dependabot[bot]
47ee44e5ca
chore: bump msw from 0.45.0 to 0.47.0 in /site ( #3917 )
...
Bumps [msw](https://github.com/mswjs/msw ) from 0.45.0 to 0.47.0.
- [Release notes](https://github.com/mswjs/msw/releases )
- [Changelog](https://github.com/mswjs/msw/blob/main/CHANGELOG.md )
- [Commits](https://github.com/mswjs/msw/compare/v0.45.0...v0.47.0 )
---
updated-dependencies:
- dependency-name: msw
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>
2022-09-07 20:58:30 +00:00
dependabot[bot]
9a07d5de6e
chore: bump eslint-plugin-jest from 26.7.0 to 27.0.1 in /site ( #3828 )
...
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest ) from 26.7.0 to 27.0.1.
- [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases )
- [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v26.7.0...v27.0.1 )
---
updated-dependencies:
- dependency-name: eslint-plugin-jest
dependency-type: direct:development
update-type: version-update:semver-major
...
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-09-07 13:51:12 -07:00
Bruno Quaresma
a00fdd699f
feat: Add Audit page in the UI ( #3782 )
2022-09-07 17:26:12 -03:00
Kyle Carberry
720c9dadcf
fix: Remove name from workspace builds ( #3937 )
...
Fixes #1561 .
2022-09-07 19:49:57 +00:00
dependabot[bot]
87379f413f
chore: bump @typescript-eslint/parser from 5.31.0 to 5.36.2 in /site ( #3912 )
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 5.31.0 to 5.36.2.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.36.2/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
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>
2022-09-07 15:59:18 -03:00
dependabot[bot]
c880263926
chore: bump eslint from 8.21.0 to 8.23.0 in /site ( #3920 )
...
Bumps [eslint](https://github.com/eslint/eslint ) from 8.21.0 to 8.23.0.
- [Release notes](https://github.com/eslint/eslint/releases )
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md )
- [Commits](https://github.com/eslint/eslint/compare/v8.21.0...v8.23.0 )
---
updated-dependencies:
- dependency-name: eslint
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>
2022-09-07 15:58:58 -03:00
Dean Sheather
a79e34c0c7
chore: build releases on a single Linux runner (switch to rcodesign) ( #3890 )
...
* chore: build, sign and notarize darwin binaries on linux
* chore: download rcodesign during release
* chore: change nfpm install to be a download instead of compile
* chore: delete apple cert secrets after build
* fix: fix dependencies in archive.sh and build_go.sh
* chore: reduce output from rcodesign
2022-09-07 18:56:46 +00:00
Dean Sheather
819622182b
chore: parallel makefile attempt 3 ( #3926 )
...
* Revert "chore: Revert parallel Makefile builds (#3918 )"
This reverts commit b077f71015 .
* fix: fix release workflow with parallel makefile
* fix: mark generated files as fresh during releases
2022-09-08 02:40:17 +10:00
Colin Adler
3d6d51fbd0
feat: audit log api ( #3898 )
2022-09-07 16:38:19 +00:00
Presley Pizzo
69f430257c
chore: remove unused sql-formatter ( #3903 )
2022-09-07 11:06:43 -04:00
dependabot[bot]
cd85be52de
chore: bump eslint-import-resolver-typescript in /site ( #3925 )
...
Bumps [eslint-import-resolver-typescript](https://github.com/import-js/eslint-import-resolver-typescript ) from 3.3.0 to 3.5.0.
- [Release notes](https://github.com/import-js/eslint-import-resolver-typescript/releases )
- [Changelog](https://github.com/import-js/eslint-import-resolver-typescript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/import-js/eslint-import-resolver-typescript/compare/v3.3.0...v3.5.0 )
---
updated-dependencies:
- dependency-name: eslint-import-resolver-typescript
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>
2022-09-07 11:06:01 -04:00
dependabot[bot]
73ec618aff
chore: bump @testing-library/react from 13.3.0 to 13.4.0 in /site ( #3905 )
...
Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library ) from 13.3.0 to 13.4.0.
- [Release notes](https://github.com/testing-library/react-testing-library/releases )
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/react-testing-library/compare/v13.3.0...v13.4.0 )
---
updated-dependencies:
- dependency-name: "@testing-library/react"
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>
2022-09-07 10:12:42 -04:00
dependabot[bot]
0f0e3d1068
chore: bump uuid from 8.3.2 to 9.0.0 in /site ( #3914 )
...
Bumps [uuid](https://github.com/uuidjs/uuid ) from 8.3.2 to 9.0.0.
- [Release notes](https://github.com/uuidjs/uuid/releases )
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md )
- [Commits](https://github.com/uuidjs/uuid/compare/v8.3.2...v9.0.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-type: direct:production
update-type: version-update:semver-major
...
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-09-06 21:57:32 -05:00