From c4118219efca55415dafd32fdb25795518d9510e Mon Sep 17 00:00:00 2001 From: Parshant Sharma Date: Fri, 9 Oct 2020 12:44:27 +0530 Subject: [PATCH 01/21] Create parshnt added me :) --- domains/parshnt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 domains/parshnt diff --git a/domains/parshnt b/domains/parshnt new file mode 100644 index 000000000..c5da6609c --- /dev/null +++ b/domains/parshnt @@ -0,0 +1,12 @@ +{ + "description": "YAY, new place for my Portfolio", + "repo": "https://github.com/parshnt", + "owner": { + "username": "parshnt", + "email": "hi.parshant@gmail.com" + }, + "record": { + "CNAME": "parshnt.github.io", + "URL": "https://parshnt.is-a.dev" + } +} From f0fcb2a89ac7aacc933523bed8015bfd7bf90a5f Mon Sep 17 00:00:00 2001 From: Harry Ross Date: Fri, 9 Oct 2020 23:36:49 +1100 Subject: [PATCH 02/21] Create harry.json --- domains/harry.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 domains/harry.json diff --git a/domains/harry.json b/domains/harry.json new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/domains/harry.json @@ -0,0 +1 @@ + From 2e1b8077ca0c45affbde7973d2b1d875335d6404 Mon Sep 17 00:00:00 2001 From: Harry Ross Date: Fri, 9 Oct 2020 23:43:02 +1100 Subject: [PATCH 03/21] Update harry.json --- domains/harry.json | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/domains/harry.json b/domains/harry.json index 8b1378917..dc5607be3 100644 --- a/domains/harry.json +++ b/domains/harry.json @@ -1 +1,11 @@ - +{ + "owner": { + "username": "Harry-Ross", + "email": "hazross@hotmail.com" + }, + "description": "Personal site/blog", + "repository": "https://github.com/Harry-Ross/harry-ross.github.io.git", + "record": { + "CNAME": "harry-ross.github.io" + } +} From 38667b884395e77f3507458b6ff21d6437871980 Mon Sep 17 00:00:00 2001 From: Augustine S Aykara Date: Fri, 9 Oct 2020 20:08:40 +0530 Subject: [PATCH 04/21] Create augustine.json --- domains/augustine.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 domains/augustine.json diff --git a/domains/augustine.json b/domains/augustine.json new file mode 100644 index 000000000..83610f675 --- /dev/null +++ b/domains/augustine.json @@ -0,0 +1,12 @@ +{ + "description": "Augustine's personal developer website", + "repo": "https://github.com/augustineaykara", + "owner": { + "username": "augustineaykara", + "email": "augustineaykara@gmail.com" + }, + "record": { + "CNAME": "augustine.aykara4.com", + "URL": "https://augustine.is-a.dev" + } +} From 80f17433525a668bfaf337878b049770afb7d118 Mon Sep 17 00:00:00 2001 From: Asad Khan Date: Fri, 9 Oct 2020 20:11:38 +0530 Subject: [PATCH 05/21] Create my own `is-a.dev` domain config file This json record is still a work in progress, will update when I have more to add later --- domains/asad-khan.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 domains/asad-khan.json diff --git a/domains/asad-khan.json b/domains/asad-khan.json new file mode 100644 index 000000000..fc9c93aa0 --- /dev/null +++ b/domains/asad-khan.json @@ -0,0 +1,12 @@ +{ + "description": "👋 Hello there! I'm Asad, nice to meet you. Building things that bring delight to users is what I enjoy, always learning new stuff everyday.", + "repo": "https://github.com/asadkhan777", + "owner": { + "username": "asadkhan777", + "email": "asadkhan1776@gmail.com" + }, + "record": { + "CNAME": "asadkhan777.github.io", + "URL": "https://asad-khan.is-a.dev" + } +} From 68218ff95b401bdf0eded047169fd5a76f8cc39a Mon Sep 17 00:00:00 2001 From: Haseena Hassan <43885652+haseena-hassan@users.noreply.github.com> Date: Fri, 9 Oct 2020 20:20:32 +0530 Subject: [PATCH 06/21] Create haseena.json --- domains/haseena.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 domains/haseena.json diff --git a/domains/haseena.json b/domains/haseena.json new file mode 100644 index 000000000..8bf324844 --- /dev/null +++ b/domains/haseena.json @@ -0,0 +1,12 @@ +{ + "description": "Haseena's website", + "repo": "https://github.com/haseena-hassan/is-a-dev", + "owner": { + "username": "haseena-hassan", + "email": "haseena2199@gmail.com" + }, + "record": { + "CNAME": "haseena-hassan.github.io", + "URL": "https://haseena.is-a.dev" + } +} From 724260e9361a7e55277773780a4756aec20f3033 Mon Sep 17 00:00:00 2001 From: akash Date: Fri, 9 Oct 2020 22:07:29 +0545 Subject: [PATCH 07/21] Create akas.json --- domains/akas.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 domains/akas.json diff --git a/domains/akas.json b/domains/akas.json new file mode 100644 index 000000000..a0ddc0f4e --- /dev/null +++ b/domains/akas.json @@ -0,0 +1,12 @@ +{ + "description": "Akas Portfolio", + "repo":"https://github.com/akasrai/akasrai.github.io", + "owner": { + "username": "akasrai", + "email": "akasky70@gmail.com" + }, + "record": { + "CNAME":"akasrai.github.io", + "URL": "https://akas.is-a.dev" + } +} \ No newline at end of file From 285c73b1781c471a0d4191e0b142cfe0b06a019b Mon Sep 17 00:00:00 2001 From: Alexander Matzen Date: Fri, 9 Oct 2020 18:59:48 +0200 Subject: [PATCH 08/21] Add alexander.json --- domains/alexander.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 domains/alexander.json diff --git a/domains/alexander.json b/domains/alexander.json new file mode 100644 index 000000000..43758f6d1 --- /dev/null +++ b/domains/alexander.json @@ -0,0 +1,12 @@ +{ + "description": "Alexander's personal website", + "repo": "https://github.com/amatzen", + "owner": { + "username": "amatzen", + "email": "alexander@alexander.dk" + }, + "record": { + "CNAME": "alexander.dk", + "URL": "https://alexander.is-a.dev" + } +} From c7ae762f7cab5d597489d95af024bc7623a30251 Mon Sep 17 00:00:00 2001 From: Allan Barrielle Date: Fri, 9 Oct 2020 19:31:37 +0200 Subject: [PATCH 09/21] Create allan.json --- domains/allan.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 domains/allan.json diff --git a/domains/allan.json b/domains/allan.json new file mode 100644 index 000000000..6ca03fa35 --- /dev/null +++ b/domains/allan.json @@ -0,0 +1,12 @@ +{ + "description": "Allan's personal website", + "repo": "https://github.com/abarriel", + "owner": { + "username": "abarriel", + "email": "abarriel@student.42.fr" + }, + "record": { + "CNAME": "abarriel.github.io", + "URL": "https://allan.is-a.dev" + } +} From ba40bc1af337a400b5f602eeb365814599da9684 Mon Sep 17 00:00:00 2001 From: Adrian Grimm Date: Fri, 9 Oct 2020 13:36:05 -0400 Subject: [PATCH 10/21] Create adrian.json --- domains/adrian.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 domains/adrian.json diff --git a/domains/adrian.json b/domains/adrian.json new file mode 100644 index 000000000..d2873ec12 --- /dev/null +++ b/domains/adrian.json @@ -0,0 +1,12 @@ +{ + "description": "The awesome portfolio site for Adrian Grimm", + "repo": "https://github.com/usmcamgrimm/usmcamgrimm.github.io", + "owner": { + "username": "usmcamgrimm", + "email": "usmcamgrimm@gmail.com" + }, + "record": { + "CNAME": "usmcamgrimm.github.io", + "URL": "https://adrian.is-a.dev" + } + } From cbf40f9cb08d439d8fdf700d3deaa2cd7edf958d Mon Sep 17 00:00:00 2001 From: Yuksel Date: Fri, 9 Oct 2020 20:47:53 +0200 Subject: [PATCH 11/21] Create yuksel.json --- domains/yuksel.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 domains/yuksel.json diff --git a/domains/yuksel.json b/domains/yuksel.json new file mode 100644 index 000000000..5e110378e --- /dev/null +++ b/domains/yuksel.json @@ -0,0 +1,12 @@ +{ + "description": "Yuksel Beyti's personal developer website", + "repo": "https://github.com/yuks/yuks.github.io", + "owner": { + "username": "yuks", + "email": "admin@yukselbeyti.com" + }, + "record": { + "CNAME": "yuks.github.io", + "URL": "https://yuksel.is-a.dev" + } +} From 33134f9b188b285d86e5ed5fd0eb5285b19c5067 Mon Sep 17 00:00:00 2001 From: Robert Dennis Date: Fri, 9 Oct 2020 15:32:22 -0400 Subject: [PATCH 12/21] Create atlas.json --- domains/atlas.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 domains/atlas.json diff --git a/domains/atlas.json b/domains/atlas.json new file mode 100644 index 000000000..b02d23321 --- /dev/null +++ b/domains/atlas.json @@ -0,0 +1,12 @@ +{ + "description": "Portfolio website", + "repo": "https://github.com/robertdrakedennis/portfolio", + "owner": { + "username": "robertdrakedennis", + "email": "robertdennispersonal@gmail.com" + }, + "record": { + "CNAME": "robertdennis.netlify.app", + "URL": "https://atlas.is-a.dev" + } +} From 387401459cc2df721070e4c5bc4ed75c168c916c Mon Sep 17 00:00:00 2001 From: Parshant Sharma Date: Sat, 10 Oct 2020 01:24:50 +0530 Subject: [PATCH 13/21] fixed missing file extension added missing .json file extension --- domains/parshnt | 12 ------------ domains/parshnt.json | 12 ++++++++++++ 2 files changed, 12 insertions(+), 12 deletions(-) delete mode 100644 domains/parshnt create mode 100644 domains/parshnt.json diff --git a/domains/parshnt b/domains/parshnt deleted file mode 100644 index c5da6609c..000000000 --- a/domains/parshnt +++ /dev/null @@ -1,12 +0,0 @@ -{ - "description": "YAY, new place for my Portfolio", - "repo": "https://github.com/parshnt", - "owner": { - "username": "parshnt", - "email": "hi.parshant@gmail.com" - }, - "record": { - "CNAME": "parshnt.github.io", - "URL": "https://parshnt.is-a.dev" - } -} diff --git a/domains/parshnt.json b/domains/parshnt.json new file mode 100644 index 000000000..8319fd350 --- /dev/null +++ b/domains/parshnt.json @@ -0,0 +1,12 @@ +{ + "description": "YAY, new place for my Portfolio", + "repo": "https://github.com/parshnt", + "owner": { + "username": "parshnt", + "email": "hi.parshant@gmail.com" + }, + "record": { + "CNAME": "parshnt.github.io", + "URL": "https://parshnt.is-a.dev" + } +} From eddd18abaa541b810bb7bedb7670f93098b93133 Mon Sep 17 00:00:00 2001 From: Ahmed Tarek Date: Fri, 9 Oct 2020 23:03:28 +0200 Subject: [PATCH 14/21] =?UTF-8?q?=E2=9C=A8=20add=20domain:=20tokyo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- domains/tokyo.json | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 domains/tokyo.json diff --git a/domains/tokyo.json b/domains/tokyo.json new file mode 100644 index 000000000..34eda41b1 --- /dev/null +++ b/domains/tokyo.json @@ -0,0 +1,11 @@ +{ + "description": "tokyo.is-a.dev", + "repo": "https://github.com/is-a-dev/is-a-dev.github.io", + "owner": { + "username": "a-tokyo", + "email": "ahmed.tokyo1@gmail.com" + }, + "record": { + "CNAME": "is-a-dev.github.io" + } +} From 778dcf524eb537551cac71fab66d5b1603c1bcb8 Mon Sep 17 00:00:00 2001 From: Ahmed Tarek Date: Fri, 9 Oct 2020 23:07:46 +0200 Subject: [PATCH 15/21] Update tokyo.json --- domains/tokyo.json | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/domains/tokyo.json b/domains/tokyo.json index 34eda41b1..ecc49ea6e 100644 --- a/domains/tokyo.json +++ b/domains/tokyo.json @@ -1,11 +1,12 @@ { - "description": "tokyo.is-a.dev", - "repo": "https://github.com/is-a-dev/is-a-dev.github.io", + "description": "A-Tokyo's website", + "repo": "https://github.com/a-tokyo/tokyo", "owner": { "username": "a-tokyo", "email": "ahmed.tokyo1@gmail.com" }, "record": { - "CNAME": "is-a-dev.github.io" + "CNAME": "tokyo.is-a-dev.github.io" + "URL": "https://tokyo.is-a.dev" } } From bc874f7709e237352b328c80a0bef8ad18961a26 Mon Sep 17 00:00:00 2001 From: Ahmed Tarek Date: Fri, 9 Oct 2020 23:13:43 +0200 Subject: [PATCH 16/21] Update tokyo.json --- domains/tokyo.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/tokyo.json b/domains/tokyo.json index ecc49ea6e..a053a2ccd 100644 --- a/domains/tokyo.json +++ b/domains/tokyo.json @@ -6,7 +6,7 @@ "email": "ahmed.tokyo1@gmail.com" }, "record": { - "CNAME": "tokyo.is-a-dev.github.io" + "CNAME": "tokyo.is-a-dev.github.io", "URL": "https://tokyo.is-a.dev" } } From 4735c1d23a487c89202a51b0a1a4866731d06dcb Mon Sep 17 00:00:00 2001 From: tickle Date: Fri, 9 Oct 2020 22:42:34 +0000 Subject: [PATCH 17/21] update domains --- domains/picklerick.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 domains/picklerick.json diff --git a/domains/picklerick.json b/domains/picklerick.json new file mode 100644 index 000000000..b9d70f69e --- /dev/null +++ b/domains/picklerick.json @@ -0,0 +1,12 @@ +{ + "description": "cool stuff", + "repo": "https://github.com/ticklerick/ticklerick.github.io", + "owner": { + "username": "ticklerick", + "email": "pickle@anonemail.net" + }, + "record": { + "CNAME": "ticklerick.github.io", + "URL": "https://picklerick.is-a.dev" + } +} \ No newline at end of file From faba306cef385e07f81ab81d1767667962b081a1 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Mon, 12 Oct 2020 13:27:17 +0530 Subject: [PATCH 18/21] doc change --- API.md | 2 +- scripts/reply.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/API.md b/API.md index 746f953f1..43bc51d64 100644 --- a/API.md +++ b/API.md @@ -22,7 +22,7 @@ } ``` * After the pull request is merged, you will see a 404 error on `your-domain.is-a.dev`. To fix this go to your github page repo's `Settings > Github pages > Custom domain` and add `your-domain.is-a.dev` in the given field -* If you have added the `URL` record for forced https, check the `Enforce HTTPS` checkbox too +* Check the `Enforce HTTPS` checkbox below the custom domain input diff --git a/scripts/reply.js b/scripts/reply.js index b4fad71ae..9c5fc11b2 100644 --- a/scripts/reply.js +++ b/scripts/reply.js @@ -11,7 +11,7 @@ If your domain points to a server you own, add \`domain-name.is-a.dev\` to your * Open up the **settings** tab * Scroll down to the **Github pages** section * In the **Custom domain** text input, enter the domain you registered (\`domain-name.is-a.dev\`) -* Check the 'Enforce HTTPS' check box if you added the URL record for forced https redirection +* Check the 'Enforce HTTPS' checkbox below the input * Give it some time to reflect and you should be good to go From 96e8e269f135603c4bb7a4fcb8d2e9df70ed6666 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Mon, 12 Oct 2020 13:28:28 +0530 Subject: [PATCH 19/21] Removes www for redirection --- utils/domain-service.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/domain-service.js b/utils/domain-service.js index f78652740..733ca29b6 100644 --- a/utils/domain-service.js +++ b/utils/domain-service.js @@ -9,7 +9,7 @@ const recordToRedirection = ({ name, address }) => ({ redirect: address, type: 'permanent', redirect_wildcard: 1, - redirect_www: 0, + redirect_www: 1, }); const recordToZone = ({ name, type, address, ...rec }) => ({ ...rec, //line From b4dc020d2705ec1c1cbb96a34594224befd88653 Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Mon, 12 Oct 2020 13:45:49 +0530 Subject: [PATCH 20/21] Adds simple migrate script --- scripts/migrate.js | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 scripts/migrate.js diff --git a/scripts/migrate.js b/scripts/migrate.js new file mode 100644 index 000000000..e5da7ebf5 --- /dev/null +++ b/scripts/migrate.js @@ -0,0 +1,30 @@ +const fs = require('fs'); +const path = require('path'); +const R = require('ramda'); +const { DOMAINS_PATH } = require('./utils/constants'); + +const migrate = ([file, domain]) => [ + file, + { + ...domain, + record: /\.github\.io$/.test(domain.record.CNAME || '') + ? R.dissoc('URL', domain.record) + : domain.record, + } +]; + +const main = async () => { + const domains = await fs.promises.readdir(DOMAINS_PATH).then(R.map(async file => [ + file, + JSON.parse(await fs.promises.readFile(path.join(DOMAINS_PATH, file), 'utf-8')), + ])).then(ps => Promise.all(ps)); + + const newDomains = domains.map(migrate); + + await Promise.all(newDomains.map(([file, json]) => { + return fs.promises.writeFile(path.join(DOMAINS_PATH, file), JSON.stringify(json, null, 2)); + })); +}; + +main(); + From ab8ba757d52d248ce34f4fc3e289ce877776c7f4 Mon Sep 17 00:00:00 2001 From: Ahmed Tarek Date: Mon, 12 Oct 2020 15:00:04 +0200 Subject: [PATCH 21/21] Update tokyo.json --- domains/tokyo.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/domains/tokyo.json b/domains/tokyo.json index a053a2ccd..fb1814029 100644 --- a/domains/tokyo.json +++ b/domains/tokyo.json @@ -6,7 +6,7 @@ "email": "ahmed.tokyo1@gmail.com" }, "record": { - "CNAME": "tokyo.is-a-dev.github.io", + "CNAME": "a-tokyo.github.io", "URL": "https://tokyo.is-a.dev" } }