Commit Graph

1069 Commits

Author SHA1 Message Date
Martavis Parker
260d8c6910
Homepage refactor - MDM/Munki (#4038) 2022-02-07 23:03:01 -06:00
gillespi314
ff00e26f14
Refine manage software page features (#4040) 2022-02-07 18:52:55 -06:00
RachelElysia
b9e2ca6790
Bug fix: Get failing policies webhook on load (#3997) 2022-02-07 12:45:49 -06:00
RachelElysia
cb43400932
In label error state for duplicate query/policy name (#4052) 2022-02-07 12:28:33 -06:00
gillespi314
90fe417ce0
Sync current team to url params on manage hosts page (#4010) 2022-02-06 10:07:43 -06:00
RachelElysia
6e5aee3cdf
Software vulnerability automation modal (#3920) 2022-02-04 18:48:35 -06:00
Luke Heath
14d36d8e4d
Refine and improve policy and query editing interface (#4004) 2022-02-04 15:30:27 -06:00
gillespi314
62fc985c7b
Fix async calls to packs API (#4017) 2022-02-03 19:41:02 -06:00
gillespi314
143d5ce874
Remove vuln banner when software filter is removed (#4015) 2022-02-03 18:49:03 -06:00
gillespi314
5584844138
Add team context for top nav link to software page (#4008) 2022-02-03 18:15:50 -06:00
RachelElysia
32bd8a64df
Fix Cancel button color (#3994) 2022-02-02 18:23:16 -06:00
RachelElysia
7c87dad4e1
New navigation bar (#3962) 2022-02-02 11:27:14 -06:00
RachelElysia
3166e85f6f
Manage Schedule Page: Fix schedule/manage to display correct team schedule (#3939) 2022-02-01 10:04:10 -06:00
Martavis Parker
fabd71c75c
fixed css for bold text in react tabs (#3943) 2022-01-31 17:30:35 -08:00
gillespi314
64efaf7667
Fix bug for create your own team policy (#3957) 2022-01-31 17:30:32 -06:00
gillespi314
d101ec7c18
Add ability to filter software by "Vulnerable" on the Host details page (#3875)
- Add new "Software" tab to host details page
- Add dropdown to filter vulnerable software
- Extend DataTable client-side filtering to accommodate filter inputs that are controlled by parent components
- Refactor host details software into separate component
2022-01-31 16:41:54 -06: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
9cdb70348f
E2e refactor: integration/all/app (#3785) 2022-01-28 11:48:51 -05:00
gillespi314
9682e05bb0
Add client-side pagination to users table (#3905) 2022-01-27 17:12:20 -06:00
RachelElysia
9706e3d36b
Schedules Page: Remove redux, fix buggy API calls (#3883) 2022-01-27 18:00:31 -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
Noah Talerman
7dafc5ab66
Add policies to standard query library (#3848)
- Add 3 policies to `standard-query-library.yml` and update standard policy templates in the Fleet UI
2022-01-25 15:00:31 -05:00
RachelElysia
66b3f97b37
Teams Details Page: Add generate installer and manage enroll secret CTA buttons (#3864) 2022-01-25 13:20:24 -05:00
RachelElysia
ffe024be23
Frontend Validators: Form URLs and email addresses (#3511) 2022-01-25 11:06:47 -05:00
RachelElysia
a655e04b57
User Management Page: Flash messages for reseting password and session (#3851) 2022-01-24 21:03:56 -05:00
Tomas Touceda
35f806f7d1
Merge Release candidate 4.9.0 into main (#3844)
* Better jitter (#3716) (#3744)

* Better jitter (#3716)

* Better jitter

* Fix lint

* Use milliseconds

* Make duration milliseconds

* Update based on Lucas' suggestion

* Add changes file

* Panic on error

* Fix compilation error

* Use time.after instead of time.tick to not leak

* Include browser extensions in software inventory (#3733) (#3757)

Use appropriate JOINs against users table to include all results.

For #3557

* Build Docker images on push to any branch (#3756) (#3758)

Allows for testing release branches and any others.

* Optimize users detail query (#3754) (#3770)

@Smjert reported instances of Windows Domain Controllers having massive
resource utilization and being killed by the watchdog when running this
query. In his test environment, this new query performs much better.

* Refactor async host processing to avoid redis SCAN keys (for policies) (#3657) (#3755)

* Issue 3707 clean targets on delete (#3739) (#3776)

* wip

* Delete targets when deleting teams, hosts, and labels

* Add changes file

* Fix error message

* Remove unused teamsTable

* Cleanup new pack

* Clean new packs at end of test

* Update operating system policy (#3779)

- Update policy's query to check for operating system versions greater than or equal to

* Improve loading of manage policies page (#3695) (#3781)

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>

* Fix logo (#3765)

* fixed duplicate query modal not closing (#3787)

* fixed style for connection line on activity feed (#3789)

* Improve loading state for query platform compatibility (#3752) (#3783)

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>

* Disable pagination for teams page (#3794)

* Shorten "simple" query API period to 25s (#3775) (#3804)

This helps the period stay under the default request timeouts for most
load balancers.

Some default timeouts:
* AWS ALB - 60s
* Nginx - 60s
* GCP LB - 30s

* Clear user checkbox selections after successfully removing selected row from table UI #3798 (#3801)

* Alias fleetctl sandbox to fleetctl preview (#3803) (#3806)

Preparing for some work the product team is planning to rebrand preview
to sandbox.

* Remove flash of spinner to no spinner (#3799)

* Revert "Better jitter (#3716) (#3744)" (#3807)

This reverts commit c857b52d2b373ed9e302d643e6d2212af7353408.

* Fix teams dropdown sizing (#3759) (#3810)

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>

* fixed link for expiration message (#3788)

* Fixed empty string for compatible platforms (#3812)

* fixed empty string for compatible platforms

* default checked for platforms on policy query

* Block autocomplete for username and password in SMTP settings (#3732) (#3816)

* No hosts for software/policy renders better message (#3701) (#3821)

Co-authored-by: Martavis Parker <47053705+martavis@users.noreply.github.com>

* Get failing policies webhook data on page load (#3824)

* Fix reset password flow (#3826)

* Prepare for 4.9.0 (#3820)

- Add CHANGELOG
- Bump versioning
- Remove changes files
- Spelling fix for operating system policy's description

* Remove merge artifact

Co-authored-by: Zach Wasserman <zach@fleetdm.com>
Co-authored-by: Martin Angers <martin.n.angers@gmail.com>
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
Co-authored-by: Luke Heath <luke@fleetdm.com>
Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: RachelElysia <71795832+RachelElysia@users.noreply.github.com>
Co-authored-by: Martavis Parker <47053705+martavis@users.noreply.github.com>
2022-01-24 15:32:25 -03:00
RachelElysia
85487eb5b2
Settings > Organization Settings: Code revamp (#3580) 2022-01-21 12:06:58 -05:00
Martavis Parker
fe36c2d64a
fixed link for expiration message (#3818) 2022-01-20 15:42:36 -06:00
Luke Heath
67326e16cc
Block autocomplete for username and password in SMTP settings (#3732) 2022-01-20 11:39:55 -06:00
gillespi314
fc44970f49
Fix bug in row select checkbox for table UI (#3798) 2022-01-19 18:22:45 -06:00
Martavis Parker
4a83201092
No hosts for software/policy renders better message (#3701)
* Allow sort by more than one key

* more accurate message for no hosts on filter

* added changes file

* lint fix

* more accurate message for no hosts on filter

* added changes file

* lint fix

* small logical change

Co-authored-by: Tomas Touceda <chiiph@gmail.com>
2022-01-19 12:49:14 -08:00
gillespi314
fe368c6238
Fix teams dropdown sizing (#3759) 2022-01-19 12:55:10 -06:00
gillespi314
3e66746707
Improve loading state for query platform compatibility (#3752) 2022-01-18 15:08:54 -06:00
gillespi314
ba64dc0003
Improve loading of manage policies page (#3695) 2022-01-18 09:17:44 -06:00
gillespi314
dea23356de
Improve accuracy of query platform compatibility check when WITH expressions used (#3731) 2022-01-17 20:01:29 -06:00
Luke Heath
afaecee662
Close flash message when a modal is opened (#3711) 2022-01-16 20:46:20 -06:00
RachelElysia
1041c6dd46
Settings Pages Refactor: User management page & Teams > members page (#3625) 2022-01-13 18:11:45 -05:00
RachelElysia
a85e47b28b
Spiffier UI: Dashboard and Manage Host Page loading states (#3638) 2022-01-13 12:12:54 -05:00
gillespi314
39b7c7d9f9
Add pagination and multi-column sort to live query results table UI (#3647)
* Refactor live query results to react-table
2022-01-13 11:06:32 -06:00
Luke Heath
e64f1a63ba
Correct instances of multiple requests for same resource (#3631) 2022-01-12 18:16:50 -06:00
RachelElysia
09efce8ea8
Bug fix: No matching hosts message (#3652) 2022-01-12 15:01:47 -05:00
Luke Heath
cc73f2d5a4
Handle response.body if it is not JSON (#3599) 2022-01-11 13:52:28 -06:00
RachelElysia
a5bef8a990
Spiffier: Center logo in nav bar (#3605) 2022-01-10 14:07:47 -05:00
Noah Talerman
a2c5efcc2f
Update text in Tab UI on "Team details" page (#3600)
- Update to plural "Members"
2022-01-07 12:02:13 -05:00
gillespi314
1591315045
Remove stray parenthesis (#3604) 2022-01-07 10:37:57 -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
4a382d8b4f
Spiffier UI: Checkbox and radio button styling (#3560) 2022-01-04 12:49:42 -05:00
RachelElysia
7ae666a274
User Settings Page: Link to privacy policy (#3561) 2022-01-04 12:48:20 -05:00
Noah Talerman
ddff616ba0
Update default description for operating system policy (#3556)
- Update default description for operating system policy to make it clear that the policy attempts to match the exact version
2022-01-04 12:24:07 -05:00
gillespi314
0c6defc1b0
Handle null case for mdm data in host details UI 2021-12-29 17:19:26 -06:00
gillespi314
fec450ab5a
Fix pagination for homepage software UI (#3501) 2021-12-29 16:22:18 -06:00
Luke Heath
8f606ffccd
Refactor manage hosts search (#3475) 2021-12-29 12:10:54 -06:00
RachelElysia
e91b653703
Remove negations from frontend ternaries (#3509) 2021-12-29 11:46:47 -05:00
RachelElysia
66132c911f
Global Policies Automation UI (#3498) 2021-12-28 13:07:18 -05:00
RachelElysia
c5a173952c
UI Spiffier: Bottom 3px of nav items clickable (#3510) 2021-12-28 12:13:35 -05:00
gillespi314
6d2d28d5a8
Add mobile device management and device-user mapping information to host details to UI (#3499)
* Add mdm, munki and device-user mapping to UI
2021-12-27 17:57:15 -06:00
gillespi314
dde8bd88ca
Fix bug in live query results UI (#3462) 2021-12-27 12:29:52 -06:00
gillespi314
b54b5722d8
Handle certificate errors in generate installer UI (#3435)
* Handle errors in generate installer UI

* Add pem validation
2021-12-23 18:12:08 -06:00
gillespi314
013f425b0b
Add form validation to create/edit user modal (#3479) 2021-12-23 18:09:48 -06:00
Luke Heath
1d891cd343
Fix incorrect load state when selecting all hosts from the hosts filter (#3426) 2021-12-22 20:56:52 -06:00
Luke Heath
e75c5dbdaf
Clear selected hosts on transfer (#3430) 2021-12-22 11:07:12 -06:00
Noah Talerman
7f5b3cc15c
Update policy template for "Are guest users disabled on macOS devices?" (#3431)
* Update policy's `query` by setting `value = 1` instead of `value = 0`. This way, hosts with guest users disabled respond with "Yes".
2021-12-21 08:20:47 -08:00
gillespi314
c9e8f4aab0
Fix bug in target selector UI (#3419) 2021-12-20 12:24:52 -06:00
Luke Heath
1c4bc0954c
Fix loading indicator on select targets pages (#3408) 2021-12-20 11:36:17 -06:00
Luke Heath
5b64985ece
Refine manage hosts page to better handle timing and loading issues (#3402) 2021-12-17 15:40:57 -06:00
RachelElysia
dc3143b437
Pack flow: Refactor ManagePacksPage (#3376) 2021-12-16 15:35:19 -08:00
Luke Heath
f6a74f69c9
Refine create policy UI flow (#3379) 2021-12-16 12:09:10 -06: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
Luke Heath
0d52460c27
Allow platform selection on policy query creation (#3338) 2021-12-13 18:21:36 -06: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
RachelElysia
4ad3f4f3d2
Fix name column width (#3336) 2021-12-10 13:13:30 -08:00
Noah Talerman
f717f55cec
Add platform to policy templates in the Fleet UI (#3311) 2021-12-10 15:48:24 -05:00
RachelElysia
e05562ef09
Spiffier: Fix grammar and sentence casing (#3316) 2021-12-10 11:57:06 -08:00
Luke Heath
84d36d9e22
Policies own their queries flow QA fixes (#3323) 2021-12-10 13:17:36 -06:00
RachelElysia
9e905f8e10
Query Empty Search: Fix count and empty state (#3314)
* Display count is now correct, bug with 0 being falsy
* Empty component renders for client side search even if data table 'disappears'
* Hide display count if display count is 0 includes for client side search
* Hide search and dropdown if no queries have been created
2021-12-09 14:43:34 -08:00
RachelElysia
a3f99ee62d
Fix default policy missing dependency (#3315) 2021-12-09 11:28:32 -08:00
Luke Heath
2abae381e9
Add ability to run live queries on new and existing policies (#3230) 2021-12-09 10:38:51 -06:00
RachelElysia
b397b3a68e
Dashboard: Show software count in dashboard's software modal (#3228) 2021-12-08 22:30:28 -08:00
RachelElysia
37ffb88ec8
Default policy renders on refresh of new policy page, changelog (#3243) 2021-12-08 22:16:34 -08:00
Luke Heath
7f8cb264f8
Return spinner when loading live query results (#3261) 2021-12-08 16:07:43 -06:00
RachelElysia
91a86ccee4
Query and Policy UI: Cursor placed at end of input field (#3224) 2021-12-07 15:17:56 -06:00
Luke Heath
fde1da714b
Add team filtering to software card and improve load states (#3188) 2021-12-07 14:42:21 -06:00
RachelElysia
1d69e50143
Fix cta button verbage to match Figma (#3236) 2021-12-07 14:10:12 -06:00
RachelElysia
d0d0700c1f
Fix policy resolution api request (#3234) 2021-12-07 14:09:06 -06:00
RachelElysia
04fe0a42b5
App wide: Better errors for duplicate query, policy, and team names (#3121) 2021-12-07 11:12:36 -06: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
b3a69680e7
Fix duplicate hosts on render when host_id URL params are present (#3189) 2021-12-06 20:02:52 -06:00
gillespi314
6ee6dba4a4
Update anonymous usage statistics to record Fleet feature adoption (#3056)
* Collect additional anonymous usage statistics

* Update fleetdm.com and docs for usage stats

* Fix lint-go errors

* Fix failing test

* update webhook inputs

* Update receive-usage-analytics.js

* fix failing test

* Update statistics_test.go

Co-authored-by: eashaw <eashaw@sailsjs.com>
2021-12-06 14:39:00 -06:00
RachelElysia
10dbfaad86
Query UI Bug: Query checkbox now reset on delete (#3203) 2021-12-06 11:25:02 -06:00
RachelElysia
eba5d1b1b6
Manage Policies Page: New policy modal (#3108) 2021-12-05 17:12:55 -06:00
Noah Talerman
9e095abddb
On the "New policy" page, update default policy (#3192)
- Update default policy from "Gatekeeper enabled" to "Is osquery running?"
2021-12-03 17:08:10 -05:00
Luke Heath
4c19c9c8b1
Update policy back link to return to selected team (#3190) 2021-12-03 10:13:40 -06:00
RachelElysia
1253020678
New Policy UI: Add policy resolution to create and edit policy (#3125) 2021-12-02 10:03:56 -05:00
Luke Heath
e750eb9745
Standardize TeamsDropdown component usage (#3135) 2021-12-01 17:37:33 -06:00