Commit Graph

117 Commits

Author SHA1 Message Date
Christian Pauly 4bee82dbe0 fix: uiaRequests send broken auth object at first try
We should just let the `auth` object null and dont send it at the
first try and wait for the servers response. This worked in the past
but now it is broken because of changes in the
matrix_api_lite. This could also be fault for some
bootstrap issues.
I have also removed an unnecessary check if a String is a String and just made it a
null check because this was intended at this point.

Because of that this blocks uiaRequests it is a hotfix and therefore directly bumps the version.
2021-08-30 08:31:20 +02:00
Christian Pauly aeea0669d5 fix: Send unencrypted thumbnails
There was just one toString() missing and this
lead to a crash in the app because hive tries to store
an URI.
2021-08-28 17:17:25 +02:00
Christian Pauly 04ff890670 chore: Bump version 2021-08-28 09:55:31 +00:00
td 7155500594 chore: bump version 2021-08-26 14:03:21 +00:00
Christian Pauly c80bf25ee4 chore: Bump version 2021-08-25 11:26:19 +02:00
Lukas Lihotzki 9087f08775 chore: mxc url in Uri 2021-08-23 11:05:47 +02:00
Christian Pauly 93c689fd4d hotfix: Opt-out null safety for crypto files because of an error in web
`packages/matrix/src/utils/crypto/crypto.dart:19:1: Error: Null safe libraries are not allowed to export declarations from of opt-out libraries.
`
2021-08-20 13:56:15 +02:00
Christian Pauly a9db626817 chore: Bump version 2021-08-20 12:59:02 +02:00
Christian Pauly 9b7474e2f2 refactor: Update to dart 2.12 and opt out in all files
This also adds some missing license headers, I have detected while
using license header search&replace to add the
null safety opt out
2021-08-18 08:09:39 +02:00
xenofem a1b95c0915
feat(events): add plain-text body representation from HTML
Co-Authored-By: Sorunome <mail@sorunome.de>
2021-08-17 18:33:45 +02:00
Christian Pauly 86041513f8 refactor: Remove deprecated moor database
We have used some data models which were only used in moor in the tests.
I needed to rewrite them in the original data as well.
Also now the "fake database" on native is the same like on web now with hive.
2021-08-17 10:11:59 +02:00
Marcus f91f662c75 chore: update to matrix_sdk_lite 0.4.1 2021-08-05 12:10:45 +00:00
Nicolas Werner 5ba63f1bc0 chore: bump version 2021-08-02 20:53:32 +02:00
Christian Pauly 0d72d20cf9 chore: Bump version 2021-07-27 11:29:59 +02:00
Lukas Lihotzki 8665f092f4 chore: matrix_api_lite 0.4.0 2021-07-26 14:54:22 +02:00
Christian Pauly 115c144cd6 chore: Bump version 2021-07-26 09:48:11 +02:00
Christian Pauly 686bfa3157 chore: Bump version 2021-07-21 16:15:26 +02:00
Christian Pauly 209035ffbd refactor: Use official Dart isolates
The isolates package is discontinued and not compatible
with the newest Dart version.
dart:isolate is not an option because importing this
library makes it impossible to run the matrix
SDK on dart web native. It just won't
build. So we now just depend on
that the flutter app pass through the compute method.
2021-07-21 12:34:43 +02:00
Christian Pauly 66b5f4954e chore: Bump version 2021-07-20 16:06:10 +02:00
Sorunome 5b40088292
chore: Version bump 2021-07-18 18:57:16 +02:00
Sorunome a1594fd9ac
feat: Add general image pack handling as per MSC2545
This also deprecates the old ways to access just emoticons, as the MSC
now covers both emoticons and stickers!
2021-07-18 18:46:32 +02:00
Krille Fear 2980f6d8e3 chore: Bump version 2021-07-10 09:05:12 +00:00
Christian Pauly 1e45ed1793 chore: Select range for moor dependency
Publishing to pub.dev is not allowed for a fixed version of a dependency.
We have do select a range of versions. Version 4.x.x should work fine.
2021-07-10 08:38:38 +00:00
Christian Pauly 70763daec6 chore: Bump version 2021-07-06 14:41:49 +02:00
Christian Pauly af3a99af1c chore: Pin moor to 4.3.2 to fix the CI errors 2021-07-05 10:59:42 +02:00
Krille Fear e0d3994a46 chore: bump version 2021-06-26 08:33:03 +00:00
Christian Pauly 616d25034f chore: Bump version 2021-06-22 15:45:22 +02:00
Christian Pauly c734dc5b9f chore: Bump version 2021-06-20 10:31:50 +02:00
Christian Pauly 16f1cb7456 chore: Bump version 2021-06-19 11:06:34 +02:00
Christian Pauly c37c5a962e chore: Bump version and update changelog 2021-06-18 10:17:15 +02:00
Christian Pauly 69b52ba85b refactor: Move pedantic to dev_dependencies
The unawaited method from the pedantic package was a historic solution
for the case that you dont want to await a future in an async function.
But now we can do this with just a comment which
is the recommended way to do this now.
This makes it possible to have pedantic as a dev_dependency which means just one dependency less.
2021-06-18 10:15:59 +02:00
Christian Pauly c0c7f68bf3 chore: Rename to matrix 2021-06-18 09:58:25 +02:00
Christian Pauly 14ee16fe16 feat: Implement new Hive Database
The hive database now implements the whole API except for storing files which
should be better done by the flutter_cache_manager package inside of the
flutter app. All tests already run with Hive now but the Moor database is still
tested too. We needed to change some wait jobs in the tests because the Hive
database is not 100% in memory for the tests like Moor.
For now both database implementations are equal and the developer can pick
which one to use but we plan to get rid of Moor in the future.
2021-06-16 08:43:33 +02:00
Christian Pauly cfa4441682 chore: Update matrix api lite
To fix the log filtering.
2021-06-10 09:23:08 +02:00
Krille Fear a5cbbf5cf4 chore: Update matrix_api_lite 2021-06-09 08:12:47 +00:00
Christian Pauly 6fae2e1426 docs: Clean up repository docs
This adds a first version 0.1.0 to the project and a start for a changelog.
This also updates the readme and the contributing docs.
2021-05-18 11:41:53 +00:00
Christian Pauly aa4b0a25fa refactor: Update matrix_api_lite and remove no longer necessary dep override
The logger package has been removed too because the matrix_api_lite no longer
depends on it. It was a unnecessary import anyway because it was transitive in the past.
2021-05-17 07:50:54 +00:00
Lukas Lihotzki c196610998 chore: operation names from OpenAPI spec 2021-05-12 13:56:16 +02:00
Christian Pauly 70ee808911 feat: Enhanced alias handling 2021-05-01 09:26:46 +02:00
Lukas Lihotzki 089ecfdb0c chore: update dependencies 2021-04-12 14:49:03 +02:00
Lukas Lihotzki d413f54f10 refactor: use OpenSSL for file e2ee 2021-04-12 14:49:03 +02:00
Lukas Lihotzki 761138a56d refactor: use OpenSSL for AES 2021-04-12 14:49:01 +02:00
Lukas Lihotzki 4f32168017 chore: upgrade to markdown 4.0.0 2021-04-12 14:48:38 +02:00
Lukas Lihotzki 285b14912a chore: null safe crypto dependencies 2021-04-12 14:48:36 +02:00
Christian Pauly fb0177ac5f feat: Implement spaces 2021-04-12 09:24:20 +02:00
Niklas Zender d7b7619a63 Chore: Rename author & description of SDK 2021-04-07 09:23:41 +00:00
Lukas Lihotzki 2a2a170609 refactor: upgrade http package 2021-04-01 13:43:24 +02:00
Christian Pauly c248de0d04 chore: Update mime 2021-03-31 09:00:14 +02:00
Lukas Lihotzki 3d55abdd11 chore: upgrade to ffi 1.0.0 2021-03-29 16:37:29 +02:00
Lukas Lihotzki 88bc150722 ci: allow explanatory comments in pubspec.yaml 2021-03-29 13:36:32 +02:00