Commit Graph

41 Commits

Author SHA1 Message Date
Christian Pauly 3a6d224348 fix: Log filter in wrong direction 2021-06-10 09:21:20 +02:00
Christian Pauly 9b3768300e fix: Logs should only printed if loglevel is high enough 2021-06-09 10:11:56 +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 d667f63675 refactor: Enable more lints 2021-05-05 12:32:20 +02:00
Lukas Lihotzki 846c96e90d refactor: move identifier type detection into AuthenticationIdentifier 2021-05-05 12:08:03 +02:00
Lukas Lihotzki 2fdf3e8284 refactor: polymorphism can be used without manual switch statement 2021-05-05 12:05:26 +02:00
Lukas Lihotzki 4069f0a02f refactor: avoid string conversion for comparison 2021-05-05 12:05:26 +02:00
Lukas Lihotzki 9de57fad9b refactor: initializer lists in fromJson constructors 2021-05-05 12:05:26 +02:00
Lukas Lihotzki 23db25d4af refactor: use .. 2021-05-05 12:05:26 +02:00
Lukas Lihotzki 83ef6484eb refactor: use map 2021-05-05 12:05:26 +02:00
Lukas Lihotzki 19500307be refactor: call fromJson constructor of base class 2021-05-05 12:05:26 +02:00
Christian Pauly a5af392fb8 fix: Missing RoomCreationTypes 2021-05-01 09:26:18 +02:00
Christian Pauly 88d0eae2b7 fix: Request aliases 2021-05-01 09:00:31 +02:00
Christian Pauly cd76448f8b feat: Add room and event types for spaces 2021-04-12 09:00:11 +02:00
Lukas Lihotzki 924af98f30 fix: no empty server_name parameter 2021-03-31 18:33:59 +02:00
Lukas Lihotzki 04674e2dfd refactor: upgrade to http 0.13 2021-03-30 14:49:21 +02:00
Krille Fear 7a078251a6 fix: IdServerUnbindResult typo 2021-03-09 08:24:30 +00: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
Sorunome 8573e1915f
feat: Add fallback keys support 2021-02-15 16:23:33 +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 2b04551838 fix: well-known in fake_matrix_api 2021-01-20 14:07:40 +01:00
Sorunome 484037a13f
feat: Add m.dummy event 2021-01-18 16:33:12 +01:00
Sorunome 195d46b901
fix: Deep-copy arrays correctly 2021-01-17 15:38:09 +01:00
Christian Pauly 8f1d35e0bc docs: Update license to MIT 2021-01-08 13:14:03 +01:00
Christian Pauly 0ccf300777 fix: Cast instead of shallow copy 2021-01-08 12:55:45 +01:00
Christian Pauly 5ea63b1f1f fix: Set Content-Length on upload 2021-01-08 11:16:14 +01:00
Christian Pauly ae34041f29 feat: Implement plaintext parsing 2021-01-08 10:54:04 +01:00
Christian Pauly 618d42a448 feat: Room forwarded key content 2021-01-08 10:30:57 +01:00
Christian Pauly fce7705243 feat: Implement room key request parsing 2021-01-08 09:54:11 +01:00
Christian Pauly 81c86a6c05 feat: Add room_key content 2021-01-08 09:33:03 +01:00
Christian Pauly 128df8d8eb feat: Add encryption content 2021-01-07 14:00:40 +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 68e6530835 fix: Current version 2020-12-31 10:33:59 +01:00
Christian Pauly 3340a1e540 refactor: Remove markedunread 2020-12-31 10:25:54 +01:00
Christian Pauly e15c21bea8 fix: Remove empty readme 2020-12-31 10:15:24 +01:00
Christian Pauly 03901f4612 fix: Add marked unread to lib 2020-12-31 10:03:30 +01:00
Christian Pauly bb10adef79 Initial commit 2020-12-28 12:01:03 +01:00