Erik Johnston
74f7b44955
Add desc to store_server_keys_json _simple_upsert
2015-06-24 13:15:52 +01:00
Erik Johnston
307e858b94
Fix backfill
2015-06-24 13:11:58 +01:00
Erik Johnston
ec6ceadeeb
Only fail individular deferred for invalid signature
2015-06-24 13:04:37 +01:00
Erik Johnston
f4964e666a
Fix up process_v2_response
2015-06-24 12:53:26 +01:00
Erik Johnston
2dcddf83f3
Use correct arg
2015-06-24 11:41:39 +01:00
Erik Johnston
12d5914e83
Add missing items()
2015-06-24 11:33:57 +01:00
Erik Johnston
3ee7c551e9
Logging
2015-06-24 11:30:05 +01:00
Erik Johnston
44e3bed2a1
Make _check_sigs_and_hash_and_fetch use batch api for verify keys
2015-06-24 11:28:07 +01:00
Erik Johnston
a29319fefa
Implement a batch API for verify_json_objects_for_server
2015-06-24 11:21:35 +01:00
Erik Johnston
f859e3ca37
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/persist_event_perf
2015-06-23 16:41:58 +01:00
David Baker
6825eef955
Oops: underride rule had an identifier with override in it.
2015-06-23 14:26:14 +01:00
Erik Johnston
6924852592
Batch SELECTs in _get_auth_chain_ids_txn
2015-06-23 11:01:04 +01:00
Erik Johnston
0e1d2d0628
Remove debug logging
2015-06-22 18:09:16 +01:00
Erik Johnston
19f0497ac3
Batch outside transactions
2015-06-22 18:06:13 +01:00
Erik Johnston
be29e152d1
Don't update current_state_events for outliers
2015-06-22 17:41:42 +01:00
Erik Johnston
a4ad9b9556
Only persist a maximum of 100 events at a time
2015-06-22 17:17:25 +01:00
Erik Johnston
96ce61b2b1
Implement persist_event*s*
2015-06-22 17:03:34 +01:00
Erik Johnston
03a9e4436b
Add a many version of _handle_prev_events
2015-06-22 14:09:39 +01:00
Erik Johnston
a76e217d8e
Add a many version of store_state_groups_txn
2015-06-22 14:09:25 +01:00
Erik Johnston
96be533f1f
Use new store.persist_events function in federation handler
2015-06-22 11:42:10 +01:00
Erik Johnston
b39b294d1f
Properly cache get_server_verify_keys
2015-06-19 17:20:58 +01:00
Erik Johnston
92d3fe8deb
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/persist_event_perf
2015-06-19 16:25:04 +01:00
Erik Johnston
2f556e0c55
Fix typo
2015-06-19 16:22:53 +01:00
Erik Johnston
7fa1363fb0
Merge pull request #192 from matrix-org/erikj/fix_log_context
...
Fix log context when sending requests
2015-06-19 16:21:40 +01:00
Erik Johnston
b2f7fc4527
Ignore your own domain
2015-06-19 16:16:35 +01:00
Erik Johnston
c461482e1a
Remove unnecessary store.have_events call
2015-06-19 15:35:56 +01:00
Erik Johnston
83df0aef58
PEP8
2015-06-19 15:08:01 +01:00
Erik Johnston
efe2785cab
Cache get_server_verify_key
2015-06-19 15:06:51 +01:00
Erik Johnston
280e7cd874
Merge branch 'erikj/fix_log_context' of github.com:matrix-org/synapse into erikj/persist_event_perf
2015-06-19 11:55:10 +01:00
Erik Johnston
63141e77e7
Merge branch 'develop' of github.com:matrix-org/synapse into erikj/persist_event_perf
2015-06-19 11:50:34 +01:00
Erik Johnston
275dab6b55
Merge pull request #190 from matrix-org/erikj/syn-412
...
Fix notifier leak
2015-06-19 11:49:58 +01:00
Erik Johnston
a68abc79fd
Add comment on cancellation of observers
2015-06-19 11:48:55 +01:00
Erik Johnston
653533a3da
Fix log context when sending requests
2015-06-19 11:46:49 +01:00
Erik Johnston
9bf61ef97b
Merge pull request #189 from matrix-org/erikj/room_init_sync
...
Improve room init sync speed.
2015-06-19 11:36:06 +01:00
Erik Johnston
0e58d19163
Merge pull request #187 from matrix-org/erikj/sanitize_logging
...
Sanitize logging
2015-06-19 11:35:59 +01:00
Erik Johnston
18968efa0a
Remove stale debug lines
2015-06-19 10:18:02 +01:00
Erik Johnston
eb928c9f52
Add site_tag to logger
2015-06-19 10:16:48 +01:00
Erik Johnston
9d112f4440
Add IDs to outbound transactions
2015-06-19 10:13:03 +01:00
Erik Johnston
ad460a8315
Add Eric Myhre to AUTHORS
2015-06-19 09:23:26 +01:00
Erik Johnston
bf628cf6dd
Merge pull request #191 from heavenlyhash/configurable-upload-dir
...
Make upload dir a configurable path.
2015-06-19 09:16:04 +01:00
Eric Myhre
9e5a353663
Make upload dir a configurable path.
...
Fixes SYN-425.
Signed-off-by: Eric Myhre <hash@exultant.us>
2015-06-18 23:38:20 -05:00
Erik Johnston
6df6354f1c
Don't bother storing things we don't need
2015-06-18 17:47:06 +01:00
Erik Johnston
6f6ebd216d
PEP8
2015-06-18 17:00:32 +01:00
Erik Johnston
73513ececc
Documentation
2015-06-18 16:15:10 +01:00
Erik Johnston
1f24c2e589
Don't bother proxying lookups on _NotificationListener to underlying deferred
2015-06-18 16:09:53 +01:00
Erik Johnston
22049ea700
Refactor the notifier.wait_for_events code to be clearer. Add _NotifierUserStream.new_listener that accpets a token to avoid races.
2015-06-18 15:49:24 +01:00
Erik Johnston
050ebccf30
Fix notifier leak
2015-06-18 11:36:26 +01:00
Kegan Dougal
d88e20cdb9
Fix bug where synapse was sending AS user queries incorrectly.
...
Bug introduced in 92b20713d7
which reversed the comparison when checking if a user existed
in the users table. Added UTs to prevent this happening again.
2015-06-17 17:26:03 +01:00
Erik Johnston
eceb554a2f
Use another deferred list
2015-06-16 17:12:27 +01:00
Erik Johnston
b849a64f8d
Use DeferredList
2015-06-16 17:03:24 +01:00