Skip to content

Update frontend: Online CMS features, authentication and Docker configuration - #278

Open
divyTechS wants to merge 3 commits into
FusionIIIT:mainfrom
divyTechS:main
Open

Update frontend: Online CMS features, authentication and Docker configuration#278
divyTechS wants to merge 3 commits into
FusionIIIT:mainfrom
divyTechS:main

Conversation

@divyTechS

Copy link
Copy Markdown

Changes

  • Updated Online CMS frontend features
  • Added/updated authentication integration
  • Updated JWT authentication handling
  • Updated Docker configuration
  • Other frontend improvements and fixes

Testing

  • Tested frontend locally
  • Verified authentication flow
  • Verified Online CMS functionality

Indrapal-70 and others added 3 commits March 25, 2026 16:27
- Add a new Online CMS workspace under /online-cms:
  - course picker + tabbed navigation (courses, materials, assignments, quiz, forum, attendance)
  - materials as link-based uploads (no file blobs), with faculty-only add/delete controls
  - assignments flow for both roles (faculty: create/delete/grade; student: submit via link)
  - forum UI wired for threaded Q/A + replies + delete permissions
  - quiz UI for faculty create/remove + student attempt/submit with score feedback
  - attendance UI (faculty mark + roster; everyone can view records)
  - question bank + grading pages hooked up at the route/API level (UI scaffolding included)

- Introduce a shared API client and token storage:
  - axios instance with request auth injection + 401 refresh-token retry
  - store access/refresh tokens via a single tokenStorage helper
  - centralize user validation on /api/auth/me/ and normalize role/module state in Redux

- Route/auth cleanup:
  - move login route to /login (and update redirects/logout flows accordingly)
  - add /course-management -> /online-cms redirect to preserve old entry points
  - make logout aggressively clear all auth artifacts and force a clean session restart

- Misc UX/dev cleanup:
  - fix React hook usage + prop-types issues blocking Husky ESLint checks
  - replace deprecated/incorrect “FolderNotch” icon usage with “Folder” in FileTracking empty-states
  - add small local scripts for scaffolding/testing endpoints during development
feat(online-cms): full-stack CMS alignment with DB—roles, forum, attendance, assignments, quizzes, and materials
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.

3 participants