Christian Pauly
c0c7f68bf3
chore: Rename to matrix
2021-06-18 09:58:25 +02:00
Christian Pauly
38d81d6093
fix: Migrate missing device keys
...
Currently we only migrate the client and SSSSCache but this leads to the
problem that we are no longer self signed after the migration.
We need to migrate all device keys too.
This also abstracts the migration code in a method. init() is too large already...
2021-06-18 09:16:12 +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
c387b33e9f
refactor: Make support for file storing optional in database API
2021-06-01 15:27:18 +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
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
Lukas Lihotzki
ac9df588d1
chore: recreate database.g.dart
2021-04-12 14:49:03 +02:00
Lukas Lihotzki
08043c06f4
refactor: high-level loops
2021-04-01 12:51:45 +02:00
Christian Pauly
0ceb2b26df
refactor: Constants names
2021-03-30 12:43:50 +02:00
Sorunome
c76dc0daa2
chore: Reduce needed database accessess
2021-03-09 18:28:58 +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
Christian Pauly
c9d3c327f6
refactor: Deprecate eventType in EventUpdate
2021-02-26 13:06:02 +01:00
Christian Pauly
72a7bc1637
feat: Implement upload sync filters
2021-02-18 14:03:58 +01:00
Sorunome
d373a06aa2
fix: Add to_device queue to prevent olm session corruptions
2021-02-08 14:57:19 +01:00
Sorunome
a35266f1e4
feat: Replay last sent olm message on olm session recovery from other device
2021-01-20 12:50:52 +01:00
Christian Pauly
9ffecd845a
chore: Update license header
2021-01-04 10:34:50 +01:00
Christian Pauly
e450a09fb5
refactor: External matrix api
2021-01-04 10:26:29 +01:00
Sorunome
add19c73a0
fix: Load multiple olm sessions from the database at once for increased performance
2020-12-30 12:52:54 +01:00
Sorunome
6723c01a31
feat: Lazy-send room keys, chunked and sorted by importance
2020-12-29 14:46:36 +01:00
Marcus Hoffmann
54fc29f203
clear cache fix
2020-12-22 17:34:50 +01:00
Sorunome
df1c249011
feat: Auto-Share megolm sessions with other users we know for a fact are allowed to see said message
2020-12-21 14:41:44 +01:00
Christian Pauly
3d6dbc9dc3
chore: Implement logoutput
2020-12-21 09:35:36 +01:00
Christian Pauly
57286d4c28
feat: Use logger package
2020-12-19 12:04:25 +00:00
Sorunome
49f0679fbf
feat: Add bootstrapping
2020-12-10 08:13:24 +00:00
Christian Pauly
bec1761172
refactor: content parsing
2020-11-30 15:34:46 +01:00
Sorunome
c509144987
fix: Fetching history sometimes re-sorting events in the timeline
2020-11-08 14:54:19 +01:00
Christian Pauly
66e590073e
refactor: Event Update Type
2020-10-22 13:01:35 +02:00
Sorunome
2e941b85e9
fix: Delete files older than 30 days
2020-10-08 13:02:20 +00:00
Christian Pauly
0761d33b6f
refactor: Database first to single
2020-10-08 12:48:56 +00:00
Sorunome
ae79af6ea8
fix: store timestamps in milliseconds to fix decrypt error
2020-10-04 12:12:03 +02:00
Christian Pauly
bc8fef4a94
fix: Remove pubspec.lock from repo
2020-09-16 14:41:09 +02:00
Sorunome
b5ac500136
fix: Handle failed to send messages in low network significantly better
2020-09-10 13:19:58 +02:00
Christian Pauly
5d45c224a3
fix: Mark pending events as failed on startup
2020-09-10 10:01:44 +02:00
Sorunome
99d536b14f
feature: Upload to online key backup
2020-09-09 09:53:26 +02:00
Christian Pauly
9142dcbeec
fix: Database error handling
2020-08-26 09:40:30 +02:00
Sorunome
631b28eab2
fix: Migrations don't fail anymore if they were partly completed
2020-08-18 14:00:42 +02:00
Sorunome
ea59c4bd94
refactor(keybackup): Update database for stored megolm keys to prepare for proper online key backup
2020-08-17 09:10:51 +02:00
Sorunome
20d72eb8d7
fix: Event statuses progress and are saved correctly
2020-08-17 08:54:16 +02:00
MTRNord
26586b6f02
style: Change package:famedlysdk imports to relative imports
...
Changing the imports from `package:famedlysdk` to relative imports allows us to easier move the files
Took 2 minutes
2020-08-13 10:40:39 +02:00
Christian Pauly
6170c79fe1
Improve logging
2020-08-06 09:35:02 +00:00
Christian Pauly
bbd5749aec
Fix storing of event status
2020-08-05 05:57:10 +00:00
Christian Pauly
d4a7345b8a
Enable transactions again to fix web
2020-08-03 13:28:30 +00:00
Sorunome
69431a1aff
some key verification fixes and temporarily disable transactions
2020-07-30 09:57:45 +02:00
Sorunome
c68487ac21
fix issue with sending messages
2020-07-23 08:09:00 +00:00
Sorunome
0ece2717e0
Merge branch 'master' into soru/fix-members-requests
2020-07-20 11:53:55 +02:00
Sorunome
175cb0fbd2
add Databse.connect to be able to run in isaltes
2020-07-17 13:20:23 +02:00
Sorunome
4394196ba1
try to load members from database first and cache them in-memory
2020-07-14 11:30:13 +02:00
Sorunome
79ea85bf4d
indexes are already created when creating a talbe
2020-07-14 10:43:21 +02:00
Sorunome
7351319f28
address things
2020-07-02 10:32:11 +02:00