Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* oidc tests * added nestjs support with auto timetabling * added nestjs support with auto timetabling * removing controller test files for main app * testing out no frozen lockfile for docker image * Update ci.yml * added the old endpoints: Auth user, prisma and user as well as the protobuf auto endpoints * TLS error potentially caused by UNSW IT not renewing cert * updating dockerignore to ignore extra bloat and gitignore to ignore migrations for prisma. * Updated format for files * Prisma migration removed for now * added example env files * Add PUT user/profile endpoint, and complete PUT user settings endpoint * Complete POST timetable endpoint * Edit timetable endpoint completed (not tested though lol - will do later): * GET profile endpoint fixed and completed * Complete GET settings endpoint * GET timetable is working now * Delete timetable endpoint completed * added better mapping for sql name convention * Add friend/unfriend endpoints * Add friends get req * Friend request endpoints completed * added groups endpoints * group post merged * added seed script * added seed script * adding some minor changes with source copying * seed file was causing crashes * testing out types * adding ci prisma gen * User profile endpoint * Completed edit timetable endpoint, simplified create timetable endpoint: * Slowly piecing together framework for mocking prisma client and testing; also fixed inconsistencies with merge of endpoints; also this is painful * test: Removed unit tests as they are quite useless for db testing; replaced with integration testing. Basic user tests have been written, will continue later * minor changes to schema/dtos, and finished user tests * test: add friends tests * test refactored * refactor: remove all class data and fields, and add classNo property * Change schema and interfaces to give enough data to reconstruct. Also added helper func to call scraper public endpoint * Inital implementation of scraper data makes my eyes want to explode * fix: get user endpoint properly fetches timetables, and get timetables endpoint modified to accomodate multiple userids * test: update tests to work with returned scraped class data * style: added linting for server + linted client and server * chore: remove comments * chore: add class time DTO; clean up codebase * refactor: add reconstructed timetable creation method * schema: change terms to string, remove term enum * style: remove unused comments --------- Co-authored-by: ray <raiyan.ahmed@gmail.com> Co-authored-by: Raiyan Ahmed <80839724+Rayahhhmed@users.noreply.github.com> Co-authored-by: Shaam <shaamjevan.sj@gmail.com>
- Loading branch information