163 Commits

Author SHA1 Message Date
3b58cadbeb Improve performance for study_group_policy.rb 2021-01-23 00:25:54 +01:00
008d29fcd0 Improve performance for everyone_in_study_group 2021-01-23 00:15:31 +01:00
f5492ca35d Improve CodeOcean::FilePolicy with specs 2020-12-07 14:41:30 +01:00
4e73214dd4 Disallow file creation for teachers 2020-12-03 17:07:32 +01:00
5eaa508b74 Enforce file creation allowance via Pundit policy 2020-12-03 17:05:21 +01:00
fee929fe41 Check for null in RfC question 2020-11-17 21:54:01 +01:00
6f3300c66a Hide RfCs with keyword #loesung 2020-11-17 00:46:57 +01:00
07fed269e7 Merge pull request #767 from openHPI/fix_codeharbor_export_policy
Fix codeharbor-export policies
2020-10-30 15:35:57 +01:00
517886ea0b fix codeharbor_export policies, add specs 2020-10-29 18:06:14 +01:00
20a9350b35 Add missing policies 2020-10-28 21:48:48 +01:00
e550828c58 Add backend for tips and enable markdown support 2020-10-14 14:34:26 +02:00
afafe0c218 Adjust teacher permissions:
* Hide non-public exercises and proxy exercises
* Hide average working time value on statistic page
* Add hint about filter to submission page for teachers
* Hide display name from feedback page
2020-09-07 19:04:34 +02:00
fb7d0eafe8 Fix permission check for exercises 2020-05-12 17:51:06 +02:00
914eeb6035 Add submission deadline to exercises and allow teachers to view their submissions 2020-05-07 21:23:27 +02:00
f4d6533c84 Fix study group policy 2020-04-16 12:27:59 +02:00
baf1ac06da Allow inspection of containers and all_containers variables 2020-03-23 13:38:50 +01:00
d667cd31b1 Fix rebase 2019-12-20 16:31:41 +01:00
5dd641082e Limit access to the study group dashboard to teachers of that group
Also rename teacher_in_study_group? to add a `?` at the end
2019-12-20 16:18:31 +01:00
da8d31279c review points 2019-12-16 17:38:32 +01:00
466202fc87 merge master 2019-12-09 20:54:24 +01:00
c89ee6c102 model and policy specs 2019-12-07 13:11:48 +01:00
ff95fcd8f2 Allow all teachers of the same study group to edit their exercises 2019-12-04 15:31:33 +01:00
4a77536c5f merge master 2019-12-03 17:55:58 +01:00
96c90d0a62 Add access to statistics for users 2019-11-29 15:40:21 +01:00
ab96fb92c2 Add Request for Comments view per exercise, adopt policies for teachers 2019-11-29 15:28:06 +01: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
4ab78c170e add uuid check 2019-10-16 19:19:28 +02:00
3c65565b8c enable export to codeharbor 2019-09-02 19:03:50 +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
017644c4a5 implementation of import wip 2019-08-20 18:37:17 +02: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
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
0e8c663039 Remove intervention controller, route and policy 2018-12-19 01:43:37 +01:00
7983c0797a Add view for StudyGroups 2018-12-14 14:52:04 +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
7a63a9c1c1 Hide navigation elements in the UI based on policies 2018-12-12 14:09:19 +01:00
4b251599ff Use admin? or teacher? for permission check instead of internal_user? 2018-12-12 14:09:19 +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
08ce579e8d Add comment about #insights? in SubmissionPolicy 2018-11-28 15:55:44 +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
9666683bd7 Fix error, submission, hints and help views 2018-11-06 16:46:01 +01:00
097938aa6b Implement server side query building for flowr 2018-09-18 10:34:38 +02:00
7d7234ce63 Add simple controller to create events 2018-08-14 18:08:25 +02:00