Commit Graph

311 Commits

Author SHA1 Message Date
Eric
4093650599
Website: Add Fleet Premium CTA to documentation pages (#9796)
Closes: https://github.com/fleetdm/fleet/issues/9785

Changes:
- Updated the documentation page script to set a `currentDocsSection`
variable
- Added Fleet Premium calls to action that link to the `/upgrade` page
to the left sidebar on documentation pages.


cc: @jarodreyes
2023-02-10 18:37:47 -06:00
Eric
874ca7bc8a
Website: Update masthead (#9782)
Closes: https://github.com/fleetdm/fleet/issues/9762

Changes:
- `routes.js`: Changed the `currentPage` local variable to
`currentSection` and updated the value based each on the dropdown
navigation menus in the website header. This variable is used to make a
section "active" in the header.
- `view-basic-article` & `view-articles`: Updated these view actions to
set a `currentSection` variable based on the Markdown article category.
- `Layout.less`: Updated styles to match wireframes
- `layout.ejs`: Updated the styles and layout of the website header to
match wireframes.
- `layout-landing.ejs`, `layout-sandbox.ejs` & `layout-customer.ejs`:
Updated to match wireframes and stylesheet changes.
- `basic-documentation.less`: adjusted the position of the sticky right
sidebar.

---------

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-02-10 18:33:12 -06:00
Eric
bdd9634c6a
Website: Update <scrollable-tweets> component (#9760)
Closes: https://github.com/fleetdm/fleet/issues/9656

Changes:
- Updated the <scrollable-tweets> compontent to:
  - update the current page indicator on mobile devices
- Handle scrolling to a page when the component has been scrolled
manually
  - increase the size of the page indicator on smaller screens
2023-02-08 20:04:56 -06:00
Eric
c1787e2724
Website: Update pricing footnote (#9742)
Changes:
 - Moved the footnote about additional hosts on the pricing page.
2023-02-07 17:30:16 -06:00
Noah Talerman
0591d6769d
4.27.0 release article: Update image (#9724)
- Replace image for failed login attempts
2023-02-07 14:02:27 -05:00
Mike Thomas
e5bd7b9a58
4.27.0 release article: Image update (#9719)
- Updated the image on the release post.
2023-02-07 12:29:16 -05:00
Andrew Baker
d22d82f889
Release post 4.27.0 (#9709)
Co-authored-by: Eric <eashaw@sailsjs.com>
2023-02-06 17:36:26 -05:00
Eric
fb81af833b
Website: Update pricing calculator (#9700)
Changes: 
- Updated the Fleet Ultimate card to show two decimal places on the
price per host, and to change color when the price per host changes
because of the pricing calculator.
- Fixed a bug where the pricing calculator would display as $NaN/month
when each field of the pricing calculator is set to 0 hosts.
2023-02-06 11:59:39 -06:00
Eric
416963de36
Website: Update pricing page (#9621)
Closes https://github.com/fleetdm/confidential/issues/1818

Changes:
- Updated the layout and content of the `/pricing` page
- `pricing-features-table.yml`: Added an "Ultimate" tier with three
features.
- `build-static-content.js` - Updated the build script to add support
for the "Ultimate" tier in `pricing-features-table.yml`

---------

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
2023-02-06 10:41:36 -06:00
Eric
fc130d9ab3
Website: Add Fleet Premium landing page (#9572)
Changes:
- Added a new page: `/upgrade-to-fleet-premium`
- Added a new action `deliver-premium-upgrade-form.js`
- Updated policies, routes, importer.less, and regenerated
cloud.setup.js

.

---------

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
2023-02-01 08:53:09 +09:00
Luke Heath
a61e8ef728
Rename new avatar image files (#9584) 2023-01-31 13:54:45 -06:00
Dave Herder
bb2801ac38
submitting new blogpost content (#9563)
adding new article for splunk , osquery, mitre attck

---------

Co-authored-by: Dave Herder <dave@fleetdm.com>
Co-authored-by: Andrew Baker <89049099+DrewBakerfdm@users.noreply.github.com>
Co-authored-by: Eric <eashaw@sailsjs.com>
2023-01-30 17:20:46 -05:00
Eric
c238b90ecc
Website: Add RSS feeds for articles (#9526)
Closes: https://github.com/fleetdm/fleet/issues/6493

Changes:
- Added a new action, `get-one-rss-feed.js`. This action generates and
returns RSS feeds for article categories on fleetdm.com.
    - This action has one required input: `categoryName`.
- Lives at `/rss/[Article Category Name]` e.g.,
`fleetdm.com/rss/releases`
- If `articles` is provided as the category, it returns an RSS feed of
all articles published on our blog.
- Updated `view-basic-article.js` to set an `articleCategorySlug`
variable, that is used to link to the RSS feed for an article category
from an article page.
- Added a "subscribe" button to articles and article category pages that
links to an RSS feed for that category.
2023-01-27 16:58:53 -06:00
Eric
d006f1205d
Website: Add Docsearch to /tables pages (#9517)
Changes:
- Added Algolia DocSearch to osquery schema table pages.
2023-01-26 14:48:39 -06:00
Eric
4fd1efe98a
Website: Add API to send signed CSR emails (#8408)
This pull request relies on the `mdm-gen-cert` command from
https://github.com/fleetdm/fleet/pull/8884.
Closes: https://github.com/fleetdm/fleet/issues/8223

Changes:
- Updated the deploy Fleet website workflow to:
   - Add Go as a dependency
   - Build the mdm-gen-cert binary in `/website/.tools/`
   - add the `/.tools/` folder to the Heroku app
- Added `deliver-apple-csr.js` -  an API that:
- can be called by making a `POST` request to
`/api/v1/deliver-apple-csr`
   - accepts `csr` as an input
- runs the `mdm-gen-cert` command with the `csr` set as an environment
variable
- returns an `invalidEmailDomain` response if the user's email domain is
in the array of banned email domains.
- saves the users organization and email address to the website's
database
- Sends an email to the requesting user's email address with the signed
CSR attached as a text file named `apple-apns-request.txt`
   - Posts a message to a channel in the Fleet Slack.
- Added a new model: `CertificateSigningRequests` that contains two
required attributes: `emailAddress` and `organization`
- Added a new email template `email-signed-csr-for-apns`
- Updated routes, policies, eslintrc, and rebuilt cloud-sdk


Before this can be merged, we will need to:
- [x] Add new config variables in Heroku
   - [x] `sails.config.custom.mdmVendorCertPem` 
   - [x] `sails.config.custom.mdmVendorKeyPem`
   - [x] `sails.config.custom.mdmVendorKeyPassphrase`
   - [x] `sails.config.custom.slackWebhookUrlForMDMSignups`
- [x] Add the `CertificateSigningRequests` model to the website's
database
2023-01-19 14:43:14 -06:00
Eric
d5663b25ed
Website: Update /connect-vanta form (#9421)
Changes: 
- Added a "Try again" button to the form on the `connect-vanta` page,
allowing users to update the form and resubmit without refreshing the
page.
2023-01-18 19:14:12 -06:00
Andrew Baker
bb6e8b5006
Add 4.26.0 release post (#9366)
# Checklist for submitter

If some of the following don't apply, delete the relevant line.

- [ ] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [ ] Documented any API changes (docs/Using-Fleet/REST-API.md or
docs/Contributing/API-for-contributors.md)
- [ ] Documented any permissions changes
- [ ] Input data is properly validated, `SELECT *` is avoided, SQL
injection is prevented (using placeholders for values in statements)
- [ ] Added support on fleet's osquery simulator `cmd/osquery-perf` for
new osquery data ingestion features.
- [ ] Added/updated tests
- [ ] Manual QA for all new/changed functionality
  - For Orbit and Fleet Desktop changes:
- [ ] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [ ] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).

Co-authored-by: Eric <eashaw@sailsjs.com>
Co-authored-by: Noah Talerman <47070608+noahtalerman@users.noreply.github.com>
2023-01-17 12:25:01 -05:00
Eric
1a6ba352ce
Website: Update MDM beta signup form (#9306)
Changes:
- Added a "Number of devices" input to the MDM beta signup form on the
`/device-management` page.
- Updated `website/api/controllers/deliver-mdm-beta-signup.js` to accept
a `numberOfHosts` input, and to include that value in the request to the
Zapier webhook.
2023-01-13 13:48:05 -06:00
Eric
09b88d0341
Website: Add "Requires MDM" badge to /queries page (#9296)
Changes:
- Added a "MDM required" tag to the queries in the standard query
library that use the `managed_policies` table.
- Updated the build script to add a `requiresMdm` value to queries added
to `builtStaticContent.queries`, and to set it to true if a query has
the "MDM required" tags
- Updated the `/queries` page to add a "Requires MDM" badge to queries
that have `requiresMdm: true`
 . . .

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-01-12 10:05:03 -06:00
Mike Thomas
a23dbb76d3
Updated icons on hero image (#9297)
Updated incorrect icon on main image.
2023-01-11 19:38:22 -06:00
Eric
f9dc7ce216
Website: /device-management updates (#9295)
Related to: https://github.com/fleetdm/fleet/issues/9266

Changes:
- Updated the width of the modal form on the `/device-management` page.
- Updated the form inputs on the `/device-management` page to clear
errors when a user changes the input.
- Updated button styles to match wireframes.
- Updated the page indicator in the scrollable-tweets component.

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
2023-01-11 19:36:00 -06:00
Eric
16eb5ef1ea
Website: Update required Fleet Sandbox registration form inputs (#9293)
Changes:
- Updated the Fleet sandbox registration page to make a first name, last
name, and organization required.
- Removed the "REQUIRED" label from the email address input on the Fleet
Sandbox registration page and removed styles for it from the page's
stylesheet.
- Updated the `organization` input of `signup.js` to be required.
- Changed the POST request to Zapier in `signup.js` to always use the
information provided.
2023-01-11 19:35:12 -06:00
Eric
a5b66b7b07
Website: update /device-management page id (#9287)
Changes:
- Changed the id of the `/device-management` page to `device-management`
(previously `fleet-mdm`)
2023-01-11 14:12:32 -06:00
Eric
9ddd5f2ede
Website: Add MDM page (#9264)
Changes:
- Added a new page: `/device-management`
- Added a new action: `deliver-mdm-beta-signup.js` - This action sends a
post request to a Zapier webhook when a user submits a form on the
`/device-managment` page.
- Added a new component: `<scrollable-tweets>`
- Updated routes, importer, policies, cloud-sdk, and
`download-sitemap.js`
- Updated the route for our success story articles to live at
`fleetdm.com/success-stories/*` (Previously at
`fleetdm.com/device-management/*`) and updated `config/routes.js` to
have redirects for each article in that category
- Updated the "Use cases" navigation item to "Platform" and changed the
platform link to "How it works"

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-01-11 11:29:38 -06:00
Eric
112dffbd1e
Website: Update license key generator action and helper inputs (#9265)
Changes:
- Updated the `expiresAt` input description in
`api/controllers/admin/generate-license-key.js` and
`api/helpers/create-license-key.js`
- Updated timestamps sent to `generate-license-key` and
`create-license-key` to be in seconds.

 . .

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-01-11 11:11:43 -06:00
Eric
9bd023dbbf
Website: Add optional inputs to Fleet Sandbox registration form. (#9203)
cc: @alexmitchellii

Changes:
- Added optional inputs to the Fleet Sandbox signup page:
   - First name
   - Last name
   - Organization
- Updated signup.js to send the optional inputs to the Zapier webhook

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2023-01-06 18:37:10 -06:00
Eric
896918bc79
Website: Fleet Premium subscription renewals (#9200)
https://github.com/fleetdm/fleet/issues/9172

Changes:
- Added
`website/api/controllers/webhooks/recieve-stripe-subscription-events.js`
a webhook for receiving Stripe events.
- If the stripe event received is from a user's subscription
automatically renewing, A new license key is generated, the subscription
record is updated, and a renewal confirmation email is sent.
- If the stripe event received is from a user's subscription's upcoming
renewal, a renewal notification email is sent.
- If any other event type is received from Stripe, the webhook returns a
200 response.
- Added new email templates:
   - `email-subscription-renewal-confirmation`
   - `email-upcoming-subscription-renewal`
- Updated `website/api/controllers/admin/view-email-template-preview.js`
to have fake data for the added email templates.
- Updated `website/api/controllers/customers/view-dashboard.js` to set
two boolean variables: `subscriptionExpiresSoon` and
`subscriptionHasBeenRecentlyRenewed`
- Updated the customer dashboard to display notifications on the top of
the page if a user's subscription will renew in the next 30 days, or if
the user's subscription has been renewed in the past 30 days.
- `website/views/layouts/layout-email.ejs` - Updated the font, padding,
and text color to match wireframes.
2023-01-06 18:36:29 -06:00
Mike Thomas
cb230a8291
Mike t patch 4.25 release post update (#9173)
* Added Fleet MDM image

* updated image
2023-01-03 20:36:45 -06:00
Eric
ebee69312a
Replace 4.25 release post cover image (#9161) 2023-01-04 08:33:37 +09:00
Chris McGillicuddy
75e8af2b2d
Create fleet-4.25.0.md (#9125)
* Create fleet-4.25.0.md

* Add files via upload

* Update fleet-4.25.0.md

* Update fleet-4.25.0.md

* updated images

Uploaded new activity feed image.

* image and markdown fix

* Update fleet-4.25.0.md

* Update fleet-4.25.0.md

* update image filenames

* Update fleet-4.25.0.md

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
Co-authored-by: Eric <eashaw@sailsjs.com>
2023-01-03 11:24:01 -06:00
Eric
ace1fa0d37
Website: Add Vanta integration (#9072)
* stubing out required pages

* Add Vanta authorization action, create externalAuthorization(name will most likely change) Model

* rebuild cloud sdk

* Draft script

* update importer, update connect-vanta page

* layout updates

* update action

* change model name

* update model name

* update script

* Update vanta callback page

* add new model to lint config

* update model attributes

* update vanta connection page to require url protocol, fix lint error in routes

* rename page, vanta-callback » vanta-authorization

* Update errors, handle incomplete connections

* Update model attribute names

* Remove console.log(), add error message for non-Fleet Premium users

* update importer, fix lint error

* update send-data-to-vanta script

* Update create-vanta-authorization-request.js

* update page name

* update comments and error messages

* layout changes

* update status codes used in exits

* Add comment

* Update .eslintrc

* Update create-vanta-authorization-request.js

* Update view-vanta-authorization.js

* Update VantaConnection.js

* Update send-data-to-vanta.js

* Update create-vanta-authorization-request.js

* Update mobile styles

* update text

* update error text, show sucess message if account has already been authorized

* lint fix

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-12-21 23:39:39 -06:00
Mike Thomas
499e0a2890
Fleet Cloud beta ribbon (#8990)
* Fleet Cloud beta ribbon

I added the ribbon back to the top of fleetdm.com pages to promote the beta campaign.

@eashaw, please can you take over when you're back online? There's a repeated class headerCTAHidden that I'm not sure whether to keep or not.

* remove unused css class

Co-authored-by: Eric <eashaw@sailsjs.com>
2022-12-12 14:19:11 -06:00
Mike Thomas
a6d3938182
image update (#8989)
swapped image to most recent version.
2022-12-11 16:02:18 -06:00
Eric
70bf6b3344
Website: add Fleet Cloud banner to homepage (#8988) 2022-12-09 19:29:41 -06:00
Chris McGillicuddy
e5b30c46b1
Create fleet-4.24.0.md (#8908)
* Create fleet-4.24.0.md

* Add files via upload

* Update fleet-4.24.0.md

Added cover image.

* Update fleet-4.24.0.md

* update article image filename

* Update fleet-4.24.0.md

* Update fleet-4.24.0.md

* Added images

* Update fleet-4.24.0.md

Co-authored-by: Eric <eashaw@sailsjs.com>
Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
2022-12-06 07:57:54 -06:00
Eric
2d0f33f369
Website: Add script for creating HTML email partials from Markdown articles (#7574)
* add to-html-email

* email-preview

* add build-html-email script, update .gitignore

* email preview and email-templates pages, update routes, importer and policies

* add newsletter email layout, build-html-email script, to-html-email updates

* Update .gitignore

* add newsletter emails section to growth handbook

* update scripts

* update fonts in emails

* Update README.md

* Update build-html-email.js

* update comments, add page scripts to layouts

* revert change to build-static-content

* update script

* update email layout and helper

* update handbook entry

* update template data and helper

* update email layout

* update fake data and unsubscribe link

* move added handbook section to the marketing handbook

* rename script

* update colors in unused email template

* update capitalization in helper

* view-email-preview » view-email-template-preview

* Hide emails generated from markdown if they don't exist

* update preview page

* update markdown email directory, create sample article email

* lint fixes, add target="_blank" to links in emails

* update page layouts & styles

* update sample newsletter email, code font, newsletter layout

* Update README.md

* Update view-email-template-preview.js

Co-authored-by: Tim Kern <tim@fleetdm.com>
Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-12-05 16:30:24 -06:00
Eric
48f86b21b1
Website: Add admin tool for generating Fleet Premium licenses. (#8478)
* create admin/generate-license page

* create generate-license-key action, update routes, policies, importer, regenerate cloud-sdk

* update layouts

* use moment

* Update view-generate-license.js

* Fixing lint errors

* Update generate-license-key.js

* Update redirects in is-super-admin policy

* redirect super admins to the license generator

* Update login form

* requested changes from mike-j-thomas

* Update generate-license.page.js

* Update is-super-admin.js

* Update view-login.js

* Update generate-license-key.js

* Update generate-license-key.js

* use naming convention for js timestamps

* validTo » expiresAt

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-12-05 14:53:16 -06:00
Eric
d92d9980ce
Website: Build pricing page from yaml file (#8549)
* Create pricing-features-table.yml

* update built-static-content to add the pricing table configuration to builtStaticContent

* Update pricing page to use builtStaticContent.pricingTable

* Update view-pricing.js

* update pricing table, lint fix

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-12-05 14:11:46 -06:00
Eric
1fa64e180c
Update array sorting (#8895) 2022-12-01 12:33:20 -06:00
Eric
dfefe64b3b
Website: update edit button on table pages (#8807) 2022-11-23 16:31:07 -06:00
Chris McGillicuddy
12ed511623
Create fleet-4.23.0.md (#8665)
* Create fleet-4.23.0.md

* Added Fleet 4.23.0 release screenshots

* Update fleet-4.23.0.md

Added screenshots and list of more new features, improvements, and bug fixes.

* Add Fleet 4.23.0 cover image

* Update fleet-4.23.0.md

* Update fleet-4.23.0.md

* Update fleet-4.23.0.md

* Update fleet-4.23.0.md

* Update image filenames

Co-authored-by: Eric <eashaw@sailsjs.com>
2022-11-14 17:50:08 -06:00
Eric
0853d338f8
Website: Update table pages (#8410)
* add link to "defaults to root" text and evented table labels

* override requires_user_context value in merged schema

* update link styles on table pages

* Update get-extended-osquery-schema.js

* encodeURIComponent

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2022-11-10 17:12:24 -06:00
Eric
89aed5787a
Website: Fix alignment of links in text on logos page (#8633) 2022-11-08 19:02:23 -06:00
Andrew Baker
52193af711
Drew bakerfdm podcast episode 7 (#8567)
* Fleet podcast episode 7 images upload

* Initial article post

Still need to update podbean links once available

* Removing due to incorrect title

* Removing due to incorrect title

* Reuploading correct thumbnails

* Update the-future-of-device-management-ep7.md

* Updated podbean link

* Unused image - removing

* Update articles/the-future-of-device-management-ep7.md

Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>

* Update articles/the-future-of-device-management-ep7.md

Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>

* Update the-future-of-device-management-ep7.md

* Update articles/the-future-of-device-management-ep7.md

Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>

Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>
2022-11-03 17:35:37 -04:00
Eric
b0c8c451a2
Website: Keep platform filter when navigating to another table page. (#8465) 2022-11-02 17:33:17 -05:00
Chris McGillicuddy
d342d1e646
Add BOD 23-01 cover image (#8489)
* Add BOD 23-01 cover image

* Create bod-23-01.md

* Article: How Fleet helps agencies with BOD 23-01
2022-10-28 17:16:37 -05:00
Benjamin Edwards
08b2ab5c18
update deployment guide (#8447)
* update deployment guide and add additional descriptions/comments for terraform resources

* add architecture diagram to deployment guide
2022-10-26 15:52:54 -04:00
Mike Thomas
155d3ef6a6
Handbook - update navigation on Marketing page (#8418)
* update navigation

## The problem

After consolidating Growth, Community, and Digital Experience (Brand) under "Marketing", the side navigation has become overwhelming and unclear what sections falls into each category.

## How to fix

Since the navigation can only display top-level sections, I propose splitting the navigation as follows:

- Marketing
- Community
- Brand
- Rituals
- Slack channels

Navigating to each of these sections will then display a content table for each, labeled "In this section" (as currently exists).

To do this, I made the following changes:

- Changed heading hierarchy throughout page
- added styling to h3 to include border-top

## Caveat

Since h2 is used to define the three categories on this page (Marketing, Community, Brand), h3 tag is now utilized to define sub-sections for each of the main categories. However, this styling is specific to the Marketing page of the handbook, and should not be applied to the other pages – which I do not know how to achieve.

* add page title to purpose, add marketing page-specific styles

Co-authored-by: Eric <eashaw@sailsjs.com>
2022-10-26 13:45:13 -05:00
Mike Thomas
a4b7756474
Fleet 4.22.0 release post (#8357)
* Fleet 4.22.0 release post

Fleet 4.22.0 release post.

* Article: Fleet 4.22.0.md

* Indenting bullets Fleet 4.22.0.md

* Editing list Fleet 4.22.0.md

* Update fleet-4.22.0.md

* Update fleet-4.22.0.md

Co-authored-by: Chris McGillicuddy <108031970+chris-mcgillicuddy@users.noreply.github.com>
2022-10-21 15:44:52 -05:00
Mike Thomas
5a74bff27b
Updated favicon (#8358)
I updated the favicon for fleetdm.com and the core product. Resolves
2022-10-20 12:13:51 -05:00