summary refs log tree commit diff
path: root/synapse (follow)
Commit message (Collapse)AuthorAgeFilesLines
* SYN-12: Implement auth for deletion by adding a 'delete_level' on the ops ↵Erik Johnston2014-09-234-6/+43
| | | | | | levels event SYN-12 # comment Auth has been added.
* Add prune_event methodErik Johnston2014-09-231-0/+39
|
* Make sure we don't persist the 'pruned' keyErik Johnston2014-09-231-1/+1
|
* Add m.room.deletion. If an event is deleted it will be returned to clients ↵Erik Johnston2014-09-239-21/+144
| | | | 'pruned', i.e. all client specified keys will be removed.
* Add a deletions tableErik Johnston2014-09-221-0/+5
|
* SYN-47: Fix bug where we still returned events for rooms we had left.Erik Johnston2014-09-191-1/+1
| | | | SYN-47 #resolve
* formattingKegan Dougal2014-09-191-5/+9
|
* Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2014-09-181-1/+1
|\
| * Bump Changelog and version v0.3.2Erik Johnston2014-09-181-1/+1
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into developErik Johnston2014-09-181-1/+1
|\|
| * Bump changelog and versions v0.3.1Erik Johnston2014-09-181-1/+1
| |
* | Merge branch 'test-sqlite-memory' of github.com:matrix-org/synapse into developErik Johnston2014-09-1811-115/+164
|\ \ | |/ |/| | | | | Conflicts: tests/handlers/test_profile.py
| * Merge branch 'develop' into test-sqlite-memoryPaul "LeoNerd" Evans2014-09-1714-140/+500
| |\
| * | Print expected-vs-actual data types on typecheck failure from check_json()Paul "LeoNerd" Evans2014-09-171-1/+2
| | |
| * | Merge remote-tracking branch 'origin/develop' into test-sqlite-memoryPaul "LeoNerd" Evans2014-09-1513-19/+61
| |\ \
| * \ \ Merge remote-tracking branch 'origin/develop' into test-sqlite-memoryPaul "LeoNerd" Evans2014-09-125-95/+100
| |\ \ \ | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/storage/pdu.py
| * | | | More accurate docs / clearer paramter names in RoomMemberStorePaul "LeoNerd" Evans2014-09-121-6/+7
| | | | |
| * | | | Revert recent changes to RoomMemberStorePaul "LeoNerd" Evans2014-09-122-28/+10
| | | | |
| * | | | Now don't need the other logger.debug() call in _executePaul "LeoNerd" Evans2014-09-121-5/+0
| | | | |
| * | | | Logging of all SQL queries via the 'synapse.storage.SQL' loggerPaul "LeoNerd" Evans2014-09-121-2/+43
| | | | |
| * | | | Add a .runInteraction() method on SQLBaseStore itself to wrap the .db_poolPaul "LeoNerd" Evans2014-09-128-33/+42
| | | | |
| * | | | Add a better _store_room_member_txn() method that takes separated fields ↵Paul "LeoNerd" Evans2014-09-111-8/+21
| | | | | | | | | | | | | | | | | | | | instead of an event object; also add FIXME comment about a big bug in the logic
| * | | | Rename _store_room_member_txn to _store_room_member_from_event_txn so we can ↵Paul "LeoNerd" Evans2014-09-112-2/+2
| | | | | | | | | | | | | | | | | | | | create another, more sensible function of that name
| * | | | prepare_database() on db_conn, not plain name, so we can pass in the ↵Paul "LeoNerd" Evans2014-09-102-32/+35
| | | | | | | | | | | | | | | | | | | | connection from outside
| * | | | Make sure not to open our TCP ports until /after/ the DB is nicely prepared ↵Paul "LeoNerd" Evans2014-09-101-1/+2
| | | | | | | | | | | | | | | | | | | | ready for use
| * | | | No need for a tiny run() function any more, just use reactor.run() directlyPaul "LeoNerd" Evans2014-09-101-6/+2
| | | | |
| * | | | Move database preparing code out of homserver.py into storage where it belongsPaul "LeoNerd" Evans2014-09-103-64/+71
| | | | |
* | | | | Bump versionsErik Johnston2014-09-171-1/+1
| | | | |
* | | | | SYWEB-3 : Added 'visibility' key to rooms returned via /initialSyncKegan Dougal2014-09-171-0/+5
| | | | |
* | | | | SYN-40: When a user updates their displayname or avatar update all their ↵Erik Johnston2014-09-171-3/+43
| |_|_|/ |/| | | | | | | | | | | join events for all the rooms they are currently in.
* | | | Comment out password reset for now, until the mechanism is fully discussed ↵Kegan Dougal2014-09-161-1/+1
| | | | | | | | | | | | | | | | (IS token auth vs HS auth)
* | | | Added support for the HS to send emails. Use it to send password resets. ↵Kegan Dougal2014-09-164-2/+130
| | | | | | | | | | | | | | | | Added email_smtp_server and email_from_address config args. Added emailutils.
* | | | Added PasswordResetRestServlet. Hit the IS to confirm the email/user. Need ↵Kegan Dougal2014-09-162-1/+50
| | | | | | | | | | | | | | | | to send email.
* | | | Fix bug where we didn't always get 'prev_content' keyErik Johnston2014-09-151-4/+1
| | | |
* | | | Fix bug where we incorrectly calculated 'age_ts' from 'age' key rather than ↵Erik Johnston2014-09-152-2/+4
| | | | | | | | | | | | | | | | the reverse. Don't transmit age_ts to clients for now.
* | | | Correctly handle receiving 'missing' Pdus from federation, rather than just ↵Erik Johnston2014-09-152-12/+15
| | | | | | | | | | | | | | | | discarding them.
* | | | Improve logging in federation handler.Erik Johnston2014-09-151-1/+3
| | | |
* | | | Fix 'age' key to update on retriesErik Johnston2014-09-153-8/+41
| | | |
* | | | More helpful 400 error messages.Kegan Dougal2014-09-151-1/+5
| | | |
* | | | Be consistent when associating keys with login types for registration/login.Kegan Dougal2014-09-151-1/+1
| | | |
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵Kegan Dougal2014-09-1510-15/+51
|\ \ \ \ | | |_|/ | |/| | | | | | registration-api-changes in preparation for re-merge to develop.
| * | | Correctly handle the 'age' key in events and pdusErik Johnston2014-09-1510-15/+51
| | | |
* | | | Make captcha work again with the new registration logic.Kegan Dougal2014-09-151-0/+1
| | | |
* | | | Split out password/captcha/email logic.Kegan Dougal2014-09-152-140/+217
| | | |
* | | | Added LoginType constants. Created general structure for processing ↵Kegan Dougal2014-09-152-20/+84
|/ / / | | | | | | | | | registrations.
* | | Bump version and change logErik Johnston2014-09-121-1/+1
| | |
* | | Fix bug where we relied on the current_state_events being updated when we ↵Erik Johnston2014-09-121-2/+2
| | | | | | | | | | | | are handling type specific persistence
* | | Fix bug where we no longer stored user_id on PdusErik Johnston2014-09-121-1/+7
| |/ |/|
* | Make the state resolution use actual power levels rather than taking them ↵Erik Johnston2014-09-124-82/+54
| | | | | | | | from a Pdu key.
* | Fix bug where we incorrectly removed a remote host from the list of hosts in ↵Erik Johnston2014-09-121-12/+45
| | | | | | | | a room when any user from that host left that room even if they weren't the last user from that host in that room
* | Fix bug where we didn't return a tuple when expected.Erik Johnston2014-09-121-1/+1
|/
* Fix bug where we used an unbound local variable if we ended up rolling back ↵Erik Johnston2014-09-091-4/+1
| | | | the persist_event transaction
* Apparently we can't do txn.rollback(), so raise and catch an exception instead.Erik Johnston2014-09-081-11/+19
|
* Added num_joined_users key to /publicRooms for each room. Show this ↵Kegan Dougal2014-09-081-0/+6
| | | | information in the webclient.
* Handle the case where we don't have a common ancestorErik Johnston2014-09-081-9/+18
|
* Fix bug in state handling where we incorrectly identified a missing pdu. ↵Erik Johnston2014-09-082-52/+49
| | | | Update tests to catch this case.
* Rollback if we try and insert duplicate eventsErik Johnston2014-09-081-0/+1
|
* Fix race in presence handler where we evicted things from cache while ↵Erik Johnston2014-09-081-2/+3
| | | | handling a key therein
* Bump version and changelogErik Johnston2014-09-081-1/+1
|
* Fix bug where we used an event_id as a pdu_idErik Johnston2014-09-061-3/+5
|
* Added captcha support on both the HS and web client.Kegan Dougal2014-09-056-10/+182
|\ | | | | | | Merge branch 'captcha' of github.com:matrix-org/synapse into develop
| * Reload captchas when they fail. Cleanup on success.Kegan Dougal2014-09-051-2/+2
| |
| * 80 chars pleaseKegan Dougal2014-09-052-11/+23
| |
| * Add config opion for XFF headers when performing ReCaptcha auth.Kegan Dougal2014-09-053-2/+12
| |
| * Captchas now work on registration. Missing x-forwarded-for config arg ↵Kegan Dougal2014-09-054-7/+115
| | | | | | | | support. Missing reloading a new captcha on the web client / displaying a sensible error message.
| * Added a captcha config to the HS, to enable registration captcha checking ↵Kegan Dougal2014-09-054-2/+44
| | | | | | | | and for the recaptcha private key.
* | Fix generation of event ids so that they are consistent between local and ↵Erik Johnston2014-09-061-1/+4
| | | | | | | | remote ids
* | When getting a state event also include the previous contentErik Johnston2014-09-065-13/+43
| |
* | Add support for inviting people when you create a roomErik Johnston2014-09-061-0/+26
| |
* | Validate power levels event changes. Change error messages to be more ↵Erik Johnston2014-09-051-10/+37
| | | | | | | | helpful. Fix bug where we checked the wrong power levels
* | Generate m.room.aliases event when the HS creates a room aliasErik Johnston2014-09-0510-18/+94
|/
* Empty string is not a valid JSON object, so don't return them in HTTP responses.Erik Johnston2014-09-053-7/+7
|
* AUth the contents of power level eventsErik Johnston2014-09-051-1/+72
|
* Change the default power levels to be 0, 50 and 100Erik Johnston2014-09-052-10/+10
|
* Bump versions. Update change logs.Erik Johnston2014-09-031-1/+1
|
* Added a TODO note about YAML modeline for editorsPaul "LeoNerd" Evans2014-09-031-0/+3
|
* Error code must be an integerErik Johnston2014-09-031-1/+1
|
* Import SynapseErrorErik Johnston2014-09-031-0/+1
|
* Handle timeouts slightly nicer.Erik Johnston2014-09-031-1/+5
|
* Don't do auth for change_membership in federation handler, it doesn't work ↵Erik Johnston2014-09-031-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 Johnston2014-09-031-0/+11
| | | | room_alias as the name.
* Merge branch 'develop' of github.com:matrix-org/synapse into developDavid Baker2014-09-0398-350/+757
|\ | | | | | | | | Conflicts: synapse/http/client.py
| * Add support to _simple_insert() to do INSERT OR REPLACEPaul "LeoNerd" Evans2014-09-031-4/+6
| |
| * Implement a kick apiErik Johnston2014-09-031-2/+5
| |
| * Default PID file should be 'homeserver.pid' to match the other ↵Paul "LeoNerd" Evans2014-09-031-1/+1
| | | | | | | | 'homeserver.*' naming convention
| * fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵Matthew Hodgson2014-09-0397-97/+97
| | | | | | | | hasn't been incorporated in time for launch.
| * Limit the size of uploadsMark Haines2014-09-033-1/+55
| |
| * Bubble up SynapseErrors so expected failures aren't masked.Kegan Dougal2014-09-031-0/+2
| |
| * Add exception handling to directory servlet, so we don't 500. Mark directory ↵Kegan Dougal2014-09-031-2/+16
| | | | | | | | API as volatile in the api docs.
| * Fix up directory server to not require uploading room hosts. Update the room ↵Erik Johnston2014-09-032-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 ancestorErik Johnston2014-09-031-0/+12
| |
| * Snapshot prev_state for generic eventsErik Johnston2014-09-031-1/+6
| |
| * Kill the statePaul "LeoNerd" Evans2014-09-032-31/+6
| | | | | | | | ... key from all the Presence messages
| * Bugfix for back-pagination of presencePaul "LeoNerd" Evans2014-09-031-0/+2
| |
| * Make retrying requests on DNS failures configurable, and turn off retrying ↵Kegan Dougal2014-09-032-7/+24
| | | | | | | | only in directory.get_association
| * Store SQL DDL deltas as well; attempt to upgrade the database on startup if ↵Paul "LeoNerd" Evans2014-09-032-7/+183
| | | | | | | | it's too old
| * hs: Updated synapse.http.client to handle DNSLookupErrors and bail immediately.Kegan Dougal2014-09-031-1/+6
| |
| * Implement presence state visibilty limiting when polling eventsource for streamPaul "LeoNerd" Evans2014-09-031-9/+57
| |
| * Don't eat federation transmit errors during unit tests; fix remote presence ↵Paul "LeoNerd" Evans2014-09-031-1/+0
| | | | | | | | EDU-sending test because of this
| * Make sure to print exceptions properly from notifier failuresPaul "LeoNerd" Evans2014-09-031-1/+6
| |
| * Updated feedback api docs and fixed feedback content template bugKegan Dougal2014-09-031-2/+1
| |
| * apidocs: mtime_age > last_active_ago. Presence REST: Sanity check values in ↵Kegan Dougal2014-09-031-0/+8
| | | | | | | | invite/drop arrays.
| * Merge branch 'develop' of github.com:matrix-org/synapse into developErik Johnston2014-09-037-174/+222
| |\ | | | | | | | | | | | | | | | Conflicts: synapse/http/server.py synapse/http/content_repository.py
| | * Edited /presence REST servlet to raise SynapseErrors to return a standard ↵Kegan Dougal2014-09-031-7/+12
| | | | | | | | | | | | error response, rather than a string.
| | * Update API docs to use 'presence' key not 'state'. Fixed error messages when ↵Kegan Dougal2014-09-031-1/+1
| | | | | | | | | | | | setting presence.
| | * Fixed /presence APIs to urldecode user IDs.Kegan Dougal2014-09-031-1/+5
| | |
| | * Fixed GET /events/$id to be not broken.Kegan Dougal2014-09-031-1/+3
| | |
| | * move contentrepo class to it's own fileMark Haines2014-09-033-163/+194
| | |
| | * URL decode user IDs for /profile REST path segments.Kegan Dougal2014-09-031-0/+6
| | |
| * | Add option to change content repo locationErik Johnston2014-09-033-4/+20
| |/
| * Rename the 'do_users_share_a_room' to something slightly less verb-soundingPaul "LeoNerd" Evans2014-09-032-2/+2
| |
| * Allow optional non-suppression of exceptions through the DistributorPaul "LeoNerd" Evans2014-09-031-4/+13
| |
| * Neater is_presence_visible() codePaul "LeoNerd" Evans2014-09-031-9/+8
| |
* | Add support for registering with a threepid to the HS (get credentials from ↵David Baker2014-09-033-9/+100
|/ | | | the client and check them against an ID server).
* Merge branch 'master' into developErik Johnston2014-09-032-3/+3
|\
| * Bump version and changelogErik Johnston2014-09-021-1/+1
| |
| * Update default endpoint port to match the default ports in the configErik Johnston2014-09-021-2/+2
| |
* | Add ban support: /rooms/$roomid/ban with { user_id : foo }Kegan Dougal2014-09-031-2/+2
| |
* | Add copyright notices and fix pyflakes errorsMark Haines2014-09-037-7/+59
| |
* | Set status message for ratelimit error responsesMark Haines2014-09-033-6/+12
| |
* | Merge branch 'ratelimiting' into developMark Haines2014-09-039-8/+141
|\ \ | |/ |/|
| * Raise LimitExceedError when the ratelimiting is throttling requestsMark Haines2014-09-032-11/+29
| |
| * rate limiting for message sendingMark Haines2014-09-024-4/+7
| |
| * Add ratelimiting configMark Haines2014-09-021-0/+21
| |
| * Add ratelimiting function to basehandlerMark Haines2014-09-025-1/+27
| |
| * Test ratelimiterMark Haines2014-09-021-19/+48
| |
| * Ratelimiter objectMark Haines2014-09-021-0/+36
| |
* | Merge branch 'master' of github.com:matrix-org/synapse into release-v0.2.0Erik Johnston2014-09-022-3/+20
|\ \ | | | | | | | | | | | | | | | | | | Conflicts: synapse/notifier.py webclient/room/room-controller.js webclient/room/room.html
| * | v0.1.2 v0.1.2David Baker2014-08-291-1/+1
| | |
| * | Version bump for bug fix. v0.1.1Erik Johnston2014-08-291-1/+1
| | |
| * | When notifying listeners, don't do so in a serial fashionErik Johnston2014-08-291-2/+19
| | |
| * | Bump version and change log v0.1.0Erik Johnston2014-08-291-1/+1
| | |
* | | Order matters when adding REST servletsPaul "LeoNerd" Evans2014-09-021-21/+21
| | |
* | | Fix bug where we didn't correctly store the ops power levels event.Erik Johnston2014-09-023-1/+9
| | |
* | | Add rest endpoint for the whole user profileDavid Baker2014-09-021-0/+21
| | |
* | | Safer handling of incoming presence EDUs that may or maynot contain ↵Paul "LeoNerd" Evans2014-09-021-3/+13
| | | | | | | | | | | | 'presence' or 'state'
* | | 'continue' to go to the next item in a for loop, not 'break'Paul "LeoNerd" Evans2014-09-021-1/+1
| | |
* | | By default, only room ops can change the name and topic.Erik Johnston2014-09-021-0/+2
| |/ |/|
* | Remove option for disabling webclient because it was confusingMark Haines2014-09-021-4/+1
| |
* | Implement auth for kicking.Erik Johnston2014-09-021-3/+10
| |
* | Add message to assertionErik Johnston2014-09-021-1/+1
| |
* | Default HTTP and HTTPS ports to 8008 and 8448Erik Johnston2014-09-021-2/+4
| |
* | os.makedirs is almost but not entirely unlike mkdir -pMark Haines2014-09-021-1/+2
| |
* | Fix typo when reading TLS configMark Haines2014-09-021-1/+1
| |
* | Make the config directory if the directory doesn't exisit when generating configMark Haines2014-09-021-0/+1
| |
* | More helpful error messages for missing configMark Haines2014-09-023-6/+29
| |
* | Add support for setting room name and topic when creating roomsErik Johnston2014-09-021-4/+29
| |
* | given everything's apparently gone https:// by default for c-s, change this ↵Matthew Hodgson2014-09-011-1/+5
| | | | | | | | hardcoding...
* | Add unsecure listener port to homeserverMark Haines2014-09-012-8/+17
| |
* | enable ECDHE ciphersMark Haines2014-09-011-0/+6
| |
* | Reënable presence visibility permission checking now it's not used on ↵Paul "LeoNerd" Evans2014-09-011-4/+0
| | | | | | | | redundant code paths
* | No need to test is_presence_visible in _start_polling_local because we know ↵Paul "LeoNerd" Evans2014-09-011-4/+0
| | | | | | | | it will be by when it's called
* | specify metavars in argparseMatthew Hodgson2014-09-011-2/+3
| |
* | Use yaml for config fileMark Haines2014-09-011-11/+6
| |
* | Don't set a 'default' key in the creation eventErik Johnston2014-09-011-1/+0
| |
* | Use pregenerated DH params when generating configMark Haines2014-09-011-7/+29
| |
* | That was a breaking db change. You need to recreate the databases. (In ↵Erik Johnston2014-09-011-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 eventsErik Johnston2014-09-011-2/+4
| |
* | Merge branch 'develop' of github.com:matrix-org/synapse into room_configErik Johnston2014-09-0115-246/+634
|\ \
| * | Fix SSL for federation http clientMark Haines2014-09-012-2/+2
| | |
| * | Enable SSL for s2s http clientMark Haines2014-09-012-3/+7
| | |
| * | Add server TLS context factoryMark Haines2014-09-011-0/+23
| | |
| * | Merge branch 'develop' into server2server_tlsMark Haines2014-09-012-0/+14
| |\ \
| * | | Listen using SSLMark Haines2014-09-012-2/+8
| | | |
| * | | Merge branch 'develop' into server2server_tlsMark Haines2014-09-012-34/+84
| |\ \ \
| * | | | Fix homeserver config parsingMark Haines2014-09-017-34/+45
| | | | |
| * | | | Merge branch 'develop' into server2server_tlsMark Haines2014-09-019-178/+196
| |\ \ \ \
| * \ \ \ \ Merge branch 'develop' into server2server_tlsMark Haines2014-08-3118-333/+652
| |\ \ \ \ \
| | * | | | | Add config tree to synapse. Add support for reading config from a fileMark Haines2014-08-319-231/+441
| | | |_|_|/ | | |/| | |
| * | | | | Add store for server certificates and keysMark Haines2014-08-283-1/+135
| | | | | |
* | | | | | Add all the necessary checks to make banning work.Erik Johnston2014-09-016-6/+54
| | | | | |
* | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into room_configErik Johnston2014-09-013-34/+98
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Bump a user's presence last_active time every time they send a message to a roomPaul "LeoNerd" Evans2014-09-012-0/+10
| | | | | |
| * | | | | Perform room unit tests with 'local' users actually in the right domain ;)Paul "LeoNerd" Evans2014-09-011-0/+4
| | |_|_|/ | |/| | |
| * | | | Rename API-visible 'mtime' presence field to 'last_active'; slightly ↵Paul "LeoNerd" Evans2014-09-011-23/+49
| | | | | | | | | | | | | | | | | | | | different semantics
| * | | | Rename 'state' presence key to the much more obvious 'presence'; maintain a ↵Paul "LeoNerd" Evans2014-09-012-12/+36
| | |_|/ | |/| | | | | | | | | | legacy 'state' copy for now
* | | | Add beginnings of ban support.Erik Johnston2014-09-018-29/+122
| | | |
* | | | Implement power level lists, default power levels and ↵Erik Johnston2014-09-017-48/+218
| | | | | | | | | | | | | | | | send_evnet_level/add_state_level events.
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into room_configErik Johnston2014-09-019-178/+196
|\| | |
| * | | missed a s#/matrix#/_matrix/gMatthew Hodgson2014-08-311-1/+1
| | | |
| * | | change the world: make the default matrix API URL prefix /_matrix rather ↵Matthew Hodgson2014-08-311-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" Evans2014-08-291-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_keyPaul "LeoNerd" Evans2014-08-294-10/+10
| | | |
| * | | Have EventSource's get_new_events_for_user() API work only on keys within ↵Paul "LeoNerd" Evans2014-08-295-30/+33
| | | | | | | | | | | | | | | | that source, not overall eventstream tokens
| * | | TypingNotificationEventSource has to return proper tokens, not int 0Paul "LeoNerd" Evans2014-08-291-2/+2
| | | |
| * | | Rename 'events_key' to 'room_key' so it matches the name of the event sourcePaul "LeoNerd" Evans2014-08-294-10/+10
| | | |
| * | | Define a new event stream data source for typing notifications (currently null)Paul "LeoNerd" Evans2014-08-293-8/+28
| | | |
| * | | Avoid hardcoding names of individual stream token keys in its own ↵Paul "LeoNerd" Evans2014-08-291-9/+3
| | | | | | | | | | | | | | | | implementation; this at least reduces the number of places in source code the individual parts are stored
| * | | Use str.join() properlyPaul "LeoNerd" Evans2014-08-291-2/+1
| | | |
| * | | Move the *EventSource classes into the handlers they relate to, so it's ↵Paul "LeoNerd" Evans2014-08-293-127/+130
| | |/ | |/| | | | | | | easier to find the code
* | | Start adding storage for new events.Erik Johnston2014-08-293-0/+121
| | |
* | | Merge branch 'develop' of github.com:matrix-org/synapse into room_configErik Johnston2014-08-2914-145/+234
|\| |
| * | Get the equalities right.Erik Johnston2014-08-292-4/+10
| | |
| * | Merge branch 'presence_logging' into developErik Johnston2014-08-296-91/+189
| |\ \
| | * | Fix a couple of bugs in presence handler related to pushing updatesto the ↵Erik Johnston2014-08-292-18/+43
| | | | | | | | | | | | | | | | correct user. Fix presence tests.
| | * | Turn of trace_function loggingErik Johnston2014-08-282-10/+10
| | | |
| | * | Only poll remote users if they are in our presence list, rather than in a ↵Erik Johnston2014-08-281-53/+66
| | | | | | | | | | | | | | | | common room
| | * | Don't query the rooms members table so much by using the new notifier api ↵Erik Johnston2014-08-282-62/+46
| | | | | | | | | | | | | | | | that allows you to specify room_ids to notify.
| | * | Merge branch 'develop' of github.com:matrix-org/synapse into presence_loggingErik Johnston2014-08-288-47/+39
| | |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/presence.py
| | * | | Up timeout to 10 minutesErik Johnston2014-08-281-1/+1
| | | | |
| | * | | And more logging.Erik Johnston2014-08-282-1/+3
| | | | |
| | * | | Add more logging. Up the event stream timer to 10sErik Johnston2014-08-282-1/+4
| | | | |
| | * | | Add logging to try and figure out what is going on with the presence stuffErik Johnston2014-08-284-3/+66
| | | | |
| * | | | Fix FederationHandler to event.originMark Haines2014-08-281-1/+1
| | | | |
| * | | | Initial room event stream token must be s0, not s1, or everyone will miss ↵Paul "LeoNerd" Evans2014-08-281-1/+1
| | |/ / | |/| | | | | | | | | | the very first room event
| * | | Only send presence "poll"/"unpoll" EDUs when changing from/to zero remotesPaul "LeoNerd" Evans2014-08-281-2/+14
| | | |
| * | | Avoid AlreadyCalledError from EDU sending failuresPaul "LeoNerd" Evans2014-08-281-1/+2
| | | |
| * | | Re-enable presence, un-skip presence testsPaul "LeoNerd" Evans2014-08-281-8/+0
| | |/ | |/|
| * | Remove get_state_for_room function from federation handlerMark Haines2014-08-281-15/+11
| | |
| * | use @wraps to set the __name__ __module__ and __doc__ correctly for logged ↵Mark Haines2014-08-281-0/+2
| | | | | | | | | | | | functions
| * | Support multiple login flows when deciding how to login. Updated cmdclient ↵Kegan Dougal2014-08-281-1/+1
| | | | | | | | | | | | and spec. Webclient doesn't need updating for this.
| * | Fix pyflakes warningsMark Haines2014-08-284-10/+4
| | |
| * | Merge backfill_ and backfill in federation handlerMark Haines2014-08-281-18/+5
| |/
| * Fix bug where we used UserID objects instead of strignsErik Johnston2014-08-281-1/+2
| |
* | Create the correct events with the right configuration when creating a new room.Erik Johnston2014-08-285-21/+104
|/
* Fix typo in NullSource.get_pagination_rows. Remove unused import.Erik Johnston2014-08-281-2/+1
|
* Define a NullSource useful for unit-testingPaul "LeoNerd" Evans2014-08-271-0/+16
|
* Split out MessageHandlerErik Johnston2014-08-273-276/+305
|
* Merge branch 'develop' into storage_transactionsMark Haines2014-08-272-2/+6
|\ | | | | | | | | | | Conflicts: tests/handlers/test_federation.py tests/handlers/test_room.py
| * If timeout=0, return immediatelyErik Johnston2014-08-271-1/+5
| |
* | Merge branch 'develop' into storage_transactionsMark Haines2014-08-2718-644/+635
|\| | | | | | | | | | | Conflicts: synapse/handlers/room.py synapse/storage/stream.py
| * Merge branch 'develop' of github.com:matrix-org/synapse into developErik Johnston2014-08-271-0/+46
| |\
| * | Comments!Erik Johnston2014-08-271-0/+35
| | |
| * | Remove stale FIXMEsErik Johnston2014-08-271-2/+0
| | |
| * | Remove store_id from notifier.on_new_room_event calls.Erik Johnston2014-08-272-13/+8
| | |
| * | Turn off presence again.Erik Johnston2014-08-271-2/+2
| | |
| * | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-274-37/+14
| |\ \
| * | | Index sources in a nicer fashion.Erik Johnston2014-08-273-16/+15
| | | |
| * | | Convert get_paginat_rows to use PaginationConfig. This allows people to ↵Erik Johnston2014-08-273-41/+61
| | | | | | | | | | | | | | | | supply directions.
| * | | PEP8 tweaks.Erik Johnston2014-08-275-10/+12
| | | |
| * | | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-2710-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 listenersErik Johnston2014-08-275-80/+107
| | | | |
| * | | | Enable presence again. Fix up api to match old api.Erik Johnston2014-08-265-10/+35
| | | | |
| * | | | Fix exceptions so that the event stream works. Presence like events are ↵Erik Johnston2014-08-261-2/+4
| | | | | | | | | | | | | | | | | | | | turned off currently.
| * | | | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-265-123/+60
| |\ \ \ \
| * | | | | WIP: Completely change how event streaming and pagination work. This ↵Erik Johnston2014-08-2615-655/+430
| | | | | | | | | | | | | | | | | | | | | | | | reflects the change in the underlying storage model.
| * | | | | Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-265-9/+14
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-2611-31/+11
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-263-0/+168
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge branch 'develop' of github.com:matrix-org/synapse into stream_refactorErik Johnston2014-08-2622-155/+281
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Use new StreamToken in pagination configErik Johnston2014-08-211-5/+9
| | | | | | | | | |
| * | | | | | | | | Add in StreamToken typeErik Johnston2014-08-211-0/+74
| | | | | | | | | |
* | | | | | | | | | Return the store_id from persist_eventMark Haines2014-08-271-1/+3
| | | | | | | | | |
* | | | | | | | | | Merge branch 'develop' into storage_transactionsMark Haines2014-08-279-75/+273
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ | |/| | | | | | | |
| * | | | | | | | | Added RestServlet for /rooms/$roomid/initialSyncKegan Dougal2014-08-271-0/+30
| | | | | | | | | |
| * | | | | | | | | Added RestServlet for /rooms/$roomid/stateKegan Dougal2014-08-271-0/+16
| | |_|_|_|_|_|_|/ | |/| | | | | | |
| * | | | | | | | Renamed /ds to /directoryKegan Dougal2014-08-271-1/+1
| | | | | | | | |
| * | | | | | | | Renamed /public/rooms to /publicRoomsKegan Dougal2014-08-273-36/+13
| | |_|_|_|_|_|/ | |/| | | | | |
| * | | | | | | A reliable logger.info() message /after/ the TCP port has been opened and is ↵Paul "LeoNerd" Evans2014-08-271-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" Evans2014-08-272-0/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | actual push to clients