Felix Auringer
1d3f0d7ad8
Handle Faraday errors
2021-11-01 17:12:50 +01:00
Felix Auringer
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
Felix Auringer
d0d1b1bffd
Introduce strategy for runner behavior
...
The runner model is only a class responsible for storing information
now. Based on the configuration it picks a strategy for the runner
management. The Poseidon strategy is already implemented and tested.
The Docker strategy will follow.
2021-11-01 17:12:49 +01:00
Felix Auringer
63d997a7e3
Fix Rubocop offenses after Rubocop was reconfigured
2021-11-01 17:12:47 +01:00
Konrad Hanff
286a3f394d
Fix autocorrectable rubocop offences and implement suggestions
2021-11-01 17:12:46 +01:00
Konrad Hanff
17bd2d8726
Reuse runners per user and execution environment
...
Co-authored-by: Jan-Eric Hellenberg <jan-eric.hellenberg@student.hpi.uni-potsdam.de >
Co-authored-by: Maximilian Pass <maximilian.pass@student.hpi.uni-potsdam.de >
2021-11-01 17:12:46 +01:00
Konrad Hanff
2404c1c36c
Rename variables from container to runner
2021-11-01 17:12:45 +01:00
Konrad Hanff
3e6534567d
Move copy_submission_files from runner to submission
2021-11-01 17:12:45 +01:00
Konrad Hanff
cf1e4d6edf
Rename API routes
2021-11-01 17:12:44 +01:00
Konrad Hanff
347e4728a0
Rework protocol inside websocket
...
Co-authored-by Felix Auringer <felix.auringer@student.hpi.uni-potsdam.de >
2021-11-01 17:12:44 +01:00
Konrad Hanff
6a4e302f4e
Fix socket handling and add configuration option
...
Co-authored-by: Felix Auringer <felix.auringer@student.hpi.uni-potsdam.de >
2021-11-01 17:12:43 +01:00
Konrad Hanff
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
Konrad Hanff
1546f70818
Begin to refactor websocket handling and implement test
...
Co-authored-by: Felix Auringer <felix.auringer@student.hpi.uni-potsdam.de >
2021-11-01 17:12:43 +01:00
Konrad Hanff
3cf70a33d8
Integrate new API with websocket (run only)
...
Co-authored-by: Felix Auringer <felix.auringer@student.hpi.uni-potsdam.de >
2021-11-01 17:12:43 +01:00
Konrad Hanff
2e2cd1855e
Add Container abstration with new API calls and adapt running a submission
...
Co-authored-by: Felix Auringer <felix.auringer@student.hpi.uni-potsdam.de >
2021-11-01 17:12:43 +01:00
Sebastian Serth
da0a682ffb
Apply manual rubocop fixes
2021-05-14 22:03:06 +02:00
Sebastian Serth
6cbecb5b39
Apply automatic rubocop fixes
2021-05-14 22:03:06 +02:00
Sebastian Serth
89a42f2dae
Use either remoteSubmit or submit for showing exercise statistics
2020-12-16 13:23:47 +01:00
Sebastian Serth
993fb88f03
Enable submit via API client
2020-11-25 20:47:28 +01:00
Sebastian Serth
e8b02b2e0a
Submission file_by_name: Improve comment
2020-10-27 01:14:13 +01:00
Sebastian Serth
bad51add3f
Store parsed linter messages
2020-10-26 21:14:09 +01:00
Sebastian Serth
ad467fa58f
Distinguish between intermediate and final feedback
...
* Also add more information to user_exercise_feedback
* Migrate existing feedback to enrich with submissions
2020-10-20 13:50:04 +02:00
Sebastian Serth
654bf2ba33
redirect more users to feedback page
2020-09-28 18:37:07 +02:00
Sebastian Serth
413ec9f956
Show up to three submissions for teachers and add overview to table
2020-05-08 11:36:27 +02:00
Sebastian Serth
914eeb6035
Add submission deadline to exercises and allow teachers to view their submissions
2020-05-07 21:23:27 +02:00
Sebastian Serth
b2fc57430c
Disable live updates
2020-03-04 11:38:40 +01:00
Sebastian Serth
37cab6a020
Hide RfCs older than 6 months for redirect page.
2020-03-04 11:01:17 +01:00
Sebastian Serth
900bc896c9
Implement working time graph for study group dashboard
...
(so far, without live update)
2019-03-12 10:32:23 +01:00
Sebastian Serth
b137e64020
Add StudyGroups with ExternalUsers only
2018-12-12 12:09:52 +01:00
rteusner
d7dcbdc799
Merge pull request #200 from openHPI/remove-ab-tests
...
Remove ab tests
2018-11-15 18:02:34 +01:00
Sebastian Serth
de52db89f0
Upgrade Rails to version 5.2.1 and adopt code & specs where necessary
...
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de >
2018-11-06 16:46:00 +01:00
Ralf Teusner
5a90d20e54
prevent RFC with empty questions from being picked
2018-08-09 15:26:39 +02:00
Ralf Teusner
d9d3dc42d4
remove all A/B testing code no longer in use.
2018-08-09 15:14:52 +02:00
Ralf Teusner
7478ef8eff
and forgot to change it to i when doing a quickfix...
2018-07-25 16:29:57 +02:00
Ralf Teusner
7e85fadfa1
fix table name in query
2018-07-25 16:25:30 +02:00
Ralf Teusner
633bfa6cc5
... hopefully I got the query correct this time...
2018-05-16 17:20:17 +02:00
Ralf Teusner
b651b1b179
fixed the experimental query
2018-05-16 17:13:20 +02:00
Ralf Teusner
e9462409fd
fixed the query, removed scopes, added paranthesis for clarity.
2018-05-16 17:06:04 +02:00
Ralf Teusner
f7392b1c05
altered stale rfc query
2018-05-16 16:04:50 +02:00
Ralf Teusner
4778fc68fc
don't present rfcs of experimental users to others
2018-02-27 13:48:52 +01:00
Maximilian Grundke
40fe5c4e69
Save submission alongside structured error
2018-01-30 11:28:29 +01:00
Ralf Teusner
53df8f9d92
correct method call
2017-11-29 16:35:18 +01:00
Maximilian Grundke
c4cf11f299
Refactor user redirect after submission
2017-11-08 15:39:04 +01:00
Ralf Teusner
8d1c846fae
changes to newrelic
2017-09-20 13:29:26 +02:00
Maximilian Grundke
30375a4909
Make comments available to RFC
2017-06-09 14:39:33 +02:00
Niklas Kiefer
3562aa9103
create remote evaluation
2017-02-02 18:14:33 +01:00
Tom Staubitz
59f2ff436e
removed url helper from model
2017-01-18 13:35:18 +01:00
Ralf Teusner
09533a5556
download complete submission as one zip file
2016-07-15 18:25:58 +02:00
Ralf Teusner
223df2ffa8
some cleanup of request for comments. Work in progress.
...
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.
2016-07-04 17:44:22 +02:00
Maximilian Grundke
16346fa732
Show testrun results in statistics
2016-03-09 15:20:38 +01:00