REST: Fixed GET and PUT a single post
started changing making posts to use ajax, not ready at all to merge to master but need to push to access from different computer
Merge branch 'master' of https://github.com/awwong1/CMPUT410-Project into rest_post
saving a post using ajax put works, except for images. displaying it in html will be next
finished writing part that adds post to html
dynamically adding post from put half working...
REST GET and PUT tests added
Minor REST post test changes
REST visibilityException field has been added, REST post tests updated slightly, fixed displaying visbility exceptions on web browser when managing posts
Author, Comments, Posts have as_dict() methods. Cleaned up REST post related items too
Post JSON date format fixed
moved postbuilding functions in api views to utils,py, ajax put mostly working (except images still), and wierd error with categories not being defined
Merge branch 'rest_post' of https://github.com/awwong1/CMPUT410-Project into rest_post
moved postbuilding functions in api views to utils,py, ajax put mostly working (except images still), and wierd error with categories not being defined
a bit of clean up, added function that clears fields after post has been made
polling function written but commented out for now, theoretically remote hosts should be able to get our posts now, will straighten out bugs I find for next commit
fixed merge conflct
put changed to accept author id as query string, and put api tests work finally
api tests now pass again, and lots of bug fixes with post rest api
fixed adding a comment in stream, was using single quotes instead of double...