Commit Graph

453 Commits

Author SHA1 Message Date
68e74a9d85 Add association User has many CodeHarborLink
- add migration tht associates User with CodeHarborLink
- add belongs_to from CodeHarborLink to User
- changed CodeHarborLinkController#index to only serve current user's
  CodeHarborLinks

(leoselig/codeocean#2)
2016-02-04 12:38:46 +01:00
f2a1a748d5 Replace CodeHarbourLink .erb wtih .slim templates
- this is consistent with the remaining view architecture

(leoselig/codeocean#2)
2016-02-04 12:06:59 +01:00
ca9a9c7e85 Merge branch 'master' of https://github.com/openHPI/codeocean 2016-02-04 11:02:56 +01:00
76bf3dd3f0 Scaffold CodeHarbourLink with field oauth2token
(leoselig/codeocean#2)
2016-02-04 11:02:26 +01:00
2a1862f39a Merge branch 'master' into statistics 2016-01-25 11:22:58 +01:00
a24e29345d Fix NaN error for exercises without scores 2016-01-21 14:03:42 +01:00
2777b64b0f cleanup of request for comment view, shifted logic to controller. 2016-01-13 15:26:34 +01:00
a508d47e3e Retrieve user statistics in an execution environment for all exercises at once 2016-01-07 15:42:53 +01:00
b10323b5a4 Make working time queries fire only once 2015-12-17 11:45:55 +01:00
1a738a2a06 Refine working time query 2015-12-16 14:00:51 +01:00
f3acc426ac Refactor average worktime and add it to exercise statistics per user 2015-11-05 11:17:45 +01:00
d4031c363f Fix number of runs 2015-11-05 10:57:07 +01:00
baed5bcc03 Add first draft of cleansed average working time 2015-11-01 15:54:01 +01:00
7baff6ddaf Group statistics per user type 2015-11-01 14:47:52 +01:00
c41818e324 Push statistics features to model 2015-10-29 15:08:02 +01:00
57d1c9b129 altered class: to class_name: (class seems to be deprecated?) 2015-10-21 16:44:13 +02:00
d292fec47c Code Cleanup: Usage of Polymorphic User instead of ExternalUser and InternalUser
Renamed requestor_user_id -> user_id
Index of request_for_comments now returns the n (5?) newest requests per user. Solved via sliding windows in postgres, code added to model.
Added route to /my_request_for_comments/ that shows all requests for the current user.
Changed view from ERB to slim
2015-09-04 14:05:30 +02:00
b4527aef50 implemented autosave, save button is now hidden. there is a label to show the last save timestamp. Code is saved on browser close. 2015-08-12 17:38:34 +02:00
3307ebbabb adedd new relic debugging to normalized_score 2015-04-24 16:28:51 +02:00
2d7c2945df fixed percentage method to reflect the new normalized_score method 2015-04-23 17:24:11 +02:00
6ecaa559fb some readability improvement of score checks 2015-04-23 16:29:34 +02:00
78f8833eb2 handle 0 max score 2015-04-23 15:45:19 +02:00
c7d939104f handle 0 max score 2015-04-23 15:43:31 +02:00
c0fde51f6c Backup commit 2015-04-13 22:36:27 +02:00
172ca91329 bugfixes, policies, errors now have a link to the submissions 2015-04-10 20:23:38 +02:00
b8ec3edef2 Show requests for comments and begin work on a view for executing them 2015-03-27 18:10:47 +01:00
a70053532b Merge commenting support 2015-03-27 11:57:35 +01:00
d109663cb9 extracted boolean validation logic into stand-alone validator 2015-03-18 09:10:58 +01:00
15d8984a9e added the ability to prohibit network access for code submissions executed using Docker 2015-03-17 17:14:25 +01:00
b1218e0b80 added the ability to limit memory consumption of code submissions executed using Docker 2015-03-17 15:51:59 +01:00
0b73180832 eager load files when collecting a submissions's files 2015-03-13 10:21:21 +01:00
58da5d5d66 fix 2015-03-12 19:07:58 +01:00
cd09e19d24 hide fields from the file form if not matching the file's role 2015-03-12 17:04:47 +01:00
48f1b97aea extracted method 2015-03-12 11:07:29 +01:00
f1de18141a refactored JavaScript code not to use inline Ruby evaluation 2015-03-12 09:13:38 +01:00
ff7f33cfd8 minor changes 2015-03-11 15:15:10 +01:00
a8bda864df simplified some Active Record queries 2015-03-11 14:31:19 +01:00
0673d44820 minor change 2015-03-11 09:39:01 +01:00
3ae749bfc5 extended execution environments by a default file type that is used as the default for associated exercises' files 2015-03-10 18:14:26 +01:00
240c570698 minor improvement 2015-03-10 17:15:13 +01:00
7477d4c6dd transitionally downgraded to Rails 4.1 since activerecord-jdbcpostgresql-adapter is not fully compatible with Active Record 4.2 2015-03-02 15:04:37 +01:00
aada0e1c9a minor changes 2015-02-26 10:17:55 +01:00
f0ca3b6e82 improved readability 2015-02-23 17:19:09 +01:00
e8d7f172b9 fixed broken password confirmation on password reset 2015-02-23 16:19:06 +01:00
466f8967e2 eliminated naming clash with Sorcery 2015-02-23 10:39:04 +01:00
8b04b47721 added tests 2015-02-21 11:11:04 +01:00
28405783a2 refactored error aggregation 2015-02-18 17:18:46 +01:00
a13d1738e2 fixed multiple style guide violations 2015-02-17 10:23:01 +01:00
0bb5dae334 changed literal array syntax, as suggested by RuboCop 2015-02-16 11:33:03 +01:00
4fa4629e15 reduced code complexity 2015-02-12 15:10:53 +01:00