Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename user_ips.user -> user_id | Erik Johnston | 2015-04-14 | 2 | -6/+6 |
| | |||||
* | Add support for postgres instead of mysql. Change sql accourdingly. blob + ↵ | Erik Johnston | 2015-04-14 | 13 | -105/+103 |
| | | | | varbinary -> bytea. No support for UNSIGNED or CREATE INDEX IF NOT EXISTS. | ||||
* | For backwards compat, make state_groups.id have a type of int, not varchar | Erik Johnston | 2015-04-13 | 1 | -1/+1 |
| | |||||
* | Remove duplicate rows | Erik Johnston | 2015-04-10 | 1 | -0/+9 |
| | |||||
* | DROP indexes before recreating them | Erik Johnston | 2015-04-10 | 2 | -1/+9 |
| | |||||
* | Use LONGBLOB and TEXT for arbitary length rows | Erik Johnston | 2015-04-10 | 12 | -34/+34 |
| | |||||
* | Use unsigned bigint | Erik Johnston | 2015-04-10 | 19 | -50/+50 |
| | |||||
* | SQLite wants INTEGER and not BIGINT for primary keys | Erik Johnston | 2015-04-10 | 6 | -9/+9 |
| | |||||
* | Update full_schemas/16 to match delta files. Add delta/16 scripts | Erik Johnston | 2015-04-10 | 6 | -0/+245 |
| | |||||
* | Revert non-trivial changes to upgrade scripts | Erik Johnston | 2015-04-10 | 3 | -5/+5 |
| | |||||
* | Fix schema again | Erik Johnston | 2015-04-10 | 2 | -3/+3 |
| | |||||
* | Revert non-trivial schema changes and move them to a new schema version. | Erik Johnston | 2015-04-10 | 19 | -27/+636 |
| | |||||
* | Remove spurious spaces | Erik Johnston | 2015-04-09 | 15 | -50/+50 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into mysql | Erik Johnston | 2015-04-07 | 1 | -0/+31 |
|\ | |||||
| * | Edit SQL schema to use string IDs not ints. Use token as ID. Update tests. | Kegan Dougal | 2015-03-31 | 1 | -4/+3 |
| | | |||||
| * | Use event IDs instead of dumping event content in the txns table. | Kegan Dougal | 2015-03-09 | 1 | -1/+1 |
| | | |||||
| * | Finish appservice txn storage impl and tests. | Kegan Dougal | 2015-03-09 | 1 | -1/+1 |
| | | |||||
| * | Merge branch 'develop' into application-services-txn-reliability | Kegan Dougal | 2015-03-06 | 1 | -0/+9 |
| |\ | |||||
| * | | Add appservice txns sql schema | Kegan Dougal | 2015-03-06 | 1 | -0/+31 |
| | | | |||||
* | | | Add index to presence table | Erik Johnston | 2015-04-07 | 1 | -0/+2 |
| | | | |||||
* | | | Don't use multiple UNIQUE constraints; it will cause deadlocks | Erik Johnston | 2015-04-07 | 2 | -6/+8 |
| | | | |||||
* | | | Fix unicode support | Erik Johnston | 2015-04-02 | 16 | -145/+143 |
| | | | |||||
* | | | Make work in both Maria and SQLite. Fix tests | Erik Johnston | 2015-04-01 | 15 | -55/+55 |
| | | | |||||
* | | | Fix unicode database support | Erik Johnston | 2015-03-25 | 3 | -3/+2 |
| | | | |||||
* | | | Fix up schemas some more | Erik Johnston | 2015-03-20 | 3 | -3/+3 |
| | | | |||||
* | | | Remove redundant key | Erik Johnston | 2015-03-19 | 1 | -1/+0 |
| | | | |||||
* | | | Fix up schemas to work with mariadb | Erik Johnston | 2015-03-19 | 15 | -84/+82 |
| | | | |||||
* | | | Update schema to work with mariadb | Erik Johnston | 2015-03-18 | 16 | -256/+224 |
| |/ |/| | |||||
* | | Schema change as delta in v14 | David Baker | 2015-03-06 | 1 | -0/+0 |
| | | |||||
* | | Merge branch 'develop' into pushrules2 | David Baker | 2015-03-04 | 28 | -530/+53 |
|\| | | | | | | | | | Conflicts: synapse/storage/schema/pusher.sql | ||||
| * | s/schema_deltas/applied_schema_deltas/ | Erik Johnston | 2015-03-04 | 1 | -2/+2 |
| | | |||||
| * | Add unique constraint on schema_version.lock schema. Use conflict clause in sql. | Erik Johnston | 2015-03-04 | 1 | -1/+2 |
| | | |||||
| * | Change to use logger in db upgrade script | Erik Johnston | 2015-03-04 | 1 | -1/+4 |
| | | |||||
| * | Actually add full_schemas dir | Erik Johnston | 2015-03-04 | 12 | -0/+645 |
| | | |||||
| * | More docs. Rename 'schema/current' to 'schema/full_schemas' | Erik Johnston | 2015-03-04 | 12 | -645/+0 |
| | | |||||
| * | SYN-67: Finish up implementing new database schema management | Erik Johnston | 2015-03-04 | 27 | -501/+30 |
| | | |||||
* | | Add enable/disable overlay for push rules (REST API not yet hooked up) | David Baker | 2015-02-25 | 2 | -0/+19 |
|/ | |||||
* | Bump schema version | Erik Johnston | 2015-02-17 | 1 | -0/+0 |
| | |||||
* | Merge pull request #50 from matrix-org/application-services | Mark Haines | 2015-02-13 | 2 | -0/+68 |
|\ | | | | | Application Services | ||||
| * | Merge branch 'develop' into application-services | Kegan Dougal | 2015-02-09 | 2 | -24/+11 |
| |\ | |||||
| * | | Register a user account for the AS when the AS registers. Add 'sender' ↵ | Kegan Dougal | 2015-02-09 | 2 | -0/+2 |
| | | | | | | | | | | | | column to AS table. | ||||
| * | | Add delta sql file. | Kegan Dougal | 2015-02-05 | 1 | -0/+33 |
| | | | |||||
| * | | Merge branch 'develop' into application-services | Kegan Dougal | 2015-02-05 | 2 | -2/+2 |
| |\ \ | |||||
| * | | | Add hs_token column and generate a different token f.e application service. | Kegan Dougal | 2015-02-05 | 1 | -0/+1 |
| | | | | |||||
| * | | | Merge branch 'develop' into application-services | Kegan Dougal | 2015-02-02 | 5 | -0/+169 |
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+32 |
| | | | | | | | | | | | | | | | | | | | | store to read from it. | ||||
* | | | | | Set database schema version in delta | Erik Johnston | 2015-02-12 | 1 | -0/+2 |
| |_|_|/ |/| | | | |||||
* | | | | Move delta/v13.sql to delta/v12.sql | Erik Johnston | 2015-02-06 | 2 | -24/+11 |
| |_|/ |/| | | |||||
* | | | s/instance_handle/profile_tag/ | David Baker | 2015-02-03 | 2 | -2/+2 |
| |/ |/| | |||||
* | | Merge branch 'develop' of github.com:matrix-org/synapse into rejections_storage | Erik Johnston | 2015-01-30 | 2 | -0/+48 |
|\ \ | | | | | | | | | | | | | Conflicts: synapse/storage/__init__.py | ||||
| * \ | Merge changes from develop | Mark Haines | 2015-01-29 | 2 | -0/+92 |
| |\ \ | |||||
| * | | | Move bump schema delta | Mark Haines | 2015-01-29 | 1 | -0/+0 |
| | | | | |||||
| * | | | Also edit the filter column on the delta SQL | Kegan Dougal | 2015-01-29 | 1 | -1/+1 |
| | | | | |||||
| * | | | s/definition/filter_json/ since definition is now used to mean a component ↵ | Kegan Dougal | 2015-01-28 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | of the filter, rather than the complete json | ||||
| * | | | Created schema delta | Paul "LeoNerd" Evans | 2015-01-27 | 1 | -0/+24 |
| | | | | |||||
| * | | | Initial stab at real SQL storage implementation of user filter definitions | Paul "LeoNerd" Evans | 2015-01-27 | 1 | -0/+24 |
| | |/ | |/| | |||||
* | | | Put CREATE rejections into seperate .sql | Erik Johnston | 2015-01-30 | 2 | -7/+21 |
| | | | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into rejections_storage | Erik Johnston | 2015-01-30 | 2 | -0/+79 |
|\ \ \ | | |/ | |/| | | | | | | | | | | 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 | -0/+0 |
| | | | |||||
| * | | Oops: second part of commit dc938606 | David Baker | 2015-01-22 | 2 | -0/+26 |
| | | | |||||
| * | | add instance_handles to pushers so we have a way to refer to them even if ↵ | David Baker | 2015-01-20 | 2 | -0/+2 |
| | | | | | | | | | | | | the push token changes. | ||||
| * | | Require device language when adding a pusher. | David Baker | 2015-01-16 | 2 | -0/+2 |
| | | | | | | | | | | | | | | | Because this seems like it might be useful to do sooner rather than later. | ||||
| * | | Honour the 'rejected' return from push gateways | David Baker | 2015-01-13 | 2 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | Add a timestamp to push tokens so we know the last time they we got them from the device. Send it to the push gateways so it can determine whether its failure is more recent than the token. Stop and remove pushers that have been rejected. | ||||
| * | | Merge branch 'develop' into pushers | David Baker | 2015-01-13 | 20 | -15/+88 |
| |\| | |||||
| * | | Merge branch 'develop' into pushers | David Baker | 2014-12-18 | 5 | -1/+168 |
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: synapse/api/errors.py synapse/server.py synapse/storage/__init__.py | ||||
| * | | | schema version is now 10 | David Baker | 2014-12-18 | 1 | -0/+0 |
| | | | | |||||
| * | | | Rename the pusher SQL delta to v9 which the next free one | David Baker | 2014-12-18 | 1 | -0/+0 |
| | | | | |||||
| * | | | after a few rethinks, a working implementation of pushers. | David Baker | 2014-12-18 | 2 | -4/+2 |
| | | | | |||||
| * | | | Update to app_id / app_instance_id (partially) and mangle to be PEP8 compliant. | David Baker | 2014-12-03 | 2 | -4/+6 |
| | | | | |||||
| * | | | Merge branch 'develop' into pushers | David Baker | 2014-12-02 | 2 | -1/+35 |
| |\ \ \ | |||||
| * | | | | More work on pushers. Attempt to do HTTP pokes. Not sure if the actual HTTP ↵ | David Baker | 2014-11-21 | 2 | -0/+4 |
| | | | | | | | | | | | | | | | | | | | | pokes work or not yet but the retry semantics are pretty good. | ||||
| * | | | | Start creating a module to do generic notifications (just prints them to ↵ | David Baker | 2014-11-19 | 2 | -0/+56 |
| | | | | | | | | | | | | | | | | | | | | stdout currently!) | ||||
* | | | | | Add support for storing rejected events in EventContext and data stores | Erik Johnston | 2015-01-22 | 2 | -0/+28 |
| |_|_|/ |/| | | | |||||
* | | | | Add delta and bump DB version | Erik Johnston | 2015-01-06 | 1 | -0/+16 |
| | | | | |||||
* | | | | Add index on transaction_id to sent_transcations | Erik Johnston | 2015-01-06 | 1 | -0/+1 |
| | | | | |||||
* | | | | Update copyright notices | Mark Haines | 2015-01-06 | 19 | -15/+71 |
| |_|/ |/| | | |||||
* | | | Fix upgrade script to run all the missing deltas. | Erik Johnston | 2014-12-16 | 1 | -1/+57 |
| | | | |||||
* | | | Persist internal_metadata | Erik Johnston | 2014-12-16 | 1 | -0/+1 |
| | | | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-11 | 1 | -0/+68 |
|\ \ \ | | | | | | | | | | | | | | | | | Conflicts: setup.py | ||||
| * \ \ | Merge branch 'develop' into media_repository | Mark Haines | 2014-12-10 | 2 | -0/+29 |
| |\ \ \ | |||||
| * \ \ \ | Merge branch 'develop' into media_repository | Mark Haines | 2014-12-10 | 2 | -1/+35 |
| |\ \ \ \ | | | |_|/ | | |/| | | |||||
| * | | | | Add a method field to thumbnail storage | Mark Haines | 2014-12-05 | 1 | -1/+3 |
| | | | | | |||||
| * | | | | Write the upload portion of version 1 of the media repository | Mark Haines | 2014-12-02 | 1 | -0/+66 |
| | |_|/ | |/| | | |||||
* | | | | 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 | -0/+2 |
| | | | | |||||
* | | | | Merge branch 'develop' of github.com:matrix-org/synapse into events_refactor | Erik Johnston | 2014-12-10 | 2 | -0/+29 |
|\ \ \ \ | | |_|/ | |/| | | |||||
| * | | | track replication destination health, and perform exponential back-off when ↵ | Matthew Hodgson | 2014-12-07 | 2 | -0/+29 |
| | |/ | |/| | | | | | | | sending transactions. does *not* yet retry transactions, but drops them on the floor if waiting for a server to recover. | ||||
* / | | Store full JSON of events in db | Erik Johnston | 2014-12-01 | 1 | -0/+10 |
|/ / | |||||
* | | Add update delta for schema change | Erik Johnston | 2014-11-26 | 1 | -0/+34 |
| | | |||||
* | | Update schema to support multiple signatures | Erik Johnston | 2014-11-26 | 1 | -1/+1 |
|/ | |||||
* | Store all signatures on events rather than just dropping them | Erik Johnston | 2014-11-12 | 1 | -3/+3 |
| | |||||
* | Add indices to state group tables | Erik Johnston | 2014-11-12 | 1 | -0/+13 |
| | |||||
* | Tidy up some of the unused sql tables | Erik Johnston | 2014-11-10 | 1 | -62/+6 |
| | |||||
* | Start implementing auth chains | Erik Johnston | 2014-11-07 | 1 | -0/+10 |
| | |||||
* | Implement new replace_state and changed prev_state | Erik Johnston | 2014-11-06 | 1 | -12/+28 |
| | | | | | `prev_state` is now a list of previous state ids, similiar to prev_events. `replace_state` now points to what we think was replaced. | ||||
* | Remove unused sql file. | Erik Johnston | 2014-10-31 | 1 | -31/+0 |
| | |||||
* | Remove more references to dead PDU tables | Erik Johnston | 2014-10-31 | 1 | -66/+0 |
| | |||||
* | Remove PDU tables. | Erik Johnston | 2014-10-31 | 1 | -106/+0 |
| | |||||
* | Start filling out and using new events tables | Erik Johnston | 2014-10-29 | 1 | -5/+3 |
| | |||||
* | Begin implementing all the PDU storage stuff in Events land | Erik Johnston | 2014-10-28 | 3 | -0/+117 |
| | |||||
* | Merge branch 'event_signing' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-27 | 1 | -0/+66 |
|\ | | | | | | | | | | | | | federation_authorization Conflicts: synapse/storage/__init__.py | ||||
| * | Merge branch 'develop' into event_signing | Mark Haines | 2014-10-27 | 1 | -0/+31 |
| |\ | |||||
| * | | Hash the same content covered by the signature when referencing previous ↵ | Mark Haines | 2014-10-17 | 1 | -2/+16 |
| | | | | | | | | | | | | PDUs rather than reusing the PDU content hashes | ||||
| * | | Include hashes of previous pdus when referencing them | Mark Haines | 2014-10-16 | 1 | -0/+16 |
| | | | |||||
| * | | persist hashes and origin signatures for PDUs | Mark Haines | 2014-10-15 | 1 | -2/+2 |
| | | | |||||
| * | | Storage for pdu signatures | Mark Haines | 2014-10-14 | 1 | -0/+36 |
| | | | |||||
* | | | Merge branch 'develop' of github.com:matrix-org/synapse into ↵ | Erik Johnston | 2014-10-27 | 1 | -0/+31 |
|\ \ \ | | |/ | |/| | | | | | | | | | | | | | | | | federation_authorization Conflicts: synapse/federation/transport.py synapse/handlers/message.py | ||||
| * | | Bump database version number. | Erik Johnston | 2014-10-17 | 1 | -0/+31 |
| | | | |||||
| * | | keep 'origin_server_ts' as 'ts' in the database to avoid needlessly updating ↵ | Mark Haines | 2014-10-17 | 2 | -3/+3 |
| | | | | | | | | | | | | schema | ||||
| * | | SPEC-7: Rename 'ts' to 'origin_server_ts' | Mark Haines | 2014-10-17 | 2 | -3/+3 |
| |/ | |||||
* | | Begin making auth use event.old_state_events | Erik Johnston | 2014-10-15 | 1 | -1/+1 |
| | | |||||
* | | Begin implementing state groups. | Erik Johnston | 2014-10-14 | 1 | -0/+33 |
|/ | |||||
* | Merge branch 'develop' into server2server_signing | Mark Haines | 2014-09-30 | 5 | -1/+52 |
|\ | | | | | | | | | | | Conflicts: synapse/storage/__init__.py tests/rest/test_presence.py | ||||
| * | SYN-48: Implement WHOIS rest servlet | Erik Johnston | 2014-09-29 | 2 | -2/+4 |
| | | |||||
| * | SYN-48: Track User-Agents as well as IPs for client devices. | Erik Johnston | 2014-09-29 | 2 | -2/+6 |
| | | |||||
| * | Track the IP users connect with. Add an admin column to users table. | Erik Johnston | 2014-09-26 | 2 | -0/+24 |
| | | |||||
| * | Rename deletions to redactions | Erik Johnston | 2014-09-24 | 4 | -13/+15 |
| | | |||||
| * | Add v4 deltas to current sql. | Erik Johnston | 2014-09-24 | 2 | -1/+9 |
| | | |||||
| * | SYN-12: Implement auth for deletion by adding a 'delete_level' on the ops ↵ | Erik Johnston | 2014-09-23 | 1 | -0/+4 |
| | | | | | | | | | | | | levels event SYN-12 # comment Auth has been added. | ||||
| * | Add m.room.deletion. If an event is deleted it will be returned to clients ↵ | Erik Johnston | 2014-09-23 | 1 | -2/+4 |
| | | | | | | | | 'pruned', i.e. all client specified keys will be removed. | ||||
| * | Add a deletions table | Erik Johnston | 2014-09-22 | 1 | -0/+5 |
| | | |||||
* | | SYN-75 Verify signatures on server to server transactions | Mark Haines | 2014-09-30 | 1 | -6/+7 |
|/ | |||||
* | Generate m.room.aliases event when the HS creates a room alias | Erik Johnston | 2014-09-05 | 1 | -0/+27 |
| | |||||
* | fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org ↵ | Matthew Hodgson | 2014-09-03 | 10 | -10/+10 |
| | | | | hasn't been incorporated in time for launch. | ||||
* | Store SQL DDL deltas as well; attempt to upgrade the database on startup if ↵ | Paul "LeoNerd" Evans | 2014-09-03 | 1 | -0/+168 |
| | | | | it's too old | ||||
* | Add copyright notices and fix pyflakes errors | Mark Haines | 2014-09-03 | 1 | -0/+15 |
| | |||||
* | Merge branch 'develop' of github.com:matrix-org/synapse into room_config | Erik Johnston | 2014-09-01 | 1 | -0/+30 |
|\ | |||||
| * | Add store for server certificates and keys | Mark Haines | 2014-08-28 | 1 | -0/+30 |
| | | |||||
* | | Add all the necessary checks to make banning work. | Erik Johnston | 2014-09-01 | 1 | -1/+1 |
| | | |||||
* | | Add beginnings of ban support. | Erik Johnston | 2014-09-01 | 1 | -0/+11 |
| | | |||||
* | | Implement power level lists, default power levels and ↵ | Erik Johnston | 2014-09-01 | 1 | -0/+20 |
| | | | | | | | | send_evnet_level/add_state_level events. | ||||
* | | Start adding storage for new events. | Erik Johnston | 2014-08-29 | 1 | -0/+32 |
|/ | |||||
* | Add a unique constraint on the room hosts table | Erik Johnston | 2014-08-24 | 1 | -1/+2 |
| | |||||
* | Add indices to schema | Erik Johnston | 2014-08-22 | 1 | -0/+20 |
| | |||||
* | Don't return state event outlier's when paginating. | Erik Johnston | 2014-08-22 | 1 | -0/+1 |
| | |||||
* | Change the way pagination works to support out of order events. | Erik Johnston | 2014-08-19 | 1 | -1/+1 |
| | |||||
* | SQL doesn't allow AUTOINCREMENT on non PRIMARY KEY columns. | Erik Johnston | 2014-08-18 | 1 | -1/+1 |
| | |||||
* | Add two different columns for ordering the events table, one which can be ↵ | Erik Johnston | 2014-08-18 | 1 | -5/+8 |
| | | | | used for pagination and one which can be as tokens for notifying clients. Also add a 'processed' field which is currently always set to True | ||||
* | Start chagning the events stream to work with the new DB schema | Erik Johnston | 2014-08-15 | 1 | -1/+4 |
| | |||||
* | Reimplement the get public rooms api to work with new DB schema | Erik Johnston | 2014-08-15 | 1 | -0/+12 |
| | |||||
* | Fix up typos and correct sql queries | Erik Johnston | 2014-08-14 | 1 | -2/+2 |
| | |||||
* | Fix up RoomMemberStore to work with the new schema. | Erik Johnston | 2014-08-14 | 1 | -1/+5 |
| | |||||
* | Merge branch 'master' of github.com:matrix-org/synapse into sql_refactor | Erik Johnston | 2014-08-14 | 1 | -0/+1 |
|\ | | | | | | | | | Conflicts: synapse/storage/_base.py | ||||
| * | An initial hack at storing presence state-change mtimes in database and ↵ | Paul "LeoNerd" Evans | 2014-08-13 | 1 | -0/+1 |
| | | | | | | | | presenting age durations to clients/federation events | ||||
* | | Make feedback table also store sender. | Erik Johnston | 2014-08-13 | 1 | -1/+2 |
| | | |||||
* | | Initial stab at refactoring the SQL tables, including rejigging some of the ↵ | Erik Johnston | 2014-08-13 | 1 | -6/+5 |
| | | | | | | | | storage layer. | ||||
* | | Convert im schema to a 'one' table structure | Erik Johnston | 2014-08-13 | 1 | -26/+31 |
|/ | |||||
* | Reference Matrix Home Server | matrix.org | 2014-08-12 | 8 | -0/+352 |