Commit Graph

371 Commits (d7457c7661fa3b28427b21f44252c3abbee45ef8)

Author SHA1 Message Date
Erik Johnston 9236136f3a Make work in both Maria and SQLite. Fix tests 10 years ago
Kegan Dougal c217504949 Edit SQL schema to use string IDs not ints. Use token as ID. Update tests. 10 years ago
David Baker c1a256cc4c Allow multiple pushers for a single app ID & pushkey, honouring the 'append' flag in the API. 10 years ago
Erik Johnston 0e8f5095c7 Fix unicode database support 10 years ago
David Baker c7023f2155 1) Pushers are now associated with an access token 10 years ago
Erik Johnston 0d0610870d Fix up schemas some more 10 years ago
Erik Johnston 58ed393235 Remove redundant key 10 years ago
Erik Johnston fae059cc18 Fix up schemas to work with mariadb 10 years ago
Erik Johnston 89036579ed Update schema to work with mariadb 10 years ago
Kegan Dougal b98cd03193 Use event IDs instead of dumping event content in the txns table. 10 years ago
Kegan Dougal 0a60bbf4fa Finish appservice txn storage impl and tests. 10 years ago
Kegan Dougal 01c099d9ef Add appservice txns sql schema 10 years ago
David Baker cf66ddc1b4 Schema change as delta in v14 10 years ago
Erik Johnston 17d319a20d s/schema_deltas/applied_schema_deltas/ 10 years ago
Erik Johnston 5eefd1f618 Add unique constraint on schema_version.lock schema. Use conflict clause in sql. 10 years ago
Erik Johnston b4c38738f4 Change to use logger in db upgrade script 10 years ago
Erik Johnston 8c8354e85a Actually add full_schemas dir 10 years ago
Erik Johnston c3530c3fb3 More docs. Rename 'schema/current' to 'schema/full_schemas' 10 years ago
Erik Johnston 82b34e813d SYN-67: Finish up implementing new database schema management 10 years ago
David Baker 94fa334b01 Add enable/disable overlay for push rules (REST API not yet hooked up) 10 years ago
Erik Johnston 1a989c436c Bump schema version 10 years ago
Erik Johnston 83d41f25d8 Set database schema version in delta 10 years ago
Kegan Dougal ac3183caaa Register a user account for the AS when the AS registers. Add 'sender' column to AS table. 10 years ago
Erik Johnston 0cd66885e3 Move delta/v13.sql to delta/v12.sql 10 years ago
Kegan Dougal a3c6010718 Add delta sql file. 10 years ago
Kegan Dougal 27091f146a Add hs_token column and generate a different token f.e application service. 10 years ago
David Baker dc7bb70f22 s/instance_handle/profile_tag/ 10 years ago
Erik Johnston 472cf532b7 Put CREATE rejections into seperate .sql 10 years ago
Mark Haines e4f50fa0aa Move bump schema delta 10 years ago
Kegan Dougal 3773759c0f Also edit the filter column on the delta SQL 10 years ago
Kegan Dougal 11634017f4 s/definition/filter_json/ since definition is now used to mean a component of the filter, rather than the complete json 10 years ago
Erik Johnston 0ef5bfd6a9 Start implementing auth conflict res 10 years ago
David Baker 60b143a52e Move pushers delta to v12 and bump schema version 10 years ago
Kegan Dougal 42876969b9 Add basic application_services SQL, and hook up parts of the appservice store to read from it. 10 years ago
Paul "LeoNerd" Evans 8398f19bce Created schema delta 10 years ago
Paul "LeoNerd" Evans 06cc147012 Initial stab at real SQL storage implementation of user filter definitions 10 years ago
David Baker ede491b4e0 Oops: second part of commit dc938606 10 years ago
Erik Johnston b1b85753d7 Add support for storing rejected events in EventContext and data stores 10 years ago
David Baker afb714f7be add instance_handles to pushers so we have a way to refer to them even if the push token changes. 10 years ago
David Baker 2d2953cf5f Require device language when adding a pusher. 10 years ago
David Baker 2cb30767fa Honour the 'rejected' return from push gateways 10 years ago
Erik Johnston a01416cf21 Add delta and bump DB version 10 years ago
Erik Johnston f6da237c35 Add index on transaction_id to sent_transcations 10 years ago
Mark Haines adb04b1e57 Update copyright notices 10 years ago
David Baker afa953a293 schema version is now 10 10 years ago
David Baker fc7c5e9cd7 Rename the pusher SQL delta to v9 which the next free one 10 years ago
David Baker 9728c305a3 after a few rethinks, a working implementation of pushers. 10 years ago
Erik Johnston 42b725ce52 Fix upgrade script to run all the missing deltas. 10 years ago
Erik Johnston 882dc8dcab Persist internal_metadata 10 years ago
Erik Johnston 1d2a0040cf Fix bug where we clobbered old state group values 10 years ago