aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/My.pm
Commit message (Collapse)AuthorAgeLines
* Fix bug showing reports on Your Reports.Matthew Somerville2015-12-17-2/+2
| | | | | 92dfeac used an incorrect user column name in the new lookup, and there was no test to catch the regression.
* Fix cobrand restriction of My/Nearby.Matthew Somerville2015-12-15-4/+3
| | | | | | | | | | | | 5c79337 simplified a bit too far, as after then a particular cobrand could in Nearby and My only filter reports to a particular body, not any other criteria. To fix this, introduce more generic functions in the default cobrand to allow more flexibility. Make sure a few tests delete their bodies fully so that new tests pass when run as part of the suite. Fixes #1289.
* Add state/category filters to base cobrand.Matthew Somerville2015-10-07-4/+2
| | | | | | | This removes the on map/nearby tabs, replacing them with one combined list. The styling is moved to the base, so that it is used on mobile too. A closed option is added to the existing dropdown, and the base/fixmystreet my templates are also combined. Fixes #1141.
* Simplify/consolidate body restriction db code.Matthew Somerville2015-08-19-5/+3
| | | | | | | Make dashboard work properly in two-tier councils, showing reports sent to both. Create an index on the array of the bodies_str column to speed up performance, and use that throughout the code replacing all LIKE scans. This also enables a simplifying tidy of the restriction code.
* Factor out all uses of param()/params.Matthew Somerville2015-07-07-3/+3
| | | | | | | Use a central get_param and get_param_list functions dependent on whether we're after a scalar or a list (almost always a scalar). This prevents any possibility of confusion where param() could return a list, or params->{} an arrayref.
* Refactor duplicated filter_status code into a single functionSteven Day2015-06-29-14/+2
|
* Rename map filtering GET param, remove unnecessary querySteven Day2015-06-29-1/+1
|
* Simplify default status filter for map pinsSteven Day2015-06-29-3/+3
|
* Allow filter by 'category' query param on /myDave Arter2015-06-29-0/+14
|
* Combine all My Reports into a single list, allow filteringSteven Day2015-06-29-1/+17
|
* Explanatory text/link on /my with no reportsHakim Cassimally2014-02-26-0/+3
| | | | | | | | | | | Usually you won't get to "Your Reports" page without any content (reports or updates) but it's possible to do so, as we just discovered in a client meeting, logging into that page, and arriving on a screen of blank content with no guidance. This patch shows some text and a link to create a new report, if there aren't any problems/updates. Fixes #671
* Pins yellow on /my for Bromley.Matthew Somerville2012-05-22-1/+1
|
* Photos in report list on /my page, and only show cobranded reports.Matthew Somerville2012-03-26-2/+9
|
* show closed problems on my pageStruan Donald2011-08-18-1/+1
|
* do not use raw problem state to categorise problemsStruan Donald2011-08-18-1/+2
|
* remove hard coded references to fixedStruan Donald2011-08-18-2/+2
|
* Show confirmed reports.Matthew Somerville2011-08-12-1/+3
|
* Sort reports on My Reports page, whoops.Matthew Somerville2011-08-05-3/+8
|
* Allow pin moving without reload of page (at last).Matthew Somerville2011-07-21-0/+1
|
* Use our own StreetView tile server, add missing IE6 CSS for OpenLayers, ↵Matthew Somerville2011-07-01-3/+0
| | | | don't set map parameter in JS.
* Pagination of reports/updates.Matthew Somerville2011-06-28-5/+14
|
* List updates on Your Reports (for #127), and a map too (#124).Matthew Somerville2011-06-28-0/+7
|
* Sort problems, and have a map, maybe.Matthew Somerville2011-06-28-0/+25
|
* Implement redirect upon sign in to where the user came from; tidy up error ↵Matthew Somerville2011-06-21-7/+1
| | | | display.
* Prevent access to '/my' for users who are not logged inEdmund von der Burg2011-04-01-2/+7
|
* Added 'my' section to the siteEdmund von der Burg2011-03-04-0/+31