Sebastian Serth
30603cb7ab
Generalize method and constant names for runner management
2021-11-01 17:12:53 +01:00
Konrad Hanff
598de3bcff
Add button to synchronize all execution environments
...
This adds a button to the execution environment index page that, when
clicked, causes all execution environments to be synchronized to the
runner management (Poseidon) by creating or replacing them.
CodeOcean does not synchronize it's execution environments on startup or
when a new runner management configuration is used for the first time.
The administrator has to manually start this process by pressing this
button.
The equivalent for syncing just one execution environment is updating
it.
2021-11-01 17:12:49 +01:00
Sebastian Serth
74e285e9fd
Fix rubocop offenses
2021-10-05 12:09:56 +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
Tobias Kantusch
40d83dbb1d
Fix access to exercise-specific RfC listing
2021-04-07 14:06:32 +02:00
Sebastian Serth
8ebe59b692
Revert changes for Python20 fishbowl experiment
...
* Show all RfCs again, even those with #loesung
2021-03-08 23:15:58 +01:00
Sebastian Serth
293bcccc80
Introduce new enabled
option for CodeHarbor
...
* Fix tests to ensure they work independent of config option
2021-02-16 14:29:54 +01:00
Sebastian Serth
3b58cadbeb
Improve performance for study_group_policy.rb
2021-01-23 00:25:54 +01:00
Sebastian Serth
008d29fcd0
Improve performance for everyone_in_study_group
2021-01-23 00:15:31 +01:00
Sebastian Serth
f5492ca35d
Improve CodeOcean::FilePolicy with specs
2020-12-07 14:41:30 +01:00
Sebastian Serth
4e73214dd4
Disallow file creation for teachers
2020-12-03 17:07:32 +01:00
Sebastian Serth
5eaa508b74
Enforce file creation allowance via Pundit policy
2020-12-03 17:05:21 +01:00
Sebastian Serth
fee929fe41
Check for null in RfC question
2020-11-17 21:54:01 +01:00
Sebastian Serth
6f3300c66a
Hide RfCs with keyword #loesung
2020-11-17 00:46:57 +01:00
Sebastian Serth
07fed269e7
Merge pull request #767 from openHPI/fix_codeharbor_export_policy
...
Fix codeharbor-export policies
2020-10-30 15:35:57 +01:00
Karol
517886ea0b
fix codeharbor_export policies, add specs
2020-10-29 18:06:14 +01:00
Sebastian Serth
20a9350b35
Add missing policies
2020-10-28 21:48:48 +01:00
Sebastian Serth
e550828c58
Add backend for tips and enable markdown support
2020-10-14 14:34:26 +02:00
Sebastian Serth
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
Sebastian Serth
fb7d0eafe8
Fix permission check for exercises
2020-05-12 17:51:06 +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
f4d6533c84
Fix study group policy
2020-04-16 12:27:59 +02:00
Sebastian Serth
baf1ac06da
Allow inspection of containers and all_containers variables
2020-03-23 13:38:50 +01:00
Sebastian Serth
d667cd31b1
Fix rebase
2019-12-20 16:31:41 +01:00
Sebastian Serth
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
Karol
da8d31279c
review points
2019-12-16 17:38:32 +01:00
Karol
466202fc87
merge master
2019-12-09 20:54:24 +01:00
Karol
c89ee6c102
model and policy specs
2019-12-07 13:11:48 +01:00
Sebastian Serth
ff95fcd8f2
Allow all teachers of the same study group to edit their exercises
2019-12-04 15:31:33 +01:00
Karol
4a77536c5f
merge master
2019-12-03 17:55:58 +01:00
Sebastian Serth
96c90d0a62
Add access to statistics for users
2019-11-29 15:40:21 +01:00
Sebastian Serth
ab96fb92c2
Add Request for Comments view per exercise, adopt policies for teachers
2019-11-29 15:28:06 +01:00
Karol
9512fe4a79
add check_uuid_url to codeharbor_link
2019-10-20 16:20:04 +02:00
Karol
7e7be4721a
wip multi-step export
2019-10-20 11:02:57 +02:00
Karol
4ab78c170e
add uuid check
2019-10-16 19:19:28 +02:00
Karol
3c65565b8c
enable export to codeharbor
2019-09-02 19:03:50 +02:00
Karol
8c306669af
codeharbor_links editable through own profile
2019-08-27 18:33:21 +02:00
Karol
ec48d1f447
readding codeharbor_link views and actions
2019-08-26 19:06:52 +02:00
Karol
017644c4a5
implementation of import wip
2019-08-20 18:37:17 +02:00
Sebastian Serth
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
Sebastian Serth
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
rteusner
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
Sebastian Serth
0e8c663039
Remove intervention controller, route and policy
2018-12-19 01:43:37 +01:00
Sebastian Serth
7983c0797a
Add view for StudyGroups
2018-12-14 14:52:04 +01:00
Sebastian Serth
3665058435
Fix tests and slightly refactor some policies
2018-12-12 14:09:20 +01:00
Sebastian Serth
2125fb1c1d
Ensure views only link to those actions allowed for current user
2018-12-12 14:09:19 +01:00
Sebastian Serth
d3f67ab4c7
Rethink permissions in CodeOcean for usage in schools and adopt views
2018-12-12 14:09:19 +01:00
Sebastian Serth
7a63a9c1c1
Hide navigation elements in the UI based on policies
2018-12-12 14:09:19 +01:00
Sebastian Serth
4b251599ff
Use admin? or teacher? for permission check instead of internal_user?
2018-12-12 14:09:19 +01:00