Permalink
...
Comparing changes
Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Choose a Base Repository
matrix-org/synapse
Andargor/synapse
Bitti09/synapse
BuZZ-dEE/synapse
CGN/synapse
CNXTEoEorg/synapse-2
CherifSy/synapse
CimpianAlin/synapse
DanielDent/synapse
Dannyzen/synapse
DoubleMalt/synapse
Frost/synapse
Golho/synapse
Half-Shot/synapse
IndrasenSingh85/synapse
JigmeDatse/synapse
Kant1-0/synapse
KentShikama/synapse
MSylvia/synapse
MorganBauer/synapse
OlegGirko/synapse
Pneumaticat/synapse
Rai-Ka/synapse
RajPratim21/synapse
Ralith/synapse
RickCogley/synapse
Rugvip/synapse
RyanBreaker/synapse
Solertis/synapse
Takios/synapse
TimePath/synapse
Torxed/synapse
TurnedToDust/synapse
VShell/synapse
Vandh1/synapse
Vutsuak16/synapse
acgh213/synapse
alisheikh/synapse
ambiateka/synapse
ampling/synapse
anantasty/synapse
andrewshadura/synapse
aperezdc/synapse
aviraldg/synapse
bashrc/synapse
benhylau/synapse
bestwpw/synapse
blide/synapse
brabo/synapse
bussiere/synapse
byinarie/synapse
c-rhodes/synapse
cainerland/synapse
capgelka/synapse
carriercomm/synapse
cekisakurek/synapse
chaabni/synapse
crudbug/synapse
cynergit/synapse
dancvrcek/synapse
dnkls/synapse
eldios/synapse
elopio/synapse
emreuenal/synapse
esaul/synapse
euank/synapse
evelynmitchell/synapse
exap/synapse
fbellagamba/synapse
fivejjs/synapse
floviolleau/synapse
gergelypolonkai/synapse
gerrit-rws/synapse
gfrey/synapse
gitter-badger/synapse
glyph/synapse
gonight/synapse
greg5678/synapse
greysonp/synapse
gvsurenderreddy/synapse
haiderny/synapse-1
harvestli/synapse
haskel/synapse
heavenlyhash/synapse
howethomas/synapse
httng/synapse
huayuxian/synapse
hughes/synapse
igor-krawczuk/synapse
illicitonion/synapse
ilnurgadelshin/synapse
irickt/synapse
irobot0/synapse
jamiepg1/synapse-1
jasonjimnz/synapse
jerrykan/synapse
jfrederickson/synapse
jkolo/synapse
josephyzhou/synapse
jpbeaudet/synapse
jython234/synapse
kfatehi/synapse
khalibartan/synapse
kinpro/synapse
koobs/synapse
kst87/synapse
kyrias/synapse
kythyria/synapse
larroy/synapse
lilien1010/synapse
loulancn/synapse
lullis/synapse
macliu010/synapse
magiccpp1/synapse
majewsky/synapse
manuroe/synapse
markrwilliams/synapse
martindale/synapse
matthewmgamble/synapse
maxatwork/synapse
mbachry/synapse
mboo2005/synapse
mebjas/synapse
mickymeha/synapse
mikalv/synapse
mikelb/synapse
mongonauta/synapse
morteza-araby/synapse
muthusuba/synapse
mweinelt/synapse
narry/synapse
nathan-sain/synapse
negzi/synapse
nehemiahjacob/synapse
neo4reo/synapse
nickaroot/synapse
nikriek/synapse
no-mates/synapse
noffle/synapse
nultek/synapse
ocd-shepherd/synapse
orinocoz/synapse
p0123n/synapse
packetlost/synapse
pawanjay176/synapse
payingattention/synapse
pik/synapse
plule/synapse
pmgast/synapse
pombredanne/synapse-2
prodigeni/synapse
puresteelzhang/synapse
qq40660/synapse
quinndiggity/synapse
redanium/synapse
ricco386/synapse
roblabla/synapse
rogerso/synapse
rrix/synapse
rubo77/synapse
rzr/synapse
sargon/synapse
satnami/synapse
sbts/synapse
schnuffle/synapse
schottkey7/synapse
setkeh/synapse
shing3232/synapse
silkeh/synapse
silvio/synapse
skbaum/synapse
soumahorojean/synapse
symphorien/synapse
takbok/synapse
tchen0123/synapse
tetratorus/synapse
tjardick/synapse
toke/synapse
tomzhang/synapse
torrange/synapse
turt2live/synapse
tvieira/synapse
tyler-smith/synapse
uhoreg/synapse
unfaulty/synapse
uroborus/synapse
veritas44/synapse
vinitkumar/synapse
vmibrahim/synapse
vt0r/synapse
w1r0x/synapse
wangyue1987/synapse
williamleuschner/synapse
winsontan520/synapse
yang123vc/synapse
yeshbourne/synapse
yoesak/synapse
yonglehou/synapse
zires/synapse
zyxtarmo/synapse
Nothing to show
Choose a base branch
dbkr/auto_join_rooms
dbkr/port_script_drop_nuls
dbkr/room_notif_no_glob
dbkr/room_notifs_use_fakeurl
develop
device_poke_index
erikj/acl_perf
erikj/appservice_state
erikj/attestation_commnet
erikj/attestation_jitter
erikj/attestation_local_fix
erikj/backfill_fix
erikj/batch_events
erikj/check_alias
erikj/context_cpu_timing
erikj/device_list_changes_perf
erikj/device_list_fix
erikj/extremeties_txn
erikj/file_api
erikj/filter_speed2
erikj/fix_port
erikj/get_domain_from_id
erikj/group_server
erikj/groups_invite
erikj/initial_sync_perf
erikj/login_token
erikj/many_edu_logging
erikj/new_profile
erikj/notifier_debug
erikj/paginate_sync
erikj/paranoia_logging
erikj/perf_get_room_members
erikj/perf_room_members_fix
erikj/perf
erikj/persist_event_perf
erikj/presence2
erikj/profile_rununtilconcurrent
erikj/push_try
erikj/pypy
erikj/rate_limit_check
erikj/remove_event_auth
erikj/repl_tcp
erikj/restart_on_explode
erikj/room_list_fixes
erikj/state_auth_splitout
erikj/syn-413
erikj/test
erikj/theseus
erikj/timings
erikj/transaction_queue_check
erikj/use_twisted_log
function_tracer
get_state_groups-perf
hotfixes-v0.12.0
hotfixes-v0.18.5
hotfixes-v0.22.1
hotfixes-v0.23.1
initial_sync_perf
kegan/dont-cache-errors
kegan/simple-http-client-timeouts
luke/delete-devices
luke/fix-group-creation-error-wording
luke/fix-on-group-invite-no-profile
luke/group-is-public
luke/groups-invited-users
luke/groups-room-relationship-is-public
luke/read-markers
luke/rename-read-marker
luke/username-availability-post
luke/username-availability-qp
luke/username-availability
markjh/badge_limit
markjh/deduplicate_presence
markjh/disable_jenkins_synchrotron
markjh/event_auth
markjh/external_presence
markjh/file_logging
markjh/fix_ban_propagation
markjh/fix_get_missing
markjh/fix_guest_access_check
markjh/fix_send_pdu
markjh/injection
markjh/injectionII
markjh/invite_checks
markjh/jenkins
markjh/jenkins4
markjh/linear_logging
markjh/linearizer_logging
markjh/logging-memleak
markjh/old_verify_keys
markjh/pushrules
markjh/roominitialsync
markjh/signal
markjh/split_pusher
markjh/synchrotron
markjh/timeout_get_missing_events
markjh/typing_users
markjh/unusedII
master
matrix-org-hotfixes-tcp-repl
matrix-org-hotfixes
matthew/disable-state-redactions
matthew/enable_guest_3p
matthew/fix-filename-escaping
matthew/fix-log-redaction
matthew/fix-roomdir-pagination
matthew/fix-url-preview-length-again
matthew/hide-public-rooms
matthew/ignore-rogue-events
matthew/ipv6
matthew/logging-memleak
matthew/postgres_workaround
matthew/resolve_state_group_logging
matthew/speed-up-dedup
matthew/timeout_get_missing_events
matthew/tls_constant
matthew/turn_allow_guests
matthew/utf8-password-change
paul/SYN-560
paul/issue-1382
paul/schema_breaking_changes
paul/sent-transactions-metric
paul/sytest-integration
rav/block_invites
rav/case_insensitive_invite
rav/db_access_for_auth_providers
rav/debug_purge
rav/debug_sqlite
rav/debug_test
rav/federation_join_test
rav/federation_server_meltdown
rav/fix_cache_logcontexts
rav/fix_ipv6_srv
rav/handle_servfail
rav/keyclient_dbg
rav/kill_refresh_tokens
rav/moar_purge_logging
rav/no_create_index_if_exists
rav/no_user_token_as_guest
rav/refactor_login
rav/reject_invite_to_unreachable_server_test
rav/set_stack_size
rav/travisify
rav/wtf_uncommitted_changes
release-v0.9.4
release-v0.19.0
release-v0.19.1
release-v0.19.2
release-v0.19.3
release-v0.20.0
release-v0.21.0
release-v0.21.1
release-v0.22.0
release-v0.23.0
release-v0.24.0
release-v0.24.1
revert-200-msba/saml2-develop
revert-1971-dbkr/msisdn_signin
revert-2037-fix_readme_centos_issues
revert-2175-erikj/prefill_state
revert-2248-erikj/state_fixup
revert-2596-erikj/attestation_jitter
rob/docker
rob/thumbnail-quality
room-publishing
tc-disrupt-london-midi
toml-issue-template
upgrade_script
Nothing to show
Choose a Head Repository
matrix-org/synapse
Andargor/synapse
Bitti09/synapse
BuZZ-dEE/synapse
CGN/synapse
CNXTEoEorg/synapse-2
CherifSy/synapse
CimpianAlin/synapse
DanielDent/synapse
Dannyzen/synapse
DoubleMalt/synapse
Frost/synapse
Golho/synapse
Half-Shot/synapse
IndrasenSingh85/synapse
JigmeDatse/synapse
Kant1-0/synapse
KentShikama/synapse
MSylvia/synapse
MorganBauer/synapse
OlegGirko/synapse
Pneumaticat/synapse
Rai-Ka/synapse
RajPratim21/synapse
Ralith/synapse
RickCogley/synapse
Rugvip/synapse
RyanBreaker/synapse
Solertis/synapse
Takios/synapse
TimePath/synapse
Torxed/synapse
TurnedToDust/synapse
VShell/synapse
Vandh1/synapse
Vutsuak16/synapse
acgh213/synapse
alisheikh/synapse
ambiateka/synapse
ampling/synapse
anantasty/synapse
andrewshadura/synapse
aperezdc/synapse
aviraldg/synapse
bashrc/synapse
benhylau/synapse
bestwpw/synapse
blide/synapse
brabo/synapse
bussiere/synapse
byinarie/synapse
c-rhodes/synapse
cainerland/synapse
capgelka/synapse
carriercomm/synapse
cekisakurek/synapse
chaabni/synapse
crudbug/synapse
cynergit/synapse
dancvrcek/synapse
dnkls/synapse
eldios/synapse
elopio/synapse
emreuenal/synapse
esaul/synapse
euank/synapse
evelynmitchell/synapse
exap/synapse
fbellagamba/synapse
fivejjs/synapse
floviolleau/synapse
gergelypolonkai/synapse
gerrit-rws/synapse
gfrey/synapse
gitter-badger/synapse
glyph/synapse
gonight/synapse
greg5678/synapse
greysonp/synapse
gvsurenderreddy/synapse
haiderny/synapse-1
harvestli/synapse
haskel/synapse
heavenlyhash/synapse
howethomas/synapse
httng/synapse
huayuxian/synapse
hughes/synapse
igor-krawczuk/synapse
illicitonion/synapse
ilnurgadelshin/synapse
irickt/synapse
irobot0/synapse
jamiepg1/synapse-1
jasonjimnz/synapse
jerrykan/synapse
jfrederickson/synapse
jkolo/synapse
josephyzhou/synapse
jpbeaudet/synapse
jython234/synapse
kfatehi/synapse
khalibartan/synapse
kinpro/synapse
koobs/synapse
kst87/synapse
kyrias/synapse
kythyria/synapse
larroy/synapse
lilien1010/synapse
loulancn/synapse
lullis/synapse
macliu010/synapse
magiccpp1/synapse
majewsky/synapse
manuroe/synapse
markrwilliams/synapse
martindale/synapse
matthewmgamble/synapse
maxatwork/synapse
mbachry/synapse
mboo2005/synapse
mebjas/synapse
mickymeha/synapse
mikalv/synapse
mikelb/synapse
mongonauta/synapse
morteza-araby/synapse
muthusuba/synapse
mweinelt/synapse
narry/synapse
nathan-sain/synapse
negzi/synapse
nehemiahjacob/synapse
neo4reo/synapse
nickaroot/synapse
nikriek/synapse
no-mates/synapse
noffle/synapse
nultek/synapse
ocd-shepherd/synapse
orinocoz/synapse
p0123n/synapse
packetlost/synapse
pawanjay176/synapse
payingattention/synapse
pik/synapse
plule/synapse
pmgast/synapse
pombredanne/synapse-2
prodigeni/synapse
puresteelzhang/synapse
qq40660/synapse
quinndiggity/synapse
redanium/synapse
ricco386/synapse
roblabla/synapse
rogerso/synapse
rrix/synapse
rubo77/synapse
rzr/synapse
sargon/synapse
satnami/synapse
sbts/synapse
schnuffle/synapse
schottkey7/synapse
setkeh/synapse
shing3232/synapse
silkeh/synapse
silvio/synapse
skbaum/synapse
soumahorojean/synapse
symphorien/synapse
takbok/synapse
tchen0123/synapse
tetratorus/synapse
tjardick/synapse
toke/synapse
tomzhang/synapse
torrange/synapse
turt2live/synapse
tvieira/synapse
tyler-smith/synapse
uhoreg/synapse
unfaulty/synapse
uroborus/synapse
veritas44/synapse
vinitkumar/synapse
vmibrahim/synapse
vt0r/synapse
w1r0x/synapse
wangyue1987/synapse
williamleuschner/synapse
winsontan520/synapse
yang123vc/synapse
yeshbourne/synapse
yoesak/synapse
yonglehou/synapse
zires/synapse
zyxtarmo/synapse
Nothing to show
Choose a head branch
dbkr/auto_join_rooms
dbkr/port_script_drop_nuls
dbkr/room_notif_no_glob
dbkr/room_notifs_use_fakeurl
develop
device_poke_index
erikj/acl_perf
erikj/appservice_state
erikj/attestation_commnet
erikj/attestation_jitter
erikj/attestation_local_fix
erikj/backfill_fix
erikj/batch_events
erikj/check_alias
erikj/context_cpu_timing
erikj/device_list_changes_perf
erikj/device_list_fix
erikj/extremeties_txn
erikj/file_api
erikj/filter_speed2
erikj/fix_port
erikj/get_domain_from_id
erikj/group_server
erikj/groups_invite
erikj/initial_sync_perf
erikj/login_token
erikj/many_edu_logging
erikj/new_profile
erikj/notifier_debug
erikj/paginate_sync
erikj/paranoia_logging
erikj/perf_get_room_members
erikj/perf_room_members_fix
erikj/perf
erikj/persist_event_perf
erikj/presence2
erikj/profile_rununtilconcurrent
erikj/push_try
erikj/pypy
erikj/rate_limit_check
erikj/remove_event_auth
erikj/repl_tcp
erikj/restart_on_explode
erikj/room_list_fixes
erikj/state_auth_splitout
erikj/syn-413
erikj/test
erikj/theseus
erikj/timings
erikj/transaction_queue_check
erikj/use_twisted_log
function_tracer
get_state_groups-perf
hotfixes-v0.12.0
hotfixes-v0.18.5
hotfixes-v0.22.1
hotfixes-v0.23.1
initial_sync_perf
kegan/dont-cache-errors
kegan/simple-http-client-timeouts
luke/delete-devices
luke/fix-group-creation-error-wording
luke/fix-on-group-invite-no-profile
luke/group-is-public
luke/groups-invited-users
luke/groups-room-relationship-is-public
luke/read-markers
luke/rename-read-marker
luke/username-availability-post
luke/username-availability-qp
luke/username-availability
markjh/badge_limit
markjh/deduplicate_presence
markjh/disable_jenkins_synchrotron
markjh/event_auth
markjh/external_presence
markjh/file_logging
markjh/fix_ban_propagation
markjh/fix_get_missing
markjh/fix_guest_access_check
markjh/fix_send_pdu
markjh/injection
markjh/injectionII
markjh/invite_checks
markjh/jenkins
markjh/jenkins4
markjh/linear_logging
markjh/linearizer_logging
markjh/logging-memleak
markjh/old_verify_keys
markjh/pushrules
markjh/roominitialsync
markjh/signal
markjh/split_pusher
markjh/synchrotron
markjh/timeout_get_missing_events
markjh/typing_users
markjh/unusedII
master
matrix-org-hotfixes-tcp-repl
matrix-org-hotfixes
matthew/disable-state-redactions
matthew/enable_guest_3p
matthew/fix-filename-escaping
matthew/fix-log-redaction
matthew/fix-roomdir-pagination
matthew/fix-url-preview-length-again
matthew/hide-public-rooms
matthew/ignore-rogue-events
matthew/ipv6
matthew/logging-memleak
matthew/postgres_workaround
matthew/resolve_state_group_logging
matthew/speed-up-dedup
matthew/timeout_get_missing_events
matthew/tls_constant
matthew/turn_allow_guests
matthew/utf8-password-change
paul/SYN-560
paul/issue-1382
paul/schema_breaking_changes
paul/sent-transactions-metric
paul/sytest-integration
rav/block_invites
rav/case_insensitive_invite
rav/db_access_for_auth_providers
rav/debug_purge
rav/debug_sqlite
rav/debug_test
rav/federation_join_test
rav/federation_server_meltdown
rav/fix_cache_logcontexts
rav/fix_ipv6_srv
rav/handle_servfail
rav/keyclient_dbg
rav/kill_refresh_tokens
rav/moar_purge_logging
rav/no_create_index_if_exists
rav/no_user_token_as_guest
rav/refactor_login
rav/reject_invite_to_unreachable_server_test
rav/set_stack_size
rav/travisify
rav/wtf_uncommitted_changes
release-v0.9.4
release-v0.19.0
release-v0.19.1
release-v0.19.2
release-v0.19.3
release-v0.20.0
release-v0.21.0
release-v0.21.1
release-v0.22.0
release-v0.23.0
release-v0.24.0
release-v0.24.1
revert-200-msba/saml2-develop
revert-1971-dbkr/msisdn_signin
revert-2037-fix_readme_centos_issues
revert-2175-erikj/prefill_state
revert-2248-erikj/state_fixup
revert-2596-erikj/attestation_jitter
rob/docker
rob/thumbnail-quality
room-publishing
tc-disrupt-london-midi
toml-issue-template
upgrade_script
Nothing to show
7
contributors
Commits on Mar 09, 2017
Factor _get_missing_events_for_pdu out of _handle_new_pdu
This should be functionally identical: it just seeks to improve readability by reducing indentation.
Move sig check out of _handle_new_pdu
When we receive PDUs via `get_missing_events`, we have already checked their sigs, so there is no need to do it again.
Move FederationServer._handle_new_pdu to FederationHandler
Unfortunately this significantly increases the size of the already-rather-big FederationHandler, but the code fits more naturally here, and it paves the way for the tighter integration that I need between handling incoming PDUs and doing the join dance. Other than renaming the existing `FederationHandler.on_receive_pdu` to `_process_received_pdu` to make way for it, this just consists of the move, and replacing `self.handler` with `self` and `self` with `self.replication_layer`.
Commits on Mar 10, 2017
All checks have passed
5 successful checks
Commits on Mar 13, 2017
All checks have passed
4 successful checksSome checks were not successful
1 errored and 3 successful checksMerge pull request #1983 from matrix-org/rav/no_redirect_stdio
Add an option to disable stdio redirect
All checks have passed
5 successful checksMerge pull request #1978 from matrix-org/rav/refactor_received_pdu
Refactor FederationServer._handle_new_pdu
All checks have passed
4 successful checksFix routing loop when fetching remote media
When we proxy a media request to a remote server, add a query-param, which will tell the remote server to 404 if it doesn't recognise the server_name. This should fix a routing loop where the server keeps forwarding back to itself. Also improves the error handling on remote media fetches, so that we don't always return a rather obscure 502.
Some checks were not successful
3 errored, 3 failing, and 2 successful checksImplement delete_devices API
This implements the proposal here https://docs.google.com/document/d/1C-25Gqz3TXy2jIAoeOKxpNtmme0jI4g3yFGqv5GlAAk for deleting multiple devices at once in a single request.
Some checks were not successful
3 failing and 5 successful checksMerge pull request #1990 from matrix-org/rav/log_config_comments
Add helpful texts to logger config options
Some checks were not successful
1 errored and 3 successful checksSome checks were not successful
1 errored and 7 successful checksImplement _simple_delete_many_txn, use it to delete devices
(But this doesn't implement the same for deleting access tokens or e2e keys. Also respond to code review.
Some checks were not successful
1 errored and 7 successful checks
Commits on Mar 14, 2017
All checks have passed
4 successful checksFix current_state_events table to not lie
If we try and persist two state events that have the same ancestor we calculate the wrong current state when persisting those events.
Merge pull request #1996 from matrix-org/erikj/fix_current_state
Fix current_state_events table to not lie
re-refactor exception heirarchy
Give CodeMessageException back its `msg` attribute, and use that to hold the HTTP status message for HttpResponseException.
Address review comments
- don't blindly proxy all HTTPRequestExceptions - log unexpected exceptions at error - avoid `isinstance` - improve docs on `from_http_response_exception`
Some checks were not successful
3 errored, 1 failing, and 4 successful checksMerge pull request #2002 from matrix-org/erikj/dont_sync_by_default
Reduce number of spurious sync result generations.
Some checks were not successful
1 errored and 3 successful checksAll checks have passed
8 successful checksMerge pull request #1992 from matrix-org/rav/fix_media_loop
Fix routing loop when fetching remote media
All checks have passed
4 successful checks
Commits on Mar 15, 2017
Implement reset_context_after_deferred
to correctly reset the context when we fire off a deferred we aren't going to wait for.
Merge pull request #1994 from matrix-org/dbkr/msisdn_signin_2
Phone number registration / login support v2
All checks have passed
4 successful checksFix assertion to stop transaction queue getting wedged
... and update some docstrings to correctly reflect the types being used. get_new_device_msgs_for_remote can return a long under some circumstances, which was being stored in last_device_list_stream_id_by_dest, and was then upsetting things on the next loop.
All checks have passed
8 successful checksMerge pull request #2010 from matrix-org/rav/fix_txnq_wedge
Fix assertion to stop transaction queue getting wedged
All checks have passed
4 successful checksMerge pull request #1997 from matrix-org/dbkr/cas_partialdownload
Handle PartialDownloadError in CAS login
All checks have passed
4 successful checksMerge pull request #2013 from matrix-org/erikj/presence_FASTER
Format presence events on the edges instead of reformatting them multiple times
All checks have passed
4 successful checksMerge pull request #2014 from Half-Shot/hs/fix-appservice-presence
Add fallback to last_active_ts if it beats the last sync time on a presence timeout.
All checks have passed
4 successful checksQueue up federation PDUs while a room join is in progress
This just takes the existing `room_queues` logic and moves it out to `on_receive_pdu` instead of `_process_received_pdu`, which ensures that we don't start trying to fetch prev_events and whathaveyou until the join has completed.
Commits on Mar 16, 2017
All checks have passed
4 successful checksSome checks were not successful
1 errored and 7 successful checks
Commits on Mar 17, 2017
Merge pull request #2016 from matrix-org/rav/queue_pdus_during_join
Queue up federation PDUs while a room join is in progress
All checks have passed
4 successful checksRefactoring and cleanups
A few non-functional changes: * A bunch of docstrings to document types * Split `EventsStore._persist_events_txn` up a bit. Hopefully it's a bit more readable. * Rephrase `EventFederationStore._update_min_depth_for_room_txn` to avoid mind-bending conditional. * Rephrase rejected/outlier conditional in `_update_outliers_txn` to avoid mind-bending conditional.
Avoid resetting state on rejected events
When we get a rejected event, give it the same state_group as its prev_event, rather than no state_group at all. This should fix #1935.
Some checks were not successful
1 failing and 7 successful checks
Sytest Postgres (Commit)
— Build #2528 origin/rav/no_reset_state_on_rejections succeeded in 6 min 57 sec
Some checks were not successful
3 failing and 2 successful checksSome checks were not successful
1 errored and 7 successful checks
Commits on Mar 18, 2017
Remove broken use of clock.call_later
background_updates was using `call_later` in a way that leaked the logcontext into the reactor. We could have rewritten it to do it properly, but given that we weren't using the fancier facilities provided by `call_later`, we might as well just use `async.sleep`, which does the logcontext stuff properly.
Run the reactor with the sentinel logcontext
This fixes a class of 'Unexpected logcontext' messages, which were happening because the logcontext was somewhat arbitrarily swapping between the sentinel and the `run` logcontext.
Stop preserve_fn leaking context into the reactor
Fix a bug in ``logcontext.preserve_fn`` which made it leak context into the reactor, and add a test for it. Also, get rid of ``logcontext.reset_context_after_deferred``, which tried to do the same thing but had its own, different, set of bugs.
Merge pull request #2028 from majewsky/readme-fix-1
README.md: fix link to client list on matrix.org/docs
Some checks were not successful
3 errored and 1 successful checksAll checks have passed
8 successful checks
Commits on Mar 20, 2017
Merge pull request #2025 from matrix-org/rav/no_reset_state_on_reject…
…ions Avoid resetting state on rejected events
All checks have passed
4 successful checksAll checks have passed
4 successful checkslog_contexts.rst: fix formatting of Note block
Apparently the github RST renderer doesn't like Note blocks.
Some checks were not successful
1 errored and 7 successful checksAll checks have passed
4 successful checksSome checks were not successful
3 failing and 3 successful checksSome checks were not successful
1 errored, 1 failing, and 6 successful checksSome checks were not successful
3 errored and 1 successful checksSome checks were not successful
3 errored and 1 successful checks
Commits on Mar 21, 2017
Merge pull request #2035 from matrix-org/rav/debug_federation
Add some debug to help diagnose weird federation issue
All checks have passed
4 successful checksMerge pull request #2033 from matrix-org/erikj/repl_speed
Don't send the full event json over replication
Some checks were not successful
1 errored and 3 successful checks
Unified
Split
Showing
with
2,317 additions
and 637 deletions.
- +15 −0 CHANGES.rst
- +3 −3 README.rst
- +4 −2 contrib/example_log_config.yaml
- +439 −8 docs/log_contexts.rst
- +1 −1 synapse/__init__.py
- +2 −0 synapse/api/constants.py
- +63 −11 synapse/api/errors.py
- +27 −10 synapse/api/filtering.py
- +7 −3 synapse/app/appservice.py
- +7 −3 synapse/app/client_reader.py
- +7 −3 synapse/app/federation_reader.py
- +7 −3 synapse/app/federation_sender.py
- +10 −3 synapse/app/homeserver.py
- +7 −3 synapse/app/media_repository.py
- +8 −3 synapse/app/pusher.py
- +17 −9 synapse/app/synchrotron.py
- +54 −21 synapse/config/logger.py
- +8 −1 synapse/crypto/keyring.py
- +26 −0 synapse/events/snapshot.py
- +10 −158 synapse/federation/federation_server.py
- +5 −0 synapse/federation/transaction_queue.py
- +25 −7 synapse/handlers/auth.py
- +41 −9 synapse/handlers/device.py
- +245 −22 synapse/handlers/federation.py
- +36 −1 synapse/handlers/identity.py
- +10 −1 synapse/handlers/initial_sync.py
- +58 −37 synapse/handlers/presence.py
- +4 −4 synapse/handlers/profile.py
- +2 −3 synapse/handlers/receipts.py
- +46 −20 synapse/handlers/room_list.py
- +63 −19 synapse/handlers/sync.py
- +12 −3 synapse/http/matrixfederationclient.py
- +10 −0 synapse/http/servlet.py
- +49 −17 synapse/notifier.py
- +1 −1 synapse/push/mailer.py
- +4 −4 synapse/push/push_tools.py
- +2 −0 synapse/python_dependencies.py
- +2 −2 synapse/replication/resource.py
- +5 −0 synapse/replication/slave/storage/_slaved_id_tracker.py
- +18 −30 synapse/replication/slave/storage/events.py
- +90 −7 synapse/rest/client/v1/login.py
- +3 −0 synapse/rest/client/v1/presence.py
- +1 −2 synapse/rest/client/v1/room.py
- +94 −20 synapse/rest/client/v2_alpha/account.py
- +47 −0 synapse/rest/client/v2_alpha/devices.py
- +121 −16 synapse/rest/client/v2_alpha/register.py
- +13 −7 synapse/rest/client/v2_alpha/sync.py
- +12 −0 synapse/rest/media/v1/download_resource.py
- +34 −10 synapse/rest/media/v1/media_repository.py
- +3 −8 synapse/state.py
- +41 −0 synapse/storage/_base.py
- +3 −12 synapse/storage/background_updates.py
- +3 −3 synapse/storage/deviceinbox.py
- +18 −1 synapse/storage/devices.py
- +12 −12 synapse/storage/event_federation.py
- +267 −94 synapse/storage/events.py
- +8 −5 synapse/storage/roommember.py
- +23 −1 synapse/storage/state.py
- +3 −0 synapse/storage/stream.py
- +14 −0 synapse/storage/util/id_generators.py
- +1 −1 synapse/util/caches/stream_change_cache.py
- +43 −11 synapse/util/logcontext.py
- +40 −0 synapse/util/msisdn.py
- +1 −1 tests/handlers/test_presence.py
- +1 −1 tests/replication/test_resource.py
- +61 −0 tests/util/test_log_context.py
View
15
CHANGES.rst
| @@ -1,3 +1,18 @@ | ||
| +Changes in synapse v0.19.3 (2017-03-20) | ||
| +======================================= | ||
| + | ||
| +No changes since v0.19.3-rc2 | ||
| + | ||
| + | ||
| +Changes in synapse v0.19.3-rc2 (2017-03-13) | ||
| +=========================================== | ||
| + | ||
| +Bug fixes: | ||
| + | ||
| +* Fix bug in handling of incoming device list updates over federation. | ||
| + | ||
| + | ||
| + | ||
| Changes in synapse v0.19.3-rc1 (2017-03-08) | ||
| =========================================== | ||
View
6
README.rst
| @@ -20,7 +20,7 @@ The overall architecture is:: | ||
| https://somewhere.org/_matrix https://elsewhere.net/_matrix | ||
| ``#matrix:matrix.org`` is the official support room for Matrix, and can be | ||
| -accessed by any client from https://matrix.org/docs/projects/try-matrix-now or | ||
| +accessed by any client from https://matrix.org/docs/projects/try-matrix-now.html or | ||
| via IRC bridge at irc://irc.freenode.net/matrix. | ||
| Synapse is currently in rapid development, but as of version 0.5 we believe it | ||
| @@ -68,7 +68,7 @@ or mandatory service provider in Matrix, unlike WhatsApp, Facebook, Hangouts, | ||
| etc. | ||
| We'd like to invite you to join #matrix:matrix.org (via | ||
| -https://matrix.org/docs/projects/try-matrix-now), run a homeserver, take a look | ||
| +https://matrix.org/docs/projects/try-matrix-now.html), run a homeserver, take a look | ||
| at the `Matrix spec <https://matrix.org/docs/spec>`_, and experiment with the | ||
| `APIs <https://matrix.org/docs/api>`_ and `Client SDKs | ||
| <http://matrix.org/docs/projects/try-matrix-now.html#client-sdks>`_. | ||
| @@ -321,7 +321,7 @@ Debian | ||
| Matrix provides official Debian packages via apt from http://matrix.org/packages/debian/. | ||
| Note that these packages do not include a client - choose one from | ||
| -https://matrix.org/docs/projects/try-matrix-now/ (or build your own with one of our SDKs :) | ||
| +https://matrix.org/docs/projects/try-matrix-now.html (or build your own with one of our SDKs :) | ||
| Fedora | ||
| ------ | ||
View
6
contrib/example_log_config.yaml
| @@ -39,9 +39,11 @@ loggers: | ||
| synapse: | ||
| level: INFO | ||
| - synapse.storage: | ||
| + synapse.storage.SQL: | ||
| + # beware: increasing this to DEBUG will make synapse log sensitive | ||
| + # information such as access tokens. | ||
| level: INFO | ||
| - | ||
| + | ||
| # example of enabling debugging for a component: | ||
| # | ||
| # synapse.federation.transport.server: | ||
Oops, something went wrong.