summary refs log tree commit diff
path: root/synapse/handlers (follow)
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | |
| | * | | | Also persist stateErik Johnston2015-09-171-1/+1
| | | | | |
| | * | | | Capture errErik Johnston2015-09-171-2/+2
| | | | | |
| | * | | | Also handle stateErik Johnston2015-09-171-3/+3
| | | | | |
| | * | | | Don't bail out of joining if we encounter a rejected eventErik Johnston2015-09-171-13/+20
| | | | | |
| | * | | | Refactor do_invite_joinErik Johnston2015-09-171-28/+56
| | | | | |
| * | | | | Merge pull request #287 from matrix-org/erikj/canonical_aliasErik Johnston2015-09-301-1/+10
| |\ \ \ \ \ | | |_|_|_|/ | |/| | | | Set m.room.canonical_alias on room creation.
| | * | | | Remove double indentationErik Johnston2015-09-301-7/+6
| | | | | |
| | * | | | Set m.room.canonical_alias on room creation.Erik Johnston2015-09-231-1/+11
| | | |_|/ | | |/| |
| * | | | Merge pull request #288 from matrix-org/markjh/unused_definitionsMark Haines2015-09-282-75/+0
| |\ \ \ \ | | |/ / / | |/| | | Remove some of the unused definitions from synapse
| | * | | synapse/handlers/room.py:_should_invite_join was unusedMark Haines2015-09-231-26/+0
| | | | |
| | * | | synapse/handlers/federation.py:_handle_auth_events was unusedMark Haines2015-09-231-49/+0
| | | | |
| * | | | Merge pull request #271 from matrix-org/erikj/default_historyErik Johnston2015-09-231-1/+1
| |\ \ \ \ | | |/ / / | |/| | | Change default history visibility for private rooms
| | * | | Change default history visibility for private roomsErik Johnston2015-09-091-1/+1
| | | |/ | | |/|
| * | | Merge pull request #276 from ↵Mark Haines2015-09-212-85/+158
| |\ \ \ | | |_|/ | |/| | | | | | | | | | matrix-org/markjh/history_for_rooms_that_have_been_left SPEC-216: Allow users to view the history of rooms that they have left.
| | * | Clarify that room_initial_sync returns a python dictMark Haines2015-09-211-1/+1
| | | |
| | * | Fix doc string to point at the right classMark Haines2015-09-211-2/+3
| | | |
| | * | Add explicit "elif event.membership == Membership.LEAVE" for clarityMark Haines2015-09-211-1/+2
| | | |
| | * | Clamp the "to" token for /rooms/{roomId}/messages to when the user leftMark Haines2015-09-211-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the room. There isn't a way for the client to learn a valid "to" token for a room that they have left in the C-S API but that doesn't stop a client making one up.
| | * | Allow users to GET individual state events for rooms that they have leftMark Haines2015-09-101-7/+13
| | | |
| | * | Allow users that have left a room to get the messages that happend in the ↵Mark Haines2015-09-091-4/+27
| | | | | | | | | | | | | | | | room before they left
| | * | Remove undocumented and unimplemented 'feedback' parameter from the ↵Mark Haines2015-09-092-19/+3
| | | | | | | | | | | | | | | | Client-Server API
| | * | Allow users that have left the room to view the member list from the point ↵Mark Haines2015-09-091-36/+0
| | | | | | | | | | | | | | | | they left
| | * | Allow rooms/{roomId}/state for a room that has been leftMark Haines2015-09-091-5/+13
| | | |
| | * | Allow room initialSync for users that have left the room, returning a ↵Mark Haines2015-09-091-9/+76
| | | | | | | | | | | | | | | | snapshot of how the room was when they left it
| | * | Include rooms that a user has left in an initialSync. Include the state and ↵Mark Haines2015-09-081-6/+21
| | |/ | | | | | | | | | messages at the point they left the room
| * / Allow configuration to ignore invalid SSL certsDaniel Wagner-Hall2015-09-091-2/+1
| |/ | | | | | | | | This will be useful for sytest, and sytest only, hence the aggressive config key name.
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/unfederatableErik Johnston2015-09-141-1/+16
|\|
| * Merge pull request #262 from matrix-org/redactyoselfDaniel Wagner-Hall2015-09-021-1/+16
| |\ | | | | | | Allow users to redact their own events
| | * Merge branch 'develop' into redactyoselfDaniel Wagner-Hall2015-08-283-27/+29
| | |\ | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/_base.py
| | * | Allow users to redact their own eventsDaniel Wagner-Hall2015-08-281-2/+17
| | | |
* | | | Add flag which disables federation of the roomErik Johnston2015-09-011-2/+6
|/ / /
* | | Merge pull request #258 from matrix-org/slowtestsmakemesadDaniel Wagner-Hall2015-08-282-4/+26
|\ \ \ | |_|/ |/| | Swap out bcrypt for md5 in tests
| * | Remove unused importDaniel Wagner-Hall2015-08-261-1/+0
| | |
| * | Swap out bcrypt for md5 in testsDaniel Wagner-Hall2015-08-262-3/+26
| |/ | | | | | | This reduces our ~8 second sequential test time down to ~7 seconds
* | Merge branch 'release-v0.10.0' into developMark Haines2015-08-283-27/+29
|\ \ | |/ |/| | | | | | | | | Conflicts: synapse/handlers/auth.py synapse/python_dependencies.py synapse/rest/client/v1/login.py
| * Remove needless existence checksErik Johnston2015-08-261-7/+3
| |
| * Don't loop over all rooms ever in typing.get_new_events_for_userErik Johnston2015-08-261-2/+2
| |
| * Do auth checks *before* persisting the eventErik Johnston2015-08-241-16/+16
| |
| * Don't make pushers handle presence/typing eventsErik Johnston2015-08-241-2/+8
| |
| * Doc stringErik Johnston2015-08-211-0/+6
| |
| * When logging in fetch user by user_id case insensitively, *unless* there are ↵Erik Johnston2015-08-211-8/+23
| | | | | | | | multiple case insensitive matches, in which case require the exact user_id
| * Don't allow people to register user ids which only differ by case to an ↵Erik Johnston2015-08-211-2/+2
| | | | | | | | existing one
* | Merge erikj/user_dedup to developDaniel Wagner-Hall2015-08-262-10/+33
| |
* | Fix up one more referenceDaniel Wagner-Hall2015-08-251-1/+0
| |
* | Remove completely unused concepts from codebaseDaniel Wagner-Hall2015-08-252-6/+4
| | | | | | | | | | | | | | | | | | | | Removes device_id and ClientInfo device_id is never actually written, and the matrix.org DB has no non-null entries for it. Right now, it's just cluttering up code. This doesn't remove the columns from the database, because that's fiddly.
* | Merge branch 'release-v0.10.0' of github.com:matrix-org/synapse into developErik Johnston2015-08-211-1/+1
|\|
| * Add missing param in store.get_state_groups invocationErik Johnston2015-08-211-1/+1
| |
* | Fix bad mergeDaniel Wagner-Hall2015-08-201-8/+1
| |
* | Fix indentationDaniel Wagner-Hall2015-08-201-1/+2
| |
* | Fix flake8 warningsDaniel Wagner-Hall2015-08-201-4/+6
| |
* | Merge branch 'auth' into refreshDaniel Wagner-Hall2015-08-201-3/+3
|\ \ | | | | | | | | | | | | Conflicts: synapse/handlers/register.py
| * | Remove incorrect whitespaceDaniel Wagner-Hall2015-08-201-3/+3
| | |
| * | Merge branch 'develop' into authDaniel Wagner-Hall2015-08-206-15/+78
| |\|
* | | Merge branch 'develop' into refreshDaniel Wagner-Hall2015-08-204-3/+46
|\ \ \ | | |/ | |/| | | | | | | Conflicts: synapse/rest/client/v1/login.py
| * | Merge pull request #235 from matrix-org/erikj/room_avatarsErik Johnston2015-08-201-2/+3
| |\ \ | | | | | | | | Add m.room.avatar to default power levels.
| | * | Add m.room.avatar to default power levels. Change default required power ↵Erik Johnston2015-08-201-2/+3
| | | | | | | | | | | | | | | | levels of such events to 50
| * | | Another use of check_password that got missed in the yield fixDavid Baker2015-08-201-1/+1
| |/ /
| * | Merge pull request #233 from matrix-org/erikj/canonical_aliasErik Johnston2015-08-202-1/+18
| |\ \ | | | | | | | | Add server side support for canonical aliases
| | * | Check that the canonical room alias actually points to the roomErik Johnston2015-08-201-1/+17
| | | |
| | * | Add canonical alias to the default power levelsErik Johnston2015-08-191-0/+1
| | | |
| * | | Merge pull request #211 from matrix-org/email_in_useMark Haines2015-08-201-0/+25
| |\ \ \ | | | | | | | | | | Changes for unique emails
| | * | | Add endpoint that proxies ID server request token and errors if the given ↵David Baker2015-08-041-0/+25
| | | | | | | | | | | | | | | | | | | | email is in use on this Home Server.
* | | | | /tokenrefresh POST endpointDaniel Wagner-Hall2015-08-201-5/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows refresh tokens to be exchanged for (access_token, refresh_token). It also starts issuing them on login, though no clients currently interpret them.
* | | | | Move token generation to auth handlerDaniel Wagner-Hall2015-08-202-24/+31
| | | | | | | | | | | | | | | | | | | | | | | | | I prefer the auth handler to worry about all auth, and register to call into it as needed, than to smatter auth logic between the two.
* | | | | Merge branch 'auth' into refreshDaniel Wagner-Hall2015-08-201-6/+13
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| |
| * | | Merge branch 'develop' into authDaniel Wagner-Hall2015-08-192-4/+3
| |\ \ \ | | | |/ | | |/|
| * | | Re-add whitespace around caveat operatorsDaniel Wagner-Hall2015-08-191-4/+4
| | | |
| * | | Remove padding space around caveat operatorsDaniel Wagner-Hall2015-08-181-4/+4
| | | |
| * | | Fix some formatting to use tuplesDaniel Wagner-Hall2015-08-181-4/+4
| | | |
| * | | Merge branch 'develop' into authDaniel Wagner-Hall2015-08-184-49/+136
| |\ \ \
| * | | | Issue macaroons as opaque auth tokensDaniel Wagner-Hall2015-08-181-6/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This just replaces random bytes with macaroons. The macaroons are not inspected by the client or server. In particular, they claim to have an expiry time, but nothing verifies that they have not expired. Follow-up commits will actually enforce the expiration, and allow for token refresh. See https://bit.ly/matrix-auth for more information
* | | | | Don't get apservice interested rooms in RoomHandler.get_joined_rooms_for_usersErik Johnston2015-08-193-12/+32
| |_|/ / |/| | |
* | | | Remove an access token log lineErik Johnston2015-08-191-1/+1
| | | |
* | | | Fix regression where we incorrectly responded with a 200 to /loginErik Johnston2015-08-191-1/+2
| | | |
* | | | Merge pull request #227 from matrix-org/erikj/receipts_take2Erik Johnston2015-08-181-2/+0
|\ \ \ \ | |_|/ / |/| | | Re-enable receipts API.
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2015-08-174-122/+86
| |\ \ \ | | | | | | | | | | | | | | | erikj/receipts_take2
| * \ \ \ Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2015-08-131-7/+3
| |\ \ \ \ | | | | | | | | | | | | | | | | | | erikj/receipts_take2
| * | | | | Re-enable receiptsErik Johnston2015-08-131-2/+0
| | | | | |
* | | | | | TypoErik Johnston2015-08-181-1/+1
| | | | | |
* | | | | | None checkErik Johnston2015-08-181-0/+2
| | | | | |
* | | | | | More helpful variable namesErik Johnston2015-08-181-7/+7
| | | | | |
* | | | | | Doc stringsErik Johnston2015-08-181-0/+28
| | | | | |
* | | | | | Remove debug try/catchErik Johnston2015-08-181-47/+43
| | | | | |
* | | | | | Implement a batched presence_handler.get_state and use itErik Johnston2015-08-172-12/+69
| |_|/ / / |/| | | |
* | | | | Merge pull request #221 from matrix-org/authDaniel Wagner-Hall2015-08-144-122/+86
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | Simplify LoginHander and AuthHandler
| * | | Merge password checking implementationsDaniel Wagner-Hall2015-08-121-20/+15
| | | |
| * | | Simplify LoginHander and AuthHandlerDaniel Wagner-Hall2015-08-124-108/+77
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | * Merge LoginHandler -> AuthHandler * Add a bunch of documentation * Improve some naming * Remove unused branches I will start merging the actual logic of the two handlers shortly
* | | Remove pointless mapErik Johnston2015-08-131-7/+3
| |/ |/|
* | Fix _filter_events_for_clientErik Johnston2015-08-122-6/+2
| |
* | Simplify staggered deferred listsErik Johnston2015-08-121-2/+2
| |
* | Use list comprehension instead of filterErik Johnston2015-08-122-20/+6
| |
* | Remove debug loggersErik Johnston2015-08-112-6/+0
| |
* | Fix application of ACLsErik Johnston2015-08-113-14/+30
| |
* | Don't be too enthusiatic with defer.gatherResultsErik Johnston2015-08-071-4/+8
| |
* | Use dictionary cache to do group -> state fetchingErik Johnston2015-08-051-1/+1
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/acl_perfErik Johnston2015-08-041-1/+1
|\|
| * Add vector.im as trusted ID serverDavid Baker2015-08-031-1/+1
| |
* | Speed up event filtering (for ACL) logicErik Johnston2015-08-043-3/+15
|/
* Fix v2_alpha registration. Add unit tests.Kegan Dougal2015-07-281-1/+2
| | | | | | | | V2 Registration forced everyone (including ASes) to create a password for a user, when ASes should be able to omit passwords. Also unbreak AS registration in general which checked too early if the given username was claimed by an AS; it was checked before knowing if the AS was the one doing the registration! Add unit tests for AS reg, user reg and disabled_registration flag.
* Disable receipts for nowMatrix2015-07-221-0/+2
|
* Don't do any database hits in receipt handling if from_key == to_keyMatrix2015-07-181-0/+3
|
* Merge pull request #199 from matrix-org/erikj/receiptsErik Johnston2015-07-165-5/+224
|\ | | | | Implement read receipts.
| * DocsErik Johnston2015-07-141-3/+8
| |
| * Merge branch 'develop' of github.com:matrix-org/synapse into erikj/receiptsErik Johnston2015-07-135-1/+197
| |\
| * | CommentsErik Johnston2015-07-131-4/+12
| | |
| * | Remove spurious commentErik Johnston2015-07-091-2/+0
| | |
| * | Integer timestampsErik Johnston2015-07-091-1/+1
| | |
| * | Change format of receipts to allow inclusion of dataErik Johnston2015-07-091-8/+16
| | |
| * | Add a cache to fetching of receipt streamsErik Johnston2015-07-081-24/+7
| | |
| * | Split receipt events up into one per roomErik Johnston2015-07-081-30/+21
| | |
| * | Hook up receipts to v1 initialSyncErik Johnston2015-07-082-4/+57
| | |
| * | Wire together receipts and the notifer/federationErik Johnston2015-07-071-21/+60
| | |
| * | Fix various typosErik Johnston2015-07-072-2/+6
| | |
| * | Consolidate duplicate code in notifierErik Johnston2015-07-023-4/+4
| | |
| * | Add basic ReceiptHandlerErik Johnston2015-07-011-0/+130
| | |
* | | Merge pull request #203 from matrix-org/erikj/room_creation_presetsErik Johnston2015-07-161-19/+77
|\ \ \ | | | | | | | | Implement presets at room creation
| * | | Implement specifying custom initial state for /createRoomErik Johnston2015-07-161-40/+60
| | | |
| * | | s/everyone_ops/original_invitees_have_ops/Erik Johnston2015-07-141-3/+3
| | | |
| * | | Capitalize contantsErik Johnston2015-07-141-4/+4
| | | |
| * | | Implement presets at room creationErik Johnston2015-07-131-22/+60
| | |/ | |/|
* | | Add back in support for remembering parameters submitted to a ↵David Baker2015-07-151-2/+4
| | | | | | | | | | | | user-interactive auth call.
* | | Merge pull request #193 from matrix-org/erikj/bulk_persist_eventErik Johnston2015-07-141-106/+121
|\ \ \ | |/ / |/| | Add bulk insert events API
| * | Add bulk insert events APIErik Johnston2015-06-251-106/+121
| |/
* | Merge pull request #196 from matrix-org/erikj/room_historyErik Johnston2015-07-104-1/+168
|\ \ | | | | | | Add ability to restrict room history.
| * | Add commentErik Johnston2015-07-091-0/+4
| | |
| * | Add m.room.history_visibility to newly created rooms' m.room.power_levelsErik Johnston2015-07-061-0/+1
| | |
| * | Rename key and values for m.room.history_visibility. Support 'invited' valueErik Johnston2015-07-063-23/+60
| | |
| * | Filter and redact events that the other server doesn't have permission to ↵Erik Johnston2015-07-031-0/+44
| | | | | | | | | | | | see during backfill
| * | Respect m.room.history_visibility in v2_alpha sync APIErik Johnston2015-07-031-0/+33
| | |
| * | Make v1 initial syncs respect room history ACLErik Johnston2015-07-021-17/+34
| | |
| * | Add basic impl for room history ACL on GET /messages client APIErik Johnston2015-07-021-1/+32
| |/
* | code beautifyMuthu Subramanian2015-07-081-1/+0
| |
* | Integrate SAML2 basic authentication - uses pysaml2Muthu Subramanian2015-07-081-0/+30
|/
* Merge pull request #189 from matrix-org/erikj/room_init_syncErik Johnston2015-06-192-35/+45
|\ | | | | Improve room init sync speed.
| * Use another deferred listErik Johnston2015-06-161-18/+27
| |
| * Use DeferredListErik Johnston2015-06-161-9/+9
| |
| * Don't do unecessary db ops in presence.get_stateErik Johnston2015-06-162-14/+15
| |
* | Fix bug where synapse was sending AS user queries incorrectly.Kegan Dougal2015-06-171-1/+1
|/ | | | | | Bug introduced in 92b20713d7c6346aeb20dc09963081e472752bb5 which reversed the comparison when checking if a user existed in the users table. Added UTs to prevent this happening again.
* Merge pull request #176 from matrix-org/erikj/backfill_authErik Johnston2015-06-031-1/+46
|\ | | | | Improve backfill.
| * Add a timeoutErik Johnston2015-06-021-0/+1
| |
| * Handle the fact we might be missing auth eventsErik Johnston2015-06-021-15/+19
| |
| * Add some loggingErik Johnston2015-06-021-0/+5
| |
| * Correctly look up auth_eventsErik Johnston2015-06-021-9/+12
| |
| * Don't process events we've already processed. Remember to process state eventsErik Johnston2015-06-021-0/+22
| |
| * Correctly pass in auth_eventsErik Johnston2015-06-011-1/+11
| |
* | Merge pull request #180 from matrix-org/erikj/prev_state_contextErik Johnston2015-06-031-1/+3
|\ \ | | | | | | Don't needlessly compute prev_state
| * | Don't needlessly compute prev_stateErik Johnston2015-06-031-1/+3
| |/
* / Don't needlessly compute contextErik Johnston2015-06-031-2/+4
|/
* Merge branch 'develop' into markjh/SYT-8-recaptchaMark Haines2015-05-291-0/+1
|\ | | | | | | | | Conflicts: synapse/handlers/auth.py
| * SYN-395: Fix CAPTCHA, don't double decode jsonErik Johnston2015-05-281-2/+3
| |
* | Add config for setting the recaptcha verify api endpoint, so we can test it ↵Mark Haines2015-05-291-3/+3
|/ | | | in sytest
* Merge pull request #163 from matrix-org/markjh/presence_list_cacheMark Haines2015-05-221-9/+15
|\ | | | | Add a cache for the presence list
| * Add a cache for getting the presence list for a userMark Haines2015-05-221-9/+15
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Erik Johnston2015-05-223-69/+105
|\| | | | | | | erikj/backfill_fixes
| * Merge pull request #156 from matrix-org/erikj/join_perfMark Haines2015-05-221-22/+56
| |\ | | | | | | Make joining #matrix:matrix.org over federation quicker
| * \ Merge pull request #157 from matrix-org/markjh/presence_performanceMark Haines2015-05-221-61/+102
| |\ \ | | | | | | | | Improve presence performance in loadtest
| | * | Remove spurious TODO commentMark Haines2015-05-221-1/+0
| | | |
| | * | Removed unused 'is_visible' methodMark Haines2015-05-201-27/+0
| | | |
| | * | Clean up the presence_list checking logic a bitMark Haines2015-05-201-12/+9
| | | |
| | * | Speed up the get_pagination_rows as wellMark Haines2015-05-181-3/+17
| | | |
| | * | Cache the most recent serial for each roomMark Haines2015-05-181-6/+22
| | | |
| | * | Move updating the serial and state of the presence cache into a single functionMark Haines2015-05-181-17/+43
| | | |
| | * | Merge branch 'notifier_performance' into markjh/presence_performanceMark Haines2015-05-185-14/+28
| | |\ \
| | * | | Add more doc string, reduce C+P boilerplate for getting room listMark Haines2015-05-181-6/+22
| | | | |
| * | | | Remove unused importMark Haines2015-05-221-1/+1
| | | | |
| * | | | Make the appservice use 'users_in_room' rather than get_room_members since ↵Mark Haines2015-05-221-4/+1
| | | | | | | | | | | | | | | | | | | | it is cached
| * | | | Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2015-05-221-3/+1
| |\ \ \ \ | | |_|/ / | |/| | |
| | * | | Add caches for things requested by the pushersMark Haines2015-05-211-3/+1
| | | | |