From ecb4d1a6d9cac88e0114f60defb8d6b17caee278 Mon Sep 17 00:00:00 2001 From: "Jeff." Date: Mon, 13 Jan 2025 08:54:32 -0400 Subject: [PATCH 01/12] Add redirect configuration with custom paths to jeff.json --- domains/jeff.json | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/domains/jeff.json b/domains/jeff.json index 3d0db8456..d1e3edcab 100644 --- a/domains/jeff.json +++ b/domains/jeff.json @@ -5,5 +5,18 @@ }, "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_" + + }, + "redirect_paths": true } } From 7afe740a8d4aa9502b5cd7d11eaecc30a2068306 Mon Sep 17 00:00:00 2001 From: "Jeff." Date: Mon, 13 Jan 2025 09:09:59 -0400 Subject: [PATCH 02/12] update jeff.json --- domains/jeff.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/jeff.json b/domains/jeff.json index d1e3edcab..6fc12d246 100644 --- a/domains/jeff.json +++ b/domains/jeff.json @@ -1,7 +1,7 @@ { "owner": { "username": "PentSec", - "email": "jeffreysfu@gmail.com" + "email": "pentsec.2@protonmail.com" }, "record": { "CNAME": "pentsec.github.io" From 808d881bd4765719edd3cb3dfa58ff82d71a16fa Mon Sep 17 00:00:00 2001 From: "Jeff." Date: Mon, 13 Jan 2025 09:12:31 -0400 Subject: [PATCH 03/12] update jeff.json --- domains/jeff.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/domains/jeff.json b/domains/jeff.json index 6fc12d246..5f9d01561 100644 --- a/domains/jeff.json +++ b/domains/jeff.json @@ -4,7 +4,8 @@ "email": "pentsec.2@protonmail.com" }, "record": { - "CNAME": "pentsec.github.io" + "CNAME": "pentsec.github.io", + "URL": "https://jeff.is-a.dev" }, "redirect_config": { "custom_paths": { From 0f4a89453bd1ab6ff2effe57ef9fcba098bf7082 Mon Sep 17 00:00:00 2001 From: "Jeff." Date: Mon, 13 Jan 2025 09:17:21 -0400 Subject: [PATCH 04/12] Update jeff.json to remove URL and add proxied flag --- domains/jeff.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/domains/jeff.json b/domains/jeff.json index 5f9d01561..ee2861fd8 100644 --- a/domains/jeff.json +++ b/domains/jeff.json @@ -4,8 +4,7 @@ "email": "pentsec.2@protonmail.com" }, "record": { - "CNAME": "pentsec.github.io", - "URL": "https://jeff.is-a.dev" + "CNAME": "pentsec.github.io" }, "redirect_config": { "custom_paths": { @@ -19,5 +18,6 @@ }, "redirect_paths": true - } + }, + "proxied": true } From afcdd498a5442469c373d9e9e129573e40c05be9 Mon Sep 17 00:00:00 2001 From: Naman Srivastava <110972759+naman-0804@users.noreply.github.com> Date: Tue, 14 Jan 2025 10:53:31 +0530 Subject: [PATCH 05/12] Create _vercel.namansrivastava.json --- domains/_vercel.namansrivastava.json | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 domains/_vercel.namansrivastava.json 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" + } +} From 9294b5fb7459894120f7183acfffbffe6a60a949 Mon Sep 17 00:00:00 2001 From: Naman Srivastava <110972759+naman-0804@users.noreply.github.com> Date: Tue, 14 Jan 2025 10:59:17 +0530 Subject: [PATCH 06/12] Update namansrivastava.json --- domains/namansrivastava.json | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) 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" + } } From 1ec4d06572615447a927d03abd9720c7a3dbd681 Mon Sep 17 00:00:00 2001 From: Stefano Del Prete Date: Tue, 14 Jan 2025 10:07:19 +0100 Subject: [PATCH 07/12] add documentatio to PR template --- .github/PULL_REQUEST_TEMPLATE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index e7eb65913..ff56f15ec 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -11,6 +11,7 @@ Please note that we reserve the rights not to accept any domain at our own discr - [ ] The website is reachable. - [ ] The CNAME record doesn't contain `https://` or `/`. - [ ] There is sufficient information at the `owner` field. +- [ ] I have read the [documentation](https://docs.is-a.dev). ## Website Link/Preview From a6d7eeb6b7c592bc49aa69e1c5082e4f5baa3e96 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Tue, 14 Jan 2025 17:48:57 +0800 Subject: [PATCH 08/12] Update PULL_REQUEST_TEMPLATE.md --- .github/PULL_REQUEST_TEMPLATE.md | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index ff56f15ec..46ec6ab67 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,17 +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. -- [ ] I have read the [documentation](https://docs.is-a.dev). - -## Website Link/Preview - +## Website Preview + From 17f5816cce6e3939ddcc4f974b778ec620605d77 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Tue, 14 Jan 2025 17:51:49 +0800 Subject: [PATCH 09/12] Create raw.json --- domains/raw.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/raw.json 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" + } +} From 7cea188f742a0f972ddc6a3200a639a1f3ecd74e Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Tue, 14 Jan 2025 18:05:02 +0800 Subject: [PATCH 10/12] feat(ci): redirect_config for proxied domains --- tests/records.test.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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); From 0d16c22bce36ede4aebb6310d34aa010845a1902 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Tue, 14 Jan 2025 18:06:21 +0800 Subject: [PATCH 11/12] disable `redirect_paths` --- domains/jeff.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/domains/jeff.json b/domains/jeff.json index ee2861fd8..71f30eab9 100644 --- a/domains/jeff.json +++ b/domains/jeff.json @@ -16,8 +16,7 @@ "/kick": "https://kick.com/Sitoz1", "/ig": "https://www.instagram.com/jeffreysfuenmayor_" - }, - "redirect_paths": true + } }, "proxied": true } From 0da0de886c2e5d16ba7910951f3651caff4725ce Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Tue, 14 Jan 2025 18:06:37 +0800 Subject: [PATCH 12/12] Update jeff.json --- domains/jeff.json | 1 - 1 file changed, 1 deletion(-) diff --git a/domains/jeff.json b/domains/jeff.json index 71f30eab9..d40c5f7c4 100644 --- a/domains/jeff.json +++ b/domains/jeff.json @@ -15,7 +15,6 @@ "/tw": "https://twitch.tv/Sitoz1", "/kick": "https://kick.com/Sitoz1", "/ig": "https://www.instagram.com/jeffreysfuenmayor_" - } }, "proxied": true