Skip to content

Commit

Permalink
Minor (Incremental) Update (5.1.0)
Browse files Browse the repository at this point in the history
[x] Features
    [i] Updates in Plan while showing data
    [ii] Real Time notifications (sockets)
    [iii] Brand new Mail Templates for
         [I] Verification of Mail
         [II] Welcome Mail
         [III] Forgot Password Mail
         [IV] Direct Login Mail
         [V] Expiry mails with Dynamic Subject
         [VI] Expired Mail
         [VII] Account Deleted Mail
     [iv] Added a Welcome Mail
     [v] Fully controlling of Plans and Validation to Features
     [vi] Brand new Mobile OTP Verification
     [vii] One More Account Option of Instagram Business
     [viii] Search Option in Gallery (API)
     [ix] Instagram Personal & Business Feeds Section
     [x] Added Brand new Instagram Business Publish & Scheduling
     [xi] Added email activation link request option in sign-in Page
     [xii] Restricted Locked social accounts in publishing
     [xiii] Added Publishing In LinkedIn pages

[x] Bug Fixes
     [i] Forgot Password issue
     [ii] Location Update Issue in Profile
     [iii] Remaining days NAN issue in Dashboard
     [iv] Auto Report Email and PDF file Names
     [v] Theme issue on canvas Report
     [vi] Facebook Page Adding issue
     [vii] Plan Upgrade issue after updating password
     [viii] Instagram Account adding issue
     [ix] YouTube channel Duplicate adding issue
     [x] Instagram and LinkedIn re-adding account issue
     [xi] Facebook Page URL expired
     [x] Updated Database collation for Multiple language support
     [xi] Fixed Instagram Business Profile image broken Issue
     [xii] Fixed conflicts in adding Insta business and personal account
     [xiii] Updated code for deleting teams and boards
     [xiv] UI issue fixed in searching RSS feeds
     [xv] Fixed issue in media selecting while publishing
  • Loading branch information
sureshbabu1995 committed Sep 1, 2021
1 parent 569ca5d commit b9a524d
Show file tree
Hide file tree
Showing 420 changed files with 56,459 additions and 17,508 deletions.
10 changes: 5 additions & 5 deletions SocioBoard5.0-doc.md
Expand Up @@ -115,11 +115,11 @@

<table style="border:none">
<tr>
<td style="border:none;text-align:left;font-size:14px;font-weight:bold"> • User Micro Service – NODE PORT 3001 <br/>
• Feeds Micro Service – NODE PORT 3002 <br/>
• Publish Micro Service – NODE PORT 3003 <br/>
• Update Micro Service – NODE PORT 3004 <br/>
• Notification Micro Service – NODE PORT 3005
<td style="border:none;text-align:left;font-size:14px;font-weight:bold"> • User Micro Service – NODE PORT 3000 <br/>
• Feeds Micro Service – NODE PORT 3001 <br/>
• Publish Micro Service – NODE PORT 3002 <br/>
• Update Micro Service – NODE PORT 3003 <br/>
• Notification Micro Service – NODE PORT 3004
</td>
<td style="border:none;text-align:left;margin-top:0px;font-size:14px;font-weight:bold"> • Web Application SERVICEs Types <br/>
http://local.socioboard.com/ <span style="background-color:yellow">by v-host</span> <br/>
Expand Down
1,922 changes: 1,103 additions & 819 deletions socioboard-api/Common/Cluster/facebook.cluster.js

Large diffs are not rendered by default.

71 changes: 34 additions & 37 deletions socioboard-api/Common/Cluster/github.cluster.js
@@ -1,49 +1,46 @@
import axios from 'axios'
import axios from 'axios';
import request from 'request';

function Github(github_api) {
this.github_api = github_api;
this.gitConfig = {
clientId: this.github_api.client_id,
clientSecret: this.github_api.client_secrets,
redirect: this.github_api.redirect_url,
proxy: true,
scope: ['user:email']
};
this.github_api = github_api;
this.gitConfig = {
clientId: this.github_api.client_id,
clientSecret: this.github_api.client_secrets,
redirect: this.github_api.redirect_url,
proxy: true,
scope: ['user:email'],
};
}

Github.prototype.getGithubuserData = function (code) {
return new Promise((resolve, reject) => {
const body = {
client_id: this.github_api.client_id,
client_secret: this.github_api.client_secrets,
code: code,
return new Promise((resolve, reject) => {
const body = {
client_id: this.github_api.client_id,
client_secret: this.github_api.client_secrets,
code,
};
const opts = { headers: { accept: 'application/json' } };

axios
.post('https://github.com/login/oauth/access_token', body, opts)
.then((res) => res.data.access_token)
.then(async (_token) => {
const config = {
method: 'get',
url: 'https://api.github.com/user',
headers: {
'Content-Type': 'application/json',
Authorization: `Bearer ${_token}`,
},
};
const opts = { headers: { accept: "application/json" } };
axios
.post(`https://github.com/login/oauth/access_token`, body, opts)
.then((res) => res.data["access_token"])
.then(async (_token) => {

var config = {
method: "get",
url: "https://api.github.com/user",
headers: {
"Content-Type": "application/json",
Authorization: `Bearer ${_token}`,
},
};

let userData = await axios(config);
resolve(userData);

}).catch((error) => {
throw new Error(error.message);
});
});

const userData = await axios(config);

resolve(userData);
}).catch((error) => {
throw new Error(error.message);
});
});
};


export default Github;

0 comments on commit b9a524d

Please sign in to comment.