summary refs log tree commit diff
path: root/synapse/rest/client/v1/presence.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Replace all remaining six usage with native Python 3 equivalents (#7704)Dagfinn Ilmari Mannsåker2020-06-161-3/+1
|
* Remove "user_id" from GET /presence. (#7606)Will Hunt2020-06-111-1/+3
|
* Port rest/v1 to async/awaitErik Johnston2019-12-051-11/+7
|
* Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-301-3/+3
| | | | | Python will return a tuple whether there are parentheses around the returned values or not. I'm just sick of my editor complaining about this all over the place :)
* Replace returnValue with return (#5736)Amber Brown2019-07-231-2/+2
|
* Run Black. (#5482)Amber Brown2019-06-201-1/+1
|
* Unify v1 and v2 REST client APIs (#5226)Amber Brown2019-06-031-6/+7
|
* Remove presence lists (#4989)Neil Johnson2019-04-031-67/+0
| | | Remove presence list support as per MSC 1819
* Integrate presence from hotfixes (#3694)Amber Brown2018-08-181-1/+2
|
* run isortAmber Brown2018-07-091-6/+7
|
* Replace some more comparisons with sixAdrian Tschira2018-05-191-3/+5
| | | | | | plus a bonus b"" string I missed last time Signed-off-by: Adrian Tschira <nota@notafile.com>
* replace 'except:' with 'except Exception:'Richard van der Hoff2017-10-231-1/+1
| | | | what could possibly go wrong
* Format presence events on the edges instead of reformatting them multiple timesErik Johnston2017-03-151-0/+3
|
* Move the presence handler out of the Handlers objectMark Haines2016-05-161-6/+14
|
* Use parse_json_object_from_request to parse JSON out of request bodiesMark Haines2016-03-111-8/+5
|
* "You are not..."Erik Johnston2016-02-181-1/+1
|
* Initial cutErik Johnston2016-02-171-10/+16
|
* Introduce a Requester objectDaniel Wagner-Hall2016-01-111-8/+8
| | | | | | | | | This tracks data about the entity which made the request. This is instead of passing around a tuple, which requires call-site modifications every time a new piece of optional context is passed around. I tried to introduce a User object. I gave up.
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Host /unstable and /r0 versions of r0 APIsDaniel Wagner-Hall2015-12-011-3/+3
|
* Rename presence_handler.send_invite to presence_handler.send_presence_invite ↵Mark Haines2015-12-011-1/+1
| | | | to distinguish it from normal invites
* Allow guests to register and call /events?room_id=Daniel Wagner-Hall2015-11-041-4/+4
| | | | | | | 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.
* Remove completely unused concepts from codebaseDaniel Wagner-Hall2015-08-251-4/+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.
* Blunty replace json with simplejsonErik Johnston2015-02-111-1/+1
|
* Extract the id token of the token when authing users, include the token and ↵Mark Haines2015-01-281-4/+4
| | | | device_id in the internal meta data for the event along with the transaction id when sending events
* Return the device_id from get_auth_by_reqMark Haines2015-01-281-4/+4
|
* Extract the client v1 base RestServlet to a separate classMark Haines2015-01-231-3/+3
|
* Replace hs.parse_userid with UserID.from_stringMark Haines2015-01-231-7/+8
|
* Move rest APIs back under the rest directoryMark Haines2015-01-221-0/+145