aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeLines
* update Android to Cordova 3.6Struan Donald2015-08-28-12287/+0
| | | | | | | | Required due to security issue Remove Android directory as no longer required, move src -> www to match standard layout, update .gitignore to avoid including the standard platform files, update README based on Steve's zurich one
* Fix help visibility check for back button handlerStruan Donald2014-06-03-1/+1
| | | | | | | The help screen is actually always visible so this was preventing the back button exiting the app on the home screen on Android. Fixes #162
* Need to confirm title on password screen as wellStruan Donald2014-04-03-0/+18
| | | | | Yet another place where we confirm the name and hence need to confirm the title if required
* Hide any alert messages if the user scrolls the mapStruan Donald2014-04-01-0/+3
| | | | For #160
* Include title on confirmation screen if applicableStruan Donald2014-04-01-0/+8
| | | | Fixes #156
* use > 7 rather than == 7 to detect iOS7Struan Donald2014-04-01-1/+1
|
* If help is visible then the back button hides itStruan Donald2014-01-09-1/+3
| | | | Fixes #158
* Set user's title if we know it and it's usedStruan Donald2014-01-09-1/+1
|
* Fix variable name typo so it submits with user title if presentStruan Donald2014-01-09-2/+2
| | | | Fixes #159
* Fix iOS7 issue with map tiles disappearingStruan Donald2013-10-15-0/+4
| | | | Fixes #153
* Do not focus on search box on first loadStruan Donald2013-10-03-1/+5
| | | | The cursor shows through the help overlay
* Fix grey bar at bottom of locating screen in iOS 7Struan Donald2013-10-01-0/+3
|
* Fix fixed position navigation bar on iOS 7Struan Donald2013-10-01-0/+9
| | | | | Add some padding and shift the buttons down to accomodate the margin otherwise the navigation bar is under the status bar
* move ios 7 css tweaks to own 'section' of cssStruan Donald2013-10-01-24/+27
| | | | just for clarity and ease of finding
* Fix iOS splash screen -> locating screen bounceStruan Donald2013-09-27-6/+1
| | | | Logo still goes smaller but less annoying than the bounce
* Fix iOS 7 display to clear scroll barStruan Donald2013-09-26-2/+43
| | | | | If iOS7 set a class on the body and then use this to override various styles as well as the position of the map
* Reduce the size of the photos we useStruan Donald2013-09-24-2/+4
| | | | | This helps to stop crashes on Android when taking photos due to out of memory issues
* split out photo option setting to a methodStruan Donald2013-09-24-2/+26
| | | | To remove duplication of option setting
* Save the current user as we goStruan Donald2013-09-19-0/+6
| | | | | | | This means that if something happens to interrupt the reporting process then any user details entered are not frustrating lost. Fixes #140
* Change initial map page if locating draft with no locationStruan Donald2013-09-18-5/+20
| | | | | | | | Only display the cancel button in the toolbar, use a different button with different text to indicate you are adding a location to an existing report Fixes #138
* Do not show relocate if search errors visibleStruan Donald2013-09-18-1/+3
| | | | Fixes #136
* clear search errors when starting new reportStruan Donald2013-09-18-0/+1
| | | | Fixes #136
* Add an android error pageStruan Donald2013-09-18-0/+17
| | | | | Slightly less jarring than a dialog if something goes wrong during app startup
* Send 0 or 1 to server for may_show nameStruan Donald2013-09-18-1/+1
| | | | | Otherwise may_show_name is always set to true on server Fixes #135
* Save last show name publicly statusStruan Donald2013-09-17-5/+8
| | | | | | | Stops people who never want to show their name having to click the option every time. Fixes #134
* Location instead of positionStruan Donald2013-09-16-2/+2
| | | | For consistency
* remove debug codeStruan Donald2013-09-16-1/+0
|
* Remove hardcoded position result strings from offline pageStruan Donald2013-09-16-2/+4
|
* remove translate3d CSS calls for android phonesStruan Donald2013-09-16-2/+19
| | | | | | This is hopefully to fix the rendering issues on the Galaxy S4. See #116 for details
* Add explanation text to offline locating screenStruan Donald2013-09-16-0/+4
| | | | Fixes #132
* Indicate locating is optional on offline screenStruan Donald2013-09-16-1/+1
| | | | | | Just add extra text to the button. Fixes #131
* Change photo page title if report has a photoStruan Donald2013-09-16-1/+17
| | | | | | | | Also update it when adding a photo to give an indication that adding the photo was succesful. This is to remove any confusion about whether the photo on the page has been added. Fixes #130
* Make sure help 'dialog' is modalStruan Donald2013-09-12-0/+2
| | | | | | | | Both by setting the height of the container to 100% so it always covers the screen and also by adding a transparent background to emphasise that it's covering the screen. Fixes #127
* Add forgotten my password question to helpStruan Donald2013-09-12-0/+5
|
* Add note about confirmation to login errorsStruan Donald2013-09-12-2/+2
| | | | | | | Just to make it obvious you need to click the confirmation link to set activate the password Fixes #124
* Add hint text to set password pageStruan Donald2013-09-12-0/+3
| | | | | | | Mostly to make the user realise that they need to click the link in the confirmation email to activate the password. Fixes #125
* prevent map zoom snapback effectStruan Donald2013-09-11-0/+25
| | | | | | | | | | Overload PinchZoom control to check if we are at the limits of zoom and if so ignore any pinch zoom that tries to go past those limits. This stops the visual glitch of the zoom sort of working and then snaping back and also gives a visual indication of when the zoom limits have been reached. Fixes #118
* Allow details screen to scroll on AndroidStruan Donald2013-09-11-8/+46
| | | | | | | | | | | | | | | | | | | | | This fixes #113 in that it means the user can move the screen to see what fields are available. Previously this was prevented by setting the adjustPan mode for the soft input mode which had fixed a bug with the keyboard not dismissing on transition. This has been resolved by adding a plugin for Android to control display of the soft keyboard and hiding the keyboard before navigation in the navigate method of FMSView. Sadly this then meant that the screen size was being measured *before* the keyboard was dismissed with the result that the screen transitioned too was incorrectly displayed. This was resolved by taking the screen height on start up, storing that as a property of the FMS global object and then using this property instead of measuring the screen size at the time of transition. The map has also been expanded to fill the whole screen rather than stopping at the bottom of the navigation bar as on Android when you scroll the screen the map does not scroll and the gap at the top was visible.
* move action buttons on submit password screen below fieldStruan Donald2013-09-10-2/+2
| | | | | | | | Again, this is to make sure the button is visible when the keyboard is on the screen. This is at the cost of button placement consistency but it's probably more obvious of the user. Related to #120
* Place account login button directly under fieldsStruan Donald2013-09-10-1/+1
| | | | | | | This avoid the big gap in the screen and also means that the button is visible when the keyboard is on the screen. Fixes #120
* Scale photos to roughly 3 MPStruan Donald2013-09-09-2/+2
| | | | | | | | | This should both stop issues with memory on phones and also reduce upload size. Will cause upscaling on phones with < 3MP cameras. 3MP picked as a compromise between quality and file size. Should fix #121
* delay display of photo delete buttonStruan Donald2013-08-23-2/+2
| | | | Stops it appearing on the screen before the photo and looking odd
* Make dubug output conditional on a debug flagStruan Donald2013-08-23-24/+30
| | | | | Replace console.log call to a wrapper function that only outputs if we've set a flag in config.
* remove unwanted debug statementsStruan Donald2013-08-23-6/+0
|
* Correctly handle back button on start screensStruan Donald2013-08-23-2/+26
| | | | | | | | On the inital screens the android back button should quit the app, or if on the map screen and you've started a report it should cancel it. Add in a default back method to FMSView and an override method for the map, exising report and offline screens Fixes #117
* Fix race condition when setting currentViewStruan Donald2013-08-23-2/+4
| | | | | | | | | As the front page only serves to work out what to do on load we should never set the currentView to front-page. However, due to execution order what actually happens is that the navigation to the front page completes after the navigation to the actual page displayed. This means that the incorrect currentView is set and the easiest way to fix is to prevent the currentView being set to the front page
* Reverse direction of locator progress indicatorStruan Donald2013-08-22-3/+3
| | | | Fixes #90
* Change position of remove photo buttonStruan Donald2013-08-21-5/+31
| | | | | | | To stop it accidentally being mistaken for the next action button move the photo button to be a red X button in the lower right corner of the photo. Fixes #112
* Tidy up help text a bitStruan Donald2013-08-21-16/+11
| | | | | Mostly cut down on verbiage and tighten things up a little For #114
* Stop running locate progress indicator when hiddenStruan Donald2013-08-20-0/+3
| | | | | If the locating screen isn't visible then the locating process has stopped so we should stop trying to update the progress indicator