Commit graph

549 commits

Author SHA1 Message Date
Sam Pfluger
21091190e0
Add Raiven Williams (#28660) 2025-04-29 15:23:28 -05:00
Mike McNeil
242658183a
Introducing sails.helpers.ai.satisfy() (#28590)
Constraint satisfaction for dummies like me
2025-04-26 15:16:07 -05:00
Eric
d5bf210354
Website: Add support for new usage statistic (#28384)
Closes: #28255

Changes:
- Updated the receive-usage-analytics webhook to support a new input
`numHostsABMPending`
- Added a `numHostsABMPending` attribute to the
`HistoricalUsageSnapshot` model
2025-04-24 00:34:21 -05:00
Eric
1df3270545
Website: Update CRM records created in custom hook (#28461)
Changes:
- Updated the Historical event crm records created by the website's
custom hook to include an `Event_type__c` value and to not set a
`Visited_on__c` timestamp.
2025-04-23 00:18:51 -05:00
Eric
a90e26e217
Website: Update /try-fleet redirect (#28427)
Closes: #28364

Changes:
- Updated the /try-fleet page to redirect logged-out users to the
/register page
- Updated the signup and login forms to redirect users to the try-fleet
page (if they navigated it that page before signing up/logging in)
2025-04-21 18:22:49 -05:00
Eric
cd5533ad76
Website: Update receive-from-github webhook (#28312)
Closes: #27852

Changes:
- Updated the receive-from-github webhook to automatically apply the
"~ga4-annotation" label to pull requests that change the homepage, the
pricing page, or the primary tagline partial.
- Updated the Github webhook to send details about a pull request to a
Zapier webhook if the pull request has the "~ga4-annotation" label when
it is merged.
2025-04-16 17:57:24 -05:00
Eric
3c5a2dfb3a
Website: Update testimonials page view action (#28100)
Changes:
- Added a missing comma a list of strings in `view-testimonials.js`
2025-04-10 13:22:09 -05:00
Mike McNeil
3f820f34c0
Update testimonials.yml (#27870)
Co-authored-by: Eric <eashaw@sailsjs.com>
2025-04-10 12:12:09 -05:00
Eric
6e70d44c61
Website: update save-questionnaire-progress (#28045)
Closes: https://github.com/fleetdm/confidential/issues/10240

Changes:
- Updated `save-questionnaire-progress` to only check the answer to the
`what-do-you-manage-mdm` step if the user actually answered that
question.
2025-04-09 13:57:21 -05:00
Jordan Montgomery
2808331296
Add heteronymous reddit testimonial (#27910)
# Checklist for submitter

Adds new Reddit sourced testimonial:
![Screenshot 2025-04-04 at 4 38
25 PM](https://github.com/user-attachments/assets/6c2a62ef-166e-49fe-a7b0-cbc7227cc136)
2025-04-08 10:20:06 -05:00
Eric
80a2521739
Website: update order of quotes on landing pages. (#27939)
Changes:
- Updated the order of quotes on landing pages
- Updated the order of quotes on the /testimonials page
2025-04-07 12:05:18 -05:00
Mike McNeil
b3071c832b
Update testimonials.yml (#27871)
Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
Co-authored-by: Eric <eashaw@sailsjs.com>
2025-04-04 12:50:24 -05:00
Sam Pfluger
26ada37c50
Update receive-from-github.js (#27863) 2025-04-03 18:24:43 -05:00
Eric
e0b0219a89
Website: Update start CTA for logged-out users (#27228)
Closes: https://github.com/fleetdm/confidential/issues/9975

Changes:
- Updated the start CTA to be collapsed by default for users who aren't
signed in.
2025-03-18 17:39:41 -05:00
Eric
ceec0e4cdd
Website: Update stripe webhook (#27241)
Changes:
- updated the stripe webhook to support `invoice.paid` events when a
subscription's host count is not increased.
2025-03-18 13:09:21 -05:00
Eric
7e678509be
Website: update /releases, /announcements, and /guides article category pages (#27048)
Closes: #26203 

Changes:
- Updated the article category page for release posts, announcements,
and guides to match the latest wireframes
2025-03-13 17:52:36 -05:00
Sam Pfluger
3f39450959
Add Luis Madrigal testimonial (#26973)
Co-authored-by: Eric <eashaw@sailsjs.com>
2025-03-07 18:08:59 -06:00
Eric
5748facb0a
Website: update query generator (#26926)
Related to: https://github.com/fleetdm/confidential/issues/9884

Changes:
- Updated the prompt in the `get-llm-generated-sql` action to include a
note about using wildcard characters when generating queries that use
the LIKE operator.
- Improved error handling in the `get-llm-generated-sql` action
2025-03-07 09:49:07 -06:00
Eric
695bf2900a
Website: Update start CTA visibility (#26865)
Closes: #26754

Changes:
- Updated the start CTA on the website to be visible to logged out
users.
2025-03-06 16:34:43 -06:00
Eric
d04ae6cee1
Website: update query generator page (#26738)
Changes:
- Updated the has-query-generator-access policy to allow the policy to
be bypassed when a `sails.config.custom.enablePublicQueryGenerator`
value is set
- Updated the query generator to match the latest wireframes
- Updated `get-llm-generated-sql` to pass a system prompt to the schema
filtration prompt.
2025-02-28 20:04:00 -06:00
Eric
c4e8f83a70
Website: update Zapier webhook (#26741)
ChangeS:
- updated the `receive-from-zapier` webhook's expected inputs when
receiving a `receive-new-customer-data` event
2025-02-28 19:44:32 -06:00
Eric
044e59c7e7
Website: improve speed of query generator (#26701)
Changes:
- Updated the prompt helper to accept a new input: `systemPrompt`, if
provided and a supported baseModel is selected, the system prompt will
be included in the Open AI API request along with the prompt.
- Updated the models used by the query generator to improve the speed of
query generation.
2025-02-28 12:28:15 -06:00
Eric
40aeaf7c76
Website: Update generated campaign names in receive-from-zapier webhook (#26678)
Closes: #26637

Changes:
- Updated timestamps in names of generated campaign names.
2025-02-27 17:17:42 -06:00
Mike McNeil
e336cdebba
Website: Add Zapier webhook (#26372)
relates to https://github.com/fleetdm/confidential/pull/9650

---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2025-02-26 11:18:20 -06:00
Sam Pfluger
1fe9b537de
Remove Onasis from contact form messages (#26480) 2025-02-20 11:39:31 -06:00
Eric
5251309302
Website: Update OS settings page (#26398)
Changes:
- Updated the content of the /os-settings page to match the latest
wireframes and commented out the profile generator experiment on that
page.
- Added the os-settings page to the "Docs" navigation menu and
navigation component
2025-02-18 07:40:27 +09:00
Eric
9fdb2d0511
Website: update contact form for Fleet premium subscribers (#26361)
Changes:
- Updated the contact page to only display the "Send a message" form for
users who have a Fleet premium subscription
- Updated the deliver-contact-form-message action to include details
about a user's subscription if the user has purchased a Fleet premium
license, and to also send an email to our support email address (in
addition to sending a message to our Slack)
2025-02-17 13:35:53 -06:00
Eric
df13a20b88
Website: add note to deliver-talk-to-us-form-submission.js (#26368)
Added a comment about future behavior
2025-02-14 17:51:15 -06:00
Eric
01c95370b0
Website: Add support for promotional codes on the self-service license dispenser (#26280)
Changes:
- Added the ability to use coupons on the Fleet premium license
dispenser
- Updated the stripe webhook to support coupons on Fleet premium
subscriptions
- Updated the customer dashboard on the website to show decimal places
in subscription/host prices.
2025-02-11 17:11:53 -06:00
Eric
360c23d75e
Website: add configuration profile generator (#26244)
Changes:
- Added /os-settings, a page where users can generate configuration
profiles
- Updated the docs navigation component to have a link to the os
settings page
- Added a new action: `get-llm-generated-configuration-profile` that
generates a configuration profile in either .mobileconfig, DDM, or CSP
formats.
- Added a new website dependency: ace editor.
2025-02-11 12:33:54 +09:00
Eric
84d222d16d
Website: add navigation and search bar to documentation pages (#25795)
Closes #25655

Changes:
- Created a new component: `<docs-nav-and-search>`, a component that
displays links to documentation pages and a search bar.
- Added the `<docs-nav-and-search>` component to documentation pages,
query pages, policy pages, vitals pages, app library pages, and osquery
schema documentation pages.
- Updated the documentation template page to match the latest
wireframes.
- Updated the osquery schema documentation pages to match the latest
wireframes.

---------

Co-authored-by: Mike Thomas <78363703+mike-j-thomas@users.noreply.github.com>
2025-02-03 21:13:26 +09:00
Eric
6cfecdeea3
Website: Add Powershell commands to queries.yml and standard query library. (#25972)
Changes:
- Added powershell commands to windows queries in queries.yml and
windows policies in the standard query library.
- Updated code blocks on the vital details, policy details, and query
details pages to have a tab switcher to switch to view PowerShell
commands.

---------

Co-authored-by: Mike McNeil <mikermcneil@users.noreply.github.com>
2025-02-02 21:31:00 -06:00
Eric
2d5784e49d
Website: Follow up changes from website code review. (#25844)
Changes:
- Updated the website's sitemap to include pages for app-library pages,
the correct URL for the software management page, and the meetups page.
- Updated save-questionnaire-progress to not log warnings related to
duplicate CRM records if the user submitted one of the first three steps
of the get started questionnaire.
- Cleaned up comments in build-static-content.
2025-01-28 18:47:32 -06:00
Eric
7fd9d8a3e9
Website: Update policies and vitals page URLs in download-sitemap (#25719)
Related to: https://github.com/fleetdm/fleet/issues/25718

Changes:
- Updated `download-sitemap.js` to add the correct URLS of vitals and
policies pages.
2025-01-22 22:38:36 -06:00
Eric
e81f0f82f2
Website: Update query-detail page view action. (#25717)
Closes: #25716

Changes:
- updated `view-query-detail` to return a `notFound` response if the
slug of a vital is provided.
2025-01-22 22:10:43 -06:00
Eric
11d9f56b95
Website: Update query page view action, vital page styles and platform filters. (#25714)
Changes:
- Updated the modal styles on vitals/ pages
- Updated the platform filter behavior on the vitals page to take users
to a different vital query if the currently viewed vital is not
available on the platform they switch to.
2025-01-22 21:41:16 -06:00
Eric
5c0894ce0a
Website: Create queries.yml, add vitals and query pages, move policies. (#25701)
Related to: https://github.com/fleetdm/confidential/issues/9096

Changes:
- Created docs/queries.yml. A YAML file that contains the queries from
the standard query library (`kind: query`) and the host vitals queries
(`kind: built-in`).
- Added the `vitals/*` page, a page that displays details about host
vital queries used to gather information about.
- Updated the /queries page to show queries from the new
`docs/queries.yml` file, and moved policies to a new page (/policies)
- Updated the view action for the query-detail page to look for/redirect
to a policy page with a matching slug before returning a 404 response if
a matching query is not found. This behavior will make it so all of the
old URLs for policy pages will redirect users to the new URL.
- Updated the website's "Docs" navigation menu to have links to the new
vitals and policies pages.
2025-01-22 21:10:17 -06:00
Eric
cefabf9954
Website: update contact form @mentions (#25475)
Closes: https://github.com/fleetdm/confidential/issues/9361

Changes:
- Updated the Slack users who are @mentioned when users submit a contact
form message.
2025-01-15 17:01:29 -06:00
Eric
bf182bed3e
Website: update query generator to use socket requests. (#25472)
Closes: #25465 

Changes:
- Updated the query generator page to use socket requests to call the
`get-llm-generated-sql` action to bypass Heroku's 30-second request
timeout.
2025-01-15 16:31:37 -06:00
Eric
ae99e87ed6
Website: update has-query-generator-access policy (#25442)
Changes:
- Updated the website's has-query-generator-access policy to allow super
admins to access the query generator page.
2025-01-14 19:40:53 -06:00
Eric
0e72c5daeb
Website: Move query generator out of Admin section (#25301)
Changes:
- Updated the User model to have a new attribute: `canUseQueryGenerator`
a boolean attribute that will grant users access to the query generator
page on the website.
- Added a new policy: `has-query-generate-access`
- Moved the query generator page from the admin section of the website.

Note: before this change can be merged, the website's database will need
to be migrated to add the new column to the User table
2025-01-14 18:09:17 -06:00
Eric
4ad16cc46f
Website: Update admin query generator to work in production. (#25363)
Changes:
- Updated the `build-static-content` script to add the merged osquery
schema JSON to the website's `builtStaticContent` configuration
- Updated view-query-generator to have a badConfig exit that is used if
the website has an invalid `builtStaticContent.schemaTables`
configuration
- Updated `get-llm-generated-sql` to use the
`builtStaticContent.schemaTables` instead of attempting to use
`sails.helpers.getExtendedOsquerySchema()` (Which does not work as
intended when run in a production environment.)
2025-01-10 17:51:03 -06:00
Eric
0620d7e580
Website: Add admin query generator (#25205)
Changes:
- Added /admin/query-generator, a page that admins can use to generate
queries from natural language questions.
- Added `/admin/get-llm-generated-sql.js` an action that uses the same
method in the `test-llm-generated-sql` script to generate queries from a
natural language question.
2025-01-08 13:47:17 -06:00
Eric
1eae4f6e1b
Website split article page routes (#25149)
Closes: #23904

Changes:
- Replaced the regex routes that handle articles and article category
pages to have a separate route for each category
- Updated the build-static-content script to transform periods in
article filenames into dashes
- Added redirects for articles that have a changed URL
2025-01-07 11:43:36 -06:00
Eric
2ca4f2f376
Website: Allow double curly brace templates in Markdown code blocks. (#25179)
Closes: https://github.com/fleetdm/fleet/issues/25176

Changes:
- Updated the to-html helper to add the `v-pre` directive to Markdown
code blocks, This directive will prevent any of the content inside of it
from being interpreted as a Vue template.
- Updated the regex in build-static-content that looks for vue templates
to not match any templates inside code blocks.
2025-01-06 14:07:31 -06:00
Eric
94f85b9259
Website: Add /meetups page (#24882)
Closes: https://github.com/fleetdm/confidential/issues/8983

Changes:
- Added /meetups, a page that shows a list of upcoming meetups
2024-12-18 14:12:52 -06:00
Eric
82ec1d8e16
Website: update article links on /testimonials page (#24850)
Closes: #24746

Changes:
- Replaced the hard-coded links to articles on the /testimonials page
with server-side rendered generated links to articles. These links are
now built using the website's markdown articles configuration.
- Added support for a new meta tag on articles:
`showOnTestimonialsPageWithEmoji` If provided and set to one of the four
supported emoji (🥀, 🔌, 🚪, or 🪟), a link to the article will be added to
the /testimonials page. Example: `<meta
name="showOnTestimonialsPageWithEmoji" value="🥀">`.
- Updated the build-static-content script to throw an error if an
article has an invalid `showOnTestimonialsPageWithEmoji` meta tag value.
- Updated recent case study articles to have a
`showOnTestimonialsPageWithEmoji` meta tag.


@Drew-P-drawers When this PR is merged, you can add links to the new
case studies articles to the /testimonials page with a
`showOnTestimonialsPageWithEmoji` meta tag. The definitions for each of
the supported emoji are in this [google
doc](https://docs.google.com/document/d/1-KWQa3uMIJzeitzDRmzT3SnUoFCfcFCb6K2lyVt-Gy0/edit?tab=t.0#heading=h.oskipmb8530l)
2024-12-17 18:08:25 -05:00
Eric
02b0a97ac8
Website: add support for new usage statistics (#24511)
Changes:
- Updated the receive-usage-analytics webhook to support a new input:
`numQueries`
- Added a new attribute to the HistoricalUsageSnapshot model
`numQueries`
- Added a commented-out section to the
send-aggregated-metrics-to-datadog script.
2024-12-13 15:00:30 -06:00
Mike Thomas
82e000a758
Name change (Observability => Orchestration) (#24747)
- made the text changes to the page, page title, site navigation
---------

Co-authored-by: Eric <eashaw@sailsjs.com>
2024-12-13 13:24:42 -06:00
Eric
00c35aed11
Webiste: Update custom hook to validate githubRepoDRIByPath config variable (#24497)
Closes: #24399

Changes:
- Updated the website's custom hook to validate values in the
sails.config.custom.githubRepoDRIByPath config variable when the website
starts.
2024-12-09 16:33:20 -06:00