776 Commits

Author SHA1 Message Date
Vitaliy Vlasov
e6dffe8d8d Communities encryption 2021-11-30 20:52:47 +02:00
Richard Ramos
51a6d8ee7c
fix: error reordering chats when destination category position is the same as original chatId position (#2448) 2021-11-30 10:26:17 -04:00
Anthony Laibe
73c7ea57d1
feat: auto message (#2441)
Send message every 2 minutes to status-bot chat id
2021-11-29 14:11:55 +01:00
Anthony Laibe
25e1c64ef5
fix: iterate through message with batch topics (#2444)
When iterating, reuse the list of topics rather
than all topics
2021-11-26 12:59:53 +01:00
Parvesh Monu
a65c873b8f
Decline pending group invitations from user, when user is banned (#2437) 2021-11-25 20:51:42 +05:30
Jonathan Rainville
dad02df69b
chore: remove tenor since the api no longer returns a url (#2439) 2021-11-24 10:12:30 -05:00
Andrea Maria Piana
ded81b7a51 Reject contact request endpoint 2021-11-23 14:11:43 +01:00
Richard Ramos
d32f0467ae
feat: Add DiscV5 to Waku2 (#2434)
* feat: Add DiscV5 to Waku2
* fix: null verification for discV5
2021-11-22 09:40:14 -04:00
Andrea Maria Piana
1d752c087f Default to sent if confirmations not enabled 2021-11-22 11:18:09 +00:00
Andrea Maria Piana
272342fb6b Revert "Revert "Correctly process confirmations""
This reverts commit b4c4cf62418e485905feafd44f038422c1862ebb.
2021-11-22 11:18:09 +00:00
Parvesh Monu
478eb435b1
Allow user to be re-invited to the same group after leaving (#2431)
Co-authored-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2021-11-19 20:02:04 +05:30
Andrea Maria Piana
b4c4cf6241
Revert "Correctly process confirmations"
This reverts commit 1b9bc4450c8a6382c4ec9243cc800d70eb3c7fdd.
2021-11-18 17:19:41 +00:00
Roman Volosovskyi
0be1b44642
fix mistake in sql query 2021-11-18 14:35:24 +02:00
Pascal Precht
1ffcf23f9b Ensure owner is removed from community when leaving community
Prior to this commit, when a community owner leaves her community,
status-go would just set the `joined` flag to `false` without updating the
members list. This results in wrong data as the number of members doesn't
match the reality.

This commit removes the owner of the community from the members list
when she's leaving the community.
2021-11-17 11:50:04 +01:00
Volodymyr Kozieiev
1b9bc4450c Correctly process confirmations 2021-11-17 09:28:09 +00:00
Pascal Precht
df30c06163 feat: add API to mark activity center messages as unread 2021-11-16 12:14:32 +01:00
Andrea Maria Piana
6724cf4c75 Block contact endpoint 2021-11-15 18:53:35 +00:00
Andrea Maria Piana
7fc812b693 Save profile chat 2021-11-15 18:53:35 +00:00
Andrea Maria Piana
54b3689814 Allow setting ens name 2021-11-15 18:53:35 +00:00
Andrea Maria Piana
ca6246d5f2 Set last backup 2021-11-15 18:53:35 +00:00
Andrea Maria Piana
be1a261d9b Check for verified records when creating a contact 2021-11-15 18:53:35 +00:00
Andrea Maria Piana
1cc7546e67 Create contact if not in contacts when setting nickname 2021-11-15 18:53:35 +00:00
Andrea Maria Piana
f04e5c741c unblock contact endpoint 2021-11-15 18:53:35 +00:00
Andrea Maria Piana
a7b0c6c933 Backup removed & added by them contacts 2021-11-15 18:53:35 +00:00
Andrea Maria Piana
301325a22e Add backing up of contacts
We periodically check whether we should backup contacts through waku.

Currently it's not tied to any event, it will only schedule a backup on
a tick, or through the provided API endpoint.
2021-11-15 18:53:35 +00:00
Andrea Maria Piana
7f4631b829 Add indexes for encryption 2021-11-15 10:17:25 +00:00
Roman Volosovskyi
53bbfb3f08
Allow sending messages offline 2021-11-11 19:12:31 +02:00
Samuel Hawksby-Robinson
87d7c48e2a
Bug fix old requests to join prematurely stop sync community handling (#2421) 2021-11-11 16:37:04 +00:00
Richard Ramos
38cc695753
waku2: log envelope hash and ids for all messages (#2427) 2021-11-11 12:13:55 -04:00
Anthony Laibe
c95c29bba5 feat: Push messages to telemetry server when receiving messages 2021-11-10 09:34:14 +01:00
Richard Ramos
7440c184c0
feat: add batch information and request ID in history requests (#2397) 2021-11-09 16:16:19 -05:00
saledjenic
dbac362bc7
Added api points for fetching message details and message reactions (#2423)
by message id
2021-11-05 09:48:20 -04:00
Richard Ramos
4602982c77
waku2: enable message confirmations (#2416) 2021-11-02 14:27:37 -04:00
Roman Volosovskyi
4a0ad1cf69
[pairing] Sync read messages 2021-11-02 10:02:27 +02:00
Andrea Maria Piana
2d13fa1e25 Add logging of message-id 2021-11-01 11:53:08 +00:00
Parvesh Monu
9693d59e61
Online Status Indicator (#2408) 2021-10-28 20:51:28 +05:30
Parvesh Monu
c20e8ebdef
Store Highlight field for identify new chats (#2384) 2021-10-21 22:34:56 +05:30
Andrea Maria Piana
48b466674b Replay skipped migration 2021-10-20 18:41:00 +01:00
Andrea Maria Piana
c9b66d18da Send picture in private chats 2021-10-20 18:41:00 +01:00
andrey
c7e758eeab [#12717] No preview for transaction messages in 1-1 chat 2021-10-20 15:45:07 +02:00
Andrea Maria Piana
23308d7e8c Allow profile pictures from contacts 2021-10-12 16:39:29 +01:00
Andrea Maria Piana
75aebd94ab Republish image on change of visibility settings 2021-10-08 14:36:30 +01:00
Andrea Maria Piana
4e33e46795 Fix race condition with PNs
Sometimes the message scheduled & message sent notifications are
received out of order.
Now we use a single channel for both so order is maintained.
This was causing the tests to be flaky and it might have happened in
production as well.
2021-10-07 12:47:40 +01:00
Brian Sztamfater
4d3c04e41c
Modify CanonicalImage function to return large or thumb image if available (#2300) 2021-10-07 01:42:27 -03:00
Andrea Maria Piana
62b9d8062e Discard installations with no metadata in tests
We need to discard installations with no metadata, as some might be sent
before, so we need to check in the loop that the one we care about is
received.
2021-10-06 20:43:36 +01:00
Roman Volosovskyi
e77371d7d2
[pairing] Do not mark contact as added on unblocking 2021-10-06 14:48:28 +03:00
Roman Volosovskyi
4de912baba [pairing] Sync chat removing 2021-10-06 12:38:57 +01:00
Andrea Maria Piana
c4aee37007 Fix flaky test 2021-10-06 11:39:42 +01:00
Andrea Maria Piana
be0b94d051 Revert "temporary comment out join community test"
This reverts commit 7701368b142ad073f76d678095114b1388cce4b3.
2021-10-06 11:39:42 +01:00
andrey
7701368b14 temporary comment out join community test 2021-10-06 11:39:29 +02:00