aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/models
Commit message (Collapse)AuthorAgeLines
* update Android to Cordova 3.6Struan Donald2015-08-28-298/+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
* 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
* remove unwanted debug statementsStruan Donald2013-08-23-1/+0
|
* make photo upload timeout configurableStruan Donald2013-08-09-1/+1
|
* Put in place timeout for file uploadStruan Donald2013-08-09-17/+54
| | | | | | | A timeout mechanism that checks that the file is uploading and if not then bails out, and even if it is bails out after 2 minutes Fixes #87
* Do not hard code image uploading messageStruan Donald2013-08-09-2/+2
|
* Better feedback when submitting imagesStruan Donald2013-08-08-1/+16
| | | | | Add a message and, if possible, a progress bar For #87.
* If we pause the app then it seems to fire the report synced event on iOSStruan Donald2013-07-23-0/+2
| | | | | | | 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-2/+4
|
* instead of using js to inject the correct cordova js file in toStruan Donald2013-07-12-0/+243
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