summary refs log tree commit diff
path: root/synapse/handlers (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move the *EventSource classes into the handlers they relate to, so it's ↵Paul "LeoNerd" Evans2014-08-292-0/+126
| | | | easier to find the code
* Get the equalities right.Erik Johnston2014-08-291-2/+5
|
* Merge branch 'presence_logging' into developErik Johnston2014-08-292-90/+132
|\
| * Fix a couple of bugs in presence handler related to pushing updatesto the ↵Erik Johnston2014-08-291-18/+41
| | | | | | | | correct user. Fix presence tests.
| * Turn of trace_function loggingErik Johnston2014-08-281-8/+8
| |
| * Only poll remote users if they are in our presence list, rather than in a ↵Erik Johnston2014-08-281-53/+66
| | | | | | | | common room
| * Don't query the rooms members table so much by using the new notifier api ↵Erik Johnston2014-08-282-62/+46
| | | | | | | | that allows you to specify room_ids to notify.
| * Merge branch 'develop' of github.com:matrix-org/synapse into presence_loggingErik Johnston2014-08-284-40/+34
| |\ | | | | | | | | | | | | Conflicts: synapse/handlers/presence.py
| * | Up timeout to 10 minutesErik Johnston2014-08-281-1/+1
| | |
| * | And more logging.Erik Johnston2014-08-281-0/+1
| | |
| * | Add more logging. Up the event stream timer to 10sErik Johnston2014-08-282-1/+4
| | |
| * | Add logging to try and figure out what is going on with the presence stuffErik Johnston2014-08-282-2/+12
| | |
* | | Fix FederationHandler to event.originMark Haines2014-08-281-1/+1
| |/ |/|
* | Only send presence "poll"/"unpoll" EDUs when changing from/to zero remotesPaul "LeoNerd" Evans2014-08-281-2/+14
| |
* | Re-enable presence, un-skip presence testsPaul "LeoNerd" Evans2014-08-281-8/+0
| |
* | Remove get_state_for_room function from federation handlerMark Haines2014-08-281-15/+11
| |
* | Fix pyflakes warningsMark Haines2014-08-283-5/+4
| |
* | Merge backfill_ and backfill in federation handlerMark Haines2014-08-281-18/+5
|/
* Fix bug where we used UserID objects instead of strignsErik Johnston2014-08-281-1/+2
|
* Split out MessageHandlerErik Johnston2014-08-273-276/+305
|
* Merge branch 'develop' into storage_transactionsMark Haines2014-08-271-1/+1
|\ | | | | | | | | | | Conflicts: tests/handlers/test_federation.py tests/handlers/test_room.py
* | Merge branch 'develop' into storage_transactionsMark Haines2014-08-275-145/+76
|\| | | | | | | | | | | Conflicts: synapse/handlers/room.py synapse/storage/stream.py
| * Remove stale FIXMEsErik Johnston2014-08-271-2/+0
| |
| * Remove store_id from notifier.on_new_room_event calls.Erik Johnston2014-08-272-13/+8
| |
| * Turn off presence again.Erik Johnston2014-08-271-2/+2
| |
| * Index sources in a nicer fashion.Erik Johnston2014-08-271-2/+2
| |
| * Convert get_paginat_rows to use PaginationConfig. This allows people to ↵Erik Johnston2014-08-271-8/+7
| | | | | | | | supply directions.
| * PEP8 tweaks.Erik Johnston2014-08-272-4/+9
| |
| * Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-273-23/+227
| |\ | | | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/events.py synapse/rest/events.py synapse/rest/room.py
| * | Implement presence event source. Change the way the notifier indexes listenersErik Johnston2014-08-273-12/+17
| | |
| * | Enable presence again. Fix up api to match old api.Erik Johnston2014-08-263-7/+14
| | |
| * | WIP: Completely change how event streaming and pagination work. This ↵Erik Johnston2014-08-263-158/+44
| | | | | | | | | | | | reflects the change in the underlying storage model.
* | | Merge branch 'develop' into storage_transactionsMark Haines2014-08-272-0/+148
|\ \ \ | | |/ | |/|
| * | Initial typing notification support - EDU federation, but no timers, and no ↵Paul "LeoNerd" Evans2014-08-272-0/+148
| | | | | | | | | | | | actual push to clients
* | | add _get_room_member, fix datastore methodsMark Haines2014-08-272-3/+4
| | |
* | | Start updating state handling to use snapshotsMark Haines2014-08-271-3/+10
| | |
* | | Fill out prev_events before calling persist_eventMark Haines2014-08-272-59/+13
| | |
* | | Merge branch 'develop' into storage_transactionsMark Haines2014-08-273-2/+33
|\| |
| * | Added support for GET /events/$eventid with auth checks.Kegan Dougal2014-08-272-1/+28
| |/
| * Respect 'limit' param in initialSync apiErik Johnston2014-08-261-1/+5
| |
* | Fold federation/handler into handlers/federationMark Haines2014-08-263-10/+138
| |
* | Move new event boilerplate in room handlers into a method on a base clase.Mark Haines2014-08-262-52/+33
| |
* | Merge branch 'develop' into storage_transactionsMark Haines2014-08-261-1/+1
|\|
| * Use state_key rather than target_user_idMark Haines2014-08-261-1/+1
| |
* | Use state_key rather than target_user_idMark Haines2014-08-261-1/+1
| |
* | Merge branch 'develop' into storage_transactionsMark Haines2014-08-264-23/+79
|\| | | | | | | | | | | | | Conflicts: synapse/api/auth.py synapse/handlers/room.py synapse/storage/__init__.py
| * Fix pyflakes errorsMark Haines2014-08-263-7/+3
| |
| * Add a do_users_share_a_room method and use that in the presence handler.Erik Johnston2014-08-261-5/+4
| |
| * Merge branch 'develop' of github.com:matrix-org/synapse into ↵Kegan Dougal2014-08-264-6/+65
| |\ | | | | | | | | | client_server_url_rename
| | * Oops, we need to use defer.returnValue.Erik Johnston2014-08-221-1/+2
| | |
| | * Make is_presence_visible always return true as it was thrashing the database.Erik Johnston2014-08-221-0/+3
| | |
| | * Turn off more spammy logging.Erik Johnston2014-08-221-1/+1
| | |
| | * Add indices to schemaErik Johnston2014-08-221-0/+4
| | |
| | * Change IM sync api to also return the current presence list.Erik Johnston2014-08-211-3/+21
| | |
| | * In the initial sync api, return the inviter for rooms in the 'invited' stateErik Johnston2014-08-211-0/+4
| | |
| | * Return the current state in the initial sync api.Erik Johnston2014-08-211-0/+3
| | |
| | * Wait for getting a Join in response to an invite/join dance.Erik Johnston2014-08-212-2/+28
| | |
| * | Removed member list servlet: now using generic state paths.Kegan Dougal2014-08-262-8/+10
| |/
* | fix a few pyflakes errorsMark Haines2014-08-261-4/+3
| |
* | Take a snapshot of the state of the room before performing updatesMark Haines2014-08-221-42/+55
|/
* Use the "collect_presencelike_data" distributor signal instead of ↵Paul "LeoNerd" Evans2014-08-201-30/+2
| | | | re-implementing its behaviour
* Fix exception name in _fill_out_join_content() exceptionPaul "LeoNerd" Evans2014-08-201-1/+3
|
* Kill the "_homeserver_" injected messages for room membership changesPaul "LeoNerd" Evans2014-08-201-56/+4
|
* Better handle the edge cases of trying to remote join roomsErik Johnston2014-08-202-37/+88
|
* Don't generate room membership messages. Include previous state of in ↵Erik Johnston2014-08-201-7/+10
| | | | membership messages.
* Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-191-3/+0
|\
| * Don't delete OFFLINE users from the presence cache, so we can report on ↵Paul "LeoNerd" Evans2014-08-191-3/+0
| | | | | | | | their offline mtime
* | PresenceStreamData was expecting *_key to be intsErik Johnston2014-08-191-0/+3
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-191-3/+7
|\| | | | | | | | | | | | | Conflicts: tests/rest/test_presence.py tests/rest/test_rooms.py tests/utils.py
| * Perform the 'REST'-level tests of Presence against the real Presence handler ↵Paul "LeoNerd" Evans2014-08-191-1/+1
| | | | | | | | as well, mocking out the datastore beneath it
| * Implement and test presence dropping of remote usersPaul "LeoNerd" Evans2014-08-191-2/+6
| |
* | Print out stacktrace when we failed to persist event.Erik Johnston2014-08-191-1/+1
| |
* | Add a 'backfill room' buttonErik Johnston2014-08-191-3/+18
| |
* | Change the way pagination works to support out of order events.Erik Johnston2014-08-192-2/+3
| |
* | Fix typos in SQL and where we still had rowid's (which no longer exist)Erik Johnston2014-08-181-1/+1
| |
* | Make snapshot_all_rooms return results in the correct form, including start ↵Erik Johnston2014-08-181-2/+7
| | | | | | | | and end tokens.
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-181-7/+5
|\|
| * Allow room presence visibility between users who share a roomPaul "LeoNerd" Evans2014-08-181-7/+5
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-181-2/+7
|\|
| * improve commentMatthew Hodgson2014-08-161-1/+1
| |
| * emergency bodges to turn off presence ACLs in order to makeMatthew Hodgson2014-08-161-2/+7
| | | | | | | | matrix.org:8080 actually work
* | Disable the ability to GET individualy messages. We need to think about the ↵Erik Johnston2014-08-181-5/+7
| | | | | | | | correct API to do this, as the current one doesn't make much sense.
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-151-3/+12
|\|
| * When starting to poll for presence, also include members of all shared roomsPaul "LeoNerd" Evans2014-08-151-3/+12
| |
* | Fix typo of key nameErik Johnston2014-08-151-1/+1
| |
* | PEP8 cleanupsErik Johnston2014-08-151-7/+10
| |
* | Fix pagination to work with new db schemaErik Johnston2014-08-151-24/+24
| |
* | Correctly return new token when returning events. Serialize events correctly.Erik Johnston2014-08-151-1/+4
| |
* | Start chagning the events stream to work with the new DB schemaErik Johnston2014-08-152-42/+45
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactorErik Johnston2014-08-154-16/+20
|\| | | | | | | | | Conflicts: synapse/storage/stream.py
| * Pass back the user_id in the response to /login in case it has changed. ↵Kegan Dougal2014-08-141-5/+1
| | | | | | | | Store and use that on the webclient rather than the input field.
| * hs: Make /login accept full user IDs or just local parts. webclient: Only ↵Kegan Dougal2014-08-141-1/+5
| | | | | | | | enable Register button when both password fields match.
| * Reflect user's messages up to themselves before pushing it to federatoin; ↵Paul "LeoNerd" Evans2014-08-141-2/+2
| | | | | | | | also release roomlock before touching federation so we don't halt progress on the world
| * Send forbidden codes when doing login attempts.Kegan Dougal2014-08-141-3/+3
| |
| * Round Presence mtime and mtime_age to nearest msec; avoids floats for msec ↵Paul "LeoNerd" Evans2014-08-141-5/+15
| | | | | | | | values over the wire
| * Added a urls module for keeping client and federation prefixes.Kegan Dougal2014-08-141-6/+0
| |
* | Reimplement the get public rooms api to work with new DB schemaErik Johnston2014-08-151-1/+1
| |
* | Fix up typos and correct sql queriesErik Johnston2014-08-141-8/+2
| |
* | Start fixing places that use the data store.Erik Johnston2014-08-141-13/+4
|/
* An initial hack at storing presence state-change mtimes in database and ↵Paul "LeoNerd" Evans2014-08-131-7/+34
| | | | presenting age durations to clients/federation events
* Implement directory service federation by Federation Queries; avoid ↵Paul "LeoNerd" Evans2014-08-131-20/+28
| | | | local_only hack; add unit tests
* Now that HS->HS Profile lookups use Federation Queries, we don't need the ↵Paul "LeoNerd" Evans2014-08-131-8/+4
| | | | 'local_only' antirecursion hack
* Use new Federation Query API to implement HS->HS fetching of remote users' ↵Paul "LeoNerd" Evans2014-08-131-25/+41
| | | | profile information instead of (ab)using the client-side REST API
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-1310-0/+10
|
* Reference Matrix Home Servermatrix.org2014-08-1210-0/+2233