Commit Graph

1732 Commits

Author SHA1 Message Date
4c7b5a5d23 Show line breaks in score run and HTML tags in output 2021-02-06 13:34:11 +01:00
c1f187693a Escape HTML from test results 2021-02-03 17:00:50 +01:00
de0c1e60c6 Less strict filter for workspace output 2021-02-02 11:28:35 +01:00
a5da0eb91e Delete study_group_id for LTI users on sign out 2021-02-01 15:56:23 +01:00
a72c022e4a Fix numbering shown for nested tips 2021-02-01 15:55:56 +01:00
6900d4ef2c Add collapse_exercise_description LTI parameter 2021-01-29 13:54:47 +01:00
470f4a3c1a Allow password mail to be sent regardless of case 2021-01-27 18:10:52 +01:00
b78c535671 Prevent access to undefined turtle element 2021-01-25 11:27:00 +01:00
4bf2171fee Prevent filetree from disappearing when clicking outside 2021-01-23 12:19:15 +01:00
72b3524b18 Leverage PostgreSQL count for study group size 2021-01-23 00:28:11 +01:00
3b58cadbeb Improve performance for study_group_policy.rb 2021-01-23 00:25:54 +01:00
008d29fcd0 Improve performance for everyone_in_study_group 2021-01-23 00:15:31 +01:00
aed9a3121f Hide filename if not available 2021-01-20 23:12:04 +01:00
cae6721c9d Prevent last line from being deleted when editing exercises 2021-01-20 23:11:52 +01:00
ae47913ca8 Pass locale to PyLint translator and allow switchable output 2021-01-20 22:41:49 +01:00
6216786e3e Forward exit message even if part of multiple lines 2021-01-20 22:16:57 +01:00
2c99c2db62 Show filename and sort by it for statistic page 2021-01-19 12:37:05 +01:00
4bb2c5f7c7 Switch shortcut keycode to work for Firefox 2021-01-18 23:43:30 +01:00
862e274739 Allow binary files to be downloaded 2021-01-11 15:19:37 +01:00
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