Neil Alexander
ee79d662e7
Update to matrix-org/gomatrixserverlib#233
2020-10-06 15:37:31 +01:00
Neil Alexander
d69eba10e5
Add furl ( #1482 )
...
* Add furl
* Add POST support
2020-10-06 14:51:32 +01:00
Kegsay
1eaf7aa27e
Use [] not null when there are no devices ( #1480 )
2020-10-06 11:05:15 +01:00
Neil Alexander
bf90db5b60
Remove KindRewrite ( #1481 )
...
* Don't send rewrite events
* Remove final traces of rewrite events
* Remove test that is no longer needed
* Revert "Remove test that is no longer needed"
This reverts commit 9a45babff6
.
* Update test to use KindOutlier
2020-10-06 11:05:00 +01:00
Neil Alexander
8fb74fe99a
Yggdrasil demo tweaks
2020-10-06 10:37:52 +01:00
Neil Alexander
52ddded72d
Update to matrix-org/gomatrixserverlib#232
2020-10-05 17:56:18 +01:00
Neil Alexander
2e71d2708f
Resolve state after event against current room state when determining latest state changes ( #1479 )
...
* Resolve state after event against current room state when determining latest state changes
* Update sytest-whitelist
* Update sytest-whitelist, blacklist
2020-10-05 17:47:08 +01:00
Neil Alexander
4e6b7f726d
Update to matrix-org/gomatrixserverlib#230
2020-10-05 12:42:56 +01:00
S7evinK
2bfab5f58b
Add example goose sqlite3 migration ( #1474 )
...
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
2020-10-05 11:28:10 +01:00
Neil Alexander
c4756eee0e
Don't store backfilled events using request context ( #1478 )
2020-10-05 11:06:31 +01:00
S7evinK
3bd66ff196
Route several paths to sync_api ( #1473 )
2020-10-02 22:35:54 +01:00
Loïck Bonniot
4e8c484618
Implement account deactivation ( #1455 )
...
* Implement account deactivation
See #610
Signed-off-by: Loïck Bonniot <git@lesterpig.com>
* Rename 'is_active' to 'is_deactivated'
Signed-off-by: Loïck Bonniot <git@lesterpig.com>
Co-authored-by: Kegsay <kegan@matrix.org>
2020-10-02 17:18:20 +01:00
Kegsay
279044cd90
Add history visibility guards ( #1470 )
...
* Add history visibility guards
Default to 'joined' visibility to avoid leaking events, until we get
around to implementing history visibility completely. Related #617
* Don't apply his vis checks on shared rooms
* Fix order of checks
* Linting and remove another misleading check
* Update whitelist
2020-10-02 17:08:13 +01:00
Neil Alexander
c870435c17
Update PULL_REQUEST_TEMPLATE.md
2020-10-02 16:56:13 +01:00
Neil Alexander
85c43e1bef
Don't drop federation retries for Yggdrasil demos
2020-10-02 15:14:01 +01:00
Loïck Bonniot
439bc235d7
Add 'completed' field in Interactive Auth API ( #1469 )
...
This field must be present even after authentication failure, as
tested by sytest. This is needed by #1455 .
Signed-off-by: Loïck Bonniot <git@lesterpig.com>
2020-10-02 15:05:23 +01:00
Neil Alexander
fb9a8f215b
Fix initial sync ( #1465 )
...
* Fix complete sync check
* Remove unnecessary 'since' copy
* Fix failing test
* Un-whitelist a couple of tests
Co-authored-by: Kegan Dougal <kegan@matrix.org>
2020-10-02 12:50:58 +01:00
Neil Alexander
1b29e5771f
Fix build.sh
2020-10-02 11:49:13 +01:00
Neil Alexander
28454d6fb7
Log origin in /send
2020-10-02 11:38:35 +01:00
Neil Alexander
92ceb46b49
Update to matrix-org/gomatrixserverlib#227
2020-10-02 09:43:02 +01:00
S7evinK
3e01db0049
Fix golangci-lint issues ( #1464 )
...
* Fix S1039: unnecessary use of fmt.Sprintf
* Fix S1036: unnecessary guard around map access
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
2020-10-01 20:00:56 +01:00
Neil Alexander
7048532bc4
Update version imprinting ( #1462 )
...
* Add version tag constant
* Update build imprinting
2020-10-01 16:09:11 +01:00
Neil Alexander
dbae85283f
Bring docker sample config into sync with normal one
2020-10-01 15:37:45 +01:00
Neil Alexander
9b2d8f69aa
Update README.md
2020-10-01 15:28:01 +01:00
Neil Alexander
4f87df198a
Update README.md ( #1461 )
...
* Update README.md
* Maybe bullet points
* Tweaks
* Put the shields back, use text instead, less OCD problems
* One more tweak
2020-10-01 15:27:16 +01:00
Neil Alexander
b471d4d77a
Set internal HTTP API timeout to 10 minutes ( #1459 )
2020-10-01 15:00:35 +01:00
Kegsay
378a0520be
Add custom issue templates; fixes #1421 ( #1460 )
2020-10-01 15:00:16 +01:00
Neil Alexander
43b3c4a2fc
Fix bugs in nginx sample configs
2020-10-01 14:41:08 +01:00
Neil Alexander
cb4b93b16c
Add nginx sample reverse proxy configs ( #1458 )
...
* Add nginx sample reverse proxy configs
* Add line breaks at end of files
2020-10-01 14:33:48 +01:00
Neil Alexander
b1d5360335
Update HTTP clients ( #1457 )
...
* Update gomatrixserverlib
* Use separate HTTP client for API calls, set User-Agent for outbound HTTP requests
2020-10-01 11:55:17 +01:00
Neil Alexander
91fc1f1c92
Fix bug in error handling in SQLite InsertPreviousEvent ( #1456 )
2020-10-01 10:55:00 +01:00
Neil Alexander
fed3ebd2f1
CodeQL analysis
2020-09-30 21:18:35 +01:00
Neil Alexander
0caad67abc
Consider old keys in handleLocalKeys ( #1454 )
2020-09-30 19:52:36 +01:00
Neil Alexander
05e5386fb0
Update gobind database paths
2020-09-30 15:57:31 +01:00
Neil Alexander
135b5e264f
Fix panic on verifySigError in fetching missing events
2020-09-30 13:51:54 +01:00
Neil Alexander
beaf4cc00f
Fix perspective fetching
2020-09-29 17:34:48 +01:00
Neil Alexander
d63d7c5640
Tweak log level of a fairly common log line
2020-09-29 17:08:47 +01:00
Neil Alexander
f290e92a34
Remove TLS fingerprints, improve perspective unmarshal handling ( #1452 )
...
* Add prefer_direct_fetch option
* Update gomatrixserverlib
* Update gomatrixserverlib
* Update gomatrixserverlib
* Don't deal in TLS fingerprints anymore
2020-09-29 17:08:18 +01:00
Neil Alexander
43cdba9a69
Ignore depth in federation API ( #1451 )
2020-09-29 14:07:59 +01:00
Neil Alexander
b0d5d1cc9f
Fix old verify keys
2020-09-29 14:00:12 +01:00
Neil Alexander
738b829a23
Fetch missing auth events, implement QueryMissingAuthPrevEvents, try other servers in room for /event and /get_missing_events ( #1450 )
...
* Try to ask other servers in the room for missing events if the origin won't provide them
* Logging
* More logging
* Implement QueryMissingAuthPrevEvents
* Try to get missing auth events badly
* Use processEvent
* Logging
* Update QueryMissingAuthPrevEvents
* Try to find missing auth events
* Patchy fix for test
* Logging tweaks
* Send auth events as outliers
* Update check in QueryMissingAuthPrevEvents
* Error responses
* More return codes
* Don't return error on reject/soft-fail since it was ultimately handled
* More tweaks
* More error tweaks
2020-09-29 13:40:29 +01:00
bn4t
4ff7ac7b65
Fix a small typo ( #1448 )
...
Signed-off-by: Benjamin Nater <me@bn4t.me>
2020-09-29 10:07:23 +01:00
bn4t
da89f2bd1f
Finish implementing the capabilities endpoint ( #1449 )
...
Closes #1310
Signed-off-by: Benjamin Nater <me@bn4t.me>
2020-09-29 10:06:59 +01:00
Neil Alexander
ce318f53bc
Use workers when fetching events from /state_ids, use /state only if significant portion of events missing ( #1447 )
...
* Don't fall back to /state on incoming /send
* Event workers for /state_ids, use /state only if significant percentage of events are missing
2020-09-28 11:32:59 +01:00
Neil Alexander
40dd16a6e6
Don't fall back to /state on incoming /send ( #1446 )
2020-09-28 10:03:18 +01:00
Matthew Hodgson
15fe61ed58
oops
2020-09-27 22:24:17 +01:00
Matthew Hodgson
5bbe73747c
unbreak CORS on /capabilities.
...
fixes https://github.com/vector-im/element-web/issues/15297
2020-09-27 22:23:42 +01:00
Neil Alexander
63af00d5d5
Update gomatrixserverlib to matrix-org/gomatrixserverlib#225
2020-09-25 17:53:16 +01:00
Neil Alexander
6275669e65
Set default room version to v6 ( #1438 )
2020-09-25 12:59:57 +01:00
Neil Alexander
145db37d89
Allow configuring old verify keys ( #1443 )
...
* Allow configuring old verify keys
* Update sample config
* Update sample config
* Fix config population
* Key ID formatting validity of old_verify_keys
* Update comment
2020-09-25 10:58:53 +01:00