diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index e7eb65913..46ec6ab67 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,16 +1,21 @@ - + ## Requirements -Unless explicitly specified otherwise by a **maintainer** or in the requirement description, your domain must pass **ALL** the indicated requirements above. +Unless explicitly specified otherwise by a **maintainer** or in the requirement description, your domain **MUST** pass **ALL** the indicated requirements below. -Please note that we reserve the rights not to accept any domain at our own discretion. + +- [ ] I have **read** and **understood** the [Terms of Service](https://is-a.dev/terms). +- [ ] My domain is **not** for commercial use. +- [ ] My file is in the `domains` folder and is in the JSON format. +- [ ] My file's name is all lowercased and alphanumeric. +- [ ] The website is **reachable**. +- [ ] I have **completed** my website. +- [ ] My website is related to **software development**. +- [ ] I have provided contact information in the `owner` key. +- [ ] I have **followed** the [documentation](https://docs.is-a.dev). +- [ ] I understand my domain may be removed if I violate the [Terms of Service](https://is-a.dev/terms). -- [ ] The file is in the `domains` folder and is in the JSON format. -- [ ] The file's name is all lowercased and alphanumeric. -- [ ] You have completed your website. -- [ ] The website is reachable. -- [ ] The CNAME record doesn't contain `https://` or `/`. -- [ ] There is sufficient information at the `owner` field. - -## Website Link/Preview - +## Website Preview + diff --git a/domains/_vercel.namansrivastava.json b/domains/_vercel.namansrivastava.json new file mode 100644 index 000000000..5cc5e18db --- /dev/null +++ b/domains/_vercel.namansrivastava.json @@ -0,0 +1,10 @@ +{ + "owner": { + "username": "naman-0804", + "email": "namansrivastava1608@gmail.com", + "discord": "naman_1101" + }, + "record": { + "TXT": "vc-domain-verify=namansrivastava.is-a.dev,7b128b70cd9aae28bf1c" + } +} diff --git a/domains/jeff.json b/domains/jeff.json index 3d0db8456..d40c5f7c4 100644 --- a/domains/jeff.json +++ b/domains/jeff.json @@ -1,9 +1,21 @@ { "owner": { "username": "PentSec", - "email": "jeffreysfu@gmail.com" + "email": "pentsec.2@protonmail.com" }, "record": { "CNAME": "pentsec.github.io" - } + }, + "redirect_config": { + "custom_paths": { + "/gh": "https://github.com/PentSec", + "/dc": "https://discord.com/users/284896471210393600", + "/x": "https://x.com/__J3ff_", + "/bsky": "https://sitoz.bsky.social", + "/tw": "https://twitch.tv/Sitoz1", + "/kick": "https://kick.com/Sitoz1", + "/ig": "https://www.instagram.com/jeffreysfuenmayor_" + } + }, + "proxied": true } diff --git a/domains/namansrivastava.json b/domains/namansrivastava.json index 9ce51f4d6..2a10e2029 100644 --- a/domains/namansrivastava.json +++ b/domains/namansrivastava.json @@ -1,11 +1,10 @@ { - "description": "Naman's personal developer website", - "repo": "https://github.com/naman-0804/Portfolio-Naman", - "owner": { - "username": "naman-0804", - "email": "namansrivastava1608@gmail.com" - }, - "record": { - "CNAME": "naman08portfolio.vercel.app" - } + "owner": { + "username": "naman-0804", + "email": "namansrivastava1608@gmail.com", + "discord": "naman_1101" + }, + "record": { + "CNAME": "naman08portfolio.vercel.app" + } } diff --git a/domains/raw.json b/domains/raw.json new file mode 100644 index 000000000..cc2562542 --- /dev/null +++ b/domains/raw.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "is-a-dev", + "email": "admin@is-a.dev" + }, + "record": { + "URL": "https://raw-api.is-a.dev" + } +} diff --git a/tests/records.test.js b/tests/records.test.js index 8a1bbabbc..223971308 100644 --- a/tests/records.test.js +++ b/tests/records.test.js @@ -267,7 +267,13 @@ t("All files should have valid record types", (t) => { ); } if (data.redirect_config) { - t.true(recordKeys.includes("URL"), `${file}: Redirect config must be combined with a URL record`); + t.true( + recordKeys.includes("URL") || data.proxied, + `${file}: Redirect config must be combined with a URL record or the domain must be proxied` + ); + if (data.redirect_config.redirect_paths) { + t.true(recordKeys.includes("URL"), `${file}: redirect_config.redirect_paths requires a URL record`); + } } validateRecordValues(t, data, file);