Skip to content

Auth and config system#27

Merged
PACHAKUTlQ merged 75 commits intomainfrom
dev
Oct 13, 2025
Merged

Auth and config system#27
PACHAKUTlQ merged 75 commits intomainfrom
dev

Conversation

@PACHAKUTlQ
Copy link
Collaborator

No description provided.

MatchaDinosaur and others added 30 commits September 5, 2025 22:42
…, backend see apps/verifier/urls.py, apps/verifier/views.py, currently use ngrok for getting webhook from sjtu wj platform
…imestamp, answerid, verification code check and create user session
wj OAuth and account-password login
Register the repo https://github.com/Tech-JI/CourseFront for path
frontend

chore: submodule

Register the repo https://github.com/Tech-JI/CourseFront for path
frontend
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 implements a comprehensive authentication and configuration system for the Django application. It modernizes authentication using a new OAuth flow with questionnaire-based verification while introducing a robust multi-layered configuration system.

Key changes:

  • New OAuth authentication system using questionnaire platforms for identity verification
  • Robust configuration system supporting YAML, environment variables, and defaults
  • Streamlined codebase by removing deprecated Celery, pipeline, and analytics components

Reviewed Changes

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

Show a summary per file
File Description
website/config.py New configuration class implementing hierarchical config loading with deep merging
website/settings.py Completely refactored to use new config system with modern Django practices
website/urls.py Updated URL patterns to use new auth endpoints and removed legacy routes
apps/auth/ New authentication app implementing OAuth flow with questionnaire verification
apps/web/views.py Refactored to use DRF consistently and removed legacy authentication code
apps/web/models/ Simplified Student model and forms, removed legacy authentication fields
pyproject.toml Updated dependencies to support new auth and config systems

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@PACHAKUTlQ PACHAKUTlQ merged commit 8012471 into main Oct 13, 2025
2 checks passed
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.

4 participants