Commit Graph

25 Commits

Author SHA1 Message Date
Nicolas Werner 5bd934895d chore: strict inference 2022-08-20 11:53:14 +02:00
Nicolas Werner 7471743be3 chore: disable dynamic calls 2022-08-20 11:28:43 +02:00
Nicolas Werner 24a3369520 tests: Add basic test for space hierarchy api 2022-06-08 15:55:18 +00:00
Nicolas Werner 3dd7ef3444 fix: wrong types in spaces hierarchy API
BREAKING CHANGE (because from is now optional, so it can't be specified
conditionally)

See also:

- https://github.com/matrix-org/matrix-spec/pull/1110
- https://github.com/matrix-org/matrix-spec/pull/1097
2022-06-07 17:05:40 +02:00
Nicolas Werner d6bb91f7e1 chore: Update to matrix v1.2 2022-05-06 15:14:12 +00:00
Nicolas Werner 3e7a6df81b
fix: threepidCreds should be threepid_creds and an object
For context, see https://github.com/matrix-org/matrix-doc/pull/3471

Basically the spec was wrong and didn't match what clients and servers
were doing. Might fix registration on matrix.org.

BREAKING CHANGE: Any client that implements the email portion will fail
to build now.
2021-11-04 15:23:01 +01:00
Lukas Lihotzki d16c83f5db refactor: remove uploadKeySignatures (use uploadCrossSigningSignatures) 2021-08-20 16:17:40 +02:00
Lukas Lihotzki cb71ca9b26 chore: generate more operations from OpenAPI 2021-08-20 16:17:37 +02:00
Lukas Lihotzki 8d795d6eaa chore: update generated code 2021-08-09 20:03:17 +02:00
Marcus Hoffmann 4026f480fb fix test after removing user field 2021-07-01 18:16:47 +02:00
Marcus Hoffmann dd7a824512 remove user field from AuthenticationPassword structure
it's not in the spec
2021-07-01 18:01:07 +02:00
Marcus Hoffmann 92a2bd9d7e null safety test fixes 2021-07-01 17:36:21 +02:00
Marcus Hoffmann 1a51f813a7 null safety cleanup 2021-07-01 16:59:54 +02:00
Lukas Lihotzki d9c1fdb78a refactor: migrate to null safety 2021-07-01 15:11:39 +02:00
Lukas Lihotzki e3a1b6aa77 refactor: mostly use dart_openapi_codegen 2021-06-25 12:40:03 +02:00
Christian Pauly c70b149c20 change: Remove logger
The logger package has a lot of issues.
The colors are not working in web and on iOS.
Emojis are not working on some platforms.
It introduced a not very important library in a SDk which is intended to
be as minimal as possible.
This simplifies the logging to a format which works everywhere.
The # Syntax makes it also look good as markdown.
It is not very far away from the default syntax of errors and stacktraces.
It still provides several log levels, the same API and a list of output events for the logviewer.
2021-05-12 12:14:04 +02:00
Lukas Lihotzki 3eaf4ef99a feat!: operation names from OpenAPI spec 2021-05-07 13:43:06 +02:00
Christian Pauly e28b0fa1b3 refactor: login method AuthenticationIdentifier
This is a breaking change for the login method to use the correct format.
It makes it possible to login with email or phone.
Also this does some housekeeping stuff while
upgrading to pedantic 1.11.0 which doesnt
allow curly braces in Strings where not needed
anymore.
2021-03-09 08:09:29 +00:00
Christian Pauly 7d91cdac5e fix: Typo and wellknown parsing 2021-03-01 11:38:53 +01:00
Christian Pauly 0b7a0dffb9 fix: Wrong parameters use 2021-02-09 10:36:01 +01:00
Christian Pauly 9617e76763 change: Less noisy oneline logs 2021-01-26 15:32:04 +01:00
Christian Pauly 8f1d35e0bc docs: Update license to MIT 2021-01-08 13:14:03 +01:00
Christian Pauly ede938c105 docs: Update license header 2021-01-04 10:18:41 +01:00
Christian Pauly 6b283d5c50 fix: Current version 2020-12-31 10:44:58 +01:00
Christian Pauly bb10adef79 Initial commit 2020-12-28 12:01:03 +01:00