1868 Commits

Author SHA1 Message Date
Richard van der Hoff
c23af6099b
Merge pull request #463 from matrix-org/rav/log_docs
Add some documentation on the log fields
2024-09-13 16:32:55 +01:00
Richard van der Hoff
73c759e4f7 Add some documentation on the log fields 2024-09-13 16:21:48 +01:00
Kegan Dougal
cdb32f4460
Merge pull request #451 from nisbet-hubbard/patch-3
Document PGO
2024-09-09 08:37:30 +01:00
Kegan Dougal
c2dd20a00e
Merge pull request #454 from bnjbvr/fix-typo
fix typo `Subsribe` -> `Subscribe` in function name
2024-08-21 09:30:08 +01:00
Kegan Dougal
93c2150a15
Merge pull request #455 from matrix-org/update-dco
add DCO
2024-08-21 09:29:43 +01:00
Kegan Dougal
3804a90bf8
Merge pull request #457 from matrix-org/richvdh-patch-1
landing.md: clarifications
2024-08-21 09:29:15 +01:00
Richard van der Hoff
d40bf6947a
landing.md: clarifications
adding stuff to `homeserver.yaml` will only help if the .well-known is being served by synapse in the first place...
2024-08-16 11:46:32 +01:00
Josh Simmons
f00d979a2f add DCO 2024-07-25 15:29:37 -07:00
Benjamin Bouvier
fbabf4fe1b fix typo Subsribe -> Subscribe in function name 2024-07-16 17:14:05 +02:00
Kegan Dougal
f70dbe0186 v0.99.19 v0.99.19 2024-06-28 16:20:09 +01:00
nisbet-hubbard
ddb11e7b5b
Update README.md 2024-06-16 07:18:05 +08:00
Kegan Dougal
09be2d1b93
Update README.md
Fixes https://github.com/matrix-org/sliding-sync/issues/448
2024-06-11 13:23:58 +01:00
Kegan Dougal
837163f7f8
Merge pull request #443 from jessebot/patch-1
Update Landing.md - add info on how to use `extra_well_known_client_content` in `homeserver.yaml`
2024-06-05 09:01:44 +01:00
Kegan Dougal
58a4c6f061
Merge pull request #449 from matrix-org/kegan/sequence-protection
Protect against dropped databases
2024-06-05 08:08:45 +01:00
Kegan Dougal
7ea0b711db Check for lower 2024-06-04 17:22:43 +01:00
Kegan Dougal
17cb5f0376 Check the returned next_batch 2024-06-04 17:00:31 +01:00
Kegan Dougal
91a1a56f64 Add test 2024-06-04 16:57:57 +01:00
Kegan Dougal
3c2275a935 Protect against dropped databases
Helps fix the worst of https://github.com/matrix-org/sliding-sync/issues/448
2024-06-04 15:26:58 +01:00
JesseBot
273e9d4446 Update Landing.md - add info on how to use extra_well_known_client_content in homeserver.yaml
Signed-off-by: jessebot <jessebot@linux.com>
2024-05-31 08:01:24 +02:00
Kegan Dougal
5da6865609
Merge pull request #428 from matrix-org/grafana-dashboard
Add grafana dashboard for SS proxy
2024-05-30 13:31:45 +01:00
Kegan Dougal
ea3baf2351 v0.99.18 v0.99.18 2024-05-23 11:07:56 +01:00
Kegan Dougal
98b12cba6a
Merge pull request #441 from matrix-org/s7evink/startup-perf
Optimize getting the latest events by type per room
2024-05-21 18:13:06 +01:00
Till Faelligen
4b70d7d55f
Return err and not nil 2024-05-21 16:17:06 +02:00
Till Faelligen
ce15a2800c
Remove materialized view and use a recursive CTE instead to get unique
event_types
2024-05-21 16:16:17 +02:00
Till Faelligen
9eee30b152
Add a materialized view for event_types and use it in an updated query 2024-05-21 15:27:15 +02:00
Kegan Dougal
f25087d56a
Merge pull request #440 from matrix-org/kegan/patch-device-lists
e2ee extension: ensure null is not sent when we mean []
2024-05-20 14:06:56 +01:00
Kegan Dougal
451f6fb9c8 Add regression test 2024-05-20 14:02:29 +01:00
Kegan Dougal
e295c31ab7 Ensure null is not sent when we mean [] 2024-05-20 13:57:24 +01:00
Kegan Dougal
d5b3e4b33d
Merge pull request #439 from gnieto/fix/url-escape
fix: urlencode since opaque string
2024-05-20 13:12:46 +01:00
Guillem Nieto Taló
45f3e012db fix: urlencode since opaque string
Since/next batch is an opaque string and might need to be urlencoded
before being sent to the server.

