aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/models
Commit message (Collapse)AuthorAgeLines
* update Android to Cordova 3.6Struan Donald2015-08-28-0/+298
| | | | | | | | 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-243/+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
* 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
* slightly improved reporting error messagesStruan Donald2013-06-28-1/+1
|
* if a list of user titles is provided by the server ask for and require oneStruan Donald2013-06-19-1/+2
|
* check for, display and send extra details on open311 categoriesStruan Donald2013-06-19-0/+7
|
* if the server rejects the report as invalid then display some errorsStruan Donald2013-06-12-2/+2
|
* if we sign in as part of submission remember that we are signed inStruan Donald2013-06-11-0/+1
|
* show loading screen if we are uploading a photoStruan Donald2013-06-11-0/+3
|
* More explicable behaviour when you click cancel on the map screenStruan Donald2013-06-07-0/+13
| | | | | If the report only has location details then just throw them away, otherwise leave the report as a draft and then create a new draft
* if signed in and confirming name then actually use confirmed detailsStruan Donald2013-04-26-3/+3
|
* handle report submission errors correctly when reporting with a photoStruan Donald2013-04-25-1/+5
|
* use two digits for minutes in time on reports pageStruan Donald2013-04-25-1/+1
|
* ajaxOverlay is not used so remove mentions of itStruan Donald2013-04-22-3/+0
|
* add default draft description if there is no titleStruan Donald2013-04-22-0/+2
|
* use nth day rather than nth monthStruan Donald2013-04-22-1/+1
|
* use moment to add created date to drafts and display themStruan Donald2013-04-17-3/+18
|
* use correct strings objectStruan Donald2013-04-15-1/+1
|
* correct overagressive search and replace from a while agoStruan Donald2013-04-10-1/+1
|
* report might be a copy of a draft which has already been saved in whichStruan Donald2013-04-10-0/+1
| | | | | | case backbone thinks it's doing an update so treat update and create the same rather than trying to delve around in backbone internals changing states
* Trying to use the same model for both remote and localStorage wasStruan Donald2013-04-08-18/+28
| | | | | 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/+18
|
* add in user modelStruan Donald2013-03-07-0/+17
|
* do not refine optionsStruan Donald2013-03-07-8/+7
|
* remove unnecessary semi-colons that jslint objects toStruan Donald2013-03-07-1/+1
|
* submit report by signing in with a passwordStruan Donald2013-03-06-1/+1
|
* change the workflow of the user details screen to seperate out askingStruan Donald2013-03-06-24/+9
| | | | | 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-4/+2
| | | | them in the submit form
* remove debug codeStruan Donald2013-03-04-3/+0
|
* use the FMS.strings object rather than STRINGSStruan Donald2013-03-04-1/+1
|
* use syc/error event triggers for reports with photosStruan Donald2013-03-04-3/+3
|
* include may show name option in reportStruan Donald2013-03-04-0/+1
|
* submit page can now submit reports to be confirmed by emailStruan Donald2013-03-04-3/+16
|
* fix typoStruan Donald2013-03-04-1/+4
|
* add in take and choose photo actionsStruan Donald2013-03-04-1/+2
|
* add report model and use it to store and fetch categories for details templateStruan Donald2013-03-01-0/+157