2020-12-02 20:48:03 +00:00
|
|
|
/**
|
|
|
|
* Custom configuration
|
|
|
|
* (sails.config.custom)
|
|
|
|
*
|
|
|
|
* One-off settings specific to your application.
|
|
|
|
*
|
|
|
|
* For more information on custom configuration, visit:
|
|
|
|
* https://sailsjs.com/config/custom
|
|
|
|
*/
|
|
|
|
|
|
|
|
module.exports.custom = {
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
* *
|
|
|
|
* The base URL to use during development. *
|
|
|
|
* *
|
2022-05-06 05:12:50 +00:00
|
|
|
* • No trailing slash at the end *
|
2020-12-02 20:48:03 +00:00
|
|
|
* • `http://` or `https://` at the beginning. *
|
|
|
|
* *
|
|
|
|
* > This is for use in custom logic that builds URLs. *
|
|
|
|
* > It is particularly handy for building dynamic links in emails, *
|
|
|
|
* > but it can also be used for user-uploaded images, webhooks, etc. *
|
|
|
|
* *
|
|
|
|
**************************************************************************/
|
2021-05-26 08:24:38 +00:00
|
|
|
baseUrl: 'http://localhost:2024',
|
2020-12-02 20:48:03 +00:00
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
* *
|
|
|
|
* The TTL (time-to-live) for various sorts of tokens before they expire. *
|
|
|
|
* *
|
|
|
|
**************************************************************************/
|
|
|
|
passwordResetTokenTTL: 24*60*60*1000,// 24 hours
|
|
|
|
emailProofTokenTTL: 24*60*60*1000,// 24 hours
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
* *
|
|
|
|
* The extended length that browsers should retain the session cookie *
|
|
|
|
* if "Remember Me" was checked while logging in. *
|
|
|
|
* *
|
|
|
|
**************************************************************************/
|
|
|
|
rememberMeCookieMaxAge: 30*24*60*60*1000, // 30 days
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
* *
|
|
|
|
* Automated email configuration *
|
|
|
|
* *
|
|
|
|
* Sandbox Sendgrid credentials for use during development, as well as any *
|
|
|
|
* other default settings related to "how" and "where" automated emails *
|
|
|
|
* are sent. *
|
|
|
|
* *
|
|
|
|
* (https://app.sendgrid.com/settings/api_keys) *
|
|
|
|
* *
|
|
|
|
**************************************************************************/
|
|
|
|
// sendgridSecret: 'SG.fake.3e0Bn0qSQVnwb1E4qNPz9JZP5vLZYqjh7sn8S93oSHU',
|
|
|
|
//--------------------------------------------------------------------------
|
|
|
|
// /\ Configure this to enable support for automated emails.
|
|
|
|
// || (Important for password recovery, verification, contact form, etc.)
|
|
|
|
//--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
// The sender that all outgoing emails will appear to come from.
|
|
|
|
fromEmailAddress: 'noreply@example.com',
|
|
|
|
fromName: 'The NEW_APP_NAME Team',
|
|
|
|
|
|
|
|
// Email address for receiving support messages & other correspondences.
|
|
|
|
// > If you're using the default privacy policy, this will be referenced
|
|
|
|
// > as the contact email of your "data protection officer" for the purpose
|
|
|
|
// > of compliance with regulations such as GDPR.
|
|
|
|
internalEmailAddress: 'support+development@example.com',
|
|
|
|
|
|
|
|
// Whether to require proof of email address ownership any time a new user
|
|
|
|
// signs up, or when an existing user attempts to change their email address.
|
|
|
|
verifyEmailAddresses: false,
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
* *
|
|
|
|
* Billing & payments configuration *
|
|
|
|
* *
|
|
|
|
* (https://dashboard.stripe.com/account/apikeys) *
|
|
|
|
* *
|
|
|
|
**************************************************************************/
|
|
|
|
// stripePublishableKey: 'pk_test_Zzd814nldl91104qor5911gjald',
|
|
|
|
// stripeSecret: 'sk_test_Zzd814nldl91104qor5911gjald',
|
|
|
|
//--------------------------------------------------------------------------
|
|
|
|
// /\ Configure these to enable support for billing features.
|
|
|
|
// || (Or if you don't need billing, feel free to remove them.)
|
|
|
|
//--------------------------------------------------------------------------
|
|
|
|
|
2022-05-06 05:12:50 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* *
|
|
|
|
* Directly responsible individuals (DRIs) whose changes to areas of the *
|
|
|
|
* code respository (outside of the core product code) are auto-approved, *
|
|
|
|
* even during code freezes. *
|
|
|
|
* *
|
|
|
|
* See api/controllers/webhooks/receive-from-github.js for context. *
|
|
|
|
* *
|
|
|
|
***************************************************************************/
|
|
|
|
githubRepoDRIByPath: {
|
2022-08-11 17:38:00 +00:00
|
|
|
'README.md': ['chris-mcgillicuddy'],// (github brandfront)
|
|
|
|
'tools/fleetctl-npm/README.md': ['chris-mcgillicuddy', 'mike-j-thomas'],//« brandfront for fleetctl package on npm
|
2022-05-06 05:12:50 +00:00
|
|
|
|
2022-08-11 17:39:53 +00:00
|
|
|
'CODEOWNERS': ['zwass', 'mikermcneil'],
|
|
|
|
|
2022-08-11 17:38:00 +00:00
|
|
|
'articles': ['chris-mcgillicuddy', 'mike-j-thomas', 'eashaw', 'zwass', 'mikermcneil'],
|
|
|
|
|
|
|
|
'handbook': ['chris-mcgillicuddy', 'mike-j-thomas', 'eashaw', 'mikermcneil', 'zwass'],// (default for handbook)
|
2022-07-25 16:18:58 +00:00
|
|
|
'handbook/company': 'mikermcneil',
|
2022-10-18 03:17:16 +00:00
|
|
|
'handbook/business-operations': ['hollidayn', 'charlottechance'],
|
2022-07-25 16:18:58 +00:00
|
|
|
'handbook/engineering': 'zwass',
|
2022-10-18 03:17:16 +00:00
|
|
|
'handbook/product': ['noahtalerman', 'zhumo'],
|
2022-07-25 16:18:58 +00:00
|
|
|
'handbook/security': 'guillaumeross',
|
2022-10-18 03:17:16 +00:00
|
|
|
'handbook/customers': ['alexmitchelliii','zayhanlon'],
|
2022-11-02 15:12:56 +00:00
|
|
|
'handbook/marketing': ['mike-j-thomas','chris-mcgillicuddy'],
|
2022-07-27 06:47:16 +00:00
|
|
|
|
2022-05-06 05:12:50 +00:00
|
|
|
'website': 'mikermcneil',// (default for website)
|
|
|
|
'website/views': 'eashaw',
|
|
|
|
'website/assets': 'eashaw',
|
|
|
|
'website/config/routes.js': ['eashaw', 'mike-j-thomas'],// (for managing website URLs)
|
2022-09-02 02:31:15 +00:00
|
|
|
'website/package.json': 'eashaw',
|
2022-05-06 05:12:50 +00:00
|
|
|
|
2022-09-17 06:44:31 +00:00
|
|
|
'docs': ['chris-mcgillicuddy', 'zwass', 'mikermcneil'],// (default for docs)
|
2022-08-11 17:38:00 +00:00
|
|
|
'docs/images': ['chris-mcgillicuddy', 'noahtalerman', 'eashaw', 'mike-j-thomas'],
|
|
|
|
'docs/Using-Fleet/REST-API.md': 'ksatter',
|
|
|
|
'docs/Contributing/API-for-contributors.md': 'ksatter',
|
2022-09-20 03:22:14 +00:00
|
|
|
'docs/Deploying/FAQ.md': ['ksatter'],
|
|
|
|
'docs/Contributing/FAQ.md': ['ksatter'],
|
|
|
|
'docs/Using-Fleet/FAQ.md': ['ksatter'],
|
2022-05-06 05:12:50 +00:00
|
|
|
|
2022-10-04 15:40:21 +00:00
|
|
|
'docs/01-Using-Fleet/standard-query-library/standard-query-library.yml': ['guillaumeross','zhumo','eashaw','zwass'],// (standard query library)
|
|
|
|
'schema/': ['guillaumeross','zhumo','eashaw','zwass'],// (standard query library)
|
2022-05-06 05:12:50 +00:00
|
|
|
},
|
2022-12-05 19:58:21 +00:00
|
|
|
confidentialGithubRepoDRIByPath: {
|
|
|
|
'readme.md': ['mikermcneil', 'zwass'],
|
|
|
|
// GitHub issue templates
|
|
|
|
'.github/ISSUE_TEMPLATE': ['mikermcneil', 'zwass'],
|
|
|
|
'.github/ISSUE_TEMPLATE/2-website-changes.md': 'mike-j-thomas',
|
|
|
|
'.github/ISSUE_TEMPLATE/3-opportunity Fleet Premium PoV.md': 'alexmitchelliii',
|
|
|
|
'.github/ISSUE_TEMPLATE/3-sale.md': 'alexmitchelliii',
|
|
|
|
'.github/ISSUE_TEMPLATE/4-release.md': 'noahtalerman',
|
|
|
|
'.github/ISSUE_TEMPLATE/5-monthly-accounting.md': 'hollidayn',
|
|
|
|
'.github/ISSUE_TEMPLATE/6-speaking-event.md': 'mike-j-thomas',
|
|
|
|
'.github/ISSUE_TEMPLATE/9-renewal-process.md': ['hollidayn', 'alexmitchelliii'],
|
|
|
|
'.github/ISSUE_TEMPLATE/hiring.md': 'charlottechance',
|
|
|
|
'.github/ISSUE_TEMPLATE/onboarding.md': 'charlottechance',
|
|
|
|
'.github/ISSUE_TEMPLATE/y-offboarding.md': 'charlottechance',
|
|
|
|
'.github/ISSUE_TEMPLATE/equity-grants.md': ['charlottechance','hollidayn'],
|
|
|
|
|
|
|
|
// Folders of configuration files
|
|
|
|
'mdm_profiles': 'guillaumeross',
|
|
|
|
'vpn': 'rfairburn',
|
|
|
|
},
|
2022-05-06 05:12:50 +00:00
|
|
|
|
|
|
|
|
2020-12-02 20:48:03 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* *
|
|
|
|
* Any other custom config this Sails app should use during development. *
|
2021-05-06 18:46:52 +00:00
|
|
|
* (and possibly in ALL environments, if not overridden in config/env/) *
|
2020-12-02 20:48:03 +00:00
|
|
|
* *
|
|
|
|
***************************************************************************/
|
2021-08-06 07:52:02 +00:00
|
|
|
// Contact form:
|
|
|
|
// slackWebhookUrlForContactForm: '…',
|
|
|
|
|
|
|
|
// GitHub bot:
|
|
|
|
// githubAccessToken: '…',
|
|
|
|
// githubBotWebhookSecret: '…',
|
|
|
|
// slackWebhookUrlForGithubBot: '…',
|
2022-04-16 00:20:13 +00:00
|
|
|
// mergeFreezeAccessToken: '…',
|
2021-08-06 07:52:02 +00:00
|
|
|
|
2021-05-06 18:46:52 +00:00
|
|
|
//…
|
2020-12-02 20:48:03 +00:00
|
|
|
|
|
|
|
};
|