aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
Commit message (Collapse)AuthorAgeLines
* make sure the relocate button is hidden before map displayStruan Donald2013-08-07-0/+1
|
* Force saving of draft if removing a photoStruan Donald2013-08-07-3/+3
| | | | | | | | Becuase we don't save drafts that are only a location once you remove the photo from a report that only has a location and a photo that change isn't saved as it becomes a report with only a location hence add a force option so saveCurrentDrafts and use it when removing a photo. Fixes #86
* Improve feel of photo adding screenStruan Donald2013-08-06-0/+8
| | | | | | Now we hide the placeholder image to stop jerky resizing Also display a busy indicator so the user knows something is happening Fixes #83 after a fashion.
* only hide search errors if there is a mapStruan Donald2013-08-06-2/+4
| | | | | Otherwise when the inital search fails bluring the search box removes the errors which doesn't seem very helpful
* resize and use appropriately sized pin and crosshair imagesStruan Donald2013-08-06-2/+2
| | | | Fixed #69.
* resize loading screen to remove brown bar at bottom on Android 2Struan Donald2013-08-06-0/+1
|
* Return to details extra page from submit page as appropriateStruan Donald2013-08-05-2/+17
| | | | Fixes #82
* Only stop listening to search events once search completeStruan Donald2013-08-05-2/+4
| | | | | | Don't stop listening to all locator events as that stops the current location GPS function working. Fixes #80.
* fix .attr callStruan Donald2013-08-05-1/+1
|
* Improve display of error messages on confirm screenStruan Donald2013-08-05-0/+3
| | | | | | | Hide start blurb and replace with errors in order to stop the screen getting too long. Fixes #77.
* Merge remote-tracking branch 'origin/master'Struan Donald2013-08-05-1/+1
|\
| * Fixed text for no-location search boxJedidiah Broadbent2013-08-05-1/+1
| |
* | Display reposition report button after recentering mapStruan Donald2013-08-05-1/+21
| | | | | | | | | | | | | | If recentering the map moves the crosshair position to somewhere different to the current report location then display the reposition button. Includes small margin of error for GPS noise etc. Fixes #75
* | Improve name validationStruan Donald2013-08-05-1/+1
| | | | | | | | | | Insist on a space somewhere in the name to match server side rules. Fixes #76
* | Add basic validation to set password screenStruan Donald2013-08-05-5/+7
|/ | | | Fixes #78
* remove debug codeStruan Donald2013-08-02-2/+0
|
* Make message strings a bit more consistentStruan Donald2013-08-02-8/+8
| | | | | Add full stop at the end of all messages try again -> try again later
* Improve the select draft -> map transitionStruan Donald2013-08-02-0/+16
| | | | | | | | Hide the list of reports to stop the weird popup things and start off the map change before we navigate to the map screen as it then looks part of the same action rather than transition followed by map move. Fixes #72
* do not highlight the email field for general login errorsStruan Donald2013-08-02-2/+2
|
* always dismiss onscreen keyboard when logging inStruan Donald2013-08-02-2/+1
|
* improve display of search errorsStruan Donald2013-08-01-2/+22
|
* Make sure drafts button is hidden initiallyStruan Donald2013-08-01-0/+1
| | | | | Avoids it appearing and disappearing if yo go back to the screen from the photo page
* Do not perform background map blurring unless iPhone 4s+Struan Donald2013-08-01-1/+3
| | | | | On iPhone 4 it slows things down too much and as there's no way to sensibly limit this on Android devices just don't do it on Android.
* detect and store iPhone model version on startupStruan Donald2013-08-01-0/+6
|
* server actually sends back titles_list not title_listStruan Donald2013-08-01-2/+2
|
* make template language a config optionStruan Donald2013-07-30-1/+4
|
* force bbox update if we cancel the current reportStruan Donald2013-07-30-0/+2
| | | | Fixes #71
* Hide popup and make sure crosshairs visible when click New ReportStruan Donald2013-07-30-0/+2
| | | | Fixes #67
* Get crosshair size right and don't scale upStruan Donald2013-07-30-1/+1
| | | | For #69.
* pass in back button event from handlerStruan Donald2013-07-29-3/+3
| | | | | | | | This is so that the onClickButtonPrev method we eventually pass to requires an event so without having this we were breaking this and causing the back button to do nothing. Fixes #68.
* Provide options if report submission failsStruan Donald2013-07-26-3/+22
| | | | | Rather that just please retry offer user ability to either save the report for later or to try again.
* More reliably make sure crosshair is displayedStruan Donald2013-07-26-5/+2
| | | | | | | The touchstart event seem unreliable in combination with openlayers and also the ability of backbone to capture events from an element not managed by it is also suspect so use touchend which is more reliable and directly manage handling it. It's not as neat but it works reliably :/
* display keyboard automatically on locating failed screen. Fixes #65Struan Donald2013-07-25-0/+1
|
* redisplay the corsshairs if the user touches the map. Fixes #5Struan Donald2013-07-25-0/+5
|
* move cancelling of offline locate click default up to the view the eventStruan Donald2013-07-25-3/+7
| | | | | is for rather because locator.locate usually doesn't get an event and it's silly to put a guard clause there
* add and remove background-map class to map_box when map enters/leaves ↵Struan Donald2013-07-25-0/+2
| | | | background. Fixes #64
* stop phantom click throughs from canceling the locating screen and also from ↵Struan Donald2013-07-25-2/+4
| | | | it starting and immediately returning on the offline screen
* Stop locating screen being able to scroll. Fixes #60Struan Donald2013-07-25-0/+3
|
* change to use phonegap API alert call so we can use a title inStruan Donald2013-07-23-8/+11
| | | | | the alert box and then use own internal function to call this to ensure consistency
* If we pause the app then it seems to fire the report synced event on iOSStruan Donald2013-07-23-0/+5
| | | | | | | which means we change page. However, it does this outside the report model so we set a success flag on the report and then check for that in the sync event handler to make sure it's a genuine report sync event. Fixes #59.
* improve handling of upload errorsStruan Donald2013-07-22-4/+6
|
* Pause and restart position updating on app pause and resume to stop ↵Struan Donald2013-07-22-2/+10
| | | | backgroud GPS tracking on Android. Fixes #61
* try again goes to around rather than home from offline screenStruan Donald2013-07-19-1/+1
|
* If we have a net connection when we resume then set app to onlineStruan Donald2013-07-19-0/+2
| | | | | mode otherwise it gets stuck in offline mode if it was there before the pause
* hide locating screen before changing to offline screen as otherwise you get ↵Struan Donald2013-07-19-0/+1
| | | | a strange reduced suxe locating screen on transition
* avoid distorting photo placeholder image. Fixes #50Struan Donald2013-07-19-2/+2
|
* do not display lat/long of offline report. For #55Struan Donald2013-07-18-1/+1
|
* update text and how deleteing all drafts is handled on drafts screen. Fixes #49Struan Donald2013-07-18-0/+12
|
* fix layout of offline save page. Fixes #53Struan Donald2013-07-18-0/+1
|
* correct typoStruan Donald2013-07-17-1/+1
|