aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/app.js
Commit message (Collapse)AuthorAgeLines
* Restore open-in-browser functionalityDave Arter2015-08-28-2/+6
| | | | | The target="_system" syntax no longer works with window.open. Instead a specific InAppBrowser plugin is required.
* update Android to Cordova 3.6Struan Donald2015-08-28-0/+336
| | | | | | | | 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-209/+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
* Do not save an empty report when suspending the app. Fixes #36Struan Donald2013-07-09-3/+5
|
* make sure device variable exists before trying to use itStruan Donald2013-06-28-1/+1
|
* turn transitions back off for Android as not a priority for the platformStruan Donald2013-06-24-1/+1
|
* turn on transitions on Android 4+Struan Donald2013-06-24-1/+1
|
* initial rework of password setting workflowStruan Donald2013-06-21-1/+1
|
* check for, display and send extra details on open311 categoriesStruan Donald2013-06-19-1/+1
|
* There seem to be all sorts of issues with transitions doing oddStruan Donald2013-06-04-0/+5
| | | | | flickering on android, at least in the emulator, so disable them totally for now.
* clicking on pins to get more detail of report now works. Fixes #428Struan Donald2013-05-31-0/+7
|
* check logged in status by using api callStruan Donald2013-04-26-5/+22
|
* split out network status check to separate functionStruan Donald2013-04-26-5/+9
|
* basic login page and link from map screenStruan Donald2013-04-24-1/+1
|
* only confirm name, phone and anonymity if we have the email and password ↵Struan Donald2013-04-24-1/+6
| | | | when submitting
* removing some debug codeStruan Donald2013-04-23-4/+2
|
* small tweaks to try and resolve android startup issuesStruan Donald2013-04-23-2/+4
|
* correct autocompleto errorStruan Donald2013-04-22-1/+1
|
* set and clear currentDraft details via methods on FMS object to ensure ↵Struan Donald2013-04-22-0/+10
| | | | consistency
* standardise on currentPositionStruan Donald2013-04-22-1/+0
|
* display standard jquery mobile busy spinner when we are making an ajax requestStruan Donald2013-04-22-0/+3
|
* sort drafts in reverse date orderStruan Donald2013-04-22-0/+1
|
* move location accuracy out to configStruan Donald2013-04-22-2/+0
|
* extract geolocation parts of view out to view that is inherited fromStruan Donald2013-04-22-0/+2
|
* display a save for later page if between starting the report andStruan Donald2013-04-18-1/+1
| | | | submitting it we have gone offline
* handle offline/online event and set flag to indicate current state, also set ↵Struan Donald2013-04-18-0/+15
| | | | this on init
* move removeDraft functionality to main object and use that elsewhereStruan Donald2013-04-16-0/+16
|
* if no internet connection then allow the user to create an offlineStruan Donald2013-04-12-1/+1
| | | | | | | | | 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
* explicitely check if current user is null as that seems more robustStruan Donald2013-04-10-1/+1
|
* remove debugStruan Donald2013-04-09-1/+0
|
* if the user has a saved report then ask them if they want to use thatStruan Donald2013-04-09-1/+1
| | | | when they start the app
* 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-17/+19
| | | | | involving all sorts of hackery so it's easier and cleaner to move to separate models for reports and drafts
* save and load current report on app pause and resumeStruan Donald2013-04-02-0/+22
|
* simple address search functionalityStruan Donald2013-03-21-1/+1
|
* add temp toolbar button to recenter map on GPS locationStruan Donald2013-03-20-0/+1
| | | | save current GPS position and use to recenter map
* change location object to be a property of FMS objectStruan Donald2013-03-20-1/+3
| | | | distinguish between gps ans search events
* remove unnecessary semi-colons that jslint objects toStruan Donald2013-03-07-2/+2
|
* change the workflow of the user details screen to seperate out askingStruan Donald2013-03-06-1/+1
| | | | | for passwords/email to different screens only works for email screen at moment
* save personal details when we submit, load them when we start and useStruan Donald2013-03-05-0/+10
| | | | them in the submit form
* add in placeholder sent pageStruan Donald2013-03-04-1/+1
|
* basic routing to submit screenStruan Donald2013-03-01-1/+1
|
* add report model and use it to store and fetch categories for details templateStruan Donald2013-03-01-0/+2
|
* add in details screenStruan Donald2013-02-28-1/+1
|
* add in photo page and navigation to pageStruan Donald2013-02-28-1/+1
| | | | also used jquery mobile pageshow/hide events instead of our own
* WIP around page displayStruan Donald2013-02-28-1/+1
|
* cut back to basic backbone based appStruan Donald2013-02-27-0/+87