Commit Graph

94 Commits

Author SHA1 Message Date
Mike McNeil
ff116226a7
Tool: Workaround for mergefreeze API (#6908)
A timeboxed workaround for an intermittent issue where the mergefreeze API reports that a repo is frozen: false, when the mergefreeze UI says that it is actually truly frozen.
2022-07-27 01:41:57 -05:00
Mike McNeil
c5adb912f9
Tool: Remove MergeFreeze logs (#6907)
Turns out the issue being debugged in https://github.com/fleetdm/fleet/pull/6906 was in the API itself-- somehow it can get stuck on frozen: false.  If that happens, the solution is to freeze/unfreeze everything in the dashboard
2022-07-27 01:19:47 -05:00
Mike McNeil
878c21c491
Tool: Debug github webhook (#6906) 2022-07-27 00:56:50 -05:00
Mike McNeil
39fea292b9
Tool: Bring back mergefreeze API integration (#6905)
* Tool: Bring back mergefreeze API integration

Context: https://github.com/fleetdm/fleet/pull/5628#issuecomment-1196175485

Unfortunately, the API doesn't work.

* Lay out how this would work in the database - but instead, do it ephemerally for now

* Remove model

* Maintain state (the easy way for now)
2022-07-27 00:36:31 -05:00
Robert Fairburn
189362c2af
Add rfairburn to receive-from-github.js (#6848) 2022-07-25 18:36:04 -05:00
Mike McNeil
a26e5002a3
Website: Follow up to strip leading slashes (#6843)
* Website: Follow up to strip leading slashes

re https://github.com/fleetdm/fleet/pull/6796#issuecomment-1193054810

* remove log

* Verified: whitespace trim not needed

And leading slash trim is only needed if using a regex route (not something I recommend most of the time).  But since we are using one, I included it, and put it in all three places for consistency.  (It doesn't ever hurt)
2022-07-25 11:16:40 -05:00
Mike McNeil
525a144311
Website: Simplify regex syntax used for #2025 (#6796)
* Simplify regex syntax used for #2025

* extra trailing slashes now redirect instead of rendering

* Simplify regex

* Match implementation to view-basic-documentation, etc

* Match view-basic-documentation, and slurp up title and description logic to help indicate (and future proof) that it has no side effects

* Update view-basic-handbook.js

* Update view-basic-documentation.js

* trivial

* lint fix

* make handbook and doc landing pages continue working despite my recent commit in this same PR, and add some comment clarifications

* update regex to replace leading slashes and whitespace

Co-authored-by: Eric <eashaw@sailsjs.com>
2022-07-21 17:02:32 -05:00
gillespi314
9a1adeb61b
Update documentation and Sails app for additional usage statistics (#6589) 2022-07-20 20:53:19 -05:00
Chris McGillicuddy
c42b9e550a
Onboarding: GitHub maintainer list (#6746) 2022-07-19 13:04:09 -06:00
Gabriel Hernandez
97bb979a95
add ghernandez345 as contributor (#6639) 2022-07-13 08:40:05 -07:00
Roberto Dip
b2d07e56b5
report error analytics (#6341)
Related to #5898, this reports an anonymized summary of errors stored in Redis into the analytics payload.

For each error stored, this includes:

- A `count` attribute with the number of occurrences of the error
- A `loc` attribute with the 3 topmost lines in the stack trace. Note that stack traces only contain package name + line number (example: github.com/fleetdm/fleet/server.go:12

This also includes a minor refactor around error types.
2022-06-28 16:31:14 -03:00
Eric
16672bf410
Website: Add sales one-pager (#6324)
* Website: Create page for sales one-pager

* update layout, add images

* update mobile layout

* update layout & styles

* Update sales-one-pager.less

* add todos for page description and page title

* add alt text, final route & meta information, make hero-image visible at 1024px
2022-06-24 14:50:44 +09:00
Martin Angers
8f66a50f2b
Add hosts enrolled by operating system to anonymous usage stats (#6329) 2022-06-22 16:38:11 -04:00
Martin Angers
dc9e158153
Add weekly active users count in anonymous usage stats (#6317) 2022-06-22 15:20:57 -04:00
Eric
1a245b858a
Website: Add state of device management (#5936)
* state of device management page, chart component

* add images

* website: add charts.min.js, update layout, page script, and images

* layout updates, component validation

* add alt text, lint fixes

* update image name

* update bar-chart styles and layout

* add empty href and link styles

* Style overrides for mobile & tablet

• Added style overrides for mobile and tablet.

* Updated text

Updated text for the following sections:

• Introduction
• Key findings
• Part 1

* Updated text

Updated text in the following sections:
• Part 2
• Part 3
• Part 4
• Part 5
• Part 6

* Additional icon and text change

• Added icon for GitOps
• Repositioned text: The future of device management

* Text change

Removed "Takeaways" header from Part 6.

* style changes

• fixed some inconsistent headers (h3 to h2).
• fixed margin bottom on new GitOps note.
• Removed unneeded subsection div after removing "Takeaways" heading in my previous commit.

* update chart styles, add update charts function, sticky navigation

* lint fix

* lint fix

* Scroll navigation with header

* text changes

Updated chart titles to match the survey.

* style tweaks

Style tweaks to the charts.

* add pdf

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
2022-06-01 10:31:10 -05:00
Eric
2a5996c5bf
Website: Fix article meta descriptions, add article images to metadata (#5969) 2022-05-31 19:32:00 -05:00
Mo Zhu
b09713f8d9
Update receive-from-github.js (#5896) 2022-05-24 17:38:58 -05:00
Zach Wasserman
ed96be6e17
Disable new merge freeze (#5628)
Keeping this off for now while we finish up the release with the existing tooling.
2022-05-06 10:34:50 -07:00
Mike McNeil
5fe7fea24d
Tool: sails run freeze-open-pull-requests (#5610)
* trivial (comments)

* Remove old unfreeze/freeze logic

* trivial (clarify comment)

* Trivial (fix weird character)

* Extrapolate DRI mappings into config.

* Explain why this exists

* Extrapolate logic

* Use extrapolated logic + add 5 second wait time to prevent accidents + clean up

* Use extrapolated logic and fix omission in helper

* Make freezing actually happen and document usage

* In script, don't freeze PRs as long as they're preapproved to be edited by SOMEBODY

* Lint fixes
2022-05-06 00:12:50 -05:00
Mike McNeil
adc7425501
Automation: Try simpler alternative to mergefreeze (#5592)
* Automation: Alternative to mergefreeze..?

* move constant to the top for easier editing

* Update receive-from-github.js

* enable freeze
2022-05-05 13:56:32 -05:00
Mike McNeil
334d0c70e5
Automation: Make github username lookup case-insensitive (#5588)
For users like `GuillaumeRoss` (not `guillaumeross`)
2022-05-05 10:53:58 -05:00
Mike McNeil
adb1f53d63
Automation: Guillaume is also DRI of /handbook/security-policies (#5587) 2022-05-05 10:15:35 -05:00
Mike McNeil
adc52d3bc0
Website: Disable freeze/refreeze logic + gut sailsrc (#5547)
Website: Disable freeze/refreeze logic + gut sailsrc
2022-05-03 17:59:10 -05:00
Mike McNeil
137016caee
Website: Temporarily disable re-freeze logic to troubleshoot website caching issues on 2022-05-03. (#5545) 2022-05-03 17:45:25 -05:00
Roberto Dip
25beeacdce
add roperzh to receive-from-github.js (#5466) 2022-04-29 18:35:57 -03:00
Eric
f713668390
Website: Add article landing and category pages (#5428)
* articles page

* update articles route to handle category urls

* update articles page

* add articleImageUrl meta tags to article pages

* basic empty state, add comments

* Update view-articles.js

* Update articles.less

* add articles, update styles and image url validation

* lint fix

* Update routes.js

* Update articles.ejs

* Update articles.page.js

Updated article category descriptions.

* migrated more articles

I migrated more articles so that all categories are populated.

* Added thumbnails to new posts

* Some style tweaks

- Tweaked a couple of styles
- Added cursor: pointer to filters
- Changed "Blog" to "Articles" in the navigation
- Changed /blog to /articles in the navigation

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
2022-04-28 15:16:07 +09:00
Eric
cd0ec13a0c
Website add articles page. (#5243)
* create '/articles' and add 4 test articles

* update build-static-content script for '/articles'

* article pages

* Validate article page metaData

* add articles linked from header, remove test articles

* update article styles

* comment out /articles route, update blog post links

* Move article category page to different branch for future PR

* Update build-static-content.js

* remove pagescript

* Update deploying-fleet-on-render.md

* update meta tags

* lint fixes

* Style & Markdown updates

Made a couple of fixes to the styling and markdown.

* update view action, replace route with regex, update links

* authorsGitHubUserName -> authorGitHubUsername, authorsFullName -> authorFullName

Co-authored-by: Mike Thomas <mthomas@fleetdm.com>
2022-04-22 12:27:03 -05:00
Eric
babccf8a36
License dispenser query strings (#5321)
Co-authored-by: Tim Kern <tim@fleetdm.com>
2022-04-21 16:46:31 -05:00
Juan Fernandez
94c6dfb8fc
Updated contributor list (#5198) 2022-04-19 08:56:15 -04:00
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