Closed cashaffer closed 9 years ago
I split the "backend_address" option into 3 options: exercise_server, logging_server, and score_server. I configured the Khan infrastructure to point to the exercise_server, the logging portions of the client-side framework to point to the logging_server, and all other messages to be sent to the score_server. I was unable to find any other exercises that appeared to reference the server that should be changed to exercise_server. I updated the configuration files to use the new values, but I have no updated the documentation at this time.
I fixed all the problems I found during my testing and all messages appear to be getting sent to the right servers, however, this change affected many aspects of the client-side framework and the configuration system so its possible my testing may not have uncovered them all. Please let me know if you encounter any problems that appear to be related to this.
Thanks! I compiled http://algoviz.org/OpenDSA/dev/OpenDSA/Books/CS3114/. It appears to talk to the coding exercise server correctly, and I get green checkmarks on slideshows. However, I'm not getting anything on the gradesheet. I reported a problem earlier today or last night to Eric about the assignments version of the gradebook not working, I don't know if this is related.
I am getting the following error:
Uncaught TypeError: undefined is not a function gradebook-min.js:263 loadGradebook gradebook-min.js:263 (anonymous function) gradebook-min.js:298
Fixed the client-side gradebook. Not sure what is wrong with the assignments gradebook, but this was unrelated.
I'm not sure what is going on with the assignments, but the problem seems to have vanished.
The "backend_server" variable is being used to serve both of two distinct purposes:
We would like to be able to set "backend_server" to "" so that we don't get pestered with requests to log in, or even to record scores. But when we do that, coding exercises will not get forwarded to the coding exercise evaluation server because the same variable is used. We would still like to be able to send coding exercise answers to the code exercise server for evaluation.