Commit graph

1683 commits

Author SHA1 Message Date
Neil Alexander
84fd88052b
Update to matrix-org/gomatrixserverlib@610bd48 2021-11-10 16:22:51 +00:00
Neil Alexander
38fa483091
Tweak error handling 2021-11-10 14:00:29 +00:00
Neil Alexander
2e9a727620
Try to generate HTTP error for gomatrixserverlib.NotAllowed 2021-11-10 13:32:48 +00:00
Neil Alexander
a28297c39d
Tweak performJoinUsingServer error handling 2021-11-10 13:04:59 +00:00
Neil Alexander
3ba7291598
Ignore invalid room IDs in allow rules 2021-11-10 12:34:05 +00:00
Neil Alexander
e9bee83b03
Tweak join rule unmarshalling 2021-11-10 11:55:58 +00:00
Neil Alexander
84c7205b54
Update to matrix-org/gomatrixserverlib@62a0f29 2021-11-10 11:36:30 +00:00
Neil Alexander
df778309ea
Update to matrix-org/gomatrixserverlib@644c168 2021-11-10 11:09:49 +00:00
Neil Alexander
825ef6ba3a
Update to matrix-org/gomatrixserverlib@1c69dda 2021-11-10 10:24:28 +00:00
Neil Alexander
7ff22db6f8
Update to matrix-org/gomatrixserverlib@14eacc0 2021-11-10 09:56:41 +00:00
Neil Alexander
20844ea2e0
Update to matrix-org/gomatrixserverlib@7181881 2021-11-10 09:38:17 +00:00
Neil Alexander
5a270ba59f
Return 403s for now, might placate the tests 2021-11-09 16:16:04 +00:00
Neil Alexander
f21a585647
Error on obvious problems with the make_join response instead of overwriting them 2021-11-09 15:55:53 +00:00
Neil Alexander
f3e83c1a07
More logging 2021-11-09 15:03:35 +00:00
Neil Alexander
20e96f5332
logging 2021-11-09 14:39:50 +00:00
Neil Alexander
dadc00caf1
Return 403s on client API 2021-11-09 14:15:49 +00:00
Neil Alexander
4d20122d77
Improve error reporting 2021-11-09 13:53:30 +00:00
Neil Alexander
16b32316c2
Remove check that can't be satisied with the original auth events 2021-11-09 13:10:05 +00:00
Neil Alexander
ce91d535e4
Update to matrix-org/gomatrixserverlib@3258325 2021-11-09 12:21:55 +00:00
Neil Alexander
27ca2da756
Revert "Signed event copies should be complete"
This reverts commit cef7db0469.
2021-11-09 11:41:19 +00:00
Neil Alexander
cef7db0469
Signed event copies should be complete 2021-11-09 11:27:48 +00:00
Neil Alexander
35bc2e98e6
Fix return codes 2021-11-09 11:05:44 +00:00
Neil Alexander
831f3b9307
Update to matrix-org/gomatrixserverlib@047177b 2021-11-09 11:02:51 +00:00
Neil Alexander
0f7e897a0c
Don't double-wrap error 2021-11-09 10:44:31 +00:00
Neil Alexander
858b7c5e6f
CS API /join should really only return 403 2021-11-09 10:32:12 +00:00
Neil Alexander
8ad188109b
Pass through HTTPError when failing join 2021-11-09 10:04:35 +00:00
Neil Alexander
7d6f606d1c
Add debug logging 2021-11-09 09:36:32 +00:00
Neil Alexander
031cc48f1a
Merge branch 'master' into neilalexander/restrictedjoin 2021-11-09 09:18:38 +00:00
Neil Alexander
59cf8e936e
Fix sytest 2021-11-08 10:32:21 +00:00
Neil Alexander
9cd4a1f97b
Update to matrix-org/gomatrixserverlib@ed70208 (hopefully will fix sytest) 2021-11-08 09:45:39 +00:00
Neil Alexander
ee35c15467
Update sytest-whitelist 2021-11-08 09:25:01 +00:00
Neil Alexander
323a6fb54f
Resume federation sends (#2039)
* Resume federation sends

* Review comments

* Fix build error
2021-11-08 09:24:16 +00:00
Neil Alexander
b9a575919a
Try to reduce re-allocations a bit in resolveConflictsV2 2021-11-04 10:55:07 +00:00
Neil Alexander
77096898f0
Further state resolution v2 optimisations 2021-11-04 10:35:23 +00:00
Neil Alexander
3c049c068f
State resolution v2 performance improvements (reduce allocs in Kahn's algorithm, update to matrix-org/gomatrixserverlib@91dadfb) 2021-11-04 09:09:26 +00:00
Neil Alexander
837f50ac89
Reduce CPU usage of SelectStateInRange (#2038) 2021-11-03 09:53:37 +00:00
Neil Alexander
b4a007ecce
Support joining version 8 and 9 rooms (update to matrix-org/gomatrixserverlib@13366e7) 2021-11-02 17:15:06 +00:00
S7evinK
0c2872828b
Fix building on Windows (#2008)
Signed-off-by: Till Faelligen <tfaelligen@gmail.com>
2021-11-02 16:50:59 +00:00
PiotrKozimor
dec05c3347
Run gofmt on dendrite - apply go 1.17 preferred build tags (#2021) 2021-11-02 16:48:48 +00:00
Neil Alexander
b99f594a93
Fix #2028 (#2036) 2021-11-02 16:47:39 +00:00
database64128
5b969d172b
0️⃣ Media API: Fix maxFileSizeBytes=0 handling (#1993) 2021-11-02 16:35:15 +00:00
Neil Alexander
9a38db199f
Try to handle federated joins for restricted rooms 2021-11-02 15:09:08 +00:00
Neil Alexander
237dd1045f
Update to matrix-org/gomatrixserverlib@13366e7 2021-11-02 13:20:11 +00:00
Neil Alexander
050986ff40
Update sytest-whitelist 2021-11-02 13:17:58 +00:00
Neil Alexander
ea82ae9835
Update to matrix-org/gomatrixserverlib@2c080c1 2021-11-02 13:16:59 +00:00
Neil Alexander
d024369afe
Update to matrix-org/gomatrixserverlib@e7849e4 2021-11-02 12:06:44 +00:00
Neil Alexander
6a2bd1fb9b
Update to matrix-org/gomatrixserverlib@e9ba5dc 2021-11-02 10:49:00 +00:00
hacktivista
1ec5b0709b
Support WebP based thumbnails (#2033)
Co-authored-by: Felix Freeman <libsys@hacktivista.org>
2021-11-02 10:15:13 +00:00
Neil Alexander
fbd1a0ab13
Update to matrix-org/gomatrixserverlib@5e02b64 2021-11-02 10:13:38 +00:00
kegsay
42973e7d65
Add part of #1322 tests (#2034)
* Add part of #1322 tests

* Fix #1322
2021-11-01 15:05:20 +00:00