-
-
Notifications
You must be signed in to change notification settings - Fork 268
Fix NestBot calendar events feature branch merge conflicts #2230
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
Merged
arkid15r
merged 14 commits into
OWASP:feature/nestbot-calendar-events
from
ahmedxgouda:nestbot-calendar/fix-merge
Sep 7, 2025
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
57ad684
Update frontend/next.config.ts
arkid15r d0b1acc
Feature/graphql support for badges (#2152)
Piyushrathoree c2cf619
Run make udpate
arkid15r 3dda1b6
Fix top contributor duplicates
arkid15r bf00a50
Update GQL generated types
arkid15r a29efaf
Update Sentry auth token handling
arkid15r 9bbaf37
Source maps debug
arkid15r 9056e3c
Update sourcemap assets
arkid15r 20c49c6
Set release version for source map uploads
arkid15r dab851c
Integrate slack bot with google OAuth (#2089)
ahmedxgouda 907bcc2
Use singleton pattern in kms client (#2158)
ahmedxgouda 69c8d30
Update owasp app event model with calendar attributes and add reminde…
ahmedxgouda 4c75c79
Merge branch 'feature/nestbot-calendar-events' into nestbot-calendar/…
ahmedxgouda ea944c1
Fix labeler
ahmedxgouda File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| """GraphQL node for Badge model.""" | ||
|
|
||
| import strawberry | ||
| import strawberry_django | ||
|
|
||
| from apps.nest.models.badge import Badge | ||
|
|
||
|
|
||
| @strawberry_django.type( | ||
| Badge, | ||
| fields=[ | ||
| "css_class", | ||
| "description", | ||
| "id", | ||
| "name", | ||
| "weight", | ||
| ], | ||
| ) | ||
| class BadgeNode(strawberry.relay.Node): | ||
| """GraphQL node for Badge model.""" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,24 @@ | ||
| # Generated by Django 5.2.5 on 2025-09-06 09:41 | ||
|
|
||
| import django.db.models.deletion | ||
| from django.db import migrations, models | ||
|
|
||
|
|
||
| class Migration(migrations.Migration): | ||
| dependencies = [ | ||
| ("github", "0035_alter_user_bio_alter_user_is_owasp_staff"), | ||
| ("nest", "0004_userbadge"), | ||
| ] | ||
|
|
||
| operations = [ | ||
| migrations.AlterField( | ||
| model_name="userbadge", | ||
| name="user", | ||
| field=models.ForeignKey( | ||
| on_delete=django.db.models.deletion.CASCADE, | ||
| related_name="user_badges", | ||
| to="github.user", | ||
| verbose_name="User", | ||
| ), | ||
| ), | ||
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not use
loginas GraphQLid(unstable; cache-colliding across contexts).idwhile carrying different fields (project_key,project_name), causing GraphQL cache corruption.Prefer a stable backend identifier (GitHub
id/node_id) or, if this node represents a “contributor membership,” compose theidwith scope (e.g., project/repo) to ensure uniqueness. Temporary safe fallback keeps behavior while enabling a future model fix.Apply this diff:
Follow-up (outside this file): reintroduce a stable identifier in
RepositoryContributor.get_top_contributors(includeidornode_id) so the fallback can be removed.📝 Committable suggestion