ee351198f5
Fix CommunitySolution after introduction of programming pairs
2023-11-23 14:42:10 +01:00
319c3ab3b4
Add ProgrammingGroup & ProgrammingGroupMembership
...
* User can create programming group with other users for exercise
* Submission is shared in a group
* Also adjust specs
2023-08-24 19:32:06 +02:00
bc5baed05e
Use exec_query
for custom SQL execution
...
Also align how we use query Postgres from controllers.
The change is mainly due to regular (but not reproducible) issues with the `intervalstyle` defaulting to `postgres` (instead of `iso8601`) and thereby causing issues. We're just experimenting to see whether this change resolves the issue.
2022-12-06 22:41:00 +01:00
25707478ea
Require user for Community Solution
...
Fixes CODEOCEAN-F7
2022-11-21 10:48:08 +01:00
c228850ae8
Update find method
2022-08-20 00:37:48 +02:00
3248bd74d1
Fix authorization for communitySolutionsIndex
2022-08-18 16:28:10 +02:00
145c4aa8d5
Refactor various ruby files
...
* Insights based on brakeman report
2022-08-18 15:25:04 +02:00
0c1a10959c
Use file name with file path as identifier
2021-12-15 00:52:31 +01:00
e314be1ed0
Fix access to first community solution
2021-11-24 09:21:23 +01:00
e5a4a1d48d
Fix access to CommunitySolution
2021-11-24 09:20:25 +01:00
da4e10b990
Add CommunitySolution
...
* Also slightly refactor some JS files
2021-11-23 01:38:31 +01:00