Commit Graph

1763 Commits

Author SHA1 Message Date
4ea3cb29d3 Fix download for binary files 2021-01-11 15:10:41 +01:00
c5b4510b23 Use count to get number of study groups 2021-01-11 14:38:19 +01:00
423a5b08f9 Allow internal user to be part of an study group 2021-01-11 14:22:50 +01:00
78f71fc3bf RfC require user before accessing anything else 2020-12-16 19:24:29 +01:00
81018ceafc Merge branch 'exercise_upload' 2020-12-16 18:51:13 +01:00
1d0b4e327a Convert file upload to UTF-8 and delete NULL byte 2020-12-16 18:43:04 +01:00
9fba70cde2 Always show file upload box when editing exercises 2020-12-16 18:00:47 +01:00
b2cb1bde39 Use postgres interval explicitly for all default occasions 2020-12-16 17:35:52 +01:00
89a42f2dae Use either remoteSubmit or submit for showing exercise statistics 2020-12-16 13:23:47 +01:00
028fc2989a #18 Add sql index for unpublished exercises
And remove spec for remove feature
2020-12-15 12:17:11 +01:00
2d2869765f Ensure Postgres always returns a duration 2020-12-14 19:57:11 +01:00
bc2e0d90c4 Use proper duration instead of seconds since midnight 2020-12-14 19:11:12 +01:00
bbea20172a Prevent 500 if internal teacher without study group accesses exercise statistics 2020-12-14 13:17:12 +01:00
304f0ad469 Add sentry logging for working_time_query 2020-12-14 13:17:12 +01:00
7da69f05b8 Require user for all actions in /external_users 2020-12-14 13:17:11 +01:00
d547ae2c5a Migrate to d3 v6 2020-12-14 13:04:27 +01:00
f5492ca35d Improve CodeOcean::FilePolicy with specs 2020-12-07 14:41:30 +01:00
fac29f73d4 Respect user_type for RfC index routes 2020-12-04 16:58:11 +01:00
4e73214dd4 Disallow file creation for teachers 2020-12-03 17:07:32 +01:00
5eaa508b74 Enforce file creation allowance via Pundit policy 2020-12-03 17:05:21 +01:00
a7869ff401 Fix display of submitted score for remoteSubmit 2020-11-27 19:09:45 +01:00
20741835b5 Remove additional sentry logging for invalid objects 2020-11-27 16:29:53 +01:00
85ae63e318 Merge pull request #798 from openHPI/rails_admin
Add Rails admin
2020-11-27 15:45:33 +01:00
a60510c97f Add transmitted score to remoteSubmit 2020-11-27 12:26:12 +01:00
79c1532742 clean up rails_admin configuration 2020-11-26 17:20:28 +01:00
f98de3b66b Add Rails admin 2020-11-26 17:11:18 +01:00
c32e7586cd Remove consumer_id from session
* Each external (and also internal) user has a consumer attached. We don't need that information twice.
2020-11-25 21:19:18 +01:00
993fb88f03 Enable submit via API client 2020-11-25 20:47:28 +01:00
bf9b90ab92 Update CSRF token after each page load 2020-11-25 01:41:43 +01:00
939f36816d Update Raven user context 2020-11-25 01:13:12 +01:00
ff6b04c051 Check for existence of submissions before accessing them 2020-11-24 01:37:12 +01:00
8c04ecdfd1 Print no_output message also for Python container 2020-11-24 00:46:39 +01:00
6c5052ed84 Prevent printing empty lines in output 2020-11-24 00:22:56 +01:00
1df4685f38 Enable buffering for Turtle Commands in WebSocket output 2020-11-24 00:21:39 +01:00
839e6e0936 Prevent displaying of bash errors in output 2020-11-23 23:36:34 +01:00
daeda6f610 Allow line breaks in RfC question 2020-11-23 23:36:34 +01:00
319dc9d4db Check for first non-null exercise for permission 2020-11-23 23:36:34 +01:00
3d7bddcad1 Adjust RegEx for RfC show 2020-11-21 00:50:59 +01:00
6795a05944 Fix search for users with deleted consumer 2020-11-18 23:17:55 +01:00
afcc4d94cd Use same style for single and multiple errors in populateCard 2020-11-18 10:07:26 +01:00
fee929fe41 Check for null in RfC question 2020-11-17 21:54:01 +01:00
9fcb178839 Check for null in RfC RegEx 2020-11-17 21:46:42 +01:00
16093fd94d Mark RfCs with keyword #loesung as solved 2020-11-17 00:55:00 +01:00
6f3300c66a Hide RfCs with keyword #loesung 2020-11-17 00:46:57 +01:00
be9cc8790c Check for result before trying to populate score card 2020-11-14 00:26:36 +01:00
3cedcf5736 Check for null and undefined before accessing stderr and stdout 2020-11-14 00:19:39 +01:00
307bc9bd7b Check for output before accessing stderr or stdout 2020-11-13 22:53:56 +01:00
4999918e51 Check for study group before checking permission 2020-11-12 16:00:24 +01:00
08278fa4e9 Check for connection state before sending flush character 2020-11-11 18:16:07 +01:00
6868102071 Use full name for selectFileInJsTree in order to prevent bind referring to undefined 2020-11-11 18:15:54 +01:00