Commit Graph

552 Commits

Author SHA1 Message Date
6a296cbe65 fix exercise_file duplication bug 2019-10-07 18:50:07 +02:00
49d438cef8 add endpoint to check for exercise uuid 2019-09-24 18:43:38 +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
8c306669af codeharbor_links editable through own profile 2019-08-27 18:33:21 +02:00
ec48d1f447 readding codeharbor_link views and actions 2019-08-26 19:06:52 +02:00
aafb3f21df file import wip, "native" missing 2019-08-22 18:37:47 +02:00
017644c4a5 implementation of import wip 2019-08-20 18:37:17 +02:00
baa0784ede Add custom_embed_option to disallow downloading submissions 2019-03-29 14:56:14 +01:00
900bc896c9 Implement working time graph for study group dashboard
(so far, without live update)
2019-03-12 10:32:23 +01:00
a0b544fb26 Upgrade Ransack #search to #ransack to prevent deprecation warning 2019-03-11 09:59:38 +01:00
114f77e799 Extract WORKING_TIME_DELTA to be used globally and set it to 5 min. 2019-03-09 00:32:36 +01:00
d63700c7db Add live dashboard for teachers in the context of an exercise
This commit also adds the fundamentals for ActionCable
2019-03-06 14:00:59 +01:00
6e03939c10 Add StudyGroup to submissions and show it for submissions and RfCs
Also take care of deleting a StudyGroup for existing submissions
2019-03-06 14:00:58 +01:00
2df992102f Allow LTI clients to specify a redirect target 2019-02-05 12:13:46 +01:00
c74f2bd4ba Fix response format handling when creating a comment 2019-02-05 12:11:32 +01:00
f7030e3506 Refactor redirect if user is not authorized 2019-01-31 13:06:28 +01:00
4308f0f3cd Hide other occurrences of the same user from appearing in wrong StudyGroup 2019-01-17 19:05:54 +01:00
d45dc04a3e Limit redirect to host 2019-01-15 17:36:32 +01:00
9087d42088 Fix usage of incorrect downcase method 2018-12-19 19:47:16 +01:00
ac7e41d8b3 Merge pull request #248 from openHPI/improve_groups
Improve groups with a view and always create a group
2018-12-19 13:57:41 +01:00
d95cf1cffb Merge branch 'master' into add_roles_via_LTI
# Conflicts:
#	app/controllers/concerns/lti.rb
2018-12-19 01:44:34 +01:00
71cd9e3488 Remove user_exercise_feedback index and show routes / views 2018-12-19 01:43:37 +01:00
0e8c663039 Remove intervention controller, route and policy 2018-12-19 01:43:37 +01:00
c0608b6f50 Don't set admin privileges through LTI 2018-12-19 01:43:37 +01:00
7dc83065eb Create study groups for every LTI launch 2018-12-14 15:11:50 +01:00
7983c0797a Add view for StudyGroups 2018-12-14 14:52:04 +01:00
2c29bf4e2b Merge branch 'master' into add_groups 2018-12-14 00:57:26 +01:00
1a26d67c82 Merge branch 'master' into add_roles_via_LTI
# Conflicts:
#	app/views/application/_breadcrumbs.html.slim
#	app/views/application/welcome.html.slim
#	app/views/exercise_collections/show.html.slim
#	app/views/external_users/index.html.slim
#	app/views/layouts/application.html.slim
#	app/views/proxy_exercises/index.html.slim
#	app/views/user_exercise_feedbacks/index.html.slim
#	app/views/user_mailer/send_thank_you_note.slim
2018-12-14 00:53:06 +01:00
6c46566174 Merge pull request #242 from openHPI/fix_proxy_exercise
Add user (ID and type) to proxy exercise
2018-12-13 16:23:51 +01:00
4a1cd3037c Fix execution of code via Ajax.
Add output message for program runs without any output
2018-12-13 13:55:45 +01:00
3665058435 Fix tests and slightly refactor some policies 2018-12-12 14:09:20 +01:00
2125fb1c1d Ensure views only link to those actions allowed for current user 2018-12-12 14:09:19 +01:00
d3f67ab4c7 Rethink permissions in CodeOcean for usage in schools and adopt views 2018-12-12 14:09:19 +01:00
71fd3b9b07 Add role to ExternalUser and update it via LTI 2018-12-12 14:09:19 +01:00
b137e64020 Add StudyGroups with ExternalUsers only 2018-12-12 12:09:52 +01:00
a0d8b30ef2 Implement support for some basic embed options for work sheets via LTI
This commit also fixes an issue with the flash messages being positioned too high and displayed for too long
2018-12-11 14:29:36 +01:00
59257d17f2 Add user (ID and type) to proxy exercise
This is required for the existing policies to work
2018-12-06 00:31:45 +01:00
8dfcef3e45 Merge pull request #235 from openHPI/remove_old_hints
Completely remove old hints connected to the execution environment
2018-11-30 15:41:01 +01:00
56c59a616e Completely remove old non-structured errors and migrate existing ones. 2018-11-30 11:27:25 +01:00
8ccdb79fef Flowr: Return empty array if no submission was found 2018-11-28 23:42:37 +01:00
832b48ba62 Refactor /insights to throw a Pundit exception if no current_user is set 2018-11-28 15:44:45 +01:00
b9dce854c4 Merge remote-tracking branch 'origin/master' into flowr
# Conflicts:
#	app/assets/javascripts/editor/evaluation.js
#	app/assets/javascripts/editor/participantsupport.js
#	app/views/exercises/_editor_output.html.slim
#	config/code_ocean.yml.example
#	config/routes.rb
2018-11-28 13:14:21 +01:00
efacb5a6a9 Completely remove old hints connected to the execution environment 2018-11-28 01:21:13 +01:00
5d13ee0e56 Merge pull request #230 from openHPI/fix_download
Specify `ExternalUser` as class for `user` in `RemoteEvaluationMapping`
2018-11-27 15:49:18 +01:00
1131d08e2b Add user_type to RemoteEvaluationMappings 2018-11-26 17:56:07 +01:00
c4f9c2fc85 Prevent redirection if possible
This will just show the flash message on prevent the browser from changing the location. Works great with Turbolinks!
2018-11-22 19:00:01 +01:00
d7dcbdc799 Merge pull request #200 from openHPI/remove-ab-tests
Remove ab tests
2018-11-15 18:02:34 +01:00
9507bdb329 cleanup duplicate code 2018-11-15 17:15:57 +01:00