Commit Graph
107 Commits
Author SHA1 Message Date
Zach Wasserman 451493b1ea Update goreleaser configs for 4.2.0 (#1650) 2021-08-11 17:13:11 -07: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
Zach Wasserman ce89d851af Update semgrep configuration (#1581)
- Disable sarif generation (may have been causing bug in Semgrep).
- Enable manual workflow dispatch.
2021-08-06 10:02:45 -07:00
Zach Wasserman b1fb520a1d Add semgrep scanning configuration (#1571)
Runs a nightly semgrep scan.
2021-08-05 18:23:58 -07:00
Tomas Touceda b927f7064d Fix workflows 2021-08-05 13:16:49 -03:00
Tomas Touceda 4fe6b2c67d No need to login to docker hub for orbit 2021-08-04 17:00:19 -03:00
Tomas Touceda 9b9407a16d Update workflows 2021-08-04 17:00:19 -03:00
Tomas Touceda 82ab0a798e Add host users (#1334)
* Add host users

* Add changes file and test removing pull_request from the on test

* Remove users and store the removal timestamp

* Improve test yml to allow for PRs from forks
2021-07-13 17:15:38 -03:00
Zach Wasserman bd68c52a52 Configure CodeQL to target appropriate files (#1357)
Excludes vendored dependencies in fleetdm.com.
2021-07-13 12:27:09 -07:00
Zach Wasserman 00ebf5dcd3 Configure CodeQL Action (#1355)
Adds code quality checks via GitHub's built in CodeQL engine.
2021-07-12 10:25:49 -07:00
Martavis Parker 5d0c7e510e New Cypress configs and commands (#1268)
* #1024 added configs and commands to run

* #1024 fixed github actions for e2e tests

* #1024 optimized test configs
2021-07-01 10:32:12 -07:00
Zach Wasserman a3958ac24c Add write permission for release-helm Action (#1259)
- Also pin the Action to specific commit hash.
2021-06-29 12:43:13 -07:00
Zach Wasserman 2976e34935 Add environment to release action (#1222)
This allows the action to get access to Docker Hub credentials.
2021-06-25 19:58:35 -07:00
Zach Wasserman 5e26af701b Merge branch 'main' into teams 2021-06-25 18:48:20 -07:00
Zach Wasserman 07b89c4cbd Implement release automation (#1215)
- Use goreleaser to automate release process.
- Add new dockerfiles for fleet (with fleetctl) and fleetctl (only).
- Add GitHub Action Workflow to run goreleaser on new tag.
- Update NPM to match new archive naming.
2021-06-25 18:40:26 -07:00
noahtalerman e02b88d010 Update links to documentation so that they use main branch (#1151)
* Update to main branch

* Update link to releasing Fleet
2021-06-21 16:40:15 -05:00
noahtalerman 17a6c21224 Restructure documentation in preparation for docs living on fleetdm.com (#1143)
* Remove Orbit top level folder and rename folders to Deploying and Contributing

* Update link in doc README
2021-06-18 15:58:21 -05:00
Zach Wasserman 2ad557e3b3 Merge branch 'main' into teams 2021-06-18 09:42:20 -07:00
noahtalerman dca4cf0790 Add tips for asking follow up questions in support process documentation (#1091)
- Update /handbook/support-process.md
- Add github.com/issues to ignored links in markdown link check
2021-06-15 14:51:45 -04:00
Mike McNeil 3e15a163ef add :reproduce label 2021-06-15 11:27:07 -05:00
Mike McNeil 2da1da186d Fix website deploy script to accomodate master=>main 2021-06-10 14:22:31 -05:00
noahtalerman 0917ed0dce Add "Fleet tier" and "User role" as fields in "Bug" issue template (#998)
- Add a "Fleet tier" and "User role" to specify which tier of Fleet and which role the individual reporting the bug is assigned
- Edit Markdown Link Check GitHub action to run against the `main` branch
2021-06-07 19:06:41 -04:00
Zach Wasserman a73c5fac38 Explicitly set base branch for markdown link check (#985) 2021-06-06 19:18:28 -07:00
Zach Wasserman fa01df79d5 Merge branch 'master' into teams 2021-06-05 06:27:38 -07:00
WangXiang 06b2e564e6 Check whether the infra dependencies are ready before E2E test (#870)
Fixes #848
2021-06-02 16:56:44 -07:00
Zach Wasserman 417ef2c9b6 Refactor teams service methods (#910)
- Move team-related service methods to `ee/server/service`.
- Instantiate different service on startup based on license key.
- Refactor service errors into separate package.
- Add support for running E2E tests in both Core and Basic tiers.
2021-05-31 17:07:51 -07:00
Zach Wasserman 9876dbe6b6 Implement license loading and validation (#908)
- Load license from ES256 signed JWT key.
- Parse license claims into LicenseInfo struct.
- Update contribution documentation with sample license key.

Closes #816.
2021-05-31 11:35:15 -07:00
Mike McNeil 6f09fd53f4 Enable freeform issues 2021-05-29 22:22:26 -05:00
Mike McNeil 54af2d2c29 Restore the usefulness of Noah's GitHub notifications 2021-05-29 21:44:41 -05:00
Mike McNeil 09d9a7ce1d use latest labeling conventions in issue templates (#904)
* Update feature-request.md

* Update feature-request.md

* Update feature-request.md

* Update config.yml
2021-05-29 21:31:47 -05:00
noahtalerman 4cca4e7e7f Remove @fleetdm.com emails from fleetdm/fleet repo (#882)
- In tests and documentation, replace `@fleetdm.com` with `@example.com`
- In documentation, replace `hello@fleetdm.com` with `fleetdm.com/contact`
- In documentation, replace `security@fleetdm.com` with `fleetdm.com/contact`
- In Dockerfiles, replace `engineering@fleetdm.com` with `hello@fleetdm.com`. These two files are the only remaining files with a `@fleetdm.com` email.
2021-05-27 17:19:14 -04:00
noahtalerman f725a4e7f5 Add check-modified-files-only (#871)
- Set `check-modified-files-only` to `'yes'`
  - This is so we only check modified markdown files instead of checking all markdown files.
2021-05-26 11:07:29 -04:00
Mike McNeil 5e991899b6 Update deploy-fleet-website.yml (#867) 2021-05-26 03:46:21 -05:00
Mike McNeil d50b48e7c2 Absorb yaml queries into website, + stub /queries + /documentation (#812)
* Upgrade to get rid of REPL schmutz

* rename workflow to lessen ambiguity vs. markdown compilation of docs

* ensure lockfile makes it to fleetdm.com prod

* skip force git add of package-lock to avoid confusion for now. (reverts 4e7e23990c472e84f3f24391ef360a175f725609)

* rename build script (because now it won't always be markdown source files)

* update metadata to match prev commit

* change key name in generated sailsrc for consistency

* stub query library page

* used named params so others can tell what's up with the forcing

* expand comments

* expand comments

* intermediate commit- playing with inlining the guts from doctemplater

* stub basic docpage shell and a little page to preview that on

* Compile YAML and set up query library page

* clean sailsrc

* optimize build by running everything in parallel

* Add note about the fact that we don't even need to clone anything since we've consolidated it all into one repo now.  facepalm

* un-parallelize one bit that fails in CI if it's parallelized (it'll go away soon anyway)
2021-05-20 03:22:42 -05: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 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
Zach Wasserman efb1c3940a Test E2E CI (#662)
Due to Go build caching in #687, the dependencies were sometimes not started before the E2E test. This PR reorders startup of the dependencies so that they should almost always have time to finish startup.
2021-04-19 18:19:29 -07:00
Zach Wasserman 1e78c0ffe2 Speed up CI build/test (#657)
- Use NODE_ENV=development for Webpack in CI.
- Add caching for Webpack modules in development.
- Remove time of day from dates in version string (helps with build caching).
- Use Go cache in CI.

This makes about a 20% savings on the total time for the CI run.
2021-04-16 16:14:56 -07:00
Gabe Hernandez efb35b537a add prettier and have it format all fleet application code (#625)
* add prettier and have it format all js code except website:
:

* trying running prettier check in CI

* fix runs on in CI

* change CI job name

* fix prettier erros and fix CI
2021-04-12 14:32:25 +01:00
noahtalerman 9ec90bfe6e Provide documentation for reporting issues with the Fleet UI (#613)
- Add 2 sections in `CONTRIBUTING.md` these 2 sections correspond to the "Bug report" and "Report a security vulnerability" issue templates
- Add "Is this an issue with the Fleet UI" to "Bug report" section in `CONTRIBUTING.md`. This includes a walkthrough for opening the browser's JS console and network requests
- Fix misspelled file name
2021-04-07 16:30:32 -07:00
Zach Wasserman 22f0608c1e Fix path for website test (#581) 2021-04-02 14:41:27 -07:00
Zach Wasserman 7aedb92b70 Add GitHub Action to test website on PR (#579) 2021-04-02 13:33:36 -07:00
Zach Wasserman 2203bd81a2 Add support for IdP-initiated SSO login (#556)
This feature is off by default due to minor potential security concerns
with IdP-initiated SSO (see
https://auth0.com/docs/protocols/saml-protocol/saml-configuration-options/identity-provider-initiated-single-sign-on#risks-of-using-an-identity-provider-initiated-sso-flow).

Closes #478
2021-03-30 12:56:20 -07:00
Mike McNeil 7198b691bb Delete z-new-teammate-onboarding.md 2021-03-23 08:11:42 -05:00
Mike McNeil f1c6658c2e Update z-new-teammate-onboarding.md 2021-03-23 07:46:45 -05:00
Mike McNeil 7a4e83337b Update feature-request.md 2021-03-23 07:44:55 -05:00
Mike McNeil bd61180b60 Update bug-report.md 2021-03-23 07:44:12 -05:00
Mike McNeil 5329894179 Update config.yml 2021-03-23 07:43:11 -05:00
Mike McNeil a6350efcb9 Update config.yml 2021-03-23 07:42:06 -05:00
Mike McNeil 39c21edfdc Update feature-request.md 2021-03-23 07:36:02 -05:00