Skip to content
This repository was archived by the owner on Jan 2, 2026. It is now read-only.

Referral program models and views#173

Open
elimelt wants to merge 4 commits intomainfrom
ENG-101
Open

Referral program models and views#173
elimelt wants to merge 4 commits intomainfrom
ENG-101

Conversation

@elimelt
Copy link
Contributor

@elimelt elimelt commented Apr 1, 2025

TODO: update swecc-infra vars

@elimelt elimelt changed the title Eng 101 Referral program models and views Apr 1, 2025
@elimelt elimelt force-pushed the ENG-101 branch 2 times, most recently from a023ef7 to d150593 Compare April 1, 2025 23:52
@elimelt elimelt requested a review from Copilot April 1, 2025 23:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request implements a referral program by introducing new models, views, serializers, and related configuration updates while also updating existing settings and views to support dedicated AWS S3 buckets for resume review and referral functionality.

  • Added a new referrals app with models, views, serializers, permissions, producers, and corresponding migrations.
  • Updated settings, URL routing, and docker-compose configuration to use separate AWS bucket environment variables.
  • Modified resume_review views to reference the correct AWS bucket for resume review files.

Reviewed Changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated no comments.

Show a summary per file
File Description
server/server/urls.py Added referrals route in URL configurations.
server/server/settings.py Updated environment variable mappings for resume review and referrals.
server/resume_review/views.py Updated AWS bucket variable used for resume review file uploads.
server/referrals/views.py Introduced referrals views with endpoints for listing, creating, and reviewing referrals.
server/referrals/urls.py Defined URL routes for referral-related endpoints.
server/referrals/serializers.py Created serializers for referral details and documents.
server/referrals/producers.py Added an event producer for referral status change notifications.
server/referrals/permissions.py Implemented custom permission classes for referral access control.
server/referrals/models.py Introduced models for referral details and associated documents.
server/referrals/migrations/0001_initial.py Auto-generated migration for creating the referrals app schema.
server/referrals/apps.py Added app configuration for the referrals app.
docker-compose.dev.yml Updated environment variables to include the new AWS bucket names.

@elimelt elimelt requested a review from Copilot April 1, 2025 23:53
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds a new referral program feature by introducing referral models, views, URLs, serializers, and permissions, along with updating environment variables for AWS buckets.

  • Added referral routes and app configuration in the Django project settings and URL declarations.
  • Introduced a complete referrals application with models, views, serializers, and permissions.
  • Updated docker-compose.dev.yml to include new environment variables for resume review and referral AWS buckets.

Reviewed Changes

Copilot reviewed 14 out of 14 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
server/server/urls.py Added a new URL route for referrals.
server/server/settings.py Updated environment variables and added the referrals app to the installed apps.
server/resume_review/views.py Updated bucket variable import to use resume review’s AWS bucket variable.
server/referrals/* New referrals application files including models, views, serializers, permissions, etc.
docker-compose.dev.yml Updated to include new environment variables for resume review and referral AWS buckets.

@elimelt elimelt marked this pull request as ready for review April 1, 2025 23:55
@Advayp
Copy link
Contributor

Advayp commented Apr 24, 2025

@elimelt Can you resolve conflicts please?

@github-actions
Copy link

Marking as stale since there has been no activity for 30 days. Will close in 7 days if no activity.

1 similar comment
@github-actions
Copy link

Marking as stale since there has been no activity for 30 days. Will close in 7 days if no activity.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants