Commit Graph

10 Commits

Author SHA1 Message Date
6a2f053bb6 Added WorkItems as a new subject for TrackedTimeEntries.
- Made TrackedTimeEntries polymorphic to belong to both Lecture and WorkItems models
- Added associated migrations for existing data
- Added to administrate UI
2023-10-07 15:53:31 +01:00
a4fd2b853a Update dashboard
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m20s
2023-10-06 22:11:36 +01:00
3540fa75f7 Remove attendances model 2023-10-06 22:09:38 +01:00
fe15365524 Add lecture kinds 2023-10-02 16:37:52 +01:00
9a5116f29e Add Toggl data to attendances, fix attendance creation for past lectures. Change styling a little. 2023-10-02 16:19:37 +01:00
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
d8a6f27734 Customise dashboards 2023-10-01 20:00:23 +01:00
d44460df93 Add recordings dashboard 2023-10-01 19:50:00 +01:00
d9d182bc94 Update lecture properties and various migration changes
Modified code to remove 'status' field from lecture's table and added 'event_uuid' field. Also refined the 'start_time' field in recordings' table to handle datetime instead of strings. Further, made minor changes in scraping jobs and seeding logic. Implemented these changes to allow lectures to be associated with calendar events and streamlined various fields.
2023-10-01 19:44:20 +01:00
3300017d98 Add administrate 2023-10-01 15:05:10 +01:00