Commit Graph

269 Commits

Author SHA1 Message Date
RachelElysia
694be80de7
Fleet Desktop: e2e test for device user page (#4812) 2022-07-12 13:24:08 -04:00
RachelElysia
61d5eb671c
e2e test: Move seedQueries so call can never be repeated (#6556) 2022-07-11 09:59:45 -04:00
RachelElysia
a07f12086a
e2e: Quick fix software count failing test (#6512) 2022-07-06 14:57:49 -04:00
Luke Heath
1c6c379f4d
Improve loading states (#6471) 2022-07-05 12:10:53 -07:00
RachelElysia
d88133d466
Fix e2e mock dev license expiration (#6488) 2022-07-05 10:28:21 -04:00
Luke Heath
e16010f1f9
Improve SSO error messaging (#6339) 2022-06-23 10:32:20 -07:00
gillespi314
2715f8eb32
Add fixtures for software and vulnerabilities end-to-end tests (#6337) 2022-06-23 10:01:37 -05:00
gillespi314
21837ed8ac
Enable ticket workflow for failing policies automation (#6066) 2022-06-13 18:21:24 -05:00
gillespi314
7621a0b290
Show count of visible results after a column is filtered on live query page (#6199) 2022-06-13 18:20:57 -05:00
gillespi314
c146ea4aa4
Add new "Fleet Desktop" section to global settings page (#6161) 2022-06-11 12:23:02 -05:00
Luke Heath
9651539f75
Update API token modal to include more information (#5994) 2022-06-02 18:03:03 -05:00
gillespi314
5d68a1fead
Add probability of exploit (EPSS score) to Software page in Fleet Premium (#5925) 2022-06-02 17:32:13 -05:00
Luke Heath
16209b4ec5
Add e2e tests for export hosts feature (#5895) 2022-05-25 10:29:50 -05:00
gillespi314
bbc1891420
Add ability to see Google Chrome profiles on the Hosts page (#5839) 2022-05-23 14:27:30 -05:00
gillespi314
4a4e832d3a
Increase minimum password length to 12 characters (#5712) 2022-05-18 12:03:00 -05:00
RachelElysia
5ab79ffba7
E2e testing: Fix attached DOM issues (#5555) 2022-05-10 11:50:32 -05:00
RachelElysia
55d2cf1f10
Integrations Page: Remove edit integration from UI, Render duplicate error message, Unique integration naming convention (#5577) 2022-05-06 12:31:11 -04:00
RachelElysia
0aa8db3a2f
Spiffier UI: Fix empty states (#5395) 2022-04-29 15:59:27 -04:00
Martavis Parker
0cb8326423
Fixed style for action buttons in all modals (#5402)
* fixed style for action buttons in all modals

* fixed tests and modified more components

* fixed class reference in test

* removed unused file
2022-04-27 13:40:28 -07:00
Martavis Parker
384c987389
Removed all traces of Redux from the app! (#5287)
* clean up routes and useless components

* component clean up

* removed redux from routes

* rename file

* moved useDeepEffect hook with others

* removed redux, fleet, app_constants dirs; added types to utilities

* style cleanup

* typo fix

* removed unused ts-ignore comments

* removed redux packages!!!

* formatting

* fixed typing for simple search function

* updated frontend readme
2022-04-22 09:45:35 -07:00
RachelElysia
5d1d963e5c
App Settings Page: All pages rendering as separate components on separate tabs (#5199) 2022-04-21 14:12:42 -04:00
RachelElysia
bed53535bb
Query Results Page: Show query modal (#5165) 2022-04-20 14:12:53 -04:00
Martin Angers
fd0cd153ce
Fix SSO paths to always use /v1/ instead of /latest/ (#5246) 2022-04-20 12:46:45 -04:00
Lucas Manuel Rodriguez
da171d3b8d
Merge pull request from GHSA-pr2g-j78h-84cr
* Fix access control issues with users

* Fix access control issues with packs

* Fix access control issues with software

* Changes suggested by Martin

* All users can access the global schedule

* Restrict access to activities

* Add explicit test for team admin escalation vuln

* All global users should be able to read all software

* Handbook editor pass - Security - GitHub Security (#5108)

* Update security.md

All edits are recorded by line:

395 replaced “open-source” with “open source”
411 replaced “open-source” with “open source”
439 added “the” before “comment”; replaced “repositories,” with “repositories”
445 deleted “being” before “located”
458 added “and” after “PR”
489 replaced “on” with “in”
493 replaced “open-source” with “open source”; Replaced “privileges,” with “privileges”

* Update security.md

line 479

* Update security.md

added (static analysis tools used to identify problems in code) to line 479

* Fix UI

* Fix UI

* revert api v1 to latest in documentation (#5149)

* revert api v1 to latest in documentation

* Update fleetctl doc page

Co-authored-by: Noah Talerman <noahtal@umich.edu>

* Add team admin team policy automation; fix e2e

* Update to company page of the handbook (#5164)

Updated "Why do we use a wireframe-first approach?" section of company.md

* removed extra data on smaller screens (#5154)

* Update for team automations; e2e

* Jira Integration: Cypress e2e tests only (#5055)

* Update company.md (#5170)

This is to update the formatting under "empathy" and to fix the spelling of "help text."
This was done as per @mikermcneil .
This is related to #https://github.com/fleetdm/fleet/pull/4941 and https://github.com/fleetdm/fleet/issues/4902

* fix update updated_at for aggregated_stats (#5112)

Update the updated_at column when using ON DUPLICATE UPDATE so that
the counts_updated_at is up to date

* basic sql formatting in code ie whitespace around operators

* Fix e2e test

* Fix tests in server/authz

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: Desmi-Dizney <99777687+Desmi-Dizney@users.noreply.github.com>
Co-authored-by: Michal Nicpon <39177923+michalnicp@users.noreply.github.com>
Co-authored-by: Noah Talerman <noahtal@umich.edu>
Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
Co-authored-by: Martavis Parker <47053705+martavis@users.noreply.github.com>
Co-authored-by: RachelElysia <71795832+RachelElysia@users.noreply.github.com>
2022-04-18 10:27:30 -07:00
RachelElysia
5ece6502ad
Jira Integration: Cypress e2e tests only (#5055) 2022-04-15 12:41:05 -05:00
RachelElysia
e02ececbe7
Temporarily remove export host csv button (#5125) 2022-04-13 14:22:10 -05:00
Martavis Parker
3a326cd0ac
Team policy automation (#5004)
* added teams webhook calls

* split global admin and team admin tests; added policy automation

* changes file

* fixed type errors

* fixed e2e test

* fixed typo

* fixed admin test syntax

* fixed test logic for team maintainer

* lint fixes

* more admin e2e test fixes

* fixed team policy test

* removed duplicate test
2022-04-11 14:46:35 -07:00
Luke Heath
d75cf11cec
Indicate that a policy's data is not yet accurate (#5031) 2022-04-11 15:21:34 -05:00
Martavis Parker
a8d7b5478b
Updated API routes to use current format for frontend use (#5018)
* removed global api routes; using 'latest' instead of v1 for api routes

* lint fixes

* updated docs and tests

* lint fixes

* route fix

* fixed routes breaking packs queries

* revert test change
2022-04-11 13:04:38 -07:00
RachelElysia
d885758a6a
UI: Settings > Integrations tab, Software Vulnerabilities Webhook v. Integration (#4874) 2022-04-11 15:04:41 -04:00
RachelElysia
d1860ad86d
UI: Enter button presses action button for forms/modals (#4939) 2022-04-07 20:07:38 -05:00
gillespi314
1a2123a358
Improve UI responsiveness for tables at narrower screen sizes (#4926) 2022-04-07 14:12:38 -05:00
gillespi314
d6e900db4b
Add macOS version information to UI dashboard (#4719) 2022-04-05 15:04:00 -05:00
RachelElysia
53ca15e93b
Manage Host Page: Export hosts as CSV (#4917) 2022-04-04 14:53:14 -04:00
RachelElysia
5cce257e1e
Host Details Page: Software vulnerability column (#4836) 2022-04-04 12:33:02 -04:00
RachelElysia
6748e8bff6
Refactor host details page into components (#4632)
* Refactor host details and device user page into components and shared components
* Refactor stylesheets and update class names on cypress tests
2022-03-25 13:38:50 -04:00
gillespi314
6940200cbd
Check policy on all platforms if no platform selection is specified (#4785) 2022-03-24 10:47:43 -05:00
RachelElysia
78dc9f2a31
Fix sentence casing on login (#4741) 2022-03-22 17:32:41 -04:00
gillespi314
2092fe437f
Add tables from macadmins extension to compatibility check (#4722) 2022-03-21 18:06:25 -05:00
gillespi314
eb5c9bf7b7
Add advanced installer info to add hosts modal (#4644) 2022-03-21 17:08:13 -05:00
gillespi314
deeaf9d036
Add ability to detect compatibility and update which hosts are checked for a policy (#4703)
Add new usePlatformSelector custom hook
Add new usePlatformCompatibility custom hook
Add new PlatformSelector global component
Refactor PlatformCompatibility as global component
Refactor sql_tools to TypeScript
Improve type definitions for context/policy
Align PolicyPage and QueryPage with platform compatibility changes
2022-03-21 11:51:00 -05:00
gillespi314
c12098577b
Add UI for global admin to reset user passwords (#4613) 2022-03-16 11:05:05 -05:00
RachelElysia
bb6db2434e
Fleet UI: Enable and disable automation slider (#4554) 2022-03-11 11:56:14 -06:00
RachelElysia
02fa778788
Refactor Query/Policy UX (#4334) 2022-03-07 15:10:23 -05:00
gillespi314
c2ee68cf59
Set initial platform values for template policies (#4435) 2022-03-03 14:34:14 -06:00
RachelElysia
8af5fa7a5a
Fix duplicate (team name, label name, user email) error handling (#4352) 2022-03-01 13:28:51 -05:00
Martavis Parker
33c5f0651c
New tooltips! (#4326)
* Allow sort by more than one key

* created custom tooltip component

* remove unused code

* fixed style for more layouts

* added tooltip to query side panel

* tooltips added to setting form

* finished settings form

* added tooltip for perf impact table headers

* tooltip for pack table and user form

* tooltip on manage policies page

* tooltip for manage schedules

* tooltip for automations; spacing for form input

* tooltip for automations modal

* user form; fixed input with icon component

* more user form tooltips

* tooltip for homepage; style fixes

* replaced many more tooltips with new version

* added story for tooltip

* added position prop

* fixed tests

* re-work how we click react-select dropdowns

* forcing the update button click

* trying a blur

* fixed typo

* trying blur on another element

* temp check-in

* replaced tooltip from host details software

* more consolidation of tooltip use for software

* fixed settings flow test

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2022-02-28 13:25:06 -08:00
eashaw
0af5e161d0
Remove numbers from documentation filenames in Fleet repo (#4313)
* Renaming files and a lot of find and replace

* pageRank meta tags, sorting by page rank

* reranking

* removing numbers

* revert changing links that are locked to a commit

* update metatag name, uncomment github contributers

* Update basic-documentation.page.js

* revert link change

* more explicit errors, change pageOrderInSection numbers, updated sort

* Update build-static-content.js

* update comment

* update handbook link

* handbook entry

* update sort

* update changelog doc links to use fleetdm.com

* move standard query library back to old location, update links/references to location

* revert unintentional link changes

* Update handbook/community.md

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-02-23 12:17:55 -06:00
RachelElysia
7cdc7bbec2
E2e Test: Team admin flow (#4301) 2022-02-21 21:09:36 -05:00
RachelElysia
f345446125
Edit Query Page: Fix UX for "Save as new" CTA (#4235) 2022-02-17 14:58:47 -05:00
Martavis Parker
d536aad63e
Removed moment.js in favor of date-fns (#4238)
* removed moment.js in favor of date-fns

* updated yarn and unit test

* fixed e2e test
2022-02-16 15:01:05 -08:00
RachelElysia
6f1c61bc86
UI Revamp: Add hosts modal (#4217) 2022-02-16 16:21:42 -05:00
Martavis Parker
cd275b7435
Homepage platform picker e2e tests (#4207)
* added homepage platform tests to free

* added view hosts tests per platform

* added platform tests for premium

* lint fixes
2022-02-15 12:57:50 -08:00
RachelElysia
bb11f5008f
Frontend tech debt: Clean up 409 lint warnings (#3703)
* Clean up unused variables, return types, many quick type any
2022-02-14 17:11:12 -05:00
RachelElysia
439d6f0623
Fix flaky e2e policies (#4190) 2022-02-14 17:09:55 -05:00
RachelElysia
de4fa90550
Host details page: e2e test (software, schedule, policy, users) (#4099) 2022-02-10 17:49:10 -06:00
Luke Heath
0d36b39059
Fix label search crashing app on special character input (#4124) 2022-02-09 16:02:49 -06:00
RachelElysia
b9e2ca6790
Bug fix: Get failing policies webhook on load (#3997) 2022-02-07 12:45:49 -06:00
RachelElysia
6e5aee3cdf
Software vulnerability automation modal (#3920) 2022-02-04 18:48:35 -06:00
RachelElysia
7c87dad4e1
New navigation bar (#3962) 2022-02-02 11:27:14 -06:00
Martavis Parker
914fd9013d
E2E refactor - Free tier (#3734)
* new session pattern; refactor admin test free tier

* making sure all sessions are cleared before setup

* modified free tier admin test; typescript addition

* refactored maintainer tests

* refactored observer tests - free; renamed login

* lint fixes

* added query tests

* lint fixes

* fixing tests

* lint fixes

* fixed finding text in save query modal

* Clear inputs

* Targeting

Co-authored-by: Luke Heath <luke@fleetdm.com>
2022-02-02 07:37:35 -08:00
gillespi314
4d5e3277ef
Add new feature: Software page (#3923)
* Add new software page
* Add hosts counts and last updated to software card on homepage
* Extend InfoCard component to all children to set dynamic title information and hyperlinks
* Add new TeamsDropdownHeader component
* Refactor TableContainer to move server-side pagination buttons to DataTable
* Extend DataTable to include footer element
2022-01-31 16:24:20 -06:00
RachelElysia
d2c33b8602
Premium rbac e2e schedules (#3936) 2022-01-31 14:32:56 -06:00
RachelElysia
9cdb70348f
E2e refactor: integration/all/app (#3785) 2022-01-28 11:48:51 -05:00
Martavis Parker
349a88e25b
Forcing 404 page where entity ids do not exist (#3833)
* Allow sort by more than one key

* forcing 404 page where entity ids do not exist

* refactored error boundary; handling 404s now

* added 403 overlay; refactored auth wrappers

* fixed test for maintainer

* more efficient fetches; test fixes

* clarify comment

* clean up

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2022-01-27 14:10:12 -08:00
RachelElysia
0402bb3407
Team Details Page: Add new CTA buttons to e2e team flow (#3888) 2022-01-26 16:34:06 -05:00
gillespi314
7ec384851b
Refactor e2e premium admin and teamflow specs (#3840)
* Refactor e2e premium admin spec

* Refactor e2e teamsflow spec
2022-01-25 12:45:22 -06:00
gillespi314
9bfb8c75d2
Refactor e2e premium team maintainer observer (#3834) 2022-01-25 11:24:48 -06:00
gillespi314
19df4547f4
Refactor e2e premium maintainer spec (#3839) 2022-01-25 11:24:26 -06:00
gillespi314
3f81b24cae
Refactor e2e premium observer spec (#3817) 2022-01-24 15:21:05 -06:00
RachelElysia
85487eb5b2
Settings > Organization Settings: Code revamp (#3580) 2022-01-21 12:06:58 -05:00
RachelElysia
1041c6dd46
Settings Pages Refactor: User management page & Teams > members page (#3625) 2022-01-13 18:11:45 -05:00
RachelElysia
0f1bb337bc
E2e test stability: Fix free observer detached dom flakiness, remove waits on visit profile RBAC (#3659) 2022-01-13 13:01:14 -05:00
Luke Heath
e64f1a63ba
Correct instances of multiple requests for same resource (#3631) 2022-01-12 18:16:50 -06:00
Luke Heath
cc73f2d5a4
Handle response.body if it is not JSON (#3599) 2022-01-11 13:52:28 -06:00
RachelElysia
bb2b8fa70f
Spiffier UI: Allow opening nav items in new tab (#3514) 2022-01-07 11:18:21 -05:00
Luke Heath
7161160a9f
Audit UI logic and remove redundant initializations (#3574) 2022-01-05 21:41:52 -06:00
RachelElysia
66132c911f
Global Policies Automation UI (#3498) 2021-12-28 13:07:18 -05:00
Zach Wasserman
ab664e5304
Clean up E2E testing configurations (#3360) 2021-12-24 12:18:00 -08:00
RachelElysia
d3b2bd362d
E2e policy flow (#3322) 2021-12-22 13:06:52 -05:00
Luke Heath
1c4bc0954c
Fix loading indicator on select targets pages (#3408) 2021-12-20 11:36:17 -06:00
RachelElysia
040b8eddc3
E2e tests failing: Fix 2 recent e2e detached doms (#3387) 2021-12-17 10:36:47 -08:00
RachelElysia
dc3143b437
Pack flow: Refactor ManagePacksPage (#3376) 2021-12-16 15:35:19 -08:00
RachelElysia
e60332b8b0
Policy Details/Query Details: No hover state if policy/query is not editable by RBAC (#3368) 2021-12-16 09:54:53 -08:00
Zach Wasserman
33797ddfc1
Optimize requests on packs page (#3327)
Improves #3259
2021-12-13 21:50:24 -08:00
RachelElysia
c64627caa4
Manage Queries Page: No queries does not show create new query cta for observers (#3358) 2021-12-13 15:57:56 -08:00
RachelElysia
9dade98422
Spiffier UI: Fix tabs spacing (#3344) 2021-12-13 15:09:12 -08:00
RachelElysia
77f07f74e9
Add vertical padding to pills (#3337) 2021-12-13 14:49:49 -08:00
RachelElysia
1e37080a31
Spiffier UI: Team dropdown, back to teams (#3343) 2021-12-13 14:40:32 -08:00
RachelElysia
c491616eb5
Manage Host Page Bug: Update observers to not see generate installer CTA (#3352) 2021-12-13 13:44:28 -08:00
Luke Heath
78d5e13a97
Show all teams for global users and save team selection between pages (#3204) 2021-12-06 20:04:40 -06:00
Luke Heath
e750eb9745
Standardize TeamsDropdown component usage (#3135) 2021-12-01 17:37:33 -06:00
RachelElysia
b3b107512e
Host Details Page: OS policy creator (#3109) 2021-11-30 12:12:53 -05:00
RachelElysia
a7c6b3e7d7
Add/Edit/Delete enroll secret UI (#2645) 2021-11-15 16:16:06 -05:00
RachelElysia
f29bd07087
Schedules Page: Remove teams call on schedules for Fleet free (#2843) 2021-11-15 10:31:54 -05:00
RachelElysia
0a5049b51e
Schedules and Policy UI: New empty state (#2787) 2021-11-10 13:46:16 -05:00
RachelElysia
81ccbab31f
Dashboard UI: Hosts change on team selection (#2839) 2021-11-09 15:48:23 -05:00
RachelElysia
2d1e4c0898
Reinstate generate installer code from #2493 (#2771) 2021-11-09 15:02:01 -05:00
Martavis Parker
bcfac603f0
Added components to Storybook library (#2768)
* added storybook

* added avatar component

* added button story

* added dropdown button story

* removed unused ellipsis component

* cleaned up modal path

* reorganized enroll secrets table file

* added flash story; removed unused persistent flash

* added fleet ace story

* added checkbox story

* added dropdown story

* added input story

* fixed storybook build

* fixed avatar

* added input with icon story

* added radio button story

* added select targets dropdown story

* added slider story

* added tooltip story

* added info banner story

* removed unused loaders; added spinner story

* added modal story

* removed unused NumberPill

* added pagination story

* lint fixes

* added documentation to run

* modified documentation

* fixed corelayout test

* fixed format for date-fns

* fixed date format that breaks tests

* wait for page
2021-11-06 23:41:09 -07:00
RachelElysia
0fbb9ab45f
Pass fail UI for Policies app wide (#2769) 2021-11-03 13:13:58 -04:00