summary refs log tree commit diff
path: root/synapse/python_dependencies.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-06-22Put most recent 20 messages in notifDavid Baker1-3/+4
Fixes https://github.com/vector-im/vector-web/issues/1648
2016-06-22Rework ldap integration with ldap3Martin Weinelt4-60/+249
Use the pure-python ldap3 library, which eliminates the need for a system dependency. Offer both a `search` and `simple_bind` mode, for more sophisticated ldap scenarios. - `search` tries to find a matching DN within the `user_base` while employing the `user_filter`, then tries the bind when a single matching DN was found. - `simple_bind` tries the bind against a specific DN by combining the localpart and `user_base` Offer support for STARTTLS on a plain connection. The configuration was changed to reflect these new possibilities. Signed-off-by: Martin Weinelt <hexa@darmstadt.ccc.de>
2016-06-21Remove the legacy v0 content upload API.Mark Haines3-132/+3
The existing content can still be downloaded. The last upload to the matrix.org server was in January 2015, so it is probably safe to remove the upload API.
2016-06-21Fix substitution failure in mail templateDavid Baker1-1/+1
2016-06-20Bump version and changelogErik Johnston2-1/+16
2016-06-17Add the create_profile method back since the tests use itMark Haines1-0/+6
2016-06-17Add a comment on why we don't create a profile for upgrading usersMark Haines1-0/+1
2016-06-17Remove registered_users from the distributor.Mark Haines5-33/+24
The only place that was observed was to set the profile. I've made it so that the profile is set within store.register in the same transaction that creates the user. This required some slight changes to the registration code for upgrading guest users, since it previously relied on the distributor swallowing errors if the profile already existed.
2016-06-17Linearize some federation endpoints based on (origin, room_id)Erik Johnston2-67/+78
2016-06-17Disable responding with canonical json for federationErik Johnston1-1/+1
2016-06-17Enable use_frozen_events in testsErik Johnston1-0/+1
2016-06-17Turn use_frozen_events off by defaultErik Johnston1-1/+1
2016-06-17Only re-sign our own eventsErik Johnston2-12/+18
2016-06-17Fix ``KeyError: 'msgtype'``. Use ``.get``Mark Haines1-14/+15
Fixes a key error where the mailer tried to get the ``msgtype`` of an event that was missing a ``msgtype``. ``` File "synapse/push/mailer.py", line 264, in get_notif_vars File "synapse/push/mailer.py", line 285, in get_message_vars File ".../frozendict/__init__.py", line 10, in __getitem__ return self.__dict[key] KeyError: 'msgtype' ```
2016-06-17Fix setting gc thresholds in the workersMark Haines2-2/+4
2016-06-16