commonlib icon indicating copy to clipboard operation
commonlib copied to clipboard

mySociety code common to several projects

Results 13 commonlib issues
Sort by recently updated
recently updated
newest added

Required for https://github.com/mysociety/alaveteli/pull/7575 to get Redis 6.2+.

As per https://tools.ietf.org/html/rfc6531 Connects to mysociety/alaveteli#2957

awaiting review

For Alaveteli's install script initially, probably useful in others.

FixMyStreet uses the default locale in order to have working URIs with floating point numbers. This could be moved to the FixMyStreet install script with its next release and then...

I've add a method to `FullyQualifiedRedirectMiddleware` which sniffs the scheme from the request and then uses that instead of hardcoding it. It's pretty simple, and I stole the idea from...

Hi. We are trying to upgrade norways mapit instance in a Debian 11 server. The problem we encounter is that Debian 11 no longer supports Python2, but all packages that...

If you specify both `--dev` and a user (`pmo`, say) for `install-site.sh` the results are unexpected. e.g. if you're logged into a fresh vagrant box as `vagrant` and run: ```...

[Currently `uses_mixed_capitals`](https://github.com/mysociety/commonlib/blob/master/rblib/validate.rb#L24) uses the regular expressions `/[A-Z]/` and `/[a-z]/` to detect upper and lower case letters. This doesn't take into account non-ASCII upper case and lower case letters. In fixing...

Investigate improving the site install script to utilise `/proc/cpuinfo` to guess a sensible number of workers, and perhaps use gevent, and so on.

Unlike the other language versions, the ruby version checks that the config file exists every time a config variable is looked up, rather than only the first time.