Commit Graph

85 Commits

Author SHA1 Message Date
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
Mike McNeil
3e1f4fe44f
Update config.yml 2021-03-23 07:35:41 -05:00
Mike McNeil
1835ee0284
Update feature-request.md 2021-03-23 07:24:17 -05:00
Mike McNeil
6b867c13f0
Delete z-new-project.md 2021-03-23 07:19:34 -05:00
Mike McNeil
44d7894226
Delete question.md 2021-03-23 07:18:10 -05:00
Mike McNeil
532f5a6c50
Delete z-new-task.md 2021-03-23 07:15:38 -05:00
Mike McNeil
eee2b98d88
Update bug-report.md 2021-03-23 07:15:28 -05:00
Mike McNeil
b187c823ce
Update bug-report.md 2021-03-23 06:56:57 -05:00
Mike McNeil
e88e2c8957
Update bug-report.md 2021-03-23 06:52:21 -05:00
Mike McNeil
7e8dbab235
merge templates 2021-03-23 06:37:45 -05:00
Mike McNeil
dbb4709cf5
Add prompt to join Slack since it'll tend to get questions answered more quickly 2021-03-23 04:55:03 -05:00
Mike McNeil
b4eaec2093
Default to transparency re: identities of fleetdm team members 2021-03-19 18:56:03 -05:00
James Alseth
1da89ea987
Publish Helm chart (#475)
This adds a GH Action to publish the updated Helm chart with each new release. It can also be triggered manually if needed.

Fixes #345
2021-03-17 11:09:01 -07:00
Zach Wasserman
fbc1636994
Improve E2E testing and test documentation (#448)
- Add Makefile commands for E2E testing.
- Document E2E testing.
- Cleanup other test documentation.
2021-03-11 15:55:58 -08:00
noahtalerman
1a5d1e80e0
Project issue template v2 (#442)
This PR includes changes to the internal project issue template.
- The template now requests more when describing the problem the project is trying to solve and why the stated problem is important.
- More flexibility for how the project's solution is described and how the solution's implementation is planned.
2021-03-10 16:39:53 -08:00
Zach Wasserman
df0e3675be
Remove second call to docker-compose in CI tests (#389)
This caused errors from Docker thinking we were trying to start
duplicate containers. The benefit was minimal.
2021-03-04 18:34:33 -08:00
Zach Wasserman
20f21fafe4
Migrate tests to GitHub Actions and add E2E testing (#381)
- Migrate unit tests and linting from CircleCI to GitHub Actions
- Add E2E test in CI run
2021-03-04 17:13:28 -08:00
Zach Wasserman
de0b3324b1
Add AWS Lambda as logging plugin (#347)
This plugin invokes the provided function with each log line as the
payload.

Closes #342
2021-02-24 10:02:26 -08:00
Mike McNeil
13a91f2227 Clean out issue template
See previous commit (I just forgot to empty out the issue.)

This will make it easier for us to do more work in the open.
2021-02-22 15:30:16 -06:00
Mike McNeil
7438085248 Add issue template
This will make it easier for us to do more work in the open.
2021-02-22 15:29:02 -06:00
Mike Thomas
1c71d397a4
Update z-new-teammate-onboarding.md (#312)
Added Github links for public and confidential issues to the onboarding process doc.
2021-02-16 17:32:51 -08:00
Mike McNeil
ea2454a0d9
Update onboarding process to reflect Reclaim.ai status sync 2021-02-12 01:50:33 -06:00
Mike McNeil
f6391f97b0
Update z-new-project.md 2021-02-12 00:15:31 -06:00