Commit Graph

2337 Commits

Author SHA1 Message Date
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
3ecb5bd778 Use webpack to deliver font-awesome (and use newest version) 2018-11-06 16:49:43 +01:00
9e4f9263e6 Use webpack to deliver jquery-ui (and use newest version) 2018-11-06 16:49:42 +01:00
8faacd5577 Use webpack to deliver underscore (and use newest version) 2018-11-06 16:49:42 +01:00
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
90defa8f89 Fix tests and rename request variable in specs to perform_request
Explanation: Using the variable name `request` might interfere with methods in Rails core system prevent successful test execution. See this issue: https://github.com/turbolinks/turbolinks-rails/issues/38
2018-11-06 16:49:42 +01:00
9106ab182b Include Webpack and use it for jQuery, Bootstrap and chosen.js 2018-11-06 16:49:42 +01:00
41bd5bac10 Convert .html.erb templates to .html.slim 2018-11-06 16:49:42 +01:00
1bed13d941 Remove useless .keep files 2018-11-06 16:49:41 +01:00
7bdb962616 Update Bootstrap to v4.1, fix chosen.js and pagedown on multiple sites 2018-11-06 16:49:41 +01:00
4d1cf972e4 Include Webpack and use it for jQuery, Bootstrap and chosen.js 2018-11-06 16:46:01 +01:00
9666683bd7 Fix error, submission, hints and help views 2018-11-06 16:46:01 +01:00
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
a77a006e8d Update CSRF chain to prepend checks and resolve comments from PR
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:01 +01:00
4809f7bc03 Adopt new Rails defaults
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:01 +01:00
28cdb166ba Allow host system to appear as loalhost in Vagrant guest
Also install missing docker image used in production

Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:01 +01:00
ee0ce8252e Fix failing seeds by setting default host for mailer and update schema
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:00 +01:00
1f2d098541 Fix Vagrant's Hot Reloading issues in development
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:00 +01:00
763277d35a Enable Spring and bootsnap for faster app load and respone times
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:00 +01:00
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
108190c242 Create three traits in FactoryBot to prevent deprecation warning
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:46:00 +01:00
ff24a0bf0b Move non-empty files from test dir to spec and adopt specs
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:45:59 +01:00
838ba994ec Another bundle update
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:45:59 +01:00
b7c714dce9 Fix .rubocop.yml config file to work with current Rubocop versions
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:45:59 +01:00