Go to file
Joshua Coles 4b3204d2f4
All checks were successful
Build and Publish Docker Container / build (push) Successful in 5m29s
Implement catch-up tracking feature
This update enhances tracking functionality. It adds the ability to track time spent 'catching up' on lectures, with distinctions made within the controllers and views to handle these new 'catch-up' entries. Also implemented a flexible match for lecture titles to include various forms such as 'Lecture 1', 'Lecture 1: Prep' and the 'Catch-up'.
2024-02-07 10:46:47 +00:00
.github/workflows Ahh it used the wrong key... bugger 2023-10-08 19:28:53 +01:00
app Implement catch-up tracking feature 2024-02-07 10:46:47 +00:00
bin Fix permissions on docker-entrypoint 2023-10-06 23:08:31 +01:00
config Add cron jobs to good job, will run in instance with RUNNER=1 env. 2024-02-07 10:27:32 +00:00
db Run good job migration and add dashboard 2024-02-07 10:19:14 +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 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
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 Install GoodJob 2024-02-07 10:14:07 +00:00
Gemfile.lock Install GoodJob 2024-02-07 10:14:07 +00:00
Procfile Add toggl refetch on loading a page and start to make active cable work 2024-02-04 17:40:09 +00: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!