aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/views/submit.js
Commit message (Collapse)AuthorAgeLines
* update Android to Cordova 3.6Struan Donald2015-08-28-480/+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
* Need to confirm title on password screen as wellStruan Donald2014-04-03-0/+10
| | | | | Yet another place where we confirm the name and hence need to confirm the title if required
* Fix variable name typo so it submits with user title if presentStruan Donald2014-01-09-2/+2
| | | | Fixes #159
* 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
* Save last show name publicly statusStruan Donald2013-09-17-3/+6
| | | | | | | Stops people who never want to show their name having to click the option every time. Fixes #134
* Make dubug output conditional on a debug flagStruan Donald2013-08-23-1/+1
| | | | | 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-1/+0
|
* Remember user's name once enteredStruan Donald2013-08-19-0/+4
| | | | Fixes #102
* Reset submission type on choices screenStruan Donald2013-08-19-1/+6
| | | | | Removes problems with starting one type of submission, going back and the state not being properly cleared
* Hide errors on submit login password pageStruan Donald2013-08-16-0/+2
| | | | Otherwise they are still there if you are asked to confirm your name
* fix missing ]Struan Donald2013-08-12-1/+1
|
* Remove hardcoded submission error dialog button stringsStruan Donald2013-08-09-1/+1
|
* Put in place timeout for file uploadStruan Donald2013-08-09-1/+3
| | | | | | | 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
* Reset submission type if confirming by emailStruan Donald2013-08-08-0/+1
| | | | | | Prevents the app form attempting to log you in if you've attempted password login, it's failed and you've gone back to email confirmation. Fixes #88
* Return to details extra page from submit page as appropriateStruan Donald2013-08-05-2/+15
| | | | Fixes #82
* Improve display of error messages on confirm screenStruan Donald2013-08-05-0/+3
| | | | | | | Hide start blurb and replace with errors in order to stop the screen getting too long. Fixes #77.
* Improve name validationStruan Donald2013-08-05-1/+1
| | | | | Insist on a space somewhere in the name to match server side rules. Fixes #76
* Add basic validation to set password screenStruan Donald2013-08-05-5/+7
| | | | Fixes #78
* 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.
* change to use phonegap API alert call so we can use a title inStruan Donald2013-07-23-2/+2
| | | | | 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/+3
| | | | | | | 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/+2
|
* 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
* instead of using js to inject the correct cordova js file in toStruan Donald2013-07-12-0/+405
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