Commit Graph

1104 Commits

Author SHA1 Message Date
1a9d34d347 fix(service): Fix dynamic access 2022-11-04 21:52:06 +01:00
ed4ee53fdb fix(tests): Fix tests 2022-11-04 21:52:06 +01:00
4848a13fa0 fix(xmpp): Remove the sendRawXml method of Managers' attributes 2022-11-04 21:52:06 +01:00
b9ebd506c8 chore(ui): Refactor 'Key' to 'Device' 2022-11-04 21:52:06 +01:00
249f49f7b3 feat(xmpp): Enable OMEMO for IQs and Presence Stanzas as well 2022-11-04 21:52:06 +01:00
db3f5eb066 feat(service): Perform (most) file hashing operations on the native side 2022-11-04 21:52:06 +01:00
c2f43e0096 chore(meta): Remove cryptography_flutter 2022-11-04 21:52:06 +01:00
d81586d026 feat(service): Massively speed up BlurHash calculation 2022-11-04 21:52:06 +01:00
18a9419cef fix(service): Make HttpFileTransferService update messages on error 2022-11-04 21:52:06 +01:00
8a69083c19 feat(service): Improve encryption and decryption speed 2022-11-04 21:52:06 +01:00
ba1b79f657 test(xmpp): Test hash parsing for SFS 2022-11-04 21:52:06 +01:00
1a2415925f feat(xmpp): Attempt PubSub subscription only once per session 2022-11-04 21:52:06 +01:00
16a597183a feat(xmpp): Log stanzas in their decrypted forms 2022-11-04 21:52:06 +01:00
2461430869 fix(xmpp): Tell the UI about the message change 2022-11-04 21:52:06 +01:00
605201dbc8 feat(xmpp): Try to keep our device list up-to-date 2022-11-04 21:52:06 +01:00
214d3250fe feat(service): Mark message if the chat is encrypted while the file isn't 2022-11-04 21:52:06 +01:00
ea9c634a25 fix(xmpp): Fix a small logic bug in _findNewSessions 2022-11-04 21:52:06 +01:00
62095cb170 feat(service): Move isUploading and isDownloading to the database 2022-11-04 21:52:06 +01:00
aba85c70c1 feat(service): Remove support for SIMS 2022-11-04 21:52:06 +01:00
98569cff69 feat(service): Pull the filename from SFS, if given 2022-11-04 21:52:06 +01:00
952dfdc521 feat(meta): Make gitlint rules nicer 2022-11-04 21:52:06 +01:00
93724802d8 feat(xmpp): Bail early on encryption if the stanza contains PubSub 2022-11-04 21:52:06 +01:00
e5f19e3b8b feat(xmpp): Make SM's setState async 2022-11-04 21:52:06 +01:00
4479506ee0 fix(xmpp): Fix the Stream Management not counting awaited stanzas 2022-11-04 21:52:06 +01:00
359d4508b1 test(xmpp): Write test to ensure early-ended stanzas are counted 2022-11-04 21:52:06 +01:00
ef9ba68790 fix(xmpp): Make SM counting run at the very beginning or end 2022-11-04 21:52:06 +01:00
53ce0d9e54 chore(xmpp): Track kex timestamp to prevent performing old kex 2022-11-04 21:52:06 +01:00
505921045e fix(xmpp): Fix receiving kex again breaking the ratchets 2022-11-04 21:52:06 +01:00
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