Tags can be added to exercises in the edit view. Tags can monitored under /tags.
Added the concept of ProxyExercises which are a collection of Exercises. They can be found under /proxy_exercises
Added Interventions as prework to show interventions later to the user.
Added exercise/[:id]/working_time to return the working time of the user in this exercise and the average working time of all users in this exercise
Removed all tests that would be failing
TODO: decision if all LtiParameter objects for a certain user/consumer will be deleted when the user/consumer is deleted from the session, or only the LtiParameter object for the current exercise of the user/consumer.
TODO: replace removed tests with proper tests
Noticed a flaw when fetching the last submission, which is caused by timezone differences. First step to solve this.
Existing Request for Comments still need to be updated with their current submissionId, the SQL to do that is not yet finished.
- accidental trailing comma caused this (apparently that's a thing in
Ruby...)
- cleaned up attribute assignments a little bit
(persisted/validated/neither assignments)
(leoselig/codeocean#1)
- method only considers title and description for now
- sets up relation to execution environment with id 1, just to pass
validation for now
(leoselig/codeocean#1)
- because of polymorphic user model this didn't work
- changed to :internal_user because that's anyway the only type of user we
want to impoprt from
(leoselig/codeocean#1)
- add migration tht associates User with CodeHarborLink
- add belongs_to from CodeHarborLink to User
- changed CodeHarborLinkController#index to only serve current user's
CodeHarborLinks
(leoselig/codeocean#2)