Skip to content

Admin panel tweaks

Rasmus Bengtsson requested to merge Admin-panel-tweaks into Development

Changelog

All notable changes to this project will be documented in this file.

[DEMO-W9] - 2024-02-26

🚀 Features

  • Added gitignore
  • Generated solution and projects
  • Generated AdminService
  • Generated ingestion service
  • Generated models project
  • Generated SearchService
  • Generated viewerService
  • Added projects to sln
  • Created model structure for courses and files
  • Created DBcontext
  • Added model reference for all services
  • Updated nav menu to add create course page
  • Inserted pagination in CreateCourse view
  • Basic info page
  • Added migration and ingestionJob
  • Added db context to admin service and create course view
  • Fixed minio upload
  • Added upload ingestionJob and await finish
  • Created a mock course builder
  • Added minio and postgresql jobs in .tofu
  • Added dockerfiles
  • Introduced automated git builds
  • Created tofu file and nomad job spec
  • Connected search service to DB
  • Connected viewer to db
  • Added a link between search and viewer service
  • Updated job spec
  • Fixed the theming for the admin service
  • Added an edit course view
  • Added list view
  • Upload and download
  • Database connections
  • Created parsing service
  • Modified the dbcontext to be an identitydbcontext
  • Added authentication
  • Added logout functionality
  • Added superuser and name for users
  • Added user management panel
  • UserManagement edit user
  • Finished user dashboard
  • Added course ownership to the datamodel
  • Added screen to control course access
  • Added varying course list depending on access
  • Added auth check for edit course
  • Created an edit user view
  • Added admin control for courses
  • Created GetObjectString method
  • Registered minioService
  • Added GetShareURL func in MinioService.cs
  • List course files and modules
  • Display default module in view service
  • Added index module to the db model
  • Design viewer service

🐛 Bug Fixes

  • [breaking] Reverted bad generation of projects
  • Fixed fucked dockerfiles
  • Updated so that ci/cd only runs on main
  • Fixed image names in CI/CD
  • Maybe works now
  • This is walles fault
  • Dockerfile published wrong project
  • Changed image naming to include latest
  • Fixed extra teachers bug
  • Updated ef version to match over the project
  • Fixed course bug
  • Updated how name and username is set
  • Fixed the ingestion service auxillary file uploads

📚 Documentation

  • Created readme

️ Miscellaneous Tasks

  • Changed the db to one migrated to auth
  • Added relevant migrations

Bug

  • Fix

Feat

  • Parse course web resources and API connections with adminpage
  • Parsing
  • Parsing
  • Get course info data from ltu.se. Both exam modules and other data
  • Working Exam modules component
  • Course requirements
  • ExamModules Done

Fix

  • Changed max file upload size from 500KB to 1GB
  • Changed to DbContextFactory from AddDbContext
  • Course View works now i think maybe
  • Search rewritten to use dbContext Factory instead
  • Cleanup
  • Cleanup

TODO

  • Fix Task.run()

WIP

  • Create course upload file
  • Working on management panel

Bug

  • Fixed so that the search functions actually works

Clean

  • Removed unused pages

Merge request reports