Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make __init__ consitstent across Store heirarchy | Richard van der Hoff | 2017-11-13 | 1 | -1/+1 |
| | | | | | | Add db_conn parameters to the `__init__` methods of the *Store classes, so that they are all consistent, which makes the multiple inheritance work correctly (and so that we can later extract mixins which can be used in the slavedstores) | ||||
* | Add groups to sync stream | Erik Johnston | 2017-07-20 | 1 | -0/+15 |
| | |||||
* | Initial group server implementation | Erik Johnston | 2017-07-10 | 1 | -1/+2 |
| | |||||
* | Fix up client ips to read from pending data | Erik Johnston | 2017-06-27 | 1 | -10/+0 |
| | |||||
* | Merge pull request #2281 from matrix-org/erikj/phone_home_stats | Erik Johnston | 2017-06-15 | 1 | -12/+14 |
|\ | | | | | Fix phone home stats | ||||
| * | Fix phone home stats | Erik Johnston | 2017-06-14 | 1 | -12/+14 |
| | | |||||
* | | Merge pull request #2259 from matrix-org/erikj/fix_state_woes | Erik Johnston | 2017-06-07 | 1 | -1/+2 |
|\ \ | | | | | | | Fix bug where state_group tables got corrupted | ||||
| * | | Fix bug where state_group tables got corrupted | Erik Johnston | 2017-06-07 | 1 | -1/+2 |
| |/ | | | | | | | | | | | | | | | This is due to the fact that we prefilled caches using txn.call_after, which always gets called including on error. We fix this by making txn.call_after only fire when a transaction completes successfully, which is what we want most of the time anyway. | ||||
* | | Add stream change cache | Erik Johnston | 2017-05-31 | 1 | -0/+12 |
| | | |||||
* | | Add user_directory to database | Erik Johnston | 2017-05-31 | 1 | -0/+2 |
|/ | |||||
* | admin,storage: added more administrator functionalities | Morteza Araby | 2017-02-02 | 1 | -0/+76 |
| | | | | | | | | | | | | | | 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> | ||||
* | Add basic implementation of local device list changes | Erik Johnston | 2017-01-25 | 1 | -0/+11 |
| | |||||
* | Limit number of entries to prefill from cache | Erik Johnston | 2017-01-10 | 1 | -1/+3 |
| | | | | | | | | | Some tables, like device_inbox, take a long time to query at startup for the stream change cache prefills. This is likely because they are slower growing streams and so are more fragmented on disk. For now, lets pull fewer entries out to make startup quicker. In future, we should add a better index to make it even faster. | ||||
* | Add profile data to the room_membership table for joins | Erik Johnston | 2016-12-08 | 1 | -0/+1 |
| | |||||
* | Rip out more refresh_token code | Richard van der Hoff | 2016-11-30 | 1 | -1/+0 |
| | | | | | | | | We might as well treat all refresh_tokens as invalid. Just return a 403 from /tokenrefresh, so that we don't have a load of dead, untestable code hanging around. Still TODO: removing the table from the schema. | ||||
* | Handling expiring stream extrems correctly. | Erik Johnston | 2016-09-15 | 1 | -0/+2 |
| | |||||
* | Add a room visibility stream | Erik Johnston | 2016-09-14 | 1 | -0/+3 |
| | |||||
* | Track the max_stream_device_id in a separate table, since we delete from the ↵ | Mark Haines | 2016-09-09 | 1 | -1/+1 |
| | | | | inbox table | ||||
* | Fix the stream change cache to work over replication | Mark Haines | 2016-09-07 | 1 | -1/+1 |
| | |||||
* | Add stream change caches for device messages | Mark Haines | 2016-09-07 | 1 | -0/+24 |
| | |||||
* | Make _state_groups_id_gen a normal IdGenerator | Erik Johnston | 2016-08-30 | 1 | -1/+1 |
| | |||||
* | Add store-and-forward direct-to-device messaging | Mark Haines | 2016-08-25 | 1 | -0/+5 |
| | |||||
* | Rename table. Add docs. | Erik Johnston | 2016-08-15 | 1 | -1/+1 |
| | |||||
* | Implement cache replication stream | Erik Johnston | 2016-08-15 | 1 | -3/+8 |
| | |||||
* | Add some invalidations to a cache_stream | Erik Johnston | 2016-08-15 | 1 | -0/+3 |
| | |||||
* | Add device_id support to /login | Richard van der Hoff | 2016-07-18 | 1 | -0/+3 |
| | | | | | | | | | | | | | Add a 'devices' table to the storage, as well as a 'device_id' column to refresh_tokens. Allow the client to pass a device_id, and initial_device_display_name, to /login. If login is successful, then register the device in the devices table if it wasn't known already. If no device_id was supplied, make one up. Associate the device_id with the access token and refresh token, so that we can get at it again later. Ensure that the device_id is copied from the refresh token to the access_token when the token is refreshed. | ||||
* | Pull out min stream_ordering from ex_outlier_stream | Erik Johnston | 2016-07-15 | 1 | -1/+2 |
| | |||||
* | Move insert_client_ip to a separate class | Mark Haines | 2016-06-03 | 1 | -45/+3 |
| | |||||
* | Add a slaved store for presence | Mark Haines | 2016-06-03 | 1 | -3/+3 |
| | |||||
* | Fix to allow start with postgres | Erik Johnston | 2016-05-27 | 1 | -2/+7 |
| | |||||
* | Make deleting push actions more efficient | David Baker | 2016-05-20 | 1 | -0/+9 |
| | | | | There's no index on received_ts, so manually binary search using the stream_ordering index, and only update it once an hour. | ||||
* | Add an openidish mechanism for proving to third parties that you own a given ↵ | Mark Haines | 2016-05-05 | 1 | -1/+3 |
| | | | | user_id | ||||
* | Add timestamp and auto incrementing ID | Erik Johnston | 2016-05-04 | 1 | -0/+1 |
| | |||||
* | Move _get_cache_dict into the SQLBaseStore | Mark Haines | 2016-04-06 | 1 | -33/+0 |
| | |||||
* | Fix stuck invites | Erik Johnston | 2016-04-05 | 1 | -1/+2 |
| | | | | | | | | If rejecting a remote invite fails with an error response don't fail the entire request; instead mark the invite as locally rejected. This fixes the bug where users can get stuck invites which they can neither accept nor reject. | ||||
* | Rename direction to step, apply checks consistently | Mark Haines | 2016-04-01 | 1 | -1/+1 |
| | |||||
* | Use a stream id generator for backfilled ids | Mark Haines | 2016-04-01 | 1 | -13/+7 |
| | |||||
* | Use a stream id generator to assign state group ids | Mark Haines | 2016-03-30 | 1 | -1/+1 |
| | |||||
* | Add replication stream for pushers | Mark Haines | 2016-03-15 | 1 | -1/+4 |
| | |||||
* | Fix relative imports so they work in both py3 and py27 | Mark Haines | 2016-03-08 | 1 | -1/+1 |
| | |||||
* | Prefill from the correct stream | Mark Haines | 2016-03-04 | 1 | -1/+1 |
| | |||||
* | prefill the push rules stream change cache | Mark Haines | 2016-03-04 | 1 | -2/+9 |
| | |||||
* | Hook up the push rules stream to account_data in /sync | Mark Haines | 2016-03-04 | 1 | -0/+5 |
| | |||||
* | Add a stream for push rule updates | Mark Haines | 2016-03-01 | 1 | -1/+4 |
| | |||||
* | Load the current id in the IdGenerator constructor | Mark Haines | 2016-03-01 | 1 | -7/+7 |
| | | | | | | | | | Rather than loading them lazily. This allows us to remove all the yield statements and spurious arguments for the get_next methods. It also allows us to replace all instances of get_next_txn with get_next since get_next no longer needs to access the db. | ||||
* | Close cursor | Erik Johnston | 2016-02-18 | 1 | -0/+1 |
| | |||||
* | Prefix TS fields with _ts | Erik Johnston | 2016-02-18 | 1 | -2/+2 |
| | |||||
* | Initial cut | Erik Johnston | 2016-02-17 | 1 | -3/+47 |
| | |||||
* | Fix flake8 warnings for new flake8 | Daniel Wagner-Hall | 2016-02-02 | 1 | -1/+1 |
| | |||||
* | Cache get_room_changes_for_user | Erik Johnston | 2016-01-29 | 1 | -0/+4 |
| | |||||
* | Comment. Remove superfluous order by | Erik Johnston | 2016-01-29 | 1 | -1/+3 |
| | |||||
* | Don't prefill account data | Erik Johnston | 2016-01-29 | 1 | -8/+1 |
| | |||||
* | Actually use cache | Erik Johnston | 2016-01-29 | 1 | -7/+13 |
| | |||||
* | Max is not a function | Erik Johnston | 2016-01-29 | 1 | -1/+1 |
| | |||||
* | Convert param style | Erik Johnston | 2016-01-29 | 1 | -0/+3 |
| | |||||
* | Prefill stream change caches | Erik Johnston | 2016-01-29 | 1 | -1/+48 |
| | |||||
* | Clean up a bit. Add comment | Erik Johnston | 2016-01-28 | 1 | -18/+9 |
| | |||||
* | Add a Homeserver.setup method. | Erik Johnston | 2016-01-26 | 1 | -4/+41 |
| | | | | | | 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 #456 from matrix-org/store_event_actions | David Baker | 2016-01-08 | 1 | -0/+2 |
|\ | | | | | Send unread notification counts | ||||
| * | Rename event-actions to event_push_actions as per PR request | David Baker | 2016-01-04 | 1 | -2/+2 |
| | | |||||
| * | Save event actions to the db | David Baker | 2015-12-10 | 1 | -0/+2 |
| | | |||||
* | | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
|/ | |||||
* | Add API for setting account_data globaly or on a per room basis | Mark Haines | 2015-12-01 | 1 | -0/+2 |
| | |||||
* | Add APIs for adding and removing tags from rooms | Mark Haines | 2015-10-28 | 1 | -0/+2 |
| | |||||
* | Merge branch 'erikj/store_engine' into erikj/search | Erik Johnston | 2015-10-13 | 1 | -375/+0 |
|\ | |||||
| * | Expose error more nicely | Erik Johnston | 2015-10-13 | 1 | -3/+0 |
| | | |||||
| * | Split out the schema preparation and update logic into its own module | Erik Johnston | 2015-10-13 | 1 | -375/+3 |
| | | |||||
* | | Add basic full text search impl. | Erik Johnston | 2015-10-09 | 1 | -0/+2 |
|/ | |||||
* | Add some docstrings | Daniel Wagner-Hall | 2015-09-22 | 1 | -0/+3 |
| | |||||
* | Implement configurable stats reporting | Daniel Wagner-Hall | 2015-09-22 | 1 | -1/+19 |
| | | | | | | | | | | 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. | ||||
* | Remove completely unused concepts from codebase | Daniel Wagner-Hall | 2015-08-25 | 1 | -4/+3 |
| | | | | | | | | | | 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. | ||||
* | /tokenrefresh POST endpoint | Daniel Wagner-Hall | 2015-08-20 | 1 | -1/+1 |
| | | | | | | | | 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. | ||||
* | Add index receipts_linearized_room_stream | Erik Johnston | 2015-08-17 | 1 | -1/+1 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-08-07 | 1 | -0/+5 |
|\ | | | | | | | erikj/dictionary_cache | ||||
| * | Don't complain about extra .pyc files we find while hunting for database schemas | Paul "LeoNerd" Evans | 2015-08-07 | 1 | -0/+5 |
| | | |||||
* | | Change Cache to not use *args in its interface | Erik Johnston | 2015-08-07 | 1 | -2/+2 |
|/ | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into erikj/receipts | Erik Johnston | 2015-07-13 | 1 | -0/+2 |
|\ | |||||
| * | Add store for client end to end keys | Mark Haines | 2015-07-06 | 1 | -1/+3 |
| | | |||||
* | | Fix various typos | Erik Johnston | 2015-07-07 | 1 | -0/+3 |
| | | |||||
* | | Add tables for receipts | Erik Johnston | 2015-06-30 | 1 | -1/+1 |
|/ | |||||
* | Bump schema version | Erik Johnston | 2015-06-11 | 1 | -1/+1 |
| | |||||
* | Add script to (re)convert the pushers table to changing the unique key. Also ↵ | David Baker | 2015-06-04 | 1 | -1/+1 |
| | | | | give the python db upgrade scripts the database engine so they can convert parameter strings, and add *args **kwargs to the upgrade function so we can add more args in future and previous scripts will ignore them. | ||||
* | Add index on events | Erik Johnston | 2015-05-13 | 1 | -1/+1 |
| | |||||
* | Bump schema version | Mark Haines | 2015-05-08 | 1 | -1/+1 |
| | |||||
* | Don't lock user_ips table for upsert. | Erik Johnston | 2015-05-01 | 1 | -0/+3 |
| | |||||
* | We can't use REPLACE when upgrading databases now we have postgres | Erik Johnston | 2015-04-29 | 1 | -1/+2 |
| | |||||
* | bump database schema version | Mark Haines | 2015-04-29 | 1 | -1/+1 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into postgres | Erik Johnston | 2015-04-28 | 1 | -0/+12 |
|\ | |||||
| * | pep8 | David Baker | 2015-04-27 | 1 | -1/+1 |
| | | |||||
| * | Run database check before daemonizing, at the cost of database hygiene. | David Baker | 2015-04-27 | 1 | -0/+10 |
| | | |||||
* | | Rename user_ips.user -> user_id | Erik Johnston | 2015-04-14 | 1 | -2/+2 |
| | | |||||
* | | Add support for postgres instead of mysql. Change sql accourdingly. blob + ↵ | Erik Johnston | 2015-04-14 | 1 | -9/+6 |
| | | | | | | | | varbinary -> bytea. No support for UNSIGNED or CREATE INDEX IF NOT EXISTS. | ||||
* | | Bump schema version | Erik Johnston | 2015-04-10 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-04-07 | 1 | -3/+33 |
|\| | |||||
| * | Merge branch 'develop' into application-services-txn-reliability | Kegan Dougal | 2015-03-26 | 1 | -462/+27 |
| |\ | | | | | | | | | | | | | Conflicts: synapse/storage/__init__.py | ||||
| | * | Remember the 'last seen' time for a given user/IP/device combination and ↵ | Paul "LeoNerd" Evans | 2015-03-20 | 1 | -2/+30 |
| | | | | | | | | | | | | only bother INSERTing another if it's stale | ||||
| * | | Minor PR comment tweaks. | Kegan Dougal | 2015-03-16 | 1 | -1/+1 |
| | | | |||||
| * | | Merge branch 'develop' into application-services-txn-reliability | Kegan Dougal | 2015-03-16 | 1 | -6/+7 |
| |\ \ | | | | | | | | | | | | | | | | | Conflicts: synapse/storage/appservice.py | ||||
| * | | | Use seconds; start gluing in the AS scheduler into the AS handler. | Kegan Dougal | 2015-03-09 | 1 | -2/+5 |
| | | | | |||||
| * | | | Add appservice txns sql schema | Kegan Dougal | 2015-03-06 | 1 | -1/+1 |
| | | | | |||||
* | | | | PEP8 | Erik Johnston | 2015-04-07 | 1 | -4/+0 |
| | | | | |||||
* | | | | Fix prepare_sqlite3_database's convert_param_style | Erik Johnston | 2015-04-07 | 1 | -7/+2 |
| | | | | |||||
* | | | | Bump database version | Erik Johnston | 2015-04-07 | 1 | -1/+1 |
| | | | | |||||
* | | | | Make work in both Maria and SQLite. Fix tests | Erik Johnston | 2015-04-01 | 1 | -22/+21 |
| | | | | |||||
* | | | | Fix unicode database support | Erik Johnston | 2015-03-25 | 1 | -4/+8 |
| | | | | |||||
* | | | | Use _simple_upsert | Erik Johnston | 2015-03-24 | 1 | -3/+5 |
| | | | | |||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-03-20 | 1 | -1/+2 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | Give sensible names for '_simple_...' transactions | Erik Johnston | 2015-03-20 | 1 | -1/+3 |
| | | | | |||||
| * | | | Rearrange storage modules | Erik Johnston | 2015-03-20 | 1 | -468/+4 |
| | |/ | |/| | |||||
* | | | Rearrange storage modules | Erik Johnston | 2015-03-20 | 1 | -462/+4 |
| | | | |||||
* | | | Convert storage layer to be mysql compatible | Erik Johnston | 2015-03-19 | 1 | -48/+116 |
|/ / | |||||
* | | Also give _execute() a description | Paul "LeoNerd" Evans | 2015-03-11 | 1 | -2/+1 |
| | | |||||
* | | Add a description to storage layer's _execute_and_decode() | Paul "LeoNerd" Evans | 2015-03-11 | 1 | -2/+2 |
| | | |||||
* | | These aren't defined for redacted events so don't crash | David Baker | 2015-03-10 | 1 | -2/+4 |
|/ | |||||
* | Note that we don't specify execution order | Erik Johnston | 2015-03-04 | 1 | -0/+4 |
| | |||||
* | s/schema_deltas/applied_schema_deltas/ | Erik Johnston | 2015-03-04 | 1 | -7/+9 |
| | |||||
* | s/%r/%s/ | Erik Johnston | 2015-03-04 | 1 | -1/+1 |
| | |||||
* | Add example directory structures in doc | Erik Johnston | 2015-03-04 | 1 | -1/+36 |
| | |||||
* | Don't assume db conn is a Context Manager. | Erik Johnston | 2015-03-04 | 1 | -1/+5 |
| | | | | Twisted adbapi wrapped connections aren't context managers. | ||||
* | Add unique constraint on schema_version.lock schema. Use conflict clause in sql. | Erik Johnston | 2015-03-04 | 1 | -3/+3 |
| | |||||
* | Use context manager with db conn to correctly commit and rollback | Erik Johnston | 2015-03-04 | 1 | -11/+11 |
| | |||||
* | More docs. Rename 'schema/current' to 'schema/full_schemas' | Erik Johnston | 2015-03-04 | 1 | -7/+23 |
| | |||||
* | Add some docs and remove unused variables | Erik Johnston | 2015-03-04 | 1 | -8/+10 |
| | |||||
* | SYN-67: Finish up implementing new database schema management | Erik Johnston | 2015-03-04 | 1 | -66/+131 |
| | |||||
* | SYN-67: Begin changing the way we handle schema versioning | Erik Johnston | 2015-03-02 | 1 | -38/+106 |
| | |||||
* | Add missing comma | Erik Johnston | 2015-03-02 | 1 | -1/+1 |
| | |||||
* | We purposefully don't have a version 14 delta script. | Erik Johnston | 2015-03-02 | 1 | -1/+1 |
| | |||||
* | Run deltas and bump user_version in upgrade script | Kegan Dougal | 2015-03-02 | 1 | -1/+1 |
| | |||||
* | Use absolute path when loading delta sql files | Erik Johnston | 2015-02-17 | 1 | -1/+2 |
| | |||||
* | Bump schema version | Erik Johnston | 2015-02-17 | 1 | -1/+1 |
| | |||||
* | Merge pull request #50 from matrix-org/application-services | Mark Haines | 2015-02-13 | 1 | -0/+3 |
|\ | | | | | Application Services | ||||
| * | Merge branch 'develop' into application-services | Kegan Dougal | 2015-02-11 | 1 | -0/+5 |
| |\ | |||||
| * \ | Merge branch 'develop' into application-services | Kegan Dougal | 2015-02-05 | 1 | -75/+136 |
| |\ \ | |||||
| * | | | Implement txns for AS (un)registration. | Kegan Dougal | 2015-02-02 | 1 | -1/+1 |
| | | | | |||||
| * | | | Actually merge into develop. | Kegan Dougal | 2015-02-02 | 1 | -8/+1 |
| | | | | |||||
| * | | | Merge branch 'develop' into application-services | Kegan Dougal | 2015-02-02 | 1 | -4/+93 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/handlers/__init__.py synapse/storage/__init__.py | ||||
| * | | | | Add basic application_services SQL, and hook up parts of the appservice ↵ | Kegan Dougal | 2015-01-28 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | store to read from it. | ||||
| * | | | | Add appservice handler and store. Glue together rest > handler > store. | Kegan Dougal | 2015-01-27 | 1 | -2/+3 |
| | | | | | |||||
* | | | | | Prepare the database whenever a connection is opened from the db_pool so ↵ | Mark Haines | 2015-02-13 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | that in-memory databases will work | ||||
* | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into use-simplejson | Erik Johnston | 2015-02-11 | 1 | -0/+5 |
|\ \ \ \ \ | | |_|_|/ | |/| | | | |||||
| * | | | | Invalidate the cache for an event if it is redacted | Mark Haines | 2015-02-11 | 1 | -0/+2 |
| | | | | | |||||
| * | | | | Add a cache for get_event | Mark Haines | 2015-02-11 | 1 | -0/+3 |
| | |_|/ | |/| | | |||||
* | | | | pyflakes | Erik Johnston | 2015-02-11 | 1 | -1/+0 |
| | | | | |||||
* | | | | Don't unfreeze when using FreezeEvent.get_dict, as we are using a ↵ | Erik Johnston | 2015-02-11 | 1 | -2/+9 |
| | | | | | | | | | | | | | | | | JSONEncoder that understands FrozenDict | ||||
* | | | | Blunty replace json with simplejson | Erik Johnston | 2015-02-11 | 1 | -1/+1 |
|/ / / | |||||
* | | | Brief comment on why we do some things on every call to persist_event and ↵ | Erik Johnston | 2015-02-04 | 1 | -0/+6 |
| | | | | | | | | | | | | not others | ||||
* | | | Rearrange persist_event so that do all the queries that need to be done ↵ | Erik Johnston | 2015-02-04 | 1 | -71/+74 |
| | | | | | | | | | | | | before returning early if we have already persisted that event. | ||||
* | | | Add doc to get_event | Erik Johnston | 2015-02-03 | 1 | -0/+15 |
| | | | |||||
* | | | Try to ensure we don't persist an event we have already persisted. In ↵ | Erik Johnston | 2015-02-03 | 1 | -4/+36 |
| | | | | | | | | | | | | persist_event check if we already have the event, if so then update instead of replacing so that we don't cause a bump of the stream_ordering. | ||||
* | | | Don't fail an entire request if one of the returned events fails a signature ↵ | Erik Johnston | 2015-02-02 | 1 | -8/+13 |
| |/ |/| | | | | | check. If an event does fail a signature check, look in the local database and request it from the originator. | ||||
* | | Merge pull request #42 from matrix-org/replication_split | Mark Haines | 2015-01-30 | 1 | -0/+29 |
|\ \ | | | | | | | Replication split | ||||
| * \ | Merge branch 'rejections_storage' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2015-01-30 | 1 | -0/+40 |
| |\ \ | | | | | | | | | | | | | replication_split | ||||
| * | | | Split up replication_layer module into client, server and transaction queue | Erik Johnston | 2015-01-26 | 1 | -1/+1 |
| | | | | |||||
| * | | | Add storage method have_events | Erik Johnston | 2015-01-23 | 1 | -0/+29 |
| | | | | |||||
* | | | | Remove merge conflict | Erik Johnston | 2015-01-30 | 1 | -3/+0 |
| | | | | |||||
* | | | | Remember to add schema file to list | Erik Johnston | 2015-01-30 | 1 | -0/+1 |
| | | | | |||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into rejections_storage | Erik Johnston | 2015-01-30 | 1 | -1/+10 |
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | Conflicts: synapse/storage/__init__.py | ||||
| * | | | Merge pull request #37 from matrix-org/client_v2_filter | Erik Johnston | 2015-01-30 | 1 | -1/+3 |
| |\ \ \ | | | | | | | | | | | Client v2 filter | ||||
| | * \ \ | Merge changes from develop | Mark Haines | 2015-01-29 | 1 | -0/+40 |
| | |\ \ \ | |||||
| | * | | | | Created schema delta | Paul "LeoNerd" Evans | 2015-01-27 | 1 | -1/+1 |
| | | | | | | |||||
| | * | | | | Initial stab at real SQL storage implementation of user filter definitions | Paul "LeoNerd" Evans | 2015-01-27 | 1 | -0/+1 |
| | | | | | | |||||
| | * | | | | Move storage of user filters into real datastore layer; now have to mock it ↵ | Paul "LeoNerd" Evans | 2015-01-27 | 1 | -1/+2 |
| | | |_|/ | | |/| | | | | | | | | | | | | out in the REST-level tests | ||||
| * | | | | Add room member count condition and default rule to make a noise on rooms of ↵ | David Baker | 2015-01-30 | 1 | -1/+4 |
| | |/ / | |/| | | | | | | | | | | only 2 people. | ||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into rejections_storage | Erik Johnston | 2015-01-30 | 1 | -0/+40 |
|\| | | | |_|/ |/| | | | | | | | | | | | Conflicts: synapse/storage/__init__.py synapse/storage/schema/delta/v12.sql | ||||
| * | | Move pushers delta to v12 and bump schema version | David Baker | 2015-01-28 | 1 | -1/+1 |
| | | | |||||
| * | | Add brackets to make get room name / alias work | David Baker | 2015-01-26 | 1 | -2/+2 |
| | | | |||||
| * | | oops, this is not its own schema file | David Baker | 2015-01-22 | 1 | -1/+0 |
| | | | |||||
| * | | Oops: second part of commit dc938606 | David Baker | 2015-01-22 | 1 | -0/+3 |
| | | | |||||
| * | | Send room name and first alias in notification poke. | David Baker | 2015-01-15 | 1 | -0/+35 |
| | | | |||||
| * | | Merge branch 'develop' into pushers | David Baker | 2015-01-13 | 1 | -5/+3 |
| |\| | |||||
| * | | Merge branch 'develop' into pushers | David Baker | 2014-12-18 | 1 | -129/+70 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/api/errors.py synapse/server.py synapse/storage/__init__.py | ||||
| * | | | schema version is now 10 | David Baker | 2014-12-18 | 1 | -1/+1 |
| | | | | |||||
| * | | | ...and bump SCHEMA_VERSION | David Baker | 2014-12-18 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge branch 'develop' into pushers | David Baker | 2014-12-02 | 1 | -16/+43 |
| |\ \ \ | |||||
| * \ \ \ | Merge branch 'develop' into pushers | David Baker | 2014-11-20 | 1 | -1/+1 |
| |\ \ \ \ | |||||
| * | | | | | Start creating a module to do generic notifications (just prints them to ↵ | David Baker | 2014-11-19 | 1 | -2/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | stdout currently!) | ||||
* | | | | | | Add support for storing rejected events in EventContext and data stores | Erik Johnston | 2015-01-22 | 1 | -3/+8 |
| |_|_|_|/ |/| | | | | |||||
* | | | | | Add delta and bump DB version | Erik Johnston | 2015-01-06 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Update copyright notices | Mark Haines | 2015-01-06 | 1 | -1/+1 |
| | | | | | |||||
* | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into release-v0.6.0 | Erik Johnston | 2014-12-16 | 1 | -80/+0 |
|\ \ \ \ \ | | |_|_|/ | |/| | | | | | | | | | | | | | Conflicts: synapse/state.py | ||||
| * | | | | Merge branch 'release-v0.6.0' into develop | Mark Haines | 2014-12-16 | 1 | -1/+13 |
| |\ \ \ \ | |||||
| * | | | | | Remove send_message since nothing was calling it. Remove Snapshot because ↵ | Mark Haines | 2014-12-16 | 1 | -80/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | only send_message was using it | ||||
* | | | | | | Use is_outlier() so that we don't get AttributeError | Erik Johnston | 2014-12-16 | 1 | -3/+1 |
| |/ / / / |/| | | | | |||||
* | | | | | Do run all deltas up to missing delta 10 | Erik Johnston | 2014-12-16 | 1 | -4/+4 |
| | | | | | |||||
* | | | | | Make failure to run appropraite upgrade scripts more helpful. | Erik Johnston | 2014-12-16 | 1 | -0/+12 |
| | | | | | |||||
* | | | | | Bump database version | Erik Johnston | 2014-12-16 | 1 | -1/+1 |
|/ / / / | |||||
* | | | | Update upgrade script | Erik Johnston | 2014-12-16 | 1 | -1/+1 |
| | | | | |||||
* | | | | Persist internal_metadata | Erik Johnston | 2014-12-16 | 1 | -0/+5 |
| | | | | |||||
* | | | | Kill off synapse.api.events.* | Erik Johnston | 2014-12-16 | 1 | -10/+6 |
| | | | | |||||
* | | | | Use frozenutils | Erik Johnston | 2014-12-15 | 1 | -2/+1 |
| | | | | |||||
* | | | | Fix bug where we ignored event_edge_hashes table | Erik Johnston | 2014-12-15 | 1 | -1/+0 |
| | | | | |||||
* | | | | Store json as UTF-8 and not bytes | Erik Johnston | 2014-12-12 | 1 | -1/+1 |
| | | | | |||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-11 | 1 | -1/+5 |
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | Conflicts: setup.py | ||||
| * \ \ \ | Merge branch 'develop' into media_repository | Mark Haines | 2014-12-10 | 1 | -1/+1 |
| |\ \ \ \ | |||||
| * \ \ \ \ | Merge branch 'develop' into media_repository | Mark Haines | 2014-12-10 | 1 | -16/+43 |
| |\ \ \ \ \ | | | |_|_|/ | | |/| | | | |||||
| * | | | | | Get uploads working with new media repo | Mark Haines | 2014-12-02 | 1 | -1/+5 |
| | |_|_|/ | |/| | | | |||||
* | | | | | Fix bug where we clobbered old state group values | Erik Johnston | 2014-12-10 | 1 | -1/+2 |
| | | | | | |||||
* | | | | | Fix bug when uploading state with empty state_key | Erik Johnston | 2014-12-10 | 1 | -1/+3 |
| | | | | | |||||
* | | | | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-10 | 1 | -1/+1 |
|\ \ \ \ \ | | |_|/ / | |/| | | | |||||
| * | | | | track replication destination health, and perform exponential back-off when ↵ | Matthew Hodgson | 2014-12-07 | 1 | -1/+1 |
| | |/ / | |/| | | | | | | | | | | sending transactions. does *not* yet retry transactions, but drops them on the floor if waiting for a server to recover. | ||||
* | | | | Try and figure out how and why signatures are being changed. | Erik Johnston | 2014-12-10 | 1 | -10/+0 |
| | | | | |||||
* | | | | Change the way we implement get_events to be less sucky | Erik Johnston | 2014-12-09 | 1 | -17/+7 |
| | | | | |||||
* | | | | Start making more things use EventContext rather than event.* | Erik Johnston | 2014-12-05 | 1 | -10/+13 |
| | | | | |||||
* | | | | Store full JSON of events in db | Erik Johnston | 2014-12-01 | 1 | -0/+19 |
|/ / / | |||||
* | | | Don't delete the entire current_state_events table | Erik Johnston | 2014-11-26 | 1 | -1/+4 |
| | | | |||||
* | | | Add update delta for schema change | Erik Johnston | 2014-11-26 | 1 | -1/+1 |
| | | | |||||
* | | | Correctly handle the case where we get an event for an unknown room, which ↵ | Erik Johnston | 2014-11-26 | 1 | -15/+39 |
|/ / | | | | | | | turns out we are actually in | ||||
* | | Use module loggers rather than the root logger. Exceptions caused by bad ↵ | Mark Haines | 2014-11-20 | 1 | -1/+1 |
| | | | | | | | | clients shouldn't cause ERROR level logging. Fix sql logging to use 'repr' rather than 'str' | ||||
* | | Bump version, changelog and upgrade.rst | Erik Johnston | 2014-11-19 | 1 | -1/+1 |
|/ | |||||
* | Fix PDU and event signatures | Mark Haines | 2014-11-14 | 1 | -2/+2 |
| | |||||
* | Store all signatures on events rather than just dropping them | Erik Johnston | 2014-11-12 | 1 | -7/+8 |
| | |||||
* | Fix bugs with invites/joins across federatiom. | Erik Johnston | 2014-11-12 | 1 | -3/+11 |
| | | | | | Both in terms of auth and not trying to fetch missing PDUs for invites, joins etc. | ||||
* | PEP8 | Erik Johnston | 2014-11-10 | 1 | -3/+4 |
| | |||||
* | Tidy up some of the unused sql tables | Erik Johnston | 2014-11-10 | 1 | -18/+3 |
| | |||||
* | Fix joining over federation | Erik Johnston | 2014-11-07 | 1 | -0/+1 |
| | |||||
* | Start implementing auth chains | Erik Johnston | 2014-11-07 | 1 | -1/+11 |
| | |||||
* | Amalgamate all power levels. | Erik Johnston | 2014-11-06 | 1 | -12/+0 |
| | | | | | Remove concept of reqired power levels, something similiar can be done using the new power level event. | ||||
* | Implement new replace_state and changed prev_state | Erik Johnston | 2014-11-06 | 1 | -23/+69 |
| | | | | | `prev_state` is now a list of previous state ids, similiar to prev_events. `replace_state` now points to what we think was replaced. | ||||
* | Formatting | Erik Johnston | 2014-11-03 | 1 | -1/+4 |
| | |||||
* | Sign evnets | Erik Johnston | 2014-10-31 | 1 | -0/+6 |
| | |||||
* | Make prev_event signing work again. | Erik Johnston | 2014-10-31 | 1 | -6/+5 |
| | |||||
* | Remove more references to dead PDU tables | Erik Johnston | 2014-10-31 | 1 | -9/+0 |
| | |||||
* | Remove PDU tables. | Erik Johnston | 2014-10-31 | 1 | -59/+1 |
| | |||||
* | Start filling out and using new events tables | Erik Johnston | 2014-10-29 | 1 | -19/+26 |
| | |||||
* | Don't reference PDU when persisting event | Erik Johnston | 2014-10-28 | 1 | -2/+3 |
| | |||||
* | Begin implementing all the PDU storage stuff in Events land | Erik Johnston | 2014-10-28 | 1 | -17/+55 |
| | |||||
* | Add transaction level logging and timing information. Add a _simple_delete ↵ | Erik Johnston | 2014-10-28 | 1 | -1/+2 |
| | | | | method | ||||
* | Merge branch 'event_signing' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-27 | 1 | -7/+44 |
|\ | | | | | | | | | | | | | federation_authorization Conflicts: synapse/storage/__init__.py | ||||
| * | Merge branch 'develop' into event_signing | Mark Haines | 2014-10-27 | 1 | -4/+5 |
| |\ | |||||
| * \ | Merge branch 'develop' into event_signing | Mark Haines | 2014-10-17 | 1 | -0/+2 |
| |\ \ | | | | | | | | | | | | | | | | | Conflicts: synapse/federation/replication.py | ||||
| * | | | Hash the same content covered by the signature when referencing previous ↵ | Mark Haines | 2014-10-17 | 1 | -1/+8 |
| | | | | | | | | | | | | | | | | PDUs rather than reusing the PDU content hashes | ||||
| * | | | Include hashes of previous pdus when referencing them | Mark Haines | 2014-10-16 | 1 | -6/+14 |
| | | | | |||||
| * | | | Sign outgoing PDUs. | Mark Haines | 2014-10-16 | 1 | -3/+4 |
| | | | | |||||
| * | | | persist hashes and origin signatures for PDUs | Mark Haines | 2014-10-15 | 1 | -1/+20 |
| | | | | |||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-27 | 1 | -4/+7 |
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | federation_authorization Conflicts: synapse/federation/transport.py synapse/handlers/message.py | ||||
| * | | | Wrap preparing the database in a transaction. Otherwise it will take many ↵ | Mark Haines | 2014-10-24 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | seconds to complete because sqlite will create a transaction per statement | ||||
| * | | | Bump database version number. | Erik Johnston | 2014-10-17 | 1 | -1/+1 |
| | |/ | |/| | |||||
| * | | keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating ↵ | Mark Haines | 2014-10-17 | 1 | -0/+2 |
| |/ | | | | | | | schema | ||||
* / | Begin implementing state groups. | Erik Johnston | 2014-10-14 | 1 | -1/+5 |
|/ | |||||
* | Merge branch 'develop' into server2server_signing | Mark Haines | 2014-09-30 | 1 | -6/+47 |
|\ | | | | | | | | | | | Conflicts: synapse/storage/__init__.py tests/rest/test_presence.py | ||||
| * | pyflakes cleanup | Erik Johnston | 2014-09-30 | 1 | -1/+1 |
| | | |||||
| * | SYN-48: Delete dead code | Erik Johnston | 2014-09-29 | 1 | -26/+0 |
| | | |||||
| * | SYN-48: Implement WHOIS rest servlet | Erik Johnston | 2014-09-29 | 1 | -2/+38 |
| | | |||||
| * | SYN-48: Track User-Agents as well as IPs for client devices. | Erik Johnston | 2014-09-29 | 1 | -2/+4 |
| | | |||||
| * | Track the IP users connect with. Add an admin column to users table. | Erik Johnston | 2014-09-26 | 1 | -1/+11 |
| | | |||||
| * | Merge branch 'deletions' of github.com:matrix-org/synapse into develop | Erik Johnston | 2014-09-25 | 1 | -4/+22 |
| |\ | |||||
| | * | Add LIMIT to scalar subquery | Erik Johnston | 2014-09-25 | 1 | -1/+2 |
| | | | |||||
| | * | Rename deletions to redactions | Erik Johnston | 2014-09-24 | 1 | -11/+12 |
| | | | |||||
| | * | Make deleting deletes not undelete | Erik Johnston | 2014-09-24 | 1 | -14/+4 |
| | | | |||||
| | * | Fix bug where we didn't correctly pull out the event_id of the deletion | Erik Johnston | 2014-09-24 | 1 | -1/+5 |
| | | |