Commit Graph

47 Commits

Author SHA1 Message Date
b866221353 rename route 2022-09-24 21:08:18 +02:00
77999f75df set proglang based on exenv
try to guess exenv based on proglang
2022-09-24 15:24:12 +02:00
5ec2c7f5bc refactor role finding logic for convert_task_to_exercise
add specs
2022-09-13 22:47:12 +02:00
5ace779d0c fix and add specs 2022-08-31 20:51:58 +02:00
76c9dfa4e5 add more CO specific data to metadata 2022-08-24 00:19:53 +02:00
50b81df742 proforma upgrade and small fixes 2022-08-23 21:12:03 +02:00
3effdbe600 merge master 2022-08-20 22:20:52 +02:00
6094767a65 - rename parameter to be more generic
- fix splatting of service args
- add file role depending on parent object of file
- add default feedback_message for imports
2022-08-20 22:17:20 +02:00
d762f976a8 Add new CodeOcean::File#read method
* With a new method, we can simplify our code to handle differences between file.content and file.native_file.read
2022-08-19 22:42:55 +02:00
55937d3cc5 Ensure compatibility with Ruby 3.1 2022-06-30 17:04:24 +02:00
c5c47715b3 Merge branch 'master' into refactor_proforma_import_export
# Conflicts:
#	spec/controllers/exercises_controller_spec.rb
2022-01-11 22:20:18 +01:00
886a5b68f6 update gem
fix codeharbor endpoint usage and translations
2022-01-10 22:34:03 +01:00
ea85519163 Update bundle (with newest rubocop version) and fix offenses 2022-01-04 09:42:37 +01:00
ec49f91a08 change namespace to CodeOcean 2021-12-06 20:23:30 +01:00
2c7748ed12 fix namespacing, specs 2021-11-27 21:08:52 +01:00
8a7eae1a56 Migrated to proforma 0.6
Fixed all failing specs
2021-11-23 19:37:38 +01: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
356b25162d Minor improvement 2020-11-02 17:29:32 +01:00
f872cf73ee Review points, specs 2020-11-02 17:09:31 +01:00
9168a20d74 add handling for missing file_type 2020-11-01 11:17:56 +01:00
be3ec82bd4 Add new file role teacher_defined_linter 2020-10-15 00:43:57 +02:00
6e11f29fdf fix ajax action access, dont use delayed for model_solutions 2020-10-06 15:02:27 +00:00
f49cd0bed4 forbid users to import an exercise they do not have access to (previously a new one was created) 2019-12-18 17:52:34 +01:00
12c76b2fe4 reduced perceived complexity 2019-12-18 17:06:31 +01:00
7d4c4a4494 remove checksum 2019-12-16 17:43:47 +01:00
da8d31279c review points 2019-12-16 17:38:32 +01:00
f680916385 remove create_new functionality, when exercise exists on CH but is not editable 2019-12-13 16:43:19 +01:00
8ba764044a fix cognitive complexity 2019-12-10 17:34:02 +01:00
17aa44a444 fix cognitive complexity 2019-12-10 17:23:25 +01:00
46e7853465 specs for services 2019-12-09 20:35:49 +01:00
5625fa63b0 add controller specs 2019-12-06 17:25:00 +01:00
3912caab1c support better errorhandling for codeharbor 2019-10-25 16:25:57 +02:00
f51dde4ef7 translations and whitespaces 2019-10-21 18:03:56 +02:00
9512fe4a79 add check_uuid_url to codeharbor_link 2019-10-20 16:20:04 +02:00
7e7be4721a wip multi-step export 2019-10-20 11:02:57 +02:00
8e5debd2e4 default to unpublished on import 2019-10-14 15:57:53 +02:00
6a296cbe65 fix exercise_file duplication bug 2019-10-07 18:50:07 +02:00
568796ef86 submit checksum on export 2019-09-05 18:33:53 +02:00
55e49f01f2 add import checksum 2019-09-05 17:41:12 +02:00
973cc43f4c self-review 2019-09-03 15:26:28 +02:00
3c65565b8c enable export to codeharbor 2019-09-02 19:03:50 +02:00
c006bc3dc8 wip exercise to task implementation 2019-08-29 18:31:32 +02:00
ecabd9d05c file import with binary file 2019-08-23 07:33:43 +02:00
aafb3f21df file import wip, "native" missing 2019-08-22 18:37:47 +02:00
2af93ea308 implement file import 2019-08-21 18:27:42 +02:00
017644c4a5 implementation of import wip 2019-08-20 18:37:17 +02:00