Skip to content

Commit

Permalink
Merge branch 'dev' into live
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobellerbrock authored Oct 26, 2024
2 parents 5910b6b + 473eb98 commit 93d6200
Show file tree
Hide file tree
Showing 144 changed files with 5,426 additions and 917 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ yarn-error.log*

# vscode
.vscode

#Jetbrians
.idea
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@
</p>
<h1 align="center" style="margin-top: 0px;font-weight:800">HackKit</h1>
<h3 align="center"><b>Feature-packed Hackathon Managment Software That Just Works.</b><br></h3><br/>
<p>Putting together a hackathon is not an easy feat, like really not easy. While ACM UTSA's tech team can't help you with delayed packages, food orders being botched, or any of the other issues that can arise at the worst times, we can help you with the tech to make your hackathon go smoothly. <i>HackKit</i> is battle-tested and feature-packed to help your hackathon be the best it can be. From a seamless registration, to an easy-to-use admin panel, to event passes and more, <i>HackKit</i> has you covered. </p>
<p>Putting together a hackathon is not an easy feat, like really not easy. While we can't help you with delayed packages, food orders being botched, or any of the other issues that can arise at the worst times, we can help you with the tech to make your hackathon go smoothly. <i>HackKit</i> is battle-tested and feature-packed to help your hackathon be the best it can be. From a seamless registration, to an easy-to-use admin panel, to event passes and more, <i>HackKit</i> has you covered. </p>
<p>Want to get started with using <i>HackKit</i>? Check out our <a href="https://oss-acmutsa.vercel.app/">OSS Documents</a> that will be updated as we add new features and fix bugs! </p>
<p>
Have any questions, feedback, or need help hosting? Join our <a href="https://discord.acmutsa.org">Discord</a> or <a href="mailto:[email protected]"> Contact our projects officer.</a></p></p>

**The offical website for RowdyHacks 2024!**

## Technologies Used

- TypeScript
Expand All @@ -21,12 +19,10 @@

## Join The Team

Want to help make RowdyHacks the best Hackathon around? Please reach out to us at `team@rowdyhacks.org`!
Want to help us build HackKit? Please reach out to us at `tech@acmutsa.org` or join us on [Discord](https://go.acmutsa.org/projectsdiscord)!

## RH 2024 Website Contributors
## HackKit Contributors

<a href="https://github.com/acmutsa/RowdyHacks24/graphs/contributors">
<img src="https://contrib.rocks/image?repo=acmutsa/RowdyHacks24" />
<a href="https://github.com/acmutsa/HackKit/graphs/contributors">
<img src="https://contrib.rocks/image?repo=acmutsa/HackKit" />
</a>

[📣❤️ Other Contributions ❤️📣](https://github.com/UTSA-ACM/RowdyHacks24/blob/dev/contributions.md)
18 changes: 16 additions & 2 deletions apps/bot/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ app.get("/postMsgToServer", (h) => {
text: "Questions or issues? Contact an organizer :)",
iconURL: "https://static.acmutsa.org/Info_Simple.svg.png",
});

console.log(
`server type is: ${serverType}\nDev channel id is: ${process.env.DISCORD_DEV_VERIFY_CHANNEL_ID}\nProd channel id is: ${process.env.DISCORD_PROD_VERIFY_CHANNEL_ID}`,
);
const channel = client.channels.cache.get(
serverType === "dev"
? (process.env.DISCORD_DEV_VERIFY_CHANNEL_ID as string)
Expand Down Expand Up @@ -224,6 +226,9 @@ app.post("/api/checkDiscordVerification", async (h) => {
(role) => role.name === userGroupRoleName,
);

// console.log('role is: ', role);
// console.log('userGroupRole is: ', userGroupRole);

if (!role || !userGroupRole) {
console.log(
"failed cause could not find a role, was looking for group " +
Expand All @@ -234,16 +239,25 @@ app.post("/api/checkDiscordVerification", async (h) => {
return h.json({ success: false });
}

console.log("attempting to get member...");

const member = guild.members.cache.get(verification.discordUserID);

if (!member) {
console.log("failed cause could not find member");
return h.json({ success: false });
}

console.log("got member");
// Holy waterfalling request
console.log("adding role");
await member.roles.add(role);
console.log("added role");
console.log("adding group role");
await member.roles.add(userGroupRole);
console.log("added group role");
console.log("setting nickname");
await member.setNickname(user.firstName + " " + user.lastName);
console.log("set nickname");

return h.json({ success: true });
});
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"lucide-react": "^0.411.0",
"nanoid": "^5.0.7",
"next": "14.2.5",
"next-safe-action": "^5.2.3",
"next-safe-action": "^7.9.3",
"no-profanity": "^1.5.1",
"pg": "^8.12.0",
"postcss": "8.4.39",
Expand Down
14 changes: 14 additions & 0 deletions apps/web/public/img/SWIVEL Knockout-b.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions apps/web/public/img/SWIVEL Knockout-p.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions apps/web/public/img/SWIVEL RGB.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions apps/web/public/img/sponsors/CYMANII.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/web/public/img/sponsors/DELL.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/web/public/img/sponsors/GROQ.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions apps/web/public/img/sponsors/HEB.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions apps/web/public/img/sponsors/KLESSE.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/web/public/img/sponsors/MATRIX.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added apps/web/public/img/sponsors/SCHROEDER.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 93d6200

Please sign in to comment.