Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update the v2 room sync format to match the current v2 spec | Mark Haines | 2015-10-08 | 1 | -14/+11 |
| | |||||
* | Move the rooms out into a room_map mapping from room_id to room. | Mark Haines | 2015-10-05 | 1 | -18/+9 |
| | |||||
* | Start updating the sync API to match the specification | Mark Haines | 2015-10-01 | 1 | -36/+28 |
| | |||||
* | Merge pull request #288 from matrix-org/markjh/unused_definitions | Mark Haines | 2015-09-28 | 2 | -75/+0 |
|\ | | | | | Remove some of the unused definitions from synapse | ||||
| * | synapse/handlers/room.py:_should_invite_join was unused | Mark Haines | 2015-09-23 | 1 | -26/+0 |
| | | |||||
| * | synapse/handlers/federation.py:_handle_auth_events was unused | Mark Haines | 2015-09-23 | 1 | -49/+0 |
| | | |||||
* | | Merge pull request #271 from matrix-org/erikj/default_history | Erik Johnston | 2015-09-23 | 1 | -1/+1 |
|\ \ | |/ |/| | Change default history visibility for private rooms | ||||
| * | Change default history visibility for private rooms | Erik Johnston | 2015-09-09 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #276 from ↵ | Mark Haines | 2015-09-21 | 2 | -85/+158 |
|\ \ | | | | | | | | | | | | | matrix-org/markjh/history_for_rooms_that_have_been_left SPEC-216: Allow users to view the history of rooms that they have left. | ||||
| * | | Clarify that room_initial_sync returns a python dict | Mark Haines | 2015-09-21 | 1 | -1/+1 |
| | | | |||||
| * | | Fix doc string to point at the right class | Mark Haines | 2015-09-21 | 1 | -2/+3 |
| | | | |||||
| * | | Add explicit "elif event.membership == Membership.LEAVE" for clarity | Mark Haines | 2015-09-21 | 1 | -1/+2 |
| | | | |||||
| * | | Clamp the "to" token for /rooms/{roomId}/messages to when the user left | Mark Haines | 2015-09-21 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | the room. There isn't a way for the client to learn a valid "to" token for a room that they have left in the C-S API but that doesn't stop a client making one up. | ||||
| * | | Allow users to GET individual state events for rooms that they have left | Mark Haines | 2015-09-10 | 1 | -7/+13 |
| | | | |||||
| * | | Allow users that have left a room to get the messages that happend in the ↵ | Mark Haines | 2015-09-09 | 1 | -4/+27 |
| | | | | | | | | | | | | room before they left | ||||
| * | | Remove undocumented and unimplemented 'feedback' parameter from the ↵ | Mark Haines | 2015-09-09 | 2 | -19/+3 |
| | | | | | | | | | | | | Client-Server API | ||||
| * | | Allow users that have left the room to view the member list from the point ↵ | Mark Haines | 2015-09-09 | 1 | -36/+0 |
| | | | | | | | | | | | | they left | ||||
| * | | Allow rooms/{roomId}/state for a room that has been left | Mark Haines | 2015-09-09 | 1 | -5/+13 |
| | | | |||||
| * | | Allow room initialSync for users that have left the room, returning a ↵ | Mark Haines | 2015-09-09 | 1 | -9/+76 |
| | | | | | | | | | | | | snapshot of how the room was when they left it | ||||
| * | | Include rooms that a user has left in an initialSync. Include the state and ↵ | Mark Haines | 2015-09-08 | 1 | -6/+21 |
| |/ | | | | | | | messages at the point they left the room | ||||
* / | Allow configuration to ignore invalid SSL certs | Daniel Wagner-Hall | 2015-09-09 | 1 | -2/+1 |
|/ | | | | | This will be useful for sytest, and sytest only, hence the aggressive config key name. | ||||
* | Merge pull request #262 from matrix-org/redactyoself | Daniel Wagner-Hall | 2015-09-02 | 1 | -1/+16 |
|\ | | | | | Allow users to redact their own events | ||||
| * | Merge branch 'develop' into redactyoself | Daniel Wagner-Hall | 2015-08-28 | 3 | -27/+29 |
| |\ | | | | | | | | | | | | | Conflicts: synapse/handlers/_base.py | ||||
| * | | Allow users to redact their own events | Daniel Wagner-Hall | 2015-08-28 | 1 | -2/+17 |
| | | | |||||
* | | | Merge pull request #258 from matrix-org/slowtestsmakemesad | Daniel Wagner-Hall | 2015-08-28 | 2 | -4/+26 |
|\ \ \ | |_|/ |/| | | Swap out bcrypt for md5 in tests | ||||
| * | | Remove unused import | Daniel Wagner-Hall | 2015-08-26 | 1 | -1/+0 |
| | | | |||||
| * | | Swap out bcrypt for md5 in tests | Daniel Wagner-Hall | 2015-08-26 | 2 | -3/+26 |
| |/ | | | | | | | This reduces our ~8 second sequential test time down to ~7 seconds | ||||
* | | Merge branch 'release-v0.10.0' into develop | Mark Haines | 2015-08-28 | 3 | -27/+29 |
|\ \ | |/ |/| | | | | | | | | | Conflicts: synapse/handlers/auth.py synapse/python_dependencies.py synapse/rest/client/v1/login.py | ||||
| * | Remove needless existence checks | Erik Johnston | 2015-08-26 | 1 | -7/+3 |
| | | |||||
| * | Don't loop over all rooms ever in typing.get_new_events_for_user | Erik Johnston | 2015-08-26 | 1 | -2/+2 |
| | | |||||
| * | Do auth checks *before* persisting the event | Erik Johnston | 2015-08-24 | 1 | -16/+16 |
| | | |||||
| * | Don't make pushers handle presence/typing events | Erik Johnston | 2015-08-24 | 1 | -2/+8 |
| | | |||||
| * | Doc string | Erik Johnston | 2015-08-21 | 1 | -0/+6 |
| | | |||||
| * | When logging in fetch user by user_id case insensitively, *unless* there are ↵ | Erik Johnston | 2015-08-21 | 1 | -8/+23 |
| | | | | | | | | multiple case insensitive matches, in which case require the exact user_id | ||||
| * | Don't allow people to register user ids which only differ by case to an ↵ | Erik Johnston | 2015-08-21 | 1 | -2/+2 |
| | | | | | | | | existing one | ||||
* | | Merge erikj/user_dedup to develop | Daniel Wagner-Hall | 2015-08-26 | 2 | -10/+33 |
| | | |||||
* | | Fix up one more reference | Daniel Wagner-Hall | 2015-08-25 | 1 | -1/+0 |
| | | |||||
* | | Remove completely unused concepts from codebase | Daniel Wagner-Hall | 2015-08-25 | 2 | -6/+4 |
| | | | | | | | | | | | | | | | | | | | | Removes device_id and ClientInfo device_id is never actually written, and the matrix.org DB has no non-null entries for it. Right now, it's just cluttering up code. This doesn't remove the columns from the database, because that's fiddly. | ||||
* | | Merge branch 'release-v0.10.0' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-08-21 | 1 | -1/+1 |
|\| | |||||
| * | Add missing param in store.get_state_groups invocation | Erik Johnston | 2015-08-21 | 1 | -1/+1 |
| | | |||||
* | | Fix bad merge | Daniel Wagner-Hall | 2015-08-20 | 1 | -8/+1 |
| | | |||||
* | | Fix indentation | Daniel Wagner-Hall | 2015-08-20 | 1 | -1/+2 |
| | | |||||
* | | Fix flake8 warnings | Daniel Wagner-Hall | 2015-08-20 | 1 | -4/+6 |
| | | |||||
* | | Merge branch 'auth' into refresh | Daniel Wagner-Hall | 2015-08-20 | 1 | -3/+3 |
|\ \ | | | | | | | | | | | | | Conflicts: synapse/handlers/register.py | ||||
| * | | Remove incorrect whitespace | Daniel Wagner-Hall | 2015-08-20 | 1 | -3/+3 |
| | | | |||||
| * | | Merge branch 'develop' into auth | Daniel Wagner-Hall | 2015-08-20 | 6 | -15/+78 |
| |\| | |||||
* | | | Merge branch 'develop' into refresh | Daniel Wagner-Hall | 2015-08-20 | 4 | -3/+46 |
|\ \ \ | | |/ | |/| | | | | | | | Conflicts: synapse/rest/client/v1/login.py | ||||
| * | | Merge pull request #235 from matrix-org/erikj/room_avatars | Erik Johnston | 2015-08-20 | 1 | -2/+3 |
| |\ \ | | | | | | | | | Add m.room.avatar to default power levels. | ||||
| | * | | Add m.room.avatar to default power levels. Change default required power ↵ | Erik Johnston | 2015-08-20 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | levels of such events to 50 | ||||
| * | | | Another use of check_password that got missed in the yield fix | David Baker | 2015-08-20 | 1 | -1/+1 |
| |/ / | |||||
| * | | Merge pull request #233 from matrix-org/erikj/canonical_alias | Erik Johnston | 2015-08-20 | 2 | -1/+18 |
| |\ \ | | | | | | | | | Add server side support for canonical aliases | ||||
| | * | | Check that the canonical room alias actually points to the room | Erik Johnston | 2015-08-20 | 1 | -1/+17 |
| | | | | |||||
| | * | | Add canonical alias to the default power levels | Erik Johnston | 2015-08-19 | 1 | -0/+1 |
| | | | | |||||
| * | | | Merge pull request #211 from matrix-org/email_in_use | Mark Haines | 2015-08-20 | 1 | -0/+25 |
| |\ \ \ | | | | | | | | | | | Changes for unique emails | ||||
| | * | | | Add endpoint that proxies ID server request token and errors if the given ↵ | David Baker | 2015-08-04 | 1 | -0/+25 |
| | | | | | | | | | | | | | | | | | | | | email is in use on this Home Server. | ||||
* | | | | | /tokenrefresh POST endpoint | Daniel Wagner-Hall | 2015-08-20 | 1 | -5/+30 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows refresh tokens to be exchanged for (access_token, refresh_token). It also starts issuing them on login, though no clients currently interpret them. | ||||
* | | | | | Move token generation to auth handler | Daniel Wagner-Hall | 2015-08-20 | 2 | -24/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | | I prefer the auth handler to worry about all auth, and register to call into it as needed, than to smatter auth logic between the two. | ||||
* | | | | | Merge branch 'auth' into refresh | Daniel Wagner-Hall | 2015-08-20 | 1 | -6/+13 |
|\ \ \ \ \ | |/ / / / |/| | | / | | |_|/ | |/| | | |||||
| * | | | Merge branch 'develop' into auth | Daniel Wagner-Hall | 2015-08-19 | 2 | -4/+3 |
| |\ \ \ | | | |/ | | |/| | |||||
| * | | | Re-add whitespace around caveat operators | Daniel Wagner-Hall | 2015-08-19 | 1 | -4/+4 |
| | | | | |||||
| * | | | Remove padding space around caveat operators | Daniel Wagner-Hall | 2015-08-18 | 1 | -4/+4 |
| | | | | |||||
| * | | | Fix some formatting to use tuples | Daniel Wagner-Hall | 2015-08-18 | 1 | -4/+4 |
| | | | | |||||
| * | | | Merge branch 'develop' into auth | Daniel Wagner-Hall | 2015-08-18 | 4 | -49/+136 |
| |\ \ \ | |||||
| * | | | | Issue macaroons as opaque auth tokens | Daniel Wagner-Hall | 2015-08-18 | 1 | -6/+13 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This just replaces random bytes with macaroons. The macaroons are not inspected by the client or server. In particular, they claim to have an expiry time, but nothing verifies that they have not expired. Follow-up commits will actually enforce the expiration, and allow for token refresh. See https://bit.ly/matrix-auth for more information | ||||
* | | | | | Don't get apservice interested rooms in RoomHandler.get_joined_rooms_for_users | Erik Johnston | 2015-08-19 | 3 | -12/+32 |
| |_|/ / |/| | | | |||||
* | | | | Remove an access token log line | Erik Johnston | 2015-08-19 | 1 | -1/+1 |
| | | | | |||||
* | | | | Fix regression where we incorrectly responded with a 200 to /login | Erik Johnston | 2015-08-19 | 1 | -1/+2 |
| | | | | |||||
* | | | | Merge pull request #227 from matrix-org/erikj/receipts_take2 | Erik Johnston | 2015-08-18 | 1 | -2/+0 |
|\ \ \ \ | |_|/ / |/| | | | Re-enable receipts API. | ||||
| * | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-08-17 | 4 | -122/+86 |
| |\ \ \ | | | | | | | | | | | | | | | | erikj/receipts_take2 | ||||
| * \ \ \ | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-08-13 | 1 | -7/+3 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | erikj/receipts_take2 | ||||
| * | | | | | Re-enable receipts | Erik Johnston | 2015-08-13 | 1 | -2/+0 |
| | | | | | | |||||
* | | | | | | Typo | Erik Johnston | 2015-08-18 | 1 | -1/+1 |
| | | | | | | |||||
* | | | | | | None check | Erik Johnston | 2015-08-18 | 1 | -0/+2 |
| | | | | | | |||||
* | | | | | | More helpful variable names | Erik Johnston | 2015-08-18 | 1 | -7/+7 |
| | | | | | | |||||
* | | | | | | Doc strings | Erik Johnston | 2015-08-18 | 1 | -0/+28 |
| | | | | | | |||||
* | | | | | | Remove debug try/catch | Erik Johnston | 2015-08-18 | 1 | -47/+43 |
| | | | | | | |||||
* | | | | | | Implement a batched presence_handler.get_state and use it | Erik Johnston | 2015-08-17 | 2 | -12/+69 |
| |_|/ / / |/| | | | | |||||
* | | | | | Merge pull request #221 from matrix-org/auth | Daniel Wagner-Hall | 2015-08-14 | 4 | -122/+86 |
|\ \ \ \ \ | |_|/ / / |/| | / / | | |/ / | |/| | | Simplify LoginHander and AuthHandler | ||||
| * | | | Merge password checking implementations | Daniel Wagner-Hall | 2015-08-12 | 1 | -20/+15 |
| | | | | |||||
| * | | | Simplify LoginHander and AuthHandler | Daniel Wagner-Hall | 2015-08-12 | 4 | -108/+77 |
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | * Merge LoginHandler -> AuthHandler * Add a bunch of documentation * Improve some naming * Remove unused branches I will start merging the actual logic of the two handlers shortly | ||||
* | | | Remove pointless map | Erik Johnston | 2015-08-13 | 1 | -7/+3 |
| |/ |/| | |||||
* | | Fix _filter_events_for_client | Erik Johnston | 2015-08-12 | 2 | -6/+2 |
| | | |||||
* | | Simplify staggered deferred lists | Erik Johnston | 2015-08-12 | 1 | -2/+2 |
| | | |||||
* | | Use list comprehension instead of filter | Erik Johnston | 2015-08-12 | 2 | -20/+6 |
| | | |||||
* | | Remove debug loggers | Erik Johnston | 2015-08-11 | 2 | -6/+0 |
| | | |||||
* | | Fix application of ACLs | Erik Johnston | 2015-08-11 | 3 | -14/+30 |
| | | |||||
* | | Don't be too enthusiatic with defer.gatherResults | Erik Johnston | 2015-08-07 | 1 | -4/+8 |
| | | |||||
* | | Use dictionary cache to do group -> state fetching | Erik Johnston | 2015-08-05 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/acl_perf | Erik Johnston | 2015-08-04 | 1 | -1/+1 |
|\| | |||||
| * | Add vector.im as trusted ID server | David Baker | 2015-08-03 | 1 | -1/+1 |
| | | |||||
* | | Speed up event filtering (for ACL) logic | Erik Johnston | 2015-08-04 | 3 | -3/+15 |
|/ | |||||
* | Fix v2_alpha registration. Add unit tests. | Kegan Dougal | 2015-07-28 | 1 | -1/+2 |
| | | | | | | | | V2 Registration forced everyone (including ASes) to create a password for a user, when ASes should be able to omit passwords. Also unbreak AS registration in general which checked too early if the given username was claimed by an AS; it was checked before knowing if the AS was the one doing the registration! Add unit tests for AS reg, user reg and disabled_registration flag. | ||||
* | Disable receipts for now | Matrix | 2015-07-22 | 1 | -0/+2 |
| | |||||
* | Don't do any database hits in receipt handling if from_key == to_key | Matrix | 2015-07-18 | 1 | -0/+3 |
| | |||||
* | Merge pull request #199 from matrix-org/erikj/receipts | Erik Johnston | 2015-07-16 | 5 | -5/+224 |
|\ | | | | | Implement read receipts. | ||||
| * | Docs | Erik Johnston | 2015-07-14 | 1 | -3/+8 |
| | | |||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/receipts | Erik Johnston | 2015-07-13 | 5 | -1/+197 |
| |\ | |||||
| * | | Comments | Erik Johnston | 2015-07-13 | 1 | -4/+12 |
| | | | |||||
| * | | Remove spurious comment | Erik Johnston | 2015-07-09 | 1 | -2/+0 |
| | | | |||||
| * | | Integer timestamps | Erik Johnston | 2015-07-09 | 1 | -1/+1 |
| | | | |||||
| * | | Change format of receipts to allow inclusion of data | Erik Johnston | 2015-07-09 | 1 | -8/+16 |
| | | | |||||
| * | | Add a cache to fetching of receipt streams | Erik Johnston | 2015-07-08 | 1 | -24/+7 |
| | | | |||||
| * | | Split receipt events up into one per room | Erik Johnston | 2015-07-08 | 1 | -30/+21 |
| | | | |||||
| * | | Hook up receipts to v1 initialSync | Erik Johnston | 2015-07-08 | 2 | -4/+57 |
| | | | |||||
| * | | Wire together receipts and the notifer/federation | Erik Johnston | 2015-07-07 | 1 | -21/+60 |
| | | | |||||
| * | | Fix various typos | Erik Johnston | 2015-07-07 | 2 | -2/+6 |
| | | | |||||
| * | | Consolidate duplicate code in notifier | Erik Johnston | 2015-07-02 | 3 | -4/+4 |
| | | | |||||
| * | | Add basic ReceiptHandler | Erik Johnston | 2015-07-01 | 1 | -0/+130 |
| | | | |||||
* | | | Merge pull request #203 from matrix-org/erikj/room_creation_presets | Erik Johnston | 2015-07-16 | 1 | -19/+77 |
|\ \ \ | | | | | | | | | Implement presets at room creation | ||||
| * | | | Implement specifying custom initial state for /createRoom | Erik Johnston | 2015-07-16 | 1 | -40/+60 |
| | | | | |||||
| * | | | s/everyone_ops/original_invitees_have_ops/ | Erik Johnston | 2015-07-14 | 1 | -3/+3 |
| | | | | |||||
| * | | | Capitalize contants | Erik Johnston | 2015-07-14 | 1 | -4/+4 |
| | | | | |||||
| * | | | Implement presets at room creation | Erik Johnston | 2015-07-13 | 1 | -22/+60 |
| | |/ | |/| | |||||
* | | | Add back in support for remembering parameters submitted to a ↵ | David Baker | 2015-07-15 | 1 | -2/+4 |
| | | | | | | | | | | | | user-interactive auth call. | ||||
* | | | Merge pull request #193 from matrix-org/erikj/bulk_persist_event | Erik Johnston | 2015-07-14 | 1 | -106/+121 |
|\ \ \ | |/ / |/| | | Add bulk insert events API | ||||
| * | | Add bulk insert events API | Erik Johnston | 2015-06-25 | 1 | -106/+121 |
| |/ | |||||
* | | Merge pull request #196 from matrix-org/erikj/room_history | Erik Johnston | 2015-07-10 | 4 | -1/+168 |
|\ \ | | | | | | | Add ability to restrict room history. | ||||
| * | | Add comment | Erik Johnston | 2015-07-09 | 1 | -0/+4 |
| | | | |||||
| * | | Add m.room.history_visibility to newly created rooms' m.room.power_levels | Erik Johnston | 2015-07-06 | 1 | -0/+1 |
| | | | |||||
| * | | Rename key and values for m.room.history_visibility. Support 'invited' value | Erik Johnston | 2015-07-06 | 3 | -23/+60 |
| | | | |||||
| * | | Filter and redact events that the other server doesn't have permission to ↵ | Erik Johnston | 2015-07-03 | 1 | -0/+44 |
| | | | | | | | | | | | | see during backfill | ||||
| * | | Respect m.room.history_visibility in v2_alpha sync API | Erik Johnston | 2015-07-03 | 1 | -0/+33 |
| | | | |||||
| * | | Make v1 initial syncs respect room history ACL | Erik Johnston | 2015-07-02 | 1 | -17/+34 |
| | | | |||||
| * | | Add basic impl for room history ACL on GET /messages client API | Erik Johnston | 2015-07-02 | 1 | -1/+32 |
| |/ | |||||
* | | code beautify | Muthu Subramanian | 2015-07-08 | 1 | -1/+0 |
| | | |||||
* | | Integrate SAML2 basic authentication - uses pysaml2 | Muthu Subramanian | 2015-07-08 | 1 | -0/+30 |
|/ | |||||
* | Merge pull request #189 from matrix-org/erikj/room_init_sync | Erik Johnston | 2015-06-19 | 2 | -35/+45 |
|\ | | | | | Improve room init sync speed. | ||||
| * | Use another deferred list | Erik Johnston | 2015-06-16 | 1 | -18/+27 |
| | | |||||
| * | Use DeferredList | Erik Johnston | 2015-06-16 | 1 | -9/+9 |
| | | |||||
| * | Don't do unecessary db ops in presence.get_state | Erik Johnston | 2015-06-16 | 2 | -14/+15 |
| | | |||||
* | | Fix bug where synapse was sending AS user queries incorrectly. | Kegan Dougal | 2015-06-17 | 1 | -1/+1 |
|/ | | | | | | Bug introduced in 92b20713d7c6346aeb20dc09963081e472752bb5 which reversed the comparison when checking if a user existed in the users table. Added UTs to prevent this happening again. | ||||
* | Merge pull request #176 from matrix-org/erikj/backfill_auth | Erik Johnston | 2015-06-03 | 1 | -1/+46 |
|\ | | | | | Improve backfill. | ||||
| * | Add a timeout | Erik Johnston | 2015-06-02 | 1 | -0/+1 |
| | | |||||
| * | Handle the fact we might be missing auth events | Erik Johnston | 2015-06-02 | 1 | -15/+19 |
| | | |||||
| * | Add some logging | Erik Johnston | 2015-06-02 | 1 | -0/+5 |
| | | |||||
| * | Correctly look up auth_events | Erik Johnston | 2015-06-02 | 1 | -9/+12 |
| | | |||||
| * | Don't process events we've already processed. Remember to process state events | Erik Johnston | 2015-06-02 | 1 | -0/+22 |
| | | |||||
| * | Correctly pass in auth_events | Erik Johnston | 2015-06-01 | 1 | -1/+11 |
| | | |||||
* | | Merge pull request #180 from matrix-org/erikj/prev_state_context | Erik Johnston | 2015-06-03 | 1 | -1/+3 |
|\ \ | | | | | | | Don't needlessly compute prev_state | ||||
| * | | Don't needlessly compute prev_state | Erik Johnston | 2015-06-03 | 1 | -1/+3 |
| |/ | |||||
* / | Don't needlessly compute context | Erik Johnston | 2015-06-03 | 1 | -2/+4 |
|/ | |||||
* | Merge branch 'develop' into markjh/SYT-8-recaptcha | Mark Haines | 2015-05-29 | 1 | -0/+1 |
|\ | | | | | | | | | Conflicts: synapse/handlers/auth.py | ||||
| * | SYN-395: Fix CAPTCHA, don't double decode json | Erik Johnston | 2015-05-28 | 1 | -2/+3 |
| | | |||||
* | | Add config for setting the recaptcha verify api endpoint, so we can test it ↵ | Mark Haines | 2015-05-29 | 1 | -3/+3 |
|/ | | | | in sytest | ||||
* | Merge pull request #163 from matrix-org/markjh/presence_list_cache | Mark Haines | 2015-05-22 | 1 | -9/+15 |
|\ | | | | | Add a cache for the presence list | ||||
| * | Add a cache for getting the presence list for a user | Mark Haines | 2015-05-22 | 1 | -9/+15 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-05-22 | 3 | -69/+105 |
|\| | | | | | | | erikj/backfill_fixes | ||||
| * | Merge pull request #156 from matrix-org/erikj/join_perf | Mark Haines | 2015-05-22 | 1 | -22/+56 |
| |\ | | | | | | | Make joining #matrix:matrix.org over federation quicker | ||||
| * \ | Merge pull request #157 from matrix-org/markjh/presence_performance | Mark Haines | 2015-05-22 | 1 | -61/+102 |
| |\ \ | | | | | | | | | Improve presence performance in loadtest | ||||
| | * | | Remove spurious TODO comment | Mark Haines | 2015-05-22 | 1 | -1/+0 |
| | | | | |||||
| | * | | Removed unused 'is_visible' method | Mark Haines | 2015-05-20 | 1 | -27/+0 |
| | | | | |||||
| | * | | Clean up the presence_list checking logic a bit | Mark Haines | 2015-05-20 | 1 | -12/+9 |
| | | | | |||||
| | * | | Speed up the get_pagination_rows as well | Mark Haines | 2015-05-18 | 1 | -3/+17 |
| | | | | |||||
| | * | | Cache the most recent serial for each room | Mark Haines | 2015-05-18 | 1 | -6/+22 |
| | | | | |||||
| | * | | Move updating the serial and state of the presence cache into a single function | Mark Haines | 2015-05-18 | 1 | -17/+43 |
| | | | | |||||
| | * | | Merge branch 'notifier_performance' into markjh/presence_performance | Mark Haines | 2015-05-18 | 5 | -14/+28 |
| | |\ \ | |||||
| | * | | | Add more doc string, reduce C+P boilerplate for getting room list | Mark Haines | 2015-05-18 | 1 | -6/+22 |
| | | | | | |||||
| * | | | | Remove unused import | Mark Haines | 2015-05-22 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Make the appservice use 'users_in_room' rather than get_room_members since ↵ | Mark Haines | 2015-05-22 | 1 | -4/+1 |
| | | | | | | | | | | | | | | | | | | | | it is cached | ||||
| * | | | | Merge branch 'master' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-05-22 | 1 | -3/+1 |
| |\ \ \ \ | | |_|/ / | |/| | | | |||||
| | * | | | Add caches for things requested by the pushers | Mark Haines | 2015-05-21 | 1 | -3/+1 |
| | | | | | |||||
* | | | | | Actually fetch state for new backwards extremeties when backfilling. | Erik Johnston | 2015-05-20 | 1 | -61/+103 |
| |_|_|/ |/| | | | |||||
* | | | | Don't apply new room join hack if depth > 5 | Erik Johnston | 2015-05-19 | 1 | -3/+6 |
| | | | | |||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/join_perf | Erik Johnston | 2015-05-19 | 5 | -14/+28 |
|\| | | | |||||
| * | | | Merge branch 'develop' into notifier_performance | Mark Haines | 2015-05-18 | 4 | -49/+233 |
| |\ \ \ | | | |/ | | |/| | |||||
| * | | | Merge branch 'notifier_unify' into notifier_performance | Mark Haines | 2015-05-14 | 2 | -20/+8 |
| |\ \ \ | |||||
| * | | | | Fix v2 sync, update the last_notified_ms only if there was an active listener | Mark Haines | 2015-05-14 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Don't bother checking for updates if the stream token hasn't advanced for a user | Mark Haines | 2015-05-13 | 4 | -13/+27 |
| | | | | | |||||
* | | | | | Do work in parellel when joining a room | Erik Johnston | 2015-05-18 | 1 | -19/+50 |
| |_|/ / |/| | | | |||||
* | | | | More whitespace | Mark Haines | 2015-05-15 | 1 | -0/+1 |
| | | | | |||||
* | | | | Add some missed argument types, cleanup the whitespace a bit | Mark Haines | 2015-05-14 | 1 | -6/+17 |
| | | | | |||||
* | | | | More doc-strings | Mark Haines | 2015-05-14 | 1 | -39/+202 |
| | | | | |||||
* | | | | Remove unused arguments and doc PresenceHandler.push_update_to_clients | Mark Haines | 2015-05-14 | 1 | -12/+8 |
| | | | | |||||
* | | | | Treat setting your display name to the empty string as removing it (SYN-186). | David Baker | 2015-05-14 | 1 | -0/+3 |
| | | | | |||||
* | | | | Disallow whitespace in aliases here too | David Baker | 2015-05-14 | 1 | -0/+5 |
| | | | | |||||
* | | | | Throw error when creating room if alias contains whitespace #SYN-335 | David Baker | 2015-05-14 | 1 | -0/+5 |
| |/ / |/| | | |||||
* | | | Don't talk to yourself when backfilling | Erik Johnston | 2015-05-12 | 1 | -0/+2 |
| | | | |||||
* | | | Revert "Improvement to performance of presence event stream handling" | Mark Haines | 2015-05-12 | 1 | -20/+6 |
|/ / | |||||
* | | Merge pull request #147 from matrix-org/presence-performance | Mark Haines | 2015-05-12 | 1 | -6/+20 |
|\ \ | | | | | | | Improvement to performance of presence event stream handling | ||||
| * | | Use the presence cachemap ordering to early-abort the iteration loop | Paul "LeoNerd" Evans | 2015-05-07 | 1 | -2/+7 |
| | | | |||||
| * | | Store presence cachemap in an ordered dict, so that the newer serials will ↵ | Paul "LeoNerd" Evans | 2015-05-07 | 1 | -4/+13 |
| | | | | | | | | | | | | be at the end | ||||
* | | | Merge pull request #144 from matrix-org/erikj/logging_context | Mark Haines | 2015-05-12 | 8 | -59/+66 |
|\ \ \ | | | | | | | | | Preserving logging contexts | ||||
| * | | | Unwrap defer.gatherResults failures | Erik Johnston | 2015-05-12 | 4 | -6/+9 |
| | | | | |||||
| * | | | Fix up leak. Add warnings. | Erik Johnston | 2015-05-08 | 4 | -21/+33 |
| | | | | |||||
| * | | | PEP8 | Erik Johnston | 2015-05-08 | 1 | -1/+0 |
| | | | | |||||
| * | | | Change the way we do logging contexts so that they survive divergences | Erik Johnston | 2015-05-08 | 3 | -32/+25 |
| |/ / | |||||
* | | | s/backfil/backfill/ | Erik Johnston | 2015-05-12 | 1 | -4/+4 |
| | | | |||||
* | | | Typos everywhere | Erik Johnston | 2015-05-12 | 1 | -1/+1 |
| | | | |||||
* | | | And another typo. | Erik Johnston | 2015-05-12 | 1 | -3/+3 |
| | | | |||||
* | | | Err, gatherResults doesn't take a dict... | Erik Johnston | 2015-05-12 | 1 | -4/+7 |
| | | | |||||
* | | | Handle the case where the other side is unreachable when backfilling | Erik Johnston | 2015-05-12 | 1 | -14/+42 |
| | | | |||||
* | | | Make get_current_token accept a direction parameter, which tells whether the ↵ | Erik Johnston | 2015-05-12 | 2 | -3/+5 |
| | | | | | | | | | | | | source whether we want a token for going 'forwards' or 'backwards' | ||||
* | | | Initial hack at wiring together pagination and backfill | Erik Johnston | 2015-05-11 | 2 | -3/+115 |
|/ / | |||||
* | | revert accidental bcrypt gensalt round reduction from loadtesting | Mark Haines | 2015-05-07 | 1 | -1/+1 |
| | | |||||
* | | pynacl-0.3.0 was released so we can finally start using it directly from pypi | Mark Haines | 2015-05-07 | 1 | -1/+1 |
|/ | |||||
* | That wasn't a deferred | Erik Johnston | 2015-05-01 | 2 | -4/+2 |
| | |||||
* | Remove inlineCallbacks from non-generator | Erik Johnston | 2015-05-01 | 1 | -2/+0 |
| | |||||
* | Remove some run_on_reactors | Erik Johnston | 2015-05-01 | 1 | -2/+0 |
| | |||||
* | More missed get_user_by_id API changes | David Baker | 2015-05-01 | 1 | -1/+1 |
| | |||||
* | One too many lens | Erik Johnston | 2015-05-01 | 1 | -1/+1 |
| | |||||
* | Change public room list to use defer.gatherResults | Erik Johnston | 2015-05-01 | 1 | -5/+13 |
| | |||||
* | This api now no longer returns an array | David Baker | 2015-05-01 | 1 | -1/+1 |
| | |||||
* | Make simple query rather than long one and then throw away half the results | Erik Johnston | 2015-04-30 | 1 | -2/+1 |
| | |||||
* | Fix off by one in presence token handling | Erik Johnston | 2015-04-29 | 1 | -1/+1 |
| | |||||
* | Accept camelcase + underscores in binding too | David Baker | 2015-04-29 | 1 | -2/+17 |
| | |||||
* | Fix includes | David Baker | 2015-04-29 | 1 | -1/+2 |
| | |||||
* | Accept both camelcase and underscore threepid creds for transition | David Baker | 2015-04-29 | 1 | -4/+19 |
| | |||||
* | Ensure we never miss any presence updates | Erik Johnston | 2015-04-28 | 1 | -1/+7 |
| | |||||
* | Fix typo | Erik Johnston | 2015-04-28 | 1 | -1/+1 |
| | |||||
* | Ensure the serial returned by presence is always an integer | Erik Johnston | 2015-04-28 | 1 | -3/+3 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into postgres | Erik Johnston | 2015-04-28 | 6 | -117/+434 |
|\ | |||||
| * | Merge pull request #126 from matrix-org/csauth | Mark Haines | 2015-04-28 | 5 | -116/+432 |
| |\ | | | | | | | Client / Server Auth Refactor | ||||
| | * | Add commentage. | David Baker | 2015-04-27 | 1 | -0/+4 |
| | | | |||||
| | * | Change to https for ID server communication | David Baker | 2015-04-24 | 1 | -3/+2 |
| | | | |||||
| | * | Use underscores instead of camelcase for id server stuff | David Baker | 2015-04-24 | 2 | -12/+12 |
| | | | |||||
| | * | pep8 | David Baker | 2015-04-24 | 1 | -2/+2 |
| | | | |||||
| | * | Merge branch 'develop' into csauth | David Baker | 2015-04-24 | 2 | -11/+48 |
| | |\ | | | | | | | | | | | | | | | | | Conflicts: synapse/http/server.py | ||||
| | * | | Remove ultimately unused feature of saving params from the first call in the ↵ | David Baker | 2015-04-23 | 1 | -2/+10 |
| | | | | | | | | | | | | | | | | session: it's probably too open to abuse. | ||||
| | * | | Password reset, finally. | David Baker | 2015-04-17 | 1 | -1/+7 |
| | | | | |||||
| | * | | pep8 | David Baker | 2015-04-17 | 3 | -8/+5 |
| | | | | |||||
| | * | | make add3pid servlet work | David Baker | 2015-04-17 | 1 | -0/+7 |
| | | | | |||||
| | * | | Merge branch 'develop' into csauth | David Baker | 2015-04-17 | 5 | -48/+93 |
| | |\ \ | |||||
| | * | | | Need to yield the username check, otherwise very very weird things happen. | David Baker | 2015-04-17 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | Oops, left debugging in. | David Baker | 2015-04-16 | 1 | -6/+0 |
| | | | | | |||||
| | * | | | Return user ID in use error straight away | David Baker | 2015-04-16 | 3 | -64/+65 |
| | | | | | |||||
| | * | | | Dummy login so we can do the first POST request to get login flows without ↵ | David Baker | 2015-04-15 | 2 | -3/+9 |
| | | | | | | | | | | | | | | | | | | | | it just succeeding | ||||
| | * | | | Regstration with email in v2 | David Baker | 2015-04-15 | 4 | -22/+116 |
| | | | | | |||||
| | * | | | Completely replace fallback auth for C/S V2: | David Baker | 2015-04-01 | 1 | -21/+77 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Now only the auth part goes to fallback, not the whole operation * Auth fallback is a normal API endpoint, not a static page * Params like the recaptcha pubkey can just live in the config Involves a little engineering on JsonResource so its servlets aren't always forced to return JSON. I should document this more, in fact I'll do that now. | ||||
| | * | | | pep8 | David Baker | 2015-03-31 | 1 | -1/+1 |
| | | | | | |||||
| | * | | | New registration for C/S API v2. Only ReCAPTCHA working currently. | David Baker | 2015-03-30 | 2 | -14/+87 |
| | | | | | |||||
| | * | | | Delete pushers when changing password | David Baker | 2015-03-26 | 1 | -0/+3 |
| | | | | | |||||
| | * | | | pep8 / pyflakes | David Baker | 2015-03-23 | 1 | -5/+1 |
| | | | | | |||||
| | * | | | Implement password changing (finally) along with a start on making ↵ | David Baker | 2015-03-23 | 3 | -44/+116 |
| | | | | | | | | | | | | | | | | | | | | client/server auth more general. | ||||
| * | | | | Merge branch 'develop' into invite_power_level | Paul "LeoNerd" Evans | 2015-04-27 | 1 | -7/+44 |
| |\ \ \ \ | | | |_|/ | | |/| | | |||||
| * | | | | Create an 'invite' powerlevel when making new rooms | Paul "LeoNerd" Evans | 2015-04-21 | 1 | -1/+2 |
| | | | | | |||||
* | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into postgres | Erik Johnston | 2015-04-27 | 2 | -11/+48 |
|\ \ \ \ \ | | |/ / / | |/| | | | |||||
| * | | | | Remove users from the remote_offline_serials list (and clean up empty ↵ | Paul "LeoNerd" Evans | 2015-04-23 | 1 | -1/+11 |
| | | | | | | | | | | | | | | | | | | | | elements) when they go online again | ||||
| * | | | | Don't let the remote offline serial list grow arbitrarily large | Paul "LeoNerd" Evans | 2015-04-23 | 1 | -0/+5 |
| | | | | | |||||
| * | | | | Store a list of the presence serial number at which remote users went ↵ | Paul "LeoNerd" Evans | 2015-04-23 | 1 | -0/+21 |
| | | | | | | | | | | | | | | | | | | | | offline, so that when we delete them from the cachemap, we can still synthesize OFFLINE events for them (SYN-261) | ||||
| * | | | | Generate presence event-stream JSON structures directly | Paul "LeoNerd" Evans | 2015-04-23 | 1 | -8/+9 |
| |/ / / | |||||
| * | / | SYN-350: Don't ratelimit the individual events generated during room creation | Mark Haines | 2015-04-21 | 1 | -4/+4 |
| | |/ | |/| | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into postgres | Erik Johnston | 2015-04-17 | 1 | -2/+14 |
|\| | | |||||
| * | | Filter typing nofication events to only those rooms the requesting user is a ↵ | Paul "LeoNerd" Evans | 2015-04-15 | 1 | -2/+14 |
| | | | | | | | | | | | | member of (SYN-328) | ||||
| * | | Have TypingNotificationEventSource.get_new_events_for_user() return a ↵ | Paul "LeoNerd" Evans | 2015-04-15 | 1 | -1/+1 |
| | | | | | | | | | | | | deferred, for consistency and extensibility | ||||
* | | | PEP8 | Erik Johnston | 2015-04-16 | 1 | -1/+0 |
| | | | |||||
* | | | Don't wait on federation_handler.handle_new_event | Erik Johnston | 2015-04-15 | 1 | -3/+7 |
| | | | |||||
* | | | Remove run_on_reactor()s | Erik Johnston | 2015-04-15 | 1 | -4/+0 |
| | | | |||||
* | | | Do more parellelization for initialSync | Erik Johnston | 2015-04-15 | 1 | -7/+11 |
| | | | |||||
* | | | Parellelize initial sync | Erik Johnston | 2015-04-15 | 1 | -2/+8 |
| | | | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-04-08 | 1 | -4/+36 |
|\| | |