Monday, October 27, 2014

News from the backend

Sorry I haven't made any posts yet this semester but I have been getting a bunch done.  I realized that we could potentially have session hijacking problems.  After some research, I found a possible solution here that I attemped to implement.  It was successful and it worked well until I realized that there were concurrency issues.  Specifically, when a session token was renewed, there were often multiple requests from a client being handled at the same time and the script considered the requests with the old token to be proof of theft.  I commented out this process for the time being because it was a serious usability issue and not a huge security issue.  In the mean time, I figured out how to set up ssl with the server so that session theft is less likely to happen in the first place.  FaceBook integration was another huge improvement that took place.  Since a few minutes before writing this post, we got a notification that FaceBook login has officially been approved for MeNext!  At our last presentation at RCOS, Kevin O'Connor gave us the idea to use websockets instead of AJAX calls every 5 seconds to keep the video queue and current video updated.  This is now my major project because I believe that it could potentially be the biggest improvement to the efficiency and responsiveness of the site.  The problem that I am currently facing with this portion is sharing session data between apache and the script that would be running the websocket.

Thursday, October 23, 2014

Major Progress on iOS

Facebook Login AND QR Code joining of groups is nearly complete!

I migrated from an external library for QR Code to roll-your-own AVFoundation code using a subview and AVCaptureMetadataOutputObjectsDelegate code.

This is crunch time, and the app store is coming soon.

-Jim

Monday, October 13, 2014

iOS update: 10/14

QR code has been implemented, working the bugs out and testing that soon.  Also partially through Facebook login.  Have to remove old login and fully implement FB but the button is working.  Other than that, I have enrolled in the iOS Dev program, so were all set to publish when the app is finished. This is crunch time, and we have to finish within the next few weeks to allow time to process the App Store requests.

The dependency list is really growing!  Facebook, ZBarSDK, Image cache libraries, networking libraries.  I can't believe the app has gotten so big.  I'm really glad that my first real iOS project isn't some tiny app no one will use. It's a huge app that a few people might use maybe. :)

-Jim

Sunday, October 5, 2014

Facebook Integration!

The past week has been exceptionally hectic and interesting for the MeNext crew -- we started exploring Facebook integration. This was prompted by an issue with user authentication that we believe can be solved by using the Facebook login API. Jim read over the iOS documentation for the framework and begun preparing for implementation. Josh did the same for Android, along with registering for an API key from Facebook. I begun working on a revamped, simpler login page to accommodate the change.