Go to file
Joshua Coles 58c1280309 Update Lecture-Recording relationship and add Lecture cancellation status
The commit introduces notable changes to the Lecture-Recording model relationship in our application and adds a new cancellation status to Lecture model.

Models Lecture and Recording previously had a belongs_to :recording and belongs_to :lecture relationship respectively. However, this setup was not reflecting the correct relationship between these two entities in the actual educational setup where a lecture can have a recording but a recording is always of a lecture. Thus, the relationship has been revised to has_one :recording in Lecture and belongs_to :lecture in Recording models.

Also, added the ability to mark a lecture as "cancelled". This addresses the requirement of representing real-world scenarios where lectures are sometimes cancelled. This cancellation status is then reflected in the Attendance Tracker view and is also handled in the ScrapePanoptoJob.

Additionally, new changes are reflected in the application's schema, migration files, admin dashboard, and stylesheets (for displaying cancelled lectures).
2023-10-02 09:47:46 +01:00
app Update Lecture-Recording relationship and add Lecture cancellation status 2023-10-02 09:47:46 +01:00
bin Tailwind init 2023-09-29 17:52:01 +01:00
config Add recordings dashboard 2023-10-01 19:50:00 +01:00
db Update Lecture-Recording relationship and add Lecture cancellation status 2023-10-02 09:47:46 +01:00
lib Initial commit 2023-09-29 17:45:19 +01:00
log Initial commit 2023-09-29 17:45:19 +01:00
public Initial commit 2023-09-29 17:45:19 +01:00
sig Add toggl scraping 2023-09-29 21:06:33 +01:00
storage Initial commit 2023-09-29 17:45:19 +01:00
test Rename job to be more inline with other jobs 2023-10-01 18:01:41 +01:00
tmp Initial commit 2023-09-29 17:45:19 +01:00
vendor Initial commit 2023-09-29 17:45:19 +01:00
.gitattributes Initial commit 2023-09-29 17:45:19 +01:00
.gitignore Tailwind init 2023-09-29 17:52:01 +01:00
.ruby-version Initial commit 2023-09-29 17:45:19 +01:00
config.ru Initial commit 2023-09-29 17:45:19 +01:00
Gemfile Update lecture properties and various migration changes 2023-10-01 19:44:20 +01:00
Gemfile.lock Update lecture properties and various migration changes 2023-10-01 19:44:20 +01:00
Procfile Add sidekiq 2023-10-01 14:31:52 +01:00
Rakefile Initial commit 2023-09-29 17:45:19 +01:00
README.md Initial commit 2023-09-29 17:45:19 +01:00

README

This README would normally document whatever steps are necessary to get the application up and running.

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

  • ...