Martavis Parker
42272f358f
#1108 send users to manage queries if error ( #1154 )
...
* #1108 send users to manage queries if error
* #1108 fixed tests and lint
* #1108 fixed more tests
* #1108 new clause to show different error message
* #1108 fixed logic
2021-06-22 16:44:40 -07:00
RachelElysia
122895bd08
Host Details Page: Users table ( #1152 )
...
Feature renders a Users table based on API host.users
2021-06-22 12:26:57 -07:00
gillespi314
97efed7f9a
Handle empty states for name and author fields ( #1155 )
2021-06-22 14:14:18 -05:00
Martavis Parker
3af64748ab
Pressing Enter on setup's Confirmation page ( #1141 )
...
* #917 fixed enter key for last page; TS overhaul
* #917 clean up
* Update frontend/components/forms/FormField/FormField.tsx
Co-authored-by: Zach Wasserman <zach@fleetdm.com>
* #917 fixed tests and linted
Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2021-06-18 13:33:45 -07:00
RachelElysia
8ee66f3309
Input field and form field error state ( #1132 )
...
Fix other small consistencies: password spacing, dropdown error, error messages, pack form order
2021-06-18 14:56:11 -04:00
RachelElysia
3ed6573ff3
Update flash message styling ( #1140 )
2021-06-18 14:54:50 -04:00
noahtalerman
e984e6fc14
Render correct "Edit user" modal on the Team details - members page ( #1136 )
...
- Determine the current user's correct tier and render the correct "Edit user" modal
2021-06-18 12:49:17 -04:00
Zach Wasserman
19e8da177f
Allow Packs to be targeted to Teams ( #1130 )
...
- Add additional target type for packs.
- Refactor pack target datastore.
- Fixes for frontend target selector tier logic on packs page.
2021-06-18 09:43:16 -07:00
noahtalerman
0255638f0b
Add persistence to saved columns in "Hosts" table after user logs out ( #1131 )
...
- Add `removeItem` method so that we only remove the `auth_token`, and not the saved columns, from `localStorage` when the user logs out
2021-06-18 10:32:51 -04:00
RachelElysia
7859784d97
AuthenticatedRoutes conditionally reroutes api_only user ( #1123 )
...
* Renders CTA Back to login page if user.api_only
* Edge cases: Redirects to log in for !user and redirect to home for !user.api_only
2021-06-18 10:08:50 -04:00
Martavis Parker
9da1660959
Modal for user password reset ( #1121 )
...
* #431 added modal for user password reset
* Update frontend/pages/admin/UserManagementPage/components/ResetPasswordModal/_styles.scss
Co-authored-by: noahtalerman <47070608+noahtalerman@users.noreply.github.com>
Co-authored-by: noahtalerman <47070608+noahtalerman@users.noreply.github.com>
2021-06-17 13:48:46 -07:00
Martavis Parker
5b2cac31d9
Agent options added to organization settings ( #1120 )
...
* #511 refactored update options - new params & ts
* updated server to include agent_options for read and update
* added agent options form to org settings
* #511 finished connecting agent form to server
* #511 fixing api to save/read agent options
* #511 linted
* #511 fixed reading & updating agent options
* #511 api fixes to support agent options
* #511 removed log
* Fix json.RawMessage pointers in tests
Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2021-06-17 13:47:15 -07:00
RachelElysia
1736c59306
Host Details Page: Remove enroll secret ( #1124 )
...
* Remove enroll secret
2021-06-17 16:28:59 -04:00
RachelElysia
9360ed3f64
403 Page for API Only User ( #1102 )
...
* Typescript files
2021-06-17 11:11:28 -04:00
Zach Wasserman
774bc4ef93
Fix loading of enroll secrets for Teams ( #1113 )
...
Trigger logic based on presence of Basic tier, rather than absence of
Core tier.
Fixes #1100
2021-06-16 11:57:47 -07:00
Zach Wasserman
d78c5fd124
Clean up service and return license errors ( #1097 )
...
- Expose license errors instead of permission errors by adding explicit skip authorization.
- Remove pre-Teams authorization checks from service.
Fixes #964
2021-06-16 10:55:41 -07:00
RachelElysia
1d3b624be2
E2e Testing: Fleet Core global observer ( #1099 )
2021-06-16 13:40:23 -04:00
noahtalerman
fb12ed10ca
Add hosts count to Team details page ( #1090 )
...
- Display number of hosts assigned to a team on the Team details page
- Add back button styles to "Back to teams" link
2021-06-15 13:04:32 -04:00
Martavis Parker
4bfeddda79
Escape key closes modals ( #1088 )
...
* Closes #922
* #922 added Windows section to build docs
* go sum updated
* updated go sum
* fixed #963 - calling teams api if not on core
* added command for seeding queries
* added command default to higher level
* linted test
* only need 2 queries
* fixed e2e command for seeding queries
* fixes #952 - added esc key binding to modals
* #952 lint fix
2021-06-15 09:56:23 -07:00
RachelElysia
5e52ba7aea
User Management Page: Edit user's email flash message ( #1084 )
...
* Render flash message with sender/receiver information on user's email update
2021-06-15 10:35:28 -04:00
noahtalerman
0f244140cc
Edit message for set up, forgot password, and change password ( #1083 )
...
- Add the `hint` that is used on the _Set up_ page to the _Change password_ form and _Reset password_ form
- Add a consistent error message when a password fails to meet the criteria. Using the phrase "criteria below" because all pages render the above `hint`
2021-06-15 09:51:04 -04:00
RachelElysia
023e931911
Fix create user for basic tier ( #1081 )
2021-06-14 16:49:06 -04:00
noahtalerman
9b1cd14839
Fix set up flow styles ( #1073 )
...
- The RegistrationForm component now uses 'fleet' for class names. Update classnames in this component's stylesheet to use 'fleet'
2021-06-14 15:45:43 -04:00
Zach Wasserman
0a22b9195e
Rename components and errors in setup flow ( #1059 )
2021-06-10 17:01:18 -07:00
gillespi314
6040f88964
Fix styling of action dropdown button ( #1048 )
...
Fix styling of action drop drown button for `hover` and `focus` states to match _Users_ tab
2021-06-10 12:18:20 -04:00
noahtalerman
7104d0312e
Fix for cannot run query for selected teams ( #1037 )
...
- Fix ability to run live query against teams
- Update unit tests to support live queries against teams
2021-06-10 11:37:25 -04:00
RachelElysia
78fb7e22cc
Query Edit/Run Page: Conditionally render Teams grouping in select targets dropdown ( #1040 )
...
* Conditionally render teams in targets dropdown
* Modify tests accordingly
2021-06-10 11:35:42 -04:00
RachelElysia
5dd538e2cc
Missing detroy function ( #1049 )
2021-06-10 11:33:00 -04:00
RachelElysia
5e40afa8ba
Clean up linter warnings ( #1026 )
...
* Fix 25+ linter warnings
Co-authored by: Sarah Gillespie @gillespi314
2021-06-10 10:00:03 -04:00
gillespi314
b419958b73
Change user settings dropdown for current user ( #1036 )
...
* Change user settings dropdown for current user
* Restyle action dropdown
2021-06-09 18:51:27 -05:00
RachelElysia
6e5a45eb60
Host Details Page: Hide action buttons for observers only ( #1027 )
2021-06-09 19:05:14 -04:00
RachelElysia
c695093c70
Create/edit user modal: Renders new UI for Fleet Core ( #1029 )
2021-06-09 19:04:14 -04:00
noahtalerman
fce7d3bef5
Fix ability to run a live query when coming from host details page ( #1035 )
...
- Add `queryId` to `fetchTargets()` function call
2021-06-09 18:54:59 -04:00
Martavis Parker
121de5a87f
Fixed Manage Hosts Page Calling Teams API on Core ( #1038 )
...
* Closes #922
* #922 added Windows section to build docs
* go sum updated
* updated go sum
* fixed #963 - calling teams api if not on core
2021-06-09 15:17:50 -07:00
RachelElysia
588a48dd67
User Management Page: Teams column renders for basic tier only ( #1023 )
...
* Render teams column only for Basic tier
Co-authored by: Sarah Gillespie @gillespi314
2021-06-08 19:14:52 -04:00
RachelElysia
84182e4f49
Live query error message ( #1007 )
...
* Rewrite and style live query error
2021-06-08 19:10:22 -04:00
RachelElysia
f57768b131
Fix Teams tab push bug ( #1008 )
2021-06-08 13:21:50 -04:00
RachelElysia
70e416f263
No teams tab for Core Tier ( #1001 )
...
* Teams tab renders for basic tier only
2021-06-07 19:17:16 -04:00
RachelElysia
2b9aa5ac7e
Flash message x icon visible ( #992 )
...
Closes #991
2021-06-07 15:48:52 -04:00
RachelElysia
225500ad28
Empty query message ( #989 )
...
* Add link to standard query library
* Style and external link icon
2021-06-07 14:44:02 -04:00
RachelElysia
83acd4911a
Fix hosts empty state styling ( #990 )
...
Closes #970
2021-06-07 14:07:21 -04:00
Zach Wasserman
255395135f
Rename custom ACE editor ( #983 )
2021-06-06 19:32:18 -07:00
Zach Wasserman
d82560f7d6
Rename frontend icon component ( #982 )
2021-06-06 18:56:30 -07:00
Zach Wasserman
229a9afed2
Change name of localstorage auth token ( #980 )
2021-06-06 18:28:37 -07:00
Zach Wasserman
7ff72f7ac1
Rename main frontend directory ( #977 )
2021-06-06 17:30:54 -07:00
Zach Wasserman
db459d3363
Continue to update names in backend code and docs ( #976 )
2021-06-06 16:58:23 -07:00
noahtalerman
0566fc57f3
Update action button styles on "Manage packs" page and "Manage queries" page ( #960 )
...
- Add `text-icon` variant to buttons on _Manage packs_ page
- Add `text-icon` variant to buttons on _Manage queries_ page
2021-06-04 18:03:32 -04:00
RachelElysia
c68a89b1c3
Team maintainer can add host ( #961 )
2021-06-04 15:19:39 -04:00
RachelElysia
e52e0747ad
Query Edit/Run: Conditional select targets dropdown ( #923 )
...
* Modify targets endpoint to use queryId
* Conditionally render query page including queryId
* Includes conditionally renders target dropdown
Co-authored by: Sarah Gillespie @gillespi314
Test mods co-authored by: Gabriel Hernandez @ghernandez345
2021-06-04 15:13:59 -04:00
Gabriel Hernandez
f181d24698
enroll secret dropdown completion ( #958 )
...
* Add tier permissions for seeing the enroll secret dropdown.
* Hooks up API to show different team enroll secrets when selected from the dropdown.
2021-06-04 11:03:49 -07:00