Commit Graph

562 Commits

Author SHA1 Message Date
Ralf Teusner
f928874189 directly call proc (before execution block) and rescue from an exception if it happens instead of using try, in order to log the error. 2015-12-16 16:30:54 +01:00
Ralf Teusner
8e90fbac26 re-enable setAnnotations 2015-12-15 17:29:50 +01:00
jprberlin
f9405e5100 Merge pull request #32 from openHPI/statistics
Statistics
2015-12-15 17:20:53 +01:00
Tom Staubitz
44137361a1 Merge branch 'master' of https://github.com/openHPI/codeocean 2015-12-15 17:11:35 +01:00
Ralf Teusner
a0680d34c3 Merge branch 'master' into statistics 2015-12-15 16:17:10 +01:00
Ralf Teusner
09a7885756 locales for submission cause autosave 2015-12-15 16:16:05 +01:00
Maximilian Grundke
4eba0aecd4 Link to exercise statistics from execution environment statistics 2015-12-15 16:11:58 +01:00
Maximilian Grundke
50eb45cb71 Link users in exercise statistics to their personal statistics page 2015-12-15 16:08:34 +01:00
Ralf Teusner
2fa5f7c281 Merge branch 'statistics' of https://github.com/openHPI/codeocean into statistics 2015-12-15 15:36:38 +01:00
Ralf Teusner
759d3ac3b2 Merge branch 'master' into statistics 2015-12-15 15:36:24 +01:00
Tom Staubitz
c0955d3505 Just some comments and todos 2015-12-12 00:47:29 +08:00
Tom Staubitz
3bd31937cc Added websocket protocols to docker config 2015-12-12 00:46:52 +08:00
Tom Staubitz
c889488e55 Replaced remote stylesheets, javascripts, and fonts with local versions 2015-12-12 00:45:42 +08:00
Tom Staubitz
38bfa4b1f5 Get websocket protocol from config file to avoid frustration in local installing 2015-12-12 00:43:04 +08:00
Tom Staubitz
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
Maximilian Grundke
0f61a46764 Select the same file if possible 2015-12-10 15:54:51 +01:00
Maximilian Grundke
53330fbdc5 Make timeline entries clickable 2015-12-10 14:03:23 +01:00
Maximilian Grundke
842907f1fa Make use of file types for highlighting and tabs 2015-12-10 13:48:31 +01:00
Maximilian Grundke
79e7f7b7e8 Apply some styling and add timeline 2015-12-10 12:49:36 +01:00
Maximilian Grundke
b7b0bf826e Use only one editor to reduce complexity 2015-12-03 14:52:33 +01:00
Maximilian Grundke
efe3895894 Enable switching between files of a submission 2015-12-03 13:52:18 +01:00
Maximilian Grundke
5c5769bab2 Change file tree when changing submission 2015-12-02 17:01:31 +01:00
Ralf Teusner
e335759644 accessor methods for the container and all_container arrays hashes (in order to watch it with the rails console) 2015-12-02 16:00:31 +01:00
Maximilian Grundke
c0b4c17de6 Use custom lightweight editor and file-tree 2015-12-02 15:39:13 +01:00
Maximilian Grundke
6c13b8714f Remove unnecessary data attributes 2015-12-02 13:59:31 +01:00
Ralf Teusner
12f52c0cfc fix canvasevent handling. A \n has to be sent after the actual payload. 2015-12-01 17:43:08 +01:00
Ralf Teusner
c848a1dae7 remove general help section 2015-12-01 11:09:37 +01:00
Ralf Teusner
cb16f6a771 Merge branch 'master' of https://github.com/openHPI/codeocean 2015-11-30 17:05:38 +01:00
Tom Staubitz
4597996a26 removed confirm message from submit results button 2015-11-28 17:13:02 +01:00
Ralf Teusner
6170068f24 Major improvement in container fetching. ToDo: Check how much stress this puts on the docker daemon (I assume it is not that much).
+ some more rescue code (in return container) as well as logging fixes.
2015-11-28 16:20:16 +01:00
Ralf Teusner
ae9cfaebf8 some logging and some rescues 2015-11-28 16:10:13 +01:00
Maximilian Grundke
72b5fa3b8c Cleanup code 2015-11-26 17:04:37 +01:00
Maximilian Grundke
baf33419cf Update editor content on submission selection 2015-11-26 16:25:59 +01:00
Maximilian Grundke
bd9118328f Hide interface if no submissions are available and encode submissions for later use in javascript 2015-11-26 15:28:02 +01:00
Maximilian Grundke
21e28972dc Add a slider based on submissions 2015-11-26 14:30:41 +01:00
Maximilian Grundke
5e23fbb61f Add editor editor to code evolution page 2015-11-26 12:59:36 +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
Ralf Teusner
27d226cbe4 Merge branch 'master' of https://github.com/openHPI/codeocean 2015-11-25 11:18:18 +01:00
Jan Renz
201b298941 Remove import 2015-11-24 09:22:22 +01:00
Jan Renz
3f043fa832 Gem updates 2015-11-24 09:15:33 +01:00
Ralf Teusner
1f25b3558c Merge branch 'master' of https://github.com/openHPI/codeocean 2015-11-23 20:25:02 +01:00
Ralf Teusner
2678a6f1b5 some logging 2015-11-23 20:24:55 +01:00
Jan Renz
ffdde1830b Restore large envs first 2015-11-23 20:20:34 +01:00
Jan Renz
c41a8d8d5e Faster restore of containers after puma restart 2015-11-23 20:13:59 +01:00
Jan Renz
d262e194c1 Update puma 2015-11-23 19:47:13 +01:00
Jan Renz
62046cc9ec Enable ActiveRecord Mng 2015-11-23 18:01:26 +01:00
Maximilian Grundke
41b2c80b39 Merge remote-tracking branch 'origin/master' into statistics 2015-11-19 16:01:53 +01:00
Maximilian Grundke
df1a77b665 Add average working time to exercise statistics 2015-11-19 16:00:06 +01:00
Ralf Teusner
98a5cd618c Fixed typo in locales. 2015-11-18 17:13:52 +01:00
Ralf Teusner
04e51caf7e Show Poolsize on ExecutionEnvironments Index Page 2015-11-17 16:18:29 +01:00