Kira Pilot
4155b085b7
feat: add preset filter for audit logins ( #6066 )
2023-02-07 09:17:06 -05:00
Kira Pilot and Steven Masley
46fe59f5e7
feat: audit login ( #5925 )
...
* added migration for api key resource
* sort of working
* auditing login
* passing the correct user id
* added and fixed tests
* gen documentation
* formatting and lint
* lint
* audit Github oauth and write tests
* audit oauth and write tests
* added defer fn for login error auditing
* fixed test
* feat: audit logout (#5998 )
* Update coderd/userauth.go
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
* fix test
* bypassing diff generation if login/logout
* lint
---------
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
2023-02-06 15:12:50 -05:00
Kira Pilot
6c90701a73
chore: ignore trend line in storybook ( #6003 )
2023-02-03 09:05:38 -05:00
Kira Pilot
a70e722e7f
fix: hide IP on workspace build logs ( #5997 )
2023-02-02 20:22:36 +00:00
Kira Pilot and Steven Masley
b31b0fd189
fix: audit log broken build links ( #5895 )
...
* pushing for guidance
* added test
* PR feedback
* fixed tests
* Update coderd/audit.go
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
* runnig make gen
---------
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
2023-01-30 18:43:29 +00:00
Kira Pilot
88b5d42967
chore: add more specificity to check_enterprise_imports script ( #5920 )
2023-01-30 12:00:19 -05:00
Kira Pilot
fa5b6125a9
fix: ensure fields show up for group resource in docs ( #5918 )
...
* fix: ensure fields show up for group resource in docs
* ran prettier
2023-01-30 10:54:58 -05:00
Kira Pilot
8a5760a2fe
chore: replace AuditableGroup label in docs ( #5894 )
2023-01-27 13:36:00 -05:00
Kira Pilot
cf93fbd39a
chore: update Audit docs to include Audit Actions ( #5887 )
...
* chore: update Audit docs to include Audit Actions
* regenerated audit docs
* adjusted check_enterprise_imports.sh
* PR feedback
* changing script back for now as CI faiiling
2023-01-27 11:50:21 -05:00
Kira Pilot
e663eaad96
chore: remove flaking e2e test ( #5884 )
2023-01-26 23:10:01 -03:00
Kira Pilot
3d58e6912a
chore: removing unaudited resources ( #5885 )
...
* chore: removing unaudited resources
* cleaned up tests
* CI errors
2023-01-26 18:14:09 -05:00
Kira Pilot
e2bea2d20f
chore: autogenerate audit log documentation ( #5862 )
...
* added script for table creation
* added tags to audit-logs.md
* removed log
* removed empty block line
* PR feedback
* modify check_unstaged
* third times the charm maybe
* spelling
* relative path
* excluding from the right script this time
* sorted resources to ensure table order
* running make cmd
* running make again
* ensuring order on subtable
2023-01-26 18:12:12 -05:00
Kira Pilot
322a4d93e1
feat: add audit log filter for autostarted and autostopped workspace builds ( #5830 )
...
* added query
* fixed query
* added example to dropdown
* added documentation
* added test
* fixed formatting
* fixed format
2023-01-24 15:34:29 -05:00
Kira Pilot
1213162163
feat: adding template version id to workspace build diff ( #5841 )
...
* adding template-version-id to build diff
* fix tests
2023-01-24 10:53:04 -05:00
Kira Pilot
443e2180fa
feat: indicate when workspace builds are stopped/started by Coder ( #5813 )
...
* feat: indicate when workspace_builds are stopped/started by Coder
* added translattion
* added json tags and adjust type
2023-01-23 15:47:58 -05:00
Kira Pilot
882832cc51
chore: removed FE code owners ( #5826 )
2023-01-23 20:29:18 +00:00
Kira Pilot
0e58772f5b
fix: filter workspace_build resource on start/stop action ( #5809 )
...
* fix: ufilter workspace_build resource on start/stop action
* added preset filter for workspace_build filtering
* cleaning up the preset filters
2023-01-20 13:23:13 -05:00
Kira Pilot
a0a959c7a5
feat: better display secret audit values ( #5801 )
2023-01-19 17:47:53 -05:00
Kira Pilot and Steven Masley
6b68fbbf18
feat: Auditing group members as part of group resource ( #5730 )
...
* added AuditableGroup type
* added json tags
* Anonymizing gGroup struct
* adding support on the FE for nested group diffs
* added type for GroupMember
* Update coderd/database/modelmethods.go
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
* Update coderd/database/modelmethods.go
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
* fetching group members in group.delete
* passing through right error
* broke out into util function and added tests
Co-authored-by: Steven Masley <Emyrk@users.noreply.github.com >
2023-01-18 15:13:39 -05:00
Kira Pilot and Steven Masley
f0eddbaab4
chore: Support anonymously embedded fields for audit diffs ( #5746 )
...
- Anonymously embedded structs are expanded as top level fields.
- Unit tests for anonymously embedded structs
Co-authored-by: Steven Masley <stevenmasley@coder.com >
2023-01-17 12:13:16 -06:00
Kira Pilot
575bfabfcb
fix: audit log workspace build URL should form with the correct workspace owner ( #5674 )
...
* removing workspaceOwner
* querying for workspace build
2023-01-12 09:51:30 -05:00
Kira Pilot
0171ccbf62
chore: forbid direct react import ( #5658 )
2023-01-10 13:30:48 -05:00
Kira Pilot
f96365a181
chore: remove redundant icon stories ( #5656 )
2023-01-10 11:53:51 -05: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
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
Kira Pilot
85945af55e
fixed bug; wrote tests ( #5329 )
2022-12-06 16:58:32 -05: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
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
Kira Pilot and Colin Adler
6786ca2854
Audit build outcomes/kira pilot ( #5143 )
...
* auditing failed builds
* logging workspace build successes
* remove duplicate workspace build entry
* fixed workspacebuilds_test
* PR feedback
* lint and migrations
* fix nil auditors
* workspace_build test
* fixed workspaces_teest
Co-authored-by: Colin Adler <colin1adler@gmail.com >
2022-11-22 13:22:56 -05:00
Kira Pilot
3fb7892c07
fix: template permissions page never loads ( #5014 )
...
* removed redundant permissions loader
* fixed tests
2022-11-14 12:33:17 -05:00
Kira Pilot
1c9677d37a
Template delete button/kira pilot ( #4992 )
...
* removed button
* ripped out delete dialog
* fixed tests
* added error message back
* redirecting after success
2022-11-10 10:41:36 -05:00
Kira Pilot and Dean Sheather
a73dd4f45d
Audit date filter/kira pilot ( #4845 )
...
* sql query
* added time_to
* added validation error
* documentation
* attempt to add test
* removed whiitespace
* fix: ensure date_from and date_to are applied correct audit logs
* added more tests
* ran make gen
* PR feedback
Co-authored-by: Dean Sheather <dean@deansheather.com >
2022-11-03 11:04:36 -04:00
Kira Pilot
8282e46813
chore: add audit log tests ( #4764 )
...
* added test for stopping a workspace build
* formatted sfriendly string; added tests
* logging unmarshal error in auditLogDescription
* prettier
* got rid of extra workspace word
* PR feedback
* fixed mistake; wrote tests in penance
* fix be
2022-10-27 15:57:41 -04:00
Kira Pilot
3c5e292c5a
feat: add workspace build start/stop to audit log ( #4744 )
...
* adding workspace_build resource
* added migration
* fix keyword
* got rid oof diffs for workspace builds
* adding workspace name to string
* renamed migrations
* fixed lint
* pass throough AdditionalFields and fix tests
* no need to pass through each handler
* cleaned up migrations
* generated types; fixed missing cases
* logging error
2022-10-25 15:34:48 -04:00
Kira Pilot
145faf4400
adding workspace_build resource ( #4636 )
...
* adding workspace_build resource
* added migration
* added migration for audit_actions
* fix keyword
* got rid oof diffs for workspace builds
* adding workspace name to string
* renamed migrations
* fixed lint
* pass throough AdditionalFields and fix tests
* no need to pass through each handler
* cleaned up migrations
2022-10-25 09:27:50 -04:00
Kira Pilot
afb806f71a
Added the Group resource in audit-logs.md ( #4733 )
2022-10-24 16:26:22 -04:00
Kira Pilot
940201313f
chore: remove org_id from audit diffs ( #4668 )
...
* chore: remove org_id from audit diffs
* PR feedback
* fix tests
2022-10-21 10:34:24 -04:00
Kira Pilot
dd8ebf10db
fix: duplicate workspace update entries ( #4513 )
...
* fix: duplicate workspace update entries
* remove console log
* attempting to fix tests
* keep diffs with 0 changes
* cleaned up test
2022-10-14 14:39:20 -04:00
Kira Pilot
bf0aca35fa
fix: ensure deleting workspace creates audit log ( #4537 )
...
* fix: ensure deleting workspace creates audit log
* getting rid of comments
* remove whitespace
* pushing failing test
* fixed test
2022-10-14 09:47:38 -04:00
Kira Pilot
9c0cc65973
fix: removing unsupported resources from audit log documentation ( #4540 )
2022-10-13 16:59:27 -04:00
Kira Pilot
257df81667
chore: replace old ErrorSummary component ( #4417 )
...
* replaced error summary
* fixed tests
* positioning caret
2022-10-07 13:14:32 -04:00
Kira Pilot
e8e095e2f8
feat: redesign error alert ( #4403 )
...
* added a warning summary component
* added warning to workspace page
* consolidated warnings
* prettier
* updated design
* added color scheme
* updated expander component
* cleanup
* fixed tests
* fixed height issue
* prettier
* use theme constants
* increased icon margin
2022-10-07 10:39:27 -04:00
Kira Pilot
3ad5e11d22
feat: add warning if workspace page becomes stale ( #4375 )
...
* added a warning summary component
* added warning to workspace page
* consolidated warnings
* prettier
* updated design
2022-10-05 18:46:46 -04:00
Kira Pilot
c9bedc5e58
Feat: add showAvatar option to User Autocomplete ( #4269 )
...
* added avatar
* remove commented code
2022-09-30 09:50:36 -04:00
Kira Pilot
776f287685
feat: allow admins to create workspaces for other users in UI ( #4247 )
...
* added permission for creating a workspace on behalf of a user
* committing stashed files
* hooked up autocomplete for users
* added label
* added translations
* wrote test
* added inputMargin prop
* fixed permissions
* added inputSTyle prop
* ran prettier
* fix lint
2022-09-29 14:32:38 -04:00
Kira Pilot
65ff604969
fix: update workspace button should properly update the workspace ( #4228 )
...
* resolves #4098
* PR comments
2022-09-27 19:23:28 -04:00
Kira Pilot
8cd5aeaf25
cleanup workspace machine ( #4160 )
...
* removed dead build states
* removed dead code
* removed guards
* not calling events from actions
* simplified timeline
* simplify refresh template
2022-09-23 13:06:48 -04:00
Kira Pilot
5fd90471fc
Cleanup dead states in workspace machine
...
* removed dead build states
* removed dead code
* removed guards
2022-09-22 13:32:40 -04:00
Kira Pilot
5698b9d706
feat: use sse for workspace page ( #4122 )
...
* added error handling
* workspace machine cleanup
* renaming callback
* general cleanup
* fixed tests
* PR comments
2022-09-21 14:32:00 -04:00
Kira Pilot
cf0d2c9bbc
added react-i18next to FE ( #3682 )
...
* added react-i18next
* fixing typo
* snake case to camel case
* typo
* clearer error in catch block
2022-08-24 17:28:02 -04:00
Kira Pilot
da54874958
fixed users test ( #3676 )
2022-08-24 14:10:41 -04:00
Kira Pilot and Cian Johnston
57c202d112
Template settings fixes/kira pilot ( #3668 )
...
* using hours instead of seconds
* checking out
* added ttl tests
* added description validation and tests
* added some helper text
* fix typing
* Update site/src/pages/TemplateSettingsPage/TemplateSettingsForm.tsx
Co-authored-by: Cian Johnston <cian@coder.com >
* ran prettier
* added ttl of 0 test
* typo
* PR feedback
Co-authored-by: Cian Johnston <cian@coder.com >
2022-08-24 14:07:56 -04:00
Kira Pilot and Joe Previte
4b646cc4fa
fix: hiding agent status on stopped workspaces ( #3512 )
...
* hiding agent status on a stopped workspaace
resolves #3484
* run prettier and lint
* Update site/src/components/Resources/Resources.tsx
Co-authored-by: Joe Previte <jjprevite@gmail.com >
* running prettier
Co-authored-by: Joe Previte <jjprevite@gmail.com >
2022-08-17 14:37:54 -04:00
Kira Pilot
6122df6f1f
feature: gate audit log by permissions ( #3464 )
...
* pairing
* restricting audit route
resolvees #3460
* updated tests
* fixing lint
* useSelector instead of useActor
2022-08-11 09:34:45 -04:00
Kira Pilot
e62677efab
feat: add audit page title, subtitle, and CLI snippet ( #3419 )
...
* resolves #3356
* scaffolded out new audit page header
resolves #3357
* added tests and stories
* run prettier
2022-08-08 21:08:36 -04:00
Kira Pilot
eb7d947d10
resolves #3356 ( #3408 )
2022-08-08 12:23:01 -04:00
Kira Pilot
f49328bee5
chore: fix yaml file config error ( #3306 )
2022-07-29 15:18:22 -04:00
Kira Pilot
aaa2db6f8b
feat: add pagination component to components directory ( #3295 )
...
* proof of concept
* added tests
* fixed tests
* wrote unit tests
* preettier
2022-07-29 14:37:53 -04:00
Kira Pilot
b9936d2310
updated dependabot ( #3297 )
2022-07-29 13:31:49 -04:00
Kira Pilot
ef260faf27
fix: remove flaking test ( #3207 )
2022-07-26 10:35:13 -04:00
Kira Pilot
9bf5537b0f
feat: showcase workspace state in actions dropdown ( #3133 )
...
* show progress indicator within workspace dropdown
resolves #2020
* wrote tests
* fix loading button
* PR feedback
* added stories for dropdown content
* PR feedbac
2022-07-25 18:12:59 -04:00
Kira Pilot
471564df7d
feat: improve update button visibility ( #3115 )
...
* feat: give update button primary focus when applicable
resolves #3024
* added update tooltip
* cleanup
* prettier
* PR feedback
2022-07-22 14:28:52 -04:00
Kira Pilot
882ee55fd0
fix: storybook should use absolute paths ( #3119 )
2022-07-22 11:02:54 -04:00
Kira Pilot and Cian Johnston
0aa8c2efeb
fix: set a failed canceled job status correctly ( #3101 )
...
* set a failed canceled job status correctly
resolves #1374
* added unit test for convertProvisionerJob
* Update coderd/provisionerjobs_internal_test.go
Co-authored-by: Cian Johnston <cian@coder.com >
* PR feedback
Co-authored-by: Cian Johnston <cian@coder.com >
2022-07-21 16:47:06 -04:00
Kira Pilot
0c18a2313f
clarify start validation in schedule ( #3052 )
...
resolves #2792
2022-07-20 11:54:57 -04:00
Kira Pilot
1830a18565
feat: amend schedule form valiidation string ( #3043 )
...
resolves #2792
2022-07-19 12:04:06 -04:00
Kira Pilot
c0d19ebea2
chore: configure absolute paths with webpack ( #3011 )
...
* coonfigure absolute paths with webpack
resolves #1855
* fixed jest config
2022-07-18 10:43:11 -04:00
Kira Pilot
9a5fa3f050
fix: border fixes for workspace schedule button ( #3010 )
...
* border fixes for workspace schedule button
* fixing chromatic snapshots
* chromatic fix
2022-07-15 18:04:33 -04:00
Kira Pilot
eebf0dd736
feat: consolidate workspace buttons/kira pilot ( #2996 )
...
* added workspace cta dropdown
resolves #2748
* added tests
* fixed failing tests
* clean up snapshots
2022-07-14 16:47:10 -04:00
Kira Pilot
50e8a27d04
fix: removing noisy shutdown snapshots ( #2899 )
...
* fix: removing noisy shutdown snapshots
resolves #2685
* removing workspaceSchedule stories
2022-07-11 11:34:58 -04:00
Kira Pilot
ead3516fb5
fixing searchBar style type ( #2785 )
2022-07-01 15:09:44 -04:00
Kira Pilot and Joe Previte
ae59f166fd
chore: cleaning up workspaces table code ( #2765 )
...
* cleaning up workspace table code
* Update site/src/components/WorkspacesTable/WorkspacesTableBody.tsx
Co-authored-by: Joe Previte <jjprevite@gmail.com >
Co-authored-by: Joe Previte <jjprevite@gmail.com >
2022-06-30 16:50:15 -04:00
Kira Pilot
64997705ab
feat: adding active and hover states to search input ( #2741 )
...
* feat: adding active and hover states to search input
* adding error state
* cleaning up error state
* adding input value
2022-06-30 11:57:38 -04:00
Kira Pilot
03fd063d20
chore: adding some quality of life Playwright comments ( #2726 )
2022-06-29 14:25:56 -04:00
Kira Pilot
d9668f7a4e
add debounced search on type to the search bar ( #2703 )
...
* debounced search on type
* loading workspaces on page entry
* fixing e2e test
* removing boilerplate
2022-06-29 13:43:41 -04:00
Kira Pilot
929227d0f8
bug: fix chromatic schedule bug ( #2481 )
2022-06-23 11:25:07 -04:00
Kira Pilot
97d1d2f4f0
added a default app icon ( #2595 )
...
resolves #2268
2022-06-22 17:05:21 -04:00
Kira Pilot
5d2579fcda
fix: adjusting language and icon for feedback link ( #2483 )
...
* fix: adjusting language and icon for feedback link
* adjust classname
2022-06-21 09:56:08 -04:00
Kira Pilot
7dcfea10dc
feat: add feedback link to footer ( #2447 )
...
* add ability to activate users
resolves #2254
* added test
* PR feedback
* guarding against null validation_contains field
* fixing type for ParameterSchema
resolves #2161
* added report link to footer
resolves #1885
* added test
* Footer story
* fix broken test
2022-06-17 13:26:13 -04:00
Kira Pilot
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
Kira Pilot
a6a06d4e9c
feat: ability to activate suspended users ( #2344 )
...
* add ability to activate users
resolves #2254
* added test
* PR feedback
2022-06-15 13:29:38 -04:00
Kira Pilot
d48ab96511
trying to resolve Chromatic CI failures ( #2350 )
2022-06-15 13:04:47 -04:00
Kira Pilot
ec0bb7b330
feat: update language on workspace page ( #2220 )
2022-06-10 16:42:21 -04:00
Kira Pilot
518495a6c5
feat: show deleted workspace after delete action ( #2208 )
...
* added deleted workspace banner
* x state pass
* added include_deleted param
* clean up x state
* added teests
* cleaning up unneeded xstate service
2022-06-09 11:43:49 -04:00
3bc122b7d5
feat: added include_deleted to getWorkspaceByOwnerAndName ( #2164 )
...
* feat: added include_deleted
relates to #1955
* Update coderd/workspaces.go
defining vars in the scope of conditional
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
* Update coderd/workspaces.go
avoid newline
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
* Update coderd/workspaces.go
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
* PR feedback
* wrote test, added type
* Update coderd/workspaces_test.go
shortening test name
Co-authored-by: Cian Johnston <cian@coder.com >
* taking out api.ts change for now
* casing
Co-authored-by: Mathias Fredriksson <mafredri@gmail.com >
Co-authored-by: Cian Johnston <cian@coder.com >
2022-06-08 14:04:05 -04:00
Kira Pilot
419dc6b036
feat: flexbox updates on workspace page ( #1963 )
...
* feat: flexbox work on workspace page
resolves 1910
* fixing cancel text
* chromatic fixes
* resolves #1953
no overflox text on smaller screens
2022-06-02 09:57:36 -04:00
Kira Pilot
555bf2461a
fix: change color of time icon for dark mode ( #1923 )
...
resolves #1791
2022-05-31 12:33:15 -04:00
Kira Pilot
dd55d4577d
chore: remove react imports ( #1867 )
...
reolves #1856
2022-05-31 10:01:37 -04:00
Kira Pilot
6052607936
feat: add user roles to menu ( #1862 )
...
* view user roles in menu
resolves #1524
* fix stories
* PR feedback
2022-05-27 15:27:51 -04:00
Kira Pilot
d4c26d534c
chore: remove admin dropdown ( #1802 )
...
resolves #1748
2022-05-26 16:04:51 -04:00
Kira Pilot
b4c41d3904
chore: add users link to nav bar ( #1797 )
...
* chore: add users link to nav bar
resolves #1746
* fix test names
2022-05-26 15:25:13 -04:00
Kira Pilot
9a70c345c7
fix: update workspace form fields when switching templates ( #1761 )
...
resolves #1716
2022-05-26 08:43:07 -04:00
Kira Pilot
fa957d6d65
fix: omit url params on login ( #1666 )
...
resolves #1282
2022-05-23 11:01:32 -04:00
Kira Pilot
d0fd0d7040
feat: added error boundary ( #1602 )
...
* added error boundary and error ui components
* add body txt and standardize btn size
* added story
* feat: added error boundary
closes #1013
* committing lockfile
* added email body to help link
2022-05-20 10:48:39 -04:00
Kira Pilot
85a932bfaf
bug: fixed menu height diff ( #1546 )
...
resolves #1229
2022-05-18 10:34:56 -04:00
Kira Pilot
65acfc9bef
bug: using NavLink for menus ( #1530 )
...
* bug: using NavLink for menus
resolves #955
* lets fix our story
2022-05-17 15:01:53 -04:00
Kira Pilot
2569787324
chore: add eslint extension recommendation ( #1400 )
...
resolves #1399
2022-05-11 19:01:21 -04:00
Kira Pilot
e8e6d3c2f1
chore: updated documentation link ( #1387 )
...
* chore: updated documentation link
* PR feedback
2022-05-11 17:10:03 -04:00
Kira Pilot
f93804a2a0
chore: renaming index files ( #1397 )
2022-05-11 17:02:28 -04:00