aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/DB/Result/User.pm
Commit message (Collapse)AuthorAgeLines
* [TfL] Store password in separate location.Matthew Somerville2019-12-09-1/+13
|
* Switch to default-escaped in templates.Matthew Somerville2019-12-09-2/+2
| | | | | | | This means any variable used in a template is automatically HTML-escaped, unless it is marked as safe either in code by using a SafeString, or in the template with the `mark_safe` function or the `safe` filter.
* Record time of password change.Matthew Somerville2019-11-04-0/+8
|
* Allow non-superusers to store 2FA secrets.Matthew Somerville2019-10-28-1/+1
|
* Remove unused inspection required/reputation code.Matthew Somerville2019-10-28-11/+0
|
* [IsleOfWight] display Island Roads for moderation userStruan Donald2019-09-27-1/+5
|
* $user->latest_visible_problem() convenience methodZarino Zappia2019-08-23-0/+9
|
* DB changes to support OIDC authDave Arter2019-08-16-16/+36
|
* Include role permissions when fetching user permissions.Matthew Somerville2019-05-28-4/+15
|
* Add way to pick role for a user.Matthew Somerville2019-05-28-0/+15
|
* Add Role adding/editing/deleting admin.Matthew Somerville2019-05-28-0/+1
|
* Add user roles tablesDave Arter2019-05-28-2/+8
|
* Use EncodedColumn subclass.Matthew Somerville2019-05-02-3/+3
|
* Refactor datetime inflation.Matthew Somerville2019-05-02-5/+9
|
* Fix superusers creating anonymous reports.Matthew Somerville2019-04-05-0/+5
|
* Allow user to be associated with multiple areas.Matthew Somerville2019-02-14-12/+27
| | | | | | Update database to store an array of IDs rather than only one; consequential changes to the admin and the dashboard to allow selection.
* Add cobrand hook for disallowing title moderation.Matthew Somerville2018-09-13-0/+11
|
* Prevent scan of all problems on /_dev pages.Matthew Somerville2018-09-12-2/+2
|
* Fix reference issue in can_moderate.Matthew Somerville2018-09-06-2/+2
| | | | Arguments in TT functions are passed as a hashref.
* Allow cobrand to add extra ability to moderate.Matthew Somerville2018-08-29-2/+16
|
* Move moderation check to own function, tidy up.Matthew Somerville2018-08-28-2/+11
|
* Use CSV escaping for categories in URLs.Matthew Somerville2018-06-21-0/+12
| | | | | Categories could contain commas, so splitting on comma is not good enough. Let’s escape the fields as if it’s a line in CSV. Fixes #2166.
* Update last_active on login/logout/session expiry.Matthew Somerville2018-05-23-0/+7
|
* Factor anonymize function to User model.Matthew Somerville2018-05-23-0/+19
|
* Add created and last_active columns to user.Matthew Somerville2018-05-23-6/+20
|
* Allow ‘report as another user’ to only provide a phone numberDave Arter2018-02-07-0/+4
|
* Merge branch '2fa-superuser'Matthew Somerville2018-02-07-0/+5
|\
| * Add two-factor authentication for superusers.Matthew Somerville2018-02-07-0/+5
| |
* | Upgrade Number::Phone.Matthew Somerville2018-02-05-1/+2
| | | | | | | | | | This brings in my new format_for_country function which allows for nicer display of phone numbers to people.
* | Increase bcrypt cost.Matthew Somerville2018-02-01-1/+5
|/ | | | Though when running tests, decrease it for speed.
* Accept +1 geographic numbers as possibly mobile.Matthew Somerville2017-10-05-1/+1
| | | | | We have no way of knowing whether a +1 geographic number is fixed line or mobile, so accept them all as potentially mobile.
* Allow verify/change/add email/phone in profile.Matthew Somerville2017-09-30-0/+7
| | | | | | This expands the 'change email' functionality to work with phone number also, allow addition of missing details, and verifying of unverified details.
* Add ability to confirm reports/updates via text.Matthew Somerville2017-09-30-5/+14
|
* Update admin interface for 'phone' users.Matthew Somerville2017-09-30-0/+13
| | | | | | | This includes search/flagging users, editing user on the report and update edit pages, and user adding/editing itself. Add some more tests for user adding/editing.
* Add 'verified' database columns for email/phone.Matthew Somerville2017-09-30-6/+14
| | | | | These are so we can state whether a user's email address or phone number have been verified by confirmation email/text.
* Superusers only have permissions available on the current cobrandDave Arter2017-09-01-0/+10
|
* Faster /reports for inspectors, reduce db queries.Dave Arter2017-08-18-1/+11
|
* Move alert signup logic out of controllerpezholio2017-05-05-0/+21
|
* Merge branch 'listshort'Matthew Somerville2017-01-12-0/+2
|\
| * Add shortlist buttons to report lists.Matthew Somerville2017-01-12-0/+2
| | | | | | | | | | | | | | This includes adding/removing reports from a user's shortlist, and manual reordering of a shortlist with up/down buttons. The backend code can cope with an item moving to any point in the list.
* | Update has_body_permission_to to allow superusers.Matthew Somerville2017-01-10-6/+9
|/
* Only load user body permissions once per request.Matthew Somerville2016-12-16-8/+16
| | | | This should help if a template uses has_permission_to a lot.
* Fail in has_permission_to if given an empty arrayref.Matthew Somerville2016-12-13-1/+1
|
* Pre-filter map pages if user has categories assignedDave Arter2016-10-31-0/+15
| | | | | This pre-filters the 'all reports' link in the main nav and the /around page reached via the front page postcode form
* Adding report to shortlist removes from others.Matthew Somerville2016-10-11-5/+10
|
* Fix bug in fetching existing shortlisted report.Matthew Somerville2016-10-11-1/+1
| | | | | It would always create a new report rather than return an existing one, if present.
* Update user reputation when inspecting reportDave Arter2016-09-23-0/+8
|
* Add 'extra' field to User modelDave Arter2016-09-23-6/+14
|
* Merge remote-tracking branch ↵Matthew Somerville2016-09-20-1/+1
|\ | | | | | | 'origin/issues/forcouncils/89-tidy-report-admin-actions'
| * Organize report admin actions into single control.Zarino Zappia2016-09-20-1/+1
| | | | | | | | | | | | | | | | As part of this, rename "planned reports" to "shortlist". The `.segmented-control` component now supports basic usage (as in the admin report actions menu bar) and usage with hidden radio inputs and labels (as on the report questionnaire page).