Skip to content

Added UI with functionality#30

Open
AllinRamjit wants to merge 32 commits into
UWIBestGroupEver:mainfrom
AllinRamjit:added-ui-with-functionality
Open

Added UI with functionality#30
AllinRamjit wants to merge 32 commits into
UWIBestGroupEver:mainfrom
AllinRamjit:added-ui-with-functionality

Conversation

@AllinRamjit
Copy link
Copy Markdown

No description provided.

ranasalim1 and others added 30 commits November 26, 2025 21:01
…troller.pytoaddlogic

Update staff_controller.py
…t_controller.py

Editing-App-controllers-student_controller.py
…/staff.py

Removed logic from App/models/staff.py
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
AllinRamjit 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
@nielconstance2004 nielconstance2004 deleted the added-ui-with-functionality branch December 3, 2025 18:23
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