mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-26 20:22:22 +00:00
Merge tag 'v1.0.0rc3' into rav/saml2_client
Synapse 1.0.0rc3 (2019-06-10) ============================= Security: Fix authentication bug introduced in 1.0.0rc1. Please upgrade to rc3 immediately
This commit is contained in:
commit
b55e8840e4
@ -1,3 +1,9 @@
|
|||||||
|
Synapse 1.0.0rc3 (2019-06-10)
|
||||||
|
=============================
|
||||||
|
|
||||||
|
Security: Fix authentication bug introduced in 1.0.0rc1. Please upgrade to rc3 immediately
|
||||||
|
|
||||||
|
|
||||||
Synapse 1.0.0rc2 (2019-06-10)
|
Synapse 1.0.0rc2 (2019-06-10)
|
||||||
=============================
|
=============================
|
||||||
|
|
||||||
|
1
changelog.d/5418.bugfix
Normal file
1
changelog.d/5418.bugfix
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fix bug where attempting to send transactions with large number of EDUs can fail.
|
@ -27,4 +27,4 @@ try:
|
|||||||
except ImportError:
|
except ImportError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
__version__ = "1.0.0rc2"
|
__version__ = "1.0.0rc3"
|
||||||
|
@ -479,6 +479,7 @@ class AuthHandler(BaseHandler):
|
|||||||
medium,
|
medium,
|
||||||
threepid_creds["client_secret"],
|
threepid_creds["client_secret"],
|
||||||
sid=threepid_creds["sid"],
|
sid=threepid_creds["sid"],
|
||||||
|
validated=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
threepid = {
|
threepid = {
|
||||||
|
@ -138,6 +138,10 @@ class DeviceInboxWorkerStore(SQLBaseStore):
|
|||||||
if not has_changed or last_stream_id == current_stream_id:
|
if not has_changed or last_stream_id == current_stream_id:
|
||||||
return defer.succeed(([], current_stream_id))
|
return defer.succeed(([], current_stream_id))
|
||||||
|
|
||||||
|
if limit <= 0:
|
||||||
|
# This can happen if we run out of room for EDUs in the transaction.
|
||||||
|
return defer.succeed(([], last_stream_id))
|
||||||
|
|
||||||
def get_new_messages_for_remote_destination_txn(txn):
|
def get_new_messages_for_remote_destination_txn(txn):
|
||||||
sql = (
|
sql = (
|
||||||
"SELECT stream_id, messages_json FROM device_federation_outbox"
|
"SELECT stream_id, messages_json FROM device_federation_outbox"
|
||||||
|
@ -998,7 +998,7 @@ class RegistrationStore(
|
|||||||
client_secret,
|
client_secret,
|
||||||
address=None,
|
address=None,
|
||||||
sid=None,
|
sid=None,
|
||||||
validated=None,
|
validated=True,
|
||||||
):
|
):
|
||||||
"""Gets a session_id and last_send_attempt (if available) for a
|
"""Gets a session_id and last_send_attempt (if available) for a
|
||||||
client_secret/medium/(address|session_id) combo
|
client_secret/medium/(address|session_id) combo
|
||||||
|
Loading…
Reference in New Issue
Block a user