Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SYN-48: Fix typo. Get the whois for requested user rather tahan the requester | Erik Johnston | 2014-09-29 | 1 | -1/+1 |
| | |||||
* | SYN-48: Implement WHOIS rest servlet | Erik Johnston | 2014-09-29 | 9 | -25/+190 |
| | |||||
* | Add auth check to test if a user is an admin or not. | Erik Johnston | 2014-09-29 | 2 | -0/+11 |
| | |||||
* | SYN-48: Track User-Agents as well as IPs for client devices. | Erik Johnston | 2014-09-29 | 4 | -5/+20 |
| | |||||
* | Track the IP users connect with. Add an admin column to users table. | Erik Johnston | 2014-09-26 | 6 | -9/+57 |
| | |||||
* | Just use a yaml list for turn servers | David Baker | 2014-09-25 | 1 | -1/+1 |
| | |||||
* | Bump version and changelog | Erik Johnston | 2014-09-25 | 1 | -1/+1 |
| | |||||
* | Merge branch 'deletions' of github.com:matrix-org/synapse into develop | Erik Johnston | 2014-09-25 | 15 | -26/+268 |
|\ | |||||
| * | Don't strip out null's in serialized events, as that is not need anymore and ↵ | Erik Johnston | 2014-09-25 | 1 | -1/+2 |
| | | | | | | | | it's not in the spec (yet) | ||||
| * | Don't strip of False values from events when serializing | Erik Johnston | 2014-09-25 | 1 | -1/+1 |
| | | |||||
| * | Add LIMIT to scalar subquery | Erik Johnston | 2014-09-25 | 3 | -5/+10 |
| | | |||||
| * | Rename deletions to redactions | Erik Johnston | 2014-09-24 | 16 | -74/+77 |
| | | |||||
| * | Make deleting deletes not undelete | Erik Johnston | 2014-09-24 | 1 | -14/+4 |
| | | |||||
| * | Fix bug where we didn't correctly pull out the event_id of the deletion | Erik Johnston | 2014-09-24 | 2 | -3/+8 |
| | | |||||
| * | Fill out the prune_event method. | Erik Johnston | 2014-09-24 | 1 | -6/+31 |
| | | |||||
| * | Add v4 deltas to current sql. | Erik Johnston | 2014-09-24 | 3 | -1/+10 |
| | | |||||
| * | Rename 'pruned' to 'pruned_because' | Erik Johnston | 2014-09-23 | 3 | -3/+3 |
| | | |||||
| * | SYN-12: Implement auth for deletion by adding a 'delete_level' on the ops ↵ | Erik Johnston | 2014-09-23 | 4 | -6/+43 |
| | | | | | | | | | | | | levels event SYN-12 # comment Auth has been added. | ||||
| * | Add prune_event method | Erik Johnston | 2014-09-23 | 1 | -0/+39 |
| | | |||||
| * | Make sure we don't persist the 'pruned' key | Erik Johnston | 2014-09-23 | 1 | -1/+1 |
| | | |||||
| * | Add m.room.deletion. If an event is deleted it will be returned to clients ↵ | Erik Johnston | 2014-09-23 | 9 | -21/+144 |
| | | | | | | | | 'pruned', i.e. all client specified keys will be removed. | ||||
| * | Add a deletions table | Erik Johnston | 2014-09-22 | 1 | -0/+5 |
| | | |||||
* | | Fix bug where we tried to insert state events with null state key | Erik Johnston | 2014-09-25 | 1 | -1/+2 |
| | | |||||
* | | Merge branch 'turn' into develop | David Baker | 2014-09-25 | 4 | -2/+105 |
|\ \ | |||||
| * | | Make turn server endpoint return an empty object if no turn servers to | David Baker | 2014-09-25 | 2 | -2/+2 |
| | | | | | | | | | | | | | | | match the normal response. Don't break if the turn_uris option isn't present. | ||||
| * | | The REST API spec only alows for returning a single server so name the | David Baker | 2014-09-24 | 1 | -1/+1 |
| | | | | | | | | | | | | endpoint appropriately. | ||||
| * | | Oops | David Baker | 2014-09-24 | 1 | -1/+1 |
| | | | |||||
| * | | rename endpoint to better reflect what it is and allow specifying multiple uris | David Baker | 2014-09-24 | 2 | -8/+6 |
| | | | |||||
| * | | Use standard base64 encoding with padding to get the same result as | David Baker | 2014-09-24 | 1 | -2/+5 |
| | | | | | | | | | | | | coturn. | ||||
| * | | The config is not hierarchical | David Baker | 2014-09-23 | 1 | -3/+3 |
| | | | |||||
| * | | Add support for TURN servers as per the TURN REST API ↵ | David Baker | 2014-09-23 | 4 | -2/+104 |
| | | | | | | | | | | | | (http://tools.ietf.org/html/draft-uberti-behave-turn-rest-00) | ||||
* | | | SYN-46: An invite received from fedearation didn't wake up the event stream ↵ | Erik Johnston | 2014-09-25 | 1 | -1/+9 |
| | | | | | | | | | | | | for the invited user. | ||||
* | | | Don't set the room name to be the room alias on room creation if the client ↵ | Erik Johnston | 2014-09-24 | 1 | -11/+0 |
| | | | | | | | | | | | | didn't supply a name | ||||
* | | | SYN-70: And fix another bug where I can't type | Erik Johnston | 2014-09-24 | 1 | -1/+1 |
| | | | |||||
* | | | SYN-70: Fix typo | Erik Johnston | 2014-09-24 | 1 | -1/+1 |
| | | | |||||
* | | | Bugfix for older Pythons that lack hmac.compare_digest() | Paul "LeoNerd" Evans | 2014-09-23 | 1 | -1/+11 |
| | | | |||||
* | | | Merge branch 'jira/SYN-60' into develop | Paul "LeoNerd" Evans | 2014-09-23 | 2 | -6/+44 |
|\ \ \ | |||||
| * | | | Send an HMAC(SHA1) protecting the User ID for the ReCAPTCHA bypass, rather ↵ | Paul "LeoNerd" Evans | 2014-09-23 | 1 | -7/+26 |
| | | | | | | | | | | | | | | | | than simply the secret itself, so it's useless if that HMAC leaks | ||||
| * | | | Config values are almost never 'None', but they might be empty string. ↵ | Paul "LeoNerd" Evans | 2014-09-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Detect their presence by truth | ||||
| * | | | Make sure the config actually /has/ a captcha_bypass_secret set before ↵ | Paul "LeoNerd" Evans | 2014-09-23 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | trying to compare it | ||||
| * | | | Allow a (hidden undocumented) key to m.login.recaptcha to specify a shared ↵ | Paul "LeoNerd" Evans | 2014-09-23 | 2 | -6/+24 |
| |/ / | | | | | | | | | | secret to allow bots to bypass the ReCAPTCHA test (SYN-60) | ||||
* / / | Implemented /rooms/$roomid/state API. | Kegan Dougal | 2014-09-23 | 2 | -6/+23 |
|/ / | |||||
* / | Bump versions and changelog v0.3.3 | Erik Johnston | 2014-09-22 | 1 | -1/+1 |
|/ | |||||
* | SYN-47: Fix bug where we still returned events for rooms we had left. | Erik Johnston | 2014-09-19 | 1 | -1/+1 |
| | | | | SYN-47 #resolve | ||||
* | formatting | Kegan Dougal | 2014-09-19 | 1 | -5/+9 |
| | |||||
* | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2014-09-18 | 1 | -1/+1 |
|\ | |||||
| * | Bump Changelog and version v0.3.2 | Erik Johnston | 2014-09-18 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2014-09-18 | 1 | -1/+1 |
|\| | |||||
| * | Bump changelog and versions v0.3.1 | Erik Johnston | 2014-09-18 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'test-sqlite-memory' of github.com:matrix-org/synapse into develop | Erik Johnston | 2014-09-18 | 11 | -115/+164 |
|\ \ | |/ |/| | | | | | Conflicts: tests/handlers/test_profile.py | ||||
| * | Merge branch 'develop' into test-sqlite-memory | Paul "LeoNerd" Evans | 2014-09-17 | 14 | -140/+500 |
| |\ | |||||
| * | | Print expected-vs-actual data types on typecheck failure from check_json() | Paul "LeoNerd" Evans | 2014-09-17 | 1 | -1/+2 |
| | | | |||||
| * | | Merge remote-tracking branch 'origin/develop' into test-sqlite-memory | Paul "LeoNerd" Evans | 2014-09-15 | 13 | -19/+61 |
| |\ \ | |||||
| * \ \ | Merge remote-tracking branch 'origin/develop' into test-sqlite-memory | Paul "LeoNerd" Evans | 2014-09-12 | 5 | -95/+100 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/storage/pdu.py | ||||
| * | | | | More accurate docs / clearer paramter names in RoomMemberStore | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -6/+7 |
| | | | | | |||||
| * | | | | Revert recent changes to RoomMemberStore | Paul "LeoNerd" Evans | 2014-09-12 | 2 | -28/+10 |
| | | | | | |||||
| * | | | | Now don't need the other logger.debug() call in _execute | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -5/+0 |
| | | | | | |||||
| * | | | | Logging of all SQL queries via the 'synapse.storage.SQL' logger | Paul "LeoNerd" Evans | 2014-09-12 | 1 | -2/+43 |
| | | | | | |||||
| * | | | | Add a .runInteraction() method on SQLBaseStore itself to wrap the .db_pool | Paul "LeoNerd" Evans | 2014-09-12 | 8 | -33/+42 |
| | | | | | |||||
| * | | | | Add a better _store_room_member_txn() method that takes separated fields ↵ | Paul "LeoNerd" Evans | 2014-09-11 | 1 | -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" Evans | 2014-09-11 | 2 | -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" Evans | 2014-09-10 | 2 | -32/+35 |
| | | | | | | | | | | | | | | | | | | | | connection from outside | ||||
| * | | | | Make sure not to open our TCP ports until /after/ the DB is nicely prepared ↵ | Paul "LeoNerd" Evans | 2014-09-10 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | ready for use | ||||
| * | | | | No need for a tiny run() function any more, just use reactor.run() directly | Paul "LeoNerd" Evans | 2014-09-10 | 1 | -6/+2 |
| | | | | | |||||
| * | | | | Move database preparing code out of homserver.py into storage where it belongs | Paul "LeoNerd" Evans | 2014-09-10 | 3 | -64/+71 |
| | | | | | |||||
* | | | | | Bump versions | Erik Johnston | 2014-09-17 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | SYWEB-3 : Added 'visibility' key to rooms returned via /initialSync | Kegan Dougal | 2014-09-17 | 1 | -0/+5 |
| | | | | | |||||
* | | | | | SYN-40: When a user updates their displayname or avatar update all their ↵ | Erik Johnston | 2014-09-17 | 1 | -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 Dougal | 2014-09-16 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | (IS token auth vs HS auth) | ||||
* | | | | Added support for the HS to send emails. Use it to send password resets. ↵ | Kegan Dougal | 2014-09-16 | 4 | -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 Dougal | 2014-09-16 | 2 | -1/+50 |
| | | | | | | | | | | | | | | | | to send email. | ||||
* | | | | Fix bug where we didn't always get 'prev_content' key | Erik Johnston | 2014-09-15 | 1 | -4/+1 |
| | | | | |||||
* | | | | Fix bug where we incorrectly calculated 'age_ts' from 'age' key rather than ↵ | Erik Johnston | 2014-09-15 | 2 | -2/+4 |
| | | | | | | | | | | | | | | | | the reverse. Don't transmit age_ts to clients for now. | ||||
* | | | | Correctly handle receiving 'missing' Pdus from federation, rather than just ↵ | Erik Johnston | 2014-09-15 | 2 | -12/+15 |
| | | | | | | | | | | | | | | | | discarding them. | ||||
* | | | | Improve logging in federation handler. | Erik Johnston | 2014-09-15 | 1 | -1/+3 |
| | | | | |||||
* | | | | Fix 'age' key to update on retries | Erik Johnston | 2014-09-15 | 3 | -8/+41 |
| | | | | |||||
* | | | | More helpful 400 error messages. | Kegan Dougal | 2014-09-15 | 1 | -1/+5 |
| | | | | |||||
* | | | | Be consistent when associating keys with login types for registration/login. | Kegan Dougal | 2014-09-15 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Kegan Dougal | 2014-09-15 | 10 | -15/+51 |
|\ \ \ \ | | |_|/ | |/| | | | | | | registration-api-changes in preparation for re-merge to develop. | ||||
| * | | | Correctly handle the 'age' key in events and pdus | Erik Johnston | 2014-09-15 | 10 | -15/+51 |
| | | | | |||||
* | | | | Make captcha work again with the new registration logic. | Kegan Dougal | 2014-09-15 | 1 | -0/+1 |
| | | | | |||||
* | | | | Split out password/captcha/email logic. | Kegan Dougal | 2014-09-15 | 2 | -140/+217 |
| | | | | |||||
* | | | | Added LoginType constants. Created general structure for processing ↵ | Kegan Dougal | 2014-09-15 | 2 | -20/+84 |
|/ / / | | | | | | | | | | registrations. | ||||
* | | | Bump version and change log | Erik Johnston | 2014-09-12 | 1 | -1/+1 |
| | | | |||||
* | | | Fix bug where we relied on the current_state_events being updated when we ↵ | Erik Johnston | 2014-09-12 | 1 | -2/+2 |
| | | | | | | | | | | | | are handling type specific persistence | ||||
* | | | Fix bug where we no longer stored user_id on Pdus | Erik Johnston | 2014-09-12 | 1 | -1/+7 |
| |/ |/| | |||||
* | | Make the state resolution use actual power levels rather than taking them ↵ | Erik Johnston | 2014-09-12 | 4 | -82/+54 |
| | | | | | | | | from a Pdu key. | ||||
* | | Fix bug where we incorrectly removed a remote host from the list of hosts in ↵ | Erik Johnston | 2014-09-12 | 1 | -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 Johnston | 2014-09-12 | 1 | -1/+1 |
|/ | |||||
* | Fix bug where we used an unbound local variable if we ended up rolling back ↵ | Erik Johnston | 2014-09-09 | 1 | -4/+1 |
| | | | | the persist_event transaction | ||||
* | Apparently we can't do txn.rollback(), so raise and catch an exception instead. | Erik Johnston | 2014-09-08 | 1 | -11/+19 |
| | |||||
* | Added num_joined_users key to /publicRooms for each room. Show this ↵ | Kegan Dougal | 2014-09-08 | 1 | -0/+6 |
| | | | | information in the webclient. | ||||
* | Handle the case where we don't have a common ancestor | Erik Johnston | 2014-09-08 | 1 | -9/+18 |
| | |||||
* | Fix bug in state handling where we incorrectly identified a missing pdu. ↵ | Erik Johnston | 2014-09-08 | 2 | -52/+49 |
| | | | | Update tests to catch this case. | ||||
* | Rollback if we try and insert duplicate events | Erik Johnston | 2014-09-08 | 1 | -0/+1 |
| | |||||
* | Fix race in presence handler where we evicted things from cache while ↵ | Erik Johnston | 2014-09-08 | 1 | -2/+3 |
| | | | | handling a key therein | ||||
* | Bump version and changelog | Erik Johnston | 2014-09-08 | 1 | -1/+1 |
| | |||||
* | Fix bug where we used an event_id as a pdu_id | Erik Johnston | 2014-09-06 | 1 | -3/+5 |
| | |||||
* | Added captcha support on both the HS and web client. | Kegan Dougal | 2014-09-05 | 6 | -10/+182 |
|\ | | | | | | | Merge branch 'captcha' of github.com:matrix-org/synapse into develop | ||||
| * | Reload captchas when they fail. Cleanup on success. | Kegan Dougal | 2014-09-05 | 1 | -2/+2 |
| | | |||||
| * | 80 chars please | Kegan Dougal | 2014-09-05 | 2 | -11/+23 |
| | | |||||
| * | Add config opion for XFF headers when performing ReCaptcha auth. | Kegan Dougal | 2014-09-05 | 3 | -2/+12 |
| | | |||||
| * | Captchas now work on registration. Missing x-forwarded-for config arg ↵ | Kegan Dougal | 2014-09-05 | 4 | -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 Dougal | 2014-09-05 | 4 | -2/+44 |
| | | | | | | | | and for the recaptcha private key. | ||||
* | | Fix generation of event ids so that they are consistent between local and ↵ | Erik Johnston | 2014-09-06 | 1 | -1/+4 |
| | | | | | | | | remote ids | ||||
* | | When getting a state event also include the previous content | Erik Johnston | 2014-09-06 | 5 | -13/+43 |
| | | |||||
* | | Add support for inviting people when you create a room | Erik Johnston | 2014-09-06 | 1 | -0/+26 |
| | | |||||
* | | Validate power levels event changes. Change error messages to be more ↵ | Erik Johnston | 2014-09-05 | 1 | -10/+37 |
| | | | | | | | | helpful. Fix bug where we checked the wrong power levels | ||||
* | | Generate m.room.aliases event when the HS creates a room alias | Erik Johnston | 2014-09-05 | 10 | -18/+94 |
|/ | |||||
* | Empty string is not a valid JSON object, so don't return them in HTTP responses. | Erik Johnston | 2014-09-05 | 3 | -7/+7 |
| | |||||
* | AUth the contents of power level events | Erik Johnston | 2014-09-05 | 1 | -1/+72 |
| | |||||
* | Change the default power levels to be 0, 50 and 100 | Erik Johnston | 2014-09-05 | 2 | -10/+10 |
| | |||||
* | Bump versions. Update change logs. | Erik Johnston | 2014-09-03 | 1 | -1/+1 |
| | |||||
* | 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 |
| | | |