Commit Graph

1076 Commits

Author SHA1 Message Date
2c71e01e5a fix(xmpp): Do not try to decrypt if the stanza has no from 2022-11-04 21:52:06 +01:00
c3cf84ee7d fix(service): Clear session related tables when regenerating the device 2022-11-04 21:52:06 +01:00
5787a8943d feat(xmpp): Ignore PubSub elements 2022-11-04 21:52:06 +01:00
313e276ad6 feat(service): Implement regenerating one's device 2022-11-04 21:52:06 +01:00
310891bf16 feat(ui): Add more confirmation prompts 2022-11-04 21:52:06 +01:00
8852356966 feat(xmpp): Work around ejabberd not accepting max in publish options 2022-11-04 21:52:06 +01:00
6243766ecc fix(ui): Fix not popping the dialog 2022-11-04 21:52:06 +01:00
2d5e987fcc feat(service): Implement deleting devices
- Fix accidentally deleting the entire bundles node instead of just
  retracting the single item.
- ASK IF THE USER WANTED TO DO THIS
- Fix checking for the wrong result type
2022-11-04 21:52:06 +01:00
bf851c2bd6 fix(service): For now, revert the multiple PK situation 2022-11-04 21:52:06 +01:00
0327f254a2 feat(ui): Display warnings for messages 2022-11-04 21:52:06 +01:00
a0c7078593 feat(service): Verify given file hashes 2022-11-04 21:52:06 +01:00
0cbea9607e feat(xmpp): Communicate encryption errors due to missing devices 2022-11-04 21:52:06 +01:00
e799d516ea feat(xmpp): The send cancelled event now carries the handler data 2022-11-04 21:52:06 +01:00
c630d8f091 fix(xmpp): Only add EME for messages 2022-11-04 21:52:06 +01:00
2494fbb837 fix(ui): Fix title of the contact devices page 2022-11-04 21:52:06 +01:00
cb2560d46f fix(xmpp): Clean the publish method 2022-11-04 21:52:06 +01:00
240ed5f859 feat(ui): Add warning to enabling OMEMO by default 2022-11-04 21:52:06 +01:00
0365730e0e chore(xmpp): Move namespace into namespaces.dart 2022-11-04 21:52:06 +01:00
b9d5eab3ea chore(xmpp): Move xep_0060.dart into its folder 2022-11-04 21:52:06 +01:00
16c84d59dc fix(service): Make more message attributes primary keys 2022-11-04 21:52:06 +01:00
621c396407 feat(service): Handle file decryption errors 2022-11-04 21:52:06 +01:00
3f2cc3d97a feat(xmpp): When sending is cancelled, return an error stanza
This will help once we try to encrypt IQ stanzas.
2022-11-04 21:52:06 +01:00
ce927308c4 feat(xmpp): Allow stanza handlers to cancel sending 2022-11-04 21:52:06 +01:00
df99eb0aab chore(service): Add TODO 2022-11-04 21:52:06 +01:00
e8473d4f5b chore(service): Refactor the MediaFileLocation 2022-11-04 21:52:06 +01:00
1175d77c55 feat(service): Generate the OMEMO device in the background 2022-11-04 21:52:06 +01:00
570f4ca7d9 chore(service): Clean the cryptography service 2022-11-04 21:52:06 +01:00
e4b9c8f1bc feat(service): Generate a plaintext hash in all cases 2022-11-04 21:52:06 +01:00
ea6e7c5d8c feat(service): Hash the file before sending the metadata 2022-11-04 21:52:06 +01:00
a462945c98 feat(service): Perform encryption and decryption off-thread 2022-11-04 21:52:06 +01:00
003d4d65e5 chore(meta): Bump omemo_dart 2022-11-04 21:52:06 +01:00
38fa5ab991 fix(service): Fix the result of file encryption 2022-11-04 21:52:06 +01:00
e22e7b9c90 fix(xmpp): Fix not parsing ESFS 2022-11-04 21:52:06 +01:00
fc6a8eae9d fix(service): Fix trust device list not loaded 2022-11-04 21:52:06 +01:00
4dab811388 fix(service): Fix file not encrypted before upload 2022-11-04 21:52:06 +01:00
012dc5ec69 feat(xmpp): Collection commit
- Fix Db issue when saving the trust device list
- Prevent constantly requesting our own device bundles if it's just our
  one device.
- Encrypt uploads and decrypt downloads
2022-11-04 21:52:06 +01:00
f72f67342d feat(service): Implement a service for file cryptography 2022-11-04 21:52:06 +01:00
283ac315d8 feat(service): Also store the used encryption mechanism 2022-11-04 21:52:06 +01:00
1a5b0f372d chore(meta): Update DOAP 2022-11-04 21:52:06 +01:00
de40e859d7 feat(xmpp): Implement XEP-0448 2022-11-04 21:52:06 +01:00
6140de8eea feat(ui): Add (untested) support for recreating own sessions 2022-11-04 21:52:06 +01:00
a9fcbd7909 feat(xmpp): Add Message Processing Hints to OMEMO messages 2022-11-04 21:52:06 +01:00
a963153c2a feat(service): Use cryptography_flutter for possible speedup 2022-11-04 21:52:06 +01:00
8efb743b84 feat(ui): Implement (untested) device deletion 2022-11-04 21:52:06 +01:00
f251d6b97b feat(xmpp): Implement PubSub item delete 2022-11-04 21:52:06 +01:00
8a5a96d02c feat(ui): Implement enabling and disabling one's own sessions 2022-11-04 21:52:06 +01:00
fc0dd14b4d feat(ui): Display key controls only on keys we have a session with 2022-11-04 21:52:06 +01:00
4d67c157f0 feat(service): Implement getting one's own device fingerprints 2022-11-04 21:52:06 +01:00
a678ef70e7 fix(ui): isEmpty -> isNotEmpty 2022-11-04 21:52:06 +01:00
87d320b6da feat(ui): Implement viewing the device's fingerprint 2022-11-04 21:52:06 +01:00