Commit Graph

1759 Commits

Author SHA1 Message Date
noahtalerman
adbcfc6407
Add instructions for resolving failed website deploy action to /handbook (#801) 2021-05-18 18:47:18 -04:00
Zach Wasserman
1638d5e2da
Update Redigo version and timeouts (#793)
- Use newer version of Redigo that properly handles TLS mismatch.
- Add timeouts for Redis TCP connection.

Fixes #792
2021-05-18 15:04:14 -07:00
noahtalerman
27cfe19ac2
Disable "Refetch" button for offline hosts (#799)
- Disable "Refetch" button if the host is offline
- Disable the refetch tooltip if the host is in the `refetch_requested` state.
2021-05-18 18:02:39 -04:00
noahtalerman
c965e93339
Add persistent fetching to Host details page and edit query modal styles (#791)
* Improve UX custom query option

* Persist custom button on filter

* Remove superfluous CSS

* Edge case custom query button

* Add sentence case and edit modal margins

* Add persistent refetch state. Edit querymodal styles

* verbiage tweak (since filters are cleared)

Co-authored-by: RachelElysia <rachel.elysia.perkins@gmail.com>
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2021-05-18 15:46:44 -05:00
Mike McNeil
cc018bcfa6
Add "contributors" to YAML format to enable attribution (#780) 2021-05-18 10:33:40 -05:00
RachelElysia
401eb1b16c
Fix website onhover cursor (#786) 2021-05-18 11:23:24 -04:00
noahtalerman
d7a4eb6b69
Add manual QA documentation to handbook (#770)
- Add a living "Manual QA" document to Fleet's handbook.
- The goal of this document is to provide a public location to capture Fleet's manual QA process.
2021-05-17 19:19:24 -04:00
RachelElysia
2036b4ded6
Host details page: Refetch button (frontend) (#765)
Feature: Refetch button on the host details page
* Button refetches data for an online host
* Button disabled with UI tooltip for an offline host
2021-05-17 19:10:59 -04:00
William Theaker
2d1c8e7d4d
Replace README logo with one from orbit (#760)
- Add Fleet logo with transparent background to top-level README
2021-05-17 19:04:16 -04:00
RachelElysia
117130701a
Fix url-prefix links (#769)
* Fix various url-prefix links

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
2021-05-17 17:04:21 -04:00
Mike Thomas
2401078131
Clickable Fleet logo (#773)
Added a tag to logo
2021-05-17 13:08:43 -05:00
WangXiang
468754f2b9
Format and clean code (#774)
1. use [staticcheck](https://staticcheck.io/) to check the code, and fix some issues.
2. use `go fmt` to format the code.
3. use `go mod tidy` clean the go mod.
2021-05-17 10:29:50 -07:00
Zach Wasserman
027b12e6c4
Fix foreign key cascade for query stats table (#776)
Introduces the appropriate cascading for foreign keys on the
scheduled_query_stats table to prevent errors when deleting the
associated packs, scheduled queries, and queries.

Fixes #764
Fixes #766
2021-05-17 10:26:01 -07:00
Mike McNeil
9a4e3e4c0c
50,000 devices => 100,000 devices 2021-05-17 10:25:19 -05:00
Mike Thomas
08b659ce40
Update README.md - merging to Fleet website (#755)
Update handbook to include information about when to merge to Fleet website.
2021-05-14 13:52:22 -04:00
noahtalerman
7d9ca2cee7
Convert standard query library to YAML format (#749)
- Create `/configuration-files/` directory inside of `/1-Using-Fleet` directory. This directory contains example Fleet configuration files in yaml format. Replaces the `/examples` directory.
- Create `/standard-query-library/` directory inside of `/1-Using-Fleet` directory. This directory contains the new `standard-query-library.yml`. This file will act as the source of community contributions to the standard query library.
- Edit references to `/examples` directory
2021-05-14 13:38:33 -04:00
Mike McNeil
9d420068ef
Update capabilities chart + copy edits + fix lint (was broken for local dev only - re md compilation) (#768)
* fix linter so it doesn't freak out when developing w/ compiled markdown content locally

* copy edits + add back call to action at bottom of homepage so there's somewhere to go
2021-05-14 03:25:40 -05:00
RachelElysia
381956b528
Host custom query button modification (#758)
* Improve UX custom query option
* Edge case custom query button persists
2021-05-13 19:29:31 -04:00
Josh Brower
86745ba2dc
Add ability to duplicate live query results in Redis (#762)
This feature enables a new config option (redis.duplicate_results). When set to true, all Live Query results will be copied to an additional Redis pubsub channel named LQDuplicate

This is useful in a scenario that would involve shipping the Live Query results outside of Fleet, near-realtime.
2021-05-13 16:01:31 -07:00
Zach Wasserman
daa8eeb9d0
Add refetch host API (#767)
This allows the host details to be refetched on the next check in,
rather than waiting for the normal interval to go by. Associated UI
changes are in-progress.

- Migration and service methods for requesting refetch.
- Expose refetch over API.
- Change detail query logic to respect this flag.
2021-05-13 13:09:22 -07:00
Mike McNeil
32b4d53e7f
swap warning for error
@gillespi314 btw you did this exactly right, I just realized when I tested this out (after realizing I had it configured wrong in prod) that I should have recommended an error instead of a warning
2021-05-13 09:24:53 -05:00
gillespi314
74b4cd535f
Revise website contact form (#753)
* Add topic select, revise content of contact form

* Fix styling of btn-primary class

* Restore deliver-contact-form-message function

* Fix lesshint linting errors

* Fix on hover style of btn-primary

* Adjust box-shadow for btn-primary

* Update contact form

* Fix lesshint linting errors

* Add personalization to submitted form modal

* Add responsive styles to contact form
2021-05-13 09:13:34 -05:00
RachelElysia
4d913b166c
Host Details Page: Convert seconds to larger units, clean repetitive edge case code (#750)
* Create and use seconds conversion helper function
* Debug edge cases between packs and pack_stats discrepancies
2021-05-12 11:49:57 -04:00
Mike McNeil
e01157d681 fix gitignore 2021-05-11 16:01:25 -05:00
noahtalerman
834ff4371c
Add "how to automatically target hosts" to 1-Using Fleet/FAQ docs (#751)
- Add question and answer to the following question: How do I automatically add hosts to packs when the hosts enroll to Fleet?
2021-05-10 18:54:27 -04:00
RachelElysia
58445ede82
Replace icons (#747)
* Replaces dropdown icon, close icon, carat icon, collapse icon, add icon

Co-authored-by: Sarah Gillespie <sarahgillespi314@gmail.com>
2021-05-10 16:00:34 -04:00
Mike Thomas
724278bd17
Query library crashes (#745)
* query-library-crashes

Daily addition to the query library.

* name change

changed the name to "Get crashes".

* Resolving conflicts in filenames

Resolving conflicts in filenames and deleting old version.
2021-05-11 01:06:44 +09:00
Mike Thomas
fa3c4e7446
query-library-crashes (#743)
Daily addition to the query library.
2021-05-10 22:57:40 +09:00
Mike McNeil
56e143a14f
Compile markdown docs (#714)
* Brought in the mostly-unchanged stuff from Sails website- changed just enough to get it working

* inline beforeConvert and afterConvert, for readability

because it's better when you tell a story with the parts of the story in order

* trivial (change arg name for clarity)

* trivial (apply more up-to-date err callback convention)

* modernize some of the bits relying on reassigning arguments

* convert the rest of the way to async/await

* trivial

* just aesthetics

* remove reliance on app-level config

* mostly i'm doing this to remember how it works

* normalize better so this can be more flexible

* this makes it work (albeit needs a bit more fluffing)

* strip out more sails-specific stuff

* clean up menu files between runs, scrape off a bit more technical debt

* scrape out some more dead code

* use devDependencies for markdown compilation stuff since it won't be compiling at runtime

* stub script for compiling markdown content

* Fill in implementation of script, rename helper.

* add note about the non-markdown file problem

* tweak output paths for clarity

* Improve generated menu content and set up groundwork for being able to easily access it via config

* Use .sailsrc to hold onto menu content, so it's injected into config for easier access (rather than reading JSON files whenever needed)

* more explicit tmp filename, in case we forget how this works later

* fix typo in build script (missing .js extension)

* Stub query detail page and a dev route for developing it

http://localhost:2024/sandbox/example-query

* fix helper friendlyName

* Run compilation in series to avoid race condition in doc-templater when cloning from the same repo.  Add todos about sitemap and further menu data cleanup.

* make sandbox actually useful

* Help prevent accidental checking in of compiled HTML files.

* rename script and generated folder in partials/

* fix/expand script metadata
2021-05-09 23:48:59 -05:00
Michael Samuel
fb45806088
Copy log fields into GCP PubSub attributes (#712)
Add a config setting to allow copying message fields and decorations into Google Pub/Sub attributes, making it possible to use these values for subscription filters.
2021-05-08 12:29:52 -07:00
dsbaha
1cb514c460
Add flag to disable HTTP keepalives (#741)
In some environments, disabling keepalives helps prevent buildup of TCP sockets.
2021-05-07 17:29:54 -07:00
RachelElysia
d4147e916d
Host details page: packs accordion (#724)
* Pack queries accordion
* Connects to query_stats API
* No packs edge case

Co-authored-by: Sarah Gillespie <sarahgillespi314@gmail.com>
2021-05-07 18:18:52 -04:00
Mike Thomas
02973ec4a2
website-add-jobs-link (#737)
* website-add-jobs-link

Add jobs link to the footer.
Also fixed up some padding issues in the footer at tablet and mobile breakpoints.

* Update layout.less
2021-05-08 06:19:55 +09:00
Zach Wasserman
56a9e2cf20
Add description to returned query stats (#742)
Gets the description from the associated query.
2021-05-07 12:47:52 -07:00
gillespi314
5af0d6b870
Update website styling (#715)
* Update website styling

* Convert ellipse margin from rem to px

* Adjust padding to match neighboring card element

* Fix linting errors

* Remove unneeded div
2021-05-07 13:54:29 -05:00
Mike Thomas
eaf576fda2
query-library-get-system-uptime (#736) 2021-05-07 21:22:03 +09:00
Zach Wasserman
f788254e61
Implement storage of scheduled query statistics (#735)
Track all data from the osquery_schedule table on a per-host basis. This
data is now returned when retrieving host details in the API.
2021-05-06 21:05:09 -07:00
Mike Thomas
b0af428794
Added osquery link to testimonial (#730)
* Added osquery link to testimonial

* Update homepage.ejs

Changed inline-block style to d-inline-block class.
2021-05-06 16:48:00 -05:00
Mike McNeil
c67d9bc8eb
Send contact form messages to Slack (#733)
* bring back action to handle contact form

* deliver contact form messages to Slack.
2021-05-06 13:46:52 -05:00
Mike McNeil
f5d58a738c
Set up fleetdm.com/apply to list of openings (#729) 2021-05-05 22:07:15 -05:00
Mike McNeil
26c841bcd5
update calendly links & dedupe quickstart for now (#728)
* update calendly link

* update other calendly link

* consolidate /get-started

* Update routes.js

* demux to /get-started

* lint fix

* lint fix
2021-05-05 21:27:58 -05:00
noahtalerman
ea05195200
Add questions to FAQ and add documentation section to CONTRIBUTING.md (#726)
- Add section on contributing to Fleet documentation. This section covers the use of relative links and best practices for anchor links
- Add 3 questions and their respective answers to the FAQ section in the `1-Using-Fleet` docs
2021-05-05 18:00:05 -04:00
Mike McNeil
7c88de8f49
better experience for infrequent npm users 2021-05-05 10:39:11 -05:00
noahtalerman
9fb9da31f5
Bring Orbit docs into Fleet docs and add FAQ section (#717)
- Add new `2-Orbit-osquery/` directory to the top-level `docs/` directory.
- Rename `2-Deployment/` -> `3-Deployment/` to accommodate new Orbit directory.
- Rename `3-Contribution/` ->  `4-Contribution/` to accommodate new Orbit directory.
- Add FAQ section to Orbit documentation.
2021-05-04 15:50:18 -04:00
Zach Wasserman
3b81cb88e9
Update documentation on size of Fleet deployments (#718)
Better represents the growth of Fleet deployment size.
2021-05-04 11:09:23 -07:00
Mike McNeil
dbe0cdeb44
call for contributors 2021-05-03 19:53:04 -05:00
RachelElysia
b8aec63413
Host details page styling (#710)
* Host details page restyled to match Figma
* Page uses flexboxes
* Text match Figma
2021-05-03 18:58:23 -04:00
Zach Wasserman
ffc5c5a91e
Add package-lock.json to .gitignore (#708) 2021-05-03 08:10:27 -07:00
noahtalerman
0f48eb8525
Bring new style variables from teams into master (#707)
This PR brings the style changes made in the "Align Fleet UI colors with Figma components"
#615 and "Align Fleet UI with Figma (spacing and fonts)" #628 PRs into the master branch.
2021-04-30 17:32:50 -04:00
RachelElysia
0376555683
E2e test: invite/activate user (#699)
* Tests user invite, email link, and user activation
* Disables cypress fixtures folder

Reviews and suggestions by: Zach Wasserman <zach@fleetdm.com>
2021-04-30 11:47:33 -04:00