summary refs log tree commit diff
path: root/synapse (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Be more helpful when failing to register/login, stating why (communication ↵Kegan Dougal2014-08-141-2/+2
| | | | error, user in user, wrong credentials, etc). Make the HS send M_USER_IN_USE.
* Send forbidden codes when doing login attempts.Kegan Dougal2014-08-141-3/+3
|
* Round Presence mtime and mtime_age to nearest msec; avoids floats for msec ↵Paul "LeoNerd" Evans2014-08-141-5/+15
| | | | values over the wire
* Change relative db paths to absolute paths in case we daemonize.Erik Johnston2014-08-141-2/+9
|
* chmod +x homeserver.pyPaul "LeoNerd" Evans2014-08-141-0/+0
|
* Added M_UNKNOWN_TOKEN error code and send it when there is an unrecognised ↵Kegan Dougal2014-08-142-2/+4
| | | | access_token
* Default error code BAD_PAGINATION for EventStreamErrorsKegan Dougal2014-08-141-1/+4
|
* Added web client prefixKegan Dougal2014-08-142-4/+5
|
* Added a urls module for keeping client and federation prefixes.Kegan Dougal2014-08-145-14/+23
|
* If the web client is enabled, automatically redirect root '/' to the web ↵Kegan Dougal2014-08-142-4/+30
| | | | client path.
* Fixed dynamic resource mapping to clobber dummy Resources with the actual ↵Kegan Dougal2014-08-141-5/+27
| | | | desired Resource in the event of a collision (as is the case for '/matrix/client' and '/matrix/client/api/v1')
* Honour the -w flag to enable the web client at /matrix/clientKegan Dougal2014-08-141-5/+8
|
* Removed http_server from HomeServer. Updated unit tests to use either ↵Kegan Dougal2014-08-143-14/+7
| | | | resource_for_federation or resource_for_client depending on what is being tested.
* Make federation use resource_for_federation as well.Kegan Dougal2014-08-144-49/+5
|
* Start phasing out HttpServer: we should be using Resources instead. Added ↵Kegan Dougal2014-08-145-21/+97
| | | | 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.
* fix http client GET parameters; somehow missing named param. how could this ↵Matthew Hodgson2014-08-141-2/+2
| | | | have ever worked!?
* fix whitespaceMatthew Hodgson2014-08-141-0/+1
|
* An initial hack at storing presence state-change mtimes in database and ↵Paul "LeoNerd" Evans2014-08-134-9/+39
| | | | presenting age durations to clients/federation events
* Set datastore's .hs field in SQLBaseStore rather than in the toplevel ↵Paul "LeoNerd" Evans2014-08-132-1/+1
| | | | DataStore mixed-in result class
* when we're talking about backfilling data in federation, call it backfilling ↵Matthew Hodgson2014-08-135-41/+41
| | | | - not pagination.
* Implement directory service federation by Federation Queries; avoid ↵Paul "LeoNerd" Evans2014-08-132-27/+29
| | | | local_only hack; add unit tests
* Add a HomeServer.parse_roomalias() to avoid having to ↵Paul "LeoNerd" Evans2014-08-133-14/+12
| | | | RoomAlias.from_sring(..., hs=hs) - similar to parse_userid()
* Now that HS->HS Profile lookups use Federation Queries, we don't need the ↵Paul "LeoNerd" Evans2014-08-132-10/+4
| | | | 'local_only' antirecursion hack
* Use new Federation Query API to implement HS->HS fetching of remote users' ↵Paul "LeoNerd" Evans2014-08-131-25/+41
| | | | profile information instead of (ab)using the client-side REST API
* Define the concept of a 'federation Query'; creating API for making and ↵Paul "LeoNerd" Evans2014-08-132-0/+75
| | | | handling Queries on the Federation's increasingly-inaccurately-named ReplicationLayer
* Update get_json()'s documentation to match the actual observed behaviourPaul "LeoNerd" Evans2014-08-131-4/+3
|
* Handle a potential race in the notifier when calling get_events_for which ↵Erik Johnston2014-08-131-3/+7
| | | | resulted in an uncaught KeyError
* Don't pass host_web_client flag to register_servlets, it needs to be a ↵Kegan Dougal2014-08-132-4/+2
| | | | Resource not a RestServlet.
* Merge branch 'master' of github.com:matrix-org/synapseKegan Dougal2014-08-133-22/+24
|\
| * Fix logging verbosity parsing codePaul "LeoNerd" Evans2014-08-131-3/+2
| |
| * Namespace all the Federation HTTP URLs to /matrix/federation/v1/...Paul "LeoNerd" Evans2014-08-131-15/+18
| |
| * Use strings instead of opaque magic-number constants for presence states; ↵Paul "LeoNerd" Evans2014-08-131-4/+4
| | | | | | | | rename AWAY to UNAVAILABLE
* | Merge branch 'master' of github.com:matrix-org/synapseKegan Dougal2014-08-131-3/+3
|\|
| * verbose by default pleaseMatthew Hodgson2014-08-131-3/+3
| |
* | Added a -w flag which will host the web client if specified. Currently this ↵Kegan Dougal2014-08-135-48/+65
|/ | | | just delegates to the webclient RestServlet.
* Return the room_alias when GETing public rooms.Kegan Dougal2014-08-131-2/+5
|
* add in whitespace after copyright statements to improve legibilityMatthew Hodgson2014-08-1375-1/+75
|
* actually register the login servlet (uncommitted code thinko?)Matthew Hodgson2014-08-131-3/+2
|
* Just say yes to OPTIONS requests, since we want to turn on CORS headers for ↵Erik Johnston2014-08-121-0/+5
| | | | all paths
* Reference Matrix Home Servermatrix.org2014-08-1283-0/+11941