Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'release-v0.6.0' into develop | Mark Haines | 2014-12-16 | 6 | -9/+90 |
|\ | |||||
| * | Enable rate limiting for all events | Erik Johnston | 2014-12-16 | 1 | -0/+5 |
| | | |||||
| * | Fix typo where we thought a list was a dict | Erik Johnston | 2014-12-16 | 1 | -3/+4 |
| | | |||||
| * | Fix upgrade script to run all the missing deltas. | Erik Johnston | 2014-12-16 | 1 | -1/+57 |
| | | |||||
| * | Do run all deltas up to missing delta 10 | Erik Johnston | 2014-12-16 | 1 | -4/+4 |
| | | |||||
| * | Make failure to run appropraite upgrade scripts more helpful. | Erik Johnston | 2014-12-16 | 2 | -3/+22 |
| | | |||||
| * | Bump database version | Erik Johnston | 2014-12-16 | 1 | -1/+1 |
| | | |||||
| * | Bump version | Erik Johnston | 2014-12-16 | 1 | -1/+1 |
| | | |||||
* | | SYN-142: Use a default log file 'homeserver.log' so people get logging by ↵ | Kegan Dougal | 2014-12-16 | 1 | -1/+1 |
| | | | | | | | | default. | ||||
* | | Remove send_message since nothing was calling it. Remove Snapshot because ↵ | Mark Haines | 2014-12-16 | 2 | -118/+0 |
| | | | | | | | | only send_message was using it | ||||
* | | Construct the EventContext in the state handler rather than constructing one ↵ | Mark Haines | 2014-12-16 | 3 | -23/+16 |
| | | | | | | | | and then immediately calling state_handler.annotate_context_with_state | ||||
* | | clean up coding style a bit | Mark Haines | 2014-12-16 | 8 | -26/+26 |
| | | |||||
* | | Remove annotate_event_with_state as nothing was using it. Update state tests ↵ | Mark Haines | 2014-12-16 | 1 | -66/+0 |
|/ | | | | to call annotate_context_with_state | ||||
* | Fix pyflakes | Erik Johnston | 2014-12-16 | 1 | -2/+0 |
| | |||||
* | Remove FrozenEncoder | Erik Johnston | 2014-12-16 | 1 | -8/+0 |
| | |||||
* | Better english in docstrings are helpful. | Erik Johnston | 2014-12-16 | 1 | -2/+2 |
| | |||||
* | Update upgrade script | Erik Johnston | 2014-12-16 | 1 | -1/+1 |
| | |||||
* | Persist internal_metadata | Erik Johnston | 2014-12-16 | 4 | -5/+13 |
| | |||||
* | Add basic docstring to annotate_context_with_state | Erik Johnston | 2014-12-16 | 1 | -0/+11 |
| | |||||
* | Kill off synapse.api.events.* | Erik Johnston | 2014-12-16 | 17 | -641/+39 |
| | |||||
* | Add fixme to raising of AuthError in federation land | Erik Johnston | 2014-12-16 | 1 | -0/+1 |
| | |||||
* | Fix pyflakes | Erik Johnston | 2014-12-15 | 1 | -2/+0 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-15 | 2 | -8/+26 |
|\ | |||||
| * | Update media_repository.py | Kegsay | 2014-12-15 | 1 | -1/+1 |
| | | | | | | _ not - | ||||
| * | Remember to hook up the typing event stream to the notifier as well | Paul "LeoNerd" Evans | 2014-12-15 | 1 | -7/+25 |
| | | |||||
* | | Use frozenutils | Erik Johnston | 2014-12-15 | 2 | -34/+5 |
| | | |||||
* | | User.is_mine is no longer a thing. Use hs.is_mine instead. | Erik Johnston | 2014-12-15 | 1 | -1/+1 |
| | | |||||
* | | Rename MessageHandler.handle_event. Add a few comments. | Erik Johnston | 2014-12-15 | 6 | -12/+29 |
| | | |||||
* | | Remove unused functions | Erik Johnston | 2014-12-15 | 1 | -42/+0 |
| | | |||||
* | | Finish up upgrade script | Erik Johnston | 2014-12-15 | 1 | -1/+1 |
| | | |||||
* | | Get current member state from current_state snapshot. Fix leave test. | Erik Johnston | 2014-12-15 | 1 | -3/+3 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-15 | 7 | -29/+155 |
|\| | | | | | | | | | Conflicts: tests/handlers/test_room.py | ||||
| * | Still send typing notifications to myself if I'm the only one in the room ↵ | Paul "LeoNerd" Evans | 2014-12-15 | 1 | -2/+1 |
| | | | | | | | | (it's a lonely life...) | ||||
| * | Update docs in media_repository | Mark Haines | 2014-12-15 | 1 | -2/+2 |
| | | |||||
| * | return an mxc uri rather than a content_token. | Mark Haines | 2014-12-15 | 1 | -1/+3 |
| | | |||||
| * | Merge branch 'develop' into typing_notifications | Paul "LeoNerd" Evans | 2014-12-15 | 2 | -3/+3 |
| |\ | |||||
| | * | Merge branch 'hotfixes-v0.5.4' of github.com:matrix-org/synapse into develop | Erik Johnston | 2014-12-13 | 2 | -3/+3 |
| | |\ | |||||
| | | * | Bump version and change log | Erik Johnston | 2014-12-13 | 1 | -1/+1 |
| | | | | |||||
| | | * | Fix bug while generating the error message when a file path specified in the ↵ | Erik Johnston | 2014-12-13 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | config doesn't exist | ||||
| * | | | Send list of typing user IDs as 'user_ids' list within 'content', so that ↵ | Paul "LeoNerd" Evans | 2014-12-12 | 1 | -1/+3 |
| | | | | | | | | | | | | | | | | m.typing stream events have a toplevel content, for consistency with others | ||||
| * | | | Merge branch 'develop' into typing_notifications | Paul "LeoNerd" Evans | 2014-12-11 | 22 | -17/+1294 |
| |\ \ \ | |||||
| | * | | | Merge branch 'develop' of github.com:matrix-org/synapse into develop | Paul "LeoNerd" Evans | 2014-12-11 | 22 | -17/+1294 |
| | |\| | | |||||
| | | * | | Fix typo in media repository doc string | Mark Haines | 2014-12-11 | 1 | -1/+1 |
| | | | | | |||||
| | | * | | Fix media repository doc string to include server_name | Mark Haines | 2014-12-11 | 1 | -3/+3 |
| | | | | | |||||
| * | | | | When users leave rooms mark them as no longer typing in them | Paul "LeoNerd" Evans | 2014-12-11 | 1 | -0/+8 |
| | | | | | |||||
| * | | | | Add a 'user_left_room' distributor signal analogous to 'user_joined_room' | Paul "LeoNerd" Evans | 2014-12-11 | 1 | -0/+7 |
| | | | | | |||||
| * | | | | Actually auth-check to ensure people can only send typing notifications for ↵ | Paul "LeoNerd" Evans | 2014-12-11 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | rooms they're actually in | ||||
| * | | | | Add a sprinkling of logger.debug() into typing notification handler | Paul "LeoNerd" Evans | 2014-12-11 | 1 | -0/+8 |
| | | | | | |||||
| * | | | | Initial hack at unit tests of room typing REST API | Paul "LeoNerd" Evans | 2014-12-11 | 1 | -0/+7 |
| | | | | | |||||
| * | | | | Initial tiny hack at REST API for setting room typing notification status | Paul "LeoNerd" Evans | 2014-12-11 | 1 | -0/+32 |
| |/ / / | |||||
| * | | | Avoid cyclic dependency in handler setup | Paul "LeoNerd" Evans | 2014-12-10 | 1 | -4/+10 |
| | | | | |||||
| * | | | Hook up the event stream to typing notifications | Paul "LeoNerd" Evans | 2014-12-10 | 1 | -2/+22 |
| | | | | |||||
| * | | | Store serial numbers per room for typing event stream purposes | Paul "LeoNerd" Evans | 2014-12-10 | 1 | -13/+28 |
| | | | | |||||
| * | | | First hack at implementing timeouts in typing notification handler | Paul "LeoNerd" Evans | 2014-12-10 | 1 | -3/+19 |
| | | | | |||||
* | | | | Fix bug where we ignored event_edge_hashes table | Erik Johnston | 2014-12-15 | 4 | -7/+7 |
| | | | | |||||
* | | | | Remove unused imports | Erik Johnston | 2014-12-12 | 3 | -3/+0 |
| | | | | |||||
* | | | | Make auth module use EventTypes constants | Erik Johnston | 2014-12-12 | 1 | -27/+23 |
| | | | | |||||
* | | | | Fix tests and remove debug logging | Erik Johnston | 2014-12-12 | 1 | -4/+0 |
| | | | | |||||
* | | | | Consistently url decode and decode as utf 8 the URL parts | Erik Johnston | 2014-12-12 | 5 | -43/+35 |
| | | | | |||||
* | | | | Store json as UTF-8 and not bytes | Erik Johnston | 2014-12-12 | 1 | -1/+1 |
| | | | | |||||
* | | | | Pyflakes | Erik Johnston | 2014-12-12 | 1 | -1/+0 |
| | | | | |||||
* | | | | 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 |
| | | | |