Signed-off-by: Guillem Nieto <gnieto.talo@gmail.com>
2024-05-20 12:09:31 +02:00
Kegan Dougal
425a5d4a2f
Merge pull request #436 from matrix-org/s7evink/optimize-latest-event-in-room
Optimize getting the latest events in each room
2024-05-20 09:24:02 +01:00
Kegan Dougal
1551ccd7c9
Merge pull request #437 from matrix-org/kegan/device-data-table
Refactor device data
2024-05-20 09:11:17 +01:00
Kegan Dougal
3fc49bd4ea Migration review comments 2024-05-20 08:37:09 +01:00
Kegan Dougal
fdbebaea68 Some review comments; swap to UPDATE..RETURNING 2024-05-20 08:22:48 +01:00
Kegan Dougal
35c9fd4d95 Remove spurious return 2024-05-17 17:10:05 +01:00
Kegan Dougal
af1f34861e Ensure txns are closed so we can wipe the db for other tests 2024-05-17 16:09:02 +01:00
Kegan Dougal
5028f93f83 If there's no updates, don't insert anything 2024-05-17 15:37:45 +01:00
Kegan Dougal
fcd9b490f9 Debug logging 2024-05-17 15:20:18 +01:00
Kegan Dougal
b6f2f9d273 Use a CURSOR 2024-05-17 14:48:08 +01:00
Kegan Dougal
b383ed0d82 Add migrations and refactor internal structs 2024-05-17 13:45:14 +01:00
Till Faelligen
425ed4efba
Fix order of params and tell pq what $1 is 2024-05-17 11:04:59 +02:00
Till Faelligen
1ae5b5cb3d
Also optimize LatestEventNIDInRooms 2024-05-17 10:41:28 +02:00
Kegan Dougal
2cd9a81ab2 Add DeviceListTable
Shift over unit tests from DeviceDataTable
2024-05-17 09:37:38 +01:00
Till Faelligen
3ca77f2bc0
Optimize getting the latest events in each room
Signed-off-by: Till Faelligen <2353100+S7evinK@users.noreply.github.com>
2024-05-17 10:27:12 +02:00
Will Lewis
62b181c3b6
Apply suggestions from code review
Co-authored-by: Kegan Dougal <7190048+kegsay@users.noreply.github.com>
2024-05-16 14:10:31 +01:00
Kegan Dougal
693587ef7e v0.99.17 v0.99.17 2024-05-10 14:25:32 +01:00
Kegan Dougal
0d22cf1da5
Merge pull request #432 from matrix-org/kegan/device-list-updates
Ensure device list updates are robust to race conditions and network failures
2024-05-10 10:35:09 +01:00
Kegan Dougal
150d9d6371
Merge pull request #433 from matrix-org/kegan/sign
Sign releases
2024-05-09 16:37:07 +01:00
Kegan Dougal
39f0d220e0 Maybe sign releases very-good-sign-test 2024-05-09 16:03:29 +01:00
Kegan Dougal
f564f2d774 Redo the device data unit tests
They were A) confusing and B) testing the wrong thing as they got refactored
after the bad refactor of the source code..
2024-05-09 15:32:21 +01:00