Gareth Rees

Results 580 comments of Gareth Rees

This reminded me that I came across [this post about streaming CSV files](https://medium.com/table-xi/stream-csv-files-in-rails-because-you-can-46c212159ab7) while looking at https://github.com/mysociety/alaveteli/issues/7027#issuecomment-1225364665. Doesn't seem a million miles away from what we're doing already and, if...

Have we got cache headers set on this? Could cache it via varnish so that re-users don't have to faff with cron. If we did want to go for a...

Milton Keynes Council have been complaining about this via public annotations – https://www.whatdotheyknow.com/request/assignment_statistics_2#comment-107111

> Milton Keynes Council have been complaining about this Might be something we can add to some of the conditionals here https://github.com/mysociety/alaveteli/blob/aed451b4247ac790350dfe23a8fbe667456e1ecc/app/models/incoming_message.rb#L257-L260

> The "Report this request" option is now hidden under "Actions". But we do have report buttons in the footer of each piece of correspondence. > Why are we currently...

> We've had something along these lines before, pointing to the help pages: We made a call to give this less prominence in https://github.com/mysociety/alaveteli/issues/3269. I don't think we want our...

Yep, that's pretty much what I was thinking – also good to note that the annotations aren't sent to us or the body.

> group requests from a batch in search results too. Both are search results, so renamed to clarify that this is "anywhere search results are shown".

We currently have logic to determine whether a user should be emailed [1], but that's not being used where we actually send these emails [2]. [1] https://github.com/mysociety/alaveteli/blob/0.39.1.4/app/models/user.rb#L616-L618 [2] https://github.com/mysociety/alaveteli/blob/0.39.1.4/app/mailers/request_mailer.rb#L346-L394

First step with this is adding a "turn off email alerts" link to emails that the user _already has control over_ via their profile page, as per https://github.com/mysociety/alaveteli/issues/4551.