aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
Commit message (Collapse)AuthorAgeLines
* handle offline/online event and set flag to indicate current state, also set ↵Struan Donald2013-04-18-3/+16
| | | | this on init
* use moment to add created date to drafts and display themStruan Donald2013-04-17-3/+18
|
* quick link to use an existing draft from reports pageStruan Donald2013-04-17-1/+10
|
* quick link reports pageStruan Donald2013-04-17-0/+8
|
* add delete link to my reports pageStruan Donald2013-04-17-0/+19
|
* move removeDraft functionality to main object and use that elsewhereStruan Donald2013-04-16-28/+29
|
* need to capture event in order to prevent defaultStruan Donald2013-04-15-1/+1
|
* use correct strings objectStruan Donald2013-04-15-1/+1
|
* quick list of current draft reportsStruan Donald2013-04-12-1/+16
|
* if no internet connection then allow the user to create an offlineStruan Donald2013-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 submissionStruan Donald2013-04-11-1/+1
|
* clean up properly if we are discarding the current draftStruan Donald2013-04-11-1/+13
|
* reset current draft after we have removed itStruan Donald2013-04-11-0/+1
|
* if the current draft has a category then default to that on the details pageStruan Donald2013-04-10-0/+6
|
* when we have submitted a report remove the draft and any associated photoStruan Donald2013-04-10-2/+16
|
* correct overagressive search and replace from a while agoStruan Donald2013-04-10-1/+1
|
* when we take a photo copy it from the tmp location to somewhere weStruan Donald2013-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 whichStruan Donald2013-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 robustStruan Donald2013-04-10-1/+1
|
* remove debugStruan Donald2013-04-09-1/+0
|
* change wording on photo page next button as you add/remove photoStruan Donald2013-04-09-0/+2
|
* add TODO about file storageStruan Donald2013-04-09-0/+2
|
* if the user has a saved report then ask them if they want to use thatStruan Donald2013-04-09-1/+35
| | | | when they start the app
* save current draft to localStorage whenever we update it so we can reuse laterStruan Donald2013-04-08-3/+15
|
* use id and not cid as we cannot look up using when we reloadStruan Donald2013-04-08-1/+1
|
* Trying to use the same model for both remote and localStorage wasStruan Donald2013-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 messageStruan Donald2013-04-08-9/+20
|
* save and load current report on app pause and resumeStruan Donald2013-04-02-3/+53
|
* add event to use GPS location from address search screenStruan Donald2013-03-25-0/+6
|
* add search button to locating screenStruan Donald2013-03-25-0/+1
|
* use listenTo instead of on for search event listening and also stop ↵Struan Donald2013-03-25-3/+8
| | | | listening to events
* update -> track as it is a better nameStruan Donald2013-03-21-9/+9
|
* if we have shown the map we alway want to listen for position updatesStruan Donald2013-03-21-3/+3
|
* no sense turning progress bar green only to hide itStruan Donald2013-03-21-1/+3
| | | | also, make sure ajaxLoader overlay is hidden
* remove unused that = thisStruan Donald2013-03-21-1/+0
|
* move coordindate projection code to helper methodStruan Donald2013-03-21-12/+12
|
* remove debug statementsStruan Donald2013-03-21-8/+0
|
* The first time this is called the watch id doesn't seem to be availableStruan Donald2013-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 mapStruan Donald2013-03-21-0/+4
|
* clear the correct watchStruan Donald2013-03-21-1/+1
|
* use listenTo rather than on as it makes it easier to stopStruan Donald2013-03-21-11/+15
|
* if multiple matches on address search display list and go to map when one is ↵Struan Donald2013-03-21-3/+18
| | | | selected
* correct editoStruan Donald2013-03-21-1/+1
|
* simple address search functionalityStruan Donald2013-03-21-2/+68
|
* do no try and recenter the map if there is no mapStruan Donald2013-03-20-0/+5
|
* track when we are updating position and stop updating when we leave the screenStruan Donald2013-03-20-0/+4
|
* set currentPosition whenever we center mapStruan Donald2013-03-20-0/+2
|
* add temp toolbar button to recenter map on GPS locationStruan Donald2013-03-20-0/+11
| | | | save current GPS position and use to recenter map
* display blue dot at current location and update as person movesStruan Donald2013-03-20-0/+53
|
* change location object to be a property of FMS objectStruan Donald2013-03-20-90/+97
| | | | distinguish between gps ans search events