dendrite/userapi
alexfca 927238a686
Use a common way to generate CollectionName and PartitionKey (#18)
* - Create CosmosDocument as a base class
- Add CT and UT
- Refactor all tables to use the CosmosDocument

* - Add UpsertDocument method to perform updates in a generic way
- Add SetUpdateTime() to update the UT for updates
- Refactor it all

* - Add Performquery method
- Refactor appservice_events_table

* - Update naffka Topics and Messages to use the common pattern

* - Update keyserver to use the common pattern for collection and PK

* - Update mediaapi to use the common pattern for collection and pk

* - Update roomserver to use the common pattern for collectionname and pk

* - Update signingkeyserver to use the common pattern for collectionname and pk

* - Update userapi touse the common pattern for collectionname and pk

* - Update partitionOffset to use the common collectionname and pk
- Remove generic GetPartitionKey() method

Co-authored-by: alexf@example.com <alexf@example.com>
2021-09-23 09:02:37 +10:00
..
api Add tracing to user API (#1948) 2021-08-03 11:23:25 +01:00
internal Delete device keys/signatures from key server when deleting devices (#1979) 2021-08-18 12:07:09 +01:00
inthttp Key backups (1/2) : Add E2E session backup metadata tables (#1943) 2021-07-27 12:47:32 +01:00
storage Use a common way to generate CollectionName and PartitionKey (#18) 2021-09-23 09:02:37 +10:00
userapi.go Make bcrypt cost configurable (#1793) 2021-03-08 13:19:02 +00:00
userapi_test.go Implement OpenID module (#599) (#1812) 2021-04-07 13:26:20 +01:00