Commit graph

65 commits

Author SHA1 Message Date
Mike McNeil
7bc16c9b36
GitHub webhook: Only unfreeze/refreeze if actually frozen. (#5182)
Complements https://github.com/fleetdm/fleet/pull/5181

Related to https://github.com/fleetdm/fleet/issues/5179
2022-04-15 19:30:59 -05:00
Mike McNeil
69f8f7da8f
GitHub webhook: Auto-unfreeze ("for now" solution) (#5181)
Resolves https://github.com/fleetdm/fleet/issues/5179
2022-04-15 19:20:13 -05:00
Eric
83736e7b7f
Website: add landing page (#5095)
* dedupe animated arrow styles, create btn-animated-arrow mixin

* add landing page, landing-layout. styles

* update route and metadata

* mobile footer styles

* lint fix

* Update layout-landing.ejs

* Update landing.ejs
2022-04-13 15:12:56 +09:00
Mike McNeil
0482d1da62
Github bot: Temporarily disable label change notifications (#5001)
* Github bot: Temporarily disable label change notifications


Michael Thomas🕐 Today at 01:36
Are these alerts necessary in #g-digital-experience, and if not, how do we turn them off? They're creating a lot of noise in the channel 😵

1 reply

mikermcneil  3 minutes ago
I'm envisioning Digital Experience is responsible for keeping github labels tidy, so having visibility into changes would be useful.  If you currently don't have bandwidth to do it, this is an easy thing to let slip, since it isn't the highest priority.  (Labels have already gotten a bit messy- to the point I don't use them at all anymore, for example.  I don't think they're actually necessary anymore, other than for doing estimations)
I'll PR a change that disables it for now.

* fix extra ampersand
2022-04-08 17:10:38 -05:00
Nathanael Holliday
fc68e41514
Add hollidayn to list of GitHub maintainers (#4915) 2022-04-01 14:45:12 -05:00
Mike McNeil
4531a0aa7a
GitHub webhook: fixes #4827 (#4828)
followup fix for #4827  (this is what I get for rushing)
2022-03-26 00:09:30 -05:00
Mike McNeil
11f752d8b9
GitHub webhook: Fixes #4825 (#4827)
fixes unfinished logic from https://github.com/fleetdm/fleet/pull/4825
2022-03-25 23:26:49 -05:00
Mike McNeil
f93af6fd19
GitHub webhook: Add support for '*' DRI rule (#4825)
* GitHub webhook: Add support for '*' DRI rule

This allows any fleetie to edit the handbook landing page (e.g. in the event pages need to get moved around)

* invert how DRI rules for website are expressed

* lint fix + add support for array syntax

* Update receive-from-github.js

* Update receive-from-github.js

* Update receive-from-github.js

* Update receive-from-github.js

* Update receive-from-github.js
2022-03-25 22:55:32 -05:00
Kelvin Oghenerhoro Omereshone
44aed81e31
Website update static pages being explicitly listed in dynamic sitemapxml (#4681)
* feat: add query to find running docker containers

* docs: 📝 add query to get Mac and Linux machines with unencrypted primary disks

* feat: add query to find running docker containers

* docs: 📝 add query to get Mac and Linux machines with unencrypted primary disks

* chore: remove queries from develop

* docs: add query to get running docker containers

* docs: add query to get machines with unencrypted primary disks

* fix: remove trailing ---

* fix: remove trailing ---

* chore: remove trailing ---

* docs: add query to get applications hogging memory

* fix: resolve merge conflicts

* chore: update PR

* chore: update PR

* chore: merge previous query

* feat: add query to find servers with root logins within the day

* fix: remove unneeded period

* docs: add instructions for submiting multiple queries

* fix: remove duplicate entry

* fix: remove period from get running docker containers query description

* docs: add instructions for submiting multiple queries

* fix: resolve merge conflicts

* feat: add description for query to fetch failing batteries

* fix: resolve duplicate descriptions

* fix: remove typo in deplying docs

* fix: reword description

* fix: add suggestions to improve description

* feat: add description to query to fet windows machines with unencrypted hard disks

* feat: update description for count apple applications installed query

* chore: add dominuskelvin as maintainer

* docs: 📝 Add query to get apps opened within the last 24 hours

* feat: add query to find apps not in Applications directory

* feat: add query to find subscription based applications that have not been opened for the last 30 days

* feat: add link to signing installers

* fix: typo with link to the getting started page

* feat: docs on how to sign an osquery installer

* feat: make signing installer a subsection of osquery installer

* feat: make description for signing installer shorter and compact

* fix: change package to installers

* fix: reword note section

* feat: add instructions to use credentials below to log in to fleet preview

* feat: update static pages explicitly listed in sitemap
2022-03-18 07:07:42 -05:00
Zachary Winnerman
0f5e43bc7b
Add name to receive-from-github.js (#4578) 2022-03-17 16:29:21 -07:00
timmy-k
45c1eb159b
Added timmy-k to List of Maintainers (#4550) 2022-03-10 12:50:47 -06:00
CharlotteChance
2159ce6f4c
Add Charlotte Chance to list of Github maintainers (#4534) 2022-03-09 10:30:43 -06:00
Mike McNeil
fc8dae7f38
New handbook pages are approved by @mikermcneil (#4524) 2022-03-08 15:57:18 -06:00
Desmi-Dizney
228ff9587b
Added Desmi Dizney to list of GitHub maintainers. (#4354)
* Added Desmi Dizney to list of GitHub maintainers.

* Remove trailing whitespace

Co-authored-by: eashaw <eashaw@sailsjs.com>
2022-02-24 19:47:16 -06:00
eashaw
aa4f8393a9
revert specify owner change, chain .retry() onto http request (#4309) 2022-02-18 16:41:31 -06:00
eashaw
f5376de02d
Specify repo owner in receive-from-github.js (#4281)
* Hardcode repository owner

* Update receive-from-github.js

* lint fix
2022-02-18 10:34:56 -06:00
Mike McNeil
fd698c93d2
Revert "fix typo (#4278)" (#4280)
This reverts commit c7ea2f4d27.
2022-02-17 15:22:49 -06:00
eashaw
c7ea2f4d27
fix typo (#4278) 2022-02-17 15:14:26 -06:00
Mike McNeil
17bbd47fcb
support reopening PRs and add verbose logs (#4257) 2022-02-17 04:40:46 -06:00
fleet-release
9d2b41ba5b
set up autoapproval for handbook, docs, website, and github brandfront (#4255) 2022-02-17 04:27:01 -06:00
Mike McNeil
c1b9161e25
Skip branch protections for edits to certain paths (#4245)
* Stub out a way of automatically poking a hole in branch protections for DRIs

* cleaned things out in there

* prototype of autoapproval automation

prototype of autoapproval automation for DRIs editing their files

* should never happen
2022-02-17 03:43:59 -06:00
eashaw
5f777729f0
Add Q&A signup form to Fleet homepage (#4224)
* create deliver-demo-signup action

* register call to action and styles

* Update homepage.less

* Update deliver-demo-signup.js

* Update homepage.less

* Update homepage.ejs

* Update deliver-demo-signup.js

* update message
2022-02-16 11:15:55 +09:00
Michal Nicpon
447a4b58ed
Update receive-from-github.js (#4115) 2022-02-10 10:00:24 -07:00
Sharvil Shah
f1dbf4b452
Update maintainers to include me (#4126) 2022-02-10 01:55:24 +05:30
eashaw
001626eae8
Add /platform page (#3858)
* platform page and images

* add hrefs and link styles

* update responsive layout and images

* remove waves, lint fixes

* page locals

* Update new-license.ejs

* Revert "Update new-license.ejs"

This reverts commit ade27acf43.

* Update platform.ejs

* reorder topnav, adjust mobile styles

* add href, fix padding

* a couple of style tweaks

• Reduced space between sections.
• Center-aligned images and text vertically.

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
2022-01-25 12:40:16 +09:00
eashaw
48f66a3da5
Website redirect updates and bug fixes (#3859)
* fix logout redirect

* clear form input when clearing a quote

* reset password redirect

* fix new-password styes, fix broken links on unauthorized view

* disable IOS dropdown appearance
2022-01-25 11:12:41 +09:00
Guillaume Ross
4776ae68b4
Adding myself to maintainers (#3720)
As per the onboarding issue https://github.com/fleetdm/confidential/issues/779
2022-01-17 12:27:52 -05:00
eashaw
645490019e
Update customer portal styles (#3663)
* Add more specific error for login.js

* fix typo, add can I use comment

* adjust padding for quote preview

* update quoted price when number of hosts change

* update footer link layout

* fix lint error
2022-01-17 14:26:40 +09:00
eashaw
e335e835c9
Add customer portal and license dispenser to fleetdm.com (#3546)
* Add images for customer portal, dashboard, and email templates

* updated email layout and reset password template, new email template

* update ajax-button component to have an optional spinner

* updated cloud-error & stripe-card-element component styles

* updates to user model, add quote and subscription

* Login, signup, forgot password, update profile

* link to customer portal from pricing

* new-license page, bootstrap updates

* create quote action, dashboard page, update routes

* Add new page styles to importer, update component styles

* updates to js-timestamp

* update modal styles and layout

* using @submitted on ajax form, controller updates

* Update create-quote.js

* updates to quote model, action updates, truncate license key on dashboard

* update email layout, subscribe action, user model

* Update importer.less

* style updates, order confirmation

* use correct font

* style updates

* create license key

* new-license page changes

* signup page changes

* add billing format to js-timestamp component, dashboard updates, change password

* swap get started link for customers

* order -> subscription

* Update login.ejs

* Lint fixes, page updates, mobile styles

* remove edit-profile route, update layout, bootstrap, forms

* change customer-layout name to match other layout names, update copyright year in layouts

* changes requested from code review and #3570

* submit button width, contact font-size

* Update dashboard.less

* Update bootstrap-overrides.less

* slack logo update, login text
2022-01-04 20:02:42 -06:00
Omereshone Kelvin
c9177f6497
Feature/add dominuskelvin to receive from GitHub (#3467) 2021-12-29 13:53:04 -06:00
Noah Talerman
1f8f5b0d27
Update recieve-from-github.js and add fixes to API docs (#3310) 2021-12-10 15:40:29 -05:00
Katheryn Satterlee
be670c5701
Add ksatter to receive-from-github.js (#3332)
Added username to list of maintainers.
2021-12-10 14:19:28 -06:00
gillespi314
6ee6dba4a4
Update anonymous usage statistics to record Fleet feature adoption (#3056)
* Collect additional anonymous usage statistics

* Update fleetdm.com and docs for usage stats

* Fix lint-go errors

* Fix failing test

* update webhook inputs

* Update receive-usage-analytics.js

* fix failing test

* Update statistics_test.go

Co-authored-by: eashaw <eashaw@sailsjs.com>
2021-12-06 14:39:00 -06:00
Tony Gauda
eca7ddf3fe
Update receive-from-github.js (#3194) 2021-12-06 15:28:48 -05:00
Mike McNeil
4c0a985a31
add lucas to allowlist (#2931) 2021-11-15 14:10:45 -06:00
eashaw
14896ca399
Update vercel bot name in list of github maintainers and bots (#2920) 2021-11-15 11:18:59 -06:00
eashaw
002278976d
add vercel bot to list of bots and maintainers, update slack notification conditional. (#2911) 2021-11-12 19:13:20 -06:00
Mike McNeil
c945485b81
Revert whitespace changes from #2819 (#2827)
* Revert "Update label maintainer in receive-from-github.js  (#2819)"

This reverts commit eb6ae0d453.

* reapply the change from 2819
2021-11-05 16:13:30 -05:00
Renee Jackson
eb6ae0d453
Update label maintainer in receive-from-github.js (#2819)
* Update receive-from-github.js

change label maintainer from noah to renee

* Update website/api/controllers/webhooks/receive-from-github.js

revert formatting changes

Co-authored-by: eashaw <eashaw@sailsjs.com>

Co-authored-by: eashaw <eashaw@sailsjs.com>
2021-11-05 14:52:06 -04:00
eashaw
026df46627
stop zombie comment notifications for maintainers (#2446) 2021-10-08 11:30:29 -05:00
eashaw
f4a196ae41
Update view-basic-handbook.js (#2315) 2021-10-01 13:47:44 -05:00
eashaw
5de5b13223
Dynamic titles for documentation, query, and handbook pages (#2298)
* handling redirect

* clean up redirect/notFound flow

* dynamic query titles and description

* dynamic docs titles

* Remove locals from queries and docs, updated comment and variable names

* handling FAQ page titles

* update comment, title in meta, and adjust get started title

* remove unneeded meta tag

* handbook titles

* cleaning up conditionals

* update comments

* removed added meta tags, change meta variable names

* passing in meta description if provided, update conditionals and comments

* Update FAQ.md
2021-09-30 21:14:02 -05:00
Mike McNeil
c91d9c2fc3
reduce Slack notifications by limiting activity from maintainers (#2232)
* reduce Slack notifications by limiting to activity from maintainers

* rename var
2021-09-27 16:01:49 -05:00
Mike McNeil
e9c4103839
Reduce noise in Slack (#2166)
Only notify about zombie comments on issues or PRs that have been closed for >7 days (rather than >24 hours)
2021-09-21 15:54:34 -05:00
eashaw
5eb14e290f
Fix 500 error being thrown on fleetdm.com (#2144)
* update notFound conditional

* Update view-basic-documentation.js
2021-09-20 13:29:59 -05:00
eashaw
cf793ff3a0
Implement redirect in view-basic-documentation (#2083)
* handling redirect

* clean up redirect/notFound flow
2021-09-17 11:14:05 -05:00
Mike McNeil
62c93eae0d
clarify which Fleet environments receive data when usage analytics are enabled (#2106) 2021-09-16 22:33:25 -05:00
eashaw
0294ec0f25
Add fleetdm.com/press-kit (#1981)
* created /press-kit page and updated routes and policies

* updated styles, placeholder-images

* created assets/images/press-kit/ and moved all relevant files

* changed filenames for logo previews

* cleaning up html, adjusting mobile styles

* removed empty <divs>, lint fix in stylesheet

* Added link to /press-kit in page footer

* Update layout.ejs
2021-09-10 06:56:29 +09:00
Mike McNeil
1ca14ff143
Include doc links in sitemap.xml even in production (now that they're real) (#1710) 2021-08-17 20:16:29 -05:00
Mike McNeil
8097251565
Put live documentation on fleetdm.com (#1380)
* minor clarifications

* further expand comments and stubs

* absorb custom titles embedded in metadata, plus further comment expansion and a followup fix for something i left hanging in f8cbc14829

* Skip non-markdown files and use real path maths

* Prep for running in parallel (Remove `continue` so this isn't dependent on the `for` loop)

* determine + track unique HTML output paths

* Compile markdown + spit out real HTML  (without involving any but the crunchy nougaty dependency from the very center of everything)

* add md metadata parsing

* add timestamp

* Update build-static-content.js

* attach misc metadata as "other"

* how doc images might should work (this also aligns with how the select few images in the sailsjs.com docs work)

* add file extension to generated HTML files

* "options"=>"meta"

* Make "htmlId" useful for alphabetically sorting pages within their bottom-level section

See recent comments on https://github.com/fleetdm/fleet/issues/706 for more information.

* list out the most important, specific build-time transformations

* Omit ordering prefixes like "1-" from expected content page URLs

* add a little zone for consolidating backwards compatible permalinks

* interpret README.md files by mapping their URLs to match their containing folder

* clarify plan for images

* decrease probability of collisions

* Make capitalization smarter using known acronyms, proper nouns, and a smarter numeric word trim

* Resolve app path in case pwd is different in prod

* Delete HTML output from previous runs, if any

* condense the stuff about github emojis

* got rid of "permalink" thing, since id gets automatically attached during markdown compilation anyway

Also "permalink" isn't even a good name for what this is.  See https://github.com/fleetdm/fleet/issues/706#issuecomment-884693931

* …and that eliminates the need for the cheerio dep!

* Bring in bubbles+syntax highlighting into build script, and remove sails.helpers.compileMarkdownContent()  -- this leaves link munging as a todo though

* trivial (condense comments)

* Remove unused code from toHtml() helper

* Implemented target="_blank" and root-relative-ification

* remove todo about emojis after testing and verifying it works just fine

* trivial: add link to comment in case github emojis matter at some point

* consolidate "what ifs" in comments

* Leave this up to Sarah, for now. (Either bring it back here in the build script or do it all on the frontend)

* Enable /docs and /handbook routes, and add example of a redirect for a legacy/deprecated URL

* implement routing

* Upgrade deps

this takes advantages of the latest work from @eashaw, @rachaelshaw, and the rest of the Sails community

* tweak var names and comments

* make readme pages use their folder names to determine their default (fallback) titles

as discussed in https://github.com/fleetdm/fleet/issues/706#issuecomment-884788002

* first (good enough for now) pass at link rewriting

as discussed in https://github.com/fleetdm/fleet/issues/706#issuecomment-884742072

* Adapt docs pages to build from markdown output

* Continue work on docs pages

* Add landing page

* Remove unused code; minor changes

* Replace regex

* fixes https://github.com/fleetdm/fleet/pull/1380#issuecomment-891429581

* Don't rely on "path" being a global var

* Syle fleetdm doc pages

* Continue work on docs pages

* Fix linting error

* Disable lesshint style warnings

* parasails-has-no-page-script attribute

Added a parasails-has-no-page-script attribute to the docs template, added a check for that attribute in parasails.js and removed the empty page script for 498

* bring in latest parasails dep

* trivial

* Update links to dedupe and not open in new tab unless actually external

* Disable handbook for now til styles are ready

* fix CTA links

* trivial

* make sitemap.xml get served in prod

* hide search boxes for now, remove hard-coded version and make releases open in new tab

* clean out unused files

Co-authored-by: gillespi314 <73313222+gillespi314@users.noreply.github.com>
Co-authored-by: eashaw <caglc@live.com>
2021-08-17 19:55:13 -05:00