Andrew Morgan
75eb4c8d56
Fix versions in flake8 check-manifest commands
2020-05-14 13:00:57 +01:00
Andrew Morgan
70c494f2ad
Pin the version of check_manifest to v0.41 until we merge the fix from v1.13.0
2020-05-14 12:17:42 +01:00
Andrew Morgan
627a34ad33
Pin flake8 to 3.7.9 until the v1.13.0 merge
2020-05-14 12:05:36 +01:00
Andrew Morgan
fd4dc99b76
Add prometheus metrics for the number of active pushers ( #7103 )
...
* commit '8c75667ad':
Add prometheus metrics for the number of active pushers (#7103 )
2020-03-24 14:42:37 +00:00
Andrew Morgan
6095a49d4a
Merge commit '6a3504636' into dinsic-release-v1.12.x
...
* commit '6a3504636': (29 commits)
Revert "Add options to disable setting profile info for prevent changes. (#7053 )"
Populate the room version from state events (#7070 )
Fix buggy condition in account validity handler (#7074 )
Use innerText instead of innerHTML
Add type annotations and comments to auth handler (#7063 )
Lint
Put the file in the templates directory
Update wording and config
Changelog
Move the default SAML2 error HTML to a dedicated file
Refactor a bit
Also don't fail on aliases events in this case
Lint
Changelog
Also don't filter out events sent by ignored users when checking state visibility
Fix condition
Don't filter out dummy events when we're checking the visibility of state
Update sample_config.yaml
Update synapse/config/registration.py
lint, fix tests
...
2020-03-24 14:36:35 +00:00
Andrew Morgan
36bebb4c17
Allow deleting an alias if the user has sufficient power level ( #6986 )
...
* commit '13892776e':
Allow deleting an alias if the user has sufficient power level (#6986 )
2020-03-24 14:23:51 +00:00
Andrew Morgan
3bd5d4c39e
Add some type annotations to the federation base & client classes ( #6995 )
...
* commit '12d425900':
Add some type annotations to the federation base & client classes (#6995 )
2020-03-24 13:29:43 +00:00
Andrew Morgan
17aba0c0a3
Add some type annotations in synapse.storage ( #6987 )
...
* commit '132b673db':
Add some type annotations in `synapse.storage` (#6987 )
2020-03-24 13:25:15 +00:00
Andrew Morgan
b2e71e372e
Port PresenceHandler to async/await ( #6991 )
...
* commit '1f773eec9':
Port PresenceHandler to async/await (#6991 )
2020-03-24 13:24:54 +00:00
Andrew Morgan
35d74a232c
Clarify list/set/dict/tuple comprehensions and enforce via flake8 ( #6957 )
...
* commit '509e381af':
Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957 )
changelog
Increase MAX_EVENTS_BEHIND for replication clients
2020-03-24 13:16:43 +00:00
Andrew Morgan
a316fff074
Add type hints to the spam check module ( #6915 )
...
* commit '10027c80b':
Add type hints to the spam check module (#6915 )
2020-03-23 18:00:21 +00:00
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
Richard van der Hoff
8c75667ad7
Add prometheus metrics for the number of active pushers ( #7103 )
2020-03-19 10:00:24 +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
Patrick Cloke
77d0a4507b
Add type annotations and comments to auth handler ( #7063 )
2020-03-12 11:36:27 -04:00
Patrick Cloke
13892776ef
Allow deleting an alias if the user has sufficient power level ( #6986 )
2020-03-04 11:30:46 -05:00
Patrick Cloke
12d4259000
Add some type annotations to the federation base & client classes ( #6995 )
2020-02-28 07:31:07 -05:00
Richard van der Hoff
132b673dbe
Add some type annotations in synapse.storage ( #6987 )
...
I cracked, and added some type definitions in synapse.storage.
2020-02-27 11:53:40 +00:00
Erik Johnston
1f773eec91
Port PresenceHandler to async/await ( #6991 )
2020-02-26 15:33:26 +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
Patrick Cloke
509e381afa
Clarify list/set/dict/tuple comprehensions and enforce via flake8 ( #6957 )
...
Ensure good comprehension hygiene using flake8-comprehensions.
2020-02-21 07:15:07 -05:00
Andrew Morgan
35a521bd6f
Implement a structured logging output system. ( #5680 )
2020-02-21 11:38:13 +00:00
Patrick Cloke
10027c80b0
Add type hints to the spam check module ( #6915 )
...
Add typing information to the spam checker modules.
2020-02-14 12:49:40 -05: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