Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
6c1dfe5
feat: add contribution_data field to Chapter and Project models
mrkeshav-05 Nov 18, 2025
bc3a0a2
Create migration 0066 to add fields to database
mrkeshav-05 Nov 18, 2025
6312a4c
add management command to aggregate contributions
mrkeshav-05 Nov 18, 2025
bd56ef0
expose contribution_data in GraphQL API
mrkeshav-05 Nov 18, 2025
7616a42
refactor: extract contribution date aggregation into a separate metho…
mrkeshav-05 Nov 18, 2025
866ff7c
test: add contribution_data to the test's expected field names set.
mrkeshav-05 Nov 18, 2025
9581474
test: add unit tests for ChapterNode field resolutions and configurat…
mrkeshav-05 Nov 18, 2025
3643de0
test: add unit tests for owasp_aggregate_contributions management com…
mrkeshav-05 Nov 18, 2025
ec42168
feat: add contributionData to GraphQL queries
mrkeshav-05 Nov 18, 2025
3bb7a10
feat: update TypeScript types for contribution data
mrkeshav-05 Nov 18, 2025
ea0f8f2
feat: add contributionData field to both project and chapter nodes
mrkeshav-05 Nov 18, 2025
5c2d7a6
fixed linting errors
mrkeshav-05 Nov 18, 2025
006a13f
fixed failed tests in chapter_test.py
mrkeshav-05 Nov 18, 2025
936ae35
fixed backend tests in owasp_aggregate_contributions_test.py
mrkeshav-05 Nov 18, 2025
83a7d52
feat: add contribution heatmap to chapter details page
mrkeshav-05 Nov 18, 2025
fbae28a
feat: integrate contribution heatmap into project details page
mrkeshav-05 Nov 18, 2025
5b2b1ba
feat: enhance contribution heatmap component with isCompact prop
mrkeshav-05 Nov 19, 2025
f18d214
apply variant compact
mrkeshav-05 Nov 19, 2025
b1e73b1
feat: add contribution stats and heatmap to chapter and project detai…
mrkeshav-05 Nov 19, 2025
f5408ff
make chapter page same as project page
mrkeshav-05 Nov 20, 2025
ffc9b98
reduce the gap between the cards
mrkeshav-05 Nov 20, 2025
d7e2738
optimize queryset by select_related for owasp_repository
mrkeshav-05 Nov 20, 2025
9509361
feat: optimize project queryset with select_related and prefetch_related
mrkeshav-05 Nov 20, 2025
750765a
chapter contribution aggregation tests
mrkeshav-05 Nov 20, 2025
4e1fde6
fix: update contribution_data test to assert field type
mrkeshav-05 Nov 20, 2025
751c4b0
update contribution stats calculation to provide estimated values
mrkeshav-05 Nov 20, 2025
66a2b24
fix: handle null contribution stats in project and chapter details so…
mrkeshav-05 Nov 20, 2025
b58d6df
fixing sonalcloud errors
mrkeshav-05 Nov 20, 2025
571c9ad
run pnpm lint
mrkeshav-05 Nov 20, 2025
9488b9e
adjust layout and formatting
mrkeshav-05 Nov 20, 2025
0b5738a
fixedbackend testcases
mrkeshav-05 Nov 20, 2025
ee9a0f2
remove redundant code in project and chapter
mrkeshav-05 Nov 20, 2025
da52f15
make another component for github stats
mrkeshav-05 Nov 20, 2025
c292cad
fixing sonar issues
mrkeshav-05 Nov 20, 2025
4bd4a7b
fixing tests
mrkeshav-05 Nov 20, 2025
5a488a0
remove unused variables
mrkeshav-05 Nov 20, 2025
d9af698
refactor: improve heatmap series generation and chart options
mrkeshav-05 Nov 20, 2025
7241288
fixing sonar cloud issues
mrkeshav-05 Nov 20, 2025
61ee215
fix make check
mrkeshav-05 Nov 21, 2025
70ac87a
fixing sonarcloud issues
mrkeshav-05 Nov 21, 2025
4e5c008
handling null/undefined values
mrkeshav-05 Nov 21, 2025
9a85719
include test identifiers
mrkeshav-05 Nov 21, 2025
296a3d7
add tests for ContributionHeatmap component with various scenarios
mrkeshav-05 Nov 21, 2025
601dc5d
add tests for ContributionStats component
mrkeshav-05 Nov 21, 2025
ab98b4d
fixing sonarcloud issues
mrkeshav-05 Nov 21, 2025
3bafbb2
sort active chapters and projects
mrkeshav-05 Nov 21, 2025
b1ebb6a
added trailing whitespace
mrkeshav-05 Nov 21, 2025
c1d0c14
apply make check
mrkeshav-05 Nov 21, 2025
e518fb0
pnpm run lint -- --fix
mrkeshav-05 Nov 21, 2025
d040213
removing sonarcloud issues with contributionheatmap and contributions…
mrkeshav-05 Nov 23, 2025
172ac3d
add contribution_stats field to Chapter and Project models for github…
mrkeshav-05 Nov 23, 2025
bf8907c
add contribution_stats field to Chapter and Project GraphQL nodes
mrkeshav-05 Nov 23, 2025
c10b9dd
add contribution statistics calculation for chapters and projects
mrkeshav-05 Nov 23, 2025
c375a38
add contribution_stats fields to Chapter and Project migrations
mrkeshav-05 Nov 23, 2025
5a78728
add contributionStats field to Project type
mrkeshav-05 Nov 23, 2025
8515c7d
add contributionStats field to Chapter type
mrkeshav-05 Nov 23, 2025
cfb3e8c
run pnpm run --graphql-codegen to update the generated types
mrkeshav-05 Nov 23, 2025
7b9afb9
add contributionStats field to GET_CHAPTER_DATA and GET_PROJECT_DATA …
mrkeshav-05 Nov 23, 2025
1719296
create contributionDataUtils file for handling contribution stats logic
mrkeshav-05 Nov 23, 2025
8f09b7f
refactor: replace estimeted contribution stats with actual
mrkeshav-05 Nov 23, 2025
94615c0
added tests for contributionHeatmap
mrkeshav-05 Nov 23, 2025
2a4fda6
added tests for contributionStats field
mrkeshav-05 Nov 23, 2025
ee80609
Run pre-commit
mrkeshav-05 Nov 23, 2025
722ad72
add .slice().reverse() for compatibility
mrkeshav-05 Nov 23, 2025
a633ad8
resolve some issues by coderabbitai
mrkeshav-05 Nov 23, 2025
30c9ab1
make check
mrkeshav-05 Nov 23, 2025
d92ad4f
made the contributionheatmap responsive for both project and chapter …
mrkeshav-05 Nov 23, 2025
db5a3be
fixed failed testcases
mrkeshav-05 Nov 23, 2025
87036e9
fixing contributionheatmap for tests
mrkeshav-05 Nov 23, 2025
d7d2546
run pnpm run test:unit
mrkeshav-05 Nov 23, 2025
c957d72
make check
mrkeshav-05 Nov 23, 2025
9112a53
fixing sonarcloud issues
mrkeshav-05 Nov 23, 2025
ed036e5
adjust heatmap chart dimensions for better responsiveness
mrkeshav-05 Nov 23, 2025
e2ccc93
update command in backend/Makefile to aggregate contributions
mrkeshav-05 Nov 27, 2025
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
4 changes: 4 additions & 0 deletions backend/apps/owasp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ owasp-aggregate-projects:
@echo "Aggregating OWASP projects"
@CMD="python manage.py owasp_aggregate_projects" $(MAKE) exec-backend-command

owasp-aggregate-contributions:
@echo "Aggregating OWASP contributions"
@CMD="python manage.py owasp_aggregate_contributions" $(MAKE) exec-backend-command

owasp-create-project-metadata-file:
@echo "Generating metadata"
@CMD="python manage.py owasp_create_project_metadata_file $(entity_key)" $(MAKE) exec-backend-command
Expand Down
2 changes: 2 additions & 0 deletions backend/apps/owasp/api/internal/nodes/chapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ class GeoLocationType:
@strawberry_django.type(
Chapter,
fields=[
"contribution_data",
"contribution_stats",
"country",
"is_active",
"meetup_group",
Expand Down
2 changes: 2 additions & 0 deletions backend/apps/owasp/api/internal/nodes/project.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
@strawberry_django.type(
Project,
fields=[
"contribution_data",
"contribution_stats",
"contributors_count",
"created_at",
"forks_count",
Expand Down
Loading