aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
Commit message (Collapse)AuthorAgeLines
...
* 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
|
* return to the map screen and not the home screen from account and draftsStruan Donald2013-07-17-2/+4
|
* Change invalid report handling to allow subclass to override it.Struan Donald2013-07-17-18/+21
| | | | Fix submit password screen to use this. Fixes #42
* close correct tagStruan Donald2013-07-16-1/+1
|
* If the category extras lookup fails display error. Fixes #48.Struan Donald2013-07-16-1/+2
|
* If location check fails display an error. Fixes #47.Struan Donald2013-07-16-2/+6
|
* remove old, unused fileStruan Donald2013-07-16-931/+0
|
* focus on something before we leave the details screen to try and dismiss the ↵Struan Donald2013-07-16-0/+2
| | | | onscreen keyboard on android. Should fix #45
* use a unique name for each photo added to a report in order to get roundStruan Donald2013-07-16-10/+11
| | | | | | what seem to be iOS caching issues on the photo screen if you add, remove and then add a photo. Previously it would display the original photo rather than the new one.
* On android we access photos directly on the file system rather than inStruan Donald2013-07-16-1/+51
| | | | | | | | their own app sandbox as on iOS so we need to copy files instead of moving them as otherwise we end up deleting people's photos which would be bad. As part of this we should avoid trying to copy or move a file on to itself as that fails so check that the source and destination files aren't the same. This should sort out the problems in #43.
* set flag on startup to use in checking for AndroidStruan Donald2013-07-16-0/+2
|
* do not try and move photos if the files are the sameStruan Donald2013-07-15-1/+9
|
* display splash screen on androidStruan Donald2013-07-15-0/+3
|
* instead of using js to inject the correct cordova js file in toStruan Donald2013-07-12-0/+6196
index.html restructure things so that the common files are a level down and the platofrm specific ones are directly placed in the relevant project. This both makes for less fuss and also avoids the error with Android < v3 instantiating cordova twice. Note that the iOS common assets are included by a build script rather than a symlink as symlinking doesn't seem to agree with Xcode