Commit Graph

212 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