| Commit message (Collapse) | Author | Age | Lines |
|
|
|
| |
Fixes #175.
|
|
|
|
|
|
|
|
|
| |
This occurs if the password is too short or too common, for example.
The user's previously entered password is remembered in the UI. The flow
here is not ideal - it would be better to show the error on the same
screen as the password field, but that would require a bit more
reworking of the code.
|
|
|
|
|
|
|
| |
This ensures all the various SubmitView subclasses set the user
title, if required.
Fixes #156.
|
|
|
|
| |
Adapted from zurich_mobile 374d5e4.
|
|
|
|
|
|
| |
Some categories have extra fields but they’re all hidden;
in this case there’s no point showing the user an empty
screen so it’s skipped.
|
|
|
|
|
|
|
| |
On the details extra/certain submit views, clicking the
“Back” button would skip back two screens because the
event wasn’t cancelled, causing the newly-shown “Back”
button to be triggered.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Adds a correctly-sized splash sceen image and ensures
the full viewport is used by the webview, as well as
adding sufficient vertical padding based on
`safe-area-inset-bottom` CSS variable.
|
| |
|
|
|
|
| |
No need to have rules to avoid overlapping the <iOS 7 status bar any more.
|
|
|
|
|
|
|
|
|
|
|
|
| |
A new CONFIG.MAX_PHOTOS setting enables any number of photos to be
uploaded.
Includes code adapted from from 0ac07c1ea062a68d68d162c3ecdbba7e9da3e4c9
and c207193a0e052ae9e41a6d42e0ac1b704883b25b in zurich_mobile: this is a
bit of an abuse of the FileTransfer plugin, which technically doesn't
support uploading more than one file at a time. There's no good reason
for that though, the HTTP spec allows an arbitrary number of files in a
POST request.
|
| |
|
|
|
|
|
| |
If LOGIN_REQUIRED is true, the app won't let you do anything until
you've logged in.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is the companion cobrand for www.cuidomiciudad.do.
Whilst primarily providing the templates and styling for the cobrand, this
commit also:
- gettext-merge to call msgmerge with --no-wrap, matching the fixmystreet code
- Allows localisation of several templates and UI components e.g. back buttons:
- The back buttons were automatically being generated by jQuery Mobile,
which wasn’t using the correct localisation of ‘Back’. Adding them to the
DOM explicitly with the correct translation ensures they appear as they
should.
- Adds a plugin for overriding the iOS display name
- Add a plugin for changing the app’s language easily
- Makes it easier for cobrands to customise pin icons on the map (CONFIG.PINS)
|
|
|
|
|
|
|
|
| |
There are a few places in index.html that depend on CONFIG in order to load
the right cobrand stylesheet/language/map etc.
This commit removes the run time script loading and instead processes
index.html as a lodash template at build time to pull in the correct stylesheets
and scripts.
|
| |
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| | |
Fixes #231. Fixes #233.
|
|/ |
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| | |
cordova-6
|
| |
| |
| |
| |
| | |
This was not used anywhere, and is no longer returned by the server, as
it now returns a photos array.
|
| |
| |
| |
| |
| | |
This way round is better in case of URLs returned from the server (e.g.
for photos) that will have a starting slash.
|
|\ \ |
|
| |/
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
CONFIG.isUK is true
|
|
|
|
|
| |
The target="_system" syntax no longer works with window.open. Instead a specific
InAppBrowser plugin is required.
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
page and home page to minimise the flickering at start up
|
|
|
|
|
| |
photo or location associated with the report. Also make the date a bit
friendlier
|
| |
|
| |
|
| |
|
| |
|
| |
|