Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/sync | Erik Johnston | 2016-01-28 | 1 | -18/+9 |
|\ | |||||
| * | Merge pull request #534 from matrix-org/erikj/setup | Erik Johnston | 2016-01-28 | 7 | -89/+74 |
| |\ | | | | | | | Add a Homeserver.setup method | ||||
| | * | Clean up a bit. Add comment | Erik Johnston | 2016-01-28 | 1 | -18/+9 |
| | | | |||||
* | | | Allow paginating backwards from stream token | Erik Johnston | 2016-01-28 | 1 | -2/+14 |
| | | | |||||
* | | | Return correct type of token | Erik Johnston | 2016-01-28 | 1 | -3/+6 |
| | | | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/sync | Erik Johnston | 2016-01-28 | 1 | -1/+1 |
|\| | | |||||
| * | | Up get_rooms_for_user cache size | Erik Johnston | 2016-01-28 | 1 | -1/+1 |
| | | | |||||
* | | | PEP8 | Erik Johnston | 2016-01-27 | 3 | -6/+9 |
| | | | |||||
* | | | Use the same path for incremental with gap or without gap | Erik Johnston | 2016-01-27 | 2 | -4/+3 |
| | | | |||||
* | | | Add cache to room stream | Erik Johnston | 2016-01-27 | 3 | -62/+138 |
| |/ |/| | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/setup | Erik Johnston | 2016-01-27 | 1 | -1/+2 |
|\| | |||||
| * | Fix adding push rules relative to other rules | Mark Haines | 2016-01-27 | 1 | -1/+2 |
| | | |||||
* | | Add a Homeserver.setup method. | Erik Johnston | 2016-01-26 | 7 | -89/+83 |
|/ | | | | | | This is for setting up dependencies that require work on startup. This is useful for the DataStore that wants to read a bunch from the database before initiliazing. | ||||
* | Merge pull request #525 from matrix-org/erikj/select_many | Erik Johnston | 2016-01-25 | 3 | -60/+110 |
|\ | | | | | Implement a `_simple_select_many_batch` | ||||
| * | Guard against empty iterables | Erik Johnston | 2016-01-25 | 1 | -0/+6 |
| | | |||||
| * | Correct docstring | Erik Johnston | 2016-01-25 | 1 | -1/+0 |
| | | |||||
| * | Implement a _simple_select_many_batch | Erik Johnston | 2016-01-25 | 3 | -60/+105 |
| | | |||||
* | | Merge pull request #527 from matrix-org/erikj/push_cache | Erik Johnston | 2016-01-25 | 1 | -0/+1 |
|\ \ | | | | | | | Push: Use storage apis that are cached | ||||
| * | | Push: Use storage apis that are cached | Erik Johnston | 2016-01-25 | 1 | -0/+1 |
| |/ | |||||
* / | Add index to event_push_actions | Erik Johnston | 2016-01-25 | 1 | -0/+1 |
|/ | |||||
* | Overlay the push_rules_enabled map for users, otherwise they won't be able ↵ | David Baker | 2016-01-22 | 1 | -0/+29 |
| | | | | to disable server default rules. | ||||
* | Make LRU cache not default to treecache & add options to use it | David Baker | 2016-01-22 | 1 | -1/+1 |
| | |||||
* | Use new invalidate_many cache invalidation to invalidate the ↵ | David Baker | 2016-01-22 | 1 | -4/+15 |
| | | | | event_push_actions cache appropriately. | ||||
* | Cache get_unread_event_push_actions_by_room_for_user | Erik Johnston | 2016-01-21 | 1 | -1/+2 |
| | |||||
* | peppate | David Baker | 2016-01-20 | 1 | -3/+2 |
| | |||||
* | Add index by user id on receipts_linearized | David Baker | 2016-01-20 | 1 | -0/+18 |
| | |||||
* | Add storage function to get all receipts for a user. Also add some cache ↵ | David Baker | 2016-01-20 | 1 | -21/+34 |
| | | | | invalidation to the receipts storage because there wasn't any, and remove a method that was unused. | ||||
* | Add regex cache. Only caculate push actions for users that have sent read ↵ | Erik Johnston | 2016-01-19 | 1 | -1/+13 |
| | | | | receipts, and are on that server | ||||
* | Return highlight_count in /sync | Erik Johnston | 2016-01-19 | 1 | -2/+3 |
| | |||||
* | Remove dead code | Erik Johnston | 2016-01-18 | 1 | -22/+1 |
| | |||||
* | Make unit tests work | Erik Johnston | 2016-01-18 | 1 | -1/+1 |
| | |||||
* | Make notifications go quicker | Erik Johnston | 2016-01-18 | 2 | -4/+45 |
| | |||||
* | Allow filtering events for multiple users at once | Erik Johnston | 2016-01-18 | 1 | -0/+13 |
| | |||||
* | Require ID and as_token be unique for ASs | Daniel Wagner-Hall | 2016-01-14 | 1 | -1/+25 |
| | | | | | Defaults ID to as_token if not specified. This will change when IDs are fully supported. | ||||
* | Merge pull request #494 from matrix-org/daniel/2 | Daniel Wagner-Hall | 2016-01-14 | 1 | -0/+1 |
|\ | | | | | Don't start server if ASes are invalidly configured | ||||
| * | Don't start server if ASes are invalidly configured | Daniel Wagner-Hall | 2016-01-13 | 1 | -0/+1 |
| | | |||||
* | | Merge pull request #493 from matrix-org/daniel/1 | Daniel Wagner-Hall | 2016-01-14 | 1 | -59/+0 |
|\ \ | | | | | | | Delete unused code | ||||
| * | | Delete unused code | Daniel Wagner-Hall | 2016-01-13 | 1 | -59/+0 |
| |/ | |||||
* / | Rename 'user_name' to 'user_id' in push to make it consistent with the rest ↵ | Mark Haines | 2016-01-13 | 2 | -38/+38 |
|/ | | | | of the code | ||||
* | Merge remote-tracking branch 'origin/erikj/bulk_get_push_rules' into ↵ | Mark Haines | 2016-01-13 | 1 | -18/+8 |
|\ | | | | | | | | | | | | | markjh/table_name Conflicts: synapse/storage/push_rule.py | ||||
| * | bulk_get_push_rules should handle empty lists | Erik Johnston | 2016-01-13 | 1 | -21/+13 |
| | | |||||
* | | Delete the table objects from TransactionStore | Mark Haines | 2016-01-13 | 1 | -58/+10 |
| | | |||||
* | | Remove the RoomsTable object | Mark Haines | 2016-01-13 | 1 | -13/+3 |
| | | |||||
* | | Remove the PushersTable and EventPushActionsTable objects | Mark Haines | 2016-01-12 | 2 | -14/+6 |
| | | |||||
* | | Remove the PushRuleTable and PushRuleEnableTable objects | Mark Haines | 2016-01-12 | 1 | -50/+33 |
|/ | |||||
* | Postgres doesn't like booleans | David Baker | 2016-01-11 | 1 | -2/+2 |
| | |||||
* | Remove rogue 'admin' | David Baker | 2016-01-11 | 1 | -1/+1 |
| | |||||
* | Merge pull request #456 from matrix-org/store_event_actions | David Baker | 2016-01-08 | 6 | -11/+230 |
|\ | | | | | Send unread notification counts | ||||
| * | This comma is actually important | David Baker | 2016-01-07 | 1 | -1/+1 |
| | | |||||
| * | Merge remote-tracking branch 'origin/develop' into store_event_actions | David Baker | 2016-01-06 | 1 | -1/+10 |
| |\ | |||||
| * | | Adding is_guest here won't work because it just constructs a dict of uid -> ↵ | David Baker | 2016-01-06 | 1 | -1/+1 |
| | | | | | | | | | | | | password hash | ||||
| * | | Delete notifications for redacted events | David Baker | 2016-01-06 | 1 | -0/+12 |
| | | | |||||
| * | | Add schema change file for is_guest flag | David Baker | 2016-01-06 | 1 | -0/+22 |
| | | | |||||
| * | | Add is_guest flag to users db to track whether a user is a guest user or ↵ | David Baker | 2016-01-06 | 3 | -13/+31 |
| | | | | | | | | | | | | not. Use this so we can run _filter_events_for_client when calculating event_push_actions. | ||||
| * | | Merge remote-tracking branch 'origin/develop' into store_event_actions | David Baker | 2016-01-05 | 3 | -9/+39 |
| |\ \ | |||||
| * | | | = not == in sql | David Baker | 2016-01-04 | 1 | -1/+1 |
| | | | | |||||
| * | | | Rename event-actions to event_push_actions as per PR request | David Baker | 2016-01-04 | 3 | -14/+14 |
| | | | | |||||
| * | | | Address minor PR issues | David Baker | 2016-01-04 | 3 | -16/+4 |
| | | | | |||||
| * | | | Insert push actions in a single db query rather than one per user/profile_tag | David Baker | 2015-12-22 | 1 | -13/+18 |
| | | | | |||||
| * | | | Add bulk push rule evaluator which actually still evaluates rules one by ↵ | David Baker | 2015-12-22 | 1 | -0/+41 |
| | | | | | | | | | | | | | | | | one, but does far fewer db queries to fetch the rules | ||||
| * | | | Merge remote-tracking branch 'origin/develop' into store_event_actions | David Baker | 2015-12-21 | 3 | -14/+81 |
| |\ \ \ | |||||
| * | | | | pep8 | David Baker | 2015-12-21 | 1 | -6/+6 |
| | | | | | |||||
| * | | | | Make unread notification count sending work: put the correct count in ↵ | David Baker | 2015-12-18 | 1 | -9/+12 |
| | | | | | | | | | | | | | | | | | | | | incremental syncs too, where necessary, and fix silly bugs like only select the event actions for that user... | ||||
| * | | | | still very WIP, but now sends unread_notifications_count in the room object ↵ | David Baker | 2015-12-16 | 2 | -4/+54 |
| | | | | | | | | | | | | | | | | | | | | on sync (only actually corrrect in a full sync: hardcoded to 0 in incremental syncs). | ||||
| * | | | | Save event actions to the db | David Baker | 2015-12-10 | 3 | -0/+68 |
| | | | | | |||||
| * | | | | Very first cut of calculating actions for events as they come in. Doesn't ↵ | David Baker | 2015-12-10 | 1 | -0/+12 |
| | | | | | | | | | | | | | | | | | | | | store them yet. Not very efficient. | ||||
* | | | | | copyrights | Matthew Hodgson | 2016-01-07 | 85 | -85/+85 |
| |_|_|/ |/| | | | |||||
* | | | | Log when we skip daily messages | Daniel Wagner-Hall | 2016-01-06 | 1 | -1/+10 |
| |_|/ |/| | | |||||
* | | | Allow guests to upgrade their accounts | Daniel Wagner-Hall | 2016-01-05 | 3 | -9/+39 |
| |/ |/| | |||||
* | | Fix 500 error when back-paginating search results | Richard van der Hoff | 2015-12-17 | 1 | -2/+4 |
| | | | | | | | | | | We were mistakenly adding pagination clauses to the count query, which then failed because the count query doesn't join to the events table. | ||||
* | | Merge branch 'release-v0.12.0' into develop | Mark Haines | 2015-12-16 | 1 | -1/+1 |
|\ \ | |||||
| * | | Allow users to change which account a 3pid is bound to | Mark Haines | 2015-12-15 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'release-v0.12.0' into develop | Mark Haines | 2015-12-14 | 1 | -0/+5 |
|\| | | |||||
| * | | Skip events that where the body, name or topic isn't a string when back ↵ | Mark Haines | 2015-12-14 | 1 | -0/+5 |
| | | | | | | | | | | | | populating the FTS index | ||||
* | | | Fix typo | Daniel Wagner-Hall | 2015-12-14 | 1 | -1/+1 |
| | | | |||||
* | | | Fix typo in sql for full text search on sqlite3 | Mark Haines | 2015-12-14 | 1 | -1/+1 |
| | | | |||||
* | | | Merge branch 'release-v0.12.0' into develop | Mark Haines | 2015-12-12 | 1 | -4/+7 |
|\| | | |||||
| * | | Add caches for whether a room has been forgotten by a user | Mark Haines | 2015-12-10 | 1 | -4/+7 |
| |/ | |||||
* | | Include approximate count of search results | Erik Johnston | 2015-12-11 | 1 | -2/+54 |
| | | |||||
* | | Use more efficient query form | Erik Johnston | 2015-12-11 | 1 | -8/+13 |
|/ | |||||
* | Track the time spent in the database per request. | Mark Haines | 2015-12-07 | 2 | -3/+8 |
| | | | | and track the number of transactions that request started. | ||||
* | Bump schema version. | Mark Haines | 2015-12-04 | 5 | -24/+37 |
| | | | | As we released version 26 in v0.11.1 | ||||
* | Merge pull request #414 from matrix-org/erikj/if_not_exists | Erik Johnston | 2015-12-03 | 1 | -1/+1 |
|\ | | | | | Older versions of SQLite don't like IF NOT EXISTS in virtual tables | ||||
| * | Older versions of SQLite don't like IF NOT EXISTS in virtual tables | Erik Johnston | 2015-12-02 | 1 | -1/+1 |
| | | |||||
* | | Just replace the table definition with the one from full_schema 16 | David Baker | 2015-12-02 | 1 | -11/+10 |
| | | |||||
* | | Fix schema delta 15 on postgres in the very unlikley event that anyone ↵ | David Baker | 2015-12-02 | 1 | -1/+1 |
| | | | | | | | | upgrades to 15... | ||||
* | | Merge pull request #412 from matrix-org/erikj/search | Erik Johnston | 2015-12-02 | 1 | -11/+36 |
|\ \ | |/ |/| | Search: Add prefix matching support | ||||
| * | Throw if unrecognized DB type | Erik Johnston | 2015-12-02 | 1 | -1/+4 |
| | | |||||
| * | Fix so highlight matching works again | Erik Johnston | 2015-12-02 | 1 | -8/+13 |
| | | |||||
| * | Remove deuplication. Add comment about regex. | Erik Johnston | 2015-12-02 | 1 | -21/+11 |
| | | |||||
| * | Search: Add prefix matching support | Erik Johnston | 2015-12-02 | 1 | -5/+32 |
| | | |||||
* | | Add API for setting account_data globaly or on a per room basis | Mark Haines | 2015-12-01 | 4 | -2/+238 |
|/ | |||||
* | Allow paginating search ordered by recents | Erik Johnston | 2015-11-30 | 3 | -16/+159 |
| | |||||
* | Return words to highlight in search results | Erik Johnston | 2015-11-27 | 1 | -19/+104 |
| | |||||
* | Fix SQL for postgres again | Daniel Wagner-Hall | 2015-11-23 | 1 | -1/+1 |
| | |||||
* | Fix SQL for postgres | Daniel Wagner-Hall | 2015-11-23 | 1 | -1/+1 |
| | |||||
* | Remove size specifier for database column | Daniel Wagner-Hall | 2015-11-23 | 1 | -1/+3 |
| | | | | | | Postgres doesn't support them like this. We don't have a bool type in common between postgres and sqlite. | ||||
* | Merge branch 'daniel/forgetrooms' of github.com:matrix-org/synapse into ↵ | Daniel Wagner-Hall | 2015-11-19 | 2 | -9/+26 |
|\ | | | | | | | daniel/forgetrooms | ||||
| * | Merge branch 'develop' into daniel/forgetrooms | Paul "LeoNerd" Evans | 2015-11-19 | 2 | -9/+26 |
| |\ | |||||
| | * | Rename the database table | Mark Haines | 2015-11-18 | 1 | -0/+17 |
| | | | |||||
| | * | s/private_user_data/account_data/ | Mark Haines | 2015-11-18 | 2 | -10/+10 |
| | | | |||||
* | | | Ignore forgotten rooms in v2 sync | Daniel Wagner-Hall | 2015-11-19 | 1 | -1/+1 |
|/ / | |||||
* | | Simplify code | Daniel Wagner-Hall | 2015-11-19 | 1 | -7/+5 |
| | | |||||
* | | Apply forgetting properly to historical events | Daniel Wagner-Hall | 2015-11-18 | 1 | -2/+32 |
| | | |||||
* | | Allow users to forget rooms | Daniel Wagner-Hall | 2015-11-17 | 3 | -1/+61 |
|/ | |||||
* | Implementation of state rollback in /sync | Richard van der Hoff | 2015-11-13 | 1 | -2/+4 |
| | | | | | | | 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 | ||||
* | Fix a few race conditions in the state calculation | Richard van der Hoff | 2015-11-13 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | | | | 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 | ||||
* | Trailing whitespace | Erik Johnston | 2015-11-12 | 1 | -1/+1 |
| | |||||
* | Expand comment | Erik Johnston | 2015-11-12 | 1 | -0/+6 |
| | |||||
* | Comment | Erik Johnston | 2015-11-12 | 1 | -0/+2 |
| | |||||
* | Fix SQL syntax | Erik Johnston | 2015-11-12 | 1 | -2/+3 |
| | |||||
* | Use a (hopefully) more efficient SQL query for doing recency based room search | Erik Johnston | 2015-11-12 | 1 | -4/+6 |
| | |||||
* | Fix bug where assumed dict was namedtuple | Erik Johnston | 2015-11-12 | 1 | -1/+1 |
| | |||||
* | Merge pull request #359 from matrix-org/markjh/incremental_indexing | Erik Johnston | 2015-11-11 | 4 | -77/+404 |
|\ | | | | | Incremental background updates for db indexes | ||||
| * | Fix param style to work on both sqlite and postgres | Mark Haines | 2015-11-11 | 1 | -2/+6 |
| | | |||||
| * | Fix the background update | Mark Haines | 2015-11-11 | 3 | -17/+19 |
| | | |||||
| * | Use a background task to update databases to use the full text search | Mark Haines | 2015-11-10 | 2 | -80/+28 |
| | | |||||
| * | Run the background updates when starting synapse. | Mark Haines | 2015-11-10 | 2 | -10/+58 |
| | | |||||
| * | Add background update task for reindexing event search | Mark Haines | 2015-11-09 | 1 | -2/+96 |
| | | |||||
| * | Add storage module for tracking background updates. | Mark Haines | 2015-11-09 | 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. | ||||
* | | Return world_readable and guest_can_join in /publicRooms | Daniel Wagner-Hall | 2015-11-10 | 3 | -29/+69 |
| | | |||||
* | | Merge branch 'develop' into markjh/SYN-513 | Mark Haines | 2015-11-09 | 1 | -1/+1 |
|\ \ | | | | | | | | | | | | | Conflicts: synapse/storage/tags.py | ||||
| * | | fix comedy important missing comma breaking recent-ordered FTS on sqlite | Matthew Hodgson | 2015-11-08 | 1 | -1/+1 |
| | | | |||||
| * | | add a key existence check to tags_by_room to avoid /events 500'ing when ↵ | Matthew Hodgson | 2015-11-06 | 1 | -1/+2 |
| |/ | | | | | | | testing against vector | ||||
* / | SYN-513: Include updates for rooms that have had all their tags deleted | Mark Haines | 2015-11-09 | 1 | -1/+1 |
|/ | |||||
* | Remove accidentally added ID column | Daniel Wagner-Hall | 2015-11-06 | 1 | -1/+0 |
| | |||||
* | Error handling | Erik Johnston | 2015-11-05 | 1 | -1/+8 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/search | Erik Johnston | 2015-11-05 | 5 | -16/+87 |
|\ | |||||
| * | Open up /events to anonymous users for room events only | Daniel Wagner-Hall | 2015-11-05 | 4 | -8/+79 |
| | | | | | | | | Squash-merge of PR #345 from daniel/anonymousevents | ||||
| * | Merge branch 'develop' of github.com:matrix-org/synapse into develop | Daniel Wagner-Hall | 2015-11-04 | 1 | -2/+1 |
| |\ | |||||
| | * | Merge branch 'develop' into daniel/removesomelies | Mark Haines | 2015-11-04 | 4 | -32/+272 |
| | |\ | | | | | | | | | | | | | | | | | Conflicts: synapse/notifier.py | ||||
| | * | | Remove more unused parameters | Daniel Wagner-Hall | 2015-11-02 | 1 | -2/+1 |
| | | | | |||||
| * | | | Allow guests to register and call /events?room_id= | Daniel Wagner-Hall | 2015-11-04 | 1 | -7/+8 |
| | |/ | |/| | | | | | | | | | | | | | | | | 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. | ||||
* | | | Implement basic pagination for search results | Erik Johnston | 2015-11-05 | 1 | -36/+19 |
| | | | |||||
* | | | Implement order and group by | Erik Johnston | 2015-11-04 | 1 | -0/+96 |
|/ / | |||||
* | | Merge pull request #343 from matrix-org/erikj/fix_retries | Erik Johnston | 2015-11-03 | 1 | -32/+16 |
|\ \ | | | | | | | Fix broken cache for getting retry times. | ||||
| * | | Fix broken cache for getting retry times. This meant we retried remote ↵ | Erik Johnston | 2015-11-03 | 1 | -32/+16 |
| |/ | | | | | | | destinations way more frequently than we should | ||||
* | | Merge pull request #335 from matrix-org/markjh/room_tags | Mark Haines | 2015-11-03 | 3 | -0/+256 |
|\ \ | |/ |/| | Add APIs for adding and removing tags from rooms | ||||
| * | Spell "deferred" more correctly | Mark Haines | 2015-11-03 | 1 | -1/+1 |
| | | |||||
| * | Store room tag content and return the content in the m.tag event | Mark Haines | 2015-11-02 | 2 | -16/+29 |
| | | |||||
| * | Merge branch 'develop' into markjh/room_tags | Mark Haines | 2015-11-02 | 1 | -1/+136 |
| |\ | |||||
| * | | Inform the client of new room tags using v1 /events | Mark Haines | 2015-10-29 | 1 | -1/+15 |
| | | | |||||
| * | | Fix pyflakes errors | Mark Haines | 2015-10-28 | 1 | -3/+3 |
| | | | |||||
| * | | Add APIs for adding and removing tags from rooms | Mark Haines | 2015-10-28 | 3 | -0/+229 |
| | | | |||||
* | | | Add missing column | Daniel Wagner-Hall | 2015-10-30 | 1 | -1/+1 |
| |/ |/| | |||||
* | | Docs | Erik Johnston | 2015-10-28 | 1 | -0/+26 |
| | | |||||
* | | Add room context api | Erik Johnston | 2015-10-28 | 1 | -1/+110 |
|/ | |||||
* | Pull out sender when computing search results | Erik Johnston | 2015-10-23 | 1 | -14/+17 |
| | |||||
* | Implement rank function for SQLite FTS | Erik Johnston | 2015-10-23 | 3 | -2/+30 |
| | |||||
* | Actually filter results | Erik Johnston | 2015-10-22 | 1 | -3/+5 |
| | |||||
* | LESS THAN | Erik Johnston | 2015-10-22 | 1 | -1/+2 |
| | |||||
* | Use namedtuple as return value | Erik Johnston | 2015-10-22 | 1 | -3/+15 |
| | |||||
* | Limit max number of SQL vars | Erik Johnston | 2015-10-22 | 1 | -4/+6 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/search | Erik Johnston | 2015-10-22 | 1 | -0/+13 |
|\ | |||||
| * | Merge pull request #316 from matrix-org/markjh/v2_sync_archived | Mark Haines | 2015-10-21 | 1 | -0/+13 |
| |\ | | | | | | | Add rooms that the user has left under archived in v2 sync. | ||||
| | * | Include banned rooms in the archived section of v2 sync | Mark Haines | 2015-10-21 | 1 | -2/+2 |
| | | | |||||
| | * | Add rooms that the user has left under archived in v2 sync. | Mark Haines | 2015-10-19 | 1 | -0/+13 |
| | | | |||||
* | | | PEP8 | Erik Johnston | 2015-10-22 | 1 | -1/+2 |
| | | | |||||
* | | | Move FTS to delta 25 | Erik Johnston | 2015-10-22 | 2 | -3/+3 |
|/ / | |||||
* | | Explicitly check for Sqlite3Engine | Erik Johnston | 2015-10-16 | 1 | -2/+5 |
| | | |||||
* | | Typing | Erik Johnston | 2015-10-16 | 1 | -2/+2 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/search | Erik Johnston | 2015-10-16 | 1 | -1/+1 |
|\| | |||||
| * | Fix FilteringStore.get_user_filter to work with postgres | Mark Haines | 2015-10-16 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/search | Erik Johnston | 2015-10-16 | 1 | -2/+2 |
|\| | |||||
| * | Encode the filter JSON as UTF-8 before storing in the database. | Mark Haines | 2015-10-16 | 1 | -2/+2 |
| | | | | | | | | Because we are using a binary column type to store the filter JSON. | ||||
* | | Explicitly check for Sqlite3Engine | Erik Johnston | 2015-10-16 | 1 | -2/+5 |
| | | |||||
* | | Add docstring | Erik Johnston | 2015-10-16 | 1 | -0/+11 |
| | | |||||
* | | Comment on the LIMIT 500 | Erik Johnston | 2015-10-16 | 1 | -0/+2 |
| | | |||||
* | | Split up run_upgrade | Erik Johnston | 2015-10-16 | 1 | -5/+11 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/search | Erik Johnston | 2015-10-15 | 1 | -0/+14 |
|\| | |||||
| * | Merge pull request #305 from matrix-org/markjh/v2_sync_api | Mark Haines | 2015-10-14 | 1 | -0/+14 |
| |\ | | | | | | | Update the v2 sync API to work as specified in the current spec. | ||||
| | * | Merge branch 'develop' into markjh/v2_sync_api | Mark Haines | 2015-10-14 | 4 | -377/+399 |
| | |\ | |||||
| | * | | Add a get_invites_for_user method to the storage to find out the rooms a ↵ | Mark Haines | 2015-10-13 | 1 | -0/+14 |
| | | | | | | | | | | | | | | | | user is invited to | ||||
| * | | | Remove unused room_id arg | Erik Johnston | 2015-10-14 | 1 | -5/+5 |
| | |/ | |/| | |||||
* | | | Fix to work with SQLite | Erik Johnston | 2015-10-14 | 1 | -4/+11 |
| | | | |||||
* | | | Add paranoia limit | Erik Johnston | 2015-10-13 | 1 | -1/+1 |
| | | | |||||
* | | | Remove constraints in preperation of using filters | Erik Johnston | 2015-10-13 | 1 | -20/+10 |
| | | | |||||
* | | | Merge branch 'erikj/store_engine' into erikj/search | Erik Johnston | 2015-10-13 | 4 | -3/+3 |
|\| | | |||||
| * | | rename schema_prepare to prepare_database | Erik Johnston | 2015-10-13 | 3 | -2/+2 |
| | | | |||||
* | | | Add SQLite support | Erik Johnston | 2015-10-13 | 1 | -5/+12 |
| | | | |||||
* | | | Merge branch 'erikj/store_engine' into erikj/search | Erik Johnston | 2015-10-13 | 5 | -378/+400 |
|\| | | |||||
| * | | Expose error more nicely | Erik Johnston | 2015-10-13 | 4 | -5/+2 |
| | | | |||||
| * | | Split out the schema preparation and update logic into its own module | Erik Johnston | 2015-10-13 | 4 | -377/+402 |
| |/ | |||||
* | | Add sqlite schema | Erik Johnston | 2015-10-13 | 1 | -5/+64 |
| | | |||||
* | | Filter events to only thsoe that the user is allowed to see | Erik Johnston | 2015-10-12 | 1 | -7/+7 |
| | | |||||
* | | Remove unused room_id parameter | Erik Johnston | 2015-10-12 | 1 | -6/+5 |
| | | |||||
* | | Keep FTS indexes up to date. Only search through rooms currently joined | Erik Johnston | 2015-10-12 | 4 | -2/+32 |
| | | |||||
* | | Add basic full text search impl. | Erik Johnston | 2015-10-09 | 4 | -1/+135 |
|/ | |||||
* | Merge pull request #288 from matrix-org/markjh/unused_definitions | Mark Haines | 2015-09-28 | 7 | -419/+2 |
|\ | | | | | Remove some of the unused definitions from synapse | ||||
| * | synapse/storage/state.py: _make_group_id was unused | Mark Haines | 2015-09-23 | 1 | -6/+0 |
| | | |||||
| * | Remove unused functions from synapse/storage/signatures.py | Mark Haines | 2015-09-23 | 1 | -112/+0 |
| | | |||||
| * | synapse/storage/roommember.py:_get_members_query was unused | Mark Haines | 2015-09-23 | 1 | -6/+0 |
| | | |||||
| * | Remove unused functions from synapse/storage/events.py | Mark Haines | 2015-09-23 | 1 | -11/+0 |
| | | |||||
| * | Remove unused functions from synapse/storage/event_federation.py | Mark Haines | 2015-09-23 | 1 | -71/+0 |
| | | |||||
| * | synapse/storage/_base.py:_simple_max_id was unused | Mark Haines | 2015-09-23 | 1 | -18/+0 |
| | | |||||
| * | synapse/storage/_base.py:_simple_delete was unused | Mark Haines | 2015-09-23 | 1 | -10/+0 |
| | | |||||
| * | synapse/storage/_base.py:_simple_selectupdate_one was unused | Mark Haines | 2015-09-23 | 1 | -31/+0 |
| | | |||||
| * | synapse/storage/event_federation.py:_get_auth_events is unused | Mark Haines | 2015-09-22 | 1 | -21/+0 |
| | | |||||
| * | synapse/storage/_base.py:_execute_and_decode was unused | Mark Haines | 2015-09-22 | 1 | -3/+0 |
| | | |||||
| * | synapse/storage/_base.py:Table was unused | Mark Haines | 2015-09-22 | 2 | -130/+2 |
| | | |||||
* | | Fix order of ON constraints in _get_rooms_for_user_where_membership_is_txn | Mark Haines | 2015-09-24 | 1 | -6/+6 |
|/ | |||||
* | Add some docstrings | Daniel Wagner-Hall | 2015-09-22 | 2 | -0/+4 |
| | |||||
* | Add docstring | Daniel Wagner-Hall | 2015-09-22 | 1 | -0/+6 |
| | |||||
* | Implement configurable stats reporting | Daniel Wagner-Hall | 2015-09-22 | 4 | -2/+110 |
| | | | | | | | | | | SYN-287 This requires that HS owners either opt in or out of stats reporting. When --generate-config is passed, --report-stats must be specified If an already-generated config is used, and doesn't have the report_stats key, it is requested to be set. | ||||
* | Merge pull request #276 from ↵ | Mark Haines | 2015-09-21 | 2 | -10/+38 |
|\ | | | | | | | | | matrix-org/markjh/history_for_rooms_that_have_been_left SPEC-216: Allow users to view the history of rooms that they have left. | ||||
| * | Allow users that have left a room to get the messages that happend in the ↵ | Mark Haines | 2015-09-09 | 1 | -1/+18 |
| | | | | | | | | room before they left | ||||
| * | Remove undocumented and unimplemented 'feedback' parameter from the ↵ | Mark Haines | 2015-09-09 | 1 | -8/+2 |
| | | | | | | | | Client-Server API | ||||
| * | Allow room initialSync for users that have left the room, returning a ↵ | Mark Haines | 2015-09-09 | 1 | -0/+15 |
| | | | | | | | | snapshot of how the room was when they left it | ||||
| * | Include the event_id and stream_ordering of membership events when looking ↵ | Mark Haines | 2015-09-08 | 1 | -2/+4 |
| | | | | | | | | up which rooms a user is in | ||||
* | | Merge pull request #281 from matrix-org/erikj/update_extremeties | Erik Johnston | 2015-09-15 | 2 | -0/+11 |
|\ \ | | | | | | | When updating a stored event from outlier to non-outlier, remember to update the extremeties | ||||
| * | | "Comments" | Erik Johnston | 2015-09-15 | 1 | -0/+6 |
| | | | |||||
| * | | When updating a stored event from outlier to non-outlier, remember to update ↵ | Erik Johnston | 2015-09-15 | 2 | -0/+5 |
| | | | | | | | | | | | | the extremeties | ||||
* | | | Drop unused index | Erik Johnston | 2015-09-14 | 1 | -0/+16 |
| |/ |/| | |||||
* | | Merge branch 'release-v0.10.0' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-09-01 | 1 | -1/+1 |
|\| | |||||
| * | Lower size of 'stateGroupCache' now that we have data from matrix.org to ↵ | Erik Johnston | 2015-09-01 | 1 | -1/+1 |
| | | | | | | | | support doing so | ||||
* | | Merge branch 'release-v0.10.0' into develop | Mark Haines | 2015-08-28 | 2 | -4/+17 |
|\| | | | | | | | | | | | | | Conflicts: synapse/handlers/auth.py synapse/python_dependencies.py synapse/rest/client/v1/login.py | ||||
| * | Don't insert events into 'event_*_extremeties' tables if they're outliers | Erik Johnston | 2015-08-23 | 1 | -2/+8 |
| | | |||||
| * | Actually check if event_id isn't returned by _get_state_groups | Erik Johnston | 2015-08-21 | 1 | -2/+9 |
| | | |||||
| * | When logging in fetch user by user_id case insensitively, *unless* there are ↵ | Erik Johnston | 2015-08-21 | 1 | -2/+5 |
| | | | | | | | | 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 | -0/+11 |
| | | | | | | | | existing one | ||||
* | | Merge erikj/user_dedup to develop | Daniel Wagner-Hall | 2015-08-26 | 1 | -0/+14 |
| | | |||||
* | | Merge pull request #251 from matrix-org/removeadmin | Daniel Wagner-Hall | 2015-08-25 | 1 | -3/+2 |
|\ \ | | | | | | | Stop looking up "admin", which we never read | ||||
| * | | Stop looking up "admin", which we never read | Daniel Wagner-Hall | 2015-08-25 | 1 | -3/+2 |
| | | | |||||
* | | | Merge pull request #248 from matrix-org/deviceid | Daniel Wagner-Hall | 2015-08-25 | 2 | -7/+5 |
|\| | | | | | | | | Remove completely unused concepts from codebase | ||||
| * | | Remove completely unused concepts from codebase | Daniel Wagner-Hall | 2015-08-25 | 2 | -7/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 pull request #243 from matrix-org/markjh/remove_syutil | Mark Haines | 2015-08-25 | 6 | -16/+17 |
|\ \ \ | |/ / |/| | | Replace syutil dependency with smaller, single-purpose libraries | ||||
| * | | Fix indent | Mark Haines | 2015-08-24 | 1 | -1/+1 |
| | | | |||||
| * | | Remove syutil dependency in favour of smaller single-purpose libraries | Mark Haines | 2015-08-24 | 6 | -16/+17 |
| | | | |||||
* | | | Remove autoincrement since we incrementing the ID in the storage layer | Mark Haines | 2015-08-24 | 1 | -1/+1 |
|/ / | |||||
* | | Merge branch 'release-v0.10.0' of github.com:matrix-org/synapse into develop | Erik Johnston | 2015-08-21 | 1 | -0/+2 |
|\| | |||||
| * | Fix bug where we didn't correctly serialize the redacted_because key over ↵ | Erik Johnston | 2015-08-21 | 1 | -0/+2 |
| | | | | | | | | federation | ||||
* | | Merge branch 'develop' into refresh | Daniel Wagner-Hall | 2015-08-20 | 1 | -0/+19 |
|\| | | | | | | | | | Conflicts: synapse/rest/client/v1/login.py | ||||
| * | Merge pull request #211 from matrix-org/email_in_use | Mark Haines | 2015-08-20 | 1 | -0/+19 |
| |\ | | | | | | | Changes for unique emails | ||||
| | * | Bump schema version | David Baker | 2015-08-04 | 1 | -1/+1 |
| | | | |||||
| | * | Add endpoint that proxies ID server request token and errors if the given ↵ | David Baker | 2015-08-04 | 1 | -0/+19 |
| | | | | | | | | | | | | email is in use on this Home Server. | ||||
* | | | /tokenrefresh POST endpoint | Daniel Wagner-Hall | 2015-08-20 | 4 | -1/+85 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | s/by_token/by_access_token/g | Daniel Wagner-Hall | 2015-08-20 | 1 | -3/+3 |
|/ / | | | | | | | We're about to have two kinds of token, access and refresh | ||||
* | | Merge pull request #228 from matrix-org/erikj/_get_state_for_groups | Erik Johnston | 2015-08-18 | 1 | -2/+5 |
|\ \ | | | | | | | Ensure we never return a None event from _get_state_for_groups | ||||
| * | | Remove newline because vertical whitespace makes mjark sad | Erik Johnston | 2015-08-18 | 1 | -2/+1 |
| | | | |||||
| * | | Rejig the code to make it nicer | Erik Johnston | 2015-08-18 | 1 | -3/+2 |
| | | | |||||
| * | | Ensure we never return a None event from _get_state_for_groups | Erik Johnston | 2015-08-18 | 1 | -3/+8 |
| | | | |||||
* | | | Merge pull request #227 from matrix-org/erikj/receipts_take2 | Erik Johnston | 2015-08-18 | 3 | -15/+91 |
|\ \ \ | | | | | | | | | Re-enable receipts API. | ||||
| * | | | Rename unhelpful variable name | Erik Johnston | 2015-08-18 | 1 | -7/+2 |
| | | | | |||||
| * | | | Comments | Erik Johnston | 2015-08-18 | 1 | -4/+14 |
| | | | | |||||
| * | | | Add index receipts_linearized_room_stream | Erik Johnston | 2015-08-17 | 2 | -1/+19 |
| | | | | |||||
| * | | | Remove unused import | Erik Johnston | 2015-08-17 | 1 | -2/+0 |
| | | | | |||||
| * | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-08-17 | 2 | -8/+9 |
| |\ \ \ | | | | | | | | | | | | | | | | erikj/receipts_take2 | ||||
| * | | | | Batch _get_linearized_receipts_for_rooms | Erik Johnston | 2015-08-14 | 1 | -15/+64 |
| | | | | | |||||
| * | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-08-13 | 1 | -44/+12 |
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | erikj/receipts_take2 | ||||
| * | | | | | Add metrics to the receipts cache | Erik Johnston | 2015-08-13 | 1 | -0/+6 |
| | | | | | |