Christian Pauly
c387b33e9f
refactor: Make support for file storing optional in database API
2021-06-01 15:27:18 +02:00
Christian Pauly
ab0ff46900
refactor: Remove types for timeline callbacks
...
These types weren't that helpful anyway and their names were not compatible
with the new linter rule of Flutter 2.2.
2021-06-01 12:57:52 +02:00
Christian Pauly
73db010db4
fix: Make QueuedToDeviceEvent store content as String OR Map
...
Temporary fix to stay compatible to Moor AND a key value store
2021-06-01 12:56:43 +02:00
Christian Pauly
d0f67f914a
refactor: Add sortOrderKey and check for this while Event creation
...
This makes it easier to write a store which just stores the Event json and
does not have a dedicated scheme for
each object like Moor has.
2021-06-01 12:55:45 +02:00
Christian Pauly
26261ecd5e
feat: Add fromJson method for Room
...
This also included to move the room summary to a dedicated object inside
of the Room object because so it is easier to convert this to and from json.
2021-06-01 12:54:16 +02:00
Christian Pauly
9631cea83a
feat: Add toJson method for StoredInboundGroupSession
2021-06-01 12:51:17 +02:00
Christian Pauly
c3d47b16c6
CI: Use correct image
2021-05-25 10:46:34 +02:00
Christian Pauly
c66e35c16c
refactor: Create a clean database API
2021-05-20 07:36:03 +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
d1b76b01c4
fix: Try clear and try close database
2021-05-17 14:36:10 +02:00
Christian Pauly
bb9a8ff7e9
fix: SdkError Exception can be anything so should be dynamic
2021-05-17 14:17:46 +02: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
Nicolas Werner
6f52c0e2c3
fix: Allow SDK users to delete the db after logout
2021-05-17 07:38:53 +00:00
Christian Pauly
3e076425e6
CI: Remove update dependency job
...
Updating dependencies in a library does not make much sense.
Due to we dont have a pubspec.lock the app which uses this library always uses the
newest minor release by default.
For new major releases which have a new API this breaks anyway and needs manual help.
So if we depend on a specific major version we should not force the app to use the latest minor
versions without a reason to stay as compatible as possible.
2021-05-12 14:45:51 +02:00
Lukas Lihotzki
c196610998
chore: operation names from OpenAPI spec
2021-05-12 13:56:16 +02:00
Christian Pauly
73a2f38698
Update version
2021-05-12 13:37:35 +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
Christian Pauly
adb6d0a564
bump version
2021-05-10 12:08:26 +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
70ee808911
feat: Enhanced alias handling
2021-05-01 09:26:46 +02:00
Christian Pauly
a5af392fb8
fix: Missing RoomCreationTypes
2021-05-01 09:26:18 +02:00
Christian Pauly
ddce012498
chore: Bump version
2021-05-01 09:01:20 +02:00
Christian Pauly
88d0eae2b7
fix: Request aliases
2021-05-01 09:00:31 +02:00
Lukas Lihotzki
fdf650abd5
refactor: avoid if-condition based on bit value
2021-04-26 18:48:54 +02:00
Lukas Lihotzki
b4f755388a
refactor: high-level loops
2021-04-19 18:58:59 +02:00
Lukas Lihotzki
71fdd28a8a
refactor: await unconditionally
2021-04-16 14:19:42 +02:00
Christian Pauly
ffef732103
refactor: enable more linter rules
...
enable prefer_final_locals and prefer_final_in_for_each linter rules
2021-04-14 10:29:29 +02:00
Lukas Lihotzki
545ce26e39
style: fix format and lint
2021-04-12 14:49:03 +02:00
Lukas Lihotzki
ac9df588d1
chore: recreate database.g.dart
2021-04-12 14:49:03 +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
7faf05fe90
refactor: selectable hash for pbkdf2
2021-04-12 14:48:38 +02:00
Lukas Lihotzki
a25d1932ee
fix: fast pbkdf2 with OpenSSL
2021-04-12 14:48:38 +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
Lukas Lihotzki
7d0402b99f
docs: mention libolm dependency
2021-04-12 14:47:59 +02:00
Lukas Lihotzki
b9df73989b
test: fix test on web
2021-04-12 14:47:59 +02:00
Christian Pauly
fb0177ac5f
feat: Implement spaces
2021-04-12 09:24:20 +02:00
Christian Pauly
a84e196b03
fix: Changelog
2021-04-12 09:00:30 +02:00
Christian Pauly
cd76448f8b
feat: Add room and event types for spaces
2021-04-12 09:00:11 +02:00
Niklas Zender
d7b7619a63
Chore: Rename author & description of SDK
2021-04-07 09:23:41 +00:00