From 571eddae9e55b8576a6813491bfc06e42c088932 Mon Sep 17 00:00:00 2001 From: Zuhdi Ghawi <73612690+zplusfour@users.noreply.github.com> Date: Wed, 10 Mar 2021 09:38:15 +0200 Subject: [PATCH 01/23] Create zplusfour.json --- domains/zplusfour.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 domains/zplusfour.json diff --git a/domains/zplusfour.json b/domains/zplusfour.json new file mode 100644 index 000000000..5b5936305 --- /dev/null +++ b/domains/zplusfour.json @@ -0,0 +1,11 @@ +{ + "description": "zplusfour's personal developer website", + "repo": "https://github.com/zplusfour", + "owner": { + "username": "zplusfour", + "email": "zgjoniur@gmail.com" + }, + "record": { + "CNAME": "zplusfour.repl.co" + } +} From 20c5e836ba7a68dc5ee5ab34e622ad8b2960bef0 Mon Sep 17 00:00:00 2001 From: aanthr0 <42799339+aanthr0@users.noreply.github.com> Date: Fri, 19 Mar 2021 17:11:37 +0100 Subject: [PATCH 02/23] Create aanthr0.json --- domains/aanthr0.json | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 domains/aanthr0.json diff --git a/domains/aanthr0.json b/domains/aanthr0.json new file mode 100644 index 000000000..deea08d0a --- /dev/null +++ b/domains/aanthr0.json @@ -0,0 +1,9 @@ +{ + "owner": { + "name": "aanthr0", + "email": "anthromadayt@gmail.com" + }, + "record": { + "CNAME: "na1.bluefoxhost.com:8215" + } +} From 29dd3cae11352c6fca535dcd7beb292313814128 Mon Sep 17 00:00:00 2001 From: aanthr0 <42799339+aanthr0@users.noreply.github.com> Date: Fri, 19 Mar 2021 17:50:16 +0100 Subject: [PATCH 03/23] Update aanthr0.json --- domains/aanthr0.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/aanthr0.json b/domains/aanthr0.json index deea08d0a..cd27838bf 100644 --- a/domains/aanthr0.json +++ b/domains/aanthr0.json @@ -4,6 +4,6 @@ "email": "anthromadayt@gmail.com" }, "record": { - "CNAME: "na1.bluefoxhost.com:8215" + "CNAME: "185.208.169.80:8215" } } From 73cfd331a9cd70d69fe627cf3b6cef38fb21174c Mon Sep 17 00:00:00 2001 From: aanthr0 <42799339+aanthr0@users.noreply.github.com> Date: Fri, 19 Mar 2021 18:21:48 +0100 Subject: [PATCH 04/23] Update aanthr0.json --- domains/aanthr0.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/aanthr0.json b/domains/aanthr0.json index cd27838bf..27226729c 100644 --- a/domains/aanthr0.json +++ b/domains/aanthr0.json @@ -4,6 +4,6 @@ "email": "anthromadayt@gmail.com" }, "record": { - "CNAME: "185.208.169.80:8215" + "A: ["185.208.169.80:8215"] } } From 7db3f4440c1b050443fb570d642a67a0723e82ab Mon Sep 17 00:00:00 2001 From: aanthr0 <42799339+aanthr0@users.noreply.github.com> Date: Fri, 19 Mar 2021 18:29:28 +0100 Subject: [PATCH 05/23] Update aanthr0.json --- domains/aanthr0.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/aanthr0.json b/domains/aanthr0.json index 27226729c..25abd936c 100644 --- a/domains/aanthr0.json +++ b/domains/aanthr0.json @@ -4,6 +4,6 @@ "email": "anthromadayt@gmail.com" }, "record": { - "A: ["185.208.169.80:8215"] + "URL: "na1.bluefoxhost.com:8215" } } From 5cab255afc4ebbef79e3ad0b20592bac4fc799a8 Mon Sep 17 00:00:00 2001 From: Sheldoncottrell <66734659+Niteshballa@users.noreply.github.com> Date: Mon, 22 Mar 2021 11:58:13 +0530 Subject: [PATCH 06/23] Add files via upload --- domains/nitesh.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 domains/nitesh.json diff --git a/domains/nitesh.json b/domains/nitesh.json new file mode 100644 index 000000000..041f91af5 --- /dev/null +++ b/domains/nitesh.json @@ -0,0 +1,11 @@ +{ + "description": "A personal portfolio site", + "repo": "https://github.com/Niteshballa", + "owner": { + "username": "Niteshballa", + "email": "nithesh.mom@gmail.com" + }, + "record": { + "CNAME": "Niteshballa.github.io " + } +} From 0dcbbf1d247313c90af11020977a34f632563012 Mon Sep 17 00:00:00 2001 From: Sheldoncottrell <66734659+Niteshballa@users.noreply.github.com> Date: Mon, 22 Mar 2021 18:50:53 +0530 Subject: [PATCH 07/23] Update nitesh.json --- domains/nitesh.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/nitesh.json b/domains/nitesh.json index 041f91af5..a12dabcf5 100644 --- a/domains/nitesh.json +++ b/domains/nitesh.json @@ -6,6 +6,6 @@ "email": "nithesh.mom@gmail.com" }, "record": { - "CNAME": "Niteshballa.github.io " + "CNAME": "Niteshballa.github.io" } } From 06b360680211a36128990bcd1b98400f2e1127d6 Mon Sep 17 00:00:00 2001 From: "mtgsquad.dev" <75879007+mtgsquad@users.noreply.github.com> Date: Mon, 22 Mar 2021 18:41:36 +0500 Subject: [PATCH 08/23] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 12f97d998..f89f2a4cf 100644 --- a/README.md +++ b/README.md @@ -27,3 +27,6 @@ Please consider donating to help me keep this running forever! ## License This project is under the [GPL-3.0](./LICENSE) license. + +## Team +This Is Owned By [Phenax](https://akshay.is-a.dev), And Managed By [MTGSquad](https://mtg.is-a.dev) From 60959f778d0e6fda31757a7f1ade37d431a8d139 Mon Sep 17 00:00:00 2001 From: LuanRT Date: Tue, 23 Mar 2021 02:48:53 -0300 Subject: [PATCH 09/23] Create luanrt.json --- domains/luanrt.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 domains/luanrt.json diff --git a/domains/luanrt.json b/domains/luanrt.json new file mode 100644 index 000000000..2a08a4590 --- /dev/null +++ b/domains/luanrt.json @@ -0,0 +1,11 @@ +{ + "description": "The personal website for LuanRT", + "repo": "https://github.com/luanrt/luanrt.github.io", + "owner": { + "username": "luanrt", + "email": "luan.lrt4@gmail.com" + }, + "record": { + "CNAME": "luanrt.github.io" + } +} From 3ca2e7c453cc972176d358bb5fe7b242c415982b Mon Sep 17 00:00:00 2001 From: "mtgsquad.dev" <75879007+mtgsquad@users.noreply.github.com> Date: Tue, 23 Mar 2021 16:26:20 +0500 Subject: [PATCH 10/23] Create molai.json --- domains/molai.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 domains/molai.json diff --git a/domains/molai.json b/domains/molai.json new file mode 100644 index 000000000..1d7d3a263 --- /dev/null +++ b/domains/molai.json @@ -0,0 +1,11 @@ +{ + "description": "This website is a link to my personal developer portfolio.", + "repo": "https://github.com/mtgsquad/mahir-molai", + "owner": { + "username": "mtgsquad", + "email": "mtgissmart@gmail.com" + }, + "record": { + "CNAME": "mahir-molai.pages.dev" + } +} From fc0a50611e8a9ec36e153d4ea5a52237380a07cb Mon Sep 17 00:00:00 2001 From: Sheldoncottrell <66734659+Niteshballa@users.noreply.github.com> Date: Wed, 24 Mar 2021 18:50:26 +0530 Subject: [PATCH 11/23] Update nitesh.json --- domains/nitesh.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/nitesh.json b/domains/nitesh.json index a12dabcf5..0184367ce 100644 --- a/domains/nitesh.json +++ b/domains/nitesh.json @@ -1,5 +1,5 @@ { - "description": "A personal portfolio site", + "description": "My personal portfolio site", "repo": "https://github.com/Niteshballa", "owner": { "username": "Niteshballa", From aeef9138a97a66f5d3c04783a5a17821e3733ec0 Mon Sep 17 00:00:00 2001 From: Shuchir Jain <53063247+CoolCoderSJ@users.noreply.github.com> Date: Wed, 24 Mar 2021 12:58:14 -0400 Subject: [PATCH 12/23] Change hosting from replit to github CNAME issues on replit --- domains/coolcodersj.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/coolcodersj.json b/domains/coolcodersj.json index ce6374582..10a5a7f74 100644 --- a/domains/coolcodersj.json +++ b/domains/coolcodersj.json @@ -7,6 +7,6 @@ "description": "Portfolio", "record": { - "CNAME": "89a354d3-9624-4f42-8f7c-a7e2db1be2cf.repl.co" + "CNAME": "coolcodersj.github.io" } } From 728e28d1003bbcd619e9c75576d3a63e1f6a317f Mon Sep 17 00:00:00 2001 From: aanthr0 <42799339+aanthr0@users.noreply.github.com> Date: Fri, 26 Mar 2021 10:49:41 +0100 Subject: [PATCH 13/23] Update aanthr0.json MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thank you for noticing the error, I would've never seen it ¯\_(ツ)_/¯ --- domains/aanthr0.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/aanthr0.json b/domains/aanthr0.json index 25abd936c..d1bd68c28 100644 --- a/domains/aanthr0.json +++ b/domains/aanthr0.json @@ -4,6 +4,6 @@ "email": "anthromadayt@gmail.com" }, "record": { - "URL: "na1.bluefoxhost.com:8215" + "URL": "na1.bluefoxhost.com:8215" } } From 90f9ec82f6fc35841eb39bdcb4c5ad9fe19a2a62 Mon Sep 17 00:00:00 2001 From: aanthr0 <42799339+aanthr0@users.noreply.github.com> Date: Fri, 26 Mar 2021 10:50:38 +0100 Subject: [PATCH 14/23] Update aanthr0.json --- domains/aanthr0.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/aanthr0.json b/domains/aanthr0.json index d1bd68c28..c79b9ec46 100644 --- a/domains/aanthr0.json +++ b/domains/aanthr0.json @@ -4,6 +4,6 @@ "email": "anthromadayt@gmail.com" }, "record": { - "URL": "na1.bluefoxhost.com:8215" + "URL": "http://na1.bluefoxhost.com:8215" } } From ec56c3f1789dac376e1fc11414350021f587ae1e Mon Sep 17 00:00:00 2001 From: aanthr0 <42799339+aanthr0@users.noreply.github.com> Date: Fri, 26 Mar 2021 10:51:28 +0100 Subject: [PATCH 15/23] Update aanthr0.json --- domains/aanthr0.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/aanthr0.json b/domains/aanthr0.json index c79b9ec46..813213340 100644 --- a/domains/aanthr0.json +++ b/domains/aanthr0.json @@ -1,6 +1,6 @@ { "owner": { - "name": "aanthr0", + "username": "aanthr0", "email": "anthromadayt@gmail.com" }, "record": { From 21f289c60d3554769c52fb6af0d9c2b848f85f7c Mon Sep 17 00:00:00 2001 From: aanthr0 <42799339+aanthr0@users.noreply.github.com> Date: Fri, 9 Apr 2021 12:24:09 +0200 Subject: [PATCH 16/23] Update aanthr0.json --- domains/aanthr0.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/aanthr0.json b/domains/aanthr0.json index 813213340..3980f2796 100644 --- a/domains/aanthr0.json +++ b/domains/aanthr0.json @@ -4,6 +4,6 @@ "email": "anthromadayt@gmail.com" }, "record": { - "URL": "http://na1.bluefoxhost.com:8215" + "URL": "http://bh006.bluefoxhost.com:8215" } } From 50edbab55a3bdf8629abb0fa87609dd07fff9f5c Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 10 Apr 2021 14:05:40 +0530 Subject: [PATCH 17/23] Fixes not-a-nerd file path --- not-a-nerd.json => domains/not-a-nerd.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename not-a-nerd.json => domains/not-a-nerd.json (84%) diff --git a/not-a-nerd.json b/domains/not-a-nerd.json similarity index 84% rename from not-a-nerd.json rename to domains/not-a-nerd.json index b90ba517e..67804e42f 100644 --- a/not-a-nerd.json +++ b/domains/not-a-nerd.json @@ -3,7 +3,7 @@ "repo": "https://github.com/0lp/0lp.github.io", "owner": { "username": "0lp", - "email": "not.a.nerd0005@gmail.com", + "email": "not.a.nerd0005@gmail.com" }, "record": { "CNAME": "0lp.github.io" From 9e1a73ea089a18999bdd0d0cb4dff84f64f11dbf Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 10 Apr 2021 14:07:08 +0530 Subject: [PATCH 18/23] Moves to docker for script execution --- Dockerfile | 21 +++++++++++++++++++++ default.nix | 8 +++++--- docker-compose.yml | 8 ++++++++ 3 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 Dockerfile create mode 100644 docker-compose.yml diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..d5a4de6b7 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,21 @@ +FROM ubuntu:20.04 + +ENV TERM xterm +RUN ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime + +RUN apt-get -y update +RUN apt-get install -y nodejs npm curl wget dnsutils certbot --fix-missing + +RUN npm i -g n yarn && n 15.11 + +RUN node -v + +WORKDIR /opt/app + +COPY yarn.lock . +COPY package.json . + +RUN yarn install + +CMD ["sh", "-c", "cp -r node_modules code; cd code; tail -f /dev/null"] + diff --git a/default.nix b/default.nix index cf07b33d5..1eec77277 100644 --- a/default.nix +++ b/default.nix @@ -5,10 +5,12 @@ let nixPackages = with pkgs; [ nodejs-15_x yarn - dnsutils - certbot + docker-compose + #dnsutils + #certbot ]; -in pkgs.stdenv.mkDerivation { +in +pkgs.stdenv.mkDerivation { name = "env"; buildInputs = nixPackages; } diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 000000000..5b161f929 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,8 @@ +version: '3' +services: + dev: + build: + context: . + dockerfile: ./Dockerfile + volumes: + - ./:/opt/app/code From 7ce8af690fdb50adeea5b71c95947d0dbee4fe6f Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 10 Apr 2021 14:07:43 +0530 Subject: [PATCH 19/23] Fixes certbot acme validation reset --- scripts/certbot.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/certbot.sh b/scripts/certbot.sh index 754f38d2d..f8809e4a1 100755 --- a/scripts/certbot.sh +++ b/scripts/certbot.sh @@ -74,15 +74,16 @@ upload_acme_file() { } reset_acme() { - update_record remove A 'www.is-a.dev' "68.65.123.44"; + update_record remove A 'www' "68.65.123.44"; sleep 1; - update_record add CNAME 'www.is-a.dev' "is-a-dev.github.io"; + update_record add CNAME 'www' "is-a-dev.github.io"; } case "$1" in check) echo "TXT record:: $(dig +noall +answer _acme-challenge.is-a.dev TXT | awk '{print $5}')"; ;; + config_www) update_www_record ;; acme_txt) update_acme_txt_record "$2" ;; acme_file) upload_acme_file "$2" "$3" ;; cert) generate_certificate ;; @@ -95,6 +96,7 @@ esac # Run ./scripts/certbot.sh cert # Run ./scripts/certbot.sh acme_txt "" # Run ./scripts/certbot.sh acme_file "" "" +# Run ./scripts/certbot.sh config_www # Upload cert.pem and privkey.pem contents to SSL > Manage SSL Sites # Run ./scripts/certbot.sh reset From 71a268e2846fa6f22359158019d5b558aa6d7f3a Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 10 Apr 2021 14:32:10 +0530 Subject: [PATCH 20/23] Create pr-review.md --- docs/maintainers/pr-review.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 docs/maintainers/pr-review.md diff --git a/docs/maintainers/pr-review.md b/docs/maintainers/pr-review.md new file mode 100644 index 000000000..2737754bd --- /dev/null +++ b/docs/maintainers/pr-review.md @@ -0,0 +1,32 @@ +# Reviewing pull requests +There are a few things you'll need to look out for when reviewing pull requests for domain registrations. This list is not exhaustive and will be updated. + + +### CI errors +A lot of minor issues will be caught in the CI checks +* JSON parsing issues +* Schema issues + +If the CI is failing, tag the user and comment on the pr. + + +### Invalid email/social link +A way to contact the user is important in case we need to inform the users of some changes to the project. +Confirm if the email looks valid or the social user name/link works. +The user should have either an email or a valid social link. + + +### Invalid CNAME +CNAME has to be a hostname. Something like 'example.com'. +People tend to accidentally put a url there instead sometimes like `http://something.com` or `something.com/path`. +Both of those are invalid. + + +### Invalid A +A record has to be an array of ips + + +### Only one record type +Earlier, is-a-dev used to allow for handling https redirections along with CNAME but the way we handle requests has changed since then. +This is why a record file can only contain one record type. Either `CNAME` or `A` or `URL`. + From af4eb8ae8743af13dcfe6e3b365029052f383169 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sat, 10 Apr 2021 14:38:26 +0530 Subject: [PATCH 21/23] Create publishing-records.md --- docs/maintainers/publishing-records.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docs/maintainers/publishing-records.md diff --git a/docs/maintainers/publishing-records.md b/docs/maintainers/publishing-records.md new file mode 100644 index 000000000..2c363e8a1 --- /dev/null +++ b/docs/maintainers/publishing-records.md @@ -0,0 +1,11 @@ +# Publishing records +> NOTE: This is only for maintainers with publishing access + +Currently, the records are published using a manual github actions workflow. +When all the PR's are merged and ready, go to `Actions > Publish records` and click on the `Run workflow` button to publish the merged records. + + + +Sometimes it may log an error message while publishing saying some record(s) couldn't be published. +Usually, the cause is related to some conflict while deleting and re-publishing. +In those situations, running the workflow again will fix the issues. From b3b95278dc0ae3111ccda0fcfe6b432efb2d22e4 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 11 Apr 2021 13:34:16 +0530 Subject: [PATCH 22/23] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 12f97d998..f500c654d 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ **is-a-dev** is a service that allows developers to get a sweet-looking `.is-a.dev` domain for their personal websites. +> [Looking for maintainers](https://github.com/is-a-dev/register/discussions/667) + ## How do I register? * Fork this project From 27c9cff3e0a9e59b542e42ab92a6e56d4759519b Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Sun, 11 Apr 2021 13:34:36 +0530 Subject: [PATCH 23/23] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f500c654d..f2785cfc3 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ **is-a-dev** is a service that allows developers to get a sweet-looking `.is-a.dev` domain for their personal websites. -> [Looking for maintainers](https://github.com/is-a-dev/register/discussions/667) +> **[Looking for maintainers](https://github.com/is-a-dev/register/discussions/667)** ## How do I register?