Added UI with functionality#30
Open
AllinRamjit wants to merge 32 commits into
Open
Conversation
Test Commit & Push
Remove logic from student.py
…troller.pytoaddlogic Update staff_controller.py
…t_controller.py Editing-App-controllers-student_controller.py
Added special feature
…/staff.py Removed logic from App/models/staff.py
updated unit tests
added activity.py in App/models
…odels/student.py Added more functions
Update gevent to a compatible version for Python 3.12 and remove mysqlclient as the project uses SQLite by default. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c1a06fd1-868a-4f31-bc8f-1920cd0442d0 Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Event-Id: dc207053-e3c2-4cd1-a7f5-bded48fececb
Update the gunicorn configuration to bind to port 5000 instead of 8080. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c1a06fd1-868a-4f31-bc8f-1920cd0442d0 Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Event-Id: 2abf3991-2342-45b7-9eb3-f22a628610fb
…tialization Corrected indentation, non-printable characters, and __init__ method definitions in Staff and Student models and Staff controller to resolve initialization and syntax errors. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c1a06fd1-868a-4f31-bc8f-1920cd0442d0 Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Event-Id: 4624dae1-85b1-4b24-871d-be18191d02b2
…ment Create replit.md with project overview, recent changes, architecture, and running instructions. Update Gunicorn config and dependencies for Replit compatibility. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c1a06fd1-868a-4f31-bc8f-1920cd0442d0 Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Event-Id: ee44399a-d61f-4c1d-b1bd-e6af065a3402 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9d311426-21ce-4726-8b88-e15d0d749de4/c1a06fd1-868a-4f31-bc8f-1920cd0442d0/o67z5jW
Replit-Commit-Author: Agent Replit-Commit-Session-Id: c1a06fd1-868a-4f31-bc8f-1920cd0442d0 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 5e956455-13e8-488d-9395-2d9090809325 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9d311426-21ce-4726-8b88-e15d0d749de4/c1a06fd1-868a-4f31-bc8f-1920cd0442d0/o67z5jW
Create and integrate HTML templates for login, registration, student dashboard, staff dashboard, and various feature pages, including styling and navigation. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c1a06fd1-868a-4f31-bc8f-1920cd0442d0 Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Event-Id: a2b74d14-cddb-4594-8886-d70ba80dd5a0 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9d311426-21ce-4726-8b88-e15d0d749de4/c1a06fd1-868a-4f31-bc8f-1920cd0442d0/o67z5jW
Refactor HTML templates to use a new base template, implement new login and registration pages with role selection, and create dedicated dashboards for student and staff users. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c1a06fd1-868a-4f31-bc8f-1920cd0442d0 Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Event-Id: 6b3d0d98-aa15-483c-b60c-885504d66374 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9d311426-21ce-4726-8b88-e15d0d749de4/c1a06fd1-868a-4f31-bc8f-1920cd0442d0/rfhUMQt
Replit-Commit-Author: Agent Replit-Commit-Session-Id: c1a06fd1-868a-4f31-bc8f-1920cd0442d0 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 36b51a97-9f59-4579-82fd-86b4a48f638d Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9d311426-21ce-4726-8b88-e15d0d749de4/c1a06fd1-868a-4f31-bc8f-1920cd0442d0/DC11JiX
Configure JWT cookies with SameSite=None and Secure=True for improved compatibility with proxy environments, along with disabling CSRF protection and extending token expiration. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c1a06fd1-868a-4f31-bc8f-1920cd0442d0 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 10a9c179-b0d1-40e6-863e-74461765d8de Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9d311426-21ce-4726-8b88-e15d0d749de4/c1a06fd1-868a-4f31-bc8f-1920cd0442d0/DC11JiX
Add JWT_COOKIE_SAMESITE = "None" to App/config.py to ensure JWT cookies function correctly within Replit's iframe environment. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c1a06fd1-868a-4f31-bc8f-1920cd0442d0 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 9f1bfa3a-7eb6-4444-aab1-c6a59335f5a8 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9d311426-21ce-4726-8b88-e15d0d749de4/c1a06fd1-868a-4f31-bc8f-1920cd0442d0/DC11JiX
…cookie handling Replaces JWT-based authentication with Flask's session management for web views, introduces session context processors, and configures secure, samesite, and httponly session cookies. Updates authentication decorators and routes across student, staff, auth, and index views to utilize the new session-based system. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c1a06fd1-868a-4f31-bc8f-1920cd0442d0 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 49543d7d-19e4-4ed7-b6dd-6cf8c097e371 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9d311426-21ce-4726-8b88-e15d0d749de4/c1a06fd1-868a-4f31-bc8f-1920cd0442d0/DC11JiX
Refactors multiple HTML templates to align with a new design, improving visual consistency and user experience across student and staff dashboards, login, registration, and leaderboard pages. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c1a06fd1-868a-4f31-bc8f-1920cd0442d0 Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Event-Id: 725733f2-c78c-40bb-9b51-8c2559c5e633 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9d311426-21ce-4726-8b88-e15d0d749de4/c1a06fd1-868a-4f31-bc8f-1920cd0442d0/DC11JiX
added 2 commits
December 3, 2025 15:28
Update models and controllers to include an 'activity' field for student hour requests and logged hours, ensuring proper data persistence and display across the application. Replit-Commit-Author: Agent Replit-Commit-Session-Id: c1a06fd1-868a-4f31-bc8f-1920cd0442d0 Replit-Commit-Checkpoint-Type: intermediate_checkpoint Replit-Commit-Event-Id: 0d7677c9-c83a-4d38-8574-cc03cff2aba6 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9d311426-21ce-4726-8b88-e15d0d749de4/c1a06fd1-868a-4f31-bc8f-1920cd0442d0/NGDc4YK
Replit-Commit-Author: Agent Replit-Commit-Session-Id: c1a06fd1-868a-4f31-bc8f-1920cd0442d0 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 8afcef90-2490-47c4-ba87-16d8faf2e41a Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/9d311426-21ce-4726-8b88-e15d0d749de4/c1a06fd1-868a-4f31-bc8f-1920cd0442d0/xyRYcji
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.