Commit Graph

362 Commits

Author SHA1 Message Date
TheOneWithTheBraid 71e8db7a69 fix: missing repo URL in pubspec
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-01-26 11:40:55 +01:00
Lanna Michalke 58f6cde0bf BREAKING CHANGE: high-level hadling of image sizes
- By using [package:image](https://pub.dev/packages/image), the
`MatrixImageFile` was given automatically generated width and heigth.
- Moreover, `MatrixImageFile` was given a factory to create the image
  file from a given maximal dimension.
- When sending images without explicitly providing a thumbnail, the
  thumbnail is automatically generated based on the provided image.
- The blur hash in generated automatically based on the provided image.

Fixes:
https://gitlab.com/famedly/company/frontend/famedly-web/-/issues/162, https://gitlab.com/famedly/fluffychat/-/issues/756

Signed-off-by: Lanna Michalke <l.michalke@famedly.com>
2022-01-19 13:10:17 +01:00
Techno-Disaster c884a3b83f
chore: update fluffybox and bump version 2022-01-14 18:45:31 +05:30
Krille Fear 86c9067daa chore: Bump version 2022-01-08 10:47:14 +01:00
Krille Fear e5fde4f801 chore: bump version 2021-12-16 08:17:36 +00:00
Krille Fear 247de60f51 chore: Bump version 2021-12-03 12:37:46 +01:00
cloudwebrtc 7efe123274 Merge branch 'main' into voip/add-voip-function 2021-11-30 22:31:10 +08:00
Krille Fear 0c4fcd2d4e chore: Bump version 2021-11-26 13:15:05 +00:00
cloudwebrtc 72584d679c chore: bump version for webrtc_interface. 2021-11-26 20:33:57 +08:00
Krille Fear cbf961aa9d chore: Update SDK 2021-11-25 13:14:48 +01:00
Krille Fear 6c3741d59e fix: Limited timeline clean up on web 2021-11-25 13:13:39 +01:00
Krille Fear b2281025e7 chore: Update FluffyBox 2021-11-24 13:02:34 +01:00
Krille Fear 3ec778ff0d chore: Bump version 2021-11-23 16:09:17 +01:00
Krille Fear 01eb851364 fix: 2021-11-23 15:48:18 +01:00
cloudwebrtc 93b623f2d5 chore: Use webrtc interface to build the voip module. 2021-11-19 17:51:38 +08:00
Krille Fear b99a78476a refactor: Remove Sembast database implementation
It was a nice experiment but it
loading everything into memory
is just too slow for big
accounts.
2021-11-18 19:55:21 +01:00
Krille Fear 1e3068249f chore: Bump version 2021-11-16 10:57:52 +01:00
Krille Fear f5051a5afe feat: Implement sembast store
refactor: Use typed store
2021-11-16 09:50:25 +01:00
cloudwebrtc 56d9ba7d4a refactor: [WIP] Voip abstract interface. 2021-11-15 22:31:38 +08:00
cloudwebrtc 09e24fd33e feat: Migrate voip code from famedly-app. 2021-11-10 21:40:36 +08:00
Krille Fear fac91f8618 chore: Bump version 2021-11-10 14:02:29 +01:00
Krille Fear 58b36a67a3 refactor: Update matrix_api_lite and use SyncUpdate constructors 2021-11-10 10:04:03 +01:00
Krille Fear ac652536a3 chore: Bump version 2021-11-09 16:46:24 +01:00
Krille Fear 3e1aee6fcd fix: Null error in get own profile
On converting a User object to
a Profile object now leads to an
error. This fixes it.
2021-11-05 12:21:48 +01:00
Krille Fear a09cf36b2e chore: Bump version 2021-11-04 14:33:00 +01:00
Krille Fear 179139c289 chore: Bump version 2021-11-04 12:01:54 +01:00
Krille Fear d2ee73f96f chore: Bump version 2021-10-25 11:19:45 +02:00
Krille Fear b5ca69ead3 chore: Bump version 2021-10-18 15:55:51 +02:00
Krille Fear b4c922f49c chore: Bump version 2021-10-15 10:20:23 +02:00
Nicolas Werner ffea21a309 ci: check code metrics 2021-10-12 11:33:34 +00:00
Nicolas Werner 1c838e3be8 fix: Cleanup nullsafe encryption a bit 2021-09-30 12:58:37 +00:00
Nicolas Werner a196b53219 refactor: nullsafe encryption 2021-09-30 12:58:37 +00:00
Christian Pauly 9340bead1c chore: Bump version 2021-09-22 08:00:11 +02:00
Krille Fear b3c6b5f637 chore: Bump version 2021-09-20 11:42:18 +02:00
Christian Pauly e7de73d3a4 chore: Bump version 2021-09-19 14:03:12 +02:00
Krille Fear ecbdb32c55 chore: Bump SDK 2021-09-14 10:34:27 +02:00
Krille Fear 1e2ccabe85 fix: Missing null fallback when update notificationCount
Previously when using RoomUpdate in the constructor the notificationCount to update
was never null and set to 0 if it was missing. Now that we are
no longer using it, I forgot to
add the null fallback at this point.
This leads to serious crashes in the apps at runtime
and thats why I bump the version here as well!
2021-09-13 16:42:55 +02:00
Krille Fear 61ad497ea6 chore: Bump SDK 2021-09-13 15:18:18 +02:00
Nicolas Werner 48197e2258 chore: Upgrade all dependencies to nullsafe versions 2021-09-10 16:58:32 +02:00
Nicolas Werner e000fbf9be fix: compilation against newer matrix_api_lite 2021-09-10 16:40:40 +02:00
Nicolas Werner 8c22c0108b fix: compile against matrix_api_lite 0.4.2
0.4.3 seems to have accidental breaking changes and breaks our pipeline.
2021-09-10 02:50:24 +02:00
Christian Pauly 3c47b16f22 chore: Bump version 2021-09-08 11:34:19 +02:00
Christian Pauly 8548a3ab28 chore: Bump version 2021-09-06 09:35:58 +02:00
Christian Pauly e684a6d713 chore: Bump version 2021-09-06 09:16:44 +02:00
Christian Pauly 1c7df57b9e chore: Bump version 2021-09-03 15:26:35 +02:00
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
Lukas Lihotzki a4eeb1239e chore: use coverage instead of test_coverage 2021-03-23 17:06:54 +01:00
Christian Pauly 97daae3419 refactor: Update to matrix_api_lite 0.2.0
This introduces a minor breaking change in the login method.
It now uses correctly the AuthenticationIdentifier
and deprecates the user, medium and address parameter.
2021-03-09 19:14:53 +01:00
Krille Fear 44ca96e544 refactor: Update pedantic
This enforces to NOT use curly braces in Strings where not needed
and not await non-future variables.
2021-03-09 17:28:04 +00:00
Sorunome 498c7825a5
feat: Add fallback keys support 2021-03-02 16:17:32 +01:00
Christian Pauly 72a7bc1637 feat: Implement upload sync filters 2021-02-18 14:03:58 +01:00
Famedly Bot db42a6a88d chore: Update dependencies 2021-02-02 17:06:35 +00:00
Famedly Bot 3ccde7b858 chore: Update dependencies 2021-01-26 17:06:31 +00:00
Christian Pauly a9de1315d6 chore: Update matrix_api_lite 2021-01-26 15:33:56 +01:00
Krille Fear c701268d71 feat: Do well known by default in check homeserver 2021-01-20 13:21:51 +00:00
Christian Pauly f2de6c1056 chore: Update matrix_api_lite 2021-01-20 12:46:29 +01:00
Famedly Bot e76758ded1 chore: Update dependencies 2021-01-19 17:06:45 +00:00
Famedly Bot 85c967223a chore: Update dependencies 2021-01-12 17:06:48 +00:00
Christian Pauly 8b13df8c9d refactor: Add json parsing for encryption and encrypted content 2021-01-08 13:26:25 +01:00
Christian Pauly e450a09fb5 refactor: External matrix api 2021-01-04 10:26:29 +01:00
Famedly Bot 35b0fcaedb chore: Update dependencies 2020-12-22 17:06:30 +00:00
Christian Pauly 4b2d2d6f59 chore: Update logger 2020-12-21 08:04:34 +00:00
Christian Pauly 57286d4c28 feat: Use logger package 2020-12-19 12:04:25 +00:00
Famedly Bot 25ad7fd96e chore: Update dependencies 2020-12-15 17:06:54 +00:00
Famedly Bot f85ef5ed60 chore: Update dependencies 2020-12-08 17:07:48 +00:00
Famedly Bot b903930b01 chore: Update dependencies 2020-11-24 17:06:49 +00:00
Famedly Bot f84d5fed6d chore: Update dependencies 2020-11-18 14:41:31 +00:00
Christian Pauly 63734986a7 chore: Update encrypt dependency 2020-11-18 15:30:15 +01:00
Nicolas Werner ed8f0f9b53 ci: Add automatic dependency update 2020-11-18 13:54:04 +00:00
Christian Pauly 4d62a79e96 fix: CI 2020-10-08 12:29:18 +00:00
Sorunome ae79af6ea8
fix: store timestamps in milliseconds to fix decrypt error 2020-10-04 12:12:03 +02:00
Sorunome 99d536b14f
feature: Upload to online key backup 2020-09-09 09:53:26 +02:00
Christian Pauly 6170c79fe1 Improve logging 2020-08-06 09:35:02 +00:00
Lukas Lihotzki fc1b78d712 olm and matrix_file_e2ee from pub 2020-07-14 17:08:30 +02:00
Lukas Lihotzki 842581699c MatrixFile refactoring for thumbnails 2020-06-29 12:00:26 +00:00
Lukas Lihotzki 58dcedb883 Use mime instead of mime_type 2020-06-25 17:35:46 +02:00
Sorunome 2a6a19e2b0
Request-ify room key store stuff 2020-06-12 16:17:00 +02:00
Sorunome a7bb8375dc
fetch from online key backup 2020-05-29 10:21:36 +02:00
Sorunome c779d39818
fix small stuffs 2020-05-27 21:40:58 +02:00
Sorunome dda0b17724
in-room verification to verify users instead of devices 2020-05-27 21:35:00 +02:00
Sorunome 1c9da050c0
smoothen out verification and signature uploading 2020-05-26 15:58:14 +02:00
Sorunome 80c7125d1d
remove silly workaround for aes-ctr encrypt/decrypt 2020-05-25 17:55:49 +02:00
Sorunome 280cd4fc16
first SSSS stuff 2020-05-23 17:04:27 +02:00
Christian Pauly 066221b84d Make coverage visible again 2020-05-19 09:28:13 +00:00
Sorunome 3b9be3546a
proper pubspec 2020-05-17 20:02:28 +02:00
Sorunome 0219a42c07
implement SAS 2020-05-17 15:25:42 +02:00
Sorunome f71826739c Switch to moor 2020-05-15 18:40:17 +00:00
Sorunome 2352eb406a add markdown parsing 2020-05-09 14:00:46 +00:00
Christian Pauly 915cb1c32c Update pubspec.yaml 2020-05-06 10:16:42 +00:00
Christian Pauly 9944844cc3 Implement localized String represantions 2020-05-06 10:13:30 +00:00
Christian Pauly 06f650cf57 Fix thumbnail quality and update e2ee 2020-05-04 09:33:10 +02:00
Christian Pauly 81c12c81f2 [Client] Implement thumbnails 2020-04-17 14:11:13 +00:00
Christian Pauly a3c5add79e [SDK] Refactoring with new linter rules 2020-03-30 09:08:38 +00:00
Christian Pauly 44993f3506 [Client] Fix timeout exception 2020-03-25 11:03:47 +01:00
Christian Pauly 2c1caf9072 [Client] Enable file encryption 2020-03-23 09:37:51 +00:00
Christian Pauly bb44fa6ac0 [Event] Implement file encryption 2020-03-16 10:38:03 +00:00
Christian Pauly 208ee0581a [LibOlm] Update to fix encryption 2020-03-02 09:28:59 +01:00
Christian Pauly aaf25ce5e0 [Libs] Update dart-olm 2020-02-19 06:52:15 +00:00
Christian Pauly f5b493f9bd [SDK] Add dart-olm library and update CI 2020-02-15 07:48:41 +00:00
Christian Pauly cabb5679a7 [Client] Add canonical json 2020-02-04 18:01:53 +01:00
Christian Pauly edd8aa5c4c Client feature add device tracking 2020-02-04 13:41:13 +00:00
Christian Pauly 4cc5d263ab [SDK] Implement more matrix methods 2020-01-18 15:49:15 +01:00
Christian Pauly 846cc4b0fa [Flutter] fix dependency 2019-10-04 09:44:32 +00:00
Christian Pauly f8ed0384dd [Intl] Remove dependency 2019-10-02 12:40:16 +00:00
Christian Pauly 0a46ec9551 [Store] Make database private 2019-10-02 11:33:01 +00:00
Christian Pauly eccc880fcb [Room] Fix request User method 2019-09-17 14:21:16 +02:00
Christian 7d5da300c4 [Connection] Add upload method 2019-09-09 13:22:02 +00:00
Marcel 4d2cbf8663 [CI] Add code analyze job which is allowed to fail
Took 12 minutes
2019-06-25 16:30:13 +02:00
Marcel 253e0ecda6 [client][pushrules] Add GET Pushrules Endpoint
[sdk] Add "build_runner", "json_annotation" and "json_serializable" to dependencies required for [client][pushrules]
[test][client][pushrules] Add Tests for [client][pushrules]

Took 2 hours 13 minutes
2019-06-21 07:41:09 +00:00
Christian Pauly 5ad2d4b7ce Hunt down dependencies 2019-06-09 14:08:41 +02:00
Christian Pauly f1b468e192 Add licence header 2019-06-09 13:57:33 +02:00
Christian Pauly 28437d5b7e Add email to pubspec 2019-06-09 13:37:20 +02:00
Christian Pauly 77be6102f6 Initial commit 2019-06-09 12:16:48 +02:00