aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeLines
* update report page text for ZeroTBStruan Donald2014-04-08-9/+10
| | | | | | Change to use sites terminology update notes on what happens to information remove some unused template tags
* remove most of the detail from zerotb report pagesStruan Donald2014-04-08-0/+6
| | | | | only really want the title and the details as all the rest is not relevant
* turn on never_confirm_updates for ZeroTBStruan Donald2014-04-08-0/+7
| | | | | and display a message on the report page to indicate the update has been sent as it's never displayed
* Allow comments to be confirmed with no confirmationStruan Donald2014-04-08-1/+96
| | | | | | | | Add never_confirm_updates setting to cobrand that, when set to 0 means that comments are confirmed with no confirmation step. Essentially behaves as it would if the user was logged in. Also add a flag to the flash that indicates the comment was accepted to you can display a message on the report page if required
* enable generation of cobrand specific po filesStruan Donald2014-04-08-18/+111
| | | | | | | | | | | | | | | | | | | | | | | | | This is to stop the main FixMyStreet .po file being filled up with strings that only apply to a single Cobrand that are not relevant to people running their own fairly vanilla version. Restrict the list of templates that we pull strings out of by generating a list of all the ones in currently translated cobrands for minimal impact. Use that to create the FixMyStreet.po file in gettext-extract. I've left the existing cobrands in but at some point we should split these out. Add a specific script for generating Cobrand .po files which extracts strings from the Cobrand's templates. This is then translated and the translated file place in the locale/$lang/LC_MESSAGES. The the merge_cobrand_po script is run which will create an autoCobrand.po file which has the Cobrand strings and the FixMyStreet strings. This is then the domain used by the Cobrand. Any cobrand specific strings from the Perl code are still in the main FixMyStreet .po file but there should be relatively few of them so it's less of an issue.
* update content and style for front page instructionsStruan Donald2014-04-08-0/+58
| | | | | | remove photos etc update step text change background colour and remove crop shadow
* Style front page location lookupStruan Donald2014-04-08-0/+52
| | | | | | | button -> orange set background colour for input boxes make everything a bit wider and left aligned update the what is this for text
* update nav bar textStruan Donald2014-04-08-3/+3
| | | | | Problem -> Stockout change mysoc nav to be language changer
* top nav bar should always be blackStruan Donald2014-04-08-0/+39
|
* change site logo and add css for thisStruan Donald2014-04-08-0/+60
|
* set default fonts and weightStruan Donald2014-04-08-0/+10
|
* import base styles with colour changesStruan Donald2014-04-08-0/+54
| | | | Change colour scheme to black and white
* split out header logo to its own templateStruan Donald2014-04-08-1/+2
| | | | to make it easier to change how cobrands do headers
* change text of location search instructionsStruan Donald2014-04-08-0/+2
|
* Add some overrides to zurich tests to stop failureStruan Donald2014-04-08-0/+4
| | | | Make sure mapit_id_whitelist set for tests that submit
* blank opengraph header template for ZeroTBStruan Donald2014-04-08-0/+0
|
* extract opengraph meta tags out to a templateStruan Donald2014-04-08-9/+10
| | | | for ease of alteration/removal in cobrands
* blank header_rss template for ZeroTBStruan Donald2014-04-08-0/+0
| | | | we don't want any RSS feeds for the site so disable
* split out RSS link tag to its own templateStruan Donald2014-04-08-3/+4
| | | | makes removing RSS from cobrands much easier
* Remove subscribe to updates link from around pageStruan Donald2014-04-08-0/+0
|
* add in report display templateStruan Donald2014-04-08-0/+28
| | | | | | | | | | removing so much that we might as well copy the template, especially as we need to change the header include. Removed from default: most of shadow wrap RSS list of updates which are not public plus Report -> Clinic
* add template for updates with only required elementsStruan Donald2014-04-08-0/+66
| | | | remove login, name made public, photo upload, alert sign up
* remove unwanted items from navigationStruan Donald2014-04-08-0/+27
| | | | basically everything bar report and help
* cobrand file with geocoder etc configStruan Donald2014-04-08-0/+31
| | | | | | | also, make readonly, disable photos, questionnaires, never hide old pins Fixes #701
* If we only have one real category option, automatically select it.Matthew Somerville2014-04-07-1/+1
| | | | Fixes #690.
* Mock a date for dashboard testsHakim Cassimally2014-04-07-1/+15
| | | | | | | Fixes #365 (how appropriate) by mocking datetime to allow the dashboard test's assumptions (that we're not so near beginning of year that a report from X days ago isn't still in same year) to hold.
* Update old-style open311 script to use bodies.Matthew Somerville2014-04-07-60/+70
| | | | Add some comments to the top of the open311 bin scripts.
* Ubuntu Apache vhost config exampleKindrat2014-04-07-2/+10
|
* Use local DateTimes in dashboard and its tests.Matthew Somerville2014-04-07-14/+16
| | | | | Otherwise oddities arise due to summer time differences putting a BST now-6d23h time behind a UTC now+1s-1w.
* 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
* upgrade google analytics code to use universal snippetStruan Donald2014-04-03-11/+7
|
* Update colours for Trinidad and Tobago cobrandStruan Donald2014-04-02-0/+59
| | | | | Add in we/cobrand directory with basic sass files, update colours file and set background on 'click map to report' banner
* remove survey link from front pageStruan Donald2014-04-02-5/+0
|
* remove survey linksStruan Donald2014-03-31-56/+12
|
* Fetch/send archive of modules before/after tests.Matthew Somerville2014-03-30-3/+85
| | | | | | | Before running carton install, see if we have a stored copy of the local directory on ge.tt - if so, download and use that instead. After running the tests, if we didn't download a copy, bundle it up and upload it to ge.tt for use next time.
* Allow cobrands to set their own path to pin filesHakim Cassimally2014-03-25-8/+25
| | | | | | | | | 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
* Add no-op sending method.Matthew Somerville2014-03-22-0/+12
| | | | | This simply always skips reports for this body, in case you need to suspend reports there. Fixes #507.
* Ipswich/St Edmundsbury roads handled by Suffolk.Matthew Somerville2014-03-21-6/+0
|
* Update code.fixmystreet.com references to fixmystreet.org.Matthew Somerville2014-03-19-12/+11
|
* Change default email indentation to none.Matthew Somerville2014-03-17-33/+20
| | | | | This is very old, no-one seems to want/need it any more, and more than one reuser does not want it. Fixes #715.
* Don't mark Swedish title for translation.Matthew Somerville2014-03-14-1/+1
|
* Merge branch 'css-watcher'Matthew Somerville2014-03-14-0/+83
|\
| * CSS watcherHakim Cassimally2014-03-13-0/+83
| | | | | | | | | | | | | | | | | | | | | | Run with bin/make_css_watch This watches the .scss files in web/cobrands/* and runs the appropriate sass/compass commands (as per bin/make_css) on just those directories with changed files. As a special case, a change to the partials in web/cobrands/sass will cause a rebuild of all cobrands.
* | Merge branch 'jonkri-master'Matthew Somerville2014-03-14-3/+7
|\ \
| * | Add extra Open311 strings for FixaMinGataJon Kristensen2014-03-14-0/+4
| | |
| * | Minor template fixes for FixaMinGataJon Kristensen2014-03-14-3/+3
|/ / | | | | | | | | * Use correct body name value in submit templates * Update FAQ to link to MySociety's repository instead of our own
* | Fix slight regression in cf20c709, to still match all UK cobrands.Matthew Somerville2014-03-13-1/+2
| |
* | add a contribution guidelines section to readmeGerald2014-03-12-0/+9
| |
* | Set report->send_questionnaire on report creationAndy Lulham2014-03-12-0/+30
|/ | | | | Include a one-off script that sets send_questionnaire to 0 for all available cobrands that have send_questionnaires set to 0.
* [Zurich] basic commandline tool for geocoderHakim Cassimally2014-03-12-0/+46
| | | | | Also add warning to Geocoder to pass on server error if you are running in development.