Commit Graph

1927 Commits

Author SHA1 Message Date
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
88f4189651 Remove broken badge 2018-10-05 15:18:01 +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
29227cbe14 also push schema to fix travis 2018-09-04 15:06:34 +02:00
1677561698 add index on lti_parameters to speed up several routes 2018-09-04 14:54:46 +02:00
cc2a71b57e Merge pull request #206 from openHPI/fix/working-time-break-highlighting
Fix working time highlighting
2018-08-31 14:46:56 +02:00
816c6fcbf6 Fix highlighting for submissions occurring in the same second 2018-08-31 14:11:10 +02:00
fc02c4fe56 Refactor 2018-08-31 14:10:03 +02:00
98344a109e Fix overlap bug that occurred after mixing interventions and submissions 2018-08-31 13:42:25 +02:00
10945b6a09 Extract formating method to time helper 2018-08-31 13:41:40 +02:00
159e587254 Show working time until intervention 2018-08-31 13:41:15 +02:00
1c5d73f9a4 Merge pull request #205 from openHPI/performance_improvements
Performance Optimizations:
2018-08-23 17:30:45 +02:00
6bd1dac756 Performance Optimizations:
1. Add index on testrun.submissionId
2. replace lti_parameters.size with lti_parameters.present? to prevent COUNT query

Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-08-23 17:29:14 +02:00
40492479ba Merge pull request #204 from openHPI/fix/save-exercise-collections
Fix saving new exercise collections with exercises
2018-08-22 14:22:00 +02:00
b5c3ce2113 Delete related exercise collection items when deleting exercises or collections 2018-08-22 13:47:27 +02:00
11dc48dc96 Fix creating exercise collections with exercises 2018-08-22 13:41:23 +02:00
8b7e43f9db Merge pull request #203 from openHPI/fix/save-exercise-collections
Fix saving exercise collections
2018-08-22 09:39:40 +02:00
5dafe054a2 Merge pull request #202 from openHPI/navigation-menu-cache
Cache rendered navigation templates
2018-08-22 09:38:35 +02:00
16933632ae Fix saving exercise collections 2018-08-20 16:38:10 +02:00
eb2af34543 Cache rendered templates 2018-08-20 14:59:40 +02:00
45b6b16c5b Merge pull request #201 from openHPI/feature/events
Events backend
2018-08-15 15:01:07 +02:00
2c9f1a2917 Add tests for events controller 2018-08-15 14:40:59 +02:00
d528bacead Validate presence of category and data attribute 2018-08-15 14:39:58 +02:00
6bf14a0e50 Remove indices 2018-08-15 14:17:26 +02:00
16533e2d89 Work around messy architecture 2018-08-14 21:48:16 +02:00
f73de94f4d Allow file_id to be captured 2018-08-14 21:36:24 +02:00
369b0c8908 Send paste events to CodeOcean events API instead of LearningAnalytics 2018-08-14 21:28:06 +02:00
7d7234ce63 Add simple controller to create events 2018-08-14 18:08:25 +02:00
f1278a7f48 Rename type column to category to avoid conflict with rails 2018-08-14 18:07:41 +02:00
d6c64f5b91 Add event model 2018-08-14 16:59:58 +02:00
81f1e08cc6 add deploy for mnemosyne.yml 2018-08-10 12:50:12 +02:00