From 5edacf076e1014f61340e7128d260c0c366a887c Mon Sep 17 00:00:00 2001 From: jrtechs Date: Thu, 12 Dec 2019 19:52:27 -0500 Subject: [PATCH 1/3] Fixed config to contain user-filler which is necessary for auth with github api. --- conf.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf.json b/conf.json index 01daeaf..5b3c852 100644 --- a/conf.json +++ b/conf.json @@ -1,7 +1,8 @@ { "port": 7000, - "sessionSecret": "superDuperSecret", + "sessionSecret": "superDuperSecret for session stuff", + "user": "github-user-used-with-api-account", "clientID": "github client id", "clientSecret": "clientSecret" } \ No newline at end of file From 76b818249a27778e84dba7e069d059b75886689d Mon Sep 17 00:00:00 2001 From: jrtechs Date: Thu, 12 Dec 2019 19:59:13 -0500 Subject: [PATCH 2/3] Changed link from GH api to the actual repository (closes #6) --- public/js/createOrgTable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/createOrgTable.js b/public/js/createOrgTable.js index ac8f642..8dcabe4 100644 --- a/public/js/createOrgTable.js +++ b/public/js/createOrgTable.js @@ -5,7 +5,7 @@ function generateHtmlRow(repoData) { ${repoData.language === 'null' ? '
' : ``} - ${repoData.name} + ${repoData.name} ${repoData.forks} From 6897454a7b9cb3f46a349e062ef29afeafe404d0 Mon Sep 17 00:00:00 2001 From: jrtechs Date: Thu, 12 Dec 2019 20:04:35 -0500 Subject: [PATCH 3/3] Fixed link of orgs to redirect to the internal websites organization view rather than the orgs github. --- public/js/profileGen.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/js/profileGen.js b/public/js/profileGen.js index fcdfb18..e8119a4 100644 --- a/public/js/profileGen.js +++ b/public/js/profileGen.js @@ -66,7 +66,8 @@ function parseOrgs(name) { prom.push( new Promise( (res, rej) => { url = orgs[i].url; queryUrl(url, (orgData) => { - orgs_final.push(""); + console.log(orgData); + orgs_final.push(""); res(); }, (error) => { console.log(error);