summary refs log tree commit diff
path: root/synapse/python_dependencies.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make the dependencies more like a standard Python project and hook up the ↵Amber Brown2018-12-221-141/+87
| | | | optional dependencies to setuptools (#4298)
* Merge branch 'release-v0.34.0' into developRichard van der Hoff2018-12-111-3/+0
|\
| * Stop installing Matrix Console by defaultRichard van der Hoff2018-12-111-3/+0
| | | | | | | | This is based on the work done by @krombel in #2601.
* | Implement SAML2 authentication (#4267)Richard van der Hoff2018-12-071-1/+4
| | | | | | | | | | | | | | | | | | | | | | This implements both a SAML2 metadata endpoint (at `/_matrix/saml2/metadata.xml`), and a SAML2 response receiver (at `/_matrix/saml2/authn_response`). If the SAML2 response matches what's been configured, we complete the SSO login flow by redirecting to the client url (aka `RelayState` in SAML2 jargon) with a login token. What we don't yet have is anything to build a SAML2 request and redirect the user to the identity provider. That is left as an exercise for the reader.
* | Rip out half-implemented m.login.saml2 support (#4265)Richard van der Hoff2018-12-061-1/+0
|/ | | | | | | | | | | | | * Rip out half-implemented m.login.saml2 support This was implemented in an odd way that left most of the work to the client, in a way that I really didn't understand. It's going to be a pain to maintain, so let's start by ripping it out. * drop undocumented dependency on dateutil It turns out we were relying on dateutil being pulled in transitively by pysaml2. There's no need for that bloat.
* Delete the disused & unspecced identicon functionality (#4106)Amber Brown2018-10-291-1/+0
|
* Make psutil an explicit dependencyRichard van der Hoff2018-10-191-3/+1
| | | | | | | | As of #4027, we require psutil to be installed, so it should be in our dependency list. We can also remove some of the conditional import code introduced by #992. Fixes #4062.
* Fix roomlist since tokens on Python 3 (#4046)Will Hunt2018-10-171-1/+1
| | | Thanks @Half-Shot !!!
* Make workers work on Py3 (#4027)Amber Brown2018-10-131-3/+0
|
* Pin to prometheus_client<0.4 to avoid renaming all of our metricsRichard van der Hoff2018-10-031-1/+4
|
* Run our oldest supported configuration in CI (#3952)Amber Brown2018-09-271-13/+14
|
* We require attrs 16.0.0Richard van der Hoff2018-09-251-1/+3
| | | | Ref: https://github.com/matrix-org/synapse/issues/3945
* bump dep on pyopenssl to 16.xRichard van der Hoff2018-09-061-2/+2
|
* Port http/ to Python 3 (#3771)Amber Brown2018-09-061-0/+1
|
* Port storage/ to Python 3 (#3725)Amber Brown2018-08-311-0/+3
|
* Pin to twisted 17.1 or laterRichard van der Hoff2018-08-241-1/+1
| | | | Fixes https://github.com/matrix-org/synapse/issues/3741.
* Correct attrs package name in requirements (#3492)Amber Brown2018-07-071-1/+1
|
* Add explicit dependency on netaddrRichard van der Hoff2018-07-061-3/+1
| | | | | the dependencies file, causing failures on upgrade (and presumably for new installs).
* Add missing dependency on attrRichard van der Hoff2018-06-061-0/+1
| | | | | We've rcently added a dep on `attr`. I don't know why the CI didn't pick this up, but we should make it explicit anyway.
* Port to sortedcontainers (with tests!) (#3332)Amber Brown2018-06-061-1/+2
|
* replacing portionsAmber Brown2018-05-211-0/+1
|
* Fixes #3135 - Replace _OpenSSLECCurve with crypto.get_elliptic_curve (#3157)Will Hunt2018-04-301-4/+3
| | | | | fixes #3135 Signed-off-by: Will Hunt will@half-shot.uk
* Miscellaneous fixes to python_dependenciesRichard van der Hoff2018-04-261-1/+19
| | | | | | * add some doc about wtf this thing does * pin Twisted to < 18.4 * add explicit dep on six (fixes #3089)
* Bump canonicaljson to 1.1.3Richard van der Hoff2018-04-131-1/+1
| | | | 1.1.2 was a bit broken too :/
* Update canonicaljson dependencyRichard van der Hoff2018-04-121-1/+1
| | | | | | | 1.1.0 and 1.1.1 were broken, so we're updating this to help people make sure they don't end up on a broken version. Also, 1.1.0 is speedier...
* Remove last usage of ujsonErik Johnston2018-03-261-1/+0
|
* use bcrypt.checkpwKrombel2018-03-051-1/+1
| | | | | | | | in bcrypt 3.1.0 checkpw got introduced (already 2 years ago) This makes use of that with enhancements which might get introduced by that Signed-Off-by: Matthias Kesler <krombel@krombel.de>
* Update pynacl dependency to 1.2.1 or higherPascal Bach2018-02-191-1/+1
| | | | Signed-off-by: Pascal Bach <pascal.bach@nextrem.ch>
* Allow use of higher versions of saml2Oliver Kurz2017-11-201-1/+1
| | | | | | | | The package was pinned to <4.0 with 07cf96eb because "from saml2 import config" did not work. This seems to have been fixed in the mean time in the saml2 package and therefore should not stop to use a more recent version. Signed-off-by: Oliver Kurz <okurz@suse.de>
* Make 'affinity' package optionalErik Johnston2017-10-021-1/+3
|
* Merge pull request #2288 from kyrias/bcryptRichard van der Hoff2017-08-231-1/+1
|\ | | | | python_dependencies: Use bcrypt module instead of py-bcrypt
| * python_dependencies: Use bcrypt module instead of py-bcryptJohannes Löthberg2017-06-171-1/+1
| | | | | | | | | | | | | | | | py-bcrypt has been unmaintained for a long while, while bcrypt is actively maintained. And since ff8b87118dcfb153d972e29c2b77b195244d5ddc we're compatible with the bcrypt anyway. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
* | Allow configuration of CPU affinityRichard van der Hoff2017-08-151-0/+1
|/ | | | | Make it possible to set the CPU affinity in the config file, so that we don't need to remember to do it manually every time.
* Add jsonschema to python_dependencies.pypik2017-03-231-0/+1
| | | | Signed-off-by: pik <alexander.maznev@gmail.com>
* Support registration / login with phone numberDavid Baker2017-03-131-0/+2
| | | | Changes from https://github.com/matrix-org/synapse/pull/1971
* Revert "Support registration & login with phone number"Erik Johnston2017-03-131-2/+0
|
* WIP support for msisdn 3pid proxy methodsDavid Baker2017-02-141-0/+2
|
* Bump twisted dependencyJohannes Löthberg2016-12-181-1/+1
| | | | | | At least 16.0.0 is needed for wrapClientTLS support. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
* Use external ldap auth pacakgeErik Johnston2016-11-151-2/+2
|
* New Flake8 fixesErik Johnston2016-11-151-0/+2
|
* Accept optional token to public room listErik Johnston2016-09-151-0/+1
|
* Make psutil optionalErik Johnston2016-08-081-1/+3
|
* Add metrics for psutil derived memory usageErik Johnston2016-07-201-0/+1
|
* Rework ldap integration with ldap3Martin Weinelt2016-06-221-0/+3
| | | | | | | | | | | | | | | | | | | 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>
* Merge remote-tracking branch 'origin/develop' into dbkr/email_notifsDavid Baker2016-04-291-1/+0
|\
| * Make pyjwt dependency optionalErik Johnston2016-04-251-1/+0
| |
* | Hopefully all remaining bits for email notifsDavid Baker2016-04-271-0/+1
| | | | | | | | Add public facing base url to the server so synapse knows what URL to use when converting mxc to http urls for use in emails
* | Flesh out email templatingDavid Baker2016-04-211-1/+1
| | | | | | | | Mostly WIP porting the room name calculation logic from the web client so our room names in the email mirror the clients.
* | Generate mails from a templateDavid Baker2016-04-201-0/+3
|/
* Sanitize the optional dependencies for spider APIErik Johnston2016-04-131-1/+0
|
* Add url_preview_enabled config option to turn on/off preview_url endpoint. ↵Matthew Hodgson2016-04-081-2/+5
| | | | | | | | | defaults to off. Add url_preview_ip_range_blacklist to let admins specify internal IP ranges that must not be spidered. Add url_preview_url_blacklist to let admins specify URL patterns that must not be spidered. Implement a custom SpiderEndpoint and associated support classes to implement url_preview_ip_range_blacklist Add commentary and generally address PR feedback
* Merge branch 'develop' into matthew/preview_urlsMatthew Hodgson2016-04-041-0/+1
|\
| * Add JWT supportNiklas Riekenbrauck2016-03-291-0/+1
| |
* | make it buildMatthew Hodgson2016-03-291-0/+1
|/
* Pin pysaml2 version to 3.xErik Johnston2016-03-091-1/+1
| | | | | This is due to the fact that `from saml2 import config` fails in version 4.x
* Allow third_party_signed to be specified on /joinDaniel Wagner-Hall2016-02-231-1/+1
|
* Merge branch 'master' of git+ssh://github.com/matrix-org/synapseMatthew Hodgson2016-02-101-2/+2
|\
| * Pin pynacl to 0.3.0Daniel Wagner-Hall2016-01-281-1/+1
| | | | | | | | | | Something has gone wrong in the packaging of 1.* which causes it not to compile.
| * copyrightsMatthew Hodgson2016-01-071-1/+1
| |
* | try to bump syweb to 0.6.8Matthew Hodgson2016-02-101-1/+1
|/
* Add nacl.bindings to the list of modules checked. Re-arrange import order to ↵Mark Haines2015-09-011-3/+3
| | | | check packages after the packages they depend on
* Print an example "pip install" line for a missing requirementMark Haines2015-09-011-6/+11
|
* Use the version of "matrix-angular-sdk" hosted on pypiMark Haines2015-09-011-5/+0
|
* Merge branch 'release-v0.10.0' into developMark Haines2015-08-281-6/+6
|\ | | | | | | | | | | | | Conflicts: synapse/handlers/auth.py synapse/python_dependencies.py synapse/rest/client/v1/login.py
| * Print the correct pip install line when failing due to lack of ↵Erik Johnston2015-08-251-5/+5
| | | | | | | | matrix-angular-sdk
| * Revert previous commit. Instead, always download matrix-angular-sdk as a ↵Erik Johnston2015-08-251-3/+7
| | | | | | | | requirement, but don't complain (when we do check_requirements) if we don't have it when we start synapse.
| * Remove dependency on matrix-angular-sdkErik Johnston2015-08-251-5/+1
| |
* | Fix typo in module imports and package dependenciesMark Haines2015-08-251-1/+1
| |
* | Remove syutil dependency in favour of smaller single-purpose librariesMark Haines2015-08-241-6/+3
| |
* | Merge branch 'develop' into authDaniel Wagner-Hall2015-08-201-1/+1
|\ \
| * | Correct pynacl version to 0.3.0Daniel Wagner-Hall2015-08-201-1/+1
| |/ | | | | | | 0.0.3 was a typo
* | Switch to pymacaroons-pynaclDaniel Wagner-Hall2015-08-191-1/+1
| |
* | Merge branch 'develop' into authDaniel Wagner-Hall2015-08-181-1/+1
|\|
| * Depend on Twisted>=15.1 rather than pining to a particular versionMark Haines2015-08-121-1/+1
| |
| * Merge branch 'develop' into markjh/twisted-15Mark Haines2015-08-121-0/+2
| |\ | | | | | | | | | | | | Conflicts: synapse/http/matrixfederationclient.py
| * \ Merge branch 'develop' into markjh/twisted-15Mark Haines2015-06-011-3/+4
| |\ \ | | | | | | | | | | | | | | | | Conflicts: synapse/python_dependencies.py
| * | | Use Twisted-15.2.1, Use Agent.usingEndpointFactory rather than implement our ↵Mark Haines2015-06-011-1/+1
| | | | | | | | | | | | | | | | own Agent
* | | | Issue macaroons as opaque auth tokensDaniel Wagner-Hall2015-08-181-0/+1
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/receiptsErik Johnston2015-07-131-0/+1
|\ \ \
| * | | Integrate SAML2 basic authentication - uses pysaml2Muthu Subramanian2015-07-081-0/+1
| | |/ | |/|
* / | Add blist to dependenciesErik Johnston2015-07-081-0/+1
|/ /
* | Bump syutil versionErik Johnston2015-05-291-3/+3
| |
* | Add config option to turn off freezing events. Use new encode_json api and ↵Erik Johnston2015-05-291-0/+1
|/ | | | ujson.loads
* Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2015-05-071-3/+3
|\
| * Bump syweb versionErik Johnston2015-05-071-3/+3
| |
* | pynacl-0.3.0 was released so we can finally start using it directly from pypiMark Haines2015-05-071-6/+1
|/
* bump syutil to 0.0.6Mark Haines2015-04-291-3/+3
|
* Copyright noticesMark Haines2015-04-241-0/+14
|
* Bump syutil version to 0.0.5Mark Haines2015-04-211-3/+3
|
* Update syutil version to 0.0.4Mark Haines2015-04-141-3/+3
|
* pep8David Baker2015-03-171-2/+3
|
* Wire up the webclient optionDavid Baker2015-03-171-4/+16
| | | | | | It existed but was hardcoded to True. Give it an underscore for consistency. Also don't pull in syweb unless we're actually using the web client.
* Also bump dependency link versionErik Johnston2015-03-131-2/+2
|
* bump dep on syweb 0.6.5Matthew Hodgson2015-03-121-1/+1
|
* Bump webclient versionErik Johnston2015-03-021-3/+3
|
* Bump matrix-angular-sdk versionErik Johnston2015-02-181-3/+3
|
* Fix syntaxMark Haines2015-02-181-1/+1
|
* Move pynacl to the top of the depedency link list so that it isMark Haines2015-02-181-5/+5
| | | | installed before syutil
* Bump webclient versionErik Johnston2015-02-121-3/+3
|
* Update dependency linksErik Johnston2015-02-111-2/+2
|
* Bump syutil versionErik Johnston2015-02-111-1/+1
|
* Allow newer versions of syutilMark Haines2015-02-111-1/+1
|
* Single source version and python dependencies, prevent people accidentally ↵Mark Haines2015-02-101-3/+3
| | | | installing with easy_install, use scripts rather than entry_points to install synctl
* Code-style fixesMark Haines2015-02-101-2/+4
|
* oopsMatthew Hodgson2015-02-091-1/+1
|
* oopsMatthew Hodgson2015-02-091-1/+1
|
* only do word-boundary patches on bodies for nowMatthew Hodgson2015-02-091-1/+1
|
* Merge pull request #46 from matrix-org/identiconsMark Haines2015-02-021-0/+1
|\ | | | | Add a media/v1/identicon resource for generating identicons
| * Add pydenticon to python_dependenciesMark Haines2015-02-021-0/+1
| |
* | Generate a list of dependencies from synapse/python_dependencies.pyMark Haines2015-02-021-0/+41
|/
* We do need Twisted 14, not 15: we use internal Twisted things that have been ↵David Baker2015-01-301-1/+1
| | | | removed in 15.
* Stop complaining about Synapse Angular SDK 0.6.1Paul "LeoNerd" Evans2015-01-231-1/+1
|
* Check the existance and versions of necessary modules when starting synapse, ↵Mark Haines2015-01-081-0/+80
log which modules are used