Commit Graph

1573 Commits

Author SHA1 Message Date
Millesimus
680303cfa2
feat(service): Save media size of downloaded and uploaded files. 2022-11-07 16:29:03 +01:00
Millesimus
e16bbf8acf
fix(xmpp+service): Enrich fallback message for quoted media…
…with srcUrl, messageEmojis and messageSizes. Fixes moxxy#128.
2022-11-07 16:29:01 +01:00
42ebbdba6d Merge pull request 'Implement OMEMO' (#126) from feat/omemo into master
Reviewed-on: https://codeberg.org/moxxy/moxxyv2/pulls/126
2022-11-04 21:53:43 +01:00
a2b477a3dc fix(ui): Add missing comma 2022-11-04 21:52:06 +01:00
3c7d5ad5ad feat(ui): Show a spinner while we are regenerating the device 2022-11-04 21:52:06 +01:00
4261e26f19 feat(ui): Update our own device fingerprint after regeneration 2022-11-04 21:52:06 +01:00
a0ee4e1312 feat(xmpp): Add an event for receiving a device list update 2022-11-04 21:52:06 +01:00
93630650fc fix(xmpp): Sessions are not built for new Omemo devices 2022-11-04 21:52:06 +01:00
36b20fa2dd fix(xmpp): Wrong return for queued disco request 2022-11-04 21:52:06 +01:00
ae1c4dd3e6 fix(xmpp): Remove unneeded critical section exit 2022-11-04 21:52:06 +01:00
69438f44b3 feat(service): Notify if we could not publish the Omemo device 2022-11-04 21:52:06 +01:00
aceaa01cdb fix(xmpp): Disco#info requests stall after one fails 2022-11-04 21:52:06 +01:00
7fe220a630 feat(ui): Show which chats are encrypted 2022-11-04 21:52:06 +01:00
f07599adf2 feat(ui): Warn when sending a file to multiple chats where >= 1 is unencrypted 2022-11-04 21:52:06 +01:00
1b89b16705 fix(xmpp): Awaiting a stanza does not return the transformed received stanza 2022-11-04 21:52:06 +01:00
0fb1148508 fix(meta): Ignore .android 2022-11-04 21:52:06 +01:00
208145d288 fix(xmpp): I think ratchet acking should work better now 2022-11-04 21:52:06 +01:00
a6bd60077d fix(xmpp): Fix outgoing presence being wrongly processed 2022-11-04 21:52:06 +01:00
387c20a708 fix(xmpp): Fix encrypting direct Presence and IQs 2022-11-04 21:52:06 +01:00
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