Commit Graph

234 Commits

Author SHA1 Message Date
c889488e55 Replaced remote stylesheets, javascripts, and fonts with local versions 2015-12-12 00:45:42 +08:00
38bfa4b1f5 Get websocket protocol from config file to avoid frustration in local installing 2015-12-12 00:43:04 +08:00
943d5554d9 Remove @all_containers instead of @containers during cleanup
Also added some comments and todos
Also fixed debug messages in remove_from_all_containers
Also refactored duplicated code with extracted function
Also removed some commented lines of code
2015-12-12 00:41:26 +08:00
12f52c0cfc fix canvasevent handling. A \n has to be sent after the actual payload. 2015-12-01 17:43:08 +01:00
c848a1dae7 remove general help section 2015-12-01 11:09:37 +01:00
4597996a26 removed confirm message from submit results button 2015-11-28 17:13:02 +01:00
04e51caf7e Show Poolsize on ExecutionEnvironments Index Page 2015-11-17 16:18:29 +01:00
e67e378e59 add data message confirm again. this was the wrong place to delete something 2015-11-11 00:38:04 +01:00
28bbd84153 remove safety check on LTI submission 2015-11-11 00:11:34 +01:00
32ad4129c4 Merge pull request #29 from openHPI/fix-dashboard
Fix leaking interval creating potentially unlimited unwanted requests
2015-11-08 13:18:05 +01:00
23645a60b1 get submission based solely on exercise, user and RFC creation timestamp in request_for_comment 2015-11-08 12:38:48 +01:00
c958307af1 Render HTML for the exercise description 2015-11-08 12:37:43 +01:00
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
bde7c21ead Fix leaking interval creating potentially unlimited unwanted requests 2015-11-05 14:52:49 +01:00
b29a41e693 some more logging 2015-11-03 17:34:34 +01:00
eb8c0e46fa Some logging, some code simplification, clear canvas on start 2015-11-03 15:54:08 +01:00
ef60494911 some more logging (and cleanup) 2015-10-29 16:27:12 +01:00
30d0270744 Show correct timeout message on timeout. Do not show a message on valid exit. 2015-10-21 17:18:28 +02:00
889d7562f9 Show the input messages and set focus correct on input required. 2015-10-21 17:17:11 +02:00
57d1c9b129 altered class: to class_name: (class seems to be deprecated?) 2015-10-21 16:44:13 +02:00
10c602b12d Merge pull request #25 from openHPI/webpython-hybrid
Fixed container destruction
2015-10-19 15:55:53 +02:00
e88520f43b corrected log message. 2015-10-19 15:50:58 +02:00
6c5d5003d2 Merge branch 'webpython-hybrid' of https://github.com/openHPI/codeocean into webpython-hybrid 2015-10-19 15:48:48 +02:00
0b9cda4f84 Fix container pooling #2 2015-10-19 15:13:42 +02:00
8e8efcb8cc use Modernizr to check whether websockets and server send events are supported 2015-10-16 17:10:50 +02:00
6151afcb55 some I18n, stop command for server send event code (score), updated readme 2015-10-16 17:06:23 +02:00
6223378413 use wss 2015-10-16 10:30:42 +02:00
91cb2a3391 set correct newlines in output 2015-10-15 15:27:57 +02:00
56f2cc221a filter and hide run_command and test_command in websocket message 2015-09-25 12:53:45 +02:00
3657fe3e93 remove instructions tab (the actual tab, before I just removed the header), set the turtle canvas to have a size of 400x400. 2015-09-25 12:52:52 +02:00
6672491bc3 commented out translation to line breaks, as they seem not to be needed (and corrected the linebreak tag), thanks to martin for hinting at this. Discuss with janusch why he needed this. 2015-09-25 12:19:13 +02:00
632b41da23 editor has an option whether it should remember the last used tab and show it, or whether it should display the first tab. currently, it shows the first tab. (as users whished for this behaviour) 2015-09-25 12:13:08 +02:00
caf47a9251 correct tab shortcuts (following the removal of the introduction tab) 2015-09-25 12:11:17 +02:00
10da12f950 option to hide the file tree in exercises. 2015-09-22 18:22:25 +02:00
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
81aa5d5d8f Fixed submission-scoring.
Added parsing of exit cmd.
2015-09-16 18:34:04 +02:00
e6eeebfd4b Filter and colour output, handle exit properly 2015-09-15 19:34:22 +02:00
c8253a6ba0 Manually merge changes from webpython branch. 2015-09-15 16:55:16 +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
1dab25b636 fixed broken merge... 2015-08-31 19:43:16 +02:00
67b0c9a930 Merge branch 'master' into rt/comments
Conflicts:
	app/assets/javascripts/editor.js
2015-08-31 19:34:49 +02:00
5650cf25b6 some bugfixes concerning comments, add first code for learning analytics 2015-08-31 19:33:03 +02:00
e14ee6def3 Merge branch 'master' into rt/comments
Conflicts:
	app/assets/javascripts/editor.js
2015-08-31 19:23:53 +02:00
43d2428ca1 some bugfixes concerning comments, add first code for learning analytics 2015-08-31 19:19:19 +02:00
73d01df9b7 copy and paste detection, + some cleanup 2015-08-27 17:38:42 +02:00
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
b417231c12 a more defensive version of scoring to please the tests.. 2015-08-26 11:51:33 +02:00
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
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
512e90ebd7 Show correct usernames on comments, have correct linenumbers on request_for_comments 2015-08-18 16:32:56 +02:00