Commit Graph

48 Commits

Author SHA1 Message Date
Roberto Dip
61f276fe44
allow to start Fleet MDM without configuring Apple BM (#10453)
Related to https://github.com/fleetdm/fleet/issues/10299, this allows to
start the Fleet server with MDM enabled without having to provide ABM
configs.

I have tested this with:

1. Premium account, no ABM config: the server starts normally, but
without ABM features
2. Premium account, invalid ABM config: error starting the server
3. Premium account, valid ABM config: ABM features enabled
4. Free account, no ABM config: the server starts normally
5. Free account, any ABM config: error due to invalid license
2023-03-13 18:16:11 -03:00
Jacob Shandling
a578e20930
UI: Add macOS settings (profiles) indicator and modal with data table (#9809)
# Addresses #9413

# Implements
https://www.loom.com/share/d1b66a3076b94bf2add4fcf8666649a4

- macOS settings indicator on host details and device user pages. Only
displayed if (1) the host is enrolled in a Fleet MDM server and (2) the
host has at least one setting (profile) enforced.
- macOS settings modal, toggled by clicking on above indicator. Contains
a data table with the name, status, and error messages, if any, of each
enforced macOS setting on the host.

# Notes
- To aid in reviewing, you'll probably want to focus on:
-
[DeviceUserPage.tsx](https://github.com/fleetdm/fleet/pull/9809/files#diff-be9f14d3cee9f345058212985c26b3452688c6d75853a5e9dcb968a69dfcbbd7)
and
[HostDetailsPage.tsx](https://github.com/fleetdm/fleet/pull/9809/files#diff-72f7403682d211fc8a84a411fc39c4a33c3eb6a33549a33f1179dd7da6a893cc)
-
[HostSummary.tsx](https://github.com/fleetdm/fleet/pull/9809/files#diff-435e720f1ad82e892bec00fbc9c14e01e9488b776ae293f9158500c66d85bd0d)
-
[MacSettingsIndicator.tsx](https://github.com/fleetdm/fleet/pull/9809/files#diff-e23079f72b13bd34eb978eded467265dad4f366a6fece60cd52c887f355f92d1)
-
[MacSettingsModal.tsx](https://github.com/fleetdm/fleet/pull/9809/files#diff-75a08aa5b66cc2b63fc616d8ba012e552376f23d3c3df01d875586857f326f53)
-
[MacSettingsTable.tsx](https://github.com/fleetdm/fleet/pull/9809/files#diff-5dc441b06f770f112bb32bb618e2140e9bbccb7ebf80d86ee57c2754e067a421)
and its associated
[MacSettingsTableConfig.tsx](https://github.com/fleetdm/fleet/pull/9809/files#diff-0ab0cb34e249e2a41bf51508d38bea018dc5e683b705308250241c42549ab093)
   
- Currently using mock data. Once #9599 is completed, #9888 will change
these components to use the real data
- 2/21 - removed mock data. Until the API returns the host.mdm.profiles
data, settings indicator and modal will not render
# Checklist

- [x] Changes file added
- [x] Manual QA
- [x] Updated testing inventory

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-02-22 08:13:12 -08:00
RachelElysia
dbec2f85df
Fleet UI: Consistent URL validation (#9806) 2023-02-22 09:05:38 -05:00
Jacob Shandling
429edde09f
Make 2nd file download async to fix (#9711)
# Addresses #9680 
- Add 100ms timeout before 2nd key is downloaded from browser
- Fix file decoding to correctly download both keys
- Fix copy

# Checklist for submitter

- [x] Manual QA for all new/changed functionality

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
Co-authored-by: Roberto Dip <roberto@fleetdm.com>
2023-02-09 14:50:20 -08:00
Jacob Shandling
75809889bf
update links and flash error copy (#9703)
# Small copy / url updates

# Checklist for submitter
- [x] Manual QA for all new/changed functionality

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-02-09 14:49:09 -08:00
RachelElysia
fc2ecbc0a5
Fleet UI: 3 release fixes (#9673) 2023-02-03 16:33:29 -06:00
Jacob Shandling
9630f64e40
Wire up UI and server for correct ABM credentials download (#9660)
Final alignment of UI and server for ABM credential downloads

- [x] Added/updated test inventory
- [x] Manual QA for all new/changed functionality

---------

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
Co-authored-by: Roberto Dip <dip.jesusr@gmail.com>
2023-02-03 11:02:50 -08:00
Mike McNeil
8430ab0269
Capitalization (#9659)
https://fleetdm.com/handbook/marketing/content-style-guide#sentence-case
.
2023-02-03 12:45:11 -06:00
RachelElysia
9d594e1b4e
Fleet UI: MDM > ABM fix org_name key (#9655) 2023-02-03 11:36:27 -05:00
Jacob Shandling
f8bb93266b
Give clearer names to apple APN data on frontend (#9622)
Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-02-02 10:15:59 -08:00
Gabriel Hernandez
35f23431c6
Integrate with request CSR API (#9613) 2023-02-01 13:11:34 -06:00
Roberto Dip
e06b00df11
Add readonly MDM.EnabledAndConfigured to app config and device responses (#9575)
Related to #9571, this adds a new value to both responses which is
calculated when the Fleet server is started, and only set to `true` if
the server is properly configured for MDM.

This helps the UI to determine wether or not we should show certain UI
elements that we only want to show to servers with MDM enabled.
2023-02-01 14:47:52 -03:00
Mike McNeil
20836dc295
Sentence case (#9487)
https://fleetdm.com/handbook/marketing/content-style-guide#sentence-case
2023-01-25 17:33:13 -06:00
RachelElysia
c467aaad73
Fleet UI: MDM pending hosts (#9427) 2023-01-24 12:55:43 -05:00
RachelElysia
ea86159ed7
Fleet UI CX: Add license expiration to user settings page (#9396) 2023-01-19 09:21:22 -05:00
Jacob Shandling
78705a5a41
UI: Update local MDM default team UI after editing it in the modal (#9384)
# Fixes

On MDM settings page, local state of the MDM default team was not
getting updated when the user updates that team via the edit team modal.
Now it's fixed.

**Before:**


https://user-images.githubusercontent.com/61553566/213004206-4f0bb138-24ca-406b-8f65-d98f4c443993.mov


**After:**


https://user-images.githubusercontent.com/61553566/213004263-efa46870-4d36-4067-a77d-d8f5300d55fe.mov




# Checklist for submitter

- [x] Manual QA for all new/changed functionality

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-01-17 15:33:04 -08:00
Jacob Shandling
d551768606
UI: Edit team modal (#9248)
# Addresses #8872

# Implements

- A modal on the MDM settings tab to change the default Apple Business
Manager team
https://www.loom.com/share/0eb45931d9db4a60843b5d427bdc9e61

# Checklist for submitter
- [x] Changes file added for user-visible changes in `changes/`
- [x] Manual QA for all new/changed functionality

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-01-17 09:12:24 -08:00
Jacob Shandling
6c04cc24d7
UI: Settings modals mdm (#9156)
# Addresses parts 1 and 2 of #8872

[Demo (updated
1/6)](https://www.loom.com/share/be6d21cd3dfd42019a96431848ced7a3)

1/9: updated Success state with canonical Fleet icon and new copy:
<img width="669" alt="Screenshot 2023-01-09 at 5 17 58 PM"
src="https://user-images.githubusercontent.com/61553566/211440074-a69c420a-920c-40dd-a96f-f2d3917ad73a.png">

TODO:
- finalize API call once those specs are clarified and implemented:
https://github.com/fleetdm/fleet/issues/9202
- tests
- Change team modal (pt3)

Co-authored-by: Jacob Shandling <jacob@fleetdm.com>
2023-01-10 12:19:46 -08:00
Gabriel Hernandez
97902a779f small style fixes after main merge 2023-01-05 18:00:40 +00:00
Gabriel Hernandez
71a2e8f517 merge in main 2023-01-05 17:48:46 +00:00
Gabriel Hernandez
a2d672435d
update buttons to match new styleguide (#9183)
* update button to follow new style guide

* update button styles for inverted ghost buttons

* update a color name to match new styleguide
2023-01-05 15:23:27 +00:00
RachelElysia
68aefc8e56
Fleet UI Hackathon: Empty states (#9094) 2023-01-04 14:16:34 -05:00
Gabriel Hernandez
afed2e35e0
change integration page layout to side nav layout. (#9057) 2023-01-04 18:39:39 +00:00
RachelElysia
929421f3bd
Fleet UI: MDM settings page (#8977) 2022-12-16 17:33:10 -05:00
RachelElysia
29feeeb768
Fleet UI: Rebase fix (#9040) 2022-12-15 12:06:09 -05:00
RachelElysia
51d1cf8569
Fleet UI: Add critical policy option (#8758) 2022-12-14 13:57:57 -05:00
Gabriel Hernandez
22abdd4ed8
add frontend directories for mdm (#8968) 2022-12-08 14:28:39 -06:00
RachelElysia
82ff4ab6e3
Frontend: New CustomLink component (#8375) 2022-10-27 14:06:57 -04:00
RachelElysia
3eaceec64d
Fleet UI: App-wide use of host's display_name (#8169) 2022-10-14 14:26:15 -05:00
RachelElysia
0291a709e2
Fleet UI Bug Fix: Error adding integration doesn't clear fields (#7988) 2022-09-27 21:04:19 -04:00
RachelElysia
55b844715d
UI: Consistent code for anchor elements, specifically external links (#6542) 2022-09-02 15:28:42 -04:00
RachelElysia
93e684d524
Frontend: Cleanup implied types, unused imports and variables (#7439) 2022-09-01 11:28:02 -04:00
RachelElysia
e64dd73b54
Fleet UI: Button loading spinners (#7124)
Co-authored-by: Luke Heath <luke@fleetdm.com>
2022-08-29 08:21:37 -07:00
Gabriel Hernandez
a0ae8eb77c
normalise styling on setting pages for sandbox mode messaging and integrations (#7114) 2022-08-09 10:45:42 -05:00
RachelElysia
7a035c42c6
Fleet UI: Hitting enter global modal parameter, rename modals to match UI (#6939) 2022-08-04 11:05:11 -04:00
RachelElysia
f00647379e
UI: Fix disabled cursor with/without tooltip (#6846) 2022-07-25 16:22:00 -04:00
RachelElysia
733abe1aa7
Manage Host Page: Render host disk space (#6593) 2022-07-18 16:37:38 -04:00
RachelElysia
b058365c4e
UI: Spiffier tooltip (#6642) 2022-07-15 15:10:35 -04:00
Luke Heath
9651539f75
Update API token modal to include more information (#5994) 2022-06-02 18:03:03 -05:00
RachelElysia
34a2d3e483
UI Zendesk integrations (#5356) 2022-05-10 21:33:30 -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
974d1fed42
Create integration UI: FE validation for https protocol (#5586) 2022-05-05 17:08:18 -04:00
RachelElysia
1899db5202
Integration page can update to empty array (#5593) 2022-05-05 14:04:34 -04:00
RachelElysia
6b34f32e88
Frontend Tech Debt: All data/page errors use same component (#5455) 2022-05-03 16:57:08 -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
67ca6d37dd
UI: Jira password deprecated, use Jira API token (#5067) 2022-04-12 11:33:59 -04:00
RachelElysia
d885758a6a
UI: Settings > Integrations tab, Software Vulnerabilities Webhook v. Integration (#4874) 2022-04-11 15:04:41 -04:00