Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Validate message, topic and name event contents | Erik Johnston | 2014-12-12 | 3 | -1/+27 |
| | |||||
* | Fix stream test. Make sure we add join to auth_events for invitiations | Erik Johnston | 2014-12-12 | 1 | -0/+6 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-11 | 22 | -17/+1294 |
|\ | | | | | | | | | Conflicts: setup.py | ||||
| * | Allow only one download for a given image at a time, so that we don't end up ↵ | Mark Haines | 2014-12-11 | 3 | -20/+29 |
| | | | | | | | | downloading the same image twice if two clients request a remote image at the same time | ||||
| * | Limit the size of images that are thumbnailed serverside. Limit the size of ↵ | Mark Haines | 2014-12-11 | 4 | -6/+43 |
| | | | | | | | | file that a server will download from a remote server | ||||
| * | doc the thumbnail methods | Mark Haines | 2014-12-11 | 1 | -2/+11 |
| | | |||||
| * | Make sure we pass a tuple to string '%' formatting | Mark Haines | 2014-12-11 | 1 | -2/+2 |
| | | |||||
| * | Merge branch 'develop' into media_repository | Mark Haines | 2014-12-10 | 10 | -23/+255 |
| |\ | |||||
| * \ | Merge branch 'develop' into media_repository | Mark Haines | 2014-12-10 | 21 | -209/+512 |
| |\ \ | |||||
| * | | | import Image as PIL.Image. | Mark Haines | 2014-12-10 | 1 | -1/+1 |
| | | | | |||||
| * | | | Get the code actually working | Mark Haines | 2014-12-10 | 6 | -52/+61 |
| | | | | |||||
| * | | | Thumbnail uploaded and cached images | Mark Haines | 2014-12-10 | 7 | -175/+587 |
| | | | | |||||
| * | | | Add a method field to thumbnail storage | Mark Haines | 2014-12-05 | 2 | -7/+12 |
| | | | | |||||
| * | | | Add a class for generating thumbnails using PIL | Mark Haines | 2014-12-05 | 1 | -0/+78 |
| | | | | |||||
| * | | | Implement download support for media_repository | Mark Haines | 2014-12-04 | 5 | -12/+278 |
| | | | | |||||
| * | | | Fix pyflakes and pep8 warnings | Mark Haines | 2014-12-02 | 3 | -3/+4 |
| | | | | |||||
| * | | | Get uploads working with new media repo | Mark Haines | 2014-12-02 | 14 | -29/+56 |
| | | | | |||||
| * | | | Write the upload portion of version 1 of the media repository | Mark Haines | 2014-12-02 | 7 | -7/+431 |
| | | | | |||||
* | | | | Fix federation test | Erik Johnston | 2014-12-11 | 1 | -1/+1 |
| | | | | |||||
* | | | | Fix public room joining by making sure replaces_state never points to itself. | Erik Johnston | 2014-12-11 | 3 | -10/+13 |
| | | | | |||||
* | | | | Fix prev_content | Erik Johnston | 2014-12-11 | 2 | -0/+14 |
| | | | | |||||
* | | | | Fix redactions. Fix 'age' key | Erik Johnston | 2014-12-11 | 5 | -27/+80 |
| | | | | |||||
* | | | | .from_string() no longer takes a HS | Erik Johnston | 2014-12-10 | 1 | -2/+2 |
| | | | | |||||
* | | | | Remove dead code | Erik Johnston | 2014-12-10 | 2 | -27/+0 |
| | | | | |||||
* | | | | Add some basic event validation | Erik Johnston | 2014-12-10 | 2 | -10/+27 |
| | | | | |||||
* | | | | Fix bug where we clobbered old state group values | Erik Johnston | 2014-12-10 | 3 | -2/+13 |
| | | | | |||||
* | | | | Actually fix bug when uploading state with empty state_key | Erik Johnston | 2014-12-10 | 2 | -2/+3 |
| | | | | |||||
* | | | | Fix bug when uploading state with empty state_key | Erik Johnston | 2014-12-10 | 6 | -88/+29 |
| | | | | |||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-10 | 10 | -23/+255 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | turn back on per-request transaction retries, so that every time we try to ↵ | Matthew Hodgson | 2014-12-10 | 1 | -4/+3 |
| | | | | | | | | | | | | | | | | hit a dead server we actually end up hammering 5 times :| | ||||
| * | | | Code style. | Erik Johnston | 2014-12-10 | 3 | -46/+85 |
| | | | | |||||
| * | | | 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 | 2 | -8/+12 |
| | | | | | | | | | | | | | | | | sends to warn rather than exception | ||||
| * | | | squidge to 79 columns as per pep8 | Matthew Hodgson | 2014-12-10 | 3 | -19/+36 |
| | | | | |||||
| * | | | fix a million stupid bugs and make it actually work | Matthew Hodgson | 2014-12-08 | 3 | -20/+33 |
| | | | | |||||
| * | | | add a write-through cache on the retry schedule | Matthew Hodgson | 2014-12-08 | 1 | -4/+15 |
| | | | | |||||
| * | | | actually reset retry schedule if we can successfuly talk to it | Matthew Hodgson | 2014-12-08 | 2 | -0/+9 |
| | | | | |||||
| * | | | fix stupid syntax thinkos | Matthew Hodgson | 2014-12-07 | 2 | -13/+12 |
| | | | | |||||
| * | | | track replication destination health, and perform exponential back-off when ↵ | Matthew Hodgson | 2014-12-07 | 9 | -18/+156 |
| | |/ | |/| | | | | | | | sending transactions. does *not* yet retry transactions, but drops them on the floor if waiting for a server to recover. | ||||
* | | | Fix AttributeError | Erik Johnston | 2014-12-10 | 2 | -1/+4 |
| | | | |||||
* | | | Make depth increase. | Erik Johnston | 2014-12-10 | 1 | -1/+1 |
| | | | |||||
* | | | Add __str__ to FrozenEvent | Erik Johnston | 2014-12-10 | 1 | -0/+5 |
| | | | |||||
* | | | Try and figure out how and why signatures are being changed. | Erik Johnston | 2014-12-10 | 9 | -34/+86 |
| | | | |||||
* | | | PEP8 | Erik Johnston | 2014-12-09 | 2 | -2/+2 |
| | | | |||||
* | | | Fix joining from an invite | Erik Johnston | 2014-12-09 | 4 | -17/+20 |
| | | | |||||
* | | | Change the way we implement get_events to be less sucky | Erik Johnston | 2014-12-09 | 2 | -36/+22 |
| | | | |||||
* | | | Add PEP8 newlines | Erik Johnston | 2014-12-09 | 1 | -1/+1 |
| | | | |||||
* | | | Add PEP8 newlines | Erik Johnston | 2014-12-09 | 3 | -3/+3 |
| | | | |||||
* | | | Remove unused snapshot | Erik Johnston | 2014-12-09 | 1 | -2/+0 |
| | | | |||||
* | | | Remove unused import | Erik Johnston | 2014-12-09 | 1 | -2/+1 |
| | | | |||||
* | | | More bug fixes | Erik Johnston | 2014-12-08 | 5 | -30/+35 |
| | | | |||||
* | | | More bug fixes | Erik Johnston | 2014-12-08 | 5 | -13/+20 |
| | | | |||||
* | | | Remove unused import | Erik Johnston | 2014-12-08 | 2 | -2/+0 |
| | | | |||||
* | | | More bug fixes | Erik Johnston | 2014-12-08 | 2 | -3/+7 |
| | | | |||||
* | | | Fix registration | Erik Johnston | 2014-12-08 | 2 | -3/+7 |
| | | | |||||
* | | | Add forgotten file | Erik Johnston | 2014-12-08 | 1 | -0/+56 |
| | | | |||||
* | | | Various typos and bug fixes. | Erik Johnston | 2014-12-08 | 8 | -80/+80 |
| | | | |||||
* | | | Start making more things use EventContext rather than event.* | Erik Johnston | 2014-12-05 | 10 | -134/+212 |
| | | | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-04 | 2 | -6/+8 |
|\| | | |||||
| * | | @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 |
| | | | |||||
* | | | Convert rest and handlers to use new event structure | Erik Johnston | 2014-12-04 | 14 | -199/+188 |
| | | | |||||
* | | | Begin converting things to use the new Event structure | Erik Johnston | 2014-12-04 | 8 | -39/+96 |
| | | | |||||
* | | | WIP for new way of managing events. | Erik Johnston | 2014-12-03 | 9 | -102/+374 |
| | | | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-03 | 9 | -9/+39 |
|\| | | |||||
| * | | 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 |
| | | | |||||
* | | | Begin fleshing out a new Event object | Erik Johnston | 2014-12-02 | 2 | -0/+194 |
| | | | |||||
* | | | Change DomainSpecificString so that it doesn't use a HomeServer object | Erik Johnston | 2014-12-02 | 12 | -66/+63 |
| | | | |||||
* | | | Store full JSON of events in db | Erik Johnston | 2014-12-01 | 3 | -56/+50 |
|/ / | |||||
* | | 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 |
| | | | | | |