Ralf Teusner
223df2ffa8
some cleanup of request for comments. Work in progress.
...
Noticed a flaw when fetching the last submission, which is caused by timezone differences. First step to solve this.
Existing Request for Comments still need to be updated with their current submissionId, the SQL to do that is not yet finished.
2016-07-04 17:44:22 +02:00
Ralf Teusner
2a52b66daa
rfc can now be solved.
...
show.html still needs to be finished
2016-06-24 16:44:34 +02:00
Ralf Teusner
ec26a095f6
First working version of mails on comments.
2016-06-17 14:48:57 +02:00
Ralf Teusner
8158d60d30
also write "parsable json" to the frontend console if it does not have a valid command set (solves the issue when just printing an array in java, it is not shown anywhere).
2016-06-01 11:30:42 +02:00
rteusner
3cd29556bb
Merge pull request #53 from openHPI/fix-file-creation-behavior
...
Fix file creation behavior
2016-05-10 18:34:21 +02:00
Maximilian Grundke
87d4eb8b0d
Let everyone see all comments and polish request for comments overview
2016-05-10 18:17:02 +02:00
Maximilian Grundke
aba6d56a87
Enable exercise forms to manipulate file creation flag
2016-05-10 17:14:07 +02:00
Maximilian Grundke
9fc974af20
Implement file name validation based on path, name, and filetype upon file creation
2016-05-10 16:03:52 +02:00
Maximilian Grundke
d97d92347c
Fix typo
2016-05-07 15:06:47 +02:00
Ralf Teusner
af077d10c4
forgot to replace the name with the displayname...
2016-05-01 12:13:19 +02:00
Maximilian Grundke
c4405e24b9
Show question in overview
2016-04-30 13:57:23 +02:00
Maximilian Grundke
8ef615ffaa
Correctly authorize comment deletion
2016-04-27 17:16:23 +02:00
Maximilian Grundke
57b773698b
Fix comment policy
2016-04-26 17:42:53 +02:00
Maximilian Grundke
dcb05b9169
Fix testrun result for docker container depletion
2016-03-09 16:21:32 +01:00
Maximilian Grundke
087b2bdf93
Persist assessments in the testrun model
2016-03-09 14:49:44 +01:00
Maximilian Grundke
948de1ebb9
Order requests for comment
2016-03-02 17:07:16 +01:00
rteusner
ebdc5dcd6e
Merge pull request #41 from leoselig/master
...
Import exercise meta data from CodeHarbour
2016-03-01 13:03:12 +01:00
Ralf Teusner
b31a5b37f4
renamed execute_websocket_command to open_websocket_connection, because we now run the command after all listeners in the submissions controller were attached
2016-03-01 11:34:07 +01:00
leo.selig
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
leo.selig
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
leo.selig
f787445e5b
Rename #import_thin_common_cartridge to #import_proforma_xml
...
- everywhere
(leoselig/codeocean#1 )
2016-02-12 11:11:20 +01:00
leo.selig
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
leo.selig
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
leo.selig
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
leo.selig
855abe25a6
Merge branch 'issue-1-codeharbor-endpoint'
2016-02-04 12:26:15 +01:00
leo.selig
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
leo.selig
e534a8cb2d
Add authorization to CodeHarborLink controller
...
(leoselig/codeocean#2 )
2016-02-04 11:42:03 +01:00
leo.selig
ca9a9c7e85
Merge branch 'master' of https://github.com/openHPI/codeocean
2016-02-04 11:02:56 +01:00
leo.selig
76bf3dd3f0
Scaffold CodeHarbourLink with field oauth2token
...
(leoselig/codeocean#2 )
2016-02-04 11:02:26 +01:00
leo.selig
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
leo.selig
b5b8b3ab68
Add CodeHarborLink controller
...
(leoselig/codeocean#2 )
2016-02-04 10:28:13 +01:00
leo.selig
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
rteusner
491bcc9bde
Merge pull request #40 from openHPI/statistics
...
Statistics
2016-01-28 16:35:58 +01:00
Maximilian Grundke
4ee474a7d2
Speed up external user statistics
2016-01-28 14:46:25 +01:00
Ralf Teusner
de84638979
Try to re-combine websocket message chunks containing an image tag.
2016-01-27 16:42:25 +01:00
Ralf Teusner
5b8f710196
added standard deviations
2016-01-11 19:00:53 +01:00
Maximilian Grundke
cb98f6d0fa
Fix controller
2016-01-07 17:44:43 +01:00
Maximilian Grundke
e1e6eb04f4
Make user stats in exercise statistics faster
2016-01-07 17:01:47 +01:00
Maximilian Grundke
a508d47e3e
Retrieve user statistics in an execution environment for all exercises at once
2016-01-07 15:42:53 +01:00
Ralf Teusner
943e3c6c3a
reworked execution_environment statistics
2016-01-07 13:19:02 +01:00
Ralf Teusner
95ec5b0231
Routes, empty views and controller changes for statistics concerning external_users, exercises and external_users having exercises
2015-11-25 18:47:49 +01:00
Maximilian Grundke
41b2c80b39
Merge remote-tracking branch 'origin/master' into statistics
2015-11-19 16:01:53 +01:00
Ralf Teusner
95c461a055
Hide parametrized run and test commands. Some logging changes, comment on possible thread code to release database connections, not sure whether necessary.
2015-11-08 12:37:11 +01:00
Ralf Teusner
b29a41e693
some more logging
2015-11-03 17:34:34 +01:00
Maximilian Grundke
6a41e7dde4
Merge remote-tracking branch 'origin/master' into statistics
2015-11-03 16:13:39 +01:00
Ralf Teusner
ef60494911
some more logging (and cleanup)
2015-10-29 16:27:12 +01:00
Maximilian Grundke
78422647fe
Add execution environment statistics
2015-10-29 14:19:31 +01:00
Ralf Teusner
30d0270744
Show correct timeout message on timeout. Do not show a message on valid exit.
2015-10-21 17:18:28 +02:00
Ralf Teusner
e88520f43b
corrected log message.
2015-10-19 15:50:58 +02:00
Janusch Jacoby
0b9cda4f84
Fix container pooling #2
2015-10-19 15:13:42 +02:00