Go to file
Nicolas Werner c7d49695d5
fix: prevent body (and plaintextBody) from return html by accident
It is not clear why we ever would want to return the formatted_body when
we ask for the body, but it seems to not be used anywhere and there are
no tests covering that functionality. However it leads to suprising
results, where the plaintextBody can be tricked into returning html
without applying conversions. So we just get rid of that functionality.
2024-10-16 13:59:11 +02:00
.github chore: Switch to cheaper github runner 2024-10-08 14:41:36 +02:00
.gitlab chore: change codeowners 2022-10-19 10:16:49 +00:00
doc docs: Add documentation 2024-04-11 15:36:30 +02:00
example docs: Update example with matrixsdkdatabase 2024-05-27 15:16:41 +02:00
lib fix: prevent body (and plaintextBody) from return html by accident 2024-10-16 13:59:11 +02:00
scripts feat: move e2e test dind structure to use executor 2024-07-01 20:52:32 +05:30
test fix: prevent body (and plaintextBody) from return html by accident 2024-10-16 13:59:11 +02:00
test_driver fix: Synapse CI job failing because invite state not completely synced 2024-07-23 10:30:40 +02:00
web_test feat: add Web build test 2024-04-12 08:50:53 +02:00
.gitignore chore: use proper matchers in integration tests 2022-12-14 14:45:58 +01:00
.gitlab-ci.yml feat: Implement new Matrix Dart SDK Database 2023-12-06 12:11:47 +01:00
.metadata Initial commit 2019-06-09 12:16:48 +02:00
CHANGELOG.md chore: release v0.33.0 2024-09-19 15:03:03 +02:00
CONTRIBUTING.md docs: Clean up repository docs 2021-05-18 11:41:53 +00:00
LICENSE Update LICENSE 2019-06-09 11:36:59 +00:00
README.md chore: add info about tests to readme 2024-07-31 14:13:30 +05:30
analysis_options.yaml docs: Document and group our linter rules 2023-11-17 14:24:59 +01:00
dart_test.yaml feat: lcov and tag olm tests 2024-04-23 15:21:46 +05:30
pubspec.yaml chore: release v0.33.0 2024-09-19 15:03:03 +02:00

README.md

Matrix SDK

Matrix (matrix.org) SDK written in dart.

Native libraries

For E2EE, libolm must be provided.

Additionally, OpenSSL (libcrypto) must be provided on native platforms for E2EE.

For flutter apps you can easily import it with the flutter_olm and the flutter_openssl_crypto packages.

flutter pub add matrix
flutter pub add flutter_olm
flutter pub add flutter_openssl_crypto

Get started

See the API documentation for details:

API documentation

Tests

thread_count=$(getconf _NPROCESSORS_ONLN) // or your favourite number :3
dart test --concurrency=$thread_count test
  • Adding the -x olm flag will skip tests which require olm
  • Using -t olm will run only olm specific tests, but these will probably break as they need prior setup (which is not marked as olm and hence won't be run)