aboutsummaryrefslogtreecommitdiffstats
path: root/web/js
Commit message (Collapse)AuthorAgeLines
...
* | Allow body external URL to be edited in admin.Matthew Somerville2015-07-30-1/+1
|/
* Drop show-admin-notes class and show notes everywhereSteven Day2015-07-29-25/+23
| | | | | | | | | | | | | | | | .show-admin-notes was a class that could be applied on a cobrand basis to turn on or off the showing of admin notes and error messages. This was introduced when the concept of admin notes was added, so that existing cobrands could opt-in to the functionality. Now, every cobrand uses it, so there's no need to make it optional. This commit removes the CSS styles based on it, so that errors and notes always display; removes the addition of the class to admin pages, and removes the conditional javascript that enabled admin tooltips based on the class. Closes #1161
* Fix “All Reports” table headers on scroll.Zarino Zappia2015-07-28-0/+81
| | | | | This reuses some JavaScript I originally wrote for mySociety’s EveryPolitician project.
* If only one category, be sure to fetch extras for it.Matthew Somerville2015-07-28-2/+8
|
* Default the Google map view to Satellite.Matthew Somerville2015-07-10-4/+4
| | | | | Using Map by default doesn't work for an unknown reason, but is okay if you switch to it. Fixes #1133.
* Rename map filtering GET param, remove unnecessary querySteven Day2015-06-29-14/+7
|
* Refresh map as soon as filters are changed on /my and /reportsDave Arter2015-06-29-0/+6
|
* Refresh map pins when status dropdown changes, if presentSteven Day2015-06-29-4/+7
|
* Pre-fill category on report form if map pins were filteredDave Arter2015-06-29-0/+14
|
* Change map pins with category fieldSteven Day2015-06-29-2/+17
| | | | | When the category dropdown is changed the map pins are re-requested from the server with the correct category in the URL.
* Add category filtering support to /ajax via 'category' GET paramDave Arter2015-06-29-1/+25
|
* Resize map pins based on zoom levelDave Arter2015-06-29-3/+46
| | | | When zoomed out, a smaller icon is used to stop the map getting too overcrowded.
* Update Bing Maps parameter ID.Matthew Somerville2015-05-05-9/+11
|
* Support Stamen toner-lite and Bing Maps tiles.Matthew Somerville2015-02-23-59/+121
|
* Tidy up front page and map copyright templates.Matthew Somerville2015-02-23-5/+1
|
* Add Hybrid map toggle option to Google Maps view.Matthew Somerville2015-01-19-0/+14
|
* Merge remote-tracking branch 'mhalden/fiksgatami-js-fiks'Matthew Somerville2015-01-13-3/+3
|\
| * Fixed show/hide pins and show/hide old for norwegian cobrand.fiksgatami-js-fiksMarius Halden2014-12-30-3/+3
| |
* | Use HTTPS OpenStreetMap tiles.Matthew Somerville2015-01-09-4/+4
| |
* | Revert most of "Experiment, no pins by default."Matthew Somerville2015-01-09-4/+0
|/ | | | | | This reverts most of commit 71b400a1f5991b9a693095c417aa61e274a5215d, leaving the skip-this-step CSS changes and the tweaks to the /ajax JSON output.
* Fix JS-disabled submission in Chrome/Firefox.Hakim Cassimally2014-11-14-0/+4
| | | | | | | | | | | Fixes #932, which is caused by HTML5 validation firing for hidden elements, by setting #mapForm to novalidate by default, and reverting this in fixmystreet.js. Note that the 'novalidate' attribute, which is honoured by the browsers' HTML5 validation, isn't to be confused with the class (class="validate") which is picked up by fixmystreet.js, and therefore not problematic for the no-js case.
* [fixmystreet.com] Experiment, no pins by default.Matthew Somerville2014-10-17-0/+4
| | | | | | | | This changes the default flow to show no pins and a message about reporting, with the second tab displaying existing problems (and showing map pins). Those existing problems are the ones that would currently be on "problems on the map" followed by those currently on "problems nearby".
* [fixmystreet.com] Remove login content experiment.Matthew Somerville2014-10-17-4/+0
| | | | This gave no conclusive results, which was interesting.
* Report moderationHakim Cassimally2014-08-13-0/+42
| | | | | | | | | | | - redaction marked with [...] - of report and comments - stores original data - uses a single form, on the report/_main view - requires additional permissions (user_body_permissions) - Hide report functionality - Moderation notification/contact form - Moderation writes to admin_log
* Removal old Southampton/Reading/Lichfield cobrands.Matthew Somerville2014-07-29-135/+0
|
* Add fixmystreet.com reporting form A/B tests.Matthew Somerville2014-07-10-0/+4
| | | | | | Testing two things: * Putting the email box above the Yes/No, or repeating it inside. * Showing the contents of the Yes/No sections at first, or not.
* Merge branch '571-show-local-deploys-banner'Matthew Somerville2014-07-04-0/+13
|\ | | | | | | | | Conflicts: web/cobrands/fixmystreet/base.scss
| * Display a banner to non UK FixMyStreet visitorsStruan Donald2014-07-03-0/+13
| | | | | | | | | | | | only on FMS and only if from outside the uk Fixes #571
* | Make external links HTTPS where possible.Matthew Somerville2014-07-03-2/+2
|/ | | | And fix a couple that have redirected.
* FMS map tile changes for HTTPS.Matthew Somerville2014-05-30-1/+1
| | | | | Make the FMS map tile URLs be scheme independent, and only use one level of subdomain.
* Add a searchable dropdown of clinic names to postcode formStruan Donald2014-04-08-0/+4983
| | | | | | | | | | | | uses select2 for the dropdown and a cobrand call to fetch the list of report titles as the clinic names. Relies on a redirect in httpd.conf to make the non JS version work. Still leaves the postcode search in place as select2 won't accept custom terms if you base it on a select box, which we want to do so it works if JavaScript is disabled Fixes #723
* send a virtual page view when we click on the mapStruan Donald2014-04-04-0/+4
| | | | Only if universal analytics turned on and on the fixmystreet cobrand
* Allow cobrands to set their own path to pin filesHakim Cassimally2014-03-25-5/+9
| | | | | | | | | New cobrand function of pin_path that sets the path to where the image files for pins are located. Defaults to /i This still means they need to use the same file names but they can at least put those in a cobrand directory rather than having to overwrite the files in /i or fudge it with pin_colour
* use local jquery ui, not CDN, for admin datepickerDave Whiteland2013-11-07-0/+14
|
* Add Jquery-ui files, and fixmystreet-admin.jsAndrew Black2013-11-07-0/+18
|
* Tidy up panzoom bar placement.Matthew Somerville2013-10-25-2/+7
|
* Add Google OpenLayers-based map layer.Matthew Somerville2013-10-11-0/+586
|
* Upgrade main OpenLayers to 2.13.1.Matthew Somerville2013-10-11-1393/+1212
|
* add show-admin-notes class to bodyDave Whiteland2013-09-06-22/+24
| | | | | making the admin-notes functionality easier to suppress on installations that don't want it; it's in the default header, i.e., on for new installations
* fix deciding-to-hide contacts bugDave Whiteland2013-09-05-2/+1
| | | | was counting rows and expecting them to be 1, when it should have been counting tables.
* jslint fixesDave Whiteland2013-09-05-17/+19
|
* add toggle button to hide contacts, closes #505Dave Whiteland2013-09-05-0/+19
|
* don't hide with slideUp on page loadDave Whiteland2013-09-05-6/+10
| | | | if open311 shouldn't be show, hide it straight away (slideUp animation was distracting)
* add display-on-click hintsDave Whiteland2013-09-05-0/+10
|
* hide open311 inputs for bodies unless neededDave Whiteland2013-09-05-0/+21
| | | | | basically if send method is not email (or there's an endpoint value), don't show the form Maybe we need to have an "show all fields" button/link but for normal use I think this is OK
* make js available in admin pagesDave Whiteland2013-09-05-0/+4
|
* Updated MapQuest links per instructionsJonas Oberg2013-08-30-4/+4
|
* Fixed Google map marker drag issue caused by inproper variable naming.Chee Leong2013-06-27-4/+4
|
* Improve Google Maps support somewhat.Matthew Somerville2013-06-06-10/+317
|
* Add a zoomed in level.Matthew Somerville2013-04-09-2/+2
|