1
0
Commit Graph

99 Commits

Author SHA1 Message Date
Andrew Morgan
6c970c528d Add typing to synapse.federation.sender (#6871)
* commit 'b08b0a22d':
  Add typing to synapse.federation.sender (#6871)
2020-03-23 17:10:44 +00:00
Andrew Morgan
ae9e55b13c Add typing to SyncHandler (#6821)
* commit 'b9391c957':
  Add typing to SyncHandler (#6821)
2020-03-23 17:04:47 +00:00
Andrew Morgan
17292d593e Fix sending server up commands from workers (#6811)
* commit 'c3d4ad8af':
  Fix sending server up commands from workers (#6811)
2020-03-23 17:02:52 +00:00
Andrew Morgan
fd3b31dc73 Fixup synapse.rest to pass mypy (#6732)
* commit 'b0a66ab83':
  Fixup synapse.rest to pass mypy (#6732)
2020-03-23 11:38:22 +00:00
Andrew Morgan
a5fe87b85f Fixup synapse.api to pass mypy (#6733)
* commit '0f6e525be':
  Fixup synapse.api to pass mypy (#6733)
2020-03-23 11:38:01 +00:00
Andrew Morgan
09a8668751 Fixup synapse.replication to pass mypy checks (#6667)
* commit 'e8b68a4e4':
  Fixup synapse.replication to pass mypy checks (#6667)
2020-03-23 11:34:02 +00:00
Andrew Morgan
8fced9e2ac Remove unused, undocumented "content repo" resource (#6628)
* commit '98247c4a0':
  Remove unused, undocumented "content repo" resource (#6628)
2020-03-20 16:57:48 +00:00
Andrew Morgan
fa87b96ad2 Merge pull request #6537 from matrix-org/erikj/bump_mypy_version
* commit '5cadbd9eb':
  More rewording of changelog.
  Reword changelog
  Add deprecation notes
  Newsfile
  Bump version of mypy
2020-03-19 18:00:37 +00:00
Andrew Morgan
e5592ca2c1 Merge pull request #6534 from matrix-org/erikj/extend_mypy
* commit '7e67cfc87':
  Newsfile
  Include more folders in mypy
2020-03-19 17:59:57 +00:00
Andrew Morgan
be3e14a46a Add benchmarks for structured logging performance (#6266)
* commit 'fdec84aa4':
  Add benchmarks for structured logging performance (#6266)
2020-03-19 16:07:58 +00:00
Andrew Morgan
42706d25d0 Python 3.8 for tox (#6341)
* commit 'c5abb67e4':
  Python 3.8 for tox (#6341)
2020-03-18 16:13:56 +00:00
Andrew Morgan
638820f571 Update black to 19.10b0 (#6304)
* commit '020add509':
  Update black to 19.10b0 (#6304)
2020-03-16 19:22:24 +00:00
Andrew Morgan
4f2e76e6d2 Update CI to run isort on scripts and scripts-dev (#6270)
* commit '2cab02f9d':
2020-03-16 15:36:28 +00:00
Andrew Morgan
057e4348a2 Remove redundant arguments to CI's flake8 (#6277)
* commit '9178ac1b6':
  Remove redundant arguments to CI's flake8 (#6277)
2020-03-16 15:36:03 +00:00
Andrew Morgan
f39a91708f Merge pull request #6268 from matrix-org/erikj/case_insensitive_room_dir
* commit '1652c8c1f':
  Add comment as to why we're pinning black in tests
  Pin black version
  Newsfile
  Make room directory search case insensitive
2020-03-16 15:33:42 +00:00
Andrew Morgan
3d5a537934 Add config linting script that checks for bool casing (#6203)
* commit '409c62b27':
  Add config linting script that checks for bool casing (#6203)
2020-03-16 15:26:24 +00:00
Andrew Morgan
3261565623 Fix presence timeouts when synchrotron restarts. (#6212) 2020-02-26 12:40:51 +00:00
Andrew Morgan
19099efcfb Refactor HomeserverConfig so it can be typechecked (#6137) 2020-02-26 12:32:49 +00:00
Andrew Morgan
15a9ca24aa Fix for structured logging tests stomping on logs (#6023) 2020-02-25 14:27:36 +00:00
Andrew Morgan
686d3d6213 Fix coverage in sytest and use plugins for buildkite (#5922) 2020-02-24 17:19:36 +00:00
Andrew Morgan
35a521bd6f Implement a structured logging output system. (#5680) 2020-02-21 11:38:13 +00:00
Andrew Morgan
e8761d7c7b Pin black to 19.3b0 2020-02-14 14:27:15 +00:00
Andrew Morgan
622d0be1b3 Fix with isort==4.3.21 and black==19.3b0 2020-02-14 14:27:12 +00:00
Andrew Morgan
28eba8747e Run Black. (#5482) 2020-02-13 11:30:15 +00:00
Andrew Morgan
dd486836f7 Merge remote-tracking branch 'dinsic/dinsic' into dinsic-release-v1.1.0 2020-02-10 16:37:49 +00:00
Erik Johnston
b08b0a22d5 Add typing to synapse.federation.sender (#6871) 2020-02-07 13:56:38 +00:00
Erik Johnston
b9391c9575 Add typing to SyncHandler (#6821)
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2020-02-03 18:05:44 +00:00
Erik Johnston
c3d4ad8afd Fix sending server up commands from workers (#6811)
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
2020-01-30 16:42:11 +00:00
Erik Johnston
b0a66ab83c Fixup synapse.rest to pass mypy (#6732) 2020-01-20 17:38:21 +00:00
Erik Johnston
0f6e525be3 Fixup synapse.api to pass mypy (#6733) 2020-01-20 17:34:13 +00:00
Erik Johnston
e8b68a4e4b Fixup synapse.replication to pass mypy checks (#6667) 2020-01-14 14:08:06 +00:00
Richard van der Hoff
98247c4a0e Remove unused, undocumented "content repo" resource (#6628)
This looks like it got half-killed back in #888.

Fixes #6567.
2020-01-03 17:10:52 +00:00
Erik Johnston
495005360c Bump version of mypy 2019-12-12 15:21:12 +00:00
Erik Johnston
324d4f61b8 Include more folders in mypy 2019-12-12 14:52:11 +00:00
Amber Brown
fdec84aa42 Add benchmarks for structured logging performance (#6266) 2019-12-03 20:21:25 +11:00
Richard van der Hoff
c5abb67e43 Python 3.8 for tox (#6341)
... and update INSTALL.md to include py3.8.

We'll also have to update the buildkite pipeline to run it
2019-11-07 17:14:13 +00:00
Amber Brown
020add5099 Update black to 19.10b0 (#6304)
* update version of black and also fix the mypy config being overridden
2019-11-01 02:43:24 +11:00
Andrew Morgan
2cab02f9d1 Update CI to run isort on scripts and scripts-dev (#6270) 2019-10-30 11:17:14 +00:00
Andrew Morgan
9178ac1b6a Remove redundant arguments to CI's flake8 (#6277) 2019-10-30 11:07:18 +00:00
Erik Johnston
9d8dc85df2 Add comment as to why we're pinning black in tests 2019-10-29 10:50:42 +00:00
Erik Johnston
c28a30da84 Pin black version 2019-10-29 10:37:50 +00:00
Andrew Morgan
409c62b27b Add config linting script that checks for bool casing (#6203)
Add a linting script that enforces all boolean values in the default config be lowercase.

This has annoyed me for a while so I decided to fix it.
2019-10-23 13:22:54 +01:00
Erik Johnston
5859a5c569 Fix presence timeouts when synchrotron restarts. (#6212)
* Fix presence timeouts when synchrotron restarts.

Handling timeouts would fail if there was an external process that had
timed out, e.g. a synchrotron restarting. This was due to a couple of
variable name typoes.

Fixes #3715.
2019-10-18 06:42:26 +01:00
Amber Brown
f743108a94 Refactor HomeserverConfig so it can be typechecked (#6137) 2019-10-10 09:39:35 +01:00
Amber Brown
b617864cd9 Fix for structured logging tests stomping on logs (#6023) 2019-09-13 02:29:55 +10:00
Brendan Abolivier
6cf60da6e9 Fix CI 2019-09-05 16:40:55 +01:00
Amber Brown
e7011280c7 Fix coverage in sytest and use plugins for buildkite (#5922) 2019-08-29 22:19:57 +10:00
Amber Brown
7dc398586c Implement a structured logging output system. (#5680) 2019-08-28 21:18:53 +10:00
Amber Brown
32e7c9e7f2 Run Black. (#5482) 2019-06-20 19:32:02 +10:00
Amber Brown
09e9a26b71 Remove Python 2.7 support. (#5425)
* remove 2.7 from CI and publishing

* fill out classifiers and also make it not be installed on 3.5

* some minor bumps so that the old deps work on python 3.5
2019-06-12 21:31:59 +10:00