summary refs log tree commit diff
path: root/synapse/handlers/appservice.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Measure notify_interested_servicesErik Johnston2016-08-171-19/+22
|
* Move the AS handler out of the Handlers object.Mark Haines2016-05-311-10/+5
| | | | | | Access it directly from the homeserver itself. It already wasn't inheriting from BaseHandler storing it on the Handlers object was already somewhat dubious.
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* 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.
* 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
* More missed get_user_by_id API changesDavid Baker2015-05-011-1/+1
|
* Fix more AS sender ID thinkos.Kegan Dougal2015-04-011-1/+8
| | | | | | Specifically, the ASes own user ID wasn't being treated as 'exclusive' so a human could nab it. Also, the HS would needlessly send user queries to the AS for its own user ID.
* Remove more reg/unreg methods. Read config not database for cache.Kegan Dougal2015-03-311-37/+0
|
* Set the service ID as soon as it is known.Kegan Dougal2015-03-161-1/+1
|
* Minor PR comment tweaks.Kegan Dougal2015-03-161-2/+8
|
* Use seconds; start gluing in the AS scheduler into the AS handler.Kegan Dougal2015-03-091-3/+14
|
* Notify ASes for events sent by other users in a room which an AS user is a ↵Kegan Dougal2015-02-111-5/+16
| | | | part of.
* Fix bugs so lazy room joining works as intended.Kegan Dougal2015-02-091-3/+3
|
* Register a user account for the AS when the AS registers. Add 'sender' ↵Kegan Dougal2015-02-091-1/+7
| | | | column to AS table.
* Dependency inject ApplicationServiceApi when creating ↵Kegan Dougal2015-02-051-3/+2
| | | | ApplicationServicesHandler.
* Fix user query checks. HS>AS pushing now works.Kegan Dougal2015-02-051-13/+31
|
* Glue AS work to general event notifications. Add more exception handling ↵Kegan Dougal2015-02-051-14/+25
| | | | when poking ASes.
* Add unknown room alias check. Call it from directory_handler.get_associationKegan Dougal2015-02-051-43/+54
|
* Add unknown user ID check. Use store.get_aliases_for_room(room_id) when ↵Kegan Dougal2015-02-051-5/+19
| | | | searching for services by alias.
* Add hs_token column and generate a different token f.e application service.Kegan Dougal2015-02-051-3/+6
|
* Impl push_bulk functionKegan Dougal2015-02-051-1/+1
|
* Add query_user/alias APIs.Kegan Dougal2015-02-041-10/+16
|
* Begin to add unit tests for appservice glue and regex testing.Kegan Dougal2015-02-041-2/+6
|
* Add stub ApplicationServiceApi and glue it with the handler.Kegan Dougal2015-02-041-3/+15
|
* Add appservice package and move ApplicationService into it.Kegan Dougal2015-02-031-1/+3
|
* Implement restricted namespace checks. Begin fleshing out the main hook for ↵Kegan Dougal2015-02-031-0/+19
| | | | notifying application services.
* Add namespace constants. Add restrict_to option to limit namespace checks.Kegan Dougal2015-02-031-10/+15
|
* Implement regex checks for app services.Kegan Dougal2015-02-031-2/+23
| | | | | Expose handler.get_services_for_event which manages the checks for all services.
* Implement txns for AS (un)registration.Kegan Dougal2015-02-021-1/+2
|
* Add basic application_services SQL, and hook up parts of the appservice ↵Kegan Dougal2015-01-281-3/+4
| | | | store to read from it.
* Log when ASes are registered/unregistered.Kegan Dougal2015-01-271-0/+2
|
* Use ApplicationService when registering.Kegan Dougal2015-01-271-8/+5
|
* Add stub methods, TODOs and docstrings for application services.Kegan Dougal2015-01-271-3/+22
|
* Add appservice handler and store. Glue together rest > handler > store.Kegan Dougal2015-01-271-0/+49