summary refs log tree commit diff
path: root/synapse/handlers (follow)
Commit message (Expand)AuthorAgeFilesLines
* Ensure published rooms have public join rulesErik Johnston2016-03-231-0/+7
* CommentErik Johnston2016-03-231-0/+3
* Don't require alias in public room list.Erik Johnston2016-03-231-14/+13
* Merge pull request #657 from matrix-org/erikj/roomlistErik Johnston2016-03-221-0/+22
|\
| * Doc stringErik Johnston2016-03-221-0/+6
| * an invalide is something else...Matthew Hodgson2016-03-221-1/+1
| * Add published room list edit APIErik Johnston2016-03-211-0/+16
* | Remove unused backfilled parameter from persist_eventMark Haines2016-03-211-23/+15
* | remove unused current_state variable from on_receive_pduMark Haines2016-03-211-2/+0
|/
* Merge pull request #652 from matrix-org/erikj/delete_aliasErik Johnston2016-03-181-6/+47
|\
| * Check canonical alias event existsErik Johnston2016-03-171-1/+2
| * Update aliases event after deletionErik Johnston2016-03-171-6/+46
* | Merge pull request #650 from matrix-org/dbkr/register_idempotent_with_usernameDavid Baker2016-03-172-1/+25
|\ \
| * | Make registration idempotent, part 2: be idempotent if the client specifies a...David Baker2016-03-162-1/+25
| |/
* | Remove another unused function from presenceMark Haines2016-03-171-4/+0
* | Remove dead code left over from presence changesMark Haines2016-03-172-74/+0
|/
* pep8David Baker2016-03-161-1/+2
* time_msec()David Baker2016-03-161-1/+1
* string with symbols is a bit too symboly.David Baker2016-03-161-1/+1
* Replace other time.time().David Baker2016-03-161-2/+1
* Use hs get_clock instead of time.time()David Baker2016-03-161-2/+2
* pep8 & remove debug loggingDavid Baker2016-03-161-1/+1
* Make registration idempotent: if you specify the same session, make it give y...David Baker2016-03-161-12/+48
* Remove needless PreserveLoggingContextErik Johnston2016-03-151-5/+4
* Persist rejection of invites over federationErik Johnston2016-03-151-1/+17
* Add config to create guest account on 3pid inviteErik Johnston2016-03-141-25/+32
* Make select more sensible when dseleting access tokens, rename pusher deletio...David Baker2016-03-111-1/+1
* Delete old, unused methods and rename new one to just be `user_delete_access_...David Baker2016-03-111-1/+1
* Dear PyCharm, please indent sensibly for me. Thx.David Baker2016-03-111-2/+2
* Fix cache invalidation so deleting access tokens (which we did when changing ...David Baker2016-03-111-4/+9
* Store appservice ID on registerDaniel Wagner-Hall2016-03-101-1/+4
* Merge pull request #631 from matrix-org/markjh/py3v1Mark Haines2016-03-082-2/+2
|\
| * Use syntax that works on both py2.7 and py3Mark Haines2016-03-072-2/+2
* | Send the user ID matching the guest access token, since there is no Matrix AP...David Baker2016-03-071-0/+5
|/
* Merge pull request #626 from matrix-org/erikj/visibilityErik Johnston2016-03-071-0/+26
|\
| * Send history visibility on boundary changesErik Johnston2016-03-041-0/+26
* | Merge pull request #618 from matrix-org/markjh/pushrule_streamMark Haines2016-03-042-2/+24
|\ \
| * | Merge branch 'develop' into markjh/pushrule_streamMark Haines2016-03-0410-80/+162
| |\|
| * | Hook up the push rules stream to account_data in /syncMark Haines2016-03-041-0/+22
| * | Hook up the push rules to the notifierMark Haines2016-03-031-2/+2
* | | Merge pull request #625 from matrix-org/erikj/kick_ban_syncErik Johnston2016-03-041-3/+9
|\ \ \
| * | | Always include kicks and bans in full /syncErik Johnston2016-03-041-3/+9
| | |/ | |/|
* | | SpellingErik Johnston2016-03-041-1/+1
* | | Add profile information to invitesErik Johnston2016-03-041-2/+15
|/ /
* | Merge pull request #598 from Rugvip/invite-stateErik Johnston2016-03-041-6/+2
|\ \
| * | config,handlers/_base: added homeserver config for what state is included in ...Patrik Oldsberg2016-03-041-6/+2
* | | Merge pull request #596 from Rugvip/createErik Johnston2016-03-041-0/+6
|\ \ \ | |/ / |/| |
| * | handlers/_base: don't allow room create event to be changedPatrik Oldsberg2016-02-231-0/+6
* | | Merge pull request #610 from Rugvip/unique-userErik Johnston2016-03-041-0/+1
|\ \ \
| * | | handlers/register: make sure another user id is generated when a collision oc...Patrik Oldsberg2016-02-291-0/+1
* | | | Merge pull request #623 from matrix-org/rav/fix_createroom_raceRichard van der Hoff2016-03-041-1/+1
|\ \ \ \
| * | | | Make sure we add all invited members before returning from createRoomRichard van der Hoff2016-03-041-1/+1
* | | | | Merge pull request #614 from matrix-org/erikj/alias_deleteErik Johnston2016-03-041-6/+21
|\ \ \ \ \
| * | | | | Allow alias creators to delete aliasesErik Johnston2016-03-011-6/+21
| | |/ / / | |/| | |
* | | | | Merge remote-tracking branch 'origin/develop' into rav/SYN-642Richard van der Hoff2016-03-037-57/+85
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge pull request #621 from matrix-org/daniel/ratelimitingDaniel Wagner-Hall2016-03-036-56/+84
| |\ \ \ \
| | * | | | Pass whole requester to ratelimitingDaniel Wagner-Hall2016-03-036-56/+84
| * | | | | Stop using checkpw as it seems to have vanished from bcrypt. Use `bcrypt.hash...David Baker2016-03-021-1/+1
| |/ / / /
* | | | | Merge branch 'develop' into rav/SYN-642Richard van der Hoff2016-03-033-2/+37
|\| | | |
| * | | | Merge pull request #612 from matrix-org/erikj/cache_sizeErik Johnston2016-03-022-2/+4
| |\ \ \ \ | | |_|_|/ | |/| | |
| | * | | Add enviroment variable SYNAPSE_CACHE_FACTOR, default it to 0.1Erik Johnston2016-03-012-2/+4
| | |/ /
| * / / Add a /replication API for extracting the updates that happened onMark Haines2016-03-012-0/+33
| |/ /
* | | Fix typoRichard van der Hoff2016-03-031-1/+1
* | | Move arg default to the start of the functionRichard van der Hoff2016-03-021-2/+3
* | | fix pyflakes quibbleRichard van der Hoff2016-03-021-1/+2
* | | Address review commentsRichard van der Hoff2016-03-022-8/+17
* | | Fix pyflakes warningRichard van der Hoff2016-03-011-1/+1
* | | Handle rejections of invites from local users locallyRichard van der Hoff2016-03-012-8/+31
|/ /
* | Send the invier's member event in room invite state so the invitee has their ...David Baker2016-02-251-1/+7
* | Generate guest access token on 3pid invitesDaniel Wagner-Hall2016-02-242-0/+23
* | Check presence token interval is less than 100, rather than the token itselfErik Johnston2016-02-231-4/+4
* | Merge pull request #602 from matrix-org/erikj/presenceErik Johnston2016-02-231-19/+45
|\ \
| * | Handle get_all_entities_changed returning NoneErik Johnston2016-02-231-0/+3
| * | Add commentsErik Johnston2016-02-231-0/+4
| * | Change the way we figure out presence updates for small deltasErik Johnston2016-02-231-17/+36
* | | Allow third_party_signed to be specified on /joinDaniel Wagner-Hall2016-02-232-29/+131
* | | Merge pull request #600 from matrix-org/erikj/presenceErik Johnston2016-02-231-26/+30
|\| |
| * | Don't include defer.returnValue in Measure blockErik Johnston2016-02-231-9/+12
| * | Measure PresenceEventSource.get_new_eventsErik Johnston2016-02-231-34/+35
* | | handlers/sync: style fix, line too longPatrik Oldsberg2016-02-231-1/+5
* | | Pick up currently_active across federationErik Johnston2016-02-231-0/+1
* | | handlers/sync: fix SyncResult not counting account_data change when convertin...Patrik Oldsberg2016-02-231-1/+1
| |/ |/|
* | Merge pull request #587 from matrix-org/rav/guest_access_after_room_joinRichard van der Hoff2016-02-222-15/+40
|\ \ | |/ |/|
| * address review commentsRichard van der Hoff2016-02-221-7/+2
| * Interpret unknown visibilities the same as sharedRichard van der Hoff2016-02-191-11/+13
| * Merge branch 'develop' into rav/guest_access_after_room_joinRichard van der Hoff2016-02-199-1348/+1160
| |\
| * | Allow guest users access to messages in rooms they have joinedRichard van der Hoff2016-02-192-13/+41
* | | Remove superfluous call to get_state_at when we already have an event for tha...Erik Johnston2016-02-221-4/+12
* | | Correctly filter statesErik Johnston2016-02-191-2/+2
* | | Only send presence updates to remote hosts if user is oursErik Johnston2016-02-191-2/+10
* | | Add Measures to presenceErik Johnston2016-02-191-57/+62
| |/ |/|
* | Add presence metricErik Johnston2016-02-191-0/+3
* | Remove spurious extra metricsErik Johnston2016-02-191-1/+0
* | Merge pull request #586 from matrix-org/erikj/presenceErik Johnston2016-02-191-6/+26
|\ \
| * | Don't set currently_active for remote presenceErik Johnston2016-02-191-6/+12
| * | More metricsErik Johnston2016-02-191-0/+6
| * | Add presence metricsErik Johnston2016-02-191-0/+8
* | | Merge pull request #582 from matrix-org/erikj/presenceErik Johnston2016-02-195-1028/+784
|\| |
| * | Remove invalid arg.Erik Johnston2016-02-181-1/+0
| * | Add unit testErik Johnston2016-02-181-93/+187
| * | Add stuff pulled from the DB to the cacheErik Johnston2016-02-181-2/+4
| * | PEP8Erik Johnston2016-02-181-2/+2
| * | Prefix TS fields with _tsErik Johnston2016-02-181-27/+27
| * | Remove status_msg when going offline. Don't offline -> online if you send a m...Erik Johnston2016-02-181-5/+15
| * | Check presence state is a valid oneErik Johnston2016-02-181-0/+6
| * | Move if statementErik Johnston2016-02-181-8/+8
| * | CommentErik Johnston2016-02-181-0/+2
| * | Remove spurious commentErik Johnston2016-02-171-1/+0
| * | Initial cutErik Johnston2016-02-175-1050/+694
| |/
* | Merge pull request #573 from matrix-org/erikj/sync_fixErik Johnston2016-02-181-5/+12
|\ \
| * | Mitigate against incorrect old state in /sync.Erik Johnston2016-02-121-5/+12
* | | Review commentsDaniel Wagner-Hall2016-02-183-7/+7
* | | Some cleanupDaniel Wagner-Hall2016-02-171-66/+58
* | | Respond to federated invite with non-empty contextDaniel Wagner-Hall2016-02-172-42/+61
* | | Some cleanup, some TODOs, more to doDaniel Wagner-Hall2016-02-161-68/+60
* | | Some cleanupDaniel Wagner-Hall2016-02-162-23/+30
* | | Tidy? up room creation event sendingDaniel Wagner-Hall2016-02-161-63/+72
* | | Add commentDaniel Wagner-Hall2016-02-161-1/+1
* | | Merge branch 'develop' into daniel/roomcleanupincrementalDaniel Wagner-Hall2016-02-161-3/+3
|\ \ \ | | |/ | |/|
| * | Simplify room creation codeDaniel Wagner-Hall2016-02-151-40/+28
* | | Branch off member and non member sendsDaniel Wagner-Hall2016-02-154-69/+83
* | | Simplify room creation codeDaniel Wagner-Hall2016-02-151-37/+25
* | | Use update_membership for profile updatesDaniel Wagner-Hall2016-02-152-20/+12
* | | Use update_membership to kick guestsDaniel Wagner-Hall2016-02-152-16/+19
* | | Reuse update_membership from /joinDaniel Wagner-Hall2016-02-151-3/+9
* | | Inline _do_local_membership_updateDaniel Wagner-Hall2016-02-151-18/+7
* | | Inline _do_join as it now only has one callerDaniel Wagner-Hall2016-02-151-48/+47
* | | Merge implementation of /join by alias or IDDaniel Wagner-Hall2016-02-153-33/+32
* | | Merge some room joining codepathsDaniel Wagner-Hall2016-02-151-4/+10
|/ /
* | Revert "Merge two of the room join codepaths"Daniel Wagner-Hall2016-02-122-44/+11
* | Merge two of the room join codepathsDaniel Wagner-Hall2016-02-122-11/+44
* | Enforce user_id exclusivity for AS registrationsDaniel Wagner-Hall2016-02-111-5/+12
|/
* Return events in correct order for /eventsErik Johnston2016-02-111-0/+1
* Use _simple_select_many for _get_state_group_for_eventsErik Johnston2016-02-101-1/+1
* Only calculate initial sync for 10 rooms at a timeErik Johnston2016-02-101-24/+29
* Atomically persit push actions when we persist the eventErik Johnston2016-02-092-11/+11
* Pass in current state to push action handlerErik Johnston2016-02-091-18/+13
* Remove dead codeErik Johnston2016-02-091-12/+0
* Don't load all ephemeral state for a room on every syncErik Johnston2016-02-091-14/+6
* Fix unit testsErik Johnston2016-02-091-1/+4
* Measure some /sync related thingsErik Johnston2016-02-092-150/+162
* Fix up logcontextsErik Johnston2016-02-087-87/+57
* Allocate guest user IDs numericcallyDaniel Wagner-Hall2016-02-051-19/+36
* Merge pull request #555 from matrix-org/erikj/logcontextErik Johnston2016-02-031-0/+10
|\
| * Allowing tagging log contextsErik Johnston2016-02-031-0/+10
* | Merge pull request #554 from matrix-org/erikj/event_pushErik Johnston2016-02-031-4/+2
|\ \
| * | Change event_push_actions_rm_tokens schemaErik Johnston2016-02-031-4/+2
| |/
* | PEP8Erik Johnston2016-02-031-1/+1
* | Remove unused methodErik Johnston2016-02-031-8/+0
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/public_roo...Erik Johnston2016-02-037-77/+117
|\|
| * Fix flake8 warnings for new flake8Daniel Wagner-Hall2016-02-026-7/+7
| * s/get_room_changes_for_user/get_membership_changes_for_user/Erik Johnston2016-02-022-2/+2
| * Merge pull request #545 from matrix-org/erikj/syncErik Johnston2016-02-021-66/+99
| |\
| | * CommentsErik Johnston2016-02-011-5/+6
| | * Move state calculations from rest to handlerErik Johnston2016-02-011-66/+98
| * | Pass make_guest whne we autogen a user IDDavid Baker2016-02-021-1/+3
| * | WARN if we get a topo token instead of stream.Erik Johnston2016-02-021-1/+6
* | | Change the way we do public room list fetchingErik Johnston2016-02-021-23/+63
|/ /
* | Order things correctlyErik Johnston2016-02-011-1/+1
* | Switch over /events to use per room cachesErik Johnston2016-02-011-5/+20
|/
* Add missing param to the log lineMark Haines2016-01-291-1/+2
* Merge remote-tracking branch 'origin/develop' into markjh/3pidMark Haines2016-01-292-253/+187
|\
| * Don't work out unread_notifs_for_room_id unless neededErik Johnston2016-01-291-11/+12
| * Change load limit paramsErik Johnston2016-01-281-2/+2
| * Amalgamate incremental and full sync for userErik Johnston2016-01-281-40/+16
| * Allow paginating backwards from stream tokenErik Johnston2016-01-281-6/+9
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/syncErik Johnston2016-01-281-22/+21
| |\
| * | Use the same path for incremental with gap or without gapErik Johnston2016-01-271-208/+144
| * | Add cache to room streamErik Johnston2016-01-271-12/+30
* | | Add config option for setting the trusted id servers, disabling checking the ...Mark Haines2016-01-291-8/+17
| |/ |/|
* | Make it possible to paginate forwards from stream tokensRichard van der Hoff2016-01-271-22/+21
|/
* Federation: drop events which cause SynapseErrorsRichard van der Hoff2016-01-271-1/+7
* Merge pull request #524 from matrix-org/erikj/syncErik Johnston2016-01-251-41/+141
|\
| * PEP8Erik Johnston2016-01-251-1/+0
| * Remove weird stuffErik Johnston2016-01-251-6/+0
| * Move logic from rest/ to handlers/Erik Johnston2016-01-251-41/+148
* | Underscores are allowed in user idsErik Johnston2016-01-221-1/+1
|/
* Only fetch events for rooms and receiptsErik Johnston2016-01-211-3/+3
* Don't explode when given a unicode username in /register/Erik Johnston2016-01-201-3/+2
* Allow non-guests to peek on rooms using /eventsDaniel Wagner-Hall2016-01-205-58/+57
* Merge pull request #506 from matrix-org/erikj/push_fastErik Johnston2016-01-191-28/+22
|\
| * Only compute unread notifications for rooms we send down streamErik Johnston2016-01-191-28/+22
* | Don't use form of get_state_for_events with None state_keyErik Johnston2016-01-191-6/+13
|/
* Add regex cache. Only caculate push actions for users that have sent read rec...Erik Johnston2016-01-192-2/+2
* 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
| * Skip, rather than erroring, invalid guest requestsDaniel Wagner-Hall2016-01-134-19/+4
* | 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 /eventsErik Johnston2016-01-121-7/+0
* | | 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
|\ \
| * | 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 not....David Baker2016-01-063-9/+9
| * | | 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 increme...David Baker2015-12-181-11/+37
| * | | | | | still very WIP, but now sends unread_notifications_count in the room object o...David Baker2015-12-161-0/+26
| * | | | | | Having consulted The Erikle, this should go at the end of on_receive_pdu, oth...David Baker2015-12-101-11/+6
| * | | | | | Very first cut of calculating actions for events as they come in. Doesn't sto...David Baker2015-12-102-1/+22
* | | | | | | 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
* | | | | 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
| | |/ | |/|
* | | 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
|\ \
| * | fix indentation levelMatthew Hodgson2015-12-171-3/+3
| * | stop generating default identicons. reverts most of 582019f870adbc4a8a8a9ef97...Matthew Hodgson2015-12-171-19/+3
* | | 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
|/ /
* | Give the IS a bunch more 3pid invite contextDaniel Wagner-Hall2015-12-161-7/+60
* | 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
|\| |