Commit Graph
100 Commits
Author SHA1 Message Date
joshuacoles e8ea826976 Run good job migration and add dashboard 2024-02-07 10:19:14 +00:00
joshuacoles bbac184569 Install GoodJob 2024-02-07 10:14:07 +00:00
joshuacoles 0bf5e17651 Actually set the value to skip host verification
Build and Publish Docker Container / build (push) Successful in 5m50s
2024-02-07 10:09:28 +00:00
joshuacoles 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.
Build and Publish Docker Container / build (push) Successful in 5m49s
2024-02-07 10:08:01 +00:00
joshuacoles 52d11a41ab Attempt to resolve issue with incorrect schema on POST requests
Build and Publish Docker Container / build (push) Successful in 5m40s
2024-02-07 09:59:15 +00:00
joshuacoles 3f4d630ce2 A few style changes
Build and Publish Docker Container / build (push) Successful in 6m0s
2024-02-05 09:53:47 +00:00
joshuacoles 8f797fe919 Okay just back away from turbo for a bit, I think there was too much
Build and Publish Docker Container / build (push) Successful in 5m22s
2024-02-04 20:46:33 +00:00
joshuacoles b4b6976cb3 Attempt to make turbo frames work now
Build and Publish Docker Container / build (push) Successful in 5m29s
2024-02-04 20:04:21 +00:00
joshuacoles e5efd3de75 Remove accidental testing usage of tomorrow 2024-02-04 20:01:15 +00:00
joshuacoles eceaf91539 Align gaps in header and body, maybe worth combining these grids as some point 2024-02-04 20:00:31 +00:00
joshuacoles bb7f0a824d Remove table view from _lecture partial 2024-02-04 19:57:16 +00:00
joshuacoles c1c7342497 Transition entirely to div version 2024-02-04 19:55:13 +00:00
joshuacoles ab43d0f7a0 Update lecture view and attendance tracker styling 2024-02-04 19:45:53 +00:00
joshuacoles 39554fb176 Update date parameters and simplify broadcast call 2024-02-04 19:43:43 +00:00
joshuacoles af3f2ca39d Add note to look at better method for date to string conversion 2024-02-04 17:41:37 +00:00
joshuacoles 2926cfdbea Add toggl refetch on loading a page and start to make active cable work 2024-02-04 17:40:09 +00:00
joshuacoles 6e85c4103a Disable panopto scraping for now 2024-02-04 17:37:30 +00:00
joshuacoles bee3984a35 Fix issue missing lecture when calling checkin 2024-02-04 17:36:39 +00:00
joshuacoles 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
joshuacoles 5f6bd01882 Add default_live_video_url 2024-02-04 15:46:28 +00:00
joshuacoles 4c2272b1f0 Fix regression in lecture ordering, add time of lecture on hover, fix lecture duration using hours instead of minutes
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
joshuacoles f81005408e Add functionality to set default live video URL
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
joshuacoles c97041597b Add renumber lectures button 2024-02-04 15:05:12 +00:00
joshuacoles 0a6a68b519 Add the ability to put actions at the bottom of the show page in administrate 2024-02-04 14:53:22 +00:00
joshuacoles d4aa63e66a Add default_live_video_url to the course dashboard 2024-02-04 14:28:21 +00:00
joshuacoles d5faecdd12 Fix the fill_in_default_live_video_url! method 2024-02-04 14:24:55 +00:00
joshuacoles 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
joshuacoles 4238e4fe4e Hide under-developed work items from the main screen 2024-02-04 14:07:03 +00:00
joshuacoles 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
joshuacoles 49282a72bf Add new semester 2 courses 2024-02-04 13:49:44 +00:00
joshuacoles 08b83e32ab Add uniqueness constraints to course properties 2024-02-04 13:38:05 +00:00
joshuacoles 4485624f79 Add archived to dashboard and change homepage to only show active (ie not archived) courses 2024-02-04 13:35:28 +00:00
joshuacoles 04566509dc Add archived property to courses 2024-02-04 13:31:50 +00:00
joshuacoles 665713de49 Fix service urls 2024-02-04 13:31:35 +00:00
joshuacoles d5d30c96fd A very messy overview page
Build and Publish Docker Container / build (push) Successful in 5m22s
2023-10-26 14:59:27 +01:00
joshuacoles a0e526662b Improve small scale styling a litle
Build and Publish Docker Container / build (push) Successful in 5m15s
2023-10-26 14:49:40 +01:00
joshuacoles 9d9d920eef Extract lecture actions into its own partial and add course homepage link 2023-10-26 14:28:32 +01:00
joshuacoles b0d134fabd Add started text to table 2023-10-26 14:21:33 +01:00
joshuacoles 9c6dea41f1 Extract course table to partial 2023-10-26 12:06:06 +01:00
joshuacoles 9b57b7a646 Add course_focus view
Build and Publish Docker Container / build (push) Successful in 5m13s
2023-10-26 12:03:37 +01:00
joshuacoles fa9d9d8936 Fix styling of the today table
Build and Publish Docker Container / build (push) Successful in 5m50s
2023-10-26 11:49:52 +01:00
joshuacoles 20cca634b3 Refactor lecture status icons into a partial 2023-10-24 15:11:09 +01:00
joshuacoles 67c9c96ce4 Remove redundant date column, improve sizing 2023-10-20 12:13:24 +01:00
joshuacoles 29638d80af Remove heading duplication 2023-10-20 12:10:06 +01:00
joshuacoles 3fb897fc8b MVP today view
Build and Publish Docker Container / build (push) Successful in 5m29s
2023-10-20 12:02:35 +01:00
joshuacoles cdd8c963ca Add today basic view
Build and Publish Docker Container / build (push) Successful in 5m59s
2023-10-16 12:19:00 +01:00
joshuacoles c65136e8b3 Fix sort, how did this even work??? 2023-10-16 12:17:38 +01:00
joshuacoles 9653423332 Add defined sort to the lectures index page 2023-10-12 09:58:23 +01:00
joshuacoles 0cb56424a1 Add a 5 minute period before a lecture where you can join
Build and Publish Docker Container / build (push) Successful in 5m46s
2023-10-12 09:40:59 +01:00
joshuacoles ea8a7a7871 Improve work item dashboard
Build and Publish Docker Container / build (push) Successful in 5m59s
2023-10-09 10:36:55 +01:00
joshuacoles caa55559f4 Add mssing sidekiq-scheduler
Build and Publish Docker Container / build (push) Successful in 5m22s
2023-10-08 22:14:21 +01:00
joshuacoles 04bc4c7405 Fix incorrect methods on work item routes.
Build and Publish Docker Container / build (push) Successful in 5m34s
2023-10-08 22:01:01 +01:00
joshuacoles ed3838c53f Ahh it used the wrong key... bugger
Build and Publish Docker Container / build (push) Successful in 5m37s
2023-10-08 19:28:53 +01:00
joshuacoles 7500061728 Something is up
Build and Publish Docker Container / build (push) Successful in 5m43s
2023-10-08 19:17:23 +01:00
joshuacoles 1ada65c7a3 Add static files docker container
Build and Publish Docker Container / build (push) Successful in 5m45s
2023-10-08 18:52:39 +01:00
joshuacoles d045257987 Fix dashboards 2023-10-08 18:52:28 +01:00
joshuacoles 45b5279792 Add homepage to course dashboard 2023-10-08 16:41:27 +01:00
joshuacoles 178559ac67 Add document links to dashboard 2023-10-08 16:40:46 +01:00
joshuacoles 3d078f215f Add document links to work items 2023-10-08 16:40:16 +01:00
joshuacoles f712837f91 Improve icons, add homepage links to courses
Build and Publish Docker Container / build (push) Successful in 5m28s
2023-10-08 16:38:40 +01:00
joshuacoles b2d8ee0dd9 Add live icon 2023-10-08 16:26:54 +01:00
joshuacoles 18f2399c0e Add better capacity for live lectures 2023-10-08 16:24:31 +01:00
joshuacoles 9da49ceed8 Remove lecture cancellation display 2023-10-08 16:21:55 +01:00
joshuacoles c8b688ce57 Flesh out work items in the UI
Build and Publish Docker Container / build (push) Successful in 5m43s
2023-10-08 16:06:07 +01:00
joshuacoles f9f4762450 Continue adding problem sheets 2023-10-08 15:46:19 +01:00
joshuacoles 7344ac3d67 Make it a little generic, time to step away for now
Build and Publish Docker Container / build (push) Successful in 5m55s
2023-10-07 16:05:26 +01:00
joshuacoles 8fd4072af3 Remove "Recording" header on table to allow for that column to contain more stuff 2023-10-07 15:55:52 +01:00
joshuacoles 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
joshuacoles f121c990e8 Add WorkItem model for Problem sheets and equivalent 2023-10-07 15:41:32 +01:00
joshuacoles 328616d55f Add comment and force rebuild
Build and Publish Docker Container / build (push) Successful in 6m10s
2023-10-07 15:00:03 +01:00
joshuacoles babbbf2be5 Allow configuration of the service URLs by ENV variables
Build and Publish Docker Container / build (push) Successful in 5m37s
2023-10-07 14:56:13 +01:00
joshuacoles 735e16ed2c Fix permissions on docker-entrypoint
Build and Publish Docker Container / build (push) Successful in 5m28s
2023-10-06 23:08:31 +01:00
joshuacoles 2b49e64123 Hide total line for weeks with no work done
Build and Publish Docker Container / build (push) Successful in 5m15s
2023-10-06 22:40:38 +01:00
joshuacoles 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
joshuacoles e6dcd8e6ec Update sidekiq description
Build and Publish Docker Container / build (push) Successful in 5m6s
2023-10-06 22:14:56 +01:00
joshuacoles a4fd2b853a Update dashboard
Build and Publish Docker Container / build (push) Successful in 5m20s
2023-10-06 22:11:36 +01:00
joshuacoles 3540fa75f7 Remove attendances model 2023-10-06 22:09:38 +01:00
joshuacoles 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
joshuacoles 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
joshuacoles ef301f6592 Add extra kinds to the tracked_time_entry 2023-10-06 21:10:26 +01:00
joshuacoles a2dfad331b Create TrackedTimeEntry as more general replacement of Attendance to include preparation and review 2023-10-06 21:09:28 +01:00
joshuacoles c706aa2561 Add status symbols for upcoming prep and review entries 2023-10-06 21:04:34 +01:00
joshuacoles 927a9032d4 Fix issue with popover when lecture not attended 2023-10-06 20:54:15 +01:00
joshuacoles 9a2508bb34 Improve styling
Build and Publish Docker Container / build (push) Successful in 5m8s
2023-10-06 20:52:03 +01:00
joshuacoles 41e3eebe52 Add in lecture time popover 2023-10-06 20:49:53 +01:00
joshuacoles fda26e3b53 Add tailwind-stimulus-components 2023-10-06 20:31:24 +01:00
joshuacoles 6178b580b1 Disable sass to make tailwind work
Build and Publish Docker Container / build (push) Successful in 5m34s
2023-10-06 20:30:40 +01:00
joshuacoles e3199a097f Move recording to its own column 2023-10-06 20:19:44 +01:00
joshuacoles 5b74f1380b Fix bug in toggl scraping
Build and Publish Docker Container / build (push) Failing after 5m4s
2023-10-06 16:10:17 +01:00
joshuacoles 04e1496c04 Fix SASS build issue take 3???
Build and Publish Docker Container / build (push) Failing after 4m43s
2023-10-05 10:00:13 +01:00
joshuacoles 750b67fd2f Fix panopto scraping 2023-10-05 09:59:13 +01:00
joshuacoles 04caed2783 Add checkin notifications for starting lectures 2023-10-05 09:59:08 +01:00
joshuacoles 9e8cf93b1a Try fix the sass build issue
Build and Publish Docker Container / build (push) Failing after 4m30s
2023-10-04 17:20:58 +01:00
joshuacoles f3e4940d6b Upgrade Rails to 7.1 rc2 to allow SECRET_KEY_BASE to function
Build and Publish Docker Container / build (push) Failing after 4m29s
2023-10-04 17:03:44 +01:00
joshuacoles f7039fc42a Maybe?
Build and Publish Docker Container / build (push) Failing after 4m13s
2023-10-04 16:58:02 +01:00
joshuacoles 0281abfecb Add SECRET_KEY_BASE_DUMMY
Build and Publish Docker Container / build (push) Failing after 4m4s
2023-10-04 15:15:19 +01:00
joshuacoles 6c8d2544e0 Add review and prep actions
Build and Publish Docker Container / build (push) Has been cancelled
2023-10-04 15:14:19 +01:00
joshuacoles 9621f6fa24 Add linux x86 platform for build pipeline
Build and Publish Docker Container / build (push) Failing after 4m34s
2023-10-04 15:01:56 +01:00
joshuacoles 7c96b2c2bc Add ability to start lecture and redirect to recorded content. 2023-10-04 15:00:23 +01:00
joshuacoles 0e0d26d06d Move calendar scraping to a model method 2023-10-04 14:41:15 +01:00