Commit Graph

15 Commits

Author SHA1 Message Date
351694df12 Allow for scraping toggl entries for specific courses only, change default to be active courses and add a new action to allow manual re-scraping in the case of errors.
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m49s
2024-02-07 10:08:01 +00:00
4c2272b1f0 Fix regression in lecture ordering, add time of lecture on hover, fix lecture duration using hours instead of minutes
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m44s
The update includes modifications in the lectures' order by start_time in course model. The lecture duration is now correctly calculated by minutes instead of hours. Additionally, in the lecture view, an online indicator is added for each lecture and popover is implemented to show the lecture start and end times..
2024-02-04 15:37:56 +00:00
f81005408e Add functionality to set default live video URL
All checks were successful
Build and Publish Docker Container / build (push) Successful in 6m21s
A new method has been added to the `CoursesController` which allows admins to fill default live video URLs for online lectures that don't have one. This feature is accessible via a button on the courses admin page. The routing for this new action has also been set up.
2024-02-04 15:14:38 +00:00
d5faecdd12 Fix the fill_in_default_live_video_url! method 2024-02-04 14:24:55 +00:00
e8e143355d Add online property and live video URL to lecture models, as well as a default value at the course level 2024-02-04 14:23:07 +00:00
f0b458f6a1 Improve event summary parsing in course model
This commit refines event summary parsing in the course model. Instead of splitting the summary, it uses regular expressions to extract the unit code and short lecture title more accurately. The update also includes better handling of events that don't match this format.
2024-02-04 14:03:13 +00:00
4485624f79 Add archived to dashboard and change homepage to only show active (ie not archived) courses 2024-02-04 13:35:28 +00:00
7344ac3d67 Make it a little generic, time to step away for now
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m55s
2023-10-07 16:05:26 +01:00
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
7c96b2c2bc Add ability to start lecture and redirect to recorded content. 2023-10-04 15:00:23 +01:00
0e0d26d06d Move calendar scraping to a model method 2023-10-04 14:41:15 +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
d8a6f27734 Customise dashboards 2023-10-01 20:00:23 +01:00
d14903fcb4 Some initial UI work 2023-09-29 18:53:43 +01:00
38f48d1736 Create course model 2023-09-29 18:18:03 +01:00