Commit Graph

2060 Commits

Author SHA1 Message Date
58e01880df Merge pull request #208 from openHPI/flowr
Flowr Revival
2018-11-30 15:26:23 +01:00
56c59a616e Completely remove old non-structured errors and migrate existing ones. 2018-11-30 11:27:25 +01:00
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
8ccdb79fef Flowr: Return empty array if no submission was found 2018-11-28 23:42:37 +01:00
64d5a0f9b2 Fix caret to show down (collapsed state) after initial load 2018-11-28 22:54:40 +01:00
63d36726aa Merge pull request #236 from openHPI/fix_testruns
Specify file as optional for testruns
2018-11-28 16:10:28 +01:00
08ce579e8d Add comment about #insights? in SubmissionPolicy 2018-11-28 15:55:44 +01:00
832b48ba62 Refactor /insights to throw a Pundit exception if no current_user is set 2018-11-28 15:44:45 +01:00
8381b4f1ba Specify file as optional for testruns
(no file is present for `run` but e.g. for `assess`)
2018-11-28 15:23:32 +01:00
212867f300 Fix flowr output to work with Bootstrap 4 2018-11-28 15:22:21 +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
3980b78d92 Merge pull request #232 from openHPI/fix_empty_docker_image_tag
Skip all docker images not tagged (otherwise, the method crashes)
2018-11-27 15:46:11 +01:00
c65488880e Merge pull request #231 from openHPI/fix_db_rake_tasks
Prevent creation of the Docker containers if just running a db rake task
2018-11-27 15:44:12 +01:00
0a624c3d5b Merge pull request #229 from openHPI/fix_db_migrations
Add version identifier to old migrations (required for Rails 5)
2018-11-27 15:42:55 +01:00
85088a60d0 Merge pull request #228 from openHPI/fix_flash_messages
Fix flash messages
2018-11-27 15:42:14 +01:00
1131d08e2b Add user_type to RemoteEvaluationMappings 2018-11-26 17:56:07 +01:00
94808cc9ef Merge pull request #234 from openHPI/fix_jquery
Migrate jQuery function use for ajax in case of success or failure
2018-11-26 12:35:19 +01:00
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
44dc18feb0 Add version identifier to old migrations (required for Rails 5) 2018-11-22 19:05:19 +01:00
39a822f8bf Skip all docker images not tagged (otherwise, the method crashes) 2018-11-22 19:03:35 +01:00
942d87f9ba Prevent creation of the Docker containers if just running a db rake task
Otherwise, the rake task might fail if the database connection could not be established (e.g. when creating a new database).
2018-11-22 19:02:33 +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
68c07f49cf Show flash messages based on turbolinks:load instead of real page load 2018-11-22 18:59:07 +01:00
bb10e191ed Specify ExternalUser as class for user in RemoteEvaluationMapping
Otherwise, the download of submissions will no longer work in Rails 5
2018-11-22 18:57:58 +01:00
0fbbe97ae4 revert 8acd77d9c4 2018-11-16 10:38:36 +01:00
d7dcbdc799 Merge pull request #200 from openHPI/remove-ab-tests
Remove ab tests
2018-11-15 18:02:34 +01:00
864f326bc5 Merge pull request #224 from openHPI/rt/fix_uef
Fix retrieval of user_exercise_feedback and exercise
2018-11-15 17:29:34 +01:00
06756bceeb Merge pull request #226 from openHPI/clean_up_provision
Vagrant: Prevent installation of older node.js versions
2018-11-15 17:16:50 +01:00
9507bdb329 cleanup duplicate code 2018-11-15 17:15:57 +01:00
23bb698f74 Fix retrieval of user_exercise_feedback and exercise 2018-11-15 16:54:30 +01:00
8acd77d9c4 temporary changes to render pictures again. 2018-11-13 13:07:49 +01:00
68142042f0 Vagrant: Prevent installation of older node.js versions 2018-11-07 22:10:02 +01:00
374702c45d enable ES6 syntax 2018-11-06 18:10:59 +01:00
d06ed21171 Restyle user exercise feedback to look nicer (not nice) 2018-11-06 17:18:27 +01:00
8a211da0c1 Merge pull request #207 from openHPI/updates
Install latest updates and move all tests to spec folder
2018-11-06 17:15:58 +01:00
572a1405c3 Prevent font size change for buttons with class btn-lg 2018-11-06 16:49:45 +01:00
c1afa8265a Pin Firefox to v63.0.2 2018-11-06 16:49:44 +01:00
78037ab37a Increase font weight for headings, reduce size of result card headings 2018-11-06 16:49:44 +01:00
32db6cfbf2 Update bundle to include security fixes and use newer geckodriver 2018-11-06 16:49:44 +01:00
cc48361a15 Remove unused scrollbars in /implement 2018-11-06 16:49:44 +01:00
248c3214cb Move font-weight 2018-11-06 16:49:44 +01:00
c44478783a Fix bootstrap CSS issues in Safari and Chrome 2018-11-06 16:49:44 +01:00
45694ca838 Set eventmachine to older version to prevent websocket connection issues 2018-11-06 16:49:44 +01:00
d7befd60e5 Change button on implement page to be gray if score cannot be submitted 2018-11-06 16:49:43 +01:00
767b6aaa54 Update bundle and use newer codecoverage reporter 2018-11-06 16:49:43 +01:00
58f82178b8 Adopt deployment after refactoring and reset puma to default 2018-11-06 16:49:43 +01:00
dd0f56659e Use webpack to deliver newest d3-tip.js, highlight.js and vis.js 2018-11-06 16:49:43 +01:00
72d0f7585e Use webpack to deliver Google openSans (and use newest version) 2018-11-06 16:49:43 +01:00