Starting a new branch with the refactoring changes I have currently. Right now, Join is nearly complete with location data as well. You need to clear the browser cache each time when testing.
Finally fixed synchronization of statements to load up the stores when joining a group. Still have a few minor bugs to work through.
Added join and init functionality for app flow
Handled joined groups and refreshed 'My Groups' tab
Big refactoring changes to joining a group as well as initializing the groups and clearing the stores upon app load. Fixed a bug with the user markers not initializing as the correct color as well.
Merged 'Groups_Refactoring' - Stephan's commit with my commit
Finished refactoring leave group. Need to fix the error conditions that the server sends back.
Changed response results in JsonP requests to reflect server changes made by Tom. Indexes result[0].message for all server error messages.
Added location update capabilities. Still working through a bug with a user location not being update until a cycle after the update. Also added taskrunner, an extjs library for doing the 10 minute task of checking for location_updates
abstracted the rider position variable to the outside of the each function.
Adding test tiles to the repository
updated beta start and end time
Added rider id and groupcode to leaflet user markers so we can iterate over them to update them. Location updates work now!
Merge branch 'Groups_Refactoring' of https://github.com/LeeFischman/devcycle-mobile-app into Groups_Refactoring
Changed tour_id in config.json to reflect our test tour
Committing location updates revamp. Still needs debug.
Merge branch 'Groups_Refactoring' of https://github.com/LeeFischman/devcycle-mobile-app into Groups_Refactoring
Revamped Map.js. Need to use findExact for records
Added findExact calls to get rid of issues with using just find for store records. Also rewrote the updateMap function to take a group_code because asynchronous calls were being made which caused rider positions not to update until after two cycles. The flow is now: updateGroup which calls the jsonp request, updates the group rider store, and then finally updates the map for a given group code.