Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds GSOC 2022 Alumni Summit data #115

Merged
merged 2 commits into from
Apr 1, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
includePaths: [path.join(__dirname, 'styles')],
},
images: {
domains: ['global-uploads.webflow.com', 'avatars.githubusercontent.com', 'open.rocket.chat']
domains: ['global-uploads.webflow.com', 'avatars.githubusercontent.com', 'open.rocket.chat', 'media-exp1.licdn.com']
},
webpack: (config, { isServer }) => {
// Fixes npm packages that depend on `fs` module
Expand Down
45 changes: 34 additions & 11 deletions cms/config/functions/fetchData.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
const { carousels,
guides,
persona,
personaIcons,
releaseNotes,
const { carousels,
guides,
persona,
personaIcons,
releaseNotes,
subMenus,
topNavItem,
speakers,
forms } = require('../initialData');
const { githubKit } = require('./github');

Expand All @@ -19,21 +20,43 @@ module.exports = async () => {
var releaseNotesCount = await strapi.query("release-notes").count();
var guidesCount = await strapi.query("guides").count();
var formCount = await strapi.query("form").count();
var ghrepos = await strapi.query("github-repositories").count({});

var ghrepos = await strapi.query("github-repositories").count({});
var speakersCount = await strapi.query("speaker").count({});

// initial fetch


speakers.map(async (speaker, index) => {
if (index <= speakersCount - 1) {
await strapi.query("speaker").update(
{ id: speaker.id },
{
name: speaker.name,
bio: speaker.bio,
imageUrl: speaker.picutre_url

}
);
} else {
await strapi.query("speaker").create({
name: speaker.name,
bio: speaker.bio,
content: speaker.talk_summary,
imageUrl: speaker.picutre_url
});
}
});

if (!ghrepos) {
githubKit('RocketChat','RC4Community',['issues','contributors','pulls']);
githubKit('RocketChat', 'RC4Community', ['issues', 'contributors', 'pulls']);
}

forms.map(async (form, index) => {
if (index <= formCount - 1) {
await strapi.query("form").update(
{ id: form.id },
{
title: form.title,
formQs: form.formQs
title: form.title,
formQs: form.formQs
}
);
} else {
Expand Down
4 changes: 3 additions & 1 deletion cms/config/initialData/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const releaseNotes = require("./release-notes.json");
const subMenus = require("./sub-menus.json");
const topNavItem = require("./top-nav-item.json");
const forms = require("./forms.json")
const speakers = require("./speakers.json")

module.exports = {
carousels,
Expand All @@ -15,5 +16,6 @@ module.exports = {
releaseNotes,
subMenus,
topNavItem,
forms
forms,
speakers
};
66 changes: 66 additions & 0 deletions cms/config/initialData/speakers.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
[
{
"id": 1,
"name": "Rohan Lekhwani",
"picutre_url": "https://media-exp1.licdn.com/dms/image/C5103AQEfuswPxV6Gyw/profile-displayphoto-shrink_800_800/0/1559890882906?e=1654128000&v=beta&t=Vvuss_1J3PNLb0T-M9kCQ2emP_4KonboB16Yrnu1gB4",
"bio": "I'm a software engineer at Gojek working on distributed systems and cloud infrastructure. I'll be mentoring two GSoC projects this season. Prior to this I've been involved with a multitude of projects at Rocket.Chat including the opensource leaderboard, RC4GitHub, RC4Community and have two published apps (Poll Plus and MemeBuddy) on the Rocket.Chat Marketplace.",
"short_bio": "Software engineer at Gojek, GSoC'22 mentor",
"talk_topic": "Writing That Winning Proposal",
"talk_summary": "Ever wondered what's so special in an accepted proposal? Want to know what mentors look for in your proposal? Join in this fun conversation by a past GSoCer and a current GSoC mentor of two projects to know all you can do to make your proposal shine among others."
},
{
"id": 2,
"name": "Priya Bihani",
"picutre_url": "https://avatars.githubusercontent.com/u/69837339?v=4",
"bio": "I'm a third year Computer science student & full stack developer from New Delhi, India. I worked along with Rocket.Chat last year as a Sponsored Student for my GSOC project on Image manipulation under my mentors Gabriel Henriques and Tasso Evangelista which we completed in the due time. Alongwith that I've been a part of MLH Prep fellowship & MLH fellowship in 2022.",
"short_bio": "Sponsored student for GSOC Project with Rocket.Chat | MLH fellow 2022 | Open Source Contributor & Full stack developer",
"talk_topic": "How to create proposal for your Rocket.Chat Application",
"talk_summary": "Your application is the most important part of your Road to GSOC with Rocket.Chat. It reflects your commitment and dedication, it is the only way for you mentor to judge you. So you should know how to draft your proposal."
},
{
"id": 3,
"name": "Kartik Gupta",
"picutre_url": "https://open.rocket.chat/avatar/kartik.gupta",
"bio": "I'm Kartik Gupta from New Delhi India. I am a pre final year Computer's student and a full stack developer and Instructor, alongwith that i also like contributing to open source. I was a part of GSOC 2021@Rocket.Chat and got the opportunity to work under mentor Marcelo Schmidt on Speech To Text(Soon to be Live) and work along with such a great community of rocketters.",
"short_bio": "SHORT BIO: GSOC 2021 with Rocket.Chat | Open Source Contributor | Full stack developer & Instructor.",
"talk_topic": "How to get started with Rocket.Chat codebase!",
"talk_summary": "The road to GSOC with Rocket.Chat starts with your contributions to the project, The codebase is huge and it's easy to get overwhelmed, so you should know your way around the codebase."
},
{
"id": 4,
"name": "Govind Dixit",
"picutre_url": "https://avatars.githubusercontent.com/u/32304546?v=4",
"bio": "Building CRED, ex-Urban Company, Headout GSoC'21 Mentor, GSoC'20 & 19 Student @Rocket.Chat",
"short_bio": "Building CRED, ex-Urban Company, Headout GSoC'21 Mentor, GSoC'20 & 19 Student @Rocket.Chat",
"talk_topic": "Demystify GSoC: Tips & Tricks for a Successful Proposal",
"talk_summary": "I will share my experience as a two-time student with Rocket.Chat and will share tips on how to write a successful proposal!"
},
{
"id": 5,
"name": "Arthur Temporim",
"picutre_url": "https://avatars.githubusercontent.com/u/13789524?v=4",
"bio": "I graduated in 2019 from the software engineering course and am currently pursuing a master's degree in the same area. I have focused my career on the study and development of conversational agents, better known as chatbots. I currently work as a developer of chatbots and contribute to OSS projects and related communities.",
"short_bio": "A Software Engineer with experience with chatbot development and participation in OSS communities.",
"talk_topic": "What will happen after Rocket.Chat GSOC?",
"talk_summary": "I participated in the Rocket.Chat GSOC of the year 2018, I was at the end of the software engineering course and I was able to put into practice everything I had learned. But the experience gained during the months of the program was essential for me to become the engineer I am today. I hope to share with you some of the experiences I made with the knowledge gained in the program."
},
{
"id": 6,
"name": "Anant Bhasin",
"picutre_url": "https://avatars.githubusercontent.com/u/38764067?v=4",
"bio": "An engineering student graduating this summer, Anant worked on the React Native app for his project in 2021, extending the End to End tests to Android. Currently, he is working at Goldman Sachs as an Analyst Intern(Engineering).",
"short_bio": "Student, currently Analyst Intern (Engineering) at Goldman Sachs",
"talk_topic": "Communication in GSOC program",
"talk_summary": "Communication can make or break your contributions and application"
},
{
"id": 7,
"name": "Fongang Rodrique",
"picutre_url": "https://avatars.githubusercontent.com/u/39289653?v=4",
"bio": "A computer engineering graduate from the university of Buea, a Rocket.Chat GSoC alumni and currently a Technical writer at Rocket.Chat. Deeply interested in cyber security and also a creative photographer.",
"short_bio": "Technical Writer at Rocket.Chat",
"talk_topic": "Survive GSoC as a Newbie",
"talk_summary": "GSoC is often dominated by students with some programming experience. As a newbie in tech or someone with very little knowledge, how can you survive?"
}

]