Commit Graph

283 Commits

Author SHA1 Message Date
Ralf Teusner
b4527aef50 implemented autosave, save button is now hidden. there is a label to show the last save timestamp. Code is saved on browser close. 2015-08-12 17:38:34 +02:00
Ralf Teusner
e49f0dc063 hide run success message, adjust wording of locales for run success and run failure (run_success, run_failure) 2015-08-07 16:13:35 +02:00
Ralf Teusner
eec5832a65 allow requesting comments only once per submission 2015-08-04 15:16:06 +02:00
Ralf Teusner
c67c6e38f7 Merge branch 'master' into rt/comments
Conflicts:
	app/views/exercises/_editor_file_tree.html.slim
2015-07-16 15:19:31 +02:00
Felix Wolff
1d93e854f0 Merge branch 'master' of github.com:openHPI/codeocean 2015-07-16 15:10:59 +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
81d2d69d11 Display request for comments button if we are working on a non binary submission. Introduced needed data attributes for that and assigned them to the frame (instead of the editor). Data Attributes get updated by the CreateSubmissionCallback. Adjusted comment checks to also use the attributes of the frame. 2015-07-09 12:03:03 +02:00
Ralf Teusner
a49ffc978b only allow comments on submissions, not on templates 2015-06-26 18:25:03 +02:00
Ralf Teusner
283bfb38d6 Merge branch 'master' into rt/comments 2015-06-26 10:59:45 +02:00
Ralf Teusner
04a22392b6 some cleanup 2015-06-26 10:59:12 +02:00
Ralf Teusner
8ad787b3fc check whether QaApi is defined before accessing it to prevent page load failure 2015-06-25 11:42:28 +02:00
Ralf Teusner
3e04222367 setting correct ids for the files in the editor after creating a new submission. Still a bit clumsy concerning the passed json parameters, but does the job. 2015-06-24 20:22:53 +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
Jan Renz
fc68b3b3b0 Merge remote-tracking branch 'origin/master' 2015-06-17 15:30:04 +02:00
Ralf Teusner
635ab6a7d6 Merge branch 'master' of https://github.com/openHPI/codeocean 2015-06-08 14:53:33 +02:00
Ralf Teusner
69f7a93609 added submission id to error entries 2015-06-08 14:50:13 +02:00
Jan Renz
41175656c4 HIde submit button if task is expired 2015-06-03 16:57:33 +02:00
Felix Wolff
5d767d3de0 Comment code via popovers 2015-05-05 13:52:53 +02:00
Felix Wolff
4fa8f811cf internationalization and feedback for RFC button 2015-05-05 11:23:31 +02:00
Jan Renz
cf19dfa7a2 Matrix Support 2015-04-30 18:22:20 +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
72d96078af remove request-for-comments buttons 2015-04-27 11:20:10 +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
3307ebbabb adedd new relic debugging to normalized_score 2015-04-24 16:28:51 +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
Tom Staubitz
2d7c2945df fixed percentage method to reflect the new normalized_score method 2015-04-23 17:24:11 +02:00
Ralf Teusner
6ecaa559fb some readability improvement of score checks 2015-04-23 16:29:34 +02:00
Jan Renz
78f8833eb2 handle 0 max score 2015-04-23 15:45:19 +02:00
Jan Renz
c7d939104f handle 0 max score 2015-04-23 15:43:31 +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
Jan Renz
892c36921d Add depleted message on more more position 2015-04-20 17:26:10 +02:00
Jan Renz
99226207a3 fix indention 2015-04-17 12:57:29 +02:00
Jan Renz
ba50ed0b81 Working on non streaming output mode 2015-04-17 12:50:48 +02:00
Jan Renz
940eee5856 Show warning if all containers are depleted. 2015-04-15 17:17:39 +02:00