Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-11-17 | Bump changelog and version | Erik Johnston | 2 | -1/+6 | |
2015-11-17 | Always check guest = true in macaroons | Steven Hammerton | 1 | -1/+2 | |
2015-11-16 | Run sytests on jenkins | Daniel Wagner-Hall | 1 | -1/+22 | |
2015-11-16 | Output results files on jenkins | Daniel Wagner-Hall | 2 | -4/+18 | |
Outputs: * results.xml * coverage.xml * violations.flake8.log | |||||
2015-11-13 | Don't complain if /make_join response lacks 'prev_state' list (SYN-517) | Paul "LeoNerd" Evans | 1 | -0/+6 | |
2015-11-13 | Pull out jenkins script into a checked in script | Daniel Wagner-Hall | 3 | -1/+9 | |
2015-11-13 | Allow guests to /room/:room_id/{join,leave} | Daniel Wagner-Hall | 1 | -3/+14 | |
2015-11-13 | Bump version and change log v0.11.0-rc2 | Erik Johnston | 2 | -1/+9 | |
2015-11-13 | Implementation of state rollback in /sync | Richard van der Hoff | 2 | -4/+69 | |
Implementation of SPEC-254: roll back the state dictionary to how it looked at the start of the timeline. Merged PR https://github.com/matrix-org/synapse/pull/373 | |||||
2015-11-13 | Fix a few race conditions in the state calculation | Richard van der Hoff | 2 | -60/+77 | |
Be a bit more careful about how we calculate the state to be returned by /sync. In a few places, it was possible for /sync to return slightly later state than that represented by the next_batch token and the timeline. In particular, the following cases were susceptible: * On a full state sync, for an active room * During a per-room incremental sync with a timeline gap * When the user has just joined a room. (Refactor check_joined_room to make it less magical) Also, use store.get_state_for_events() (and thus the existing stategroups) to calculate the state corresponding to a particular sync position, rather than state_handler.compute_event_context(), which recalculates from first principles (and tends to miss some state). Merged from PR https://github.com/matrix-org/synapse/pull/372 | |||||
2015-11-13 | Make handlers.sync return a state dictionary, instead of an event list. | Richard van der Hoff | 2 | -32/+40 | |
Basically this moves the process of flattening the existing dictionary into a list up to rest.client.*, instead of doing it in handlers.sync. This simplifies a bit of the code in handlers.sync, but it is also going to be somewhat beneficial in the next stage of my hacking on SPEC-254. Merged from PR #371 | |||||
2015-11-13 | Update some comments | Richard van der Hoff | 4 | -14/+98 | |
Add a couple of type annotations, docstrings, and other comments, in the interest of keeping track of what types I have. Merged from pull request #370. | |||||
2015-11-12 | Return non-room events from guest /events calls | Daniel Wagner-Hall | 2 | -3/+20 | |
2015-11-12 | Fix missing profile data in federation joins | Erik Johnston | 3 | -6/+13 | |
There was a regression where we stopped including profile data in initial joins for rooms joined over federation. | |||||
2015-11-12 | Trailing whitespace | Erik Johnston | 1 | -1/+1 | |
2015-11-12 | Expand comment | Erik Johnston | 1 | -0/+6 | |
2015-11-12 | Fix an issue with ignoring power_level changes on divergent graphs | Richard van der Hoff | 2 | -5/+104 | |
Changes to m.room.power_levels events are supposed to be handled at a high priority; however a typo meant that the relevant bit of code was never executed, so they were handled just like any other state change - which meant that a bad person could cause room state changes by forking the graph from a point in history when they were allowed to do so. | |||||
2015-11-12 | Comment | Erik Johnston | 1 | -0/+2 | |
2015-11-12 | Fix SQL syntax | Erik Johnston | 1 | -2/+3 | |
2015-11-12 | Tweak guest access permissions | Daniel Wagner-Hall | 1 | -10/+11 | |
* Allow world_readable rooms to be read by guests who have joined and left * Allow regular users to access world_readable rooms | |||||
2015-11-12 | Use a (hopefully) more efficient SQL query for doing recency based room search | Erik Johnston | 1 | -4/+6 | |
2015-11-12 | Fix bug where assumed dict was namedtuple | Erik Johnston | 1 | -1/+1 | |
2015-11-12 | Allow guests to set their display names | Daniel Wagner-Hall | 1 | -1/+1 | |
Depends: https://github.com/matrix-org/synapse/pull/363 Tests in https://github.com/matrix-org/sytest/pull/66 | |||||
2015-11-12 | Consider joined guest users as joined users | Daniel Wagner-Hall | 1 | -12/+21 | |
Otherwise they're inconveniently allowed to write events to the room but not to read them from the room. | |||||
2015-11-12 | Fix race creating directories | Daniel Wagner-Hall | 1 | -1/+5 | |
2015-11-11 | Update date v0.11.0-rc1 | Erik Johnston | 1 | -1/+1 | |
2015-11-11 | Update CHANGES | Erik Johnston | 1 | -1/+1 | |
2015-11-11 | Allow guests to access room context API | Daniel Wagner-Hall | 2 | -5/+11 | |
2015-11-11 | Fix param style to work on both sqlite and postgres | Mark Haines | 1 | -2/+6 | |
2015-11-11 | Allow guest access to room initialSync | Daniel Wagner-Hall | 2 | -24/+34 | |
2015-11-11 | Snakes not camels | Steven Hammerton | 1 | -5/+5 | |
2015-11-11 | Fix the background update | Mark Haines | 3 | -17/+19 | |
2015-11-11 | Minor review fixes | Steven Hammerton | 2 | -17/+14 | |
2015-11-11 | Share more code between macaroon validation | Steven Hammerton | 2 | -57/+17 | |
2015-11-10 | Return world_readable and guest_can_join in /publicRooms | Daniel Wagner-Hall | 4 | -29/+71 | |
2015-11-10 | Allow guest users to join and message rooms | Daniel Wagner-Hall | 7 | -12/+92 | |
2015-11-10 | Use a background task to update databases to use the full text search | Mark Haines | 2 | -80/+28 | |
2015-11-10 | Test for background updates | Mark Haines | 2 | -0/+79 | |
2015-11-10 | Run the background updates when starting synapse. | Mark Haines | 4 | -10/+67 | |
2015-11-09 | Add background update task for reindexing event search | Mark Haines | 1 | -2/+96 | |
2015-11-09 | Don't fiddle with results returned by event sources | Richard van der Hoff | 1 | -4/+12 | |
Overwriting hashes returned by other methods is poor form. Fixes: SYN-516 | |||||
2015-11-09 | Get display name from identity server, not client | Daniel Wagner-Hall | 2 | -7/+4 | |
2015-11-09 | Add storage module for tracking background updates. | Mark Haines | 2 | -0/+231 | |
The progress for each background update is stored as a JSON blob in the database. Each background update is broken up into separate batches. The batch size is automatically tuned to try avoid blocking single threaded databases for too long. | |||||
2015-11-09 | Add a couple of unit tests for room/<x>/messages | Richard van der Hoff | 2 | -1/+57 | |
... merely because I was trying to figure out how it worked, and couldn't. | |||||
2015-11-09 | SYN-513: Include updates for rooms that have had all their tags deleted | Mark Haines | 2 | -2/+2 | |
2015-11-08 | fix comedy important missing comma breaking recent-ordered FTS on sqlite | Matthew Hodgson | 1 | -1/+1 | |
2015-11-06 | add a key existence check to tags_by_room to avoid /events 500'ing when ↵ | Matthew Hodgson | 1 | -1/+2 | |
testing against vector | |||||
2015-11-06 | Remove accidentally added ID column | Daniel Wagner-Hall | 1 | -1/+0 | |
2015-11-06 | remove references to matrix.org/beta | Matthew Hodgson | 1 | -7/+7 | |
2015-11-06 | Updates to fallback CAS login to do new token login | Steven Hammerton | 1 | -26/+12 | |
2015-11-05 | Remove anonymous access, since its not ready yet | Erik Johnston | 1 | -2/+1 | |
2015-11-05 | Add PR | Erik Johnston | 1 | -1/+1 | |
2015-11-05 | Be explicit about what we're doing | Erik Johnston | 1 | -1/+1 | |
2015-11-05 | Remove redundant test | Erik Johnston | 1 | -1/+0 | |
2015-11-05 | Increment by one, not five | Erik Johnston | 1 | -1/+1 | |
2015-11-05 | Bump changelog and version number | Erik Johnston | 2 | -1/+18 | |
2015-11-05 | Exchange 3pid invites for m.room.member invites | Daniel Wagner-Hall | 10 | -180/+230 | |
2015-11-05 | Fix tox config after fa1cf5ef34 | Daniel Wagner-Hall | 1 | -3/+4 | |
2015-11-05 | COMMENTS | Erik Johnston | 1 | -4/+26 | |
2015-11-05 | Error handling | Erik Johnston | 1 | -1/+8 | |
2015-11-05 | Implement basic pagination for search results | Erik Johnston | 3 | -50/+86 | |
2015-11-05 | Open up /events to anonymous users for room events only | Daniel Wagner-Hall | 20 | -82/+299 | |
Squash-merge of PR #345 from daniel/anonymousevents | |||||
2015-11-05 | Allow hs to do CAS login completely and issue the client with a login token ↵ | Steven Hammerton | 3 | -5/+218 | |
that can be redeemed for the usual successful login response | |||||
2015-11-04 | Add service URL to CAS config | Steven Hammerton | 1 | -0/+3 | |
2015-11-04 | Implement order and group by | Erik Johnston | 2 | -17/+205 | |
2015-11-04 | Allow guests to register and call /events?room_id= | Daniel Wagner-Hall | 33 | -167/+272 | |
This follows the same flows-based flow as regular registration, but as the only implemented flow has no requirements, it auto-succeeds. In the future, other flows (e.g. captcha) may be required, so clients should treat this like the regular registration flow choices. | |||||
2015-11-04 | Remove fields that are both unspecified and unused from the filter checks, ↵ | Mark Haines | 1 | -18/+2 | |
check the right top level definitions in the filter | |||||
2015-11-04 | Remove the LockManager class because it wasn't being used | Mark Haines | 4 | -189/+0 | |
2015-11-03 | Don't rearrange transaction_queue | Erik Johnston | 1 | -12/+11 | |
2015-11-03 | Fix broken cache for getting retry times. This meant we retried remote ↵ | Erik Johnston | 2 | -55/+40 | |
destinations way more frequently than we should | |||||
2015-11-03 | That TODO was done | Mark Haines | 1 | -1/+0 | |
2015-11-03 | Spell "deferred" more correctly | Mark Haines | 1 | -1/+1 | |
2015-11-02 | Include read receipts in v2 sync | Mark Haines | 1 | -15/+30 | |
2015-11-02 | Retry dead servers a lot less often | Erik Johnston | 2 | -4/+13 | |
2015-11-02 | Include room tags in v2 /sync | Mark Haines | 3 | -11/+70 | |
2015-11-02 | Remove more unused parameters | Daniel Wagner-Hall | 6 | -13/+2 | |
2015-11-02 | Store room tag content and return the content in the m.tag event | Mark Haines | 4 | -22/+41 | |
2015-11-02 | Remove unused arguments and code | Daniel Wagner-Hall | 3 | -29/+5 | |
2015-10-30 | Support clients supplying older tokens, fix short poll test | Mark Haines | 2 | -3/+3 | |
2015-10-30 | Include tags in v1 room initial sync | Mark Haines | 1 | -0/+11 | |
2015-10-30 | Add missing column | Daniel Wagner-Hall | 1 | -1/+1 | |
2015-10-30 | Include room tags v1 /initialSync | Mark Haines | 1 | -0/+12 | |
2015-10-30 | Update the other place check_joined_room is called | Mark Haines | 3 | -2/+4 | |
2015-10-29 | Don't mark newly joined room timelines as limited in an incremental sync | Mark Haines | 1 | -3/+5 | |
2015-10-29 | Make search API honour limit set in filter | Erik Johnston | 1 | -0/+3 | |
2015-10-29 | Inform the client of new room tags using v1 /events | Mark Haines | 6 | -14/+91 | |
2015-10-28 | Optionally return event contexts with search results | Erik Johnston | 1 | -1/+52 | |
2015-10-28 | Fix pyflakes errors | Mark Haines | 2 | -3/+5 | |
2015-10-28 | Add APIs for adding and removing tags from rooms | Mark Haines | 5 | -0/+320 | |
2015-10-28 | Docs | Erik Johnston | 2 | -0/+39 | |
2015-10-28 | Add room context api | Erik Johnston | 4 | -2/+190 | |
2015-10-26 | Implement full_state incremental sync | Richard van der Hoff | 2 | -19/+38 | |
A hopefully-complete implementation of the full_state incremental sync, as specced at https://github.com/matrix-org/matrix-doc/pull/133. This actually turns out to be a relatively simple modification to the initial sync implementation. | |||||
2015-10-26 | Fix a 500 error resulting from empty room_ids | Richard van der Hoff | 2 | -3/+8 | |
POST /_matrix/client/api/v1/rooms//send/a.b.c gave a 500 error, because we assumed that rooms always had at least one character. | |||||
2015-10-26 | Use correct service url | Erik Johnston | 1 | -3/+1 | |
2015-10-26 | Add login fallback | Erik Johnston | 5 | -0/+280 | |
2015-10-26 | Move static folder into synapse | Erik Johnston | 7 | -1/+3 | |
This is because otherwise it won't get picked up by python packaging. This also fixes the problem where the "static" folder was found if synapse wasn't started from that directory. | |||||
2015-10-23 | Pull out sender when computing search results | Erik Johnston | 1 | -14/+17 | |
2015-10-23 | Implement rank function for SQLite FTS | Erik Johnston | 3 | -2/+30 | |
2015-10-22 | Don't assume that the event has a room_id or sender | Mark Haines | 1 | -2/+2 | |
2015-10-22 | Actually filter results | Erik Johnston | 1 | -3/+5 | |
2015-10-22 | Support filtering events represented as dicts. | Mark Haines | 1 | -3/+22 | |
This is useful because the emphemeral events such as presence and typing are represented as dicts inside synapse. | |||||
2015-10-22 | Rename | Erik Johnston | 1 | -3/+3 | |
2015-10-22 | LESS THAN | Erik Johnston | 1 | -1/+2 | |
2015-10-22 | Fix receipts for room initial sync | Erik Johnston | 1 | -7/+1 | |
2015-10-22 | Use namedtuple as return value | Erik Johnston | 2 | -4/+18 | |
2015-10-22 | Limit max number of SQL vars | Erik Johnston | 1 | -4/+6 | |
2015-10-22 | Reject events which are too large | Daniel Wagner-Hall | 2 | -1/+30 | |
SPEC-222 | |||||
2015-10-22 | PEP8 | Erik Johnston | 1 | -1/+2 | |
2015-10-22 | Move FTS to delta 25 | Erik Johnston | 2 | -3/+3 | |
2015-10-22 | Don't keep appending report_stats to demo config | Erik Johnston | 1 | -2/+6 | |
2015-10-22 | Add config option to disable password login | Erik Johnston | 5 | -4/+46 | |
2015-10-21 | Doc string for the SyncHandler.typing_by_room method | Mark Haines | 1 | -0/+12 | |
2015-10-21 | Include banned rooms in the archived section of v2 sync | Mark Haines | 2 | -8/+11 | |
2015-10-21 | Cap the time to retry txns to appservices to 8.5 minutes | Kegan Dougal | 1 | -2/+2 | |
There's been numerous issues with people playing around with their application service and then not receiving events from their HS for ages due to backoff timers reaching crazy heights (albeit capped at < 1 day). Reduce the max time between pokes to be 8.5 minutes (2^9 secs) which is quick enough for people to wait it out (avg wait time being 4.25 min) but long enough to actually give the AS breathing room if it needs it. | |||||
2015-10-21 | Filter room ids before hitting the database | Erik Johnston | 2 | -1/+21 | |
2015-10-21 | Filter search results | Erik Johnston | 1 | -2/+7 | |
2015-10-21 | Use 403 and message to match handlers/auth | Kegan Dougal | 1 | -3/+1 | |
2015-10-20 |