Gareth Rees
Gareth Rees
Really don't know what's wrong with this. I've tried moving it to different positions in the file, reducing the function body to a simple echo statement, and defining a new...
Running against the puppetlabs/squeeze VM I get: ``` sh /vagrant/install.sh: line 53: warning: setlocale: LC_ALL: cannot change locale (en_GB.UTF-8) ``` Here's some more info: http://pastie.org/private/9ujduo5nfmqckjjoobsfxg My terminal sends the locale...
> You didn't set DISTRIBUTION in your miniscript Oops. Updated http://pastie.org/private/dnl3fu91emrgxdwl9dsq (including 975e309). `add_locale` seems to be writing literal `\n` in to `/etc/locale.gen`: ``` $ tail -n 4 /etc/locale.gen #...
Ah, yeah, running through `sh` [works](http://pastie.org/private/fygkhlsxwkt2icdubbqvua). Sorry about that. I notice it still needs a logout to pick up the new locale, but interestingly appending `apt-get -y install postgres` to...
That looks awesome! The UX looks good enough to me! I'd try to look at whether we can get rid of having to manually add in different [model types](https://gitlab.com/madada-team/dada-core/-/blob/master/dada-france-theme/lib/controller_patches.rb?ref_type=heads#L353-358), since...
Related to https://github.com/mysociety/alaveteli/issues/2733.
Here's a bit of code to do this through the console: ```ruby def hide_all_requests(user_id, admin_url_name) InfoRequest.where(user_id: user_id).find_each do |info_request| old_prominence = info_request.prominence next if old_prominence == 'hidden' info_request.update!(prominence: 'hidden') params...
It's very unusual for us to use the "Ban for spamming" button for human accounts; it's more for automated signups from bots. I don't think I'd want to connect something...
No problem, and thank _you_ for looking in to this! 🙇 Feel free to post a spike if you want any early feedback.
Can now also hide comments programatically from the console or app https://github.com/mysociety/alaveteli/issues/6812.