Commit Graph

97 Commits

Author SHA1 Message Date
28c3fd27be Move to local toggl-portal to work around bug, also improve error handling and add the two missing sigs 2024-02-04 17:36:13 +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
c97041597b Add renumber lectures button 2024-02-04 15:05:12 +00:00
0a6a68b519 Add the ability to put actions at the bottom of the show page in administrate 2024-02-04 14:53:22 +00:00
d4aa63e66a Add default_live_video_url to the course dashboard 2024-02-04 14:28:21 +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
4238e4fe4e Hide under-developed work items from the main screen 2024-02-04 14:07:03 +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
d5d30c96fd A very messy overview page
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m22s
2023-10-26 14:59:27 +01:00
a0e526662b Improve small scale styling a litle
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m15s
2023-10-26 14:49:40 +01:00
9d9d920eef Extract lecture actions into its own partial and add course homepage link 2023-10-26 14:28:32 +01:00
b0d134fabd Add started text to table 2023-10-26 14:21:33 +01:00
9c6dea41f1 Extract course table to partial 2023-10-26 12:06:06 +01:00
9b57b7a646 Add course_focus view
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m13s
2023-10-26 12:03:37 +01:00
fa9d9d8936 Fix styling of the today table
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m50s
2023-10-26 11:49:52 +01:00
20cca634b3 Refactor lecture status icons into a partial 2023-10-24 15:11:09 +01:00
67c9c96ce4 Remove redundant date column, improve sizing 2023-10-20 12:13:24 +01:00
29638d80af Remove heading duplication 2023-10-20 12:10:06 +01:00
3fb897fc8b MVP today view
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m29s
2023-10-20 12:02:35 +01:00
cdd8c963ca Add today basic view
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m59s
2023-10-16 12:19:00 +01:00
c65136e8b3 Fix sort, how did this even work??? 2023-10-16 12:17:38 +01:00
9653423332 Add defined sort to the lectures index page 2023-10-12 09:58:23 +01:00
0cb56424a1 Add a 5 minute period before a lecture where you can join
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m46s
2023-10-12 09:40:59 +01:00
ea8a7a7871 Improve work item dashboard
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m59s
2023-10-09 10:36:55 +01:00
d045257987 Fix dashboards 2023-10-08 18:52:28 +01:00
45b5279792 Add homepage to course dashboard 2023-10-08 16:41:27 +01:00
178559ac67 Add document links to dashboard 2023-10-08 16:40:46 +01:00
3d078f215f Add document links to work items 2023-10-08 16:40:16 +01:00
f712837f91 Improve icons, add homepage links to courses
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m28s
2023-10-08 16:38:40 +01:00
b2d8ee0dd9 Add live icon 2023-10-08 16:26:54 +01:00
18f2399c0e Add better capacity for live lectures 2023-10-08 16:24:31 +01:00
9da49ceed8 Remove lecture cancellation display 2023-10-08 16:21:55 +01:00
c8b688ce57 Flesh out work items in the UI
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m43s
2023-10-08 16:06:07 +01:00
f9f4762450 Continue adding problem sheets 2023-10-08 15:46:19 +01: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
8fd4072af3 Remove "Recording" header on table to allow for that column to contain more stuff 2023-10-07 15:55:52 +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
f121c990e8 Add WorkItem model for Problem sheets and equivalent 2023-10-07 15:41:32 +01:00
babbbf2be5 Allow configuration of the service URLs by ENV variables
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m37s
2023-10-07 14:56:13 +01:00
2b49e64123 Hide total line for weeks with no work done
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m15s
2023-10-06 22:40:38 +01:00
a0918ce011 Add total lecture time and improve time representation
In the attendance tracker view, the total times for preparation, in lecture, and review have been humanized for better readability. Also, total time spent on lectures for each week has been included for a quicker overview. A helper method 'humanise_duration' has been added in application helper to convert time into a more readable format. Changes have been done in 'lecture' model for calculation of total time.
2023-10-06 22:38:48 +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
84143c683f Add some naive filtering to the Toggl scraping job to ignore time entries that have already been tracked 2023-10-06 22:06:54 +01:00
0cb03812cf Track associated toggl entry id for uniqueness, show stats for time spent in different parts of the lecture flow. 2023-10-06 22:00:01 +01:00
ef301f6592 Add extra kinds to the tracked_time_entry 2023-10-06 21:10:26 +01:00
a2dfad331b Create TrackedTimeEntry as more general replacement of Attendance to include preparation and review 2023-10-06 21:09:28 +01:00