Commit Graph

2060 Commits

Author SHA1 Message Date
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
1f12b39731 Hide FactoryBot deprecation warning by changing static assignment
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-11-06 16:45:59 +01:00
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
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
6b0d074b49 Merge pull request #217 from jstaerk/patch-1
Update LOCAL_SETUP.md
2018-10-19 15:34:56 +02:00
17d20e2f5b Merge pull request #219 from jgraichen/fix/dot
Fix missing dot (fixes #218)
2018-10-19 15:32:45 +02:00
574e870bd1 fix reset for user created files (where therefore no original file is available) 2018-10-19 15:27:14 +02:00
730d5541bd allow running, testing and scoring of files in subfolders by using the full filepath 2018-10-19 15:25:05 +02:00
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
db9557108c Fix missing dot
Actually call replace on the filename.
2018-10-18 21:03:46 +02:00
ab30e0c9a9 Update LOCAL_SETUP.md
rails server will not be bridged to host unless listening on 0.0.0.0. There were no errors when deployed on vagrant/virtualbox on mac, nevertheless the password "admin" would still not work :-(
2018-10-16 21:45:20 +02:00
131f610116 call text() again to prevent execution of javascript 2018-10-16 17:20:58 +02:00
cb68529938 Merge pull request #215 from openHPI/feature/admin-version-number
Display branch and commit info in dashboard
2018-10-10 15:06:27 +02:00
2bb5ea138c Display branch and commit info in dashboard 2018-10-10 13:41:05 +02:00
58db646e3e Merge pull request #213 from openHPI/Parnswir-patch-1
Remove broken badge
2018-10-10 11:05:04 +02:00
ebea8da341 Open StackOverflow links in a new tab 2018-10-10 10:58:54 +02:00
46fd76f1aa Set default value for answers_per_query config 2018-10-10 10:58:34 +02:00
88f4189651 Remove broken badge 2018-10-05 15:18:01 +02:00
8c201ee34c Add margin between stacktrace and flowr output 2018-10-05 15:11:35 +02:00
a07d440e02 Translate button 2018-10-05 15:03:27 +02:00
174db96081 Move magic number to config instead 2018-10-05 14:55:22 +02:00
fad97e36c1 Fix building stackoverflow query 2018-10-05 14:48:09 +02:00
582dff9e08 Merge pull request #211 from openHPI/fl/test-file-order
Order files by name by default
2018-10-02 17:04:52 +02:00
4e6d7f8b8a Order files by name by default
Explicit ordering in the view (!) is now no longer necessary.
2018-09-30 00:40:21 +02:00
c1bcc0c95c Update exercises_controller.rb
? "true" : "false" --> .to_s
2018-09-24 17:04:32 +02:00
dd48cc6d10 Create events on user interaction 2018-09-18 17:22:01 +02:00
b19402ba99 Implement client-side querying of stackoverflow 2018-09-18 15:14:17 +02:00
b9054bbcba Localize flowr heading 2018-09-18 15:13:44 +02:00