Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | @log_function on PresenceStream's get_new_events_for_user() | Paul "LeoNerd" Evans | 2014-12-03 | 1 | -1/+3 |
| | |||||
* | Store any incoming presence push in the local cache anyway, even if there's ↵ | Paul "LeoNerd" Evans | 2014-12-03 | 1 | -4/+4 |
| | | | | no interested observers (yet *hint*) (SYN-115) | ||||
* | Bump changes and version | Erik Johnston | 2014-12-03 | 1 | -1/+1 |
| | |||||
* | Fix bug where did not always resolve all the deferreds in ↵ | Erik Johnston | 2014-12-03 | 1 | -2/+6 |
| | | | | _attempt_new_transaction | ||||
* | Don't log synapse.storage at DEBUG level when under -v; require -v -v for that | Paul "LeoNerd" Evans | 2014-12-02 | 1 | -0/+6 |
| | |||||
* | Workaround for non-uniqueness of room member events in the database ↵ | Paul "LeoNerd" Evans | 2014-12-02 | 1 | -1/+3 |
| | | | | confusing HAVING COUNT() test of room membership intersection (with thanks to Tom Molesworth) | ||||
* | Extra verbosity on logging of received presence info | Paul "LeoNerd" Evans | 2014-12-02 | 1 | -0/+5 |
| | |||||
* | Squash room_ids list to a set() to remove duplicates - with TODO marker as I ↵ | Paul "LeoNerd" Evans | 2014-12-02 | 1 | -1/+5 |
| | | | | have no idea /why/ the dups are happening in the first place | ||||
* | Allow GET /room/:room_id/messages without 'limit' parameter to default to 10 | Paul "LeoNerd" Evans | 2014-12-02 | 2 | -2/+8 |
| | |||||
* | Bump version v0.5.3c | Erik Johnston | 2014-12-02 | 1 | -1/+1 |
| | |||||
* | SYN-187: Set a more sensible default for the content_addr v0.5.3b | Mark Haines | 2014-12-02 | 1 | -2/+5 |
| | |||||
* | Bump version v0.5.3a | Erik Johnston | 2014-11-27 | 1 | -1/+1 |
| | |||||
* | Bump version and changelog | Erik Johnston | 2014-11-27 | 1 | -1/+1 |
| | |||||
* | Don't return outliers when we get recent events for rooms. | Erik Johnston | 2014-11-27 | 1 | -1/+1 |
| | |||||
* | Fix bugs when joining a remote room that has dodgy event graphs. This should ↵ | Erik Johnston | 2014-11-27 | 2 | -30/+63 |
| | | | | also fix the number of times a HS will trigger a GET /event/ | ||||
* | on_receive_pdu takes more args | Erik Johnston | 2014-11-27 | 1 | -3/+3 |
| | |||||
* | Change the way we get missing auth and state events | Erik Johnston | 2014-11-27 | 2 | -44/+106 |
| | |||||
* | Re-sign events when we return them via federation as a temporary hack to ↵ | Erik Johnston | 2014-11-27 | 1 | -0/+11 |
| | | | | work around the problem where we reconstruct events differently than when they were signed | ||||
* | Attempt to fix bug where we 500d an event stream due to trying to cancel a ↵ | Erik Johnston | 2014-11-26 | 1 | -3/+9 |
| | | | | timer twice | ||||
* | Add a workaround for bug where some initial join events don't reference ↵ | Erik Johnston | 2014-11-26 | 1 | -1/+7 |
| | | | | creation events in their auth_events | ||||
* | Catch exceptions when trying to add an entry to rooms tables | Erik Johnston | 2014-11-26 | 1 | -6/+11 |
| | |||||
* | Bump version and changelog v0.5.2 | Erik Johnston | 2014-11-26 | 1 | -1/+1 |
| | |||||
* | Don't delete the entire current_state_events table | Erik Johnston | 2014-11-26 | 1 | -1/+4 |
| | |||||
* | Bump version numbers and change log | Erik Johnston | 2014-11-26 | 1 | -1/+1 |
| | |||||
* | Add update delta for schema change | Erik Johnston | 2014-11-26 | 2 | -1/+35 |
| | |||||
* | Update schema to support multiple signatures | Erik Johnston | 2014-11-26 | 1 | -1/+1 |
| | |||||
* | Correctly handle the case where we get an event for an unknown room, which ↵ | Erik Johnston | 2014-11-26 | 5 | -47/+99 |
| | | | | turns out we are actually in | ||||
* | Fix bugs in invite/join dances. | Erik Johnston | 2014-11-25 | 6 | -135/+194 |
| | | | | | We now do more implement more of the auth on the events so that we don't reject valid events. | ||||
* | Don't double url-decode state event types. | Kegan Dougal | 2014-11-25 | 1 | -1/+1 |
| | |||||
* | Drop log level for incorrect logging contexts to WARN if the context is ↵ | Mark Haines | 2014-11-25 | 1 | -5/+8 |
| | | | | wrong and DEBUG if the context is missing | ||||
* | Mark the auth events as possible outlier | Erik Johnston | 2014-11-24 | 1 | -0/+1 |
| | |||||
* | Add missing None check | Erik Johnston | 2014-11-24 | 1 | -1/+1 |
| | |||||
* | Ask for any auth events that we don't have | Erik Johnston | 2014-11-24 | 1 | -0/+15 |
| | |||||
* | We don't always want to Auth get_persisted_pdu | Erik Johnston | 2014-11-24 | 2 | -11/+20 |
| | |||||
* | SYN-163: Add an order by rowid to selects. | Erik Johnston | 2014-11-24 | 1 | -5/+10 |
| | | | | | | | This should fix the bug where the edges of the graph get returned in a different order than they were inserted in, and so no get_event no longer returned the exact same JSON as was inserted. This meant that signature checks failed. | ||||
* | typos | Matthew Hodgson | 2014-11-24 | 1 | -2/+2 |
| | |||||
* | Return 404 M_NOT_FOUND when trying to look up a room alias that doesn't exist | Mark Haines | 2014-11-21 | 1 | -12/+24 |
| | |||||
* | SYN-58: Allow passing explicit limit=0 to initialSync to request no messages ↵ | Paul "LeoNerd" Evans | 2014-11-20 | 2 | -7/+7 |
| | | | | at all; missing still implies default 10 | ||||
* | Fix pep8 and pyflakes warnings | Mark Haines | 2014-11-20 | 6 | -12/+21 |
| | |||||
* | Merge branch 'develop' into http_client_refactor | David Baker | 2014-11-20 | 35 | -140/+193 |
|\ | |||||
| * | Fix pep8 codestyle warnings | Mark Haines | 2014-11-20 | 21 | -47/+71 |
| | | |||||
| * | Use module loggers rather than the root logger. Exceptions caused by bad ↵ | Mark Haines | 2014-11-20 | 8 | -10/+17 |
| | | | | | | | | clients shouldn't cause ERROR level logging. Fix sql logging to use 'repr' rather than 'str' | ||||
| * | Add a few missing yields, Move deferred lists inside PreserveLoggingContext ↵ | Mark Haines | 2014-11-20 | 15 | -85/+107 |
| | | | | | | | | because they don't interact well with the logging contexts | ||||
* | | Separate out the matrix http client completely because just about all of its ↵ | David Baker | 2014-11-20 | 8 | -337/+361 |
| | | | | | | | | code it now separate from the simple case we need for standard HTTP(S) | ||||
* | | Oops, I removed this param. | David Baker | 2014-11-20 | 1 | -2/+0 |
| | | |||||
* | | Refactor the HTTP clients a little. | David Baker | 2014-11-20 | 4 | -86/+82 |
| | | |||||
* | | CaptchaServerHttpClient should extend the base, not matrix http client. | David Baker | 2014-11-20 | 1 | -1/+1 |
|/ | |||||
* | Merge branch 'master' into develop | Mark Haines | 2014-11-20 | 2 | -2/+2 |
|\ | |||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.5.0 | Erik Johnston | 2014-11-19 | 2 | -4/+0 |
| |\ | |||||
| * | | Bump version, changelog and upgrade.rst | Erik Johnston | 2014-11-19 | 2 | -2/+2 |
| | | | |||||
* | | | SYN-153: Fix formatting of federation error message | Mark Haines | 2014-11-20 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Don't add a 'prev' key to m.room.member messages | Erik Johnston | 2014-11-19 | 2 | -4/+0 |
|/ | |||||
* | Initialise UserPresenceCache instances to always contain a 'presence' key | Paul "LeoNerd" Evans | 2014-11-19 | 1 | -4/+2 |
| | |||||
* | Fix backfill request | Erik Johnston | 2014-11-19 | 1 | -1/+1 |
| | |||||
* | Only users can set state events which have their own user_id | Erik Johnston | 2014-11-19 | 1 | -0/+20 |
| | |||||
* | Sometimes there isn't a current logging context | Mark Haines | 2014-11-19 | 1 | -1/+1 |
| | |||||
* | SYN-153: Raise 404 if room alias is not found | Mark Haines | 2014-11-19 | 1 | -4/+8 |
| | |||||
* | remove unused import | Mark Haines | 2014-11-19 | 1 | -1/+1 |
| | |||||
* | replace user_id with sender | Mark Haines | 2014-11-19 | 2 | -1/+6 |
| | |||||
* | Preserve logging context in a few more places, drop the logging context ↵ | Mark Haines | 2014-11-19 | 4 | -22/+37 |
| | | | | after it has been stashed to reduce potential for confusion | ||||
* | SYN-141: Encode query params as UTF-8. | Mark Haines | 2014-11-18 | 1 | -1/+7 |
| | |||||
* | SYN-144: Remove bad keys from pdu json objects, convert age_ts to age | Mark Haines | 2014-11-18 | 2 | -15/+29 |
| | | | | for all pdus sent. | ||||
* | Remember also to UTF-8 decode bytes in room alias names in directory server URLs | Paul "LeoNerd" Evans | 2014-11-18 | 1 | -3/+9 |
| | |||||
* | Remember to URL decode the room_id in room initialSync | Paul "LeoNerd" Evans | 2014-11-18 | 1 | -1/+1 |
| | |||||
* | SYN-141: Decode the query params as UTF-8 | Mark Haines | 2014-11-18 | 1 | -1/+2 |
| | |||||
* | Remove unused variable | Mark Haines | 2014-11-18 | 1 | -1/+1 |
| | |||||
* | SYN-104: When going backwards the end token should be before the last event | Mark Haines | 2014-11-18 | 1 | -0/+3 |
| | |||||
* | Merge pull request #17 from matrix-org/room-initial-sync | Paul Evans | 2014-11-18 | 3 | -26/+88 |
|\ | | | | | Room initial sync | ||||
| * | Ensure to parse a real pagination config object out of room initialSync ↵ | Paul "LeoNerd" Evans | 2014-11-18 | 1 | -2/+4 |
| | | | | | | | | request and pass it on | ||||
| * | Rename message handler's new snapshot_room to room_initial_sync() as that ↵ | Paul "LeoNerd" Evans | 2014-11-18 | 2 | -2/+2 |
| | | | | | | | | better suits its purpose | ||||
| * | Merge remote-tracking branch 'origin/develop' into room-initial-sync | Paul "LeoNerd" Evans | 2014-11-18 | 7 | -81/+122 |
| |\ | |||||
| * | | Include room members' presence in room initialSync | Paul "LeoNerd" Evans | 2014-11-18 | 1 | -1/+22 |
| | | | |||||
| * | | Added ability to .get_state() from the PresenceHandler by returning a ↵ | Paul "LeoNerd" Evans | 2014-11-18 | 1 | -2/+15 |
| | | | | | | | | | | | | complete m.presence event | ||||
| * | | Don't expect all _user_cachemap entries to definitely contain a ↵ | Paul "LeoNerd" Evans | 2014-11-18 | 1 | -3/+3 |
| | | | | | | | | | | | | "last_active" key | ||||
| * | | Include 'messages' snapshot in room initialSync | Paul "LeoNerd" Evans | 2014-11-18 | 1 | -1/+20 |
| | | | |||||
| * | | Merge branch 'develop' into room-initial-sync | Paul "LeoNerd" Evans | 2014-11-17 | 56 | -2974/+3391 |
| |\ \ | | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/message.py | ||||
| * | | | Include room membership in room initialSync | Paul "LeoNerd" Evans | 2014-11-10 | 1 | -1/+7 |
| | | | | |||||
| * | | | Put room state in room initialSync output - I guess this is right; I really ↵ | Paul "LeoNerd" Evans | 2014-11-10 | 1 | -2/+5 |
| | | | | | | | | | | | | | | | | can't find any other tests similar... | ||||
| * | | | Have room initialSync return the room's room_id | Paul "LeoNerd" Evans | 2014-11-10 | 2 | -21/+17 |
| | | | | |||||
* | | | | Revert accidental commit of bad file | Erik Johnston | 2014-11-18 | 1 | -37/+24 |
| |_|/ |/| | | |||||
* | | | Null check when determining default power levels | Mark Haines | 2014-11-18 | 1 | -1/+2 |
| | | | |||||
* | | | SYN-149: Enable auth for events added during room creation since they should ↵ | Mark Haines | 2014-11-18 | 1 | -1/+1 |
| | | | | | | | | | | | | pass auth checks | ||||
* | | | Fix auth to correctly handle initial creation of rooms | Erik Johnston | 2014-11-18 | 2 | -27/+58 |
| | | | |||||
* | | | SYN-149: Send join event immediately after the room create event | Mark Haines | 2014-11-18 | 3 | -26/+31 |
| | | | |||||
* | | | Split out sending the room alias events from creating the alias so that we ↵ | Mark Haines | 2014-11-18 | 4 | -27/+31 |
| | | | | | | | | | | | | can do them in the right point when creating a room | ||||
* | | | Stop before starting when restarting | Mark Haines | 2014-11-17 | 1 | -1/+1 |
| |/ |/| | |||||
* | | SYN-148: Add the alias after creating the room | Mark Haines | 2014-11-17 | 1 | -9/+9 |
| | | |||||
* | | These lines aren't doing anything | Mark Haines | 2014-11-17 | 1 | -5/+0 |
| | | |||||
* | | Merge PDUs and Events into one object | Mark Haines | 2014-11-14 | 8 | -206/+84 |
| | | |||||
* | | Fix PDU and event signatures | Mark Haines | 2014-11-14 | 4 | -6/+16 |
| | | |||||
* | | Validate signatures on incoming events | Mark Haines | 2014-11-14 | 2 | -6/+49 |
| | | |||||
* | | Be more helpful and tell the user how to generate a config too. | David Baker | 2014-11-14 | 1 | -1/+4 |
| | | |||||
* | | Adding --generate-config will not help if the user has not specified a ↵ | David Baker | 2014-11-14 | 1 | -1/+1 |
| | | | | | | | | config file. | ||||
* | | Merge branch 'develop' into request_logging | Mark Haines | 2014-11-14 | 50 | -2825/+3162 |
|\ \ | | | | | | | | | | | | | | | | | | | Conflicts: setup.py synapse/storage/_base.py synapse/util/async.py | ||||
| * | | SYN-103: Remove "origin" and "destination" keys from edus | Mark Haines | 2014-11-13 | 1 | -5/+4 |
| | | | |||||
| * | | SYN-138: Rewrite synctl in python and include it in the python distribution | Mark Haines | 2014-11-13 | 1 | -0/+66 |
| | | | |||||
| * | | Store all signatures on events rather than just dropping them | Erik Johnston | 2014-11-12 | 4 | -21/+31 |
| | | | |||||
| * | | Add a few more comments to the federation handler | Erik Johnston | 2014-11-12 | 1 | -0/+32 |
| | | | |||||
| * | | Update some of the docs in event_federation | Erik Johnston | 2014-11-12 | 1 | -11/+20 |
| | | | |||||
| * | | Document StateStore and use transactions | Erik Johnston | 2014-11-12 | 1 | -28/+56 |
| | | | |||||
| * | | Add indices to state group tables | Erik Johnston | 2014-11-12 | 1 | -0/+13 |
| | | | |||||
| * | | Fix pyflake warnings and add a FIXME comment to deal with auth_chains ↵ | Erik Johnston | 2014-11-12 | 1 | -3/+6 |
| | | | | | | | | | | | | received when joining | ||||
| * | | Fix bugs with invites/joins across federatiom. | Erik Johnston | 2014-11-12 | 6 | -26/+45 |
| | | | | | | | | | | | | | | | Both in terms of auth and not trying to fetch missing PDUs for invites, joins etc. | ||||
| * | | PEP8ify | Erik Johnston | 2014-11-11 | 1 | -9/+12 |
| | | | |||||
| * | | Only allow people in a room to look up room state. | Erik Johnston | 2014-11-11 | 1 | -34/+4 |
| | | | |||||
| * | | synapse.state docs. | Erik Johnston | 2014-11-11 | 1 | -0/+35 |
| | | | |||||
| * | | Rename annotate_state_groups to annotate_event_with_state | Erik Johnston | 2014-11-11 | 3 | -9/+9 |
| | | | |||||
| * | | Merge pull request #12 from matrix-org/federation_authorization | Mark Haines | 2014-11-11 | 46 | -2764/+2902 |
| |\ \ | | | | | | | | | Federation authorization | ||||
| | * | | Fix bugs which broke federation due to changes in function signatures. | Erik Johnston | 2014-11-11 | 2 | -3/+3 |
| | | | | |||||
| | * | | Fix bug where we /always/ created a new state group | Erik Johnston | 2014-11-11 | 3 | -31/+42 |
| | | | | |||||
| | * | | Fix typo in validator | Erik Johnston | 2014-11-11 | 1 | -2/+8 |
| | | | | |||||
| | * | | Add EventValidator module | Erik Johnston | 2014-11-11 | 1 | -0/+81 |
| | | | | |||||
| | * | | Add an EventValidator. Fix bugs in auth ++ storage | Erik Johnston | 2014-11-10 | 9 | -90/+64 |
| | | | | |||||
| | * | | Fix regression where we did not return redacted events. | Erik Johnston | 2014-11-10 | 1 | -1/+2 |
| | | | | |||||
| | * | | PEP8 | Erik Johnston | 2014-11-10 | 8 | -20/+22 |
| | | | | |||||
| | * | | Remove useless comments | Erik Johnston | 2014-11-10 | 1 | -23/+0 |
| | | | | |||||
| | * | | Add auth to the various server-server APIs | Erik Johnston | 2014-11-10 | 3 | -9/+23 |
| | | | | |||||
| | * | | Fix backfill to work. Add auth to backfill request | Erik Johnston | 2014-11-10 | 6 | -18/+56 |
| | | | | |||||
| | * | | Notify users about invites. | Erik Johnston | 2014-11-10 | 3 | -10/+14 |
| | | | | |||||
| | * | | Fix invite auth | Erik Johnston | 2014-11-10 | 1 | -3/+5 |
| | | | | |||||
| | * | | Tidy up some of the unused sql tables | Erik Johnston | 2014-11-10 | 4 | -109/+9 |
| | | | | |||||
| | * | | Finish redaction algorithm. | Erik Johnston | 2014-11-10 | 5 | -25/+33 |
| | | | | |||||
| | * | | Use current state to get room hosts, rather than querying the database | Erik Johnston | 2014-11-07 | 2 | -7/+32 |
| | | | | |||||
| | * | | Add '/event_auth/' federation api | Erik Johnston | 2014-11-07 | 4 | -7/+55 |
| | | | | |||||
| | * | | Implement invite part of invite join dance | Erik Johnston | 2014-11-07 | 4 | -22/+75 |
| | | | | |||||
| | * | | Remove /context/ request | Erik Johnston | 2014-11-07 | 2 | -16/+0 |
| | | | | |||||
| | * | | Add hash of current state to events | Erik Johnston | 2014-11-07 | 2 | -1/+11 |
| | | | | |||||
| | * | | Return auth chain when handling send_join | Erik Johnston | 2014-11-07 | 2 | -8/+27 |
| | | | | |||||
| | * | | Fix bug in _get_auth_chain_txn | Erik Johnston | 2014-11-07 | 1 | -14/+11 |
| | | | | |||||
| | * | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-11-07 | 2 | -4/+7 |
| | |\| | | | | | | | | | | | | | federation_authorization | ||||
| | * | | Fix joining over federation | Erik Johnston | 2014-11-07 | 5 | -56/+55 |
| | | | | |||||
| | * | | Implement method to get auth_chain from a given event_id | Erik Johnston | 2014-11-07 | 1 | -0/+35 |
| | | | | |||||
| | * | | Start implementing auth chains | Erik Johnston | 2014-11-07 | 8 | -6/+115 |
| | | | | |||||
| | * | | Neaten things up a bit | Erik Johnston | 2014-11-07 | 1 | -5/+2 |
| | | | | |||||
| | * | | Don't query the DB for user power levels | Erik Johnston | 2014-11-07 | 1 | -10/+16 |
| | | | | |||||
| | * | | Amalgamate all power levels. | Erik Johnston | 2014-11-06 | 8 | -395/+102 |
| | | | | | | | | | | | | | | | | | | | | Remove concept of reqired power levels, something similiar can be done using the new power level event. | ||||
| | * | | Update to use replaces_state rather than prev_state | Erik Johnston | 2014-11-06 | 1 | -2/+4 |
| | | | | |||||
| | * | | Don't send prev_state to clients anymore | Erik Johnston | 2014-11-06 | 1 | -1/+1 |
| | | | | |||||
| | * | | Implement new replace_state and changed prev_state | Erik Johnston | 2014-11-06 | 13 | -128/+220 |
| | | | | | | | | | | | | | | | | | | | | `prev_state` is now a list of previous state ids, similiar to prev_events. `replace_state` now points to what we think was replaced. | ||||
| | * | | Get correct prev_events | Erik Johnston | 2014-11-05 | 2 | -15/+26 |
| | | | | |||||
| | * | | Fix auth checks to all use the given old_event_state | Erik Johnston | 2014-11-05 | 4 | -34/+54 |
| | | | | |||||
| | * | | Fix room handler tests | Erik Johnston | 2014-11-04 | 1 | -1/+0 |
| | | | | |||||
| | * | | Don't bother locking | Erik Johnston | 2014-11-04 | 1 | -6/+5 |
| | | | | |||||
| | * | | Fix bug in replication | Erik Johnston | 2014-11-04 | 1 | -1/+1 |
| | | | | |||||
| | * | | On AuthError, raise a FederationError | Erik Johnston | 2014-11-04 | 1 | -1/+9 |
| | | | | |||||
| | * | | Move FederationError to synapse.api.errors | Erik Johnston | 2014-11-04 | 2 | -34/+34 |
| | | | | |||||
| | * | | PEP8 | Erik Johnston | 2014-11-04 | 1 | -4/+13 |
| | | | | |||||
| | * | | Add support for sending failures | Erik Johnston | 2014-11-04 | 3 | -2/+63 |
| | | | | |||||
| | * | | Remove unused interface | Erik Johnston | 2014-11-04 | 1 | -8/+0 |
| | | | | |||||
| | * | | Remove unused imports | Erik Johnston | 2014-11-04 | 5 | -13/+2 |
| | | | | |||||
| | * | | Fix bugs in generating event signatures and hashing | Erik Johnston | 2014-11-03 | 4 | -83/+42 |
| | | | | |||||
| | * | | Add option to not bind to HTTPS port. This is useful if running behind an ↵ | Erik Johnston | 2014-11-03 | 2 | -1/+7 |
| | | | | | | | | | | | | | | | | ssl load balancer | ||||
| | * | | Rename PDU fields to match that of events. | Erik Johnston | 2014-11-03 | 6 | -316/+80 |
| | | | | |||||
| | * | | For now, don't store txn -> pdu mappings. | Erik Johnston | 2014-11-03 | 2 | -5/+3 |
| | | | | |||||
| | * | | Formatting | Erik Johnston | 2014-11-03 | 1 | -1/+4 |
| | | | | |||||
| | * | | Sign events we create. | Erik Johnston | 2014-11-03 | 1 | -0/+9 |
| | | | | |||||
| | * | | Add 'origin' key to events | Erik Johnston | 2014-11-03 | 1 | -0/+4 |
| | | | | |||||
| | * | | Don't assume event has hashes key already | Erik Johnston | 2014-11-03 | 1 | -0/+2 |
| | | | | |||||
| | * | | Remove dead code. | Erik Johnston | 2014-11-03 | 1 | -84/+0 |
| | | | | |||||
| | * | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-11-03 | 2 | -3/+2 |
| | |\ \ | | | | | | | | | | | | | | | | federation_authorization | ||||
| | * | | | Sign evnets | Erik Johnston | 2014-10-31 | 2 | -0/+26 |
| | | | | | |||||
| | * | | | Remove unused signature storage methods | Erik Johnston | 2014-10-31 | 1 | -138/+1 |
| | | | | | |||||
| | * | | | Remove unused sql file. | Erik Johnston | 2014-10-31 | 1 | -31/+0 |
| | | | | | |||||
| | * | | | Make prev_event signing work again. | Erik Johnston | 2014-10-31 | 3 | -8/+18 |
| | | | | | |||||
| | * | | | Remove more references to dead PDU tables | Erik Johnston | 2014-10-31 | 4 | -94/+8 |
| | | | | | |||||
| | * | | | Remove PDU tables. | Erik Johnston | 2014-10-31 | 6 | -1230/+2 |
| | | | | | |||||
| | * | | | Remove unused functions. | Erik Johnston | 2014-10-31 | 1 | -90/+0 |
| | | | | | |||||
| | * | | | Actually don't store any PDUs | Erik Johnston | 2014-10-31 | 3 | -14/+42 |
| | | | | | |||||
| | * | | | old_state_events should be a dict not list | Erik Johnston | 2014-10-31 | 1 | -2/+4 |
| | | | | | |||||
| | * | | | Don't store any PDUs | Erik Johnston | 2014-10-31 | 2 | -32/+33 |
| | | | | | |||||
| | * | | | Move the impl of backfill to use events. | Erik Johnston | 2014-10-31 | 3 | -5/+114 |
| | | | | | |||||
| | * | | | Fix bug in redaction auth. | Erik Johnston | 2014-10-31 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | This caused a 500 when sending a redaction due to a typo in a method invocation. | ||||
| | * | | | Convert event ids to be of the form :example.com | Erik Johnston | 2014-10-30 | 6 | -28/+54 |
| | | | | | |||||
| | * | | | Make federation return the old current state, so that we can use it to do auth | Erik Johnston | 2014-10-30 | 2 | -10/+32 |
| | | | | | |||||
| | * | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-30 | 40 | -186/+224 |
| | |\ \ \ | | | | | | | | | | | | | | | | | | | federation_authorization | ||||
| | * | | | | Fix SQL so that accepts we may want to persist events twice. | Erik Johnston | 2014-10-30 | 2 | -25/+47 |
| | | | | | | |||||
| | * | | | | Add a run_on_reactor function | Erik Johnston | 2014-10-29 | 1 | -0/+7 |
| | | | | | | |||||
| | * | | | | Start filling out and using new events tables | Erik Johnston | 2014-10-29 | 8 | -93/+159 |
| | | | | | | |||||
| | * | | | | Don't reference PDU when persisting event | Erik Johnston | 2014-10-28 | 2 | -4/+5 |
| | | | | | | |||||
| | * | | | | Begin implementing all the PDU storage stuff in Events land | Erik Johnston | 2014-10-28 | 9 | -42/+485 |
| | | | | | | |||||
| | * | | | | Add transaction level logging and timing information. Add a _simple_delete ↵ | Erik Johnston | 2014-10-28 | 9 | -21/+91 |
| | | | | | | | | | | | | | | | | | | | | | | | | method | ||||
| | * | | | | Clean up LoggingTransaction | Erik Johnston | 2014-10-28 | 1 | -10/+4 |
| | | | | | | |||||
| | * | | | | Add timer to LoggingTransaction | Erik Johnston | 2014-10-28 | 1 | -3/+10 |
| | | | | | | |||||
| | * | | | | Remove duplicate import | Erik Johnston | 2014-10-27 | 1 | -1/+0 |
| | | | | | | |||||
| | * | | | | Merge branch 'event_signing' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-27 | 16 | -51/+450 |
| | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | federation_authorization Conflicts: synapse/storage/__init__.py | ||||
| | | * | | | | fix pyflakes warnings | Mark Haines | 2014-10-27 | 3 | -6/+6 |
| | | | | | | | |||||
| | | * | | | | Merge branch 'develop' into event_signing | Mark Haines | 2014-10-27 | 14 | -21/+108 |
| | | |\ \ \ \ | |||||
| | | * | | | | | Remove signatures from pdu when computing hashes to use for prev pdus, make ↵ | Mark Haines | 2014-10-17 | 2 | -2/+6 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sure is_state is a boolean. | ||||
| | | * | | | | | Merge branch 'develop' into event_signing | Mark Haines | 2014-10-17 | 10 | -37/+32 |
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/federation/replication.py | ||||
| | | * | | | | | | Rename 'meta' to 'unsigned' | Mark Haines | 2014-10-17 | 3 | -9/+10 |
| | | | | | | | | | |||||
| | | * | | | | | | move 'age' into 'meta' subdict so that it is clearer that it is not part of ↵ | Mark Haines | 2014-10-17 | 2 | -7/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the signed data | ||||
| | | * | | | | | | Hash the same content covered by the signature when referencing previous ↵ | Mark Haines | 2014-10-17 | 6 | -16/+84 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PDUs rather than reusing the PDU content hashes | ||||
| | | * | | | | | | Include hashes of previous pdus when referencing them | Mark Haines | 2014-10-16 | 9 | -28/+92 |
| | | | | | | | | | |||||
| | | * | | | | | | Sign outgoing PDUs. | Mark Haines | 2014-10-16 | 4 | -9/+14 |
| | | | | | | | | | |||||
| | | * | | | | | | persist hashes and origin signatures for PDUs | Mark Haines | 2014-10-15 | 6 | -14/+132 |
| | | | | | | | | | |||||
| | | * | | | | | | Merge branch 'develop' into event_signing | Mark Haines | 2014-10-15 | 2 | -3/+7 |
| | | |\ \ \ \ \ \ | |||||
| | | * | | | | | | | Storage for pdu signatures | Mark Haines | 2014-10-14 | 2 | -0/+126 |
| | | | | | | | | | | |||||
| | * | | | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-27 | 19 | -59/+138 |
| | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | federation_authorization Conflicts: synapse/federation/transport.py synapse/handlers/message.py | ||||
| | * | | | | | | | | | It doesn't want a dict | Erik Johnston | 2014-10-17 | 1 | -2/+0 |
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Fix bug where people could join private rooms | Erik Johnston | 2014-10-17 | 3 | -45/+63 |
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Use state groups to get current state. Make join dance actually work. | Erik Johnston | 2014-10-17 | 10 | -67/+226 |
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Finish implementing the new join dance. | Erik Johnston | 2014-10-17 | 6 | -126/+222 |
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Start implementing the invite/join dance. Continue moving auth to use ↵ | Erik Johnston | 2014-10-16 | 4 | -22/+133 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | event.state_events | ||||
| | * | | | | | | | | | Begin making auth use event.old_state_events | Erik Johnston | 2014-10-15 | 10 | -83/+115 |
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Add missing package storate.state | Erik Johnston | 2014-10-15 | 1 | -0/+97 |
| | | | | | | | | | | | |||||
| | * | | | | | | | | | Begin implementing state groups. | Erik Johnston | 2014-10-14 | 3 | -3/+123 |
| | | | | | | | | | | | |||||
| * | | | | | | | | | | apply some cache headers to try to make the content repo less nutso | Matthew Hodgson | 2014-11-11 | 1 | -0/+8 |
| | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | |||||
| * | | | | | | | | | Fix url decoding bugs with /redact and /send APIs. | Kegan Dougal | 2014-11-05 | 1 | -2/+2 |
| | | | | | | | | | | |||||
| * | | | | | | | | | Be sure to urlencode/decode event types correctly in both the web client and HS. | Kegan Dougal | 2014-11-05 | 1 | -1/+1 |
| | | | | | | | | | | |||||
| * | | | | | | | | | Determine webclient path by the python module it is contained in | Mark Haines | 2014-11-04 | 1 | -1/+4 |
| | |_|_|_|_|_|_|/ | |/| | | | | | | | |||||
| * | | | | | | | | Use python logger, not the twisted logger | Erik Johnston | 2014-11-03 | 1 | -2/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | Bump version numbers and change log | Erik Johnston | 2014-10-31 | 1 | -1/+1 |
| | |_|_|_|_|_|/ | |/| | | | | | | |||||
* | | | | | | | | Remove unused 'context' variables to appease pyflakes | Mark Haines | 2014-10-30 | 1 | -2/+2 |
| | | | | | | | | |||||
* | | | | | | | | Merge branch 'develop' into request_logging | Mark Haines | 2014-10-30 | 38 | -178/+219 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/config/logger.py | ||||
| * | | | | | | | Fix pep8 warnings | Mark Haines | 2014-10-30 | 35 | -135/+179 |
| | | | | | | | | |||||
| * | | | | | | | Use floating-point rather than integer division to handle timeouts so that ↵ | Paul "LeoNerd" Evans | 2014-10-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | non-zero but sub-second waits don't collapse to zero | ||||
| * | | | | | | | Fix an off-by-one bug in presence event stream pagination; this might be ↵ | Paul "LeoNerd" Evans | 2014-10-29 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | responsible for any number of bug reports | ||||
| * | | | | | | | Construct a source-specific 'SourcePaginationConfig' to pass into ↵ | Paul "LeoNerd" Evans | 2014-10-29 | 6 | -40/+43 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | get_pagination_rows; meaning each source doesn't have to care about its own name any more | ||||
| * | | | | | | | Remove redundant (and incorrect) presence pagination fetching code | Paul "LeoNerd" Evans | 2014-10-29 | 1 | -3/+0 |
| | | | | | | | | |||||
* | | | | | | | | Pep8 and a few doc strings | Mark Haines | 2014-10-30 | 2 | -17/+40 |
| | | | | | | | | |||||
* | | | | | | | | Add a request-id to each log line | Mark Haines | 2014-10-30 | 9 | -30/+161 |
|/ / / / / / / | |||||
* | | | | | | | Remove duplicate join_event from create_room | Mark Haines | 2014-10-27 | 1 | -5/+0 |
| | | | | | | | |||||
* | | | | | | | Remove test_pyflakes. | Kegan Dougal | 2014-10-27 | 1 | -1/+0 |
| |_|_|_|_|/ |/| | | | | | |||||
* | | | | | | Test pyflakes jenikns integration | Mark Haines | 2014-10-27 | 1 | -0/+1 |
| | | | | | | |||||
* | | | | | | Fix pyflakes warnings | Mark Haines | 2014-10-27 | 4 | -4/+2 |
| |/ / / / |/| | | | | |||||
* | | | | | Add log message if we can't enable ECC. Require pyopenssl>=0.14 since 0.13 ↵ | Mark Haines | 2014-10-24 | 1 | -1/+4 |
| | | | | | | | | | | | | | | | | | | | | doesn't seem to have ECC | ||||
* | | | | | Wrap preparing the database in a transaction. Otherwise it will take many ↵ | Mark Haines | 2014-10-24 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | | | | | seconds to complete because sqlite will create a transaction per statement | ||||
* | | | | | Coturn's timestamps are in seconds, not milliseconds | David Baker | 2014-10-21 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Add get_json method to 3pid http client. Better logging for errors in 3pid ↵ | Mark Haines | 2014-10-20 | 2 | -2/+41 |
| | | | | | | | | | | | | | | | | | | | | requests | ||||
* | | | | | Fix auto generating signing_keys | Mark Haines | 2014-10-18 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Bump the other version v0.4.1 | Erik Johnston | 2014-10-18 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Check that we have auth headers and fail nicely | Erik Johnston | 2014-10-17 | 1 | -0/+5 |
| | | | | | |||||
* | | | | | More log lines. | Erik Johnston | 2014-10-17 | 1 | -7/+15 |
| | | | | | |||||
* | | | | | add log line for checking verifying signatures | Mark Haines | 2014-10-17 | 1 | -0/+1 |
| | | | | | |||||
* | | | | | Bump version and changelog | Erik Johnston | 2014-10-17 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Bump database version number. | Erik Johnston | 2014-10-17 | 2 | -1/+32 |
| |_|_|/ |/| | | | |||||
* | | | | keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating ↵ | Mark Haines | 2014-10-17 | 7 | -11/+16 |
| | | | | | | | | | | | | | | | | schema | ||||
* | | | | SPEC-7: Rename 'ts' to 'origin_server_ts' | Mark Haines | 2014-10-17 | 10 | -27/+27 |
| | | | | |||||
* | | | | SPEC-7: Don't stamp event contents with 'hsob_ts' | Mark Haines | 2014-10-17 | 1 | -13/+3 |
| | | | | |||||
* | | | | Make sure to return an empty JSON object ({}) from presence PUT/POST ↵ | Paul "LeoNerd" Evans | 2014-10-14 | 1 | -2/+2 |
| |_|/ |/| | | | | | | | | requests rather than an empty string ("") because most deserialisers won't like the latter | ||||
* | | | SYN-103: Ignore the 'origin' key in received EDUs. Instead take the origin ↵ | Mark Haines | 2014-10-14 | 2 | -3/+7 |
| |/ |/| | | | | | from the transaction itself | ||||
* | | remove debugging logging for signing requests | Mark Haines | 2014-10-14 | 1 | -4/+0 |
|/ | |||||
* | Better response message when signature is missing or unsupported | Mark Haines | 2014-10-13 | 1 | -1/+1 |
| | |||||
* | Respond with more helpful error messages for unsigned requests | Mark Haines | 2014-10-13 | 6 | -10/+45 |
| | |||||
* | Raise a SynapseError if the authorisation header is missing or malformed | Mark Haines | 2014-10-13 | 1 | -19/+27 |
| | |||||
* | Remove debug logging, raise a proper SynapseError if the auth header is missing | Mark Haines | 2014-10-13 | 1 | -5/+4 |
| | |||||
* | Verify signatures for server2server requests | Mark Haines | 2014-10-13 | 3 | -25/+96 |
| | |||||
* | SYN-75 sign at the request level rather than the transaction level | Mark Haines | 2014-10-13 | 4 | -35/+53 |
| | |||||
* | Merge branch 'develop' into server2server_signing | Mark Haines | 2014-10-13 | 1 | -11/+35 |
|\ | |||||
| * | Replace on_send_callback with something a bit clearer so that we can sign ↵ | Mark Haines | 2014-10-13 | 1 | -11/+35 |
| | | | | | | | | messages |