Neil Alexander
b099e7cb75
Some more tweaks, not that it makes any difference
2022-08-09 17:44:46 +01:00
Neil Alexander
4ddc569cf5
Don't return typed nils
2022-08-09 17:00:25 +01:00
Neil Alexander
5c6fb34cee
Fix another path
2022-08-09 15:47:18 +01:00
Neil Alexander
0165c2ab2c
Tweak federation client proxying
2022-08-09 15:12:00 +01:00
Neil Alexander
076f9e122f
Fix another path
2022-08-09 14:41:32 +01:00
Neil Alexander
4409ca1dfc
Fix API path for PerformDeleteKeys
2022-08-09 14:22:13 +01:00
Neil Alexander
60044eed9c
Some more error tweaking
2022-08-09 14:19:57 +01:00
Neil Alexander
fb0c38fbd2
Update error behaviour
2022-08-09 12:31:13 +01:00
Neil Alexander
3716f207bb
Some more tweaks
2022-08-08 17:33:40 +01:00
Neil Alexander
1f0f3e8e7c
Tweak error handling
2022-08-08 16:35:51 +01:00
Neil Alexander
75d443203b
Remove another duplicate entry
2022-08-08 16:18:55 +01:00
Neil Alexander
1efe7d1703
Remove duplicate entry
2022-08-08 16:15:19 +01:00
Neil Alexander
85b34532e3
Namespace metric names
2022-08-08 16:10:15 +01:00
Neil Alexander
5eb60ac187
Revert "Use paths as metric names"
...
This reverts commit a9323a6a34 .
2022-08-08 16:06:48 +01:00
Neil Alexander
a9323a6a34
Use paths as metric names
2022-08-08 16:04:05 +01:00
Neil Alexander
60e204ae45
Some error handling
2022-08-08 15:53:31 +01:00
Neil Alexander
22da1f3157
Some serverside stuff
2022-08-08 15:36:14 +01:00
Neil Alexander
9ebeaaf93f
Lots of changes to clients
2022-08-08 14:56:26 +01:00
Neil Alexander
b0ec5d12d0
Fix LookupStateIDs
2022-08-08 11:47:17 +01:00
Neil Alexander
b3a7087e8e
Fix metric name
2022-08-08 11:31:46 +01:00
Neil Alexander
0801e93dfa
More tweaks
2022-08-08 11:22:33 +01:00
Neil Alexander
2d7402ed7d
Add PerformInvite
2022-08-08 09:44:31 +01:00
Neil Alexander
4a69b1cedf
Merge branch 'main' into neilalexander/genericapis
2022-08-08 09:43:43 +01:00
Till
03ddd98f5e
Fix issues with migrations not getting executed ( #2628 )
...
* Fix issues with migrations not getting executed
* Check actual postgres error
* Return error if it's not "column does not exist"
2022-08-08 10:18:57 +02:00
Neil Alexander
42b9cbcce7
Generic-based internal HTTP API (tested out on a few endpoints in the federation API)
2022-08-05 15:29:08 +01:00
Till Faelligen
10a151cb55
Don't panic if we fail to upsert account data
2022-08-05 15:37:13 +02:00
Till
3a156a434a
Invalidate lazyLoadCache if we're doing an initial sync ( #2623 )
...
* Bypass lazyLoadCache if we're doing an initial sync
* Make the linter happy again?
* Revert "Make the linter happy again?"
This reverts commit 52a5691ba3 .
* Try that again
* Invalidate LazyLoadCache on initial syncs
* Remove unneeded check
* Add TODO
* Rename Invalite -> InvalidateLazyLoadedUser
* Thanks IDE
2022-08-05 14:27:27 +02:00
Neil Alexander
3efc646f25
Update TURN config in sample config files
2022-08-05 13:16:54 +01:00
Till
cecd11be9a
Partly fix notification counts ( #2621 )
...
* Fix notification query
* Also for SQLite
* Move tests to whitelist
* Revert "Move tests to whitelist"
This reverts commit a7d0120019 .
2022-08-05 13:44:20 +02:00
Neil Alexander
2a1df0129e
Update readme
2022-08-05 10:44:08 +01:00
Neil Alexander
c8935fb53f
Do not use ioutil as it is deprecated ( #2625 )
2022-08-05 10:26:59 +01:00
Till
1b7f84250a
Fix linter issues ( #2624 )
...
* Try that again
* All hail the mighty linter?
* And once again
* goimport all the things
2022-08-05 11:12:41 +02:00
Brian Meek
de78eab63a
Add race testing to tests, and fix a few small race conditions in the tests ( #2587 )
...
* Add race testing to tests, and fix a few small race conditions in the tests
* Enable run-sytest on MacOS
* Remove deadlock detecting mutex, per code review feedback
* Remove autoformatting related changes and a closure that is not needed
* Adjust to importing nats client as 'natsclient'
Signed-off-by: Brian Meek <brian@hntlabs.com>
* Clarify the use of gooseMutex to proect goose internal state
Signed-off-by: Brian Meek <brian@hntlabs.com>
* Remove no longer needed mutex for guarding goose
Signed-off-by: Brian Meek <brian@hntlabs.com>
2022-08-05 09:19:33 +01:00
Till
9a655cb5e7
Only create a new destinationQueue if we don't have one ( #2620 )
2022-08-05 07:20:34 +02:00
Neil Alexander
a2bed259dd
Version 0.9.1 ( #2616 )
...
* Version 0.9.1
* Update CHANGES.md
2022-08-03 17:42:13 +01:00
Neil Alexander
3bf5ae5ffe
Try more servers when calling /state_ids ( #2610 )
...
* Try more servers when calling `/state_ids`
* More logging
* Maybe fix concurrent map write
* Revert "Maybe fix concurrent map write"
This reverts commit da0dbb8362 .
* Enforce a limit of 20s per server, 5 mins total
2022-08-03 17:37:27 +01:00
Till
9fe509b18d
Fix syncapi shared users query & device lists ( #2614 )
...
* Fix query issue, only add "changed" users if we actually share a room
* Avoid log spam if context is done
* Undo changes to filterSharedUsers
* Add logging again..
* Fix SQLite shared users query
* Change query to include invited users
2022-08-03 18:35:17 +02:00
Neil Alexander
2250768be1
Remove roominfo cache ( #2615 )
...
* Remove roominfo cache
It's the source of a number of race conditions which are seemingly causing bugs and CI failures.
* Make the linter less sad
2022-08-03 17:14:21 +01:00
Neil Alexander
bbff41b44b
Disable stack protector on Linux CI build pipelines for now (to avoid relocation target __stack_chk_fail_local not defined errors)
2022-08-03 10:50:45 +01:00
Neil Alexander
376391d1c7
Update Pinecone
2022-08-03 10:38:36 +01:00
Neil Alexander
f7f2453a85
Test Go 1.19 in CI
2022-08-03 10:35:57 +01:00
Till
ac2dbb3513
Add Cache-Control header to media endpoints ( #2612 )
...
* Add Cache-Control header
* Raise rate_limiting threshold to 20
2022-08-03 10:55:21 +02:00
Till
df5d4dc7a3
Delete correct Send-to-Device messages ( #2608 )
...
* Add send-to-device tests
* Update tests, fix message deletion
* PR comments
2022-08-02 17:00:16 +02:00
Neil Alexander
e384eb683f
Disable flakey test
2022-08-02 15:33:28 +01:00
Neil Alexander
f4345dafde
Fix data race in lookupMissingStateViaStateIDs
2022-08-02 13:01:03 +01:00
Till
7ec70272d2
Disable NATS Server logging, allow self-signed certificates ( #2605 )
...
* Disable NATS Server logs in CI
* Add option to disable TLS validation for NATS
2022-08-02 13:58:08 +02:00
Neil Alexander
ca3fa58388
Various roominfo tweaks ( #2607 )
2022-08-02 12:27:15 +01:00
Neil Alexander
eab87ef07d
Stronger checks for /send_join ( #2604 )
2022-08-02 10:22:17 +01:00
sergekh2
6b6b420b9f
Fix issue with sync API not advancing. ( #2603 )
...
Issue: During conversation, under some conditions, sync cookie is not advanced, and, as a result, client loops on the same sync API call creating high traffic and CPU load.
Fix: pdu component of cookie was updated incorrectly.
2022-08-02 09:43:48 +01:00
Neil Alexander
3d51624fef
Version 0.9.0 ( #2602 )
2022-08-01 17:34:29 +01:00