Commit graph

491 commits

Author SHA1 Message Date
nielsandriesse
947287e42f Debug 2021-01-13 15:19:17 +11:00
nielsandriesse
9eefc21eb9 Periodically send configuration messages 2021-01-13 14:08:41 +11:00
nielsandriesse
d6314c8d30 Handle configuration messages 2021-01-13 13:38:07 +11:00
nielsandriesse
8ae5db3141 Update protos & create ConfigurationMessage 2021-01-13 11:41:56 +11:00
nielsandriesse
440be57098 Fix non-millisecond value 2021-01-12 16:25:19 +11:00
nielsandriesse
079fb3f165 Re-generate protos 2021-01-12 14:13:09 +11:00
nielsandriesse
651de37cf2 Remove incorrect debug assertion 2021-01-12 13:43:46 +11:00
nielsandriesse
7d91062849 Fix voice messages not playing if device is muted 2021-01-12 13:43:34 +11:00
nielsandriesse
6e184022bd Debug 2021-01-12 12:42:52 +11:00
nielsandriesse
8119e40edc Clean up proto definitions 2021-01-12 12:40:34 +11:00
Niels Andriesse
284205303f Ignore group updates from before the thread was created 2021-01-11 16:10:05 +11:00
Niels Andriesse
b2ef12a1df Reduce code duplication 2021-01-11 14:37:49 +11:00
Niels Andriesse
4c4ec0c039 Remove unused code 2021-01-11 14:15:26 +11:00
Niels Andriesse
a6e44ca0f0 Clean 2021-01-11 14:12:07 +11:00
Niels Andriesse
d5228abea9 Update notification extension for V2 closed group updates 2021-01-11 13:36:47 +11:00
nielsandriesse
f5786a11fe Fix migration 2021-01-08 15:21:46 +11:00
nielsandriesse
d5e1237b0c Allow admins to leave & fix remaining issues 2021-01-08 14:54:27 +11:00
nielsandriesse
5ab06940ca Add safety check 2021-01-08 13:31:46 +11:00
nielsandriesse
3010f7cb7c Fix crash 2021-01-08 11:21:58 +11:00
nielsandriesse
aa6238b69c Clean 2021-01-08 10:32:54 +11:00
Niels Andriesse
0d01480cd0 Debug 2021-01-07 16:40:01 +11:00
Niels Andriesse
28963e252e Debug 2021-01-07 14:39:07 +11:00
Niels Andriesse
87724a7e3c Clean 2021-01-07 10:25:52 +11:00
Niels Andriesse
ee1d4b1bd5 Debug & make UI clearer 2021-01-06 10:37:26 +11:00
Niels Andriesse
ce86d9a196 Debug 2021-01-06 09:26:49 +11:00
nielsandriesse
de384fd4d9 Ensure legacy closed groups still work 2021-01-05 16:13:02 +11:00
Niels Andriesse
da503b0df1 Update Session protocol closed groups logic 2021-01-05 14:54:37 +11:00
Niels Andriesse
71758b0c00 Remove the Signal protocol 2021-01-04 13:59:21 +11:00
Niels Andriesse
ef1d6392a7 Activate the Session protocol 2021-01-04 10:53:08 +11:00
Niels Andriesse
ec2d784c20 Update contact model when legacy update methods are invoked 2021-01-04 10:36:18 +11:00
Niels Andriesse
40d199a90b Clean up SnodeAPI 2020-12-18 15:17:23 +11:00
Niels Andriesse
15c0fd9414 Merge branch 'dev' into cleanup 2020-12-18 14:40:59 +11:00
Niels Andriesse
61a0672824 Merge branch 'dev' into link-previews 2020-12-18 11:57:11 +11:00
Niels Andriesse
451e629605 Fix open group profile picture bug
#314 without merge conflicts
2020-12-18 11:12:07 +11:00
Niels Andriesse
0f01ac20ad Start integrating contact model 2020-12-18 10:35:16 +11:00
Niels Andriesse
9901f04dc3 Implement contacts migration 2020-12-18 09:47:18 +11:00
Niels Andriesse
9b3f71172b Implement contact storage 2020-12-17 16:32:39 +11:00
Niels Andriesse
6b0909b41b Create contact model 2020-12-17 16:09:49 +11:00
Niels Andriesse
a15eec83eb Minor refactoring 2020-12-16 11:45:01 +11:00
Niels Andriesse
0864873d31 Clean 2020-12-14 15:18:45 +11:00
Niels Andriesse
2a4977d269 Implement Session protocol 2020-12-14 09:49:02 +11:00
Niels Andriesse
0ce74e9a8e Fix desktop compatibility issue 2020-12-10 09:22:45 +11:00
nielsandriesse
d3f0ed81f7 Fix another compatibility issue 2020-12-09 16:14:49 +11:00
nielsandriesse
e2dca1efae Fix desktop compatibility issue 2020-12-09 15:47:48 +11:00
nielsandriesse
3c3f1ed7b8 Disable problematic code 2020-12-09 14:59:14 +11:00
nielsandriesse
bc4be99070 Fix Android compatibility issue 2020-12-09 13:07:40 +11:00
nielsandriesse
f0f0a627ec Fix Android compatibility issue 2020-12-09 10:25:19 +11:00
nielsandriesse
97d0160138 Fix promise not completing 2020-12-09 10:15:59 +11:00
nielsandriesse
f504965dfa Set group context
Android needs this
2020-12-08 13:17:02 +11:00
nielsandriesse
97325840e9 Guard against invalid open group server URLs 2020-12-08 10:33:53 +11:00
Niels Andriesse
efe8f1c8bb Clean 2020-12-07 16:00:21 +11:00
Niels Andriesse
3f5bc18f6b Fix remaining TODOs 2020-12-07 15:11:49 +11:00
Niels Andriesse
61611db58e Show message sync when sending a message 2020-12-07 13:19:46 +11:00
Niels Andriesse
eafff041df Debug open group background polling 2020-12-07 11:45:56 +11:00
Niels Andriesse
438bbccdfa Fix background polling 2020-12-07 11:21:24 +11:00
Niels Andriesse
21ec051016 Fix PN sending from share extension 2020-12-07 10:04:38 +11:00
Niels Andriesse
905b829de2 Refresh snode pool at least once a day 2020-12-07 09:29:46 +11:00
Niels Andriesse
ec1d79ca63 Fix message duplication bug 2020-12-04 11:05:19 +11:00
Niels Andriesse
a3b1a81ab3 Lower attachment download job max failure count 2020-12-04 10:22:01 +11:00
Niels Andriesse
2396f22ede Also notify for newly created groups 2020-12-04 10:00:06 +11:00
Niels Andriesse
91a75a65b1 Handle group messages in PNs 2020-12-04 09:40:58 +11:00
Niels Andriesse
5cf732709b Handle PN mentions 2020-12-04 09:16:40 +11:00
Niels Andriesse
bcd0d5ba94 Revert accidentally committed code 2020-12-03 17:10:51 +11:00
Niels Andriesse
76f92000b9 Add missing pod 2020-12-03 17:09:47 +11:00
Niels Andriesse
67b6162fb9 Fix open group attachment sharing 2020-12-03 13:50:59 +11:00
Niels Andriesse
00549a993f Debug 2020-12-03 10:53:30 +11:00
Niels Andriesse
7a8dbe1bf9 Tighten up error handling a bit more 2020-12-03 10:39:53 +11:00
Niels Andriesse
f0cbdb8cda Fix share extension 2020-12-03 10:12:29 +11:00
nielsandriesse
d6c115bc2a Fix module linking issue 2020-12-02 16:25:16 +11:00
nielsandriesse
e21e703581 Don't retry attachment downloads if the response was invalid 2020-12-02 10:01:34 +11:00
nielsandriesse
5ccf25181c Merge branch 'dev' into push-notifications 2020-12-02 09:53:19 +11:00
nielsandriesse
75b184c0b9 Use new message receiving pipeline in PN extension 2020-12-02 09:52:50 +11:00
nielsandriesse
c8dfa377bd Fix link preview migration issue 2020-12-02 09:51:26 +11:00
nielsandriesse
000249b744 Debug 2020-12-01 17:40:18 +11:00
nielsandriesse
ccc36c021b Resolve some leftover TODOs 2020-12-01 17:00:50 +11:00
nielsandriesse
71df0b84f0 Fix incorrect open group message timestamp 2020-12-01 16:25:31 +11:00
nielsandriesse
e8661cf4d7 Debug 2020-12-01 15:44:33 +11:00
nielsandriesse
c67f5f61a7 Fix loader not disappearing 2020-12-01 14:02:55 +11:00
nielsandriesse
a87bad6603 Fix open group link previews 2020-12-01 13:39:27 +11:00
nielsandriesse
5f2ec37db7 Fix message duplication bug 2020-12-01 11:40:37 +11:00
nielsandriesse
b49e50ff19 Clean up OpenGroupPoller 2020-12-01 09:43:49 +11:00
nielsandriesse
f2572e4c91 Fix album message ID handling 2020-12-01 09:03:13 +11:00
nielsandriesse
add2c467e4 Restructure 2020-12-01 08:35:13 +11:00
Niels Andriesse
d01e732515 Debug open group messaging 2020-11-30 16:10:58 +11:00
Niels Andriesse
2d8933901d Fix open group display name handling 2020-11-30 15:44:07 +11:00
Niels Andriesse
21810a0c4c Fix closed group message status handling 2020-11-30 15:20:03 +11:00
Niels Andriesse
3cf87d40ab Fix note to self 2020-11-30 15:06:05 +11:00
Niels Andriesse
ef76d73821 Fix typo 2020-11-30 14:20:36 +11:00
Niels Andriesse
993c673aad Clean 2020-11-30 13:18:26 +11:00
Niels Andriesse
8564c650a5 Parse open group attachments 2020-11-30 12:00:26 +11:00
Niels Andriesse
b621bdc69a Partially fix open groups 2020-11-30 11:00:28 +11:00
Niels Andriesse
1ca3366518 Fix MessageSendJob deserialization 2020-11-30 09:28:32 +11:00
nielsandriesse
c5a7d39518 Clean 2020-11-28 13:57:03 +11:00
nielsandriesse
d39e155e1c Make link previews work again 2020-11-28 11:48:08 +11:00
nielsandriesse
f7bfa5c4d7 WIP 2020-11-27 17:13:37 +11:00
nielsandriesse
20faa8e914 Debug 2020-11-27 16:22:15 +11:00
nielsandriesse
addc859c84 Fix duplicate messages & debug 2020-11-27 15:13:42 +11:00
nielsandriesse
e3304a40f9 Fix attachment quoting 2020-11-27 13:52:20 +11:00
nielsandriesse
2a57b8ab5b Fix disappearing messages 2020-11-27 11:08:48 +11:00
nielsandriesse
4dda59b446 Debug attachment receiving 2020-11-27 10:43:14 +11:00
nielsandriesse
d01f43147a Debug 2020-11-27 10:29:27 +11:00
nielsandriesse
c59fe05f8e Cancel message send job(s) if associated message/thread is deleted 2020-11-27 10:08:46 +11:00
nielsandriesse
2fa3a7edb7 Fix job retrying 2020-11-27 09:27:20 +11:00
nielsandriesse
77c1f721b9 Further debug attachment sending 2020-11-27 09:07:24 +11:00
Niels Andriesse
a88ce33ee0 WIP 2020-11-26 16:33:42 +11:00
Niels Andriesse
3eae001202 Fix disappearing messages 2020-11-26 15:51:12 +11:00
Niels Andriesse
341782f255 Fix profile handling 2020-11-26 15:16:35 +11:00
Niels Andriesse
ab56e12ff4 Fix read receipts 2020-11-26 14:12:55 +11:00
Niels Andriesse
1ddb8ac50e Resolve more TODOs 2020-11-26 14:01:24 +11:00
Niels Andriesse
c4e0b45b33 Send expiration timer updates again 2020-11-26 13:30:30 +11:00
Niels Andriesse
4942da1d23 Send read receipts again 2020-11-26 13:23:35 +11:00
Niels Andriesse
c8e63019ab Debug 2020-11-26 12:56:08 +11:00
Niels Andriesse
d5dc33e619 Debug 2020-11-26 12:46:47 +11:00
Niels Andriesse
ac6baec6f2 Make things compile again 2020-11-26 10:37:56 +11:00
nielsandriesse
1037ce5113 WIP 2020-11-25 16:21:04 +11:00
nielsandriesse
5dfd4b1965 Restructure 2020-11-25 16:15:16 +11:00
nielsandriesse
178ab7e3e2 WIP 2020-11-24 20:09:23 +11:00
nielsandriesse
5e476e8330 Fix coding issues 2020-11-24 16:18:58 +11:00
nielsandriesse
19c29b2bf9 WIP 2020-11-24 15:36:03 +11:00
nielsandriesse
ce7a23c401 Make sure sending errors bubble up to the user 2020-11-24 14:43:53 +11:00
nielsandriesse
921e2bced6 Debug 2020-11-24 14:10:32 +11:00
nielsandriesse
4317b17e7e Fill in some gaps 2020-11-24 09:49:31 +11:00
Niels Andriesse
ac1bbb3de1 Handle open group message ID 2020-11-23 15:58:48 +11:00
Niels Andriesse
64cf19f461 Improve job error handling 2020-11-23 15:46:53 +11:00
Niels Andriesse
3b252056de Implement attachment uploading 2020-11-23 15:37:25 +11:00
Niels Andriesse
d2e8f2142e WIP 2020-11-23 15:08:01 +11:00
Niels Andriesse
d7c71a8c06 Make things compile again 2020-11-23 10:24:40 +11:00
nielsandriesse
b218a16b05 Implement attachment downloading 2020-11-20 15:53:56 +11:00
nielsandriesse
961878f74c Parse attachment pointers 2020-11-20 11:10:53 +11:00
nielsandriesse
9f4d72f2f5 Make quotes work again
Also organize files
2020-11-20 10:07:36 +11:00
Niels Andriesse
4a31a84daa Fix messages showing up as failed 2020-11-19 16:51:08 +11:00
Niels Andriesse
9242f971fd Fix timestamp handling 2020-11-19 16:28:30 +11:00
Niels Andriesse
2e85d5fb41 Fix message sending status bar 2020-11-19 16:21:00 +11:00
Niels Andriesse
72b4c3edaf WIP 2020-11-19 15:24:09 +11:00
Niels Andriesse
30370bf4d2 Make basic message sending work 2020-11-19 11:16:23 +11:00
nielsandriesse
58802936c1 Finish message receiving pipeline 2020-11-19 09:44:00 +11:00
nielsandriesse
97545de75e Handle expiration timer updates 2020-11-18 15:36:51 +11:00
nielsandriesse
7e9eb2f138 Make typing indicators work & implement job resuming 2020-11-18 14:27:30 +11:00
Niels Andriesse
b030b5999b Make messages show up again 2020-11-18 12:02:38 +11:00
nielsandriesse
f36f447bec Ditch unused Signal code 2020-11-17 15:35:52 +11:00
nielsandriesse
14c87139c6 Merge branch 'dev' into refactor-4 2020-11-13 10:38:17 +11:00
nielsandriesse
6dc3184b2a Merge branch 'dev' into refactor-3 2020-11-13 10:07:45 +11:00
nielsandriesse
262c5ebe4a Fix incorrect tag 2020-11-13 08:47:14 +11:00
nielsandriesse
b88bfd1da0 Configure SessionMessagingKit 2020-11-13 08:41:54 +11:00
nielsandriesse
aba4cda143 WIP 2020-11-12 16:23:34 +11:00
nielsandriesse
15c6784f0f WIP 2020-11-12 16:02:21 +11:00
nielsandriesse
f706e38ef7 Debug 2020-11-12 13:54:59 +11:00
nielsandriesse
e819d8f536 Update dependencies 2020-11-12 13:20:28 +11:00
nielsandriesse
1c0b32af3c Fix ECKeyPair usage 2020-11-12 10:41:45 +11:00
nielsandriesse
c475f895e8 Create SignalUtilitiesKit 2020-11-11 10:58:56 +11:00
nielsandriesse
82127bfe4d Clean 2020-11-10 15:48:47 +11:00
nielsandriesse
505370f8d6 Implement open group message conversion 2020-11-09 13:56:50 +11:00
nielsandriesse
362e2e9c03 Update SessionMessagingKit for open groups 2020-11-09 11:53:07 +11:00
nielsandriesse
a3382f41d4 Re-organize files 2020-11-09 10:58:47 +11:00
nielsandriesse
41d078d012 Re-implement Signal protocol decryption 2020-11-09 10:33:26 +11:00
nielsandriesse
a9755631e3 Re-implement Signal protocol encryption 2020-11-09 10:08:57 +11:00
nielsandriesse
82b12901b9 Re-add missing Signal protocol bits 2020-11-09 09:17:47 +11:00
nielsandriesse
8f443a38af Re-implement message wrapping 2020-11-09 08:36:33 +11:00
nielsandriesse
4c69388c6c Match Signal coding keys 2020-11-09 08:15:44 +11:00
nielsandriesse
bef616b5bd Implement NotifyPNServerJob 2020-11-08 16:38:03 +11:00
nielsandriesse
b9f2881c9d Implement destination coding 2020-11-08 16:31:48 +11:00
nielsandriesse
71d51a873a Further implement JobQueue 2020-11-08 13:54:40 +11:00
nielsandriesse
ae81bfb610 Clean 2020-11-08 13:15:13 +11:00
nielsandriesse
d80804ca5a Create JobQueue 2020-11-08 13:12:38 +11:00
nielsandriesse
28172b4ed2 Create AttachmentUploadJob & AttachmentDownloadJob
Also conform SnodeMessage to NSCoding
2020-11-08 12:34:08 +11:00
nielsandriesse
b4545903b1 Fix build 2020-11-08 09:03:08 +11:00
nielsandriesse
4b63588f1a Create MessageSendJob & MessageReceiveJob
Also implement message sending notifications & custom TTL for typing indicators
2020-11-08 09:00:10 +11:00
nielsandriesse
9e42eeca34 Finish sending pipeline 2020-11-06 19:44:02 +11:00
nielsandriesse
21fe9558a4 Partially implement messaging kit encryption & decryption 2020-11-06 19:32:09 +11:00
nielsandriesse
52ed49d61e Validate messages after receiving 2020-11-06 16:31:56 +11:00
nielsandriesse
001b85353e Validate messages before sending 2020-11-06 16:28:06 +11:00
nielsandriesse
063214dea3 Implement VisibleMessage.toProto() 2020-11-06 16:18:08 +11:00
nielsandriesse
c3f2c44657 Implement VisibleMessage.fromProto(_:) 2020-11-06 16:08:37 +11:00
nielsandriesse
a782f36aa4 Clean 2020-11-06 16:01:51 +11:00
nielsandriesse
18755e8e64 Implement profile 2020-11-06 15:53:08 +11:00
nielsandriesse
39a1a4b3ab Implement link preview 2020-11-06 15:37:11 +11:00
nielsandriesse
9dc942772c Implement quote 2020-11-06 14:58:47 +11:00
nielsandriesse
40098ac180 Partially implement receiving pipeline 2020-11-06 14:05:45 +11:00
nielsandriesse
2d618cc6e9 Re-add proof of work 2020-11-06 13:56:26 +11:00
nielsandriesse
d735568e94 Partially implement sending pipeline 2020-11-06 13:46:06 +11:00
nielsandriesse
fac757e4fc Implement closed group update 2020-11-06 13:22:50 +11:00
nielsandriesse
3fe57b7765 Implement read receipt 2020-11-06 11:57:34 +11:00
nielsandriesse
e8892a1f0f Implement session request 2020-11-06 11:41:01 +11:00
nielsandriesse
d407467279 Implement expiration timer update 2020-11-06 10:59:04 +11:00
nielsandriesse
1644f078fe Implement typing indicator serialization 2020-11-06 10:43:34 +11:00
nielsandriesse
48f166b893 Implement typing indicator proto conversion 2020-11-06 09:49:16 +11:00
nielsandriesse
fbc41a857a Stub sending & receiving pipelines 2020-11-06 09:17:05 +11:00
nielsandriesse
6ab4b64926 Make things build 2020-11-05 16:23:37 +11:00
nielsandriesse
dcb218c864 Create SessionProtocolKit framework 2020-11-05 16:10:49 +11:00
nielsandriesse
96bfab5d93 Re-generate protos 2020-11-05 14:56:15 +11:00
nielsandriesse
c1196a6921 Start SessionMessagingKit 2020-11-05 14:16:45 +11:00