Andrea Maria Piana
2bf1991190
Use reflect.Value as ParsedMessage type and handle type case
2020-07-30 20:20:36 +02:00
Samuel Hawksby-Robinson
de79f2ced0
Fix bug, logger var name collided with package name
2020-07-30 20:20:35 +02:00
Samuel Hawksby-Robinson
acfcac6748
Implemented encodeChatEntity() into SendChatMessage and SendEmojiReaction
2020-07-30 20:20:34 +02:00
Samuel Hawksby-Robinson
b70c362f2b
Bug fix on SendChatMessage() related to membership update
2020-07-30 20:20:33 +02:00
Samuel Hawksby-Robinson
45c1e5ba1c
Updated MembershipUpdateMessage to use interfaced ChatEntity
...
Replaces ChatMessage only field
2020-07-30 20:20:31 +02:00
Samuel Hawksby-Robinson
3e857203ac
Created ChatEntity encoding per chat type
2020-07-30 20:20:29 +02:00
Samuel Hawksby-Robinson
ceed618102
Updated all MessageType references
2020-07-30 20:20:27 +02:00
Samuel Hawksby-Robinson
9a775619cd
Added basic EmojiReaction handler
2020-07-30 20:20:24 +02:00
Samuel Hawksby-Robinson
eb562122b6
Added general protobuf umarshaller function
2020-07-30 20:20:23 +02:00
Samuel Hawksby-Robinson
5ee3a0a1b5
Added check emoji reaction retraction sender against current identity
2020-07-30 20:20:21 +02:00
Samuel Hawksby-Robinson
0a26d5a37d
Added emoji reaction retraction persistence
2020-07-30 20:20:20 +02:00
Samuel Hawksby-Robinson
106ccfcf0f
Added main functionality for SendEmojiReactionRetraction()
2020-07-30 20:20:19 +02:00
Samuel Hawksby-Robinson
fdc180039f
Added emoji_reaction persistence
2020-07-30 20:20:17 +02:00
Samuel Hawksby-Robinson
4899b43a48
delinted
2020-07-30 20:20:14 +02:00
Samuel Hawksby-Robinson
0fdb2de6d1
Added return to prevent compile fail
2020-07-30 20:20:13 +02:00
Samuel Hawksby-Robinson
ae1e6db883
Removed original iteration
2020-07-30 20:20:11 +02:00
Samuel Hawksby-Robinson
2d9db29f31
Added Messenger.SendEmojiReaction()
...
stubbed SendEmojiReactionRetraction() added new protocol/EmojiReaction{}
2020-07-30 20:20:10 +02:00
Andrea Maria Piana
0fb5ed2207
dont use a pointer for public methods
2020-07-29 12:51:48 +02:00
Andrea Maria Piana
45815e57d7
Add feature flag for push notifications and bump version
2020-07-27 17:20:16 +02:00
Andrea Maria Piana
4ae2c59e9b
Update protocol/message.go
...
Co-authored-by: Samuel Hawksby-Robinson <samuel@samyoul.com>
2020-07-27 17:15:16 +02:00
Andrea Maria Piana
bdb2708a39
log
2020-07-27 17:15:15 +02:00
Andrea Maria Piana
8716a8ce45
add audio duration
2020-07-27 17:15:10 +02:00
Andrea Maria Piana
e58ba1e9c8
Add audio messages
...
Why make this change?
We are adding support of audio recorded files, similarly to how we did
with images
What has changed?
- Added protobuf definition, only AAC supported
- Added migrations to store files
- Fixed an issue with nil pointer when transaction would fail to be
created, causing the application to crash
2020-07-27 17:14:50 +02:00
Andrea Maria Piana
4b8739a8bc
Polish up and address review feedback
2020-07-27 08:51:28 +02:00
Andrea Maria Piana
63af6aa79b
Use ephemeral keys for sending messsages
2020-07-27 08:51:27 +02:00
Andrea Maria Piana
149fc5e3eb
Test token invalidation
2020-07-27 08:51:24 +02:00
Andrea Maria Piana
58817aad5b
Use separate flag for allowonlyfromcontacst
2020-07-27 08:51:20 +02:00
Andrea Maria Piana
bec8fbb855
Handle allowedContact lists
2020-07-27 08:51:19 +02:00
Andrea Maria Piana
12a3c5a31a
Add version to notification info
2020-07-27 08:51:18 +02:00
Andrea Maria Piana
026e16533f
Register asynchronously
2020-07-27 08:51:17 +02:00
Andrea Maria Piana
7a54d9b1c9
add unregister
2020-07-27 08:51:16 +02:00
Andrea Maria Piana
7bad800cb8
Add endpoints to enable/disable pns
2020-07-27 08:51:15 +02:00
Andrea Maria Piana
be1800f2ec
drive settings from client
2020-07-27 08:51:14 +02:00
Andrea Maria Piana
e89e36b081
Use resend automatically for datasync
2020-07-27 08:51:10 +02:00
Andrea Maria Piana
c88df6c1c7
Handle messages sent to all devices
2020-07-27 08:51:09 +02:00
Andrea Maria Piana
20fb8607cb
keep track of queries & actually send pns, hurray
2020-07-27 08:51:05 +02:00
Andrea Maria Piana
1c379984cb
Handle registration with server
2020-07-27 08:51:04 +02:00
Andrea Maria Piana
7e16f940de
Handle query response
2020-07-27 08:51:03 +02:00
Andrea Maria Piana
7f6c8db6db
Handle push notification registration e2e
2020-07-27 08:51:02 +02:00
Andrea Maria Piana
d985af4a7e
Implement server persistence for client & basic tests
2020-07-27 08:51:01 +02:00
Andrea Maria Piana
3afde67022
Move message processor to common and allow subscribing to sent messages
2020-07-27 08:51:00 +02:00
Andrea Maria Piana
9da64ef251
add basic config
2020-07-27 08:50:59 +02:00
Andrea Maria Piana
4ded7bf74c
Add skeleton for server and separate namespace for client
2020-07-27 08:50:48 +02:00
Andrea Maria Piana
92b699b59d
Add push notification register message
2020-07-27 08:50:47 +02:00
Andrea Maria Piana
c4fa9825a9
Mute chat
2020-07-27 08:50:46 +02:00
Andrea Maria Piana
4720224ba2
expose getContactByID method
2020-06-17 12:24:58 +02:00
Andrea Maria Piana
2d17c40631
Refactor *Raw methods in message_processor.go
...
We used *Raw method in message_processor as before we had non-Raw method
during the transition from status-react to status-go. This naming is not
meaningful anymore, so I have changed it.
2020-06-01 11:30:04 +02:00
Andrea Maria Piana
f5ab58b87f
Add support for images
...
This commit adds support for images in protobuf messages.
The client can specify a path which will be used to load the image
and set the corresponding fields.
This makes the assumption that the RCP server runs on the same machine
as the client and they have access to the same files. This holds
currently for both status-react and status-console-client, we could
revisit and adds an upload if that changes in the future.
2020-06-01 11:30:04 +02:00
Andrea Maria Piana
ee0a83fdc4
Load identicon & alias in chat.
...
Why make the changes?
Mainly performance, those fields are almost always present in the
database but they are re-calculated on load by the client as it does not
have necessarily access to it.
What has changed?
- Remove `_legacy` persistence namespaces as it's a vestige of the
initial move frmo status-react to status-go
- Pulling chats is now a join with contacts to add contact & alias
2020-05-25 14:00:04 +02:00
Andrea Maria Piana
7bbe9561de
Set chat active on being re-invited
...
If the user deletes/leaves a group chat, the chat is set as not active.
This means that if we are re-invited to the chat it won't be shown to
the user.
This commit changes this behavior so that if we are re-invited to the
chat it is set as active again.
2020-04-23 11:04:50 +02:00