60078701f5
Editor: Allow file retrieval after code run
2022-10-29 18:49:18 +02:00
9c9f45ff77
Redefine user roles with their role in a study group
2022-09-22 19:24:26 +02:00
22cd202e9d
Refactor reject_illegal_file_attributes check
...
* Improve readability of method
* Add a new check for the author of a submission
2022-09-04 11:42:36 +02:00
145c4aa8d5
Refactor various ruby files
...
* Insights based on brakeman report
2022-08-18 15:25:04 +02:00
2ce9c4258a
Remove New Relic
2022-04-29 22:53:36 +02:00
61d3bffe1a
Keep LTI parameters after submitting through the web interface
2022-03-16 13:46:47 +01:00
ea85519163
Update bundle (with newest rubocop version) and fix offenses
2022-01-04 09:42:37 +01:00
da4e10b990
Add CommunitySolution
...
* Also slightly refactor some JS files
2021-11-23 01:38:31 +01:00
d559cfb323
Extract Redirect Behavior to own module
2021-11-23 01:38:31 +01:00
5cc180d0e9
Fix rubocop, I18n, cleanup rebase
2021-11-01 17:12:52 +01:00
b6bc578aea
Move submission scoring from controller concern to submission model
...
Localization and markdown formatting is now done in a controller
spec in order to bring this logic away from the data and towards
the view.
2021-11-01 17:12:50 +01:00
cf58be97ee
Fix 17 previously failing specs
2021-11-01 17:12:49 +01:00
90fac7b94c
Copy execution environment to Poseidon on create and update
...
When creating or updating an execution environment, an API call to
Poseidon is made with the necessary information to create the
corresponding Nomad job.
If runner management is configured, his will display a warning
(currently in the same color as if it were a success) in the UI, if the
API call fails. The environment is saved even if it fails.
If runner management is not configured, this warning will not be created.
2021-11-01 17:12:48 +01:00
63d997a7e3
Fix Rubocop offenses after Rubocop was reconfigured
2021-11-01 17:12:47 +01:00
92b249e7b3
Reimplement scoring and create connection abstraction
...
Co-authored-by: Felix Auringer <felix.auringer@student.hpi.uni-potsdam.de >
2021-11-01 17:12:43 +01:00
74e285e9fd
Fix rubocop offenses
2021-10-05 12:09:56 +02:00
a170f7bfc2
Throw exception on any error within Concurrent::Future
...
Co-authored-by: Sebastian Serth <Sebastian.Serth@hpi.de >
2021-08-05 23:17:06 +02:00
3840b45f8a
Revert "Revert "Use switch_locale instead of I18n.with_locale directly""
...
This reverts commit 2c08e270e7
.
Co-authored-by: Sebastian Serth <Sebastian.Serth@hpi.de >
2021-08-05 23:17:06 +02:00
2c08e270e7
Revert "Use switch_locale instead of I18n.with_locale directly"
...
This reverts commit 125c342f35
.
2021-08-05 11:55:54 +02:00
125c342f35
Use switch_locale instead of I18n.with_locale directly
2021-07-26 12:01:25 +02:00
448b5e4a7a
Use current_locale for "not_graded" hint
2021-07-22 10:23:57 +02:00
7010614a75
Re-enable translation of linter messages
2021-06-28 22:11:00 +02:00
d08707f62e
Fix switch_locale to return the block result
2021-06-28 16:08:24 +02:00
7b4a487530
Localize exercises.implement.not_graded
2021-06-11 22:23:09 +02:00
5243808d54
Apply automatic rubocop fixes
2021-05-17 19:40:38 +02:00
da0a682ffb
Apply manual rubocop fixes
2021-05-14 22:03:06 +02:00
6cbecb5b39
Apply automatic rubocop fixes
2021-05-14 22:03:06 +02:00
48904a19fd
Fix test for new custom file
2021-05-14 17:35:37 +02:00
bf6ab4f114
Prevent custom files from being rejected
2021-05-14 17:15:55 +02:00
2b32829e60
Upgrade DatabaseCleaner strategy
2021-05-12 16:47:05 +02:00
36cacc2330
Pass exercise object instead of id to reject_illegal_file_attributes
2021-04-30 12:06:11 +02:00
b3c110cead
Improve code style 👮
2021-04-30 12:06:11 +02:00
caaa52409e
Avoid that files from other exercises can be created
2021-04-30 12:06:10 +02:00
1f3c9db537
Reject illegal file attributes in remote evaluation
...
Remove ! from reject illegal file parameters
2021-04-30 12:06:09 +02:00
39467ad0e0
Hide linter in week 1 and 2 of Python course
2021-03-08 23:20:42 +01:00
110b009480
Remove A/B test from Python20 course setup
2021-03-08 23:15:58 +01:00
b10e23dd16
Upgrade to newest Sentry
2021-03-04 14:02:16 +01:00
0f55c64ddd
Refactor LTI study group assignment
2021-02-16 22:01:11 +01:00
a5da0eb91e
Delete study_group_id for LTI users on sign out
2021-02-01 15:56:23 +01:00
6900d4ef2c
Add collapse_exercise_description LTI parameter
2021-01-29 13:54:47 +01:00
ae47913ca8
Pass locale to PyLint translator and allow switchable output
2021-01-20 22:41:49 +01:00
423a5b08f9
Allow internal user to be part of an study group
2021-01-11 14:22:50 +01:00
20741835b5
Remove additional sentry logging for invalid objects
2020-11-27 16:29:53 +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
807b763e49
Add Sentry info if returning unprocessable_entity
2020-11-11 17:42:20 +01:00
fc6b0f2adc
Fix not_graded to German
2020-11-09 21:38:52 +01:00
84c291626f
Make note "not graded" optional for linters
2020-11-09 21:19:24 +01:00
5fdfb12e62
Add German translations for PyLint adapter with basic spec
2020-11-08 01:04:39 +01:00
9cd8ca2013
Merge branch 'bug_fixes'
2020-10-28 16:46:41 +01:00