1c5cf0facb
Deserialize feedback message
...
- this fixes the validation error for test files
(leoselig/codeocean#4 )
2016-02-18 18:32:03 +01:00
f8c5d2ad96
Serialize test files from ProFormA-XML
...
(leoselig/codeocean#4 )
2016-02-18 17:26:29 +01:00
7cc612ddaf
Deserialize exercises files in ProFormA-XML
...
- includes determining main file property via comment and template
attributes in XML
(closes leoselig/codeocean#3 )
2016-02-18 16:03:25 +01:00
773088798c
Fix array to string cast error
...
- accidental trailing comma caused this (apparently that's a thing in
Ruby...)
- cleaned up attribute assignments a little bit
(persisted/validated/neither assignments)
(leoselig/codeocean#1 )
2016-02-13 11:54:30 +01:00
f787445e5b
Rename #import_thin_common_cartridge to #import_proforma_xml
...
- everywhere
(leoselig/codeocean#1 )
2016-02-12 11:11:20 +01:00
1c3a1a6aab
Authenticate action import_proforma_xml via OAuth2
...
- currently done manually, we should definitely consider a gem here
(doorkeeper)
- right now, the provided Bearer token from the Authorization header is
just looked up in the configured code harbor links of the current user,
if one is found -> authenticated -> exercise gets imported
(leoselig/codeocean#1 )
2016-02-12 11:11:09 +01:00
71dda088d1
Associate code harbor links with current user always
...
- this applies to creations and updates
- code harbor links are only every edited in the context of the
authenticated user
(leoselig/codeocean#1 )
2016-02-12 11:05:30 +01:00
943355d9c7
Add #from_proforma_xml to exercise (only meta data import)
...
- method only considers title and description for now
- sets up relation to execution environment with id 1, just to pass
validation for now
(leoselig/codeocean#1 )
2016-02-12 11:05:14 +01:00
5a190c0c79
Fix wrong belongs_to :user
...
- because of polymorphic user model this didn't work
- changed to :internal_user because that's anyway the only type of user we
want to impoprt from
(leoselig/codeocean#1 )
2016-02-12 10:57:44 +01:00
c3df7ff482
Remove empty .coffee file
...
- was scaffolded
(leoselig/codeocean#2 )
2016-02-04 13:34:18 +01:00
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
855abe25a6
Merge branch 'issue-1-codeharbor-endpoint'
2016-02-04 12:26:15 +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
c947bbf152
Add CodeHarbor links to administation navigation
...
(leoselig/codeocean#2 )
2016-02-04 11:43:27 +01:00
e534a8cb2d
Add authorization to CodeHarborLink controller
...
(leoselig/codeocean#2 )
2016-02-04 11:42:03 +01:00
4ebaee8931
Add working time delta for each submission
2016-02-04 11:36:00 +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
92f6c7a06f
Revert "Add CodeHarborLink controller"
...
This reverts commit b5b8b3ab68
.
- next commit will do a complete scaffold
(leoselig/codeocean#2 )
2016-02-04 11:02:11 +01:00
b5b8b3ab68
Add CodeHarborLink controller
...
(leoselig/codeocean#2 )
2016-02-04 10:28:13 +01:00
aa8870b8c8
Add endpoint for import ( leoselig/codeocean#1 )
...
- currently route is still named /thin_common_cartridge
- points to exercise controller for simplicity (open for discussion)
2016-02-04 09:28:50 +01:00
d343e74287
Add sorting to external user statistics table
2016-01-28 17:52:34 +01:00
491bcc9bde
Merge pull request #40 from openHPI/statistics
...
Statistics
2016-01-28 16:35:58 +01:00
d1ece64ee3
Link user "profile" to their statistics
2016-01-28 14:51:57 +01:00
4ee474a7d2
Speed up external user statistics
2016-01-28 14:46:25 +01:00
de84638979
Try to re-combine websocket message chunks containing an image tag.
2016-01-27 16:42:25 +01:00
898074be3f
Added render command, outputs the content in a div.
2016-01-26 14:26:18 +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
55cf067799
Round statistics values
2016-01-20 14:43:59 +01:00
3d6be859dd
removed duplicate code
2016-01-13 15:27:51 +01:00
2777b64b0f
cleanup of request for comment view, shifted logic to controller.
2016-01-13 15:26:34 +01:00
7a2e1bbc0f
Merge branch 'master' into statistics
2016-01-12 13:26:32 +01:00
5b8f710196
added standard deviations
2016-01-11 19:00:53 +01:00
e8cb23849a
Make tables sortable
2016-01-07 17:45:00 +01:00
cb98f6d0fa
Fix controller
2016-01-07 17:44:43 +01:00
e1e6eb04f4
Make user stats in exercise statistics faster
2016-01-07 17:01:47 +01:00
a508d47e3e
Retrieve user statistics in an execution environment for all exercises at once
2016-01-07 15:42:53 +01:00
f195607ba1
Fix execution environment statistics view
2016-01-07 13:55:28 +01:00
943e3c6c3a
reworked execution_environment statistics
2016-01-07 13:19:02 +01:00
76e91ec2cf
Add number of users and relative scores to execution environment statistics
2016-01-06 16:59:51 +01:00
a5dc19ad86
Fix submission order
2015-12-17 16:17:31 +01:00
8ddc41b852
Fix slider
2015-12-17 11:56:06 +01:00
0a46fc8453
Merge pull request #36 from openHPI/statistics
...
Make working time queries fire only once
2015-12-17 11:52:09 +01:00
b10323b5a4
Make working time queries fire only once
2015-12-17 11:45:55 +01:00
9bec415768
Merge pull request #35 from openHPI/statistics
...
Statistics
2015-12-16 16:40:05 +01:00
4cd8a501b1
Switch to fontawesome icons
2015-12-16 16:34:13 +01:00
9eb464fdf6
Merge branch 'master' into fix-additional-line
2015-12-16 16:33:30 +01:00
d8fa2f3616
Merge remote-tracking branch 'origin/master' into statistics
2015-12-16 16:21:40 +01:00
d36e6fd991
Implement play button behavior
2015-12-16 16:14:28 +01:00