summary refs log tree commit diff
path: root/synapse/handlers (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use all_ephemeral_by_room in incremental_sync_with_gap_for_roomErik Johnston2016-01-191-3/+5
|
* Return highlight_count in /syncErik Johnston2016-01-191-6/+36
|
* Re-enable urnead notificationsErik Johnston2016-01-182-10/+6
|
* Allow filtering events for multiple users at onceErik Johnston2016-01-181-39/+54
|
* Require unbanning before other membership changesDaniel Wagner-Hall2016-01-153-16/+100
|
* Remove unused parametersDaniel Wagner-Hall2016-01-152-16/+8
|
* M_INVALID_USERNAME to be consistent with the parameter nameDavid Baker2016-01-151-1/+1
|
* Add specific error code for invalid user names.David Baker2016-01-141-1/+2
|
* Merge branch 'release-v0.12.1' into developRichard van der Hoff2016-01-141-12/+23
|\
| * Add 'event' result to 'context' endpointRichard van der Hoff2016-01-131-12/+23
| | | | | | | | ... because the context isn't much use without the event.
| * Skip, rather than erroring, invalid guest requestsDaniel Wagner-Hall2016-01-134-19/+4
| | | | | | | | | | | | | | | | | | | | Erroring causes problems when people make illegal requests, because they don't know what limit parameter they should pass. This is definitely buggy. It leaks message counts for rooms people don't have permission to see, via tokens. But apparently we already consciously decided to allow that as a team, so this preserves that behaviour.
* | Use logger not loggingErik Johnston2016-01-141-2/+2
| |
* | Don't change signature. Return empty listErik Johnston2016-01-131-2/+2
| |
* | Temporarily disable notification branchErik Johnston2016-01-132-7/+11
| |
* | Merge pull request #480 from matrix-org/erikj/guest_event_tightloopErik Johnston2016-01-131-7/+0
|\ \ | | | | | | Dont fire user_joined_room when guest hits /events
| * | Dont fire user_joined_room when guest hits /eventsErik Johnston2016-01-121-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Firing the 'user_joined_room' signal everytime a guest hits /events causes all presence for that room to be returned in the stream. This may sound helpful, but causes clients to tightloop calling /events. In general, guest users should get the initial presence from (room) intial sync and so we don't require presence to sbsequently come down the event stream.
* | | Don't include old left roomsErik Johnston2016-01-121-1/+5
|/ /
* | Merge pull request #456 from matrix-org/store_event_actionsDavid Baker2016-01-084-1/+80
|\ \ | | | | | | Send unread notification counts
| * | comma styleDavid Baker2016-01-061-1/+1
| | |
| * | Merge remote-tracking branch 'origin/develop' into store_event_actionsDavid Baker2016-01-061-107/+47
| |\ \
| * | | Add is_guest flag to users db to track whether a user is a guest user or ↵David Baker2016-01-063-9/+9
| | | | | | | | | | | | | | | | not. Use this so we can run _filter_events_for_client when calculating event_push_actions.
| * | | Merge remote-tracking branch 'origin/develop' into store_event_actionsDavid Baker2016-01-056-35/+53
| |\ \ \
| * | | | commaDavid Baker2016-01-041-1/+1
| | | | |
| * | | | Add unread_notif_count in incremental_sync_with_gapDavid Baker2016-01-041-0/+8
| | | | |
| * | | | Rename event-actions to event_push_actions as per PR requestDavid Baker2016-01-041-1/+1
| | | | |
| * | | | Merge remote-tracking branch 'origin/develop' into store_event_actionsDavid Baker2016-01-041-1/+24
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Address minor PR issuesDavid Baker2016-01-042-4/+4
| | | | |
| * | | | Fix merge fail with anon access stuffDavid Baker2015-12-221-2/+2
| | | | |
| * | | | Merge remote-tracking branch 'origin/develop' into store_event_actionsDavid Baker2015-12-222-47/+128
| |\ \ \ \
| * | | | | Add some comments to areas that could be optimised.David Baker2015-12-221-0/+3
| | | | | |
| * | | | | Merge remote-tracking branch 'origin/develop' into store_event_actionsDavid Baker2015-12-216-43/+140
| |\ \ \ \ \
| * | | | | | Only run pushers for users on this hs!David Baker2015-12-212-2/+2
| | | | | | |
| * | | | | | pep8David Baker2015-12-211-3/+3
| | | | | | |
| * | | | | | Make unread notification count sending work: put the correct count in ↵David Baker2015-12-181-11/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | incremental syncs too, where necessary, and fix silly bugs like only select the event actions for that user...
| * | | | | | still very WIP, but now sends unread_notifications_count in the room object ↵David Baker2015-12-161-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | on sync (only actually corrrect in a full sync: hardcoded to 0 in incremental syncs).
| * | | | | | Having consulted The Erikle, this should go at the end of on_receive_pdu, ↵David Baker2015-12-101-11/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | otherwise it will be triggered whenever we backfill too.
| * | | | | | Very first cut of calculating actions for events as they come in. Doesn't ↵David Baker2015-12-102-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | store them yet. Not very efficient.
* | | | | | | Use logger not loggingErik Johnston2016-01-071-2/+2
| | | | | | |
* | | | | | | copyrightsMatthew Hodgson2016-01-0713-13/+13
| |_|_|_|_|/ |/| | | | |
* | | | | | Pass whether the user was a guest to some of the event streamsMark Haines2016-01-061-5/+3
| | | | | |
* | | | | | Guest users must be joined to a room to see it in /syncMark Haines2016-01-061-103/+49
| |_|_|_|/ |/| | | |
* | | | | Skip, rather than erroring, invalid guest requestsDaniel Wagner-Hall2016-01-054-19/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Erroring causes problems when people make illegal requests, because they don't know what limit parameter they should pass. This is definitely buggy. It leaks message counts for rooms people don't have permission to see, via tokens. But apparently we already consciously decided to allow that as a team, so this preserves that behaviour.
* | | | | Allow guests to upgrade their accountsDaniel Wagner-Hall2016-01-054-15/+32
| | | | |
* | | | | Return /sync when something under the 'leave' key has changedErik Johnston2016-01-051-1/+1
| | | | |
* | | | | Use named argsErik Johnston2016-01-051-2/+2
| | | | |
* | | | | Support inviting 3pids in /createRoomErik Johnston2016-01-051-0/+16
| |_|_|/ |/| | |
* | | | Move the doc string to the public facing methodMark Haines2015-12-221-16/+17
| | | |
* | | | Add a cache for initialSync responses that expires after 5 minutesMark Haines2015-12-221-1/+23
| |_|/ |/| |
* | | Include the list of bad room ids in the errorMark Haines2015-12-221-2/+8
| | |
* | | Use a list comprehensionMark Haines2015-12-221-3/+4
| | |
* | | Hook up read receipts and typing notifications for guest accessMark Haines2015-12-221-13/+11
| | |
* | | Merge branch 'develop' into markjh/guest_accessMark Haines2015-12-221-2/+21
|\ \ \
| * | | Return room avatar URLs in /publicRoomsDaniel Wagner-Hall2015-12-211-2/+21
| | |/ | |/| | | | | | | | | | Spec: https://github.com/matrix-org/matrix-doc/pull/244 Tests: https://github.com/matrix-org/sytest/pull/121
* | | Allow guest access to /syncMark Haines2015-12-221-46/+98
| | |
* | | Allow guest access if the user provides a list of rooms in the filterMark Haines2015-12-221-0/+1
|/ /
* | Merge pull request #450 from matrix-org/matthew/no-identiconsMatthew Hodgson2015-12-181-19/+3
|\ \ | | | | | | Matthew/no identicons
| * | fix indentation levelMatthew Hodgson2015-12-171-3/+3
| | |
| * | stop generating default identicons. reverts most of ↵Matthew Hodgson2015-12-171-19/+3
| | | | | | | | | | | | 582019f870adbc4a8a8a9ef97b527e0fead77761 and solves vector-web/vector-im#346
* | | Merge branch 'release-v0.12.0' into developDavid Baker2015-12-181-1/+1
|\ \ \
| * | | Fix typo that broke registration on the mobile clientsDavid Baker2015-12-181-1/+1
| | | |
* | | | Add display_name to 3pid invite in m.room.member invitesDaniel Wagner-Hall2015-12-171-1/+31
| |/ / |/| |
* | | Strip address and such out of 3pid invitesDaniel Wagner-Hall2015-12-171-1/+12
|/ / | | | | | | We're not meant to leak that into the graph
* | Give the IS a bunch more 3pid invite contextDaniel Wagner-Hall2015-12-161-7/+60
| | | | | | | | This allows it to form richer emails
* | Merge branch 'release-v0.12.0' into developMark Haines2015-12-161-3/+8
|\ \
| * | Fix a race between started/stopped streamMark Haines2015-12-141-3/+8
| | |
* | | Merge branch 'release-v0.12.0' into developMark Haines2015-12-141-4/+12
|\| |
| * | Do the /sync in parallel accross the rooms like /initialSync doesMark Haines2015-12-111-4/+12
| | |
* | | Merge branch 'release-v0.12.0' into developMark Haines2015-12-121-1/+1
|\| |
| * | Add caches for whether a room has been forgotten by a userMark Haines2015-12-101-1/+1
| |/
* | Merge pull request #435 from matrix-org/erikj/searchErik Johnston2015-12-111-1/+7
|\ \ | | | | | | Include approximate count of search results
| * | Include approximate count of search resultsErik Johnston2015-12-111-1/+7
| |/
* / Ensure that the event that gets persisted is the one that was signedPaul "LeoNerd" Evans2015-12-101-6/+6
|/
* Merge pull request #405 from matrix-org/erikj/search-tsErik Johnston2015-12-081-6/+4
|\ | | | | Change the result dict to be a list in /search response
| * Change the result tict to be a listErik Johnston2015-12-011-6/+4
| |
* | Only include the archived rooms if a include_leave flag in set in the filterMark Haines2015-12-041-6/+6
| |
* | Merge pull request #419 from matrix-org/markjh/reuse_captcha_clientMark Haines2015-12-031-4/+2
|\ \ | | | | | | Reuse the captcha client rather than creating a new one for each request
| * | Reuse the captcha client rather than creating a new one for each requestMark Haines2015-12-031-4/+2
| | |
* | | Flatten devices into a dict, not a listDaniel Wagner-Hall2015-12-031-4/+3
|/ /
* | Merge pull request #418 from matrix-org/daniel/whoisDaniel Wagner-Hall2015-12-031-17/+11
|\ \ | | | | | | Merge pull request #418 from matrix-org/daniel/whois
| * | Fix implementation of /admin/whoisDaniel Wagner-Hall2015-12-021-17/+11
| | |
* | | Make state updates in the C+S API idempotentMark Haines2015-12-021-0/+12
|/ /
* | Merge pull request #410 from matrix-org/markjh/edu_frequencyMark Haines2015-12-022-5/+15
|\ \ | | | | | | Only fire user_joined_room if the user has actually joined.
| * | Use the context returned by _handle_new_eventMark Haines2015-12-021-4/+1
| | |
| * | Merge branch 'develop' into markjh/edu_frequencyMark Haines2015-12-021-1/+1
| |\ \
| * | | Add commentsMark Haines2015-12-022-0/+6
| | | |
| * | | Merge branch 'develop' into markjh/edu_frequencyMark Haines2015-12-028-56/+90
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/federation.py synapse/handlers/room.py
| * | | | Only fire user_joined_room if the membership has changedMark Haines2015-12-011-3/+8
| | | | |
| * | | | Merge branch 'develop' into markjh/edu_frequencyMark Haines2015-12-015-91/+173
| |\ \ \ \
| * | | | | Only fire user_joined_room on the distributor if the user has actually ↵Mark Haines2015-12-011-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | joined the room
* | | | | | Reuse a single http client, rather than creating new onesMark Haines2015-12-021-9/+5
| |_|_|/ / |/| | | |
* | | | | Fix typo in collect_presencelike_dataMark Haines2015-12-021-1/+1
| |_|/ / |/| | |
* | | | Merge pull request #408 from matrix-org/markjh/distributor_facadeMark Haines2015-12-027-53/+78
|\ \ \ \ | | | | | | | | | | Wrap calls to distributor.fire in appropriately named functions
| * | | | Wrap calls to distributor.fire in appropriately named functions so that ↵Mark Haines2015-12-017-53/+78
| | |/ / | |/| | | | | | | | | | static analysis can work out want is calling what
* | | | Merge pull request #406 from matrix-org/erikj/searchErik Johnston2015-12-021-3/+12
|\ \ \ \ | |/ / / |/| | | Search: Don't disregard grouping info in pagination tokens
| * | | Search: Don't disregard grouping info in pagination tokensErik Johnston2015-12-011-3/+12
| | | |
* | | | Add API for setting account_data globaly or on a per room basisMark Haines2015-12-013-22/+111
|/ / /
* | | Merge pull request #404 from matrix-org/markjh/trivial_renameMark Haines2015-12-011-1/+1
|\ \ \ | |_|/ |/| | Rename presence_handler.send_invite
| * | Rename presence_handler.send_invite to presence_handler.send_presence_invite ↵Mark Haines2015-12-011-1/+1
| |/ | | | | | | to distinguish it from normal invites
* | Tidy up a bitErik Johnston2015-12-011-8/+9
| |
* | Allow paginating search ordered by recentsErik Johnston2015-11-301-68/+60
|/
* Return words to highlight in search resultsErik Johnston2015-11-271-3/+16
|
* Merge pull request #375 from matrix-org/daniel/guestroominitialsyncDaniel Wagner-Hall2015-11-231-10/+15
|\ | | | | Clean up room initialSync for guest users
| * Clean up room initialSync for guest usersDaniel Wagner-Hall2015-11-131-10/+15
| |
* | Merge pull request #385 from matrix-org/daniel/forgetroomsMark Haines2015-11-202-1/+12
|\ \ | | | | | | Allow users to forget rooms
| * \ Merge branch 'develop' into daniel/forgetroomsPaul "LeoNerd" Evans2015-11-194-24/+24
| |\ \
| * | | Simplify codeDaniel Wagner-Hall2015-11-191-1/+1
| | | |
| * | | Apply forgetting properly to historical eventsDaniel Wagner-Hall2015-11-181-1/+9
| | | |
| * | | Allow users to forget roomsDaniel Wagner-Hall2015-11-171-0/+3
| | | |
* | | | Add option to include the current room stateErik Johnston2015-11-201-0/+24
| | | |
* | | | Optionally include historic profile infoErik Johnston2015-11-201-1/+30
| |/ / |/| |
* | | Merge pull request #386 from matrix-org/markjh/rename_pud_to_account_dataMark Haines2015-11-193-23/+23
|\ \ \ | | | | | | | | s/private_user_data/account_data/
| * | | s/private_user_data/account_data/Mark Haines2015-11-183-23/+23
| |/ /
* / / Take a boolean not a list of lambdasDaniel Wagner-Hall2015-11-191-1/+1
|/ /
* | Merge branch 'develop' into sh-cas-auth-via-homeserverSteven Hammerton2015-11-176-140/+278
|\|
| * Fix a few race conditions in the state calculationRichard van der Hoff2015-11-131-60/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Be a bit more careful about how we calculate the state to be returned by /sync. In a few places, it was possible for /sync to return slightly later state than that represented by the next_batch token and the timeline. In particular, the following cases were susceptible: * On a full state sync, for an active room * During a per-room incremental sync with a timeline gap * When the user has just joined a room. (Refactor check_joined_room to make it less magical) Also, use store.get_state_for_events() (and thus the existing stategroups) to calculate the state corresponding to a particular sync position, rather than state_handler.compute_event_context(), which recalculates from first principles (and tends to miss some state). Merged from PR https://github.com/matrix-org/synapse/pull/372
| * Make handlers.sync return a state dictionary, instead of an event list.Richard van der Hoff2015-11-131-31/+39
| | | | | | | | | | | | | | | | | | Basically this moves the process of flattening the existing dictionary into a list up to rest.client.*, instead of doing it in handlers.sync. This simplifies a bit of the code in handlers.sync, but it is also going to be somewhat beneficial in the next stage of my hacking on SPEC-254. Merged from PR #371
| * Update some commentsRichard van der Hoff2015-11-132-10/+30
| | | | | | | | | | | | | | Add a couple of type annotations, docstrings, and other comments, in the interest of keeping track of what types I have. Merged from pull request #370.
| * Fix missing profile data in federation joinsErik Johnston2015-11-122-5/+9
| | | | | | | | | | There was a regression where we stopped including profile data in initial joins for rooms joined over federation.
| * Merge pull request #367 from matrix-org/daniel/readafterleaveDaniel Wagner-Hall2015-11-121-10/+11
| |\ | | | | | | | | | | | | Merge pull request #367 from matrix-org/daniel/readafterleave Tweak guest access permissions
| | * Tweak guest access permissionsDaniel Wagner-Hall2015-11-121-10/+11
| | | | | | | | | | | | | | | | | | * Allow world_readable rooms to be read by guests who have joined and left * Allow regular users to access world_readable rooms
| * | Merge pull request #360 from matrix-org/daniel/guestroominitialsyncDaniel Wagner-Hall2015-11-121-23/+32
| |\ \ | | |/ | |/| | | | | | | Merge pull request #360 from matrix-org/daniel/guestroominitialsync Allow guest access to room initialSync
| | * Allow guest access to room initialSyncDaniel Wagner-Hall2015-11-111-23/+32
| | |
| * | Consider joined guest users as joined usersDaniel Wagner-Hall2015-11-121-12/+21
| | | | | | | | | | | | | | | Otherwise they're inconveniently allowed to write events to the room but not to read them from the room.
| * | Allow guests to access room context APIDaniel Wagner-Hall2015-11-111-3/+9
| |/
| * Allow guest users to join and message roomsDaniel Wagner-Hall2015-11-105-9/+81
| |
| * Merge pull request #356 from matrix-org/daniel/3pidyetagainDaniel Wagner-Hall2015-11-101-5/+3
| |\ | | | | | | Get display name from identity server, not client
| | * Get display name from identity server, not clientDaniel Wagner-Hall2015-11-091-5/+3
| | |
| * | Don't fiddle with results returned by event sourcesRichard van der Hoff2015-11-091-4/+12
| | | | | | | | | | | | | | | | | | Overwriting hashes returned by other methods is poor form. Fixes: SYN-516
| * | SYN-513: Include updates for rooms that have had all their tags deletedMark Haines2015-11-091-1/+1
| |/
* | Minor review fixesSteven Hammerton2015-11-111-4/+4
| |
* | Share more code between macaroon validationSteven Hammerton2015-11-111-48/+7
| |
* | Merge branch 'develop' into sh-cas-auth-via-homeserverSteven Hammerton2015-11-0511-91/+357
|\|
| * Merge pull request #350 from matrix-org/erikj/searchErik Johnston2015-11-051-18/+183
| |\ | | | | | | Implement pagination, order by and groups in search
| | * Be explicit about what we're doingErik Johnston2015-11-051-1/+1
| | |
| | * Remove redundant testErik Johnston2015-11-051-1/+0
| | |
| | * Increment by one, not fiveErik Johnston2015-11-051-1/+1
| | |
| | * COMMENTSErik Johnston2015-11-051-4/+26
| | |
| | * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/searchErik Johnston2015-11-0512-119/+165
| | |\
| | * | Implement basic pagination for search resultsErik Johnston2015-11-051-13/+65
| | | |
| | * | Implement order and group byErik Johnston2015-11-041-17/+109
| | | |
| * | | Exchange 3pid invites for m.room.member invitesDaniel Wagner-Hall2015-11-053-37/+92
| | |/ | |/|
| * | Open up /events to anonymous users for room events onlyDaniel Wagner-Hall2015-11-059-36/+82
| | | | | | | | | | | | Squash-merge of PR #345 from daniel/anonymousevents
* | | Allow hs to do CAS login completely and issue the client with a login token ↵Steven Hammerton2015-11-051-3/+73
|/ / | | | | | | that can be redeemed for the usual successful login response
* | Merge branch 'develop' of github.com:matrix-org/synapse into developDaniel Wagner-Hall2015-11-044-30/+2
|\ \
| * \ Merge branch 'develop' into daniel/removesomeliesMark Haines2015-11-044-24/+151
| |\ \ | | | | | | | | | | | | | | | | Conflicts: synapse/notifier.py
| | * | Remove the LockManager class because it wasn't being usedMark Haines2015-11-041-2/+0
| | |/
| * | Remove more unused parametersDaniel Wagner-Hall2015-11-022-2/+0
| | |
| * | Remove unused arguments and codeDaniel Wagner-Hall2015-11-022-26/+2
| | |
* | | Allow guests to register and call /events?room_id=Daniel Wagner-Hall2015-11-044-55/+83
| |/ |/| | | | | | | | | | | This follows the same flows-based flow as regular registration, but as the only implemented flow has no requirements, it auto-succeeds. In the future, other flows (e.g. captcha) may be required, so clients should treat this like the regular registration flow choices.
* | Merge branch 'develop' into markjh/v2_sync_receiptsMark Haines2015-11-033-12/+126
|\ \ | | | | | | | | | | | | Conflicts: synapse/handlers/sync.py
| * | Include room tags in v2 /syncMark Haines2015-11-021-11/+58
| | |
| * | Store room tag content and return the content in the m.tag eventMark Haines2015-11-021-4/+2
| | |
| * | Merge branch 'develop' into markjh/room_tagsMark Haines2015-11-024-23/+152
| |\|
| * | Include tags in v1 room initial syncMark Haines2015-10-301-0/+11
| | |
| * | Include room tags v1 /initialSyncMark Haines2015-10-301-0/+12
| | |
| * | Inform the client of new room tags using v1 /eventsMark Haines2015-10-291-0/+46
| | |
* | | Include read receipts in v2 syncMark Haines2015-11-021-15/+30
| |/ |/|
* | Update the other place check_joined_room is calledMark Haines2015-10-301-1/+1
| |
* | Don't mark newly joined room timelines as limited in an incremental syncMark Haines2015-10-291-3/+5
| |
* | Make search API honour limit set in filterErik Johnston2015-10-291-0/+3
| |
* | Merge pull request #336 from matrix-org/erikj/searchErik Johnston2015-10-281-1/+52
|\ \ | | | | | | Optionally return event contexts with search results
| * | Optionally return event contexts with search resultsErik Johnston2015-10-281-1/+52
| | |
* | | Merge pull request #334 from matrix-org/erikj/context_apiErik Johnston2015-10-282-1/+57
|\| | | | | | | | Add room context api
| * | DocsErik Johnston2015-10-281-0/+13
| | |
| * | Add room context apiErik Johnston2015-10-282-1/+44
| |/
* / Implement full_state incremental syncRichard van der Hoff2015-10-261-17/+34
|/ | | | | | | | A hopefully-complete implementation of the full_state incremental sync, as specced at https://github.com/matrix-org/matrix-doc/pull/133. This actually turns out to be a relatively simple modification to the initial sync implementation.
* Merge branch 'release-v0.10.1' of github.com:matrix-org/synapse into developErik Johnston2015-10-231-7/+1
|\
| * Fix receipts for room initial syncErik Johnston2015-10-221-7/+1
| |
* | RenameErik Johnston2015-10-221-3/+3
| |
* | Use namedtuple as return valueErik Johnston2015-10-221-1/+3
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/searchErik Johnston2015-10-221-17/+168
|\ \
| * \ Merge branch 'develop' into markjh/v2_sync_typingMark Haines2015-10-215-85/+451
| |\ \ | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/sync.py
| | * \ Merge pull request #316 from matrix-org/markjh/v2_sync_archivedMark Haines2015-10-211-3/+127
| | |\ \ | | | | | | | | | | Add rooms that the user has left under archived in v2 sync.
| | | * | Include banned rooms in the archived section of v2 syncMark Haines2015-10-211-6/+9
| | | | |
| | | * | Fix pep8Mark Haines2015-10-191-1/+0
| | | | |
| | | * | Add rooms that the user has left under archived in v2 sync.Mark Haines2015-10-191-3/+125
| | | | |
| * | | | Doc string for the SyncHandler.typing_by_room methodMark Haines2015-10-211-0/+12
| | | | |
| * | | | Include typing events in initial v2 syncMark Haines2015-10-201-14/+29
| | |/ / | |/| |
* | | | Filter room ids before hitting the databaseErik Johnston2015-10-211-1/+1
| | | |
* | | | Filter search resultsErik Johnston2015-10-211-2/+7
| |/ / |/| |
* | | Allow rejecting invitesDaniel Wagner-Hall2015-10-202-82/+229
| | | | | | | | | | | | | | | This is done by using the same /leave flow as you would use if you had already accepted the invite and wanted to leave.
* | | Merge pull request #307 from matrix-org/erikj/searchErik Johnston2015-10-192-0/+95
|\ \ \ | |/ / |/| | Add basic search API
| * | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/searchErik Johnston2015-10-163-5/+192
| |\ \
| * | | Remove unused importErik Johnston2015-10-161-3/+1
| | | |
| * | | Remove duplicate _filter_events_for_clientErik Johnston2015-10-161-46/+0
| | | |
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/searchErik Johnston2015-10-163-97/+51
| |\ \ \
| * | | | docstringErik Johnston2015-10-161-0/+10
| | | | |
| * | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/searchErik Johnston2015-10-151-92/+105
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Make 'keys' optionalErik Johnston2015-10-141-1/+3
| | | | |
| * | | | More TODO markersErik Johnston2015-10-141-0/+3
| | | | |
| * | | | Add TODO markersErik Johnston2015-10-141-1/+4
| | | | |
| * | | | Remove constraints in preperation of using filtersErik Johnston2015-10-131-51/+10
| | | | |
| * | | | Search left rooms tooErik Johnston2015-10-131-5/+2
| | | | |
| * | | | Filter events to only thsoe that the user is allowed to seeErik Johnston2015-10-121-6/+10
| | | | |
| * | | | Merge remote-tracking branch 'origin/develop' into erikj/searchErik Johnston2015-10-124-43/+100
| |\ \ \ \
| * | | | | Remove unused room_id parameterErik Johnston2015-10-124-8/+56
| | | | | |
| * | | | | PEP8Erik Johnston2015-10-121-2/+9
| | | | | |
| * | | | | Keep FTS indexes up to date. Only search through rooms currently joinedErik Johnston2015-10-121-9/+22
| | | | | |
| * | | | | Add basic full text search impl.Erik Johnston2015-10-092-0/+97
| | | | | |
* | | | | | Merge pull request #310 from matrix-org/markjh/bcrypt_roundsMark Haines2015-10-161-1/+2
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | Add config for how many bcrypt rounds to use for password hashes
| * | | | | Add config for how many bcrypt rounds to use for password hashesMark Haines2015-10-161-1/+2
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | By default we leave it at the default value of 12. But now we can reduce it for preparing users for loadtests or running integration tests.
* | | | | Merge pull request #302 from matrix-org/daniel/3pidinvitesDaniel Wagner-Hall2015-10-163-5/+192
|\ \ \ \ \ | |_|_|_|/ |/| | | | Implement third party identifier invites
| * | | | Verify third party ID server certificatesDaniel Wagner-Hall2015-10-161-2/+29
| | | | |
| * | | | Use non-placeholder name for endpointDaniel Wagner-Hall2015-10-151-1/+1
| | | | |
| * | | | Look for keys on the right objectsDaniel Wagner-Hall2015-10-151-2/+2
| | | | |
| * | | | Merge branch 'develop' into daniel/3pidinvitesDaniel Wagner-Hall2015-10-153-99/+112
| |\| | |
| * | | | Remove unnecessary class-wrappingDaniel Wagner-Hall2015-10-132-9/+10
| | | | |
| * | | | Move logic into handlerDaniel Wagner-Hall2015-10-131-0/+132
| | | | |
| * | | | Re-add accidentally removed codeDaniel Wagner-Hall2015-10-131-1/+1
| | | | |
| * | | | Move event contents into third_party_layout fieldDaniel Wagner-Hall2015-10-133-7/+11
| | | | |
| * | | | Merge branch 'develop' into daniel/3pidinvitesDaniel Wagner-Hall2015-10-134-43/+100
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Remove merge thinkoDaniel Wagner-Hall2015-10-061-4/+0
| | | | |
| * | | | Revert "Revert "Merge pull request #283 from ↵Daniel Wagner-Hall2015-10-061-76/+131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | matrix-org/erikj/atomic_join_federation"" This reverts commit 34d26d36874ab0bc7fa4dab0db08bd37ba4936ae.
| * | | | Merge branch 'develop' into daniel/3pidinvitesDaniel Wagner-Hall2015-10-061-1/+2
| |\ \ \ \ | | | |_|/ | | |/| |
| * | | | Revert "Merge pull request #283 from matrix-org/erikj/atomic_join_federation"Daniel Wagner-Hall2015-10-051-131/+76
| | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 5879edbb097d19c2b5f5e064841909e67d6018fe, reversing changes made to b43930d4c9479973fb7225818e2e51bec022c4e6.
| * | | | Merge branch 'develop' into daniel/3pidinvitesDaniel Wagner-Hall2015-10-054-78/+182
| |\ \ \ \
| * | | | | Implement third party identifier invitesDaniel Wagner-Hall2015-10-013-4/+27
| | | | | |
* | | | | | Amalgamate _filter_events_for_clientErik Johnston2015-10-163-97/+51
| |_|_|_|/ |/| | | |
* | | | | Merge pull request #305 from matrix-org/markjh/v2_sync_apiMark Haines2015-10-141-92/+105
|\ \ \ \ \ | | | | | | | | | | | | Update the v2 sync API to work as specified in the current spec.
| * | | | | Fix v2 sync pollingMark Haines2015-10-141-3/+3
| | | | | |
| * | | | | Add a get_invites_for_user method to the storage to find out the rooms a ↵Mark Haines2015-10-131-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | user is invited to
| * | | | | Include invites in incremental syncMark Haines2015-10-131-6/+25
| | | | | |
| * | | | | Include invited rooms in the initial syncMark Haines2015-10-131-10/+6
| | | | | |
| * | | | | Merge branch 'develop' into markjh/v2_sync_apiMark Haines2015-10-132-5/+40
| |\ \ \ \ \ | | | |_|_|/ | | |/| | |
| * | | | | Start spliting out the rooms into joined and invited in v2 syncMark Haines2015-10-131-18/+40
| | | | | |
| * | | | | Update the filters to match the latest spec.Mark Haines2015-10-121-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Apply the filter the 'timeline' and 'ephemeral' keys of rooms. Apply the filter to the 'presence' key of a sync response.
| * | | | | Merge branch 'markjh/presence_races' into markjh/v2_sync_apiMark Haines2015-10-091-3/+8
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'markjh/eventstream_presence' into markjh/v2_sync_apiMark Haines2015-10-095-118/+236
| |\ \ \ \ \ \
| * | | | | | | Update the v2 room sync format to match the current v2 specMark Haines2015-10-081-14/+11
| | | | | | | |
| * | | | | | | Move the rooms out into a room_map mapping from room_id to room.Mark Haines2015-10-051-18/+9
| | | | | | | |
| * | | | | | | Start updating the sync API to match the specificationMark Haines2015-10-011-36/+28
| | |_|_|/ / / | |/| | | | |
* | | | | | | Remove unused room_id argErik Johnston2015-10-143-7/+7
| |_|_|/ / / |/| | | | |
* | | | | | Merge pull request #296 from matrix-org/markjh/eventstream_presenceMark Haines2015-10-121-35/+52
|\ \ \ \ \ \ | | |/ / / / | |/| | | | Split the sections of EventStreamHandler.get_stream that handle presence
| * | | | | Split the sections of EventStreamHandler.get_stream that handle presenceMark Haines2015-10-091-35/+52
| | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | into separate functions. This makes the code a bit easier to read, and means that we can reuse the logic when implementing the v2 sync API.
* | | | | Merge pull request #297 from matrix-org/markjh/presence_racesMark Haines2015-10-121-3/+8
|\ \ \ \ \ | | |_|/ / | |/| | | Fix some races in the synapse presence handler caused by not yielding…
| * | | | Fix some races in the synapse presence handler caused by not yielding on ↵Mark Haines2015-10-091-3/+8
| |/ / / | | | | | | | | | | | | deferreds
* | | | Formatting changesSteven Hammerton2015-10-101-1/+2
| | | |
* | | | Provide ability to login using CASSteven Hammerton2015-10-101-0/+31
| | | |
* | | | Add a flag to initial sync to indicate we want rooms that the user has leftMark Haines2015-10-081-5/+8
|/ / /
* | / Explicitly add Create event as auth eventErik Johnston2015-10-021-2/+3
| |/ |/|
* | Add 'trusted_private_chat' to room creation presetsErik Johnston2015-10-021-0/+5
| |
* | Merge pull request #275 from matrix-org/erikj/invite_stateErik Johnston2015-10-022-4/+30
|\ \ | | | | | | Bundle in some room state in invites.
| * | Also bundle in senderErik Johnston2015-10-021-0/+1
| | |
| * | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/invite_stateErik Johnston2015-09-253-88/+160
| |\ \
| * | | Bundle in some room state in the unsigned bit of the invite when sending to ↵Erik Johnston2015-09-102-4/+29
| | | | | | | | | | | | | | | | invited servers
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/unfederatableErik Johnston2015-10-024-240/+302
|\ \ \ \
| * \ \ \ Merge pull request #283 from matrix-org/erikj/atomic_join_federationErik Johnston2015-10-021-76/+131
| |\ \ \ \ | | | | | | | | | | | | Atomically persist events when joining a room over federation/
| | * | | | CommentErik Johnston2015-09-301-0/+8
| | | | | |
| | * | | | Rename varErik Johnston2015-09-301-3/+3
| | | | | |
| | * | | | Fix getting an event for a room the server forgot it was inErik Johnston2015-09-171-47/+59
| | | | | |