Commit Graph

21 Commits (d12a7c3939520f41387387653a32d0e7962e4b71)

Author SHA1 Message Date
Kegan Dougal 58548ab557 Implemented GETs for the ContentRepoResource. It all actually appears to be working. 10 years ago
Kegan Dougal 35da1bf4a3 Auth content uploads. Added a mapping function from request > filename. Added exception handling for content uploads. webclient: Only prefix the client API path on doRequest, not doBaseRequest (this would've broken the identity server auth too). Added matrixService.uploadContent. May not require mFileUpload anymore. 10 years ago
Kegan Dougal a18b1a649c Added /matrix/content path, HS resource_for_content_repo attribute and FileUploadResource. Added stub methods. 10 years ago
Erik Johnston cbd5d55222 Change relative db paths to absolute paths in case we daemonize. 10 years ago
Erik Johnston e4061383b8 Change relative db paths to absolute paths in case we daemonize. 10 years ago
Paul "LeoNerd" Evans e37de2aef3 chmod +x homeserver.py 10 years ago
Kegan Dougal d253a35539 Added web client prefix 10 years ago
Kegan Dougal c75add6ec8 Added a urls module for keeping client and federation prefixes. 10 years ago
Kegan Dougal 9fd445eb92 If the web client is enabled, automatically redirect root '/' to the web client path. 10 years ago
Kegan Dougal e543d6a91d Fixed dynamic resource mapping to clobber dummy Resources with the actual desired Resource in the event of a collision (as is the case for '/matrix/client' and '/matrix/client/api/v1') 10 years ago
Kegan Dougal de65c34fcf Honour the -w flag to enable the web client at /matrix/client 10 years ago
Kegan Dougal 9a1638ed21 Removed http_server from HomeServer. Updated unit tests to use either resource_for_federation or resource_for_client depending on what is being tested. 10 years ago
Kegan Dougal 29aa13f0d4 Make federation use resource_for_federation as well. 10 years ago
Kegan Dougal 9f863d3466 Start phasing out HttpServer: we should be using Resources instead. Added resource_for_client/federation/web_client to the HomeServer and hooked the C-S servlets to operate on resource_for_client. Dynamically construct the Resource tree. 10 years ago
Kegan Dougal 2da1e1526e Don't pass host_web_client flag to register_servlets, it needs to be a Resource not a RestServlet. 10 years ago
Paul "LeoNerd" Evans b370f9903c Fix logging verbosity parsing code 10 years ago
Kegan Dougal 7f40fa1d46 Added a -w flag which will host the web client if specified. Currently this just delegates to the webclient RestServlet. 10 years ago
Matthew Hodgson 2a0f7541c7 verbose by default please 10 years ago
Matthew Hodgson f98e6380f1 add in whitespace after copyright statements to improve legibility 10 years ago
matrix.org 4f475c7697 Reference Matrix Home Server 10 years ago