Go to file
Joshua Coles 4c2272b1f0
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m44s
Fix regression in lecture ordering, add time of lecture on hover, fix lecture duration using hours instead of minutes
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
.github/workflows Ahh it used the wrong key... bugger 2023-10-08 19:28:53 +01:00
app Fix regression in lecture ordering, add time of lecture on hover, fix lecture duration using hours instead of minutes 2024-02-04 15:37:56 +00:00
bin Fix permissions on docker-entrypoint 2023-10-06 23:08:31 +01:00
config Add functionality to set default live video URL 2024-02-04 15:14:38 +00:00
db 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
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 Flesh out work items in the UI 2023-10-08 16:06:07 +01:00
tmp Initial commit 2023-09-29 17:45:19 +01:00
vendor Initial commit 2023-09-29 17:45:19 +01:00
.dockerignore An attempt at docker 2023-10-04 14:14:06 +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
Dockerfile Upgrade Rails to 7.1 rc2 to allow SECRET_KEY_BASE to function 2023-10-04 17:03:44 +01:00
Dockerfile-static-files Add static files docker container 2023-10-08 18:52:39 +01:00
Gemfile Add mssing sidekiq-scheduler 2023-10-08 22:14:21 +01:00
Gemfile.lock Add mssing sidekiq-scheduler 2023-10-08 22:14:21 +01:00
Procfile Add services to Procfile 2023-10-04 14:36:57 +01:00
Rakefile Initial commit 2023-09-29 17:45:19 +01:00
README.md Add ability to start lecture and redirect to recorded content. 2023-10-04 15:00:23 +01:00

Lecture Attendance Management System

Alterations

Continuum Mechanics

continuum_mechanics = Course.find(nil)

continuum_mechanics.import_from_calendar!
continuum_mechanics.lectures.filter { |lecture| lecture.start_time.monday? }.map {|lecture| lecture.update!(kind: Lecture.kinds[:problems_class]) }
continuum_mechanics.lectures.find_by(start_time: '2023-10-02 08:15:00.000000').destroy!
continuum_mechanics.renumber_lectures!