Go to file
2024-02-07 10:19:14 +00:00
.github/workflows Ahh it used the wrong key... bugger 2023-10-08 19:28:53 +01:00
app 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. 2024-02-07 10:08:01 +00:00
bin Fix permissions on docker-entrypoint 2023-10-06 23:08:31 +01:00
config Run good job migration and add dashboard 2024-02-07 10:19:14 +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!