Commit Graph

92 Commits

Author SHA1 Message Date
noahtalerman
05b8e432e5
Update nav layout and styles. Cleanup unused css. (#71)
The goal of this PR is to update the main navigation's layout and styles in accordance with the mockups created by @edamamedesign. The orgLogoUrl still needs to be tweaked so uploaded photos display nicely. For now, only the `username` is displayed at the top of the navigation and not the `orgName`.
2020-11-30 12:07:44 -05:00
noahtalerman
51cfb07f64
Implement global colors. Add italic font. (#64)
The goal of this PR was to insert new colors, remove legacy colors, and update only the styles accordingly. The Nunito Sans Italic font was also added.

Later PRs will include layout, copy, and style change to individual components. These later changes will more exactly resemble the current mockups.
2020-11-24 08:59:03 -08:00
noahtalerman
8df16949f5
Add fleet assets including logos, 404 image, and 500 image. (#61)
This is the second PR as part of the Fleet UI Refresh #38.

The goal of this PR was to insert all updated Fleet assets and remove all old assets. More style changes, including the exact sizing and placement of the new images, will occur in a future PR.
2020-11-23 11:22:42 -08:00
noahtalerman
23ce98ec51
Add Nunito Sans font and update global styles. (#59)
This is the first PR as a part of the Fleet UI Refresh #38.

Changes include:

- Add Nunito Sans font files and modify global styles to reflect the font change.
- Modify global font variables to reflect new sizing and weight naming conventions.
-- New sizing and naming conventions:
--- SIZE: xx-small: 12px, x-small: 14px, small: 16px, medium: 20px, large: 24px, x-large: 28px
--- WEIGHT: regular: 400, bold: 700
- Remove the old Oxygen font files.

Changes to other style sheets reflect the changes to the new font sizing and weight naming conventions for global variables. The changes don't necessarily use the correct size (as illustrated by mockups). Those "up to spec" sizing changes are to come.
2020-11-19 16:51:22 -08:00
noahtalerman
0ff621670c
Changed the Help link and other links to fleetdm/fleet documentation 2020-11-04 21:36:06 -08:00
noahtalerman
8e37b8938c
Implement osquery options page (#11)
Created 3 new components: <OsqueryOptionsPage /> , <OsqueryOptionsForm />, and <YamlAce />

The <OsqueryOptionsPage /> component is rendered at the new route /admin/osquery. The user navigates to this route by selecting the "Osquery Options" sub-navigation in the admin dropdown menu.

On the Osquery Options page, the user is presented with a ACE editor filled with the current osquery options. The current osquery options are retrieved from the serve when the page component mounts. These current osquery options are stored in the osquery slice of state.

Clicking "UPDATE OPTIONS" will trigger a form submit and hit the v1/kolide/spec/osquery_options endpoint if the yaml is valid. If the yaml is not valid, an error message is presented to the user with details on what the error is and where it occurred. If the yaml is valid, the osquery options will be updated even if the options haven't change.
2020-11-04 18:00:51 -08:00
Zachary Wasserman
81c72b286c
Fix URL Prefix for Edit Pack button (#2277)
Fixes #2275
2020-08-06 16:29:24 -07:00
Zachary Wasserman
b0595748f1 Implement pagination of hosts in the web UI
This commit takes advantage of the existing pagination APIs in the Fleet
server, and provides additional APIs to support pagination in the web
UI. Doing this dramatically reduces the response sizes for requests from
the UI, and limits the performance impact of UI clients on the Fleet and
MySQL servers.
2020-07-21 14:05:46 -07:00
Zachary Wasserman
168e1f9007
Update table schema for osquery 4.4.0 (#2253)
Osquery schema JSON has changed, so parsing code has been updated

Closes #2232
2020-07-07 09:47:50 -07:00
Zachary Wasserman
ccc8581229
Upgrade eslint and dependencies (#2255)
Updates configuration and fixes issues introduced
2020-07-06 19:31:48 -07:00
Zachary Wasserman
adf87140a7
Add ability to prefix Fleet URLs (#2112)
- Add the server_url_prefix flag for configuring this functionality
- Add prefix handling to the server routes
- Refactor JS to use appropriate paths from modules
- Use JS template to get URL prefix into JS environment
- Update webpack config to support prefixing

Thanks to securityonion.net for sponsoring the development of this feature.

Closes #1661
2019-10-16 16:40:45 -07:00
Zachary Wasserman
4135ad7d3f
Hide labels for platforms with no hosts. (#1998)
Rather than displaying 0 hosts for each of the platforms, remove the platform
listing. The platforms will appear once they have a host.
2019-02-12 12:03:55 -08:00
Zachary Wasserman
6767369d48
Upgrade React to version 16 (#1983)
- Update all associated dependencies
- Very minimal changes to components
- Extensive refactoring for broken tests

Closes #1978
2019-01-14 13:45:28 -08:00
Zachary Wasserman
dc4b97d15f
Fix React deprecation warnings (#1976)
- Refactor imports of PropTypes to use the prop-types package
- Upgrade dependencies that were setting off deprecation warnings
2019-01-06 17:25:33 -08:00
Zachary Wasserman
759a69b5b7
Upgrade Bourbon to 5.1.0 and fix deprecation warnings (#1973)
- Replace uses of deprecated Bourbon helpers with raw CSS
- Add autoprefixer into the build chain to prefix the now removed helpers

This process was achieved by running through each of the deprecation warnings and using the following bash function to replace it in all files:

```
function bourbon-deprecate() {
    grep -rl "@include $1" ./frontend --exclude-dir=.git | xargs sed -i '' -E "s/@include $1[(](.*)[)]/$1: \1/g"
}
```

For some helpers, this did not result in valid CSS, so manual modifications were made.

Closes #1189 #1274
2019-01-03 12:46:55 -08:00
Caleb Coy
847cb193fc Flatten visual styles (#1908) 2018-09-18 14:14:13 -07:00
Mike Arpaia
de6dbd0f13
Remove decorators and osquery config from the UI (#1769) 2018-05-08 11:03:32 -06:00
Mike Arpaia
4b8645ae72 Remove references to public docs site (#1559)
With this being open source, we can hard link to markdown files, so
there is no longer a need for the public https://docs.kolide.com site
2017-10-12 09:45:59 -06:00
John Murphy
990c911867 Fix user menu on Firefox (#1542)
Closes #1536

Firefox doesn't propagate mouse events to components nested inside a button element. So we switch button to a div to fix.
2017-08-02 14:02:09 -05:00
Kyle Knight
61973ecceb Fix up styles in IE11 (#1391)
* Fix up styles in IE11

* Getting check marks to show
2017-06-18 12:38:16 -06:00
John Murphy
151ce35e8c Front end support for decorator crud ops (#1509)
This PR closes #1448, providing front end CRUD operations for decorators.* Front end support for decorator crud ops.
2017-05-30 13:36:29 -05:00
Kyle Knight
54bd9a8f66 Nudge the Apple icon over a bit to line up everything (#1428) 2017-04-07 07:50:03 -07:00
John Murphy
1e72c44e49 Fixed sidebar so config item only shows up for admin users. (#1443) 2017-03-23 09:48:48 -05:00
Kyle Knight
28f0247654 Fix busted scrolling after full screen query results (#1400) 2017-03-13 11:20:34 -04:00
Kyle Knight
14fa984bd3 Update All platform text to use Icon (#1363) 2017-03-08 08:40:02 -08:00
Kyle Knight
b7fb83ce4b Full Screen Query Results (#1238) 2017-02-24 18:01:43 -05:00
Kyle Knight
0716d19c52 Removing 'Show All' in Query and Packs (#1275) 2017-02-23 14:18:23 -05:00
Kyle Knight
2f6a09f858 Fixing flyout menu title and position wrapping (#1272) 2017-02-23 11:32:14 -05:00
Mike Stone
6446fee2f4 Render label description or default description (#1215) 2017-02-21 17:40:59 -05:00
Mike Stone
8b4b43fb82 938 pack query inspector (#1177)
* API client for patching a scheduled query

* Change select to check on ScheduledQueriesLists

* Clicking a scheduled query list item selects the scheduled query

* Helpers to format scheduled queries for client/server

* Allow updating a scheduled query

* Form cancel button
2017-02-17 13:11:43 -05:00
Mike Stone
de57acc39a Link query name to the query page (#1248) 2017-02-17 13:11:12 -05:00
Mike Arpaia
4294bb1e4e Fixing broken documentation links (#1174)
With the new URL pattern that we schemed up for the docs site, these
links need to updated in the application.
2017-02-06 12:37:26 -07:00
Kyle Knight
58e4b43a1f Fix sidebar responsive gap (#1092) 2017-01-25 09:35:59 -05:00
Kyle Knight
8f6cd65f4b Sorting Query and Packs tables alphabetically (#1093) 2017-01-25 08:31:29 -06:00
Kyle Knight
3ec6b10324 Allow users to select multiple platforms for pack query (#1074) 2017-01-24 18:52:48 -05:00
Kyle Knight
197b729b61 Add New Host Modal (#1052) 2017-01-20 12:52:57 -05:00
Mike Stone
e56e94b86e Add host details throughout app (#973) 2017-01-20 12:02:13 -05:00
Mike Stone
c52ccbe74f Add “New” label to Hosts' page (#1018) 2017-01-19 16:29:49 -05:00
Kyle Knight
b83b244793 Add in message if label has no hosts (#1038) 2017-01-19 16:14:44 -05:00
Kyle Knight
2a6ccfe4f6 Remove Add Hosts page (#1035) 2017-01-19 14:44:35 -05:00
Kyle Knight
2b55cf3acf Remove all signs of Import osquery config page (#1015) 2017-01-19 12:24:01 -05:00
Mike Stone
53bf49e821 Open link to help in a new tab (#999) 2017-01-18 09:40:28 -05:00
Kyle Knight
f169b68bdf Style osquery config page (#968) 2017-01-17 11:38:56 -05:00
Mike Stone
630ba45448 756 status labels (#967)
* API client to get status label summary

* Handle status label counts in state

* Display status counts in hosts side panel
2017-01-16 15:59:01 -05:00
Kyle Knight
ed1fa22729 Add caret back into the user menu dropdown (#950) 2017-01-13 15:23:11 -05:00
Kyle Knight
6f0fb864d7 Styling packs list in Manage Query sidebar (#856) 2017-01-11 19:31:23 -05:00
Kyle Knight
38120b9fca Sidebar, titles, and descriptions should now force wrap or ellipsis (#905)
* Sidebar, titles, and descriptions should now force wrap or ellipsis

* Fixing lint issue
2017-01-11 14:35:45 -06:00
Kyle Knight
d6964d058f Remove descriptions from custom labels (#870) 2017-01-11 12:27:46 -07:00
Kyle Knight
242ee30531 Render username if no name is present (#854)
* Render username if no name is present

* Adding in unspecified job title
2017-01-11 08:40:58 -06:00
Kyle Knight
9ed7c44d0f Updating sidebar content on Manage Packs (#857)
* Updating sidebar content on Manage Packs

* Updating documentation link and some spelling issues
2017-01-10 13:09:55 -06:00