aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
Commit message (Collapse)AuthorAgeLines
* Merge branch 'translation-fixes'masterMatthew Somerville2016-09-13-4/+6
|\
| * Translated "Untitled draft".translation-fixesMatthew Somerville2016-09-05-1/+2
| |
| * Translate "Next" and "More details".Matthew Somerville2016-09-05-3/+4
| | | | | | | | Fixes #231. Fixes #233.
* | just to test in the browser: run without CordovaThomas Tursics2016-06-30-4/+14
|/
* Use OpenStreetMap tiles by default.198-nicerMatthew Somerville2016-05-11-38/+12
| | | | | | Add a MAP_TYPE configuration option to choose what map tiles to use, defaulting to OpenStreetMap. This fixes the issue of people outside the UK getting a grey map.
* Merge remote-tracking branch 'mysociety/cordova-6-fix-double-slash' into ↵Steven Day2016-04-28-6/+6
|\ | | | | | | cordova-6
| * Remove report parsing of photo.cordova-6-fix-double-slashMatthew Somerville2016-04-26-1/+0
| | | | | | | | | | This was not used anywhere, and is no longer returned by the server, as it now returns a photos array.
| * Specify that FMS_URL should not have an end slash.Matthew Somerville2016-04-26-5/+6
| | | | | | | | | | This way round is better in case of URLs returned from the server (e.g. for photos) that will have a starting slash.
* | Merge remote-tracking branch 'mysociety/cordova-6-fix-maps' into cordova-6Steven Day2016-04-28-58/+98
|\ \
| * | Fix displaying of map tiles.cordova-6-fix-mapsMatthew Somerville2016-04-26-58/+98
| |/ | | | | | | | | This updates the map tile code to match the website, allowing easier non-UK usage of Bing Maps by not including the map-fms.js file.
* / Swap the SoftKeyboard plugin for ionic'sSteven Day2016-04-28-36/+1
|/ | | | | | | We already had this plugin to help solve issues with the view scrolling on iOS, and since it offers the same functionality for closing the keyboard as the SoftKeyboard plugin, it makes sense to only use one.
* Stop iOS scrolling the view when the keyboard is shownSteven Day2016-04-26-0/+2
|
* Only provide example config files; add cobrand docs to READMEphonegap-3Dave Arter2015-08-28-17/+17
|
* Allow cobrands to override templatesDave Arter2015-08-28-9/+40
|
* Fix undefined value errorDave Arter2015-08-28-2/+2
|
* Only switch map tiles to Ordnance Survey at higher zoom levels when ↵Dave Arter2015-08-28-3/+3
| | | | CONFIG.isUK is true
* Restore open-in-browser functionalityDave Arter2015-08-28-4/+8
| | | | | The target="_system" syntax no longer works with window.open. Instead a specific InAppBrowser plugin is required.
* Define PositionError object as navigator.geoLocation doesn't define itDave Arter2015-08-28-0/+8
|
* update Android to Cordova 3.6Struan Donald2015-08-28-0/+5902
| | | | | | | | 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
* instead of using js to inject the correct cordova js file in toStruan Donald2013-07-12-6196/+0
| | | | | | | | | | 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
* turn off splash screen fading and add in locating like screens on indexStruan Donald2013-07-10-0/+1
| | | | page and home page to minimise the flickering at start up
* improve layout of drafts screen with icons to indicate if there is aStruan Donald2013-07-09-1/+1
| | | | | photo or location associated with the report. Also make the date a bit friendlier
* Do not save an empty report when suspending the app. Fixes #36Struan Donald2013-07-09-3/+5
|
* set existing page height using minimum heightStruan Donald2013-07-09-0/+4
|
* correct logic in map platofrm check to fail if no device variable definedStruan Donald2013-07-09-2/+2
|
* Fix path for non svg location pin image. Fixes #35Struan Donald2013-07-09-2/+2
|
* set map to fixed in JS as well as cssStruan Donald2013-07-09-1/+1
|
* on the drafts page the content can be higher than the screen so we needStruan Donald2013-07-09-1/+9
| | | | | to set the minimum page height rather than the height so extract out the page height method and override that on drafts page
* event for canceling offline geolocationStruan Donald2013-07-08-0/+5
|
* make sure current position tracking is on when we return to the mapStruan Donald2013-07-04-0/+2
|
* if we return to the map don't jump to the current position but leave itStruan Donald2013-07-04-1/+3
| | | | | where they were as it's annoying to e.g. move the map, go to the account screen and then have the map unmove
* make sure we don't save the unselected category prompt as the categoryStruan Donald2013-07-04-2/+6
| | | | as that upsets our 'is this an empty draft' checking
* when canceling a report, if it has no details at all we should delete itStruan Donald2013-07-04-0/+14
| | | | from the list of drafts to stop the list filling up with empty reports
* reactivate pin popup display code when return to the screen. Fixes #33Struan Donald2013-07-04-0/+1
|
* stop signout button propogating event to sign in buttonStruan Donald2013-07-04-1/+2
|
* remove unused codeStruan Donald2013-07-04-14/+1
|
* Fix to stop password setting attempting to login. Fixes #11Struan Donald2013-07-04-1/+4
|
* consolidate the images in one directoryStruan Donald2013-07-03-8/+8
|
* tidy up of lots of unused filesStruan Donald2013-07-03-1413/+0
|
* default to non svg pin graphic and use svg version if we know the platform ↵Struan Donald2013-07-02-2/+11
| | | | supports it
* use css to set crosshair image instead of hard coding it in openlayers ↵Struan Donald2013-07-02-1/+3
| | | | control to allow media query retina switching
* add some instructional text to the name request pageStruan Donald2013-06-28-2/+5
|
* create set name page that goes back to correct place if you have set a ↵Struan Donald2013-06-28-1/+17
| | | | password. Fixes #459
* slightly better login error messageStruan Donald2013-06-28-1/+1
|
* slightly improved reporting error messagesStruan Donald2013-06-28-3/+8
|
* make sure device variable exists before trying to use itStruan Donald2013-06-28-1/+1
|
* we need to explicitly deactivate and activate the control that displaysStruan Donald2013-06-28-1/+4
| | | | | the reposition button when we deactivate and activate the map nav as otherwise it doesn't work when we return to the map screen.
* only show relocate button if GPS locating has worked in some wayStruan Donald2013-06-28-1/+2
|
* use the position of the marker rather than crosshairs to set report locationStruan Donald2013-06-28-1/+13
|
* make sure we turn map scrolling on and off when when enter and leave map screen.Struan Donald2013-06-28-6/+13
| | | | also refactor all common map screen leaving functions into one place