Sebastian Serth
7e01389a6f
Update schema.rb according to prodcution environment
2022-07-19 15:28:16 +02:00
Sebastian Serth
d7c5e89624
Remove unused columns from schema.rb
2022-07-19 15:28:15 +02:00
Sebastian Serth
0a3b4a8129
Fix Rubocop offense
2022-06-15 17:39:20 +02:00
Sebastian Serth
aaa0772c95
Bundle update
2022-06-15 17:37:23 +02:00
Sebastian Serth
5f846946df
Fix detection of incomplete Unicode characters for Testrun migration
2022-05-20 15:08:43 +02:00
Sebastian Serth
db62686b75
Migrate existing Testruns to use TestrunMessages
2022-04-29 22:44:35 +02:00
Sebastian Serth
e9efb5bc2b
Add exit_code and status to Testruns, create model for TestrunMessages
...
* This is the first step to migrate the `output` column from Testruns to a dedicated table TestrunMessages
2022-04-28 15:18:51 +02:00
Sebastian Serth
d10735d0a8
Persist Execution Environment when running code
2022-04-15 15:22:19 +02:00
Sebastian Serth
ea85519163
Update bundle (with newest rubocop version) and fix offenses
2022-01-04 09:42:37 +01:00
Sebastian Serth
da4e10b990
Add CommunitySolution
...
* Also slightly refactor some JS files
2021-11-23 01:38:31 +01:00
Sebastian Serth
9079a0b15a
Implement Tips Intervention
2021-11-23 01:38:10 +01:00
Sebastian Serth
e210795277
Regenrate schema with latest Rails 6.1 framework
2021-11-09 17:39:16 +01:00
Sebastian Serth
72501211a6
Fix issue when migrating an empty database
2021-11-09 17:38:58 +01:00
Sebastian Serth
0db6f20933
Move MemoryLimit to Execution Environment
2021-11-01 17:13:06 +01:00
Sebastian Serth
06ef4430f5
Change exposed_ports to array
2021-11-01 17:13:02 +01:00
Sebastian Serth
f896d041f8
Restructure submissions_controller and remove outdated copy_comments method
2021-11-01 17:12:58 +01:00
Sebastian Serth
8bd9a93944
Add NOT NULL constraint on cpu_limit
2021-11-01 17:12:55 +01:00
Sebastian Serth
0cc1c7a396
Combine runner waiting_time migrations
2021-11-01 17:12:55 +01:00
Felix Auringer
413f9b2705
Improve error resilience and handling
...
Timeouts are now handled correctly and the Runner automatically
creates the execution environment if it could not be found in
Poseidon. The runner is deleted locally if Poseidon returns
a bad request error.
2021-11-01 17:12:50 +01:00
Felix Auringer
b847daf823
Remove waiting_time from runner model
...
After removing the logic that stores the duration that has been
waited for a runner in the runner, this now also removes the column
from the database as it is not used anymore.
2021-11-01 17:12:49 +01:00
Konrad Hanff
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
Felix Auringer
63d997a7e3
Fix Rubocop offenses after Rubocop was reconfigured
2021-11-01 17:12:47 +01:00
Felix Auringer
fc6aa12b0a
Remove handling of runner timeouts
2021-11-01 17:12:47 +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
Sebastian Serth
bf8d8284e2
Prevent creation of temporary users while seeding
2021-07-12 20:43:16 +02: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
11962a1d65
Upgrade to Rails 6.1 and apply new framework defaults
2021-05-12 16:49:14 +02:00
Sebastian Serth
8378070bc2
Upgrade to Rails 6.0 and apply new framework defaults
2021-05-12 16:47:05 +02:00
Sebastian Serth
4958f5b9a9
Add StudyGroup to RemoteEvaluationMapping
2021-04-30 12:06:12 +02:00
Sebastian Serth
52e913dfdd
Add consumer seed for local Xikolo development
2021-04-29 11:43:01 +02:00
Sebastian Serth
076812b2e7
Seeds: Fix some rubocop offenses
2021-04-07 14:06:33 +02:00
Sebastian Serth
54d93a82a5
Improve local seed data with dedicated teacher and student login
...
* This will also reduce the total number of internal users created through the seeds.
2021-04-07 14:06:33 +02:00
Tobias Kantusch
44b32b6f6a
#46 Add Prometheus exporter
2021-04-07 14:06:32 +02:00
Sebastian Serth
1ed9a8f0b6
Adjust find_factories_by_class to work with Strings instead of Classes
2021-02-12 02:00:35 +01:00
Maximilian Pass
028fc2989a
#18 Add sql index for unpublished exercises
...
And remove spec for remove feature
2020-12-15 12:17:11 +01:00
Sebastian Serth
ee7729110b
Add LinterCheck and LinterCheckRun
2020-10-26 21:08:43 +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
bfcb536cc9
Tips: Recheck database constraints
2020-10-14 14:34:27 +02:00
Sebastian Serth
2e1c97d87d
Add database support and model for tips
2020-10-14 14:34:25 +02:00
Sebastian Serth
f44e1c6fc9
Fix migration for empty database
2020-10-05 22:17:55 +02:00
Sebastian Serth
7ab4c63b99
Add example to migrate_exercise.sql
2020-07-27 20:02:59 +02:00
Sebastian Serth
005c5b830c
Add function to merge exercises
...
Use with caution!
2020-07-27 17:45:24 +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
bf6bdc49af
Add updated schema
2020-03-26 16:40:20 +01:00
Sebastian Serth
48d06b6dbe
Persist metrics for container usage (execution time and waiting time) to Testrun table
2020-03-26 16:28:56 +01:00
Karol
7d4c4a4494
remove checksum
2019-12-16 17:43:47 +01:00
Karol
4a77536c5f
merge master
2019-12-03 17:55:58 +01:00
Karol
9512fe4a79
add check_uuid_url to codeharbor_link
2019-10-20 16:20:04 +02:00
Karol
4ab78c170e
add uuid check
2019-10-16 19:19:28 +02:00