Skip to content

Dojo-granted Event Awards#1061

Open
TheodorKitzenmaier wants to merge 23 commits intopwncollege:masterfrom
TheodorKitzenmaier:event_awards
Open

Dojo-granted Event Awards#1061
TheodorKitzenmaier wants to merge 23 commits intopwncollege:masterfrom
TheodorKitzenmaier:event_awards

Conversation

@TheodorKitzenmaier
Copy link
Contributor

Adds the ability for select dojos to grant awards to users for participating in events. Also allows emojis to be foldered if a user has multiple of the same emoji in the None category.

@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

❌ Patch coverage is 69.38776% with 15 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
dojo_plugin/worker/handlers/awards.py 0.00% 12 Missing ⚠️
dojo_plugin/api/v1/dojos.py 85.00% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

@TheodorKitzenmaier TheodorKitzenmaier marked this pull request as ready for review February 11, 2026 16:49
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 58a2a1f13c

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@TheodorKitzenmaier
Copy link
Contributor Author

???

I didn't even touch it...

@ConnorNelson
Copy link
Member

@codex review

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 02aceaf3c3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

"text": emoji_entry["text"],
"emoji": emoji_entry["emoji"],
"count": 1,
"count": emoji_entry["count"],

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Handle missing count in cached emoji entries

get_viewable_emojis now assumes every cached badge entry has a count field, but existing stats:emojis cache data produced by previous versions does not include that key. On an upgrade with persisted Redis data, accessing emoji_entry["count"] will raise KeyError and break scoreboard/hacker badge rendering until the emojis cache is recomputed. Please read this field defensively (for example defaulting to 1) to keep old cache payloads compatible.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments