{"pull_request":{"user":{"id":380280,"login":"pteromys","url":"https://api.github.com/users/pteromys","gravatar_id":"a37ff370643bf8a7af19b97678864905","avatar_url":"https://secure.gravatar.com/avatar/a37ff370643bf8a7af19b97678864905?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"merged_at":"2011-12-16T06:29:48Z","created_at":"2011-12-15T04:35:36Z","title":"AJAX scheduling: error messages and teacher availability","review_comments":0,"state":"closed","updated_at":"2011-12-16T06:29:48Z","patch_url":"https://github.com/learning-unlimited/ESP-Website/pull/203.patch","id":596827,"closed_at":"2011-12-16T06:29:48Z","deletions":11,"html_url":"https://github.com/learning-unlimited/ESP-Website/pull/203","mergeable":null,"base":{"user":{"id":1150905,"login":"learning-unlimited","url":"https://api.github.com/users/learning-unlimited","gravatar_id":"93c39b52e0adb3b3f3b998ec8ef678ce","avatar_url":"https://secure.gravatar.com/avatar/93c39b52e0adb3b3f3b998ec8ef678ce?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png"},"ref":"main","sha":"d8396ed3cfa2f91e8f6283ba4ea3002d24b9e54d","repo":{"watchers":16,"open_issues":188,"created_at":"2011-10-25T14:30:31Z","git_url":"git://github.com/learning-unlimited/ESP-Website.git","fork":false,"updated_at":"2011-12-16T06:29:49Z","id":2643878,"language":"JavaScript","html_url":"https://github.com/learning-unlimited/ESP-Website","name":"ESP-Website","description":"A website to help manage the logistics of large short-term educational programs","master_branch":"main","url":"https://api.github.com/repos/learning-unlimited/ESP-Website","ssh_url":"git@github.com:learning-unlimited/ESP-Website.git","pushed_at":"2011-12-16T06:29:49Z","clone_url":"https://github.com/learning-unlimited/ESP-Website.git","forks":7,"owner":{"id":1150905,"login":"learning-unlimited","url":"https://api.github.com/users/learning-unlimited","gravatar_id":"93c39b52e0adb3b3f3b998ec8ef678ce","avatar_url":"https://secure.gravatar.com/avatar/93c39b52e0adb3b3f3b998ec8ef678ce?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png"},"homepage":"https://code.learningu.org/","size":592,"private":false,"svn_url":"https://svn.github.com/learning-unlimited/ESP-Website"},"label":"learning-unlimited:main"},"issue_url":"https://github.com/learning-unlimited/ESP-Website/issues/203","commits":7,"body":"This builds (directly) on top of pull request #200, adding two more fixes:\r\n\r\n1. If an operation fails, show an error message in the status bar and don't update the grid. (fd1fc747115e83b49660ec46e396a8bd8a2e9498, and related to #96)\r\n2. Add a server-side check to prevent teachers from being double-booked. (2234c54b4362c981b9b8044efa463ff7e7f3db5e; since it's server-side and shouldn't be too heavily affected by an in-jquery rewrite, I've included tests in 599574e4ae1dd0af5858322f0764da373eac44f9)\r\n\r\nAs these weren't in the SR1 milestone, I'd say punt this if we're low on time and need to focus on merging the other pull requests. That said, I'm filing this anyway in case we do have the time, because I do think these would be nice fixes to have the next time the AJAX scheduler is used.","number":203,"additions":192,"url":"https://api.github.com/repos/learning-unlimited/ESP-Website/pulls/203","diff_url":"https://github.com/learning-unlimited/ESP-Website/pull/203.diff","_links":{"review_comments":{"href":"https://api.github.com/repos/learning-unlimited/ESP-Website/pulls/203/comments"},"html":{"href":"https://github.com/learning-unlimited/ESP-Website/pull/203"},"self":{"href":"https://api.github.com/repos/learning-unlimited/ESP-Website/pulls/203"},"comments":{"href":"https://api.github.com/repos/learning-unlimited/ESP-Website/issues/203/comments"}},"merged_by":{"id":363982,"login":"aseering","url":"https://api.github.com/users/aseering","gravatar_id":"b24fd6c1bb73a3ec5760d5dc65d1297c","avatar_url":"https://secure.gravatar.com/avatar/b24fd6c1bb73a3ec5760d5dc65d1297c?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":2,"head":{"user":{"id":380280,"login":"pteromys","url":"https://api.github.com/users/pteromys","gravatar_id":"a37ff370643bf8a7af19b97678864905","avatar_url":"https://secure.gravatar.com/avatar/a37ff370643bf8a7af19b97678864905?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"ref":"scheduling-extra","sha":"599574e4ae1dd0af5858322f0764da373eac44f9","repo":{"watchers":1,"open_issues":0,"created_at":"2011-12-12T07:53:39Z","git_url":"git://github.com/pteromys/ESP-Website.git","fork":true,"updated_at":"2011-12-14T03:31:56Z","id":2962702,"language":"JavaScript","html_url":"https://github.com/pteromys/ESP-Website","name":"ESP-Website","description":"A website to help manage the logistics of large short-term educational programs","master_branch":"main","url":"https://api.github.com/repos/pteromys/ESP-Website","ssh_url":"git@github.com:pteromys/ESP-Website.git","pushed_at":"2011-12-14T03:31:52Z","clone_url":"https://github.com/pteromys/ESP-Website.git","forks":0,"owner":{"id":380280,"login":"pteromys","url":"https://api.github.com/users/pteromys","gravatar_id":"a37ff370643bf8a7af19b97678864905","avatar_url":"https://secure.gravatar.com/avatar/a37ff370643bf8a7af19b97678864905?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"homepage":"https://code.learningu.org/","size":164,"private":false,"svn_url":"https://svn.github.com/pteromys/ESP-Website"},"label":"pteromys:scheduling-extra"},"changed_files":5,"merged":true},"number":203,"action":"closed"}