Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added a TODO note about YAML modeline for editors | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -0/+3 |
| | |||||
* | Error code must be an integer | Erik Johnston | 2014-09-03 | 1 | -1/+1 |
| | |||||
* | Import SynapseError | Erik Johnston | 2014-09-03 | 1 | -0/+1 |
| | |||||
* | Handle timeouts slightly nicer. | Erik Johnston | 2014-09-03 | 1 | -1/+5 |
| | |||||
* | Don't do auth for change_membership in federation handler, it doesn't work ↵ | Erik Johnston | 2014-09-03 | 1 | -2/+3 |
| | | | | and federation doesn't do auth in general either. Add a hacky timeout when trying to join a remote room. | ||||
* | When creating a room and a user supplies a room_alias but no name, use the ↵ | Erik Johnston | 2014-09-03 | 1 | -0/+11 |
| | | | | room_alias as the name. | ||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into develop | David Baker | 2014-09-03 | 98 | -350/+757 |
|\ | | | | | | | | | Conflicts: synapse/http/client.py | ||||
| * | Add support to _simple_insert() to do INSERT OR REPLACE | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -4/+6 |
| | | |||||
| * | Implement a kick api | Erik Johnston | 2014-09-03 | 1 | -2/+5 |
| | | |||||
| * | Default PID file should be 'homeserver.pid' to match the other ↵ | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -1/+1 |
| | | | | | | | | 'homeserver.*' naming convention | ||||
| * | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 97 | -97/+97 |
| | | | | | | | | hasn't been incorporated in time for launch. | ||||
| * | Limit the size of uploads | Mark Haines | 2014-09-03 | 3 | -1/+55 |
| | | |||||
| * | Bubble up SynapseErrors so expected failures aren't masked. | Kegan Dougal | 2014-09-03 | 1 | -0/+2 |
| | | |||||
| * | Add exception handling to directory servlet, so we don't 500. Mark directory ↵ | Kegan Dougal | 2014-09-03 | 1 | -2/+16 |
| | | | | | | | | API as volatile in the api docs. | ||||
| * | Fix up directory server to not require uploading room hosts. Update the room ↵ | Erik Johnston | 2014-09-03 | 2 | -2/+11 |
| | | | | | | | | hosts table with the current room hosts (if we have them) on GET. | ||||
| * | Handle new state events which don't have a common ancestor | Erik Johnston | 2014-09-03 | 1 | -0/+12 |
| | | |||||
| * | Snapshot prev_state for generic events | Erik Johnston | 2014-09-03 | 1 | -1/+6 |
| | | |||||
| * | Kill the state | Paul "LeoNerd" Evans | 2014-09-03 | 2 | -31/+6 |
| | | | | | | | | ... key from all the Presence messages | ||||
| * | Bugfix for back-pagination of presence | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -0/+2 |
| | | |||||
| * | Make retrying requests on DNS failures configurable, and turn off retrying ↵ | Kegan Dougal | 2014-09-03 | 2 | -7/+24 |
| | | | | | | | | only in directory.get_association | ||||
| * | Store SQL DDL deltas as well; attempt to upgrade the database on startup if ↵ | Paul "LeoNerd" Evans | 2014-09-03 | 2 | -7/+183 |
| | | | | | | | | it's too old | ||||
| * | hs: Updated synapse.http.client to handle DNSLookupErrors and bail immediately. | Kegan Dougal | 2014-09-03 | 1 | -1/+6 |
| | | |||||
| * | Implement presence state visibilty limiting when polling eventsource for stream | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -9/+57 |
| | | |||||
| * | Don't eat federation transmit errors during unit tests; fix remote presence ↵ | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -1/+0 |
| | | | | | | | | EDU-sending test because of this | ||||
| * | Make sure to print exceptions properly from notifier failures | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -1/+6 |
| | | |||||
| * | Updated feedback api docs and fixed feedback content template bug | Kegan Dougal | 2014-09-03 | 1 | -2/+1 |
| | | |||||
| * | apidocs: mtime_age > last_active_ago. Presence REST: Sanity check values in ↵ | Kegan Dougal | 2014-09-03 | 1 | -0/+8 |
| | | | | | | | | invite/drop arrays. | ||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into develop | Erik Johnston | 2014-09-03 | 7 | -174/+222 |
| |\ | | | | | | | | | | | | | | | | Conflicts: synapse/http/server.py synapse/http/content_repository.py | ||||
| | * | Edited /presence REST servlet to raise SynapseErrors to return a standard ↵ | Kegan Dougal | 2014-09-03 | 1 | -7/+12 |
| | | | | | | | | | | | | error response, rather than a string. | ||||
| | * | Update API docs to use 'presence' key not 'state'. Fixed error messages when ↵ | Kegan Dougal | 2014-09-03 | 1 | -1/+1 |
| | | | | | | | | | | | | setting presence. | ||||
| | * | Fixed /presence APIs to urldecode user IDs. | Kegan Dougal | 2014-09-03 | 1 | -1/+5 |
| | | | |||||
| | * | Fixed GET /events/$id to be not broken. | Kegan Dougal | 2014-09-03 | 1 | -1/+3 |
| | | | |||||
| | * | move contentrepo class to it's own file | Mark Haines | 2014-09-03 | 3 | -163/+194 |
| | | | |||||
| | * | URL decode user IDs for /profile REST path segments. | Kegan Dougal | 2014-09-03 | 1 | -0/+6 |
| | | | |||||
| * | | Add option to change content repo location | Erik Johnston | 2014-09-03 | 3 | -4/+20 |
| |/ | |||||
| * | Rename the 'do_users_share_a_room' to something slightly less verb-sounding | Paul "LeoNerd" Evans | 2014-09-03 | 2 | -2/+2 |
| | | |||||
| * | Allow optional non-suppression of exceptions through the Distributor | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -4/+13 |
| | | |||||
| * | Neater is_presence_visible() code | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -9/+8 |
| | | |||||
* | | Add support for registering with a threepid to the HS (get credentials from ↵ | David Baker | 2014-09-03 | 3 | -9/+100 |
|/ | | | | the client and check them against an ID server). | ||||
* | Merge branch 'master' into develop | Erik Johnston | 2014-09-03 | 2 | -3/+3 |
|\ | |||||
| * | Bump version and changelog | Erik Johnston | 2014-09-02 | 1 | -1/+1 |
| | | |||||
| * | Update default endpoint port to match the default ports in the config | Erik Johnston | 2014-09-02 | 1 | -2/+2 |
| | | |||||
* | | Add ban support: /rooms/$roomid/ban with { user_id : foo } | Kegan Dougal | 2014-09-03 | 1 | -2/+2 |
| | | |||||
* | | Add copyright notices and fix pyflakes errors | Mark Haines | 2014-09-03 | 7 | -7/+59 |
| | | |||||
* | | Set status message for ratelimit error responses | Mark Haines | 2014-09-03 | 3 | -6/+12 |
| | | |||||
* | | Merge branch 'ratelimiting' into develop | Mark Haines | 2014-09-03 | 9 | -8/+141 |
|\ \ | |/ |/| | |||||
| * | Raise LimitExceedError when the ratelimiting is throttling requests | Mark Haines | 2014-09-03 | 2 | -11/+29 |
| | | |||||
| * | rate limiting for message sending | Mark Haines | 2014-09-02 | 4 | -4/+7 |
| | | |||||
| * | Add ratelimiting config | Mark Haines | 2014-09-02 | 1 | -0/+21 |
| | | |||||
| * | Add ratelimiting function to basehandler | Mark Haines | 2014-09-02 | 5 | -1/+27 |
| | | |||||
| * | Test ratelimiter | Mark Haines | 2014-09-02 | 1 | -19/+48 |
| | | |||||
| * | Ratelimiter object | Mark Haines | 2014-09-02 | 1 | -0/+36 |
| | | |||||
* | | Merge branch 'master' of github.com:matrix-org/synapse into release-v0.2.0 | Erik Johnston | 2014-09-02 | 2 | -3/+20 |
|\ \ | | | | | | | | | | | | | | | | | | | Conflicts: synapse/notifier.py webclient/room/room-controller.js webclient/room/room.html | ||||
| * | | v0.1.2 v0.1.2 | David Baker | 2014-08-29 | 1 | -1/+1 |
| | | | |||||
| * | | Version bump for bug fix. v0.1.1 | Erik Johnston | 2014-08-29 | 1 | -1/+1 |
| | | | |||||
| * | | When notifying listeners, don't do so in a serial fashion | Erik Johnston | 2014-08-29 | 1 | -2/+19 |
| | | | |||||
| * | | Bump version and change log v0.1.0 | Erik Johnston | 2014-08-29 | 1 | -1/+1 |
| | | | |||||
* | | | Order matters when adding REST servlets | Paul "LeoNerd" Evans | 2014-09-02 | 1 | -21/+21 |
| | | | |||||
* | | | Fix bug where we didn't correctly store the ops power levels event. | Erik Johnston | 2014-09-02 | 3 | -1/+9 |
| | | | |||||
* | | | Add rest endpoint for the whole user profile | David Baker | 2014-09-02 | 1 | -0/+21 |
| | | | |||||
* | | | Safer handling of incoming presence EDUs that may or maynot contain ↵ | Paul "LeoNerd" Evans | 2014-09-02 | 1 | -3/+13 |
| | | | | | | | | | | | | 'presence' or 'state' | ||||
* | | | 'continue' to go to the next item in a for loop, not 'break' | Paul "LeoNerd" Evans | 2014-09-02 | 1 | -1/+1 |
| | | | |||||
* | | | By default, only room ops can change the name and topic. | Erik Johnston | 2014-09-02 | 1 | -0/+2 |
| |/ |/| | |||||
* | | Remove option for disabling webclient because it was confusing | Mark Haines | 2014-09-02 | 1 | -4/+1 |
| | | |||||
* | | Implement auth for kicking. | Erik Johnston | 2014-09-02 | 1 | -3/+10 |
| | | |||||
* | | Add message to assertion | Erik Johnston | 2014-09-02 | 1 | -1/+1 |
| | | |||||
* | | Default HTTP and HTTPS ports to 8008 and 8448 | Erik Johnston | 2014-09-02 | 1 | -2/+4 |
| | | |||||
* | | os.makedirs is almost but not entirely unlike mkdir -p | Mark Haines | 2014-09-02 | 1 | -1/+2 |
| | | |||||
* | | Fix typo when reading TLS config | Mark Haines | 2014-09-02 | 1 | -1/+1 |
| | | |||||
* | | Make the config directory if the directory doesn't exisit when generating config | Mark Haines | 2014-09-02 | 1 | -0/+1 |
| | | |||||
* | | More helpful error messages for missing config | Mark Haines | 2014-09-02 | 3 | -6/+29 |
| | | |||||
* | | Add support for setting room name and topic when creating rooms | Erik Johnston | 2014-09-02 | 1 | -4/+29 |
| | | |||||
* | | given everything's apparently gone https:// by default for c-s, change this ↵ | Matthew Hodgson | 2014-09-01 | 1 | -1/+5 |
| | | | | | | | | hardcoding... | ||||
* | | Add unsecure listener port to homeserver | Mark Haines | 2014-09-01 | 2 | -8/+17 |
| | | |||||
* | | enable ECDHE ciphers | Mark Haines | 2014-09-01 | 1 | -0/+6 |
| | | |||||
* | | Reënable presence visibility permission checking now it's not used on ↵ | Paul "LeoNerd" Evans | 2014-09-01 | 1 | -4/+0 |
| | | | | | | | | redundant code paths | ||||
* | | No need to test is_presence_visible in _start_polling_local because we know ↵ | Paul "LeoNerd" Evans | 2014-09-01 | 1 | -4/+0 |
| | | | | | | | | it will be by when it's called | ||||
* | | specify metavars in argparse | Matthew Hodgson | 2014-09-01 | 1 | -2/+3 |
| | | |||||
* | | Use yaml for config file | Mark Haines | 2014-09-01 | 1 | -11/+6 |
| | | |||||
* | | Don't set a 'default' key in the creation event | Erik Johnston | 2014-09-01 | 1 | -1/+0 |
| | | |||||
* | | Use pregenerated DH params when generating config | Mark Haines | 2014-09-01 | 1 | -7/+29 |
| | | |||||
* | | That was a breaking db change. You need to recreate the databases. (In ↵ | Erik Johnston | 2014-09-01 | 1 | -1/+1 |
| | | | | | | | | reality, it's enough to just run the im.sql through your db and change the schema version) | ||||
* | | Don't put required power levels on permission state events | Erik Johnston | 2014-09-01 | 1 | -2/+4 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into room_config | Erik Johnston | 2014-09-01 | 15 | -246/+634 |
|\ \ | |||||
| * | | Fix SSL for federation http client | Mark Haines | 2014-09-01 | 2 | -2/+2 |
| | | | |||||
| * | | Enable SSL for s2s http client | Mark Haines | 2014-09-01 | 2 | -3/+7 |
| | | | |||||
| * | | Add server TLS context factory | Mark Haines | 2014-09-01 | 1 | -0/+23 |
| | | | |||||
| * | | Merge branch 'develop' into server2server_tls | Mark Haines | 2014-09-01 | 2 | -0/+14 |
| |\ \ | |||||
| * | | | Listen using SSL | Mark Haines | 2014-09-01 | 2 | -2/+8 |
| | | | | |||||
| * | | | Merge branch 'develop' into server2server_tls | Mark Haines | 2014-09-01 | 2 | -34/+84 |
| |\ \ \ | |||||
| * | | | | Fix homeserver config parsing | Mark Haines | 2014-09-01 | 7 | -34/+45 |
| | | | | | |||||
| * | | | | Merge branch 'develop' into server2server_tls | Mark Haines | 2014-09-01 | 9 | -178/+196 |
| |\ \ \ \ | |||||
| * \ \ \ \ | Merge branch 'develop' into server2server_tls | Mark Haines | 2014-08-31 | 18 | -333/+652 |
| |\ \ \ \ \ | |||||
| | * | | | | | Add config tree to synapse. Add support for reading config from a file | Mark Haines | 2014-08-31 | 9 | -231/+441 |
| | | |_|_|/ | | |/| | | | |||||
| * | | | | | Add store for server certificates and keys | Mark Haines | 2014-08-28 | 3 | -1/+135 |
| | | | | | | |||||
* | | | | | | Add all the necessary checks to make banning work. | Erik Johnston | 2014-09-01 | 6 | -6/+54 |
| | | | | | | |||||
* | | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into room_config | Erik Johnston | 2014-09-01 | 3 | -34/+98 |
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | | | |||||
| * | | | | | Bump a user's presence last_active time every time they send a message to a room | Paul "LeoNerd" Evans | 2014-09-01 | 2 | -0/+10 |
| | | | | | | |||||
| * | | | | | Perform room unit tests with 'local' users actually in the right domain ;) | Paul "LeoNerd" Evans | 2014-09-01 | 1 | -0/+4 |
| | |_|_|/ | |/| | | | |||||
| * | | | | Rename API-visible 'mtime' presence field to 'last_active'; slightly ↵ | Paul "LeoNerd" Evans | 2014-09-01 | 1 | -23/+49 |
| | | | | | | | | | | | | | | | | | | | | different semantics | ||||
| * | | | | Rename 'state' presence key to the much more obvious 'presence'; maintain a ↵ | Paul "LeoNerd" Evans | 2014-09-01 | 2 | -12/+36 |
| | |_|/ | |/| | | | | | | | | | | legacy 'state' copy for now | ||||
* | | | | Add beginnings of ban support. | Erik Johnston | 2014-09-01 | 8 | -29/+122 |
| | | | | |||||
* | | | | Implement power level lists, default power levels and ↵ | Erik Johnston | 2014-09-01 | 7 | -48/+218 |
| | | | | | | | | | | | | | | | | send_evnet_level/add_state_level events. | ||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into room_config | Erik Johnston | 2014-09-01 | 9 | -178/+196 |
|\| | | | |||||
| * | | | missed a s#/matrix#/_matrix/g | Matthew Hodgson | 2014-08-31 | 1 | -1/+1 |
| | | | | |||||
| * | | | change the world: make the default matrix API URL prefix /_matrix rather ↵ | Matthew Hodgson | 2014-08-31 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | than /matrix to make it easier for existing websites to mount a HS in their namespace without collisions. perl -pi -e 's#/matrix#/_matrix#g' ./cmdclient/console.py ./docs/client-server/howto.rst ./docs/client-server/specification.rst ./docs/client-server/swagger_matrix/directory ./docs/client-server/swagger_matrix/events ./docs/client-server/swagger_matrix/login ./docs/client-server/swagger_matrix/presence ./docs/client-server/swagger_matrix/profile ./docs/client-server/swagger_matrix/registration ./docs/client-server/swagger_matrix/rooms ./docs/server-server/specification.rst ./graph/graph.py ./jsfiddles/create_room_send_msg/demo.js ./jsfiddles/event_stream/demo.js ./jsfiddles/example_app/demo.js ./jsfiddles/register_login/demo.js ./jsfiddles/room_memberships/demo.js ./synapse/api/urls.py ./tests/federation/test_federation.py ./tests/handlers/test_presence.py ./tests/handlers/test_typing.py ./tests/rest/test_events.py ./tests/rest/test_presence.py ./tests/rest/test_profile.py ./tests/rest/test_rooms.py ./webclient/components/fileUpload/file-upload-service.js ./webclient/components/matrix/matrix-service.js | ||||
| * | | | Bugfixes on presence pushes on user joining: | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -9/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * No need to inform clients of status of remote users; as that will arrive in due course anyway. We don't -have- the state currently, so we'd only send an unknown message * Remember to bump the presence serial for the event source, so the notifiers will wake up and report it | ||||
| * | | | Renamed get_current_token_part to get_current_key | Paul "LeoNerd" Evans | 2014-08-29 | 4 | -10/+10 |
| | | | | |||||
| * | | | Have EventSource's get_new_events_for_user() API work only on keys within ↵ | Paul "LeoNerd" Evans | 2014-08-29 | 5 | -30/+33 |
| | | | | | | | | | | | | | | | | that source, not overall eventstream tokens | ||||
| * | | | TypingNotificationEventSource has to return proper tokens, not int 0 | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -2/+2 |
| | | | | |||||
| * | | | Rename 'events_key' to 'room_key' so it matches the name of the event source | Paul "LeoNerd" Evans | 2014-08-29 | 4 | -10/+10 |
| | | | | |||||
| * | | | Define a new event stream data source for typing notifications (currently null) | Paul "LeoNerd" Evans | 2014-08-29 | 3 | -8/+28 |
| | | | | |||||
| * | | | Avoid hardcoding names of individual stream token keys in its own ↵ | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -9/+3 |
| | | | | | | | | | | | | | | | | implementation; this at least reduces the number of places in source code the individual parts are stored | ||||
| * | | | Use str.join() properly | Paul "LeoNerd" Evans | 2014-08-29 | 1 | -2/+1 |
| | | | | |||||
| * | | | Move the *EventSource classes into the handlers they relate to, so it's ↵ | Paul "LeoNerd" Evans | 2014-08-29 | 3 | -127/+130 |
| | |/ | |/| | | | | | | | easier to find the code | ||||
* | | | Start adding storage for new events. | Erik Johnston | 2014-08-29 | 3 | -0/+121 |
| | | | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into room_config | Erik Johnston | 2014-08-29 | 14 | -145/+234 |
|\| | | |||||
| * | | Get the equalities right. | Erik Johnston | 2014-08-29 | 2 | -4/+10 |
| | | | |||||
| * | | Merge branch 'presence_logging' into develop | Erik Johnston | 2014-08-29 | 6 | -91/+189 |
| |\ \ | |||||
| | * | | Fix a couple of bugs in presence handler related to pushing updatesto the ↵ | Erik Johnston | 2014-08-29 | 2 | -18/+43 |
| | | | | | | | | | | | | | | | | correct user. Fix presence tests. | ||||
| | * | | Turn of trace_function logging | Erik Johnston | 2014-08-28 | 2 | -10/+10 |
| | | | | |||||
| | * | | Only poll remote users if they are in our presence list, rather than in a ↵ | Erik Johnston | 2014-08-28 | 1 | -53/+66 |
| | | | | | | | | | | | | | | | | common room | ||||
| | * | | Don't query the rooms members table so much by using the new notifier api ↵ | Erik Johnston | 2014-08-28 | 2 | -62/+46 |
| | | | | | | | | | | | | | | | | that allows you to specify room_ids to notify. | ||||
| | * | | Merge branch 'develop' of github.com:matrix-org/synapse into presence_logging | Erik Johnston | 2014-08-28 | 8 | -47/+39 |
| | |\ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/presence.py | ||||
| | * | | | Up timeout to 10 minutes | Erik Johnston | 2014-08-28 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | And more logging. | Erik Johnston | 2014-08-28 | 2 | -1/+3 |
| | | | | | |||||
| | * | | | Add more logging. Up the event stream timer to 10s | Erik Johnston | 2014-08-28 | 2 | -1/+4 |
| | | | | | |||||
| | * | | | Add logging to try and figure out what is going on with the presence stuff | Erik Johnston | 2014-08-28 | 4 | -3/+66 |
| | | | | | |||||
| * | | | | Fix FederationHandler to event.origin | Mark Haines | 2014-08-28 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Initial room event stream token must be s0, not s1, or everyone will miss ↵ | Paul "LeoNerd" Evans | 2014-08-28 | 1 | -1/+1 |
| | |/ / | |/| | | | | | | | | | | the very first room event | ||||
| * | | | Only send presence "poll"/"unpoll" EDUs when changing from/to zero remotes | Paul "LeoNerd" Evans | 2014-08-28 | 1 | -2/+14 |
| | | | | |||||
| * | | | Avoid AlreadyCalledError from EDU sending failures | Paul "LeoNerd" Evans | 2014-08-28 | 1 | -1/+2 |
| | | | | |||||
| * | | | Re-enable presence, un-skip presence tests | Paul "LeoNerd" Evans | 2014-08-28 | 1 | -8/+0 |
| | |/ | |/| | |||||
| * | | Remove get_state_for_room function from federation handler | Mark Haines | 2014-08-28 | 1 | -15/+11 |
| | | | |||||
| * | | use @wraps to set the __name__ __module__ and __doc__ correctly for logged ↵ | Mark Haines | 2014-08-28 | 1 | -0/+2 |
| | | | | | | | | | | | | functions | ||||
| * | | Support multiple login flows when deciding how to login. Updated cmdclient ↵ | Kegan Dougal | 2014-08-28 | 1 | -1/+1 |
| | | | | | | | | | | | | and spec. Webclient doesn't need updating for this. | ||||
| * | | Fix pyflakes warnings | Mark Haines | 2014-08-28 | 4 | -10/+4 |
| | | | |||||
| * | | Merge backfill_ and backfill in federation handler | Mark Haines | 2014-08-28 | 1 | -18/+5 |
| |/ | |||||
| * | Fix bug where we used UserID objects instead of strigns | Erik Johnston | 2014-08-28 | 1 | -1/+2 |
| | | |||||
* | | Create the correct events with the right configuration when creating a new room. | Erik Johnston | 2014-08-28 | 5 | -21/+104 |
|/ | |||||
* | Fix typo in NullSource.get_pagination_rows. Remove unused import. | Erik Johnston | 2014-08-28 | 1 | -2/+1 |
| | |||||
* | Define a NullSource useful for unit-testing | Paul "LeoNerd" Evans | 2014-08-27 | 1 | -0/+16 |
| | |||||
* | Split out MessageHandler | Erik Johnston | 2014-08-27 | 3 | -276/+305 |
| | |||||
* | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 2 | -2/+6 |
|\ | | | | | | | | | | | Conflicts: tests/handlers/test_federation.py tests/handlers/test_room.py | ||||
| * | If timeout=0, return immediately | Erik Johnston | 2014-08-27 | 1 | -1/+5 |
| | | |||||
* | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 18 | -644/+635 |
|\| | | | | | | | | | | | Conflicts: synapse/handlers/room.py synapse/storage/stream.py | ||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into develop | Erik Johnston | 2014-08-27 | 1 | -0/+46 |
| |\ | |||||
| * | | Comments! | Erik Johnston | 2014-08-27 | 1 | -0/+35 |
| | | | |||||
| * | | Remove stale FIXMEs | Erik Johnston | 2014-08-27 | 1 | -2/+0 |
| | | | |||||
| * | | Remove store_id from notifier.on_new_room_event calls. | Erik Johnston | 2014-08-27 | 2 | -13/+8 |
| | | | |||||
| * | | Turn off presence again. | Erik Johnston | 2014-08-27 | 1 | -2/+2 |
| | | | |||||
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactor | Erik Johnston | 2014-08-27 | 4 | -37/+14 |
| |\ \ | |||||
| * | | | Index sources in a nicer fashion. | Erik Johnston | 2014-08-27 | 3 | -16/+15 |
| | | | | |||||
| * | | | Convert get_paginat_rows to use PaginationConfig. This allows people to ↵ | Erik Johnston | 2014-08-27 | 3 | -41/+61 |
| | | | | | | | | | | | | | | | | supply directions. | ||||
| * | | | PEP8 tweaks. | Erik Johnston | 2014-08-27 | 5 | -10/+12 |
| | | | | |||||
| * | | | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactor | Erik Johnston | 2014-08-27 | 10 | -76/+369 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/events.py synapse/rest/events.py synapse/rest/room.py | ||||
| * | | | | Implement presence event source. Change the way the notifier indexes listeners | Erik Johnston | 2014-08-27 | 5 | -80/+107 |
| | | | | | |||||
| * | | | | Enable presence again. Fix up api to match old api. | Erik Johnston | 2014-08-26 | 5 | -10/+35 |
| | | | | | |||||
| * | | | | Fix exceptions so that the event stream works. Presence like events are ↵ | Erik Johnston | 2014-08-26 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | turned off currently. | ||||
| * | | | | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactor | Erik Johnston | 2014-08-26 | 5 | -123/+60 |
| |\ \ \ \ | |||||
| * | | | | | WIP: Completely change how event streaming and pagination work. This ↵ | Erik Johnston | 2014-08-26 | 15 | -655/+430 |
| | | | | | | | | | | | | | | | | | | | | | | | | reflects the change in the underlying storage model. | ||||
| * | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactor | Erik Johnston | 2014-08-26 | 5 | -9/+14 |
| |\ \ \ \ \ | |||||
| * \ \ \ \ \ | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactor | Erik Johnston | 2014-08-26 | 11 | -31/+11 |
| |\ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactor | Erik Johnston | 2014-08-26 | 3 | -0/+168 |
| |\ \ \ \ \ \ \ | |||||
| * \ \ \ \ \ \ \ | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactor | Erik Johnston | 2014-08-26 | 22 | -155/+281 |
| |\ \ \ \ \ \ \ \ | |||||
| * | | | | | | | | | Use new StreamToken in pagination config | Erik Johnston | 2014-08-21 | 1 | -5/+9 |
| | | | | | | | | | | |||||
| * | | | | | | | | | Add in StreamToken type | Erik Johnston | 2014-08-21 | 1 | -0/+74 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Return the store_id from persist_event | Mark Haines | 2014-08-27 | 1 | -1/+3 |
| | | | | | | | | | | |||||
* | | | | | | | | | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 9 | -75/+273 |
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ | |/| | | | | | | | | |||||
| * | | | | | | | | | Added RestServlet for /rooms/$roomid/initialSync | Kegan Dougal | 2014-08-27 | 1 | -0/+30 |
| | | | | | | | | | | |||||
| * | | | | | | | | | Added RestServlet for /rooms/$roomid/state | Kegan Dougal | 2014-08-27 | 1 | -0/+16 |
| | |_|_|_|_|_|_|/ | |/| | | | | | | | |||||
| * | | | | | | | | Renamed /ds to /directory | Kegan Dougal | 2014-08-27 | 1 | -1/+1 |
| | | | | | | | | | |||||
| * | | | | | | | | Renamed /public/rooms to /publicRooms | Kegan Dougal | 2014-08-27 | 3 | -36/+13 |
| | |_|_|_|_|_|/ | |/| | | | | | | |||||
| * | | | | | | | A reliable logger.info() message /after/ the TCP port has been opened and is ↵ | Paul "LeoNerd" Evans | 2014-08-27 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | listening; this is essential for avoiding races in wrapper scripts e.g. integration testing | ||||
| * | | | | | | | Initial typing notification support - EDU federation, but no timers, and no ↵ | Paul "LeoNerd" Evans | 2014-08-27 | 2 | -0/+148 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | actual push to clients | ||||
| * | | | | | | | Added parse_roomid() helper | Paul "LeoNerd" Evans | 2014-08-27 | 1 | -0/+5 |
| | | | | | | | | |||||
| * | | | | | | | Use SQLite's PRAGMA user_version to check if the database file really ↵ | Paul "LeoNerd" Evans | 2014-08-27 | 1 | -6/+28 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | matches the schema we have in mind | ||||
| * | | | | | | | Neater database setup at application startup time; only .connect() it once, ↵ | Paul "LeoNerd" Evans | 2014-08-27 | 1 | -17/+19 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not once per schema file; don't build the db_pool twice | ||||
| * | | | | | | | Final url modifications: renamed /presence_list to /presence/list to keep ↵ | Kegan Dougal | 2014-08-27 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the top-level namespace clean. Updated tests. | ||||
| * | | | | | | | Renamed /rooms to /createRoom. Removed ability to PUT raw room IDs, and ↵ | Kegan Dougal | 2014-08-27 | 1 | -17/+14 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | removed tests which tested that. Updated cmdclient and webclient. | ||||
* | | | | | | | | add _get_room_member, fix datastore methods | Mark Haines | 2014-08-27 | 5 | -12/+33 |
| | | | | | | | | |||||
* | | | | | | | | Start updating state handling to use snapshots | Mark Haines | 2014-08-27 | 2 | -18/+13 |
| | | | | | | | | |||||
* | | | | | | | | Remove call to get_federation from homeserver | Mark Haines | 2014-08-27 | 1 | -4/+0 |
| | | | | | | | | |||||
* | | | | | | | | Fill out prev_events before calling persist_event | Mark Haines | 2014-08-27 | 3 | -65/+28 |
| | | | | | | | | |||||
* | | | | | | | | Remove unused populate_previous_pdus | Mark Haines | 2014-08-27 | 3 | -27/+1 |
| | | | | | | | | |||||
* | | | | | | | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-27 | 12 | -129/+160 |
|\| | | | | | | | |||||
| * | | | | | | | Added support for GET /events/$eventid with auth checks. | Kegan Dougal | 2014-08-27 | 4 | -2/+45 |
| | | | | | | | | |||||
| * | | | | | | | Modified /join/$identifier to support $identifier being a room ID in ↵ | Kegan Dougal | 2014-08-27 | 3 | -14/+61 |
| | |_|_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | addition to a room alias. | ||||
| * | | | | | | Pepper UT TODOs | Kegan Dougal | 2014-08-26 | 2 | -0/+6 |
| | | | | | | | |||||
| * | | | | | | Feedback: Removed FeedbackRestServlet. Modified keys on FeedbackEvent. ↵ | Kegan Dougal | 2014-08-26 | 4 | -81/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Expanded the feedback constants to fully explain what type of feedback they are. | ||||
| * | | | | | | Removed MessageRestServlet, use RoomSendEventRestServlet instead. Updated ↵ | Kegan Dougal | 2014-08-26 | 1 | -49/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | cmdclient, tests and webclient. All appears to work. | ||||
| * | | | | | | Added RoomSendEventRestServlet to send generic non-state events. It even ↵ | Kegan Dougal | 2014-08-26 | 1 | -2/+50 |
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | appears to work..! | ||||
| * | | | | | Respect 'limit' param in initialSync api | Erik Johnston | 2014-08-26 | 1 | -1/+5 |
| | | | | | | |||||
* | | | | | | Fold federation/handler into handlers/federation | Mark Haines | 2014-08-26 | 6 | -172/+141 |
| | | | | | | |||||
* | | | | | | Use store.persist_event rather than ↵ | Mark Haines | 2014-08-26 | 2 | -21/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | pdu_actions.persist_outgoing/pdu_actions.persist_received | ||||
* | | | | | | Move new event boilerplate in room handlers into a method on a base clase. | Mark Haines | 2014-08-26 | 2 | -52/+33 |
| | | | | | | |||||
* | | | | | | Move pdu and event persistence into a single persist_event function | Mark Haines | 2014-08-26 | 3 | -49/+35 |
| | | | | | | |||||
* | | | | | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-26 | 3 | -7/+8 |
|\| | | | | | |||||
| * | | | | | Merge branch 'client_server_url_rename' into develop | Kegan Dougal | 2014-08-26 | 3 | -7/+8 |
| |\ \ \ \ \ | |||||
| | * | | | | | Renaming: /im/sync >> /initialSync. /rooms/$roomid/members/list >> ↵ | Kegan Dougal | 2014-08-26 | 3 | -7/+8 |
| | | |_|_|/ | | |/| | | | | | | | | | | | | | | | /rooms/$roomid/members. /rooms$roomid/messages/list >> /room/$roomid/messages. Updated cmdclient, tests and webclient. | ||||
* | | | | | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-26 | 1 | -1/+1 |
|\| | | | | | |||||
| * | | | | | Use state_key rather than target_user_id | Mark Haines | 2014-08-26 | 1 | -1/+1 |
| |/ / / / | |||||
* | | | | | Use state_key rather than target_user_id | Mark Haines | 2014-08-26 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Merge branch 'develop' into storage_transactions | Mark Haines | 2014-08-26 | 27 | -186/+460 |
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/api/auth.py synapse/handlers/room.py synapse/storage/__init__.py | ||||
| * | | | | Fix pyflakes errors | Mark Haines | 2014-08-26 | 11 | -31/+11 |
| | |_|/ | |/| | | |||||
| * | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Kegan Dougal | 2014-08-26 | 3 | -5/+35 |
| |\ \ \ | | | |/ | | |/| | | | | | client_server_url_rename | ||||
| | * | | Add the ability to turn on the twisted manhole telnet service. | Erik Johnston | 2014-08-26 | 1 | -0/+10 |
| | | | | |||||
| | * | | Add a do_users_share_a_room method and use that in the presence handler. | Erik Johnston | 2014-08-26 | 2 | -5/+25 |
| | | | | |||||
| * | | | Implemented /rooms/$roomid/[invite|join|leave] with POST / PUT (incl txn ids) | Kegan Dougal | 2014-08-26 | 2 | -8/+35 |
| | | | | |||||
| * | | | Added basic in-memory REST transaction storage. Only the latest transaction ↵ | Kegan Dougal | 2014-08-26 | 3 | -2/+103 |
| | | | | | | | | | | | | | | | | for a given path/access_token combo is stored in order to prevent storing ALL request/response pairs. | ||||
| * | | | Added servlet for /rooms/$roomid/[invite|join|leave] | Kegan Dougal | 2014-08-26 | 1 | -0/+40 |
| |/ / | |||||
| * | | Adjusted webclient to use new state paths. Updated membership msg template ↵ | Kegan Dougal | 2014-08-26 | 1 | -1/+2 |
| | | | | | | | | | | | | to actually show the person invited. Factored out common membership functions in matrix service. | ||||
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Kegan Dougal | 2014-08-26 | 1 | -1/+1 |
| |\ \ | | | | | | | | | | | | | client_server_url_rename | ||||
| | * | | Add 'state_key' to valid_keys | Erik Johnston | 2014-08-26 | 1 | -0/+1 |
| | | | | |||||
| | * | | Send down state_key to clients | Erik Johnston | 2014-08-26 | 1 | -1/+0 |
| | | | | |||||
| * | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Kegan Dougal | 2014-08-26 | 17 | -30/+153 |
| |\| | | | | | | | | | | | | | | client_server_url_rename | ||||
| | * | | Order 'get_recent_events_for_room' correctly. | Erik Johnston | 2014-08-26 | 1 | -1/+1 |
| | | | | |||||
| | * | | Ensure that we don't have duplicate hosts in the pdu destinations list | Erik Johnston | 2014-08-24 | 1 | -2/+2 |
| | | | | |||||
| | * | | For the content repo, don't just use homeserver.hostname as that might not ↵ | Erik Johnston | 2014-08-24 | 2 | -1/+10 |
| | | | | | | | | | | | | | | | | include the port due to SRV. | ||||
| | * | | Add a unique constraint on the room hosts table | Erik Johnston | 2014-08-24 | 1 | -1/+2 |
| | | | | |||||
| | * | | Encode unicode from json as utf-8. This was required to allow people to ↵ | Erik Johnston | 2014-08-24 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | register on my laptop | ||||
| | * | | Oops, we need to use defer.returnValue. | Erik Johnston | 2014-08-22 | 1 | -1/+2 |
| | | | | |||||
| | * | | Make is_presence_visible always return true as it was thrashing the database. | Erik Johnston | 2014-08-22 | 1 | -0/+3 |
| | | | | |||||
| | * | | Turn off more spammy logging. | Erik Johnston | 2014-08-22 | 1 | -1/+1 |
| | | | | |||||
| | * | | Turn off spammy logging | Erik Johnston | 2014-08-22 | 1 | -1/+1 |
| | | | | |||||
| | * | | Add indices to schema | Erik Johnston | 2014-08-22 | 2 | -0/+24 |
| | | | | |||||
| | * | | Don't return state event outlier's when paginating. | Erik Johnston | 2014-08-22 | 3 | -2/+9 |
| | | | | |||||
| | * | | Bump versions to 0.0.1 | Erik Johnston | 2014-08-22 | 1 | -0/+2 |
| | | | | |||||
| | * | | Make the content repo work with in daemon mode. Return the full url on ↵ | Erik Johnston | 2014-08-22 | 2 | -8/+23 |
| | | | | | | | | | | | | | | | | upload. Update the webclient to use new content repo api. | ||||
| | * | | host a webclient by default | Matthew Hodgson | 2014-08-21 | 1 | -2/+2 |
| | | | | |||||
| | * | | Add ts field to all events. | Erik Johnston | 2014-08-21 | 2 | -2/+7 |
| | | | | |||||
| | * | | Change IM sync api to also return the current presence list. | Erik Johnston | 2014-08-21 | 2 | -6/+23 |
| | | | | |||||
| | * | | In the initial sync api, return the inviter for rooms in the 'invited' state | Erik Johnston | 2014-08-21 | 1 | -0/+4 |
| | | | | |||||
| | * | | Return the current state in the initial sync api. | Erik Johnston | 2014-08-21 | 1 | -0/+3 |
| | | | | |||||
| | * | | Stop internal keys from getting into SynapseEvents | Erik Johnston | 2014-08-21 | 2 | -0/+6 |
| | | | | |||||
| | * | | Wait for getting a Join in response to an invite/join dance. | Erik Johnston | 2014-08-21 | 2 | -2/+28 |
| | |/ | |||||
| * | | Removed member list servlet: now using generic state paths. | Kegan Dougal | 2014-08-26 | 8 | -102/+51 |
| | | | |||||
| * | | Impl: /rooms/roomid/state/eventtype/state_key - Renamed RoomTopicRestServlet ↵ | Kegan Dougal | 2014-08-22 | 2 | -20/+43 |
| |/ | | | | | | | to RoomStateEventRestServlet. Support generic state event sending. | ||||
* | | fix a few pyflakes errors | Mark Haines | 2014-08-26 | 2 | -7/+6 |
| | | |||||
* | | Move the event storage into a single transaction | Mark Haines | 2014-08-26 | 6 | -48/+60 |
| | | |||||
* | | Take a snapshot of the state of the room before performing updates | Mark Haines | 2014-08-22 | 4 | -53/+135 |
|/ | |||||
* | Make event stream storage return all membership events about the user, ↵ | Erik Johnston | 2014-08-20 | 1 | -4/+6 |
| | | | | regardless of if they were in the room or not. | ||||
* | Use the "collect_presencelike_data" distributor signal instead of ↵ | Paul "LeoNerd" Evans | 2014-08-20 | 1 | -30/+2 |
| | | | | re-implementing its behaviour | ||||
* | Fix exception name in _fill_out_join_content() exception | Paul "LeoNerd" Evans | 2014-08-20 | 1 | -1/+3 |
| | |||||
* | Define __copy__ and __deepcopy__ as identity functions on ↵ | Paul "LeoNerd" Evans | 2014-08-20 | 1 | -0/+8 |
| | | | | DomainSpecificString, so that copy.deepcopy() will work on them | ||||
* | Kill the "_homeserver_" injected messages for room membership changes | Paul "LeoNerd" Evans | 2014-08-20 | 2 | -58/+6 |
| | |||||
* | Give the event_id of the failed event | Erik Johnston | 2014-08-20 | 1 | -1/+4 |
| | |||||
* | Better handle the edge cases of trying to remote join rooms | Erik Johnston | 2014-08-20 | 2 | -37/+88 |
| | |||||
* | Don't generate room membership messages. Include previous state of in ↵ | Erik Johnston | 2014-08-20 | 1 | -7/+10 |
| | | | | membership messages. | ||||
* | Only hit get_room_events_stream if we have a valid user_id | Erik Johnston | 2014-08-19 | 1 | -0/+3 |
| |