summary refs log tree commit diff
path: root/scripts-dev (unfollow)
Commit message (Collapse)AuthorFilesLines
2020-10-15Add option to scripts-dev/lint.sh to only lint files changed since the last ↵Andrew Morgan1-9/+84
git commit (#8472) This PR makes several changes to the `./scripts-dev/lint.sh` script, which lints the codebase with a number of tools: * Adds usage information, with `-h` flag to show it. Otherwise it will show when providing an unknown flag. * Adds option `-d` which will check both staged and unstaged files that have changed since the last commit and add them to the list of files to lint. - Note that only files without an extension, or with a `.py` extension will be allowed. This prevents editing bash scripts causing the linters to break on non-python files. * Improves the print-out of which files/directories are being linted.
2020-10-15Additional tweaks. v1.21.2 github/release-v1.21.2 release-v1.21.2Patrick Cloke1-3/+3
2020-10-15Clarify authlib changes.Patrick Cloke1-1/+3
2020-10-15Fix typo.Patrick Cloke1-1/+1
2020-10-15Add additional release notes.Patrick Cloke1-0/+13
2020-10-151.21.2Patrick Cloke4-2/+17
2020-10-15Remove racey assertion in MultiWriterIDGenerator (#8530)Erik Johnston2-7/+1
We asserted that the IDs returned by postgres sequence was greater than any we had seen, however this is technically racey as we may update the current positions out of order. We now assert that the sequences are correct on startup, so the assertion is no longer really required, so we remove them.
2020-10-15Enable mypy for synapse.util.caches (#8547)Richard van der Hoff5-10/+185
This seemed to entail dragging in a type stub for SortedList.
2020-10-15Include user agent in user daily visits table (#8503)Neil Johnson3-3/