Commit Graph

1240 Commits

Author SHA1 Message Date
Tharun Rajendran
e0fc5dcd76
chore(test): rewritten query side panel test using rtl (#5189) 2022-04-21 17:26:19 -05:00
RachelElysia
5d1d963e5c
App Settings Page: All pages rendering as separate components on separate tabs (#5199) 2022-04-21 14:12:42 -04:00
Martavis Parker
6a5f7172ef
Fixed error handling for invalid auth token (#5261)
* fixed error handling for invalid auth token

* lint fixes
2022-04-20 12:51:01 -07:00
RachelElysia
bed53535bb
Query Results Page: Show query modal (#5165) 2022-04-20 14:12:53 -04:00
Martavis Parker
0cc02b5fe3
replaced old api calls with new version (#5254) 2022-04-20 10:45:32 -07:00
Martin Angers
fd0cd153ce
Fix SSO paths to always use /v1/ instead of /latest/ (#5246) 2022-04-20 12:46:45 -04:00
RachelElysia
9ea6fe5efa
New query and new policy: Identify optional fields to users (#5167) 2022-04-20 08:48:47 -04:00
gillespi314
70a61b86f1
Update os version aggregated stats for all teams (#5083) 2022-04-18 16:19:58 -05:00
Noah Talerman
124d272b38
Update the columns and elements the Fleet UI shows/hides at breakpoints (#5186)
* Revisions to the specification in the "Make table behavior in the Fleet UI consistent down to 768px" issue: #3052
2022-04-18 13:36:25 -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
gillespi314
6708ecc304
Handle routing for setup page (#5152) 2022-04-15 18:13:59 -05:00
Martavis Parker
db5dc748d9
using ellipsis on policies table only for smaller screens (#5139) 2022-04-15 16:39:49 -05:00
RachelElysia
5ece6502ad
Jira Integration: Cypress e2e tests only (#5055) 2022-04-15 12:41:05 -05:00
Martavis Parker
0604b64f6b
removed extra data on smaller screens (#5154) 2022-04-15 12:05:41 -05:00
RachelElysia
9fc4c7c7d6
Add tooltip to Save button if no Integrations found (#5130) 2022-04-13 17:23:09 -05:00
gillespi314
7f2f9d3326
Set default values for create team member form (#5129) 2022-04-13 15:55:59 -05:00
Martavis Parker
6b0c944ffb
Widened area to click add targets (#5109) 2022-04-13 14:25:33 -05:00
RachelElysia
e02ececbe7
Temporarily remove export host csv button (#5125) 2022-04-13 14:22:10 -05:00
RachelElysia
12a07aa4d9
UI: Vuln max age (#5121) 2022-04-13 13:45:50 -05:00
gillespi314
fa8bfbd796
Extend sort functionality for policy status UI (#5078) 2022-04-13 11:08:37 -05:00
gillespi314
9476e92693
Fix create user form for team admin (#5105) 2022-04-13 11:01:53 -05:00
Tharun Rajendran
4a439a1109
chore(test): rewritten scheduled query panel test using rtl (#4945) 2022-04-13 10:24:58 -05:00
RachelElysia
a594f89e8a
Unstyled focus button is not transparent (#5090) 2022-04-12 17:31:20 -05:00
Martavis Parker
3f86c12f16
Fix react lifecycle issue for selecting targets in a pack (#5074) 2022-04-12 15:32:12 -05:00
RachelElysia
c5df50d98d
Fix policies on small width (#5077) 2022-04-12 15:31:35 -05:00
RachelElysia
46e323cd9c
Host Details Page: Policy table truncates policy name (#5087) 2022-04-12 15:31:07 -05:00
RachelElysia
015bfb877f
Exact same styling as manage schedule page (#5089) 2022-04-12 15:30:33 -05:00
Tharun Rajendran
a8f59f8005
chore(test): rewritten select target dropdown test using rtl (#4943) 2022-04-12 15:28:22 -05:00
RachelElysia
67ca6d37dd
UI: Jira password deprecated, use Jira API token (#5067) 2022-04-12 11:33:59 -04:00
Tharun Rajendran
a9747128d0
chore(test): rewritten icon components test using rtl (#4764) 2022-04-12 10:27:12 -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
RachelElysia
2eeb9142b3
UI: Sort live queries/policies (#5060) 2022-04-11 17:17:24 -04:00
Luke Heath
d75cf11cec
Indicate that a policy's data is not yet accurate (#5031) 2022-04-11 15:21:34 -05:00
gillespi314
ab85963cbd
Handle UI error parsing invalid sql (#5016) 2022-04-11 15:18:31 -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
Tharun Rajendran
12b441a5dd
chore(test): rewritten registration form page's test using rtl (#5013) 2022-04-08 09:35:57 -05: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
99728835c5
Remove duplicate error message on create pack page (#5000) 2022-04-07 12:45:30 -05:00
Martavis Parker
cfb1474eb8
Auth Redux Removal (#4924)
* all login methods no longer use redux

* removed redux from registration

* redirect user from registration

* removed redux from sso invite

* removed redundant component

* refactored user settings page

* removed redux from logout

* cleaned up unused redux calls

* lint fixes

* removed test

* removed old config interface

* fixed registration bug

* team permission fix

* removed remaining redux references from pages - #4436

* better way to set config
2022-04-07 09:08:00 -07:00
gillespi314
1cf784999c
Extend client-side search across columns in UI tables (#4955) 2022-04-07 10:37:43 -05:00
Tomas Touceda
f2aba83a73
Extend vulnerability age to 30 (#4901) 2022-04-06 11:42:02 -03:00
RachelElysia
5642981086
Homepage & Manage Host Page: Improved empty software messages (#4953) 2022-04-06 10:08:11 -04:00
gillespi314
727ba8b0db
Fix bug sort availableTeams context (#4948) 2022-04-05 17:44:05 -05:00
gillespi314
d6e900db4b
Add macOS version information to UI dashboard (#4719) 2022-04-05 15:04:00 -05:00
Tharun Rajendran
4ff9f6702d
chore(test): rewritten select target menu test using rtl (#4937) 2022-04-04 16:34:24 -05:00
Tharun Rajendran
e7a372f9e0
chore(test): rewritten login form test using rtl (#4933) 2022-04-04 16:33:49 -05:00
Tharun Rajendran
6fe78fe302
chore(test): rewritten breadcrumbs test using rtl (#4921) 2022-04-04 14:15:28 -05:00
Tharun Rajendran
6b68f61b22
chore(test): rewritten login page test using rtl (#4920) 2022-04-04 14:13:25 -05:00
Tharun Rajendran
90e044821f
chore(test): rewritten registration page test using rtl (#4919) 2022-04-04 14:12:29 -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
b834e7d2f5
Remove viewing enroll secrets on app settings page, add changelog (#4896) 2022-04-04 12:27:13 -04:00
Martavis Parker
3575d34507
Refactor Redux-triggered flash message component (#4795)
* base logic to handle rendering a notification without redux

* removed dispatches for new flash mesage triggers

* query page wrapper is no longer needed

* refactored confirm invite page to remove redux

* refactored email token redirect to functional and typescript

* refactored pack composer page to functional and typescript

* clean up

* lint fixes

* tests no longer needed

* fixed confirm sso invite test

* test fix

* fixed test

* fixed tests

* removed redux from flash on rebased pages
2022-03-31 23:42:26 -07:00
Luke Heath
dbaef5a37b
Fix table headers showing or misaligned when selection is active (#4892) 2022-03-31 16:10:11 -05:00
Tharun Rajendran
661f48419f
chore(test): rewritten forgot password page test using rtl (#4888) 2022-03-31 11:50:30 -05:00
Tharun Rajendran
4fdb9687ef
chore(test): rewritten pack composer page test using rtl (#4886) 2022-03-31 11:50:07 -05:00
Tharun Rajendran
8bc7e91ed7
chore(test): rewritten target option test using rtl (#4885) 2022-03-31 11:49:50 -05:00
RachelElysia
a402ccab25
Host Details Page: Same naming convention for info as device user page (#4815) 2022-03-29 10:35:02 -04:00
RachelElysia
118ae6499b
UI Accessibility: Ability to tab through app (#4699) 2022-03-28 17:31:36 -04:00
Tharun Rajendran
71b66a442b
chore(test): rewritten checkbox component test using rtl (#4789) 2022-03-28 13:51:10 -05:00
Tharun Rajendran
9e65474d22
chore(test): rewritten confirmation page test using rtl (#4790) 2022-03-28 13:50:40 -05:00
Tharun Rajendran
a9b76c6fdd
chore(test): rewritten registration form test using rtl (#4791) 2022-03-28 13:50:20 -05:00
Tharun Rajendran
70a44dc262
chore(test): rewritten dropdown button component test using rtl (#4714) 2022-03-28 13:32:35 -05:00
Noah Talerman
d0ad059369
Policies page: Fix copy in "Manage automations" modal (#4835)
Fix a bug on Policies > Manage automations, in which "Vulnerability automations" copy was used instead of "Policy automations" copy
2022-03-28 13:54:34 -04:00
gillespi314
489ec700c5
Add mock API service tool for frontend development (#4814) 2022-03-25 17:02:58 -05: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
Luke Heath
5e647660bb
Filter out device users if no email is present (#4773) 2022-03-23 15:45:19 -05:00
RachelElysia
a3789c817e
Fleet Desktop: Refetch uses device API not host API (#4770) 2022-03-23 14:51:12 -04:00
RachelElysia
cf34466e7f
Live query percent fix (#4768) 2022-03-23 14:50:16 -04:00
RachelElysia
345de5d8d4
Fix styling of errors tab for live policy results page (#4766) 2022-03-23 14:49:08 -04:00
RachelElysia
bf4713b742
Remove vuln count detail for device user, fix padding/margins (#4744) 2022-03-23 10:57:42 -04:00
Tharun Rajendran
778de64011
chore(test): rewritten scheduled query list component test using rtl (#4757) 2022-03-23 09:54:28 -05:00
RachelElysia
401225ec38
Fix tooltip underline bug on safari (#4742) 2022-03-22 17:33:25 -04:00
RachelElysia
78dc9f2a31
Fix sentence casing on login (#4741) 2022-03-22 17:32:41 -04:00
RachelElysia
dc8921fed1
Remove fleet desktop checkbox (#4730) 2022-03-22 11:23:59 -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
RachelElysia
81f5a6c3bd
Remove macadmin call from device user page (#4713) 2022-03-21 13:49:53 -04: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
RachelElysia
e1f84436ab
Device user cannot view all hosts software (#4710) 2022-03-21 12:34:36 -04:00
Benjamin Edwards
74bb559645
Add public ip to hosts & derive geolocation when rendering host (#4652)
* geoip wip
* return nil if ip is empty string or if ParseIP returns nil
* add ui component to render geolocation if available, address PR feedback
* render public ip if available
* add changes file, document geoip in deployment guide
* update rest-api docs
2022-03-21 12:29:52 -04:00
Tharun Rajendran
1164330bd4
chore(test): rewritten confirm invite form test using rtl (#4616) 2022-03-21 11:27:50 -05:00
Tharun Rajendran
999042ff31
chore(test): rewritten authenticated routes test using rtl (#4617) 2022-03-21 11:27:17 -05:00
Tharun Rajendran
4ca32c7148
chore(test): rewritten emailtokenredirect test using rtl (#4618) 2022-03-21 11:26:40 -05:00
Tharun Rajendran
68572dbd36
chore(test): rewritten app component test using rtl (#4629) 2022-03-21 11:25:54 -05:00
Tharun Rajendran
2edffeebd7
chore(test): rewritten core layout component test using rtl (#4655) 2022-03-21 11:25:08 -05:00
Martavis Parker
aed9e3aa1e
Minimize Redux in pages where possible (#4614)
* removed redux from settings wrapper

* removed redux rooute push from team details

* removed redux route push from user management

* removed redux from forgot password

* removed unused function

* removed redux from login successful page

* removed redux push route from edit pack

* removed use of redux push route from pack composer

* removed use of redux route push from manage queries

* removed use of redux route push from query form

* removed use of redux route push from schedule

* lint fixes

* created sessions service

* removed redux route use from login

* lint fixes

* fixed and removed unnecessary tests
2022-03-21 08:35:24 -07:00
RachelElysia
84de0b7db0
Fleet Desktop device user page (#4589) 2022-03-21 09:38:59 -04:00
RachelElysia
d661d23956
New/Edit Packs Page: Fix hover of pack's target selector (#4592) 2022-03-18 16:01:29 -04:00
Tharun Rajendran
c16ac4fcc9
chore(test): rewritten clickable table row component test using rtl (#4630) 2022-03-18 14:10:29 -05:00
Tharun Rajendran
cb159970c1
chore(test): rewritten panelgroup component test using rtl (#4628) 2022-03-18 14:10:16 -05:00
Tharun Rajendran
b512eef210
chore(test): rewritten querypagewrapper component test using rtl (#4627) 2022-03-18 14:09:23 -05:00
Tharun Rajendran
54a17b9e97
chore(test): rewritten dropdown component test using rtl (#4626) 2022-03-18 14:08:54 -05:00
Martavis Parker
4646dd2613
fixed tooltip for pack queries table (#4647) 2022-03-17 11:49:25 -07:00
gillespi314
c12098577b
Add UI for global admin to reset user passwords (#4613) 2022-03-16 11:05:05 -05:00
gillespi314
a693d82c11
Improve TypeScript definitions for app context (#4603)
* Refactor AppContext with improved TypeScript definitions for actions
* Sort teams on setAvailableTeams action
* Add case insensitive sort by name to team table on team settings page
2022-03-16 10:01:35 -05:00
Martavis Parker
0fef79926f
Host expiry setting to validate on change (#4604)
* cleaned up old conflicting tooltip styles

* fixed hsot expiry validation; validate on change
2022-03-15 23:38:19 -07:00