Commit graph

2073 commits

Author SHA1 Message Date
Neil Alexander 9c4c5c78ed
More tweaks, as ever 2022-05-11 15:36:53 +01:00
Neil Alexander df9a57a84b
Keep old INSTALL.md as a tombstone 2022-05-11 15:28:28 +01:00
Neil Alexander be2e5bd87e
Update config 2022-05-11 14:38:07 +01:00
Neil Alexander 52e873f4ad
Update name to SCSS 2022-05-11 14:32:06 +01:00
Neil Alexander 6a699fc83c
Update readme 2022-05-11 14:29:16 +01:00
Neil Alexander afa64affb3
Tweak the style again 2022-05-11 14:25:18 +01:00
Neil Alexander b43f522452
Modify style 2022-05-11 14:24:36 +01:00
Neil Alexander f3b1386f61
Clean that up 2022-05-11 14:23:10 +01:00
Neil Alexander 1d5887d505
Starting pages 2022-05-11 14:20:25 +01:00
Neil Alexander 8fb3c45b0c
Update index 2022-05-11 13:58:37 +01:00
Neil Alexander 9b212b2a83
More tweaks 2022-05-11 13:57:12 +01:00
Neil Alexander f318f43599
More updates 2022-05-11 13:51:10 +01:00
Neil Alexander 83ea119d62
Fix links again 2022-05-11 12:47:09 +01:00
Neil Alexander 58636cb60a
Fix links 2022-05-11 12:45:45 +01:00
Neil Alexander af9190574e
More updates 2022-05-11 12:42:03 +01:00
Neil Alexander e225399fbd
More tweaks 2022-05-11 12:04:15 +01:00
Neil Alexander c546a7e88b
More updates and permalinks 2022-05-11 12:03:19 +01:00
Neil Alexander dd1b381789
Updates 2022-05-11 11:56:39 +01:00
Neil Alexander db83588a4c
More sections 2022-05-10 17:52:49 +01:00
Neil Alexander 46906b8e7a
Clean up 2022-05-10 17:48:14 +01:00
Neil Alexander 0fd704f8eb
Other folder 2022-05-10 17:47:16 +01:00
Neil Alexander 4c85580e49
Update config 2022-05-10 17:46:28 +01:00
Neil Alexander 043b2ee30a
More stuff 2022-05-10 17:45:03 +01:00
Neil Alexander a4608dbb93
Pages 2022-05-10 17:24:48 +01:00
Neil Alexander aa40d7d519
GitHub Pages 2022-05-10 17:15:18 +01:00
Till 6db08b2874
Add roomserver tests (2/?) (#2445)
* Add invite table tests; move variable declarations

* Add Membership table tests

* Move variable declarations

* Add PrevEvents table tests

* Add Published table test

* Add Redactions tests
Fix bug in SQLite markRedactionValidatedSQL

* PR comments, better readability for invite tests
2022-05-10 14:41:12 +02:00
Neil Alexander 1897e2f1c0
Version 0.8.4 2022-05-10 12:44:29 +01:00
Neil Alexander e2a932ec0b
Add indexes to syncapi_output_room_events table that satisfy the filters (#2446) 2022-05-10 11:23:36 +01:00
Neil Alexander 77722c5a4f
Back out matrix-org/dendrite#2421 by restoring http.Clients
This creates problems with non-HTTPS endpoints and should fix #2444.
2022-05-10 11:08:10 +01:00
database64128 1b3fa9689c
🏗️ mediaapi/thumbnailer: fix build with bimg (#2440)
Co-authored-by: kegsay <kegan@matrix.org>
2022-05-09 17:51:30 +01:00
Neil Alexander 6b3c183396
Version 0.8.3 (#2431)
* Version 0.8.3

* Update changelog
2022-05-09 17:31:14 +01:00
kegsay 236b16aa6c
Begin adding syncapi component tests (#2442)
* Add very basic syncapi tests

* Add a way to inject jetstream messages

* implement add_state_ids

* bugfixes

* Unbreak tests

* Remove now un-needed API call

* Linting
2022-05-09 17:23:02 +01:00
Neil Alexander a443d1e5f3
Don't store invites in sync API that aren't relevant to local users (#2439) 2022-05-09 16:25:22 +01:00
Neil Alexander 79da75d483
Federation consumer adds_state_event_ids tweak (#2441)
* Don't ask roomserver for events we already have in federation API

* Check number of events returned is as expected

* Preallocate array

* Improve shape a bit
2022-05-09 16:19:35 +01:00
Neil Alexander 1a7f4c8aa9
Don't try to re-fetch the event if it is listed in adds_state_event_ids (#2437)
* Don't try to re-fetch the event in the output message

* Try that again

* Add the initial event into the set
2022-05-09 15:22:33 +01:00
Till f69ebc6af2
Add roomserver tests (1/?) (#2434)
* Add EventJSONTable tests

* Add eventJSON tests

* Add EventStateKeysTable tests

* Add EventTypesTable tests

* Add Events Table tests
Move variable declaration outside loops
Switch to testify/assert for tests

* Move variable declaration outside loop

* Remove random data

* Fix issue where the EventReferenceSHA256 is not set

* Add more tests

* Revert "Fix issue where the EventReferenceSHA256 is not set"

This reverts commit 8ae34c4e5f.

* Update GMSL

* Add tests for duplicate entries

* Test what happens if we select non-existing NIDs

* Add test for non-existing eventType

* Really update GMSL
2022-05-09 15:30:32 +02:00
Neil Alexander 09d754cfbf
One NATS instance per BaseDendrite (#2438)
* One NATS instance per `BaseDendrite`

* Fix roomserver
2022-05-09 14:15:24 +01:00
Neil Alexander 79e2fbc663
Update to matrix-org/gomatrixserverlib#307 2022-05-09 13:53:51 +01:00
Neil Alexander 4c15c73b3a
Add (user_id, device_id) index on OTK table (#2435) 2022-05-09 11:13:04 +01:00
Neil Alexander 633ca06eb9
Version 0.8.3rc1 2022-05-06 16:34:52 +01:00
Neil Alexander 6bc6184d70
Simplify calculateLatest (#2430)
* Simplify `calculateLatest`

* Comments
2022-05-06 15:52:44 +01:00
Neil Alexander 85c00208c5
Fix power level event auth bugs (update to matrix-org/gomatrixserverlib#306) 2022-05-06 15:41:16 +01:00
Till 6493c0c0f2
Move LL cache (#2429) 2022-05-06 15:33:34 +02:00
Neil Alexander 507f63d0fc
Add PolylithMode base config option (#2428)
* Add `PolylithMode` base config option

* Polylith mode always uses HTTP APIs
2022-05-06 13:51:48 +01:00
Neil Alexander a1a5357f79
Produce more useful event auth errors (update to matrix-org/gomatrixserverlib#305) 2022-05-06 12:46:01 +01:00
kegsay 85704eff20
Clean up interface definitions (#2427)
* tidy up interfaces

* remove unused GetCreatorIDForAlias

* Add RoomserverUserAPI interface

* Define more interfaces

* Use AppServiceInternalAPI for consistent naming

* clean up federationapi constructor a bit

* Fix monolith in -http mode
2022-05-06 12:39:26 +01:00
Till 4705f5761e
Add FAQ entry for anonymous stats (#2419) 2022-05-06 08:26:24 +02:00
kegsay 9957752a9d
Define component interfaces based on consumers (2/2) (#2425)
* convert remaining interfaces

* Tidy up the userapi interfaces
2022-05-05 19:30:38 +01:00
Neil Alexander e4da04e75b
Update to matrix-org/gomatrixserverlib#303 2022-05-05 14:06:05 +01:00
Neil Alexander 42f35a57ac
Update table names for user API stats table 2022-05-05 13:42:12 +01:00