Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/v0.4.1 #4

Merged
merged 106 commits into from
Aug 13, 2021
Merged

Release/v0.4.1 #4

merged 106 commits into from
Aug 13, 2021

Conversation

PiotrKozimor
Copy link
Collaborator

No description provided.

t3chguy and others added 30 commits May 18, 2021 15:17
Now that MSC1772 passed FCP its identifiers have stabilised
This outright drops support for experimental spaces but that's what you get for being on the bleeding edge
The update part wasn't executed actually for SQLite, so it is moved to
a separate statement.

Fixes matrix-org#1852.

Signed-off-by: Bohdan Horbeshko <[email protected]>
* Avoid crash on non-compiled room regex

Roughly fixes matrix-org#1845 (actual compiling still needed)

Signed-off-by: Bohdan Horbeshko <[email protected]>

* Compile regexes for all namespaces

Deadheres the regex compiling from building larger regexes for possibly
exclusive namespaces only. A complete fix for matrix-org#1845, so regexes for
rooms namespaces and other non-whitelisted namespaces can be used
more safely.

Signed-off-by: Bohdan Horbeshko <[email protected]>

* Appservice config: handle regexp parsing errors

Signed-off-by: diamondburned <[email protected]>
Signed-off-by: Bohdan Horbeshko <[email protected]>

Co-authored-by: Kegsay <[email protected]>
* Use LimitReader to prevent DoS risk

Signed-off-by: Till Faelligen <[email protected]>

* Check if bytesWritten is equal to the maxFileSize
Add tests

Signed-off-by: Till Faelligen <[email protected]>

* Use oldschool defer to cleanup after the tests

* Let LimitReader read MaxFileSizeBytes + 1

Co-authored-by: Kegsay <[email protected]>
* Try to optimize SelectOneTimeKeys

Signed-off-by: Till Faelligen <[email protected]>

* Use pg.Array when using ANY...

Co-authored-by: Kegsay <[email protected]>
Not everyone is very familiar.
Without this entry, setups where users have the homeserver on the URL
matrix.myurl.com but want the servername to be myurl.com don't work by default
since clients like element.io can't connect to the homeserver
* Add parameters to specify password

Signed-off-by: Till Faelligen <[email protected]>

* Fix typo

* Add testdata

* Use go1.13 compatible way to read files
This fixes the issue found in matrix-org#1759 which broke due to go changes. The new command allows you to generate keys with docker, and drop them in the current working directory.
* Set MaxFileSizeBytes < 0 to "unlimited"

Signed-off-by: Till Faelligen <[email protected]>

* int64 overflows later in mediaapi/routing/upload.go[doUpload]

* Prevent int overflow when uploading
kegsay and others added 28 commits July 14, 2021 18:13
* Update Yggdrasil P2P demo for Yggdrasil v0.4

* Build fixes
* Add notary server tables for postgres

* Add sqlite tables

* fedsender: GetServerKeys -> QueryServerKeys

As it now checks a cache and can return multiple responses
matrix-org#1925)

* fedsender: try to satisfy all notary key requests from the cache first

* Linting
* Check for missing state keys to avoid panicking

* Check for not allowed errors on send_leave

* More logging

* handle send_join errors too

* Additional send_join checks

* s/join/gmsl.json/
Squashed commit of the following:

commit c6eb4d8
Author: Neil Alexander <[email protected]>
Date:   Mon Jul 19 16:52:57 2021 +0100

    Fix bug

commit d420966
Author: Neil Alexander <[email protected]>
Date:   Mon Jul 19 16:46:12 2021 +0100

    Update metric

commit 0ad6e37
Author: Neil Alexander <[email protected]>
Date:   Mon Jul 19 16:30:14 2021 +0100

    Fix observe for calculateStateDurations
* Revert "Set MaxFileSizeBytes <= 0 to "unlimited" (matrix-org#1875)"

This reverts commit 9ed0440.

* Actually allow unlimited upload

Signed-off-by: Till Faelligen <[email protected]>

Co-authored-by: kegsay <[email protected]>
* Add room membership and powerlevel checks for func SendBan

* Added non-error return to func GetStateEvent when no state events with the specified state key are found

* Add passing tests to whitelist

* Fixed formatting

* Update roomserver/storage/shared/storage.go

Co-authored-by: Neil Alexander <[email protected]>
Co-authored-by: kegsay <[email protected]>
Co-authored-by: kegsay <[email protected]>
* s/riot/element/g

Signed-off-by: Till Faelligen <[email protected]>

* fix formatting

Co-authored-by: kegsay <[email protected]>
Co-authored-by: Neil Alexander <[email protected]>
* Only include go-sqlite3 on the relevant binaries

* The driver name is always sqlite3 now

* Update to matrix-org/go-sqlite3-js@e537baa
* Only include go-sqlite3 on the relevant binaries

* The driver name is always sqlite3 now

* Update to matrix-org/go-sqlite3-js@e537baa

* Add initial Wasm test harness

* Upgrade go-sqlite3-js

This fixes an error about semicolons in single statements.

* Add browser-like WebSocket API for testing

* Upgrade go-sqlite3-js

This upgrade includes printing panic messages next to stacks.

* Run for all PRs targeting any branch

* Use manual Node caching

* Temporarily run for all pushes

* Use npm ci instead of install

* Use HTTPS auth for repo packages

* Match path style from build.sh

* update utp

Co-authored-by: Neil Alexander <[email protected]>
* Refactor room creation to allow initial_state

* GMSL types

* Tweaks to alias

* Fix ordering

* Fix bugs

* Fix create content

* Only unmarshal create content if specified

* Review comments @kegsay
* Optimise checking if a server is in a room

* Fix queries

* Fix queries
* Generate m.room.canonical_alias instead of legacy m.room.aliases

* Add omitempty tags

* Add aliases endpoint to client API

* Check power levels when setting aliases

* Don't return null on /aliases

* Don't return error if the state event fails

* Update sytest-whitelist

* Don't send updated m.room.canonical_alias events

* Don't check PLs after all because for local aliases they are apparently irrelevant

* Fix some bugs

* Allow deleting a local alias with enough PL

* Fix some more bugs

* Update sytest-whitelist

* Fix copyright notices

* Review comments
* Topologically sort outliers in SendEventWithState

* Knock in membership updater

* Update gomatrixserverlib

* Update gomatrixserverlib

* Get the NID of the knock event properly for the membership updater
… of Incompatible_Version (matrix-org#1930)

* fix:Inviting to an unsupported room version return M_BAD_JSON instead of M_UNSUPPORTED_ROOM_VERSION

Signed-off-by: Meenal Trivedi <[email protected]>

* fix

Signed-off-by: Meenal Trivedi <[email protected]>

* fix

Signed-off-by: Meenal Trivedi <[email protected]>

* feat: make requested changes

Signed-off-by: Meenal Trivedi <[email protected]>

* Use error typecast from matrix-org/gomatrixserverlib#272

Co-authored-by: Neil Alexander <[email protected]>
@PiotrKozimor PiotrKozimor merged commit 7bc2240 into master Aug 13, 2021
@PiotrKozimor PiotrKozimor deleted the release/v0.4.1 branch November 17, 2021 15:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.