Commit Graph

224 Commits

Author SHA1 Message Date
Janusch Jacoby
13be0f65dd Improve error and output handling
Display websocket and container status messages as well as line feeds
to the user.
2015-09-16 19:14:36 +02:00
Alexander Kastius
81aa5d5d8f Fixed submission-scoring.
Added parsing of exit cmd.
2015-09-16 18:34:04 +02:00
Janusch Jacoby
e6eeebfd4b Filter and colour output, handle exit properly 2015-09-15 19:34:22 +02:00
Janusch Jacoby
c8253a6ba0 Manually merge changes from webpython branch. 2015-09-15 16:55:16 +02:00
Ralf Teusner
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
Ralf Teusner
e14ee6def3 Merge branch 'master' into rt/comments
Conflicts:
	app/assets/javascripts/editor.js
2015-08-31 19:23:53 +02:00
Ralf Teusner
44cb0150cc removed the last(100) filter on the index method of submission, since it did not work this way. ToDo: check whether this breaks anything, discuss with JanR. 2015-08-26 11:52:52 +02:00
Ralf Teusner
b417231c12 a more defensive version of scoring to please the tests.. 2015-08-26 11:51:33 +02:00
Ralf Teusner
dc0b3a2294 cleanup of passed parameters, user_id and user_type are extracted from current user and not used from the passed POST values.. 2015-08-19 15:35:25 +02:00
Ralf Teusner
e520914385 Some correction of column names.
Support for internal as well as external users. Added column user_type and used it where necessary
2015-08-18 17:44:31 +02:00
Ralf Teusner
512e90ebd7 Show correct usernames on comments, have correct linenumbers on request_for_comments 2015-08-18 16:32:56 +02:00
Ralf Teusner
06131e6e63 Remove logic to find newest submission for an exercise and user. This is no longer necessary, since we update the file ids in editor.js 2015-07-09 16:08:26 +02:00
Ralf Teusner
6229b5de8d re-activate copying of comments, and also show comments of original file author in show method 2015-06-24 20:21:02 +02:00
Ralf Teusner
69f7a93609 added submission id to error entries 2015-06-08 14:50:13 +02:00
Jan Renz
13f13f5ecb Only show max the last 100 in UI cause fetching all breaks the app. 2015-04-28 18:44:00 +02:00
Jan Renz
89683dab9d Try to fix bug 2015-04-28 17:11:06 +02:00
Jan Renz
c1fdc30c7e Disable copy comments for now 2015-04-28 17:05:04 +02:00
Jan Renz
c39fd9d6ce Revert stuff 2015-04-28 16:48:52 +02:00
Jan Renz
23ddfaca11 current_user nil not false 2015-04-28 16:12:43 +02:00
Jan Renz
2480c51c2b Cleanup logs 2015-04-28 16:02:22 +02:00
Jan Renz
ea027656b7 Nicer fetch of empty relations 2015-04-28 14:20:21 +02:00
Ralf Teusner
0447b076c6 set user_type correct for comments 2015-04-27 17:59:28 +02:00
Ralf Teusner
725fd00256 removed new relic logging (caused errors) 2015-04-27 17:59:03 +02:00
Ralf Teusner
707c40a65b some more logging for missing @current_user 2015-04-27 10:52:23 +02:00
Tom Staubitz
cc400989ee added ids to new relic error messages 2015-04-24 18:12:42 +02:00
Tom Staubitz
f55fecba9d added more new relic debugging in submission_scoring.rb 2015-04-24 17:12:31 +02:00
Tom Staubitz
8697c8b23a Added mor new relic debugging 2015-04-23 18:14:20 +02:00
Tom Staubitz
222783ef75 added som new relic debug messages 2015-04-23 17:39:18 +02:00
Ralf Teusner
90051fff1c minor bugfix 2015-04-23 14:56:55 +02:00
Franz Liedke
9063b18012 Fix hints to work again. 2015-04-23 13:15:31 +02:00
Franz Liedke
64114815c7 Clean up writing server sent events. 2015-04-23 13:13:17 +02:00
Jan Renz
a5d5dde7a8 Debugging 2015-04-23 12:58:21 +02:00
Jan Renz
2cd474ceb0 Avoid error if no submission is present (on first load of editor) 2015-04-21 10:52:22 +02:00
Jan Renz
9c8d0b01eb Fix reset of tasks 2015-04-20 22:30:31 +02:00
Hauke Klement
b8284a7a26 fixed issue of default test feedback message not being localized correctly 2015-04-12 13:45:45 +02:00
Ralf Teusner
172ca91329 bugfixes, policies, errors now have a link to the submissions 2015-04-10 20:23:38 +02:00
Ralf Teusner
4fe60d5f94 set correct user_id for internal users 2015-04-09 16:54:03 +02:00
Nicholas Wittstruck
b4679ebcbe merged qa into codeocean 2015-03-27 22:08:53 +01:00
Felix Wolff
b8ec3edef2 Show requests for comments and begin work on a view for executing them 2015-03-27 18:10:47 +01:00
Felix Wolff
a70053532b Merge commenting support 2015-03-27 11:57:35 +01:00
Felix Wolff
e31675f136 Commit just for you, Ralf :) 2015-03-27 10:32:10 +01:00
Hauke Klement
4eef3d70d5 minor refactoring of flash messages 2015-03-23 16:42:57 +01:00
Hauke Klement
c294e3b499 do not render the development environment for exercises without visible files 2015-03-21 18:46:02 +01:00
Hauke Klement
ba3476cfec some refactoring 2015-03-19 14:33:51 +01:00
Hauke Klement
15d8984a9e added the ability to prohibit network access for code submissions executed using Docker 2015-03-17 17:14:25 +01:00
Hauke Klement
b1218e0b80 added the ability to limit memory consumption of code submissions executed using Docker 2015-03-17 15:51:59 +01:00
Hauke Klement
1f46f7c3af execute test files concurrently 2015-03-16 17:51:46 +01:00
Hauke Klement
6ee0b6bf81 implemented partial batch update for exercises 2015-03-12 11:05:11 +01:00
Hauke Klement
acf03b1f51 added pagination for all resources 2015-03-11 16:13:45 +01:00
Hauke Klement
059dc81ee5 fix 2015-03-11 15:15:55 +01:00