Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2017-02-14 | Make kick & ban reasons work | David Baker | 1 | -0/+5 | |
We somehow specced APIs with reason strings, preserve the content in the events and even have the clients display them, but failed to actually pass the parameter through to the event content. | |||||
2017-02-14 | Fix bugs in the /keys/changes api | Richard van der Hoff | 3 | -11/+58 | |
* `get_forward_extremeties_for_room` takes a numeric `stream_ordering`. We were passing a `RoomStreamToken`, which meant that it returned the *current* extremities, rather than those corresponding to the `from_token`. However: * `get_state_ids_for_events` required a second ('types') parameter; this meant that a `TypeError` was thrown and we ended up acting as though there was *no* prev state. * `get_state_ids_for_events` actually returns a map from event_id to state dictionary - just looking up the state keys in it again meant that we acted as though there was no prev state. We now check if each member's state has changed since *any* of the extremities. Also add/fix some comments. | |||||
2017-02-14 | Less aggressive timers | Erik Johnston | 1 | -2/+2 | |
2017-02-14 | Aggregate event push actions | Erik Johnston | 5 | -57/+340 | |
2017-02-13 | Cache get_presence storage | Erik Johnston | 3 | -5/+15 | |
2017-02-13 | Ordering is important on errbacks so add the cleanup func before creating an ↵ | Kegan Dougal | 1 | -7/+7 | |
ObservableDeferred | |||||
2017-02-13 | Pop the txn from the map in case it has already been deleted somehow | Kegan Dougal | 1 | -1/+1 | |
2017-02-13 | Don't cache errors at all | Kegan Dougal | 1 | -10/+9 | |
2017-02-13 | http txns: Do not cache error responses | Kegan Dougal | 1 | -1/+10 | |
Previously we did. This meant that, amongst other errors, rate-limiting errors would be cached and prevent messages with that txn ID being sent. | |||||
2017-02-13 | Add db functions needed for room initial sync to slave | Mark Haines | 2 | -0/+10 | |
2017-02-13 | Use signedjson.sign instead of syutil.crypto.jsonsign | Andrew Shadura | 1 | -1/+1 | |
Functions from syutil.crypto.jsonsign are now available in signedjson, so use that instead of depending on syutil. Signed-off-by: Andrew Shadura <andrew@shadura.me> | |||||
2017-02-11 | Fix typo in config comments. | Tyler Smith | 1 | -1/+1 | |
Signed-off-by: Tyler Smith <tylersmith.me@gmail.com> | |||||
2017-02-09 | Update version and changelog github/release-v0.19.1 release-v0.19.1 | Erik Johnston | 2 | -1/+8 | |
2017-02-08 | Update CAPTCHA_SETUP.rst X-Forwarded-For docs | Daniel Dent | 1 | -3/+2 | |
It looks like CAPTCHA_SETUP.rst contains information relevant to an old version of Synapse, but Synapse now has a different approach to configuring use of the X-Forwarded-For header. | |||||
2017-02-08 | Make None check explicit | Erik Johnston | 1 | -1/+1 | |
2017-02-08 | Ignore new rejected events when working out forward extremeties. | Erik Johnston | 1 | -9/+6 | |
2017-02-08 | Remove a few aspirational but unused constants | David Baker | 1 | -3/+0 | |
from the Kegan era | |||||
2017-02-04 | Bump changelog and version github/release-v0.19.0 release-v0.19.0 | Erik Johnston | 2 | -1/+7 | |
2017-02-02 | Bump changelog and version v0.19.0-rc4 | Erik Johnston | 2 | -2/+8 | |
2017-02-02 | Bump cache sizes for common membership queries | Erik Johnston | 1 | -3/+3 | |
2017-02-02 | Measure new device list stuff | Erik Johnston | 2 | -1/+6 | |
2017-02-02 | Bump version and changelog v0.19.0-rc3 | Erik Johnston | 2 | -5/+14 | |
2017-02-02 | Use new get_users_who_share_room_with_user | Erik Johnston | 1 | -11/+13 | |
2017-02-02 | Fix replication | Erik Johnston | 1 | -0/+3 | |
2017-02-02 | sets aren't JSON serializable | Erik Johnston | 1 | -1/+1 | |
2017-02-02 | Comment | Erik Johnston | 1 | -1/+4 | |
2017-02-02 | Use stream_ordering_to_exterm for /keys/changes | Erik Johnston | 1 | -9/+9 | |
2017-02-02 | Comment | Erik Johnston | 1 | -0/+2 | |
2017-02-02 | Comment | Erik Johnston | 1 | -1/+2 | |
2017-02-02 | Make presence.get_new_events a bit faster | Erik Johnston | 4 | -29/+33 | |
We do this by caching the set of users a user shares rooms with. | |||||
2017-02-02 | admin,storage: added more administrator functionalities | Morteza Araby | 5 | -3/+502 | |
administrators can now: - Set displayname of users - Update user avatars - Search for users by user_id - Browse all users in a paginated API - Reset user passwords - Deactivate users Helpers for doing paginated queries has also been added to storage Signed-off-by: Morteza Araby <morteza.araby@ericsson.com> | |||||
2017-02-02 | Update changelog v0.19.0-rc2 | Erik Johnston | 2 | -1/+7 | |
2017-02-02 | Update changelog v0.19.0-rc1 | Erik Johnston | 1 | -1/+1 | |
2017-02-02 | Fix email push in pusher worker | Erik Johnston | 8 | -57/+70 | |
This was broken when device list updates were implemented, as Mailer could no longer instantiate an AuthHandler due to a dependency on federation sending. | |||||
2017-02-02 | Bump version and changelog | Erik Johnston | 2 | -1/+49 | |
2017-02-01 | Be more agressive about purging old room event_push_actions | Erik Johnston | 1 | -3/+8 | |
2017-02-01 | Doc args | Erik Johnston | 2 | -0/+11 | |
2017-02-01 | Comment | Erik Johnston | 1 | -0/+3 | |
2017-02-01 | Include newly joined users in /keys/changes API | Erik Johnston | 3 | -5/+43 | |
2017-02-01 | Correctly raise exceptions for ratelimitng. Ratelimit on 401 | Erik Johnston | 2 | -4/+6 | |
2017-02-01 | Wake sync up for device changes | Erik Johnston | 1 | -1/+2 | |
2017-02-01 | Comment | Erik Johnston | 1 | -1/+1 | |
2017-02-01 | Add m.room.member type to query | Erik Johnston | 1 | -1/+1 | |
2017-02-01 | Add a small cache get_all_new_events | Erik Johnston | 1 | -0/+2 | |
2017-02-01 | Up get_latest_event_ids_in_room cache | Erik Johnston | 1 | -1/+1 | |
2017-02-01 | Comment | Erik Johnston | 1 | -1/+12 | |
2017-02-01 | Implement /keys/changes | Erik Johnston | 2 | -0/+54 | |
2017-01-31 | Remote membership tests for replication | Erik Johnston | 1 | -43/+0 | |
This is because it now relies of the caches stream, which only works on postgres. We are trying to test with sqlite. | |||||
2017-01-31 | Only invalidate membership caches based on the cache stream | Erik Johnston | 4 | -41/+5 | |
Before we completely invalidated get_users_in_room whenever we updated any current_state_events table. This was way too aggressive. | |||||
2017-01-31 | Remove explicit < 400 check as apparently this is confusing | Erik Johnston | 1 | -3/+1 | |
2017-01-31 | Add an index to make membership queries faster | Erik Johnston | 3 | -1/+26 | |
2017-01-31 | Comment | Erik Johnston | 1 | -0/+2 | |
2017-01-31 | Comment | Erik Johnston | 1 | -0/+4 | |
2017-01-31 | Better handle 404 response for federation /send/ | Erik Johnston | 2 | -2/+14 | |
2017-01-31 | Fix deletion of old sent devices correctly | Erik Johnston | 1 | -5/+17 | |
2017-01-31 | Only fetch with row ts and count > 1 | Erik Johnston | 1 | -1/+2 | |
2017-01-31 | Fix clearing out old device list outbound pokes | Erik Johnston | 1 | -2/+7 | |
2017-01-30 | Stream cache invalidations for room membership storage functions | Erik Johnston | 1 | -2/+6 | |
2017-01-30 | Don't have such a large cache | Erik Johnston | 1 | -1/+1 | |
2017-01-30 | Fix unit tests | Erik Johnston | 3 | -7/+15 | |
2017-01-30 | Use DB cache of joined users for presence | Erik Johnston | 1 | -3/+3 | |
2017-01-30 | Noop device key changes if they're the same | Erik Johnston | 3 | -15/+45 | |
2017-01-30 | Fix query | Erik Johnston | 1 | -1/+1 | |
2017-01-30 | Use get_users_in_room and declare it iterable | Erik Johnston | 2 | -2/+2 | |
2017-01-30 | Rename func | Erik Johnston | 2 | -2/+2 | |
2017-01-30 | Remove debug logging | Erik Johnston | 1 | -1/+0 | |
2017-01-30 | Clear out old destination pokes. | Erik Johnston | 1 | -0/+42 | |
2017-01-30 | Always use the latest stream_id, sent or unsent | Erik Johnston | 1 | -4/+4 | |
2017-01-27 | Add ts column to device_lists_outbound_pokes | Erik Johnston | 2 | -1/+5 | |
2017-01-27 | Hook device list updates to replication | Erik Johnston | 7 | -29/+159 | |
2017-01-27 | Comment | Erik Johnston | 1 | -0/+2 | |
2017-01-27 | Comment | Erik Johnston | 1 | -0/+2 | |
2017-01-27 | SQL param ordering | Erik Johnston | 1 | -1/+1 | |
2017-01-27 | User if rather than for | Erik Johnston | 1 | -1/+4 | |
2017-01-27 | Better name | Erik Johnston | 2 | -2/+4 | |
2017-01-27 | Remove unused param | Erik Johnston | 1 | -2/+1 | |
2017-01-26 | Fix unit tests | Erik Johnston | 1 | -0/+17 | |
2017-01-26 | Fix on sqlite: use left rather than outer join | Erik Johnston | 1 | -3/+3 | |
2017-01-26 | Handle users leaving rooms | Erik Johnston | 2 | -1/+24 | |
2017-01-26 | Add comments | Erik Johnston | 4 | -7/+61 | |
2017-01-26 | Implement device key caching over federation | Erik Johnston | 13 | -57/+381 | |
2017-01-25 | Fix up sending of m.device_list_update edus | Erik Johnston | 3 | -80/+82 | |
2017-01-25 | Add basic implementation of local device list changes | Erik Johnston | 14 | -39/+348 | |
2017-01-24 | Don't clobber a displayname or avatar_url if provided by an m.room.member event | Paul "LeoNerd" Evans | 1 | -2/+4 | |
2017-01-23 | Typo | Erik Johnston | 1 | -1/+1 | |
2017-01-23 | Refactor to calculate state delta outside transaction | Erik Johnston | 1 | -87/+118 | |
2017-01-20 | Comments | Erik Johnston | 1 | -8/+19 | |
2017-01-20 | Insert delta of current_state_events to be more efficient | Erik Johnston | 5 | -119/+58 | |
2017-01-20 | Spelling | Erik Johnston | 1 | -1/+1 | |
2017-01-20 | Update all call sites after rename | Erik Johnston | 1 | -1/+1 | |
2017-01-20 | Comments | Erik Johnston | 1 | -0/+11 | |
2017-01-20 | Calculate the forward extremeties once | Erik Johnston | 2 | -126/+92 | |
2017-01-20 | fix doc for purge_media_cache | Richard van der Hoff | 1 | -5/+3 | |
purge_media_cache takes its arg from a query-param, not the POST body, for some reason. | |||||
2017-01-20 | Derive current_state_events from state groups | Erik Johnston | 4 | -99/+138 | |
2017-01-20 | Make worker listener config backwards compat | Erik Johnston | 1 | -0/+10 | |
2017-01-19 | Added default config for turn username and password | Marvin Steadfast | 1 | -0/+5 | |
2017-01-19 | Added username and password for turn server | Marvin Steadfast | 2 | -10/+20 | |
It makes it possible to use a turn server that needs a username and password instead of a token. | |||||
2017-01-18 | Update LruCache size estimate on clear | Erik Johnston | 1 | -0/+2 | |
2017-01-18 | Lowercase all email addresses before querying db | David Baker | 2 | -1/+12 | |
Since we store all emails in the DB in lowercase (https://github.com/matrix-org/synapse/pull/1170) | |||||
2017-01-17 | Lower loading events log to DEBUG | Erik Johnston | 1 | -2/+2 | |
2017-01-17 | Lower the not retrying host log line to debug | Erik Johnston | 1 | -1/+1 | |
2017-01-17 | Change resolve_state_groups call site logging to DEBUG | Erik Johnston | 3 | -6/+6 | |
2017-01-17 | Measure metrics of string_cache | Erik Johnston | 1 | -3/+8 | |
2017-01-17 | PEP8 | Erik Johnston | 1 | -1/+1 | |
2017-01-17 | Only construct sets when necessary | Mark Haines | 1 | -14/+19 | |
2017-01-17 | Use better names | Erik Johnston | 1 | -9/+7 | |
2017-01-17 | Fix typo in return type | Erik Johnston | 1 | -3/+2 | |
2017-01-17 | Use better variable name | Erik Johnston | 1 | -3/+3 | |
2017-01-17 | Get state at event rather than for room in push | Erik Johnston | 1 | -1/+1 | |
2017-01-17 | Correctly handle case of rejected events in state res | Erik Johnston | 1 | -10/+16 | |
2017-01-17 | Check event is in state_map | Erik Johnston | 1 | -2/+7 | |
2017-01-17 | Fix couple of federation state bugs | Erik Johnston | 2 | -3/+5 | |
2017-01-17 | Optimise state resolution | Erik Johnston | 7 | -72/+229 | |
2017-01-17 | Tidy up test | Erik Johnston | 1 | -12/+12 | |