Commit Graph

88 Commits (6df6f5e0840e6a2b878f62c1656834bfbd5bcd62)

Author SHA1 Message Date
Mark Haines 7b814d3f7f Add client v2_alpha resource to synapse server resource tree 10 years ago
Mark Haines 7256def8e4 Merge rest servlets into the client json resource object 10 years ago
Mark Haines 97c68c508d Move rest APIs back under the rest directory 10 years ago
Mark Haines 42529cbced Fix pyflakes errors 10 years ago
Mark Haines 00e9c08609 Fix syntax 10 years ago
Mark Haines 3e85e52b3f Allow ':memory:' as the database path for sqlite3 10 years ago
Mark Haines 63403aa7a5 Check the existance and versions of necessary modules when starting synapse, log which modules are used 10 years ago
Erik Johnston 42507b0011 Log server version on startup 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
Matthew Hodgson 407c299828 improve error msg 10 years ago
Erik Johnston 2e44714214 Make failure to run appropraite upgrade scripts more helpful. 10 years ago
Mark Haines 5da65085d1 Get uploads working with new media repo 10 years ago
David Baker e377d33652 Separate out the matrix http client completely because just about all of its code it now separate from the simple case we need for standard HTTP(S) 10 years ago
Mark Haines db9ce032a4 Fix pep8 codestyle warnings 10 years ago
Mark Haines dfdda2c871 Use module loggers rather than the root logger. Exceptions caused by bad clients shouldn't cause ERROR level logging. Fix sql logging to use 'repr' rather than 'str' 10 years ago
David Baker dc60eee50e Refactor the HTTP clients a little. 10 years ago
David Baker 74c3879760 Start creating a module to do generic notifications (just prints them to stdout currently!) 10 years ago
Erik Johnston c6ea29d916 Revert accidental commit of bad file 10 years ago
Erik Johnston 95614e5220 Fix auth to correctly handle initial creation of rooms 10 years ago
Mark Haines 26fc878944 Stop before starting when restarting 10 years ago
Mark Haines e7c6d2c9d9 SYN-138: Rewrite synctl in python and include it in the python distribution 10 years ago
Mark Haines dca3ba2f77 Determine webclient path by the python module it is contained in 10 years ago
Erik Johnston af7ae048f8 Add option to not bind to HTTPS port. This is useful if running behind an ssl load balancer 10 years ago
Mark Haines 7a756e5d9d Remove unused 'context' variables to appease pyflakes 10 years ago
Mark Haines 7d709542ca Fix pep8 warnings 10 years ago
Mark Haines b29517bd01 Add a request-id to each log line 10 years ago
Mark Haines 4f11518934 Split PlainHttpClient into separate clients for talking to Identity servers and talking to Capatcha servers 10 years ago
Mark Haines e3117a2a23 Add a _matrix/key/v1 resource with the verification keys of the local server 10 years ago
Paul "LeoNerd" Evans 55397f6347 prepare_database() on db_conn, not plain name, so we can pass in the connection from outside 10 years ago
Paul "LeoNerd" Evans 2faffc52ee Make sure not to open our TCP ports until /after/ the DB is nicely prepared ready for use 10 years ago
Paul "LeoNerd" Evans 6c1f0055dc No need for a tiny run() function any more, just use reactor.run() directly 10 years ago
Paul "LeoNerd" Evans ce55a8cc4b Move database preparing code out of homserver.py into storage where it belongs 10 years ago
Erik Johnston 9dd4570b68 Generate m.room.aliases event when the HS creates a room alias 10 years ago
Matthew Hodgson 8a7c1d6a00 fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 10 years ago
Paul "LeoNerd" Evans 756e171ad0 Store SQL DDL deltas as well; attempt to upgrade the database on startup if it's too old 10 years ago
Erik Johnston bc21350298 Add option to change content repo location 10 years ago
Mark Haines bf10cf5f1a move contentrepo class to it's own file 10 years ago
Mark Haines c7a7cdf734 Add ratelimiting function to basehandler 10 years ago
Mark Haines 399e004884 Add unsecure listener port to homeserver 10 years ago
Erik Johnston bcfaaf7da6 That was a breaking db change. You need to recreate the databases. (In reality, it's enough to just run the im.sql through your db and change the schema version) 10 years ago
Mark Haines a53946a8a1 Enable SSL for s2s http client 10 years ago
Mark Haines ef6a8e4f32 Listen using SSL 10 years ago
Mark Haines 9ea1de432d Fix homeserver config parsing 10 years ago
Mark Haines d9ebe531ed Add config tree to synapse. Add support for reading config from a file 10 years ago
Mark Haines 46a2f6a816 Remove call to get_federation from homeserver 10 years ago
Paul "LeoNerd" Evans 05fa81fee4 A reliable logger.info() message /after/ the TCP port has been opened and is listening; this is essential for avoiding races in wrapper scripts e.g. integration testing 10 years ago
Paul "LeoNerd" Evans e677a3114e Use SQLite's PRAGMA user_version to check if the database file really matches the schema we have in mind 10 years ago
Paul "LeoNerd" Evans 648796ef1d Neater database setup at application startup time; only .connect() it once, not once per schema file; don't build the db_pool twice 10 years ago
Erik Johnston 1291ac93f3 Add the ability to turn on the twisted manhole telnet service. 10 years ago
Erik Johnston 0c3b4a1f63 For the content repo, don't just use homeserver.hostname as that might not include the port due to SRV. 10 years ago