Commit Graph

1946 Commits

Author SHA1 Message Date
Ralf Teusner
1004acd1d5 allow numbers to be passed via std.in (numbers are valid json, but crashed when we tried to access them in a hash way. This is now prevented.) 2018-03-01 16:09:29 +01:00
Maximilian Grundke
782f9eea73 Update schema 2018-02-28 16:51:13 +01:00
Maximilian Grundke
c1b5df044b Merge remote-tracking branch 'origin/master' into exercise-anomaly-detection
# Conflicts:
#	Capfile
#	Gemfile.lock
#	db/schema.rb
2018-02-28 16:48:14 +01:00
rteusner
6f95c1b41c Merge pull request #153 from openHPI/migrate-in-batches
Migration fixes
2018-02-28 16:35:52 +01:00
rteusner
635aaae7eb Merge pull request #155 from openHPI/cleanup-rfc-controller
Cleanup RFC controller
2018-02-28 16:34:32 +01:00
rteusner
b0376e1186 Merge pull request #154 from openHPI/fix-flash
Position pop-up messages more cleanly
2018-02-28 16:20:43 +01:00
Maximilian Grundke
dbb201ccad Clean up controller 2018-02-28 13:58:55 +01:00
Maximilian Grundke
6e022528a0 Move methods to model 2018-02-28 13:41:47 +01:00
Maximilian Grundke
639befe0e5 Position pop-up messages more cleanly 2018-02-28 11:43:47 +01:00
Maximilian Grundke
8d9a81410f Make migration pseudo-reversible 2018-02-28 10:44:03 +01:00
Maximilian Grundke
897950e658 Migrate in batches of 1000 records 2018-02-28 10:36:12 +01:00
Sebastian Serth
68d3bf80b5 Fix chosen form width to allow a larger form for long list entries
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-02-27 18:05:38 +01:00
Ralf Teusner
fbff875348 remove rfc button altogether first, put in correct experiment groups 2018-02-27 13:48:52 +01:00
Ralf Teusner
4778fc68fc don't present rfcs of experimental users to others 2018-02-27 13:48:52 +01:00
Ralf Teusner
208a856cb8 hide links to rfc overviews from external users 2018-02-27 13:48:52 +01:00
Ralf Teusner
647e705a02 don't redirect to rfc for experimental groups and hide the button for them 2018-02-27 13:48:52 +01:00
Maximilian Grundke
73929512c6 Only ask for feedback from fast users if they achieved an above-average score 2018-02-26 19:54:11 +01:00
Maximilian Grundke
0ba94574b5 Use correct link for feedback emails 2018-02-26 19:33:34 +01:00
Maximilian Grundke
3fe7a2b0c1 Adapt new route to accept simple exercise_id parameter 2018-02-26 19:33:02 +01:00
Maximilian Grundke
30fd465780 Send emails 2018-02-26 17:55:18 +01:00
Maximilian Grundke
357712eac7 Persist reasons for notifications to db 2018-02-26 15:26:48 +01:00
Maximilian Grundke
cce6b5532d Refactor and prepare sending e-mails 2018-02-26 14:12:16 +01:00
rteusner
7b93caf4b3 Merge pull request #151 from openHPI/enable_docker
Enable docker specs
2018-02-22 18:03:36 +01:00
Sebastian Serth
821bbb2774 Add staging info to docker.yml.erb
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-02-22 17:19:54 +01:00
Sebastian Serth
1f56f8fb78 Always create workspace path dir for DockerClient specs 2018-02-22 17:19:54 +01:00
Sebastian Serth
d5e16c967d Reenable some LTI specs with mocked LTI parameter 2018-02-22 17:19:54 +01:00
Sebastian Serth
eb4e620775 Allow folders to be created during DockerClient Spec 2018-02-22 17:19:54 +01:00
Sebastian Serth
9675c51dbb Housekeeping on .travis.yml; remove old code comments 2018-02-22 17:19:54 +01:00
Sebastian Serth
e70897e560 working_docker_image?: Modify behavior to match spec 2018-02-22 17:19:54 +01:00
Sebastian Serth
2a38db6e75 Move workspace path to subdir of /tmp to prevent deleting other files 2018-02-22 17:19:53 +01:00
Sebastian Serth
3916f66695 Fix Factories 2018-02-22 17:19:53 +01:00
Sebastian Serth
64ab7a9c84 Remove tracked, but ignored files 2018-02-22 17:19:53 +01:00
Sebastian Serth
680ee3d6d6 Use localhost to access docker for default test environment 2018-02-22 17:19:46 +01:00
Sebastian Serth
0114edd468 Enable all specs for Travis 2018-02-22 17:19:46 +01:00
Sebastian Serth
fa4a497b6f Fix DOCKER_OPTS fro Travis and download required images 2018-02-22 17:19:46 +01:00
Sebastian Serth
a17c6752fd Add Docker Config file for travis 2018-02-22 17:19:46 +01:00
Sebastian Serth
8219eddf77 Prevent lxc-docker upgrade for Travis 2018-02-22 17:19:46 +01:00
Sebastian Serth
cba467ec20 Run only docker specs 2018-02-22 17:19:46 +01:00
Sebastian Serth
9c308e5b57 Add Capistrano SCM Git support to Capfile
Signed-off-by: Sebastian Serth <Sebastian.Serth@student.hpi.de>
2018-02-22 17:19:13 +01:00
rteusner
da6d926377 Merge pull request #150 from openHPI/fix_feedback_timestamps
Fix feedback timestamps
2018-02-22 17:15:39 +01:00
Ralf Teusner
c70b305122 fixed typo 2018-02-22 16:57:05 +01:00
Ralf Teusner
f7165c06c4 pinned eventmachine to 1.0.9.1 , as the newest version crashes with a segmentation fault 2018-02-22 16:55:24 +01:00
Ralf Teusner
3db533ea9b pin lti to 1.1.10 2018-02-22 16:39:49 +01:00
Ralf Teusner
c63b067a72 migrated schema 2018-02-22 16:23:03 +01:00
Ralf Teusner
9a6bdaddc2 fix timestamps on feedback (and fix deployment) 2018-02-22 16:18:45 +01:00
Maximilian Grundke
4c97faeec9 Find best and worst performers w.r.t. working time 2018-02-20 21:25:15 +01:00
rteusner
466d665b4e Merge pull request #149 from openHPI/update-gemfile
Update gemfile
2018-02-20 16:33:57 +01:00
Ralf Teusner
b23b80e3e3 added encrypted repo token 2018-02-20 16:23:18 +01:00
Ralf Teusner
3564be893b remove codeclimate repo-token, it is now stored on travis-ci.org. Repo-Token was re-generated. 2018-02-20 16:10:39 +01:00
Sebastian Serth
adb002712d Use PostgreSQL 9.6 on Travis as newer versions are not available 2018-02-19 01:16:29 +01:00