forked from EddieHubCommunity/BioDrop
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'EddieHubCommunity:main' into main
- Loading branch information
Showing
619 changed files
with
15,091 additions
and
10,557 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
LINKFREE_MONGO_CONNECTION_STRING="mongodb://mongodb:27017/linkfree" | ||
BIODROP_MONGO_CONNECTION_STRING="mongodb://mongodb:27017/biodrop" | ||
NEXT_PUBLIC_BASE_URL="http://localhost:3000" | ||
NODE_ENV="development" | ||
|
||
GITHUB_ID="" | ||
GITHUB_SECRET="" | ||
NEXTAUTH_SECRET="" | ||
|
||
LINKFREE_API_SECRET="development" | ||
BIODROP_API_SECRET="development" | ||
GITHUB_API_TOKEN="" | ||
RANDOM_USERS="eddiejaoude,SaraJaoude" | ||
ADMIN_USERS="eddiejaoude,SaraJaoude" | ||
|
||
STRIPE_SECRET_KEY="" | ||
STRIPE_PREMIUM_PRICING_ID="" | ||
STRIPE_WEBHOOK_SECRET="" | ||
NEXT_PUBLIC_PREMIUM_SUPPORT_URL="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Question? | ||
url: http://discord.eddiehub.org | ||
about: Feel free to ask your question on our Discord channel. | ||
url: https://www.biodrop.io/docs/faqs | ||
about: If your question is not covered by the FAQs, please ask your question in our GitHub Discussions. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,55 @@ | ||
name: 💡 General Feature Request | ||
description: Have a new idea/feature for LinkFree? Please suggest! | ||
description: Have a new idea/feature for BioDrop? Let us know... | ||
title: "[FEATURE] <description>" | ||
labels: ["⭐ goal: addition","🚦 status: awaiting triage"] | ||
labels: ["⭐ goal: addition", "🚦 status: awaiting triage"] | ||
body: | ||
- type: checkboxes | ||
id: duplicates | ||
attributes: | ||
label: Is this a unique feature? | ||
description: Increase the chances of your issue being accepted by making sure it has not been raised before. | ||
options: | ||
- label: I have checked "open" AND "closed" issues and this is not a duplicate | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Is your feature request related to a problem/unavailable functionality? Please describe. | ||
description: A clear and concise description of what the problem is (for example "I'm always frustrated when [...]"). | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Description | ||
description: A brief description of the enhancement you propose, also include what you tried and what worked. | ||
label: Proposed Solution | ||
description: A clear description of the enhancement you propose. Please include relevant information and resources (for example another project's implementation of this feature). | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: screenshots | ||
attributes: | ||
label: Screenshots | ||
description: Please add screenshots if applicable | ||
description: Please add screenshots of the before and/or after the proposed changes. | ||
validations: | ||
required: false | ||
- type: dropdown | ||
id: assignee | ||
attributes: | ||
label: Do you want to work on this issue? | ||
multiple: false | ||
options: | ||
- "No" | ||
- "Yes" | ||
default: 0 | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: extrainfo | ||
attributes: | ||
label: Additional information | ||
description: Is there anything else we should know about this idea? | ||
label: If you want to work on this issue... | ||
description: Please explain how you would technically implement this feature (for example reference any existing code) | ||
validations: | ||
required: false | ||
- type: markdown | ||
attributes: | ||
value: | | ||
You can also join our Discord community [here](http://discord.eddiehub.org) | ||
Feel free to check out other cool repositories of the EddieHub Community [here](https://github.com/EddieHubCommunity) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
"🚦 status: awaiting triage": | ||
issues: | ||
comment: > | ||
To reduce notifications, issues are locked until they are https://github.com/EddieHubCommunity/LinkFree/labels/%F0%9F%8F%81%20status%3A%20ready%20for%20dev and to be assigned. You can learn more in our contributing guide https://github.com/EddieHubCommunity/LinkFree/blob/main/CONTRIBUTING.md | ||
To reduce notifications, issues are locked until they are https://github.com/EddieHubCommunity/BioDrop/labels/%F0%9F%8F%81%20status%3A%20ready%20for%20dev and to be assigned. You can learn more in our contributing guide https://github.com/EddieHubCommunity/BioDrop/blob/main/CONTRIBUTING.md | ||
lock: true | ||
|
||
"🏁 status: ready for dev": | ||
issues: | ||
comment: > | ||
The issue has been unlocked and is now ready for dev. If you would like to work on this issue, you can comment to have it assigned to you. You can learn more in our contributing guide https://github.com/EddieHubCommunity/LinkFree/blob/main/CONTRIBUTING.md | ||
The issue has been unlocked and is now ready for dev. If you would like to work on this issue, you can comment to have it assigned to you. You can learn more in our contributing guide https://github.com/EddieHubCommunity/BioDrop/blob/main/CONTRIBUTING.md | ||
unlock: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
'✍ chore: profile': | ||
- 'data/**' | ||
"✍ chore: profile": | ||
- "data/**" | ||
|
||
"invalid": | ||
- "data/**" | ||
|
||
tests: | ||
- 'tests/**' | ||
- "tests/**" | ||
|
||
storybook: | ||
- 'stories/**' | ||
- "stories/**" | ||
|
||
dependencies: | ||
- 'package.*' | ||
- "package.*" | ||
|
||
'CI/CD': | ||
- '.github/**' | ||
"CI/CD": | ||
- ".github/**" | ||
|
||
'📖 docs': | ||
- 'pages/docs/**' | ||
"📖 docs": | ||
- "pages/docs/**" | ||
|
||
'models': | ||
- 'models/**' | ||
"models": | ||
- "models/**" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,42 @@ | ||
let fileNames = process.env.FILENAMES.split(' '); | ||
const baseFileNames = process.env.BASE_FILENAMES.split(' '); | ||
const user = process.env.USERNAME; | ||
let exitCode = 0; | ||
|
||
// Remove files not changed in this PR from list | ||
if (baseFileNames.length > 0) { | ||
fileNames = fileNames.filter(file => !baseFileNames.includes(file)); | ||
} | ||
|
||
if (fileNames.length > 0) { | ||
fileNames.forEach(file => { | ||
const splitFile = file.split('/'); | ||
const userPart = splitFile[1]; | ||
// Files not in data directory produce a warning | ||
if(splitFile[0] !== 'data') { | ||
console.log(`::warning ::${file} included in Pull Request with profile changes but not in data directory.`); | ||
return; | ||
} | ||
if (!file.endsWith('.json')){ | ||
exitCode = 1; | ||
console.log(`::error ::Filename ${file} does not end with '.json'`); | ||
return; | ||
} | ||
if ((userPart !== user ) && (userPart !== `${user}.json`)){ | ||
// Allow for testimonials | ||
if((splitFile.length == 4) && (splitFile[2] === 'testimonials') && (splitFile[3] === `${user}.json`)) { | ||
return; | ||
} | ||
exitCode = 1; | ||
console.log(`::error ::Filename ${file} does not match user ${user}`); | ||
} | ||
}); | ||
} | ||
|
||
process.exit(exitCode); | ||
let fileNames = process.env.FILENAMES.split(" "); | ||
const baseFileNames = process.env.BASE_FILENAMES.split(" "); | ||
const user = process.env.USERNAME; | ||
let exitCode = 0; | ||
|
||
// Remove files not changed in this PR from list | ||
if (baseFileNames.length > 0) { | ||
fileNames = fileNames.filter((file) => !baseFileNames.includes(file)); | ||
} | ||
|
||
if (fileNames.length > 0) { | ||
fileNames.forEach((file) => { | ||
const splitFile = file.split("/"); | ||
const userPart = splitFile[1]; | ||
// Files not in data directory produce a warning | ||
if (splitFile[0] !== "data") { | ||
console.log( | ||
`::warning ::${file} included in Pull Request with profile changes but not in data directory.`, | ||
); | ||
return; | ||
} | ||
if (!file.endsWith(".json")) { | ||
exitCode = 1; | ||
console.log(`::error ::Filename ${file} does not end with '.json'`); | ||
return; | ||
} | ||
if (userPart !== user && userPart !== `${user}.json`) { | ||
// Allow for testimonials | ||
if ( | ||
splitFile.length == 4 && | ||
splitFile[2] === "testimonials" && | ||
splitFile[3] === `${user}.json` | ||
) { | ||
return; | ||
} | ||
exitCode = 1; | ||
console.log(`::error ::Filename ${file} does not match user ${user}`); | ||
} | ||
}); | ||
} | ||
|
||
process.exit(exitCode); |
Oops, something went wrong.