From f2ab58e027dba8b987d3053cae2dfd715ea49da7 Mon Sep 17 00:00:00 2001 From: roxiTheReal Date: Tue, 27 May 2025 14:59:32 +0200 Subject: [PATCH 1/9] Create roxi.json --- domains/roxi.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 domains/roxi.json diff --git a/domains/roxi.json b/domains/roxi.json new file mode 100644 index 0000000000..c9a09445c1 --- /dev/null +++ b/domains/roxi.json @@ -0,0 +1,8 @@ +{ + "owner": { + "username": "roxiTheReal" + }, + "records" { + "CNAME": "roxiTheReal.github.io" + } +} From b572dddcc1f399ea91e1d49f280d77176188afb0 Mon Sep 17 00:00:00 2001 From: roxiTheReal Date: Tue, 27 May 2025 16:11:40 +0200 Subject: [PATCH 2/9] Update roxi.json --- domains/roxi.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/domains/roxi.json b/domains/roxi.json index c9a09445c1..563416590c 100644 --- a/domains/roxi.json +++ b/domains/roxi.json @@ -1,6 +1,7 @@ { "owner": { - "username": "roxiTheReal" + "username": "roxiTheReal", + "email": "aetheron.inc@proton.me" }, "records" { "CNAME": "roxiTheReal.github.io" From 7f5d528061df788911ad9da5151741b2aea173a0 Mon Sep 17 00:00:00 2001 From: roxiTheReal Date: Tue, 27 May 2025 16:14:20 +0200 Subject: [PATCH 3/9] Update roxi.json Added TXT records --- domains/roxi.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/domains/roxi.json b/domains/roxi.json index 563416590c..5e188868a8 100644 --- a/domains/roxi.json +++ b/domains/roxi.json @@ -4,6 +4,7 @@ "email": "aetheron.inc@proton.me" }, "records" { - "CNAME": "roxiTheReal.github.io" + "CNAME": "roxiTheReal.github.io", + "TXT": "openai-domain-verification=dv-aDPvVGgm94H2RBc5avIupJbC" } } From 37222b8d4eea8fb091d6fe44d623f1ffbe91c3fa Mon Sep 17 00:00:00 2001 From: roxiTheReal Date: Fri, 30 May 2025 13:20:56 +0200 Subject: [PATCH 4/9] Removed TXT record --- domains/roxi.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/domains/roxi.json b/domains/roxi.json index 5e188868a8..8b1d0d3d5d 100644 --- a/domains/roxi.json +++ b/domains/roxi.json @@ -3,8 +3,7 @@ "username": "roxiTheReal", "email": "aetheron.inc@proton.me" }, - "records" { - "CNAME": "roxiTheReal.github.io", - "TXT": "openai-domain-verification=dv-aDPvVGgm94H2RBc5avIupJbC" + "records": { + "CNAME": "roxiTheReal.github.io" } } From e32cf0787277ffd83ca4965fde6ca4a72e6d7566 Mon Sep 17 00:00:00 2001 From: TGGamesYT Date: Fri, 30 May 2025 20:17:11 +0200 Subject: [PATCH 5/9] Update tg.json --- domains/tg.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/domains/tg.json b/domains/tg.json index 31bce16158..2b0dbf446d 100644 --- a/domains/tg.json +++ b/domains/tg.json @@ -4,7 +4,8 @@ "email": "tothgergoci2@gmail.com" }, "records": { - "CNAME": "tggamesyt.github.io" + "CNAME": "tggamesyt.github.io", + "TXT": "google-site-verification=MqP9uuv-eJnnCBGFcD2xK5ux6S1YZpLm2aySQQNiAWI" }, "proxied": true } \ No newline at end of file From fb1752b48aa0853b498972f68e6fe9669bcd526f Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Sat, 31 May 2025 09:11:13 +0800 Subject: [PATCH 6/9] matchingType -> matching_type --- dnsconfig.js | 30 +++++++++++++++--------------- tests/records.test.js | 4 ++-- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/dnsconfig.js b/dnsconfig.js index 833d3d6a58..b9453671ca 100644 --- a/dnsconfig.js +++ b/dnsconfig.js @@ -111,7 +111,7 @@ for (var subdomain in domains) { subdomainName, tlsaRecord.usage, tlsaRecord.selector, - tlsaRecord.matchingType, + tlsaRecord.matching_type, tlsaRecord.certificate ) ); @@ -136,6 +136,10 @@ for (var subdomain in domains) { // Manage service records if (data.services) { + if (data.services.bluesky) { + records.push(TXT("_atproto." + subdomainName, "\"" + data.services.bluesky + "\"")); + } + if (data.services.discord) { if (Array.isArray(data.services.discord)) { for (var txt in data.services.discord) { @@ -146,20 +150,6 @@ for (var subdomain in domains) { } } - if (data.services.vercel) { - if (Array.isArray(data.services.vercel)) { - for (var txt in data.services.vercel) { - records.push(TXT("_vercel." + subdomainName, "\"" + data.services.vercel[txt] + "\"")); - } - } else { - records.push(TXT("_vercel." + subdomainName, "\"" + data.services.vercel + "\"")); - } - } - - if (data.services.bluesky) { - records.push(TXT("_atproto." + subdomainName, "\"" + data.services.bluesky + "\"")); - } - if (data.services.gitlab) { if (Array.isArray(data.services.gitlab)) { for (var txt in data.services.gitlab) { @@ -169,6 +159,16 @@ for (var subdomain in domains) { records.push(TXT("_gitlab-pages-verification-code." + subdomainName, "\"" + data.services.gitlab + "\"")); } } + + if (data.services.vercel) { + if (Array.isArray(data.services.vercel)) { + for (var txt in data.services.vercel) { + records.push(TXT("_vercel." + subdomainName, "\"" + data.services.vercel[txt] + "\"")); + } + } else { + records.push(TXT("_vercel." + subdomainName, "\"" + data.services.vercel + "\"")); + } + } } } diff --git a/tests/records.test.js b/tests/records.test.js index 773de6bb61..38a0108878 100644 --- a/tests/records.test.js +++ b/tests/records.test.js @@ -212,8 +212,8 @@ function validateRecordValues(t, data, file) { `${file}: Invalid selector for ${key} at index ${idx}` ); t.true( - Number.isInteger(record.matchingType) && record.matchingType >= 0 && record.matchingType <= 255, - `${file}: Invalid matchingType for ${key} at index ${idx}` + Number.isInteger(record.matching_type) && record.matching_type >= 0 && record.matching_type <= 255, + `${file}: Invalid matching_type for ${key} at index ${idx}` ); t.true( isValidHexadecimal(record.certificate), From 318269475eb1f19308d8ee0900adb45dcc43a8f1 Mon Sep 17 00:00:00 2001 From: William Harrison <87287585+wdhdev@users.noreply.github.com> Date: Sat, 31 May 2025 09:22:59 +0800 Subject: [PATCH 7/9] Update raw-api.js --- util/raw-api.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/util/raw-api.js b/util/raw-api.js index a4cc181151..f0ba57ef64 100644 --- a/util/raw-api.js +++ b/util/raw-api.js @@ -160,6 +160,9 @@ fs.readdir(directoryPath, function (err, files) { processedCount++; if (processedCount === files.length) { + v1.sort((a, b) => a.domain.localeCompare(b.subdomain)); + v2.sort((a, b) => a.domain.localeCompare(b.subdomain)); + fs.writeFile("raw-api/index.json", JSON.stringify(v1), (err) => { if (err) throw err; }); From d3a0e8d8062edefbd37cc73c74eb69b1571d3730 Mon Sep 17 00:00:00 2001 From: roxiTheReal Date: Sat, 31 May 2025 11:10:13 +0200 Subject: [PATCH 8/9] Create _github-pages-challenge-roxiTheReal.roxi.json --- domains/_github-pages-challenge-roxiTheReal.roxi.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/_github-pages-challenge-roxiTheReal.roxi.json diff --git a/domains/_github-pages-challenge-roxiTheReal.roxi.json b/domains/_github-pages-challenge-roxiTheReal.roxi.json new file mode 100644 index 0000000000..5c54ca975c --- /dev/null +++ b/domains/_github-pages-challenge-roxiTheReal.roxi.json @@ -0,0 +1,9 @@ +{ + "owner": { + "username": "roxiTheReal", + "email": "aetheron.inc@proton.me" + }, + "records": { + "TXT": "b4a63d8475ddf68f5f1a907cb04fff" + } +} From baf9a8f8c859bd4bbc3fff8099eaf90bb4b50f35 Mon Sep 17 00:00:00 2001 From: roxiTheReal Date: Sat, 31 May 2025 11:22:15 +0200 Subject: [PATCH 9/9] renamed to all lowercase --- ...al.roxi.json => _github-pages-challenge-roxithereal.roxi.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename domains/{_github-pages-challenge-roxiTheReal.roxi.json => _github-pages-challenge-roxithereal.roxi.json} (100%) diff --git a/domains/_github-pages-challenge-roxiTheReal.roxi.json b/domains/_github-pages-challenge-roxithereal.roxi.json similarity index 100% rename from domains/_github-pages-challenge-roxiTheReal.roxi.json rename to domains/_github-pages-challenge-roxithereal.roxi.json