Skip to content

Remove unused features, configs, and sample data #2740

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 19 commits into from
Jan 13, 2025
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
23 changes: 0 additions & 23 deletions .github/workflows/api-docs.yaml

This file was deleted.

28 changes: 2 additions & 26 deletions backend/.env.dist.local
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,10 @@ CROWD_NETLIFY_SITE_DOMAIN=localhost:3000

# Sendgrid settings
CROWD_SENDGRID_KEY=
CROWD_SENDGRID_WEBHOOK_SIGNING_SECRET=
CROWD_SENDGRID_EMAIL_FROM=
CROWD_SENDGRID_NAME_FROM=
CROWD_SENDGRID_TEMPLATE_EMAIL_ADDRESS_VERIFICATION=
CROWD_SENDGRID_TEMPLATE_INVITATION=
CROWD_SENDGRID_TEMPLATE_PASSWORD_RESET=
CROWD_SENDGRID_TEMPLATE_WEEKLY_ANALYTICS=
CROWD_SENDGRID_TEMPLATE_INTEGRATION_DONE=
CROWD_SENDGRID_WEEKLY_ANALYTICS_UNSUBSCRIBE_GROUP_ID=

# Stripe settings
CROWD_STRIPE_PRICE_PREMIUM=
CROWD_STRIPE_PRICE_ENTERPRISE=
CROWD_STRIPE_SECRET_KEY=
CROWD_STRIPE_WEBHOOK_SIGNING_SECRET=
CROWD_STRIPE_EAGLE_EYE_PLAN_PRODUCT_ID=
CROWD_STRIPE_GROWTH_PLAN_PRODUCT_ID=
CROWD_SENDGRID_TEMPLATE_EAGLE_EYE_DIGEST=
CROWD_SENDGRID_TEMPLATE_CSV_EXPORT=

# Twitter settings
CROWD_TWITTER_CLIENT_ID=
Expand Down Expand Up @@ -143,17 +130,6 @@ CROWD_EAGLE_EYE_API_KEY=
# Slack alerting settings
CROWD_SLACK_ALERTING_URL=

# Unleash settings
CROWD_UNLEASH_URL=
CROWD_UNLEASH_ADMIN_API_KEY=
CROWD_UNLEASH_FRONTEND_API_KEY=
CROWD_UNLEASH_BACKEND_API_KEY=
CROWD_UNLEASH_DB_HOST=
CROWD_UNLEASH_DB_PORT=
CROWD_UNLEASH_DB_USERNAME=
CROWD_UNLEASH_DB_PASSWORD=
CROWD_UNLEASH_DB_DATABASE=

# Weekly emails settings
CROWD_WEEKLY_EMAILS_ENABLED="true"

Expand Down
2 changes: 1 addition & 1 deletion backend/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module.exports = {
node: true,
es2021: true,
},
extends: ['airbnb-base', 'prettier', 'plugin:openapi/recommended'],
extends: ['airbnb-base', 'prettier'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
ignorePatterns: ['dist/*', '**/*.test.ts'],
Expand Down
24 changes: 0 additions & 24 deletions backend/.openapirc.js

This file was deleted.

33 changes: 0 additions & 33 deletions backend/base.yaml

This file was deleted.

37 changes: 1 addition & 36 deletions backend/config/custom-environment-variables.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,31 +63,12 @@
"clearbit": {
"apiKey": "CROWD_CLEARBIT_API_KEY"
},
"netlify": {
"apiKey": "CROWD_NETLIFY_API_KEY",
"siteDomain": "CROWD_NETLIFY_SITE_DOMAIN"
},
"sendgrid": {
"key": "CROWD_SENDGRID_KEY",
"webhookSigningSecret": "CROWD_SENDGRID_WEBHOOK_SIGNING_SECRET",
"emailFrom": "CROWD_SENDGRID_EMAIL_FROM",
"nameFrom": "CROWD_SENDGRID_NAME_FROM",
"templateEmailAddressVerification": "CROWD_SENDGRID_TEMPLATE_EMAIL_ADDRESS_VERIFICATION",
"templateInvitation": "CROWD_SENDGRID_TEMPLATE_INVITATION",
"templatePasswordReset": "CROWD_SENDGRID_TEMPLATE_PASSWORD_RESET",
"templateWeeklyAnalytics": "CROWD_SENDGRID_TEMPLATE_WEEKLY_ANALYTICS",
"templateIntegrationDone": "CROWD_SENDGRID_TEMPLATE_INTEGRATION_DONE",
"templateCsvExport": "CROWD_SENDGRID_TEMPLATE_CSV_EXPORT",
"templateEagleEyeDigest": "CROWD_SENDGRID_TEMPLATE_EAGLE_EYE_DIGEST",
"weeklyAnalyticsUnsubscribeGroupId": "CROWD_SENDGRID_WEEKLY_ANALYTICS_UNSUBSCRIBE_GROUP_ID"
},
"plans": {
"stripePricePremium": "CROWD_STRIPE_PRICE_PREMIUM",
"stripePriceEnterprise": "CROWD_STRIPE_PRICE_ENTERPRISE",
"stripeSecretKey": "CROWD_STRIPE_SECRET_KEY",
"stripWebhookSigningSecret": "CROWD_STRIPE_WEBHOOK_SIGNING_SECRET",
"stripeEagleEyePlanProductId": "CROWD_STRIPE_EAGLE_EYE_PLAN_PRODUCT_ID",
"stripeGrowthPlanProductId": "CROWD_STRIPE_GROWTH_PLAN_PRODUCT_ID"
"templateEagleEyeDigest": "CROWD_SENDGRID_TEMPLATE_EAGLE_EYE_DIGEST"
},
"twitter": {
"clientId": "CROWD_TWITTER_CLIENT_ID",
Expand Down Expand Up @@ -169,22 +150,6 @@
"slackAlerting": {
"url": "CROWD_SLACK_ALERTING_URL"
},
"sampleData": {
"tenantId": "CROWD_SAMPLE_DATA_TENANT_ID"
},
"unleash": {
"url": "CROWD_UNLEASH_URL",
"adminApiKey": "CROWD_UNLEASH_ADMIN_API_KEY",
"frontendApiKey": "CROWD_UNLEASH_FRONTEND_API_KEY",
"backendApiKey": "CROWD_UNLEASH_BACKEND_API_KEY",
"db": {
"host": "CROWD_UNLEASH_DB_HOST",
"port": "CROWD_UNLEASH_DB_PORT",
"username": "CROWD_UNLEASH_DB_USERNAME",
"password": "CROWD_UNLEASH_DB_PASSWORD",
"database": "CROWD_UNLEASH_DB_DATABASE"
}
},
"weeklyEmails": {
"enabled": "CROWD_WEEKLY_EMAILS_ENABLED"
},
Expand Down
11 changes: 0 additions & 11 deletions backend/config/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@
"aws": {}
},
"clearbit": {},
"netlify": {},
"sendgrid": {},
"plans": {},
"twitter": {
"maxRetrospectInSeconds": 7380,
"limitResetFrequencyDays": 30
Expand All @@ -40,18 +38,9 @@
"organizationEnrichment": {},
"eagleEye": {},
"githubToken": {},
"unleash": {
"db": {}
},
"slackAlerting": {
"url": ""
},
"sampleData": {
"tenantId": ""
},
"weeklyEmails": {
"enabled": "true"
},
"auth0": {},
"sso": {},
"crowdAnalytics": {
Expand Down
Loading
Loading