Commit Graph

833 Commits

Author SHA1 Message Date
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
2af93ea308 implement file import 2019-08-21 18:27:42 +02:00
Karol
017644c4a5 implementation of import wip 2019-08-20 18:37:17 +02:00
Ralf Teusner
34df8f8cdc add total number of submissions for exercise collections 2019-06-11 18:24:59 +02:00
MrSerth
fc2a599082 Update app/views/exercise_collections/statistics.html.slim
Co-Authored-By: rteusner <ralf.teusner@hpi.de>
2019-03-29 16:01:03 +01:00
MrSerth
baec777e48 Update app/views/exercise_collections/statistics.html.slim
Co-Authored-By: rteusner <ralf.teusner@hpi.de>
2019-03-29 15:59:27 +01:00
Ralf Teusner
193cc6c70d enhance exercise_collection_statistics 2019-03-29 15:32:00 +01:00
Sebastian Serth
baa0784ede Add custom_embed_option to disallow downloading submissions 2019-03-29 14:56:14 +01:00
rteusner
951171743d Merge pull request #261 from openHPI/feature/la-dashboard
Add LA dashboard architecture
2019-03-12 14:30:25 +01:00
Sebastian Serth
900bc896c9 Implement working time graph for study group dashboard
(so far, without live update)
2019-03-12 10:32:23 +01:00
Sebastian Serth
114f77e799 Extract WORKING_TIME_DELTA to be used globally and set it to 5 min. 2019-03-09 00:32:36 +01:00
Sebastian Serth
26c2069e02 Move d3 to package.json and include I18n JS library though Gemfile
Also, update bundle to make it installable again (a version had been removed)
2019-03-09 00:31:56 +01: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
Sebastian Serth
532416b9d3 Fix sending a "Thank you note" mail 2019-02-14 18:06:34 +01:00
Sebastian Serth
d4f1c5aee1 Use correct policy to check if RfC could be accessed 2019-02-07 21:13:21 +01:00
Sebastian Serth
ff8c1f6838 Use index? to validate permissions of classes instead of show? for obj. 2019-01-17 18:34:04 +01:00
Sebastian Serth
0b5ec1820d Fix link for external users 2019-01-15 17:37:34 +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
d95cf1cffb Merge branch 'master' into add_roles_via_LTI
# Conflicts:
#	app/controllers/concerns/lti.rb
2018-12-19 01:44:34 +01:00
Sebastian Serth
71cd9e3488 Remove user_exercise_feedback index and show routes / views 2018-12-19 01:43:37 +01:00
Sebastian Serth
0e8c663039 Remove intervention controller, route and policy 2018-12-19 01:43:37 +01:00
MrSerth
f74c241141 Update app/views/shared/_file.html.slim 2018-12-18 17:05:18 +01:00
MrSerth
6e6e7f4765 Update app/views/execution_environments/statistics.html.slim 2018-12-18 16:29:30 +01:00
MrSerth
ebd8b56ebf Merge pull request #237 from openHPI/repair_charts
Improve working time bar graph
2018-12-18 15:24:23 +01:00
Sebastian Serth
7983c0797a Add view for StudyGroups 2018-12-14 14:52:04 +01:00
Sebastian Serth
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
rteusner
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
rteusner
ff701e52bb Merge pull request #244 from openHPI/specify_embed_options
Implement support for some basic embed options for work sheets via LTI
2018-12-13 16:21:55 +01:00
Sebastian Serth
88081bb541 Replace usage of name in favor of displayname 2018-12-13 14:27:55 +01:00
Sebastian Serth
4a1cd3037c Fix execution of code via Ajax.
Add output message for program runs without any output
2018-12-13 13:55:45 +01:00
Sebastian Serth
b4b9ab48d0 External User: Set name to displayname and introduce real_name 2018-12-12 16:47:49 +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
Sebastian Serth
71fd3b9b07 Add role to ExternalUser and update it via LTI 2018-12-12 14:09:19 +01:00
Sebastian Serth
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
Sebastian Serth
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
Sebastian Serth
b6ff7ede99 Rebase repair-charts onto master 2018-11-30 15:45:39 +01:00
rteusner
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
rteusner
c452fa16bd Merge pull request #238 from openHPI/fix_editing_exercises
Fix adding files to exercises (as admin)
2018-11-30 15:39:58 +01:00
Sebastian Serth
56c59a616e Completely remove old non-structured errors and migrate existing ones. 2018-11-30 11:27:25 +01:00
Sebastian Serth
b94289f36f Fix adding files to exercises (as admin)
Prevent hidden selection field from being removed after cloning the dummy. Also ensure the caret looks nice and add the file extension if possible
2018-11-29 22:32:12 +01:00
Sebastian Serth
212867f300 Fix flowr output to work with Bootstrap 4 2018-11-28 15:22:21 +01:00
Maximilian Grundke
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
Sebastian Serth
efacb5a6a9 Completely remove old hints connected to the execution environment 2018-11-28 01:21:13 +01:00
rteusner
d7dcbdc799 Merge pull request #200 from openHPI/remove-ab-tests
Remove ab tests
2018-11-15 18:02:34 +01:00
Sebastian Serth
d06ed21171 Restyle user exercise feedback to look nicer (not nice) 2018-11-06 17:18:27 +01:00