- Create secure server-side API endpoints for course data, marks, exercises, newsfeeds, submissions, and organization management
- Implement role-based permission checking using checkUserCoursePermissions utility
- Move all client-side Supabase calls to authenticated server endpoints in /api/courses/ and /api/org/
- Add proper authentication and authorization middleware via hooks.server.ts
- Update service functions to use getAccessToken() for API authentication
- Ensure data filtering based on user roles (students only see their own data)
- Maintain backward compatibility with existing component interfaces
* style: Improved font size of the answers in the FAQ section of the landing page
* woking on the anouncement page
* working on the anouncement feature
* fixed some bugs in the emoji and comment
* minor cleanup
* Delete .github/workflows/test-pull-request.yml
This commit was stashed but it seems i accidentally applied on this commit
* updated the navicon for the anouncement
* added role level security
* still working on the emoji click
* everything works now
* cleaned up the code
* cleaned up the code
* cleaned up the code
* cleaned up the code
* refined the formatTime function using dayjs
* refined the formatTime function using dayjs
* typed,the code,created a migration file
* increase editor width/height
* added the confirmation modal and also the edit functionality for a improve UX
* some cleanup
* handle edge case,only tutor or admin can edit or delete
* improved the fetchNews function and also added role level access for deleting the comment
* chore: refactor code
* clean up
* feat: add pinned feed
* feat: remove overview on sidebar
* fix formatting of todo
* feat: prevent async block when sending email
* feat: notify teacher and student of new post/comment
* refactoring
---------
Co-authored-by: Rotimi Best <[email protected]>
Co-authored-by: Rotimi Best <[email protected]>