Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Shuffle receipt handler around so that worker apps don't need to load it | Erik Johnston | 2016-11-23 | 1 | -1/+0 |
| | |||||
* | Explicit federation ack | Erik Johnston | 2016-11-23 | 1 | -2/+11 |
| | |||||
* | Comments | Erik Johnston | 2016-11-21 | 1 | -0/+2 |
| | |||||
* | Add some metrics | Erik Johnston | 2016-11-21 | 1 | -48/+68 |
| | |||||
* | Comments | Erik Johnston | 2016-11-21 | 2 | -0/+29 |
| | |||||
* | Remove explicit calls to send_pdu | Erik Johnston | 2016-11-21 | 2 | -8/+9 |
| | |||||
* | Fix tests | Erik Johnston | 2016-11-21 | 1 | -0/+3 |
| | |||||
* | Store federation stream positions in the database | Erik Johnston | 2016-11-21 | 1 | -4/+17 |
| | |||||
* | Handle sending events and device messages over federation | Erik Johnston | 2016-11-17 | 2 | -7/+63 |
| | |||||
* | Hook up the send queue and create a federation sender worker | Erik Johnston | 2016-11-16 | 1 | -21/+68 |
| | |||||
* | Add initial cut of federation send queue | Erik Johnston | 2016-11-16 | 1 | -0/+174 |
| | |||||
* | Use new federation_sender DI | Erik Johnston | 2016-11-16 | 2 | -49/+10 |
| | |||||
* | Add transaction queue and transport layer to DI | Erik Johnston | 2016-11-16 | 4 | -10/+6 |
| | |||||
* | Move logic into transaction_queue | Erik Johnston | 2016-11-16 | 3 | -19/+18 |
| | |||||
* | Rename transaction queue functions to send_* | Erik Johnston | 2016-11-16 | 2 | -12/+12 |
| | |||||
* | Time out typing over federation | Erik Johnston | 2016-09-23 | 1 | -2/+0 |
| | |||||
* | Support filtering remote room lists | Erik Johnston | 2016-09-16 | 2 | -3/+9 |
| | |||||
* | Pass since/from parameters over federation | Erik Johnston | 2016-09-15 | 3 | -21/+20 |
| | |||||
* | Merge pull request #1110 from matrix-org/markjh/e2e_timeout | Mark Haines | 2016-09-13 | 2 | -6/+12 |
|\ | | | | | Add a timeout parameter for end2end key queries. | ||||
| * | Add a timeout parameter for end2end key queries. | Mark Haines | 2016-09-12 | 2 | -6/+12 |
| | | | | | | | | | | | | | | | | | | | | Add a timeout parameter for controlling how long synapse will wait for responses from remote servers. For servers that fail include how they failed to make it easier to debug. Fetch keys from different servers in parallel rather than in series. Set the default timeout to 10s. | ||||
* | | Fix backfill when cannot find an event. | Erik Johnston | 2016-09-12 | 1 | -1/+1 |
|/ | | | | `get_pdu` can succeed but return None. | ||||
* | Fix incorrect attribute name | Erik Johnston | 2016-09-09 | 1 | -1/+1 |
| | |||||
* | Comment | Erik Johnston | 2016-09-09 | 1 | -0/+1 |
| | |||||
* | Add edu.type as part of key. Remove debug logging | Erik Johnston | 2016-09-09 | 1 | -2/+3 |
| | |||||
* | Clobber EDUs in send queue | Erik Johnston | 2016-09-09 | 2 | -5/+51 |
| | |||||
* | Drop replication log levels | Erik Johnston | 2016-09-09 | 1 | -1/+0 |
| | |||||
* | Check if destination is ready for retry earlier | Erik Johnston | 2016-09-09 | 1 | -15/+16 |
| | |||||
* | Fix tightloop on sending transaction | Erik Johnston | 2016-09-09 | 1 | -122/+134 |
| | |||||
* | Correctly guard against multiple concurrent transactions | Erik Johnston | 2016-09-09 | 1 | -38/+41 |
| | |||||
* | Update last_device_stream_id_by_dest if there is nothing to send | Erik Johnston | 2016-09-09 | 1 | -0/+1 |
| | |||||
* | Add a new method to enqueue the device messages rather than sending a dummy EDU | Mark Haines | 2016-09-07 | 2 | -0/+17 |
| | |||||
* | Move the check for federated device_messages. | Mark Haines | 2016-09-07 | 1 | -11/+15 |
| | | | | | Move the check into _attempt_new_transaction. Only delete messages if there were messages to delete. | ||||
* | Add stream change caches for device messages | Mark Haines | 2016-09-07 | 1 | -1/+4 |
| | |||||
* | Send device messages over federation | Mark Haines | 2016-09-06 | 2 | -8/+37 |
| | |||||
* | Only pull out IDs from DB for /state_ids/ request | Erik Johnston | 2016-09-02 | 1 | -6/+4 |
| | |||||
* | Merge branch 'erikj/pdu_check' of github.com:matrix-org/synapse into develop | Erik Johnston | 2016-09-01 | 1 | -5/+5 |
|\ | |||||
| * | Ensure we only return a validated pdu in get_pdu | Erik Johnston | 2016-09-01 | 1 | -5/+5 |
| | | |||||
* | | Use state handler instead of get_users_in_room/get_joined_hosts | Erik Johnston | 2016-08-26 | 1 | -1/+4 |
|/ | |||||
* | Preserve some logcontexts | Erik Johnston | 2016-08-24 | 2 | -9/+15 |
| | |||||
* | PEP8 | Erik Johnston | 2016-08-10 | 1 | -1/+3 |
| | |||||
* | Clean up TransactionQueue | Erik Johnston | 2016-08-10 | 1 | -215/+160 |
| | |||||
* | Merge pull request #999 from matrix-org/erikj/measure_more | Erik Johnston | 2016-08-10 | 1 | -5/+7 |
|\ | | | | | Measure federation send transaction resources | ||||
| * | Measure federation send transaction resources | Erik Johnston | 2016-08-10 | 1 | -5/+7 |
| | | |||||
* | | Don't stop on 4xx series errors | Erik Johnston | 2016-08-10 | 1 | -11/+1 |
| | | |||||
* | | Also pull out rejected events | Erik Johnston | 2016-08-10 | 1 | -1/+1 |
| | | |||||
* | | Store if we fail to fetch an event from a destination | Erik Johnston | 2016-08-10 | 1 | -1/+36 |
|/ | |||||
* | Merge pull request #991 from matrix-org/erikj/retry_make | Erik Johnston | 2016-08-05 | 1 | -11/+24 |
|\ | | | | | Retry joining via other servers if first one failed. Fix some other bugs. | ||||
| * | Fix a couple of python bugs | Erik Johnston | 2016-08-05 | 1 | -6/+8 |
| | | |||||
| * | Retry joining via other servers if first one failed | Erik Johnston | 2016-08-05 | 1 | -5/+16 |
| | | |||||
* | | Add federation /version API | Erik Johnston | 2016-08-05 | 1 | -1/+17 |
| | | |||||
* | | Change the way we specify if we require auth or not | Erik Johnston | 2016-08-05 | 1 | -40/+55 |
|/ | |||||
* | Fix typo | Erik Johnston | 2016-08-05 | 1 | -1/+1 |
| | |||||
* | Check if we already have the events returned by /state/ | Erik Johnston | 2016-08-05 | 1 | -2/+16 |
| | |||||
* | Fallback to /state/ on both 400 and 404 | Erik Johnston | 2016-08-05 | 1 | -1/+1 |
| | |||||
* | Tweak integrity error recovery to work as intended | Benjamin Saunders | 2016-08-04 | 1 | -1/+1 |
| | |||||
* | Fix typos. | Erik Johnston | 2016-08-04 | 1 | -3/+3 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/state_ids_api | Erik Johnston | 2016-08-04 | 2 | -22/+2 |
|\ | |||||
| * | Merge branch 'develop' into rav/refactor_device_query | Mark Haines | 2016-08-03 | 1 | -23/+47 |
| |\ | |||||
| * | | E2E keys: Make federation query share code with client query | Richard van der Hoff | 2016-08-02 | 2 | -22/+2 |
| | | | | | | | | | | | | | | | Refactor the e2e query handler to separate out the local query, and then make the federation handler use it. | ||||
* | | | Tidy up get_events | Erik Johnston | 2016-08-04 | 1 | -12/+10 |
| | | | |||||
* | | | Rename fields to _ids | Erik Johnston | 2016-08-03 | 2 | -4/+4 |
| | | | |||||
* | | | Fix copy + paste fails | Erik Johnston | 2016-08-03 | 2 | -6/+11 |
| | | | |||||
* | | | Actually call get_room_state | Erik Johnston | 2016-08-03 | 1 | -0/+4 |
| | | | |||||
* | | | Fix syntax error | Erik Johnston | 2016-08-03 | 1 | -1/+8 |
| | | | |||||
* | | | Comment | Erik Johnston | 2016-08-03 | 1 | -0/+14 |
| | | | |||||
* | | | Add /state_ids federation API | Erik Johnston | 2016-08-03 | 4 | -3/+125 |
| |/ |/| | | | | | | | The new API only returns the event_ids for the state, as most requesters will already have the vast majority of the events already. | ||||
* | | Don't double wrap 200 | Erik Johnston | 2016-08-02 | 1 | -2/+2 |
| | | |||||
* | | Fix response cache | Erik Johnston | 2016-08-02 | 1 | -1/+1 |
| | | |||||
* | | Cache federation state responses | Erik Johnston | 2016-07-21 | 1 | -21/+45 |
|/ | |||||
* | Linearize some federation endpoints based on (origin, room_id) | Erik Johnston | 2016-06-17 | 2 | -67/+78 |
| | |||||
* | Merge pull request #878 from matrix-org/erikj/ujson | Erik Johnston | 2016-06-17 | 1 | -1/+1 |
|\ | | | | | Disable responding with canonical json for federation | ||||
| * | Disable responding with canonical json for federation | Erik Johnston | 2016-06-17 | 1 | -1/+1 |
| | | |||||
* | | Only re-sign our own events | Erik Johnston | 2016-06-17 | 1 | -6/+9 |
|/ | |||||
* | Linearize fetching of gaps on incoming events | Erik Johnston | 2016-06-15 | 4 | -37/+58 |
| | | | | | This potentially stops the server from doing multiple requests for the same data. | ||||
* | Fix up federation PublicRoomList | Erik Johnston | 2016-06-08 | 1 | -1/+1 |
| | |||||
* | Merge pull request #856 from matrix-org/erikj/fed_pub_rooms | Erik Johnston | 2016-06-08 | 1 | -5/+0 |
|\ | | | | | Enable auth on /publicRoom endpoints | ||||
| * | Enable auth on federation PublicRoomList | Erik Johnston | 2016-06-08 | 1 | -5/+0 |
| | | |||||
* | | Add some logging for when servers ask for missing events | Erik Johnston | 2016-06-08 | 1 | -0/+19 |
|/ | |||||
* | pep8 | David Baker | 2016-06-01 | 1 | -1/+3 |
| | |||||
* | Apparently I am not permitted to have two blank lines here | David Baker | 2016-05-31 | 1 | -1/+0 |
| | |||||
* | Basic, un-cached support for secondary_directory_servers | David Baker | 2016-05-31 | 3 | -1/+34 |
| | |||||
* | Fix c+p fail | David Baker | 2016-05-31 | 1 | -17/+0 |
| | |||||
* | Add federation room list servlet | David Baker | 2016-05-31 | 1 | -1/+64 |
| | |||||
* | Run transaction queue on reactor | Erik Johnston | 2016-05-09 | 1 | -0/+3 |
| | | | | | This ensures that any CPU work that happens doesn't block message sending. | ||||
* | Add an openidish mechanism for proving to third parties that you own a given ↵ | Mark Haines | 2016-05-05 | 2 | -1/+51 |
| | | | | user_id | ||||
* | Fix typo in event_auth servlet path | Erik Johnston | 2016-04-29 | 1 | -1/+1 |
| | |||||
* | Lower timeout for make_membership_event | Erik Johnston | 2016-04-15 | 1 | -1/+2 |
| | | | | | Calls to make_membership_event are done in response to client requests, and so should not be retried over long timeframes. | ||||
* | Intern all the things | Erik Johnston | 2016-03-23 | 2 | -14/+15 |
| | |||||
* | Remove unused backfilled parameter from persist_event | Mark Haines | 2016-03-21 | 1 | -1/+0 |
| | |||||
* | Catch exceptions from EDU handling | Erik Johnston | 2016-03-18 | 1 | -1/+6 |
| | |||||
* | Yield on EDU handling | Erik Johnston | 2016-03-18 | 1 | -3/+4 |
| | |||||
* | Use parse_json_object_from_request to parse JSON out of request bodies | Mark Haines | 2016-03-11 | 1 | -2/+2 |
| | |||||
* | Add profile information to invites | Erik Johnston | 2016-03-04 | 2 | -1/+2 |
| | |||||
* | Allow third_party_signed to be specified on /join | Daniel Wagner-Hall | 2016-02-23 | 2 | -3/+24 |
| | |||||
* | Fix up logcontexts | Erik Johnston | 2016-02-08 | 2 | -6/+1 |
| | |||||
* | Fix flake8 warnings for new flake8 | Daniel Wagner-Hall | 2016-02-02 | 1 | -1/+1 |
| | |||||
* | Remove redundated BaseHomeServer | Erik Johnston | 2016-01-26 | 5 | -93/+56 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 11 | -11/+11 |
| | |||||
* | Host /unstable and /r0 versions of r0 APIs | Daniel Wagner-Hall | 2015-12-01 | 1 | -1/+1 |
| | |||||
* | Only retry federation requests for a long time for background requests | Erik Johnston | 2015-11-17 | 1 | -0/+1 |
| | |||||
* | Don't complain if /make_join response lacks 'prev_state' list (SYN-517) | Paul "LeoNerd" Evans | 2015-11-13 | 1 | -0/+6 |
| | |||||
* | Fix missing profile data in federation joins | Erik Johnston | 2015-11-12 | 1 | -1/+4 |
| | | | | | There was a regression where we stopped including profile data in initial joins for rooms joined over federation. | ||||
* | Exchange 3pid invites for m.room.member invites | Daniel Wagner-Hall | 2015-11-05 | 4 | -27/+92 |
| | |||||
* | Don't rearrange transaction_queue | Erik Johnston | 2015-11-03 | 1 | -12/+11 |
| | |||||
* | Fix broken cache for getting retry times. This meant we retried remote ↵ | Erik Johnston | 2015-11-03 | 1 | -23/+24 |
| | | | | destinations way more frequently than we should | ||||
* | Allow rejecting invites | Daniel Wagner-Hall | 2015-10-20 | 4 | -8/+117 |
| | | | | | This is done by using the same /leave flow as you would use if you had already accepted the invite and wanted to leave. | ||||
* | Look for keys on the right objects | Daniel Wagner-Hall | 2015-10-15 | 1 | -1/+3 |
| | |||||
* | Remove unnecessary class-wrapping | Daniel Wagner-Hall | 2015-10-13 | 2 | -6/+6 |
| | |||||
* | Move event contents into third_party_layout field | Daniel Wagner-Hall | 2015-10-13 | 1 | -2/+2 |
| | |||||
* | Fix lint errors | Daniel Wagner-Hall | 2015-10-06 | 1 | -1/+0 |
| | |||||
* | Implement third party identifier invites | Daniel Wagner-Hall | 2015-10-01 | 4 | -8/+27 |
| | |||||
* | Merge pull request #208 from matrix-org/markjh/end-to-end-key-federation | Mark Haines | 2015-08-18 | 4 | -0/+163 |
|\ | | | | | Federation for end-to-end key requests. | ||||
| * | Add a few strategic new lines to break up the on_query_client_keys and ↵ | Mark Haines | 2015-08-13 | 1 | -0/+6 |
| | | | | | | | | on_claim_client_keys methods in federation_server.py | ||||
| * | Get the end-to-end key federation working | Mark Haines | 2015-07-24 | 3 | -16/+12 |
| | | |||||
| * | Add federation support for end-to-end key requests | Mark Haines | 2015-07-23 | 4 | -0/+161 |
| | | |||||
* | | Move all the caches into their own package, synapse.util.caches | Erik Johnston | 2015-08-11 | 1 | -1/+1 |
|/ | |||||
* | Implement bulk verify_signed_json API | Erik Johnston | 2015-06-26 | 2 | -64/+118 |
| | |||||
* | Log more when we have processed the request | Erik Johnston | 2015-06-15 | 1 | -0/+1 |
| | |||||
* | Merge pull request #176 from matrix-org/erikj/backfill_auth | Erik Johnston | 2015-06-03 | 1 | -7/+4 |
|\ | | | | | Improve backfill. | ||||
| * | Rephrase log line | Erik Johnston | 2015-06-02 | 1 | -1/+1 |
| | | |||||
| * | Don't about JSON when warning about content tampering | Erik Johnston | 2015-06-02 | 1 | -7/+4 |
| | | |||||
* | | Log where a request came from in federation | Erik Johnston | 2015-06-02 | 1 | -0/+2 |
|/ | |||||
* | Remove redundant for loop | Erik Johnston | 2015-05-22 | 1 | -3/+0 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-05-22 | 4 | -11/+32 |
|\ | | | | | | | erikj/backfill_fixes | ||||
| * | Merge pull request #156 from matrix-org/erikj/join_perf | Mark Haines | 2015-05-22 | 3 | -12/+22 |
| |\ | | | | | | | Make joining #matrix:matrix.org over federation quicker | ||||
| | * | Add doc strings | Erik Johnston | 2015-05-22 | 2 | -0/+4 |
| | | | |||||
| * | | Log origin and stats of incoming transactions | Erik Johnston | 2015-05-22 | 1 | -0/+8 |
| | | | |||||
| * | | Add txn_id to some log lines | Erik Johnston | 2015-05-22 | 1 | -6/+11 |
| | | | |||||
| * | | Log less lines at INFO level, but include more helpful information | Erik Johnston | 2015-05-22 | 1 | -6/+10 |
| | | | |||||
* | | | Merge branch 'erikj/join_perf' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-05-21 | 1 | -3/+3 |
|\ \ \ | | |/ | |/| | | | | erikj/backfill_fixes | ||||
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perf | Erik Johnston | 2015-05-21 | 1 | -3/+3 |
| |\| | |||||
| | * | Remove pointless newline | Erik Johnston | 2015-05-18 | 1 | -1/+0 |
| | | | |||||
| | * | Newline, remove debug logging | Erik Johnston | 2015-05-18 | 1 | -2/+0 |
| | | | |||||
| | * | Remove debug logging | Erik Johnston | 2015-05-18 | 1 | -8/+0 |
| | | | |||||
| | * | Fix daedlock | Erik Johnston | 2015-05-15 | 2 | -3/+14 |
| | | | |||||
* | | | Actually fetch state for new backwards extremeties when backfilling. | Erik Johnston | 2015-05-20 | 1 | -1/+5 |
|/ / | |||||
* | | Add None check | Erik Johnston | 2015-05-19 | 1 | -1/+1 |
| | | |||||
* | | Add a timeout param to get_event | Erik Johnston | 2015-05-19 | 3 | -11/+17 |
|/ | |||||
* | Unwrap defer.gatherResults failures | Erik Johnston | 2015-05-12 | 1 | -1/+3 |
| | |||||
* | Change the way we do logging contexts so that they survive divergences | Erik Johnston | 2015-05-08 | 1 | -24/+22 |
| | |||||
* | And use buffer(...) there as well | Erik Johnston | 2015-05-05 | 1 | -1/+1 |
| | |||||
* | Use buffer(...) when inserting into bytea column | Erik Johnston | 2015-05-05 | 1 | -3/+1 |
| | |||||
* | Missed events are not outliers | Erik Johnston | 2015-05-05 | 1 | -1/+1 |
| | |||||
* | Don't log enqueue_ | Erik Johnston | 2015-05-01 | 1 | -1/+0 |
| | |||||
* | Split a storage function in two so that we don't have to do extra work. | Erik Johnston | 2015-05-01 | 1 | -2/+2 |
| | |||||
* | Add missing servlet to list | Erik Johnston | 2015-03-19 | 1 | -0/+1 |
| | |||||
* | Appease pep8 | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -3/+6 |
| | |||||
* | Neater metrics from TransactionQueue | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -9/+11 |
| | |||||
* | Replace the @metrics.counted annotations in federation with ↵ | Paul "LeoNerd" Evans | 2015-03-12 | 2 | -24/+29 |
| | | | | specifically-written counters and distributions | ||||
* | Count incoming HTTP requests per servlet that responds | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -0/+4 |
| | |||||
* | Use _ instead of . as a metric namespacing separator, for Prometheus | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -2/+2 |
| | |||||
* | Rename Metrics' "keys" to "labels" | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -2/+2 |
| | |||||
* | Put vector gauges on transaction queue pending PDU and EDU dicts | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -2/+14 |
| | |||||
* | Initial attempt at sprinkling some @metrics.counted decorations around the ↵ | Paul "LeoNerd" Evans | 2015-03-12 | 2 | -0/+28 |
| | | | | federation code | ||||
* | Delete pointless (and unreachable) __init__ method from FederationClient | Paul "LeoNerd" Evans | 2015-03-12 | 1 | -2/+0 |
| | |||||
* | Fix bug in logging. | Erik Johnston | 2015-03-10 | 1 | -5/+5 |
| | |||||
* | Fix bug in logging. | Erik Johnston | 2015-03-10 | 1 | -1/+1 |
| | |||||
* | Merge pull request #101 from matrix-org/neaten-federation-servlets | Erik Johnston | 2015-03-09 | 1 | -182/+157 |
|\ | | | | | Neaten federation servlets | ||||
| * | Appease pep8 | Paul "LeoNerd" Evans | 2015-03-05 | 1 | -19/+27 |
| | | |||||
| * | Append a $ on PATH at registration time, meaning each PATH attribute doesn't ↵ | Paul "LeoNerd" Evans | 2015-03-05 | 1 | -13/+14 |
| | | | | | | | | need it | ||||
| * | Slightly neater(?) arrangement of authentication wrapper for HTTP servlet ↵ | Paul "LeoNerd" Evans | 2015-03-05 | 1 | -25/+37 |
| | | | | | | | | methods | ||||
| * | Remove the dead 'rate_limit_origin' method from TransportLayerServer | Paul "LeoNerd" Evans | 2015-03-05 | 1 | -6/+0 |
| | | |||||
| * | Move federation API responding code out of weird mix of lambdas into ↵ | Paul "LeoNerd" Evans | 2015-03-05 | 1 | -170/+130 |
| | | | | | | | | Servlet-style methods on instances | ||||
* | | Docs | Erik Johnston | 2015-03-05 | 1 | -0/+2 |
| | | |||||
* | | Remove unecessary check | Erik Johnston | 2015-03-05 | 1 | -6/+0 |
| | | |||||
* | | Respect min_depth argument | Erik Johnston | 2015-03-05 | 1 | -4/+6 |
| | | |||||
* | | Docs. | Erik Johnston | 2015-03-05 | 1 | -0/+16 |
| | | |||||
* | | Handle if get_missing_pdu returns 400 or not all events. | Erik Johnston | 2015-03-05 | 2 | -15/+100 |
|/ | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into batched_get_pdu | Erik Johnston | 2015-03-02 | 3 | -31/+36 |
|\ | |||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-03-02 | 1 | -20/+12 |
| |\ | | | | | | | | | | federation_rate_limit | ||||
| | * | If we're yielding don't add errback | Erik Johnston | 2015-03-02 | 1 | -7/+3 |
| | | | |||||
| | * | Process transactions serially. | Erik Johnston | 2015-03-02 | 1 | -14/+10 |
| | | | | | | | | | | | | | | | | | | Since the events received in a transaction are ordered, later events might depend on earlier events and so we shouldn't blindly process them in parellel. | ||||
| * | | Make the federation server ratelimiting configurable. | Erik Johnston | 2015-03-02 | 1 | -5/+5 |
| | | | |||||
| * | | Move federation rate limiting out of transport layer | Erik Johnston | 2015-02-27 | 2 | -204/+4 |
| | | | |||||
| * | | Document FederationRateLimiter | Erik Johnston | 2015-02-27 | 1 | -8/+51 |
| | | | |||||
| * | | Initial implementation of federation server rate limiting | Erik Johnston | 2015-02-26 | 2 | -5/+182 |
| |/ | |||||
* | | Must update pending_transactions map before yield'ing | Erik Johnston | 2015-02-26 | 1 | -2/+2 |
| | | |||||
* | | Implement and use new batched get missing pdu | Erik Johnston | 2015-02-23 | 5 | -100/+121 |
| | | |||||
* | | Initial stab at implementing a batched get_missing_pdus request | Erik Johnston | 2015-02-19 | 1 | -0/+72 |
|/ | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.7.1 | Erik Johnston | 2015-02-18 | 1 | -3/+27 |
|\ | |||||
| * | Restrict the destinations that synapse can talk to | Mark Haines | 2015-02-18 | 1 | -3/+27 |
| | | |||||
* | | Add errback to all deferreds in transaction_queue | Erik Johnston | 2015-02-18 | 1 | -14/+23 |
| | | |||||
* | | Discard destination 'localhost' | Erik Johnston | 2015-02-18 | 1 | -2/+2 |
| | | |||||
* | | Don't send failure to self | Erik Johnston | 2015-02-18 | 1 | -0/+3 |
|/ | |||||
* | Fix pyflakes | Erik Johnston | 2015-02-18 | 1 | -1/+0 |
| | |||||
* | Merge branch 'keyclient_retry_scheme' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-02-18 | 2 | -104/+88 |
|\ | | | | | | | develop | ||||
| * | Try to only back off if we think we failed to connect to the remote | Erik Johnston | 2015-02-17 | 1 | -33/+33 |
| | | |||||
| * | Add per server retry limiting. | Erik Johnston | 2015-02-17 | 2 | -107/+90 |
| | | | | | | | | | | Factor out the pre destination retry logic from TransactionQueue so it can be reused in both get_pdu and crypto.keyring | ||||
* | | Merge pull request #77 from matrix-org/failures | Erik Johnston | 2015-02-18 | 2 | -4/+39 |
|\ \ | | | | | | | Failures | ||||
| * | | Remove debug raise | Erik Johnston | 2015-02-17 | 1 | -7/+0 |
| | | | |||||
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into failures | Erik Johnston | 2015-02-17 | 1 | -5/+8 |
| |\ \ | |||||
| * | | | Format the response of transaction request in a nicer way | Erik Johnston | 2015-02-17 | 2 | -6/+35 |
| | | | | |||||
| * | | | Actually respond with JSON to incoming transaction | Erik Johnston | 2015-02-17 | 1 | -0/+2 |
| | | | | |||||
| * | | | Handle recieving failures in transactions | Erik Johnston | 2015-02-17 | 1 | -1/+12 |
| | | | | |||||
* | | | | Merge pull request #79 from matrix-org/get_pdu_limiting | Erik Johnston | 2015-02-18 | 1 | -3/+39 |
|\ \ \ \ | |_|_|/ |/| | | | Get pdu limiting | ||||
| * | | | Rename _fail_fetch_pdu_cache to _get_pdu_cache | Erik Johnston | 2015-02-18 | 1 | -8/+8 |
| | | | | |||||
| * | | | Merge branch 'develop' of github.com:matrix-org/synapse into get_pdu_limiting | Erik Johnston | 2015-02-17 | 1 | -5/+8 |
| |\ \ \ | | | |/ | | |/| | |||||
| * | | | Cache results of get_pdu. | Erik Johnston | 2015-02-16 | 1 | -3/+39 |
| | | | | |||||
* | | | | Merge branch 'consumeErrors' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-02-17 | 2 | -2/+2 |
|\ \ \ \ | |_|/ / |/| | / | | |/ | |/| | |||||
| * | | Use consumeErrors=True on all DeferredLists. | Erik Johnston | 2015-02-17 | 2 | -2/+2 |
| |/ | | | | | | | | | | | This is so that the DeferredLists actually consume the error instead of propogating down the non-existent errback chain. This should reduce the number of unhandled errors we are seeing. | ||||
* | | Mark old events as outliers. | Erik Johnston | 2015-02-16 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | This is to fix the issue where if a remote server sends an event that references a really "old" event, then the local server will pull that in and send to all clients. We decide if an event is old if its depth is less than the minimum depth of the room. | ||||
* | | Don't return anything from _handle_new_pdu, since we ignore the return value ↵ | Erik Johnston | 2015-02-16 | 1 | -4/+1 |
|/ | | | | anyway | ||||
* | Fix logging | Erik Johnston | 2015-02-12 | 1 | -1/+4 |
| | |||||
* | Parrellize fetching of events | Erik Johnston | 2015-02-12 | 1 | -3/+11 |
| | |||||
* | Correctly handle all the places that can throw exceptions | Erik Johnston | 2015-02-12 | 2 | -13/+20 |
| | |||||
* | Merge pull request #61 from matrix-org/timeout-federation-requests | Erik Johnston | 2015-02-11 | 1 | -0/+2 |
|\ | | | | | Timeout federation requests | ||||
| * | Fix so timing out connections to actually work. | Erik Johnston | 2015-02-11 | 1 | -0/+2 |
| | | |||||
* | | Don't unfreeze when using FreezeEvent.get_dict, as we are using a ↵ | Erik Johnston | 2015-02-11 | 1 | -3/+4 |
| | | | | | | | | JSONEncoder that understands FrozenDict | ||||
* | | Blunty replace json with simplejson | Erik Johnston | 2015-02-11 | 2 | -2/+2 |
|/ | |||||
* | Log all the exits from _attempt_new_transaction | Erik Johnston | 2015-02-10 | 1 | -2/+7 |
| | |||||
* | Sign auth_chains when returned by /state/ requests | Erik Johnston | 2015-02-10 | 1 | -0/+11 |
| | |||||
* | Connection errors in twisted aren't RuntimeErrors | Erik Johnston | 2015-02-05 | 1 | -2/+2 |
| | |||||
* | Pass through list of room hosts from room alias query to federation so that ↵ | Erik Johnston | 2015-02-05 | 1 | -1/+4 |
| | | | | it can retry against different room hosts | ||||
* | Apply sanity to the transport client interface. Convert 'make_join' and ↵ | Erik Johnston | 2015-02-04 | 3 | -62/+85 |
| | | | | 'send_join' to accept iterables of destinations | ||||
* | Retry make_join | Erik Johnston | 2015-02-04 | 1 | -7/+12 |
| | |||||
* | New line | Erik Johnston | 2015-02-03 | 1 | -1/+1 |
| | |||||
* | Actually, the old prune_event function was non-deterministic, so no point ↵ | Erik Johnston | 2015-02-03 | 1 | -12/+4 |
| | | | | keeping it around :( | ||||
* | Remove unused imports | Erik Johnston | 2015-02-03 | 1 | -5/+0 |
| | |||||
* | Add new FederationBase | Erik Johnston | 2015-02-03 | 1 | -0/+126 |
| | |||||
* | Keep around the old (buggy) version of the prune_event function so that we ↵ | Erik Johnston | 2015-02-03 | 2 | -135/+13 |
| | | | | can use it to check signatures for events on old servers | ||||
* | PEP8 | Erik Johnston | 2015-02-03 | 1 | -1/+0 |
| | |||||
* | Don't bother requesting PDUs with bad signatures from the same server | Erik Johnston | 2015-02-02 | 1 | -16/+17 |
| | |||||
* | Don't fail an entire request if one of the returned events fails a signature ↵ | Erik Johnston | 2015-02-02 | 1 | -26/+81 |
| | | | | check. If an event does fail a signature check, look in the local database and request it from the originator. | ||||
* | Briefly doc structure of query_auth API. | Erik Johnston | 2015-01-30 | 1 | -0/+18 |
| | |||||
* | Fix bug where we superfluously asked for current state. Change API of ↵ | Erik Johnston | 2015-01-30 | 2 | -12/+7 |
| | | | | /query_auth/ so that we don't duplicate events in the response. | ||||
* | Fix regression where we no longer correctly handled the case of gaps in our ↵ | Erik Johnston | 2015-01-30 | 1 | -0/+3 |
| | | | | event graph | ||||
* | Initial implementation of auth conflict resolution | Erik Johnston | 2015-01-29 | 4 | -2/+70 |
| | |||||
* | Start implementing auth conflict res | Erik Johnston | 2015-01-28 | 1 | -0/+39 |
| | |||||
* | Make it the responsibility of the replication layer to check signature and ↵ | Erik Johnston | 2015-01-26 | 3 | -26/+173 |
| | | | | hashes. | ||||
* | Split up replication_layer module into client, server and transaction queue | Erik Johnston | 2015-01-26 | 4 | -602/+653 |
| | |||||
* | Split out TransactionQueue from replication layer | Erik Johnston | 2015-01-22 | 2 | -289/+316 |
| | |||||
* | Finish renaming "context" to "room_id" in federation codebase | Mark Haines | 2015-01-16 | 3 | -88/+54 |
| | |||||
* | Fold _do_request_for_transaction into the methods that called it since it ↵ | Mark Haines | 2015-01-16 | 1 | -44/+11 |
| | | | | was a trivial wrapper around client.get_json | ||||
* | Split transport layer into client and server parts | Mark Haines | 2015-01-16 | 3 | -272/+321 |
| | |||||
* | Add some logging for when we are sending transactions. | Matrix | 2015-01-06 | 1 | -0/+6 |
| | |||||
* | Update copyright notices | Mark Haines | 2015-01-06 | 5 | -5/+5 |
| | |||||
* | Supply auth_chain along with current state in '/state/', fetch auth events ↵ | Mark Haines | 2014-12-18 | 1 | -7/+20 |
| | | | | from a remote server if we are missing some of them | ||||
* | Use is_outlier() so that we don't get AttributeError | Erik Johnston | 2014-12-16 | 1 | -3/+3 |
| | |||||
* | Kill off synapse.api.events.* | Erik Johnston | 2014-12-16 | 1 | -1/+0 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-10 | 2 | -10/+85 |
|\ | |||||
| * | Code style. | Erik Johnston | 2014-12-10 | 1 | -17/+35 |
| | | |||||
| * | plateau retries after 1h | Matthew Hodgson | 2014-12-10 | 1 | -3/+6 |
| | | |||||
| * | add errbacks to enqueue_pdu deferreds; change logging for failed federation ↵ | Matthew Hodgson | 2014-12-10 | 1 | -6/+10 |
| | | | | | | | | sends to warn rather than exception | ||||
| * | squidge to 79 columns as per pep8 | Matthew Hodgson | 2014-12-10 | 1 | -10/+20 |
| | | |||||
| * | fix a million stupid bugs and make it actually work | Matthew Hodgson | 2014-12-08 | 1 | -8/+17 |
| | | |||||
| * | actually reset retry schedule if we can successfuly talk to it | Matthew Hodgson | 2014-12-08 | 1 | -0/+3 |
| | | |||||
| * | fix stupid syntax thinkos | Matthew Hodgson | 2014-12-07 | 1 | -12/+11 |
| | | |||||
| * | track replication destination health, and perform exponential back-off when ↵ | Matthew Hodgson | 2014-12-07 | 2 | -8/+37 |
| | | | | | | | | sending transactions. does *not* yet retry transactions, but drops them on the floor if waiting for a server to recover. | ||||
* | | Try and figure out how and why signatures are being changed. | Erik Johnston | 2014-12-10 | 1 | -3/+6 |
| | | |||||
* | | More bug fixes | Erik Johnston | 2014-12-08 | 1 | -1/+1 |
| | |