Commit Graph
2463 Commits
Author SHA1 Message Date
Tomas Touceda 70f728fe84 Make vulnerability processing more configurable (#1718)
* Make vulnerability processing more configurable

* Simplify leader selection
2021-08-18 17:25:14 -03:00
Tomas Touceda 402303bc5d Add All Linux label (#1582)
* Add All Linux label

* Change name to Linux instead of All Linux to see if e2e likes it better

* Revert "Change name to Linux instead of All Linux to see if e2e likes it better"

This reverts commit 26b79f214e3b744e73270c544f89bb698575f6ea.

* Fix all linux label insert
2021-08-18 15:55:48 -03:00
Mike Thomas 0f7e507b35 Update basic-documentation.ejs (#1717)
This link change was missed this morning.

Background - we don't want to send existing users from the docs to the pricing page, so until we are able to deploy the new Get Started page, we are temporarily sending this link to the install guide on GitHub.
2021-08-18 23:56:13 +09:00
Mike Thomas 4ac2546b63 Update layout.ejs (#1715)
Moved documentation link to top-level navigation.
2021-08-18 23:12:09 +09:00
Mike Thomas 1339315f73 Update pricing.ejs (#1714)
Updated capabilities to match latest release.
2021-08-18 23:02:36 +09:00
gillespi314 8c38b587f4 Fix query table sorting (#1708) 2021-08-18 09:00:02 -05:00
noahtalerman 4b5891edbc Add minimum width for Fleet UI and "Pack" tables on "Host details" page and "Queries" table (#1701)
- Add `$min-app-width: 1200px` to define the minimum width of the Fleet UI. 
- Remove sort form the "Query name" column in the "Pack" tables on the **Host details** page
- Set static widths all column in the "Pack" tables on the **Host details** page except the "Query name" column to support the new minimum width
- Set static widths for all columns in the "Queries" table except the "Name" and "Author" columns to support the new minimum width
2021-08-18 09:17:16 -04:00
Mike McNeil 1ca14ff143 Include doc links in sitemap.xml even in production (now that they're real) (#1710) 2021-08-17 20:16:29 -05:00
Mike McNeil 5659ba92e4 Deploy compiled HTML to the remote even though it's in the gitignore. (#1709) 2021-08-17 20:08:25 -05:00
8097251565 Put live documentation on fleetdm.com (#1380)
* minor clarifications

* further expand comments and stubs

* absorb custom titles embedded in metadata, plus further comment expansion and a followup fix for something i left hanging in f8cbc14829d91e7577c63307fd9c4346dbc229bb

* Skip non-markdown files and use real path maths

* Prep for running in parallel (Remove `continue` so this isn't dependent on the `for` loop)

* determine + track unique HTML output paths

* Compile markdown + spit out real HTML  (without involving any but the crunchy nougaty dependency from the very center of everything)

* add md metadata parsing

* add timestamp

* Update build-static-content.js

* attach misc metadata as "other"

* how doc images might should work (this also aligns with how the select few images in the sailsjs.com docs work)

* add file extension to generated HTML files

* "options"=>"meta"

* Make "htmlId" useful for alphabetically sorting pages within their bottom-level section

See recent comments on https://github.com/fleetdm/fleet/issues/706 for more information.

* list out the most important, specific build-time transformations

* Omit ordering prefixes like "1-" from expected content page URLs

* add a little zone for consolidating backwards compatible permalinks

* interpret README.md files by mapping their URLs to match their containing folder

* clarify plan for images

* decrease probability of collisions

* Make capitalization smarter using known acronyms, proper nouns, and a smarter numeric word trim

* Resolve app path in case pwd is different in prod

* Delete HTML output from previous runs, if any

* condense the stuff about github emojis

* got rid of "permalink" thing, since id gets automatically attached during markdown compilation anyway

Also "permalink" isn't even a good name for what this is.  See https://github.com/fleetdm/fleet/issues/706#issuecomment-884693931

* …and that eliminates the need for the cheerio dep!

* Bring in bubbles+syntax highlighting into build script, and remove sails.helpers.compileMarkdownContent()  -- this leaves link munging as a todo though

* trivial (condense comments)

* Remove unused code from toHtml() helper

* Implemented target="_blank" and root-relative-ification

* remove todo about emojis after testing and verifying it works just fine

* trivial: add link to comment in case github emojis matter at some point

* consolidate "what ifs" in comments

* Leave this up to Sarah, for now. (Either bring it back here in the build script or do it all on the frontend)

* Enable /docs and /handbook routes, and add example of a redirect for a legacy/deprecated URL

* implement routing

* Upgrade deps

this takes advantages of the latest work from @eashaw, @rachaelshaw, and the rest of the Sails community

* tweak var names and comments

* make readme pages use their folder names to determine their default (fallback) titles

as discussed in https://github.com/fleetdm/fleet/issues/706#issuecomment-884788002

* first (good enough for now) pass at link rewriting

as discussed in https://github.com/fleetdm/fleet/issues/706#issuecomment-884742072

* Adapt docs pages to build from markdown output

* Continue work on docs pages

* Add landing page

* Remove unused code; minor changes

* Replace regex

* fixes https://github.com/fleetdm/fleet/pull/1380#issuecomment-891429581

* Don't rely on "path" being a global var

* Syle fleetdm doc pages

* Continue work on docs pages

* Fix linting error

* Disable lesshint style warnings

* parasails-has-no-page-script attribute

Added a parasails-has-no-page-script attribute to the docs template, added a check for that attribute in parasails.js and removed the empty page script for 498

* bring in latest parasails dep

* trivial

* Update links to dedupe and not open in new tab unless actually external

* Disable handbook for now til styles are ready

* fix CTA links

* trivial

* make sitemap.xml get served in prod

* hide search boxes for now, remove hard-coded version and make releases open in new tab

* clean out unused files

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: eashaw <caglc@live.com>
2021-08-17 19:55:13 -05:00
RachelElysia 93ace41f2b Manage Users Page: Fix teams header to render on refresh (#1687)
* Fix teams header to render on refresh
2021-08-17 16:39:24 -07:00
Martin Angers 3c9d7fd4bb Add explicit sync to disk for critical file writes (#1686)
For Orbit operations, make an explicit *os.File.Sync() call and check the 
error, to make sure the writes are fully flushed to disk.

Closes #1679 .
2021-08-17 08:41:56 -04:00
gillespi314 1e11f0f669 FleetUI: Update column sort options (#1680)
* Disable sort remove on react-table

* Update hosts tests
2021-08-16 16:02:00 -05:00
Martin Angers ed428d707b Clarify a few points in the Contributing docs (#1692)
Document that `fleet serve --dev` requires `make generate-dev` and
that for changelog we now use changes files.
2021-08-16 14:59:03 -04:00
Tomas Touceda 8d1a3409dc Add netgo tag to prevent crashes on linux when making external requests (#1681)
* Add netgo tag to prevent crashes on linux when making external requests

* Remove unused step
2021-08-16 15:48:45 -03:00
noahtalerman 20792e7356 Add new loading spinner, edit text-icon buttons (spiffier) and rename SiteNavSidePanel (#1684)
- Update icon for "Edit columns" button on **Hosts** page
- Update `text-icon` button variant
- Add new loading spinner
- Rename `SiteNavSidePanel` to `SiteTopNav`
- Use `text-icon` button variant where appropriate
- Disable pagination on the **Schedule** page
2021-08-16 14:47:04 -04:00
noahtalerman 9cd4bbe784 Prevent strange rendering of "Hosts" table at smaller screen widths (#1691)
- Update `min-width` for all main (center) content that has a sidebar
2021-08-16 14:45:48 -04:00
RachelElysia f6091509f4 Fleet UI: Side bar restyled, update UI for Team/Roles to match Figma (#1659)
* Style all settings side panels
* Add builtin label icons
* Update tests aligning jest userStub and adminUserStub
* Update tests adding cypress checks for user teams/roles
2021-08-16 12:25:51 -04:00
Zach Wasserman 57ce0d4bfd Reorder load of standard queries in fleetctl preview (#1676)
Load queries before starting simulated hosts -- This is a much quicker
step and allows the user to see the queries in the interface while they
wait for hosts to start.
2021-08-16 09:22:10 -07:00
Martavis Parker 4a4c3c4949 fixed table column wrapping for manage queries page (#1638) 2021-08-16 09:19:27 -07:00
RachelElysia 7d23ff2b53 Align API docs and frontend interfaces with API GET responses (#1602) 2021-08-16 10:30:19 -04:00
Zach Wasserman 9a5842d9c3 Document minimal online keys for Orbit updates (#1678) 2021-08-15 16:47:24 -07:00
Zach Wasserman 64145c5633 Prepare for 4.2.1 release (#1675) 2021-08-14 09:26:47 -07:00
Zach Wasserman 450e15b346 Update fleetctl for compatibility with new monorepo tags (#1654) 2021-08-14 09:22:07 -07:00
Benjamin Edwards 2d5c7ed683 issue 1313 -- add file destination for convert command (#1672)
* add file destination flag for convert command, add tests
* add changes file
* remove leftover debugging code, add comment explaing why sorting was necessary
* update docs for fleetctl convert
* Update cmd/fleetctl/convert_test.go
Co-authored-by: Zach Wasserman <zach@fleetdm.com>
2021-08-13 20:42:58 -04:00
RachelElysia e8aae0dd25 Spiffier UI: Label pills (#1660) 2021-08-13 17:34:04 -04:00
noahtalerman b2c7faf251 Update "Ask questions about your devices" walkthrough and update API docs (#1670)
- Remove "How to add Fleet's standard query library" section from the "Ask questions about your devices" walkthrough.
- Add `license`, `vulnerability_settings`, and `logging` properties to the example response for the `GET /api/v1/fleet/config` and `PATCH /api/v1/fleet/config` API routes
2021-08-13 15:01:53 -04:00
noahtalerman e2e812d9c2 Add correct query (#1669)
- Replace incorrect query
2021-08-13 15:00:46 -04:00
Tomas Touceda 53e25cf59d Use tx if within a tx (#1668) 2021-08-13 14:59:31 -03:00
Tomas Touceda 512f5defce Detect centos as a host platform more accurately (#1664)
* Detect centos as a host platform more accurately

* Add test for centos host labels
2021-08-13 13:22:09 -03:00
Mike McNeil a1a1b8c5da change zombie notice: 1 hour -> 24h (#1665) 2021-08-13 09:50:58 -05:00
RachelElysia dc77974ef6 Fleet UI: Reroute homepage (#1640)
* Reroute homepage
* Update e2e tests brittle URLs
2021-08-13 10:41:53 -04:00
RachelElysia 4858f3ace0 Flash Messages: Fix 4 second success render (#1662) 2021-08-13 10:29:04 -04:00
Tomas Touceda 5b8a607a81 Add support for MariaDB 10.5.4 and later (#1658)
* Add support for MariaDB 10.5.4 and later

* Fix tests

* Add changes file

* Use require.JSONEq instead of our own version of it
2021-08-13 11:16:19 -03:00
Tomas Touceda 96c0244c04 Fix redis locking receive (#1655)
* Receive redis data with timeout to not hold the connection

* Address review comments
2021-08-13 11:16:11 -03:00
gillespi314 e85996c291 Fleetdm.com: Replace osquery logo (#1663)
* Replace osquery logo
2021-08-12 22:35:34 -05:00
Mike Thomas 4cb315e2f1 Update 12-Supported-browsers.md (#1653)
Grammar/typo fix.
2021-08-11 20:26:29 -05:00
Mike Thomas bc24e88b66 Update Ask-questions-about-your-devices.md 2021-08-12 10:20:54 +09:00
Zach Wasserman b21ca5411a Move static flags to fleet from fleetctl (#1652) 2021-08-11 18:15:58 -07:00
Zach Wasserman 09b561d5ae Add static to ldflags (#1651)
Should fix "not found" error with CGO compiled Fleet binary due to
missing static C libraries.
2021-08-11 18:02:49 -07:00
noahtalerman 2df7c71749 Prepare for Fleet 4.2.0 (#1645) 2021-08-11 17:14:32 -07:00
Zach Wasserman 451493b1ea Update goreleaser configs for 4.2.0 (#1650) 2021-08-11 17:13:11 -07:00
Tomas Touceda e8def4af00 Allow to refetch hosts if you are an observer/maintainer for the team for that host (#1649) 2021-08-11 19:01:37 -03:00
RachelElysia d88fac6b76 Fix button font size (#1648) 2021-08-11 17:57:37 -04:00
Zach Wasserman 544652e833 Clarify label responses and API docs (#1633)
- Include platform and description even when empty in API responses.
- Update docs to indicate immutability.
2021-08-11 14:57:05 -07:00
RachelElysia b2ee3bcb4b Manage Hosts Page: Empty page state (#1634) 2021-08-11 17:37:36 -04:00
Mike Thomas 1d6aa19990 Update Ask-questions-about-your-devices.md 2021-08-12 06:34:24 +09:00
Mike Thomas dca5aac6e1 Update Ask-questions-about-your-devices.md (#1642)
* Update Ask-questions-about-your-devices.md

Added screenshots.

* Update Ask-questions-about-your-devices.md

changed to img tags for better control of sizing.

* Update docs/1-Using-Fleet/tutorials/Ask-questions-about-your-devices.md

* Update docs/1-Using-Fleet/tutorials/Ask-questions-about-your-devices.md

* Update docs/1-Using-Fleet/tutorials/Ask-questions-about-your-devices.md

* Update docs/1-Using-Fleet/tutorials/Ask-questions-about-your-devices.md
2021-08-12 06:31:34 +09:00
gillespi314 790d169e14 Display updated team name after edit (#1621) 2021-08-11 15:37:24 -05:00
Tomas Touceda 3d8a766ca1 Make receive calls to redis conn thread safe (#1641)
* Make receive calls to redis conn thread safe

Also removes REDIS_TEST env var. Redis is lightweight and fast, no need
to skip these tests.

* No need to increase the wait
2021-08-11 17:34:35 -03:00