Commit graph

107 commits

Author SHA1 Message Date
Neil Alexander
f5756f1c59
Test sig upload 2021-07-30 12:22:33 +01:00
Neil Alexander
85342a1d4f
Remove logging 2021-07-30 11:27:56 +01:00
Neil Alexander
e4c531b7d1
Logging 2021-07-30 11:19:29 +01:00
Neil Alexander
47233e19b8
god damnit why is this so fiddly 2021-07-30 11:12:33 +01:00
Neil Alexander
e64f9860ec
Remove guard 2021-07-30 11:07:42 +01:00
Neil Alexander
3939d54cc2
Logging 2021-07-30 11:06:17 +01:00
Neil Alexander
8630960141
Try this again 2021-07-30 11:04:26 +01:00
Neil Alexander
28b038390e
Logging 2021-07-30 10:56:23 +01:00
Neil Alexander
c997461db1
Logging 2021-07-30 10:54:39 +01:00
Neil Alexander
efe01519a2
Don't give up so quickly on errors 2021-07-30 10:50:49 +01:00
Neil Alexander
ddb60859b7
Let's try this again 2021-07-30 10:34:38 +01:00
Neil Alexander
67421a9d65
Let's try this again 2021-07-30 10:28:33 +01:00
Neil Alexander
1fed507679
Check per-user 2021-07-30 10:23:36 +01:00
Neil Alexander
0571b7eb1d
Try harder to query remote keys 2021-07-30 10:18:39 +01:00
Neil Alexander
5a00ff3634
Try harder to query remote keys 2021-07-30 09:58:03 +01:00
Neil Alexander
d459ef5b16
Hopefully get keys from remote query 2021-07-30 09:55:05 +01:00
Neil Alexander
78ab127ced
Some groundwork 2021-07-29 18:22:27 +01:00
Neil Alexander
39d66ed9d6
Some refactoring 2021-07-29 15:47:30 +01:00
Neil Alexander
49e0737fbf
Fix queries 2021-07-29 15:30:23 +01:00
Neil Alexander
4802216752
Initial signature upload support maybe 2021-07-29 15:29:16 +01:00
Neil Alexander
d84883d5c4
Add insert functions for cross-signing signatures 2021-07-29 14:47:09 +01:00
Neil Alexander
f1155d26bf
Allocate the map 2021-07-29 14:39:12 +01:00
Neil Alexander
fba18e8b17
Include signatures in key query 2021-07-29 14:35:42 +01:00
Neil Alexander
870c09be03
Fix error values 2021-07-29 13:13:10 +01:00
Neil Alexander
6e56dbc566
Only the master key signature matters 2021-07-29 13:10:10 +01:00
Neil Alexander
5de569be2c
A fix 2021-07-29 12:54:03 +01:00
Neil Alexander
5654b08819
Try this 2021-07-29 12:50:37 +01:00
Neil Alexander
2fa479edca
Validate signatures 2021-07-29 12:45:29 +01:00
Neil Alexander
93bf1ffc10
Storing device keys part 1 2021-07-29 09:48:09 +01:00
Neil Alexander
dd33f2b76d
Sanity checking of uploads 2021-07-28 17:07:57 +01:00
Neil Alexander
701ffdeb36
Generate key IDs automatically 2021-07-28 16:41:53 +01:00
Neil Alexander
b638b06ec1
Allocate the maps first 2021-07-28 16:30:28 +01:00
Neil Alexander
06de424b2b
Allocate more maps 2021-07-28 16:29:08 +01:00
Neil Alexander
8c8342cc78
Assign it after all 2021-07-28 16:27:19 +01:00
Neil Alexander
3dd80d4cd2
oh wait 2021-07-28 16:26:21 +01:00
Neil Alexander
946d15f976
Try assigning the map first 2021-07-28 16:25:29 +01:00
Neil Alexander
4176595d9c
Try with new scanner interface 2021-07-28 16:23:24 +01:00
Neil Alexander
2fd9102b08
Try this 2021-07-28 16:12:07 +01:00
Neil Alexander
64647a4f87
Fix QueryKeys ordering 2021-07-28 16:09:24 +01:00
Neil Alexander
351ac51691
Logging 2021-07-28 16:07:39 +01:00
Neil Alexander
a6bb3fd0ac
Retrieve cross-signing keys sorta 2021-07-28 15:52:52 +01:00
Neil Alexander
8e55c74334
Don't recreate indexes if they already exist 2021-07-28 14:41:14 +01:00
Neil Alexander
cd59f54af7
More wiring/boilerplate 2021-07-28 14:29:02 +01:00
Neil Alexander
dcadec88d9
Create tables 2021-07-28 13:48:23 +01:00
Neil Alexander
a5bb2afbb5
Add API wiring 2021-07-28 12:31:37 +01:00
S7evinK
89a6787fdb
Try to optimize SelectOneTimeKeys (#1851)
* Try to optimize SelectOneTimeKeys

Signed-off-by: Till Faelligen <tfaelligen@gmail.com>

* Use pg.Array when using ANY...

Co-authored-by: Kegsay <kegan@matrix.org>
2021-06-07 09:17:46 +01:00
Kegsay
b769d5a25e
Optimise memory usage when calling /g_m_e (#1819)
* Optimise memory usage when calling /g_m_e

* cache more events

* refactor handling of device list update pokes

* Sigh
2021-04-08 13:50:39 +01:00
Kegsay
802f1c96f8
Add more metrics (#1802)
* Add more metrics

* Linting
2021-03-23 15:22:00 +00:00
Kegsay
a1b7e4ef3f
log less for failed key querys, add counters for incoming pdus/edus (#1801)
* log less for failed key querys, add counters for incoming pdus/edus

* use labels

* Blacklist flakey test

* Fix metrics
2021-03-23 11:33:36 +00:00
Kegsay
77fb981da5
device lists: backoff for longer if the wrong error type is returned (#1796) 2021-03-08 17:45:20 +00:00