Commit Graph

422 Commits

Author SHA1 Message Date
Karol
87798212ad add unpublished to views 2019-10-11 16:28:50 +02:00
Karol
c006bc3dc8 wip exercise to task implementation 2019-08-29 18:31:32 +02:00
Karol
8c306669af codeharbor_links editable through own profile 2019-08-27 18:33:21 +02:00
Sebastian Serth
d63469099b Incorporate feedback from PR review 2019-03-12 13:01: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
7f1a7fbaa0 Fix error in displaying JStree and revert new default for FactoryBot 2019-03-11 23:43:02 +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
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
d45a68a123 Minor: Fix spelling in comment 2018-12-13 12:57:49 +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
1833435268 Use CodeOceanEditor.active_file to access file selected in JSFileTree 2018-12-05 13:46:44 +01:00
Sebastian Serth
95503c7b7d Include some improvements from current master 2018-12-02 15:09:39 +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
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
64d5a0f9b2 Fix caret to show down (collapsed state) after initial load 2018-11-28 22:54:40 +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
Sebastian Serth
16a5345a71 Migrate jQuery function use for ajax in case of success or failure
Deprecation Notice:

The jqXHR.success(), jqXHR.error(), and jqXHR.complete() callbacks will be deprecated in jQuery 1.8. To prepare your code for their eventual removal, use jqXHR.done(), jqXHR.fail(), and jqXHR.always() instead.
2018-11-26 12:23:30 +01:00
Ralf Teusner
0fbbe97ae4 revert 8acd77d9c4 2018-11-16 10:38:36 +01:00
Ralf Teusner
8acd77d9c4 temporary changes to render pictures again. 2018-11-13 13:07:49 +01:00
Sebastian Serth
cc48361a15 Remove unused scrollbars in /implement 2018-11-06 16:49:44 +01:00
Sebastian Serth
c44478783a Fix bootstrap CSS issues in Safari and Chrome 2018-11-06 16:49:44 +01:00
Sebastian Serth
72d0f7585e Use webpack to deliver Google openSans (and use newest version) 2018-11-06 16:49:43 +01:00
Sebastian Serth
9e4f9263e6 Use webpack to deliver jquery-ui (and use newest version) 2018-11-06 16:49:42 +01:00
Sebastian Serth
8faacd5577 Use webpack to deliver underscore (and use newest version) 2018-11-06 16:49:42 +01:00
Sebastian Serth
53e7739e05 Use webpack to deliver jstree (and use newest version)
Also delete bootstrap files now served via webpack
2018-11-06 16:49:42 +01:00
Sebastian Serth
7bdb962616 Update Bootstrap to v4.1, fix chosen.js and pagedown on multiple sites 2018-11-06 16:49:41 +01:00
Sebastian Serth
4d1cf972e4 Include Webpack and use it for jQuery, Bootstrap and chosen.js 2018-11-06 16:46:01 +01:00
Sebastian Serth
15b1670511 Update Turbolinks, load additional assets only on request, fix JS
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:01 +01:00
Sebastian Serth
de52db89f0 Upgrade Rails to version 5.2.1 and adopt code & specs where necessary
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:00 +01:00
Sebastian Serth
ac31afbd2a Clean Gemfile and perform bundle update
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:45:59 +01:00
rteusner
772f4ad204 Merge pull request #223 from openHPI/jg/fix-editor-active-file
Jg/fix editor active file
2018-10-19 15:45:34 +02:00
rteusner
17d20e2f5b Merge pull request #219 from jgraichen/fix/dot
Fix missing dot (fixes #218)
2018-10-19 15:32:45 +02:00
Ralf Teusner
574e870bd1 fix reset for user created files (where therefore no original file is available) 2018-10-19 15:27:14 +02:00
Ralf Teusner
730d5541bd allow running, testing and scoring of files in subfolders by using the full filepath 2018-10-19 15:25:05 +02:00
Jan Graichen
629c925e77 Fix setting active file in editor
The file select hook did construct an active_file but did not
assign it to the actual variables. This commit changes the hook to
use the existing setActiveFile helper function.
2018-10-19 12:34:12 +02:00
Jan Graichen
db9557108c Fix missing dot
Actually call replace on the filename.
2018-10-18 21:03:46 +02:00
Ralf Teusner
131f610116 call text() again to prevent execution of javascript 2018-10-16 17:20:58 +02:00
Maximilian Grundke
ebea8da341 Open StackOverflow links in a new tab 2018-10-10 10:58:54 +02:00
Maximilian Grundke
46fd76f1aa Set default value for answers_per_query config 2018-10-10 10:58:34 +02:00
Maximilian Grundke
a07d440e02 Translate button 2018-10-05 15:03:27 +02:00
Maximilian Grundke
174db96081 Move magic number to config instead 2018-10-05 14:55:22 +02:00
Maximilian Grundke
fad97e36c1 Fix building stackoverflow query 2018-10-05 14:48:09 +02:00
Maximilian Grundke
dd48cc6d10 Create events on user interaction 2018-09-18 17:22:01 +02:00
Maximilian Grundke
b19402ba99 Implement client-side querying of stackoverflow 2018-09-18 15:14:17 +02:00
Maximilian Grundke
16933632ae Fix saving exercise collections 2018-08-20 16:38:10 +02:00