new branch for editing model.js stuff. currently working on token request
branch for getting new token and placing it properly, will make a new branch for saving to localstorage.. so far getting close - simply have to parse and place the token properly
it displays the token. merging back to dev. will need to finish implementing the error responses part of this.. so don't delete branch
onto editing the monster that is the send request function. ideally just point the exact same request to Purina.. we'll see. switching to new branch
about to replace all jQuery --> $
found the api call, see most recent TODO for next step. lunchtime
sending request to moearthnetworks-test.apigee.net but only getting the values .. no information with the response (like no headers, no status code .. etc) - must fix this problem
GOT 'EM. merging back to modeljs
added TODOs and documentation to controller.js and model.js for future steps. mainly testing and handling errors at this point. after that, we'll see if this version of model.js can handle the templates for real smartdocs
committing so i can switch branch
switching to play branch to test out some stuff
gotta run but getting close, working on getting the error messages right and storage right. til tomorrow
got some error messages to appear in password grant. pretty much handles all the neccesary things. now all thats left is to make the sandbox pretty.. not gonna do that because i must finish this is two days. will move on to working on the templates now after moving through some TODOs
fixed storage issues as well. now its just fixing the UI && small bit of functionality (icon to delete info from storage and disappearing form elements based on what the user is doing)
fix what happens if theres no authentication with just send request button
changed templates back. @marsh i have to go into drupal -> smartdocs -> generate my own templates (because i cant switch the default ones) and tehn apply modeljs to that (and controllerjs)