Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | handle offline/online event and set flag to indicate current state, also set ↵ | Struan Donald | 2013-04-18 | -3/+16 |
| | | | | this on init | |||
* | use moment to add created date to drafts and display them | Struan Donald | 2013-04-17 | -3/+18 |
| | ||||
* | quick link to use an existing draft from reports page | Struan Donald | 2013-04-17 | -1/+10 |
| | ||||
* | quick link reports page | Struan Donald | 2013-04-17 | -0/+8 |
| | ||||
* | add delete link to my reports page | Struan Donald | 2013-04-17 | -0/+19 |
| | ||||
* | move removeDraft functionality to main object and use that elsewhere | Struan Donald | 2013-04-16 | -28/+29 |
| | ||||
* | need to capture event in order to prevent default | Struan Donald | 2013-04-15 | -1/+1 |
| | ||||
* | use correct strings object | Struan Donald | 2013-04-15 | -1/+1 |
| | ||||
* | quick list of current draft reports | Struan Donald | 2013-04-12 | -1/+16 |
| | ||||
* | if no internet connection then allow the user to create an offline | Struan Donald | 2013-04-12 | -4/+110 |
| | | | | | | | | | report with a title, details and a photo Alter the checking for in progress reports not to require a location as offline reports might not have one Also add a holding page for a users reports | |||
* | use the correct variable when cleaning up photo after submission | Struan Donald | 2013-04-11 | -1/+1 |
| | ||||
* | clean up properly if we are discarding the current draft | Struan Donald | 2013-04-11 | -1/+13 |
| | ||||
* | reset current draft after we have removed it | Struan Donald | 2013-04-11 | -0/+1 |
| | ||||
* | if the current draft has a category then default to that on the details page | Struan Donald | 2013-04-10 | -0/+6 |
| | ||||
* | when we have submitted a report remove the draft and any associated photo | Struan Donald | 2013-04-10 | -2/+16 |
| | ||||
* | correct overagressive search and replace from a while ago | Struan Donald | 2013-04-10 | -1/+1 |
| | ||||
* | when we take a photo copy it from the tmp location to somewhere we | Struan Donald | 2013-04-10 | -15/+153 |
| | | | | | | specify so that it doesn't get deleted automatically. likewise when we delete a photo delete it from out storage | |||
* | report might be a copy of a draft which has already been saved in which | Struan Donald | 2013-04-10 | -0/+1 |
| | | | | | | case backbone thinks it's doing an update so treat update and create the same rather than trying to delve around in backbone internals changing states | |||
* | explicitely check if current user is null as that seems more robust | Struan Donald | 2013-04-10 | -1/+1 |
| | ||||
* | remove debug | Struan Donald | 2013-04-09 | -1/+0 |
| | ||||
* | change wording on photo page next button as you add/remove photo | Struan Donald | 2013-04-09 | -0/+2 |
| | ||||
* | add TODO about file storage | Struan Donald | 2013-04-09 | -0/+2 |
| | ||||
* | if the user has a saved report then ask them if they want to use that | Struan Donald | 2013-04-09 | -1/+35 |
| | | | | when they start the app | |||
* | save current draft to localStorage whenever we update it so we can reuse later | Struan Donald | 2013-04-08 | -3/+15 |
| | ||||
* | use id and not cid as we cannot look up using when we reload | Struan Donald | 2013-04-08 | -1/+1 |
| | ||||
* | Trying to use the same model for both remote and localStorage was | Struan Donald | 2013-04-08 | -53/+65 |
| | | | | | involving all sorts of hackery so it's easier and cleaner to move to separate models for reports and drafts | |||
* | if geolocation fails display search page with message | Struan Donald | 2013-04-08 | -9/+20 |
| | ||||
* | save and load current report on app pause and resume | Struan Donald | 2013-04-02 | -3/+53 |
| | ||||
* | add event to use GPS location from address search screen | Struan Donald | 2013-03-25 | -0/+6 |
| | ||||
* | add search button to locating screen | Struan Donald | 2013-03-25 | -0/+1 |
| | ||||
* | use listenTo instead of on for search event listening and also stop ↵ | Struan Donald | 2013-03-25 | -3/+8 |
| | | | | listening to events | |||
* | update -> track as it is a better name | Struan Donald | 2013-03-21 | -9/+9 |
| | ||||
* | if we have shown the map we alway want to listen for position updates | Struan Donald | 2013-03-21 | -3/+3 |
| | ||||
* | no sense turning progress bar green only to hide it | Struan Donald | 2013-03-21 | -1/+3 |
| | | | | also, make sure ajaxLoader overlay is hidden | |||
* | remove unused that = this | Struan Donald | 2013-03-21 | -1/+0 |
| | ||||
* | move coordindate projection code to helper method | Struan Donald | 2013-03-21 | -12/+12 |
| | ||||
* | remove debug statements | Struan Donald | 2013-03-21 | -8/+0 |
| | ||||
* | The first time this is called the watch id doesn't seem to be available | Struan Donald | 2013-03-21 | -2/+0 |
| | | | | | so if we only call this once, as is aften the case if you move to one screen and back to aroun screen, then it never sets the posiotion of the dot | |||
* | if we have a report with a location set display that on the map | Struan Donald | 2013-03-21 | -0/+4 |
| | ||||
* | clear the correct watch | Struan Donald | 2013-03-21 | -1/+1 |
| | ||||
* | use listenTo rather than on as it makes it easier to stop | Struan Donald | 2013-03-21 | -11/+15 |
| | ||||
* | if multiple matches on address search display list and go to map when one is ↵ | Struan Donald | 2013-03-21 | -3/+18 |
| | | | | selected | |||
* | correct edito | Struan Donald | 2013-03-21 | -1/+1 |
| | ||||
* | simple address search functionality | Struan Donald | 2013-03-21 | -2/+68 |
| | ||||
* | do no try and recenter the map if there is no map | Struan Donald | 2013-03-20 | -0/+5 |
| | ||||
* | track when we are updating position and stop updating when we leave the screen | Struan Donald | 2013-03-20 | -0/+4 |
| | ||||
* | set currentPosition whenever we center map | Struan Donald | 2013-03-20 | -0/+2 |
| | ||||
* | add temp toolbar button to recenter map on GPS location | Struan Donald | 2013-03-20 | -0/+11 |
| | | | | save current GPS position and use to recenter map | |||
* | display blue dot at current location and update as person moves | Struan Donald | 2013-03-20 | -0/+53 |
| | ||||
* | change location object to be a property of FMS object | Struan Donald | 2013-03-20 | -90/+97 |
| | | | | distinguish between gps ans search events |