Samuel Hawksby-Robinson
7ea153bae1
Added Identity Image Database delete
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
daa5ca1dbd
Added GetIdentityImage by image name
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
aad761b24b
Added IdentityImage Database store and get tests
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
df55822e29
Added StoreIdentityImages to Database
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
01657b4665
Added IdentityImage JSON marshalling tests
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
0a5ce9d489
make generate for changes to identity_images sql
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
7beebaaf92
Added images/database functionality
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
1b59d088d8
Integrated GetMimeType()
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
d8ee7076a6
Added primary key to identity_images table migration
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
a452972e79
Fix to identity_images migration sql
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
5a4e23a0ea
Fix protobuf ImageType change
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
e8d883edb6
bindata for profile_image migrations
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
6eb4484eef
bindata for profile_image migrations
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
c8450586fd
Moved profile image handling into geth_backend
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
c176a7fca0
Added profile image db migrations
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
2f92c7d076
Added profile image db migrations
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
38043c2cb9
import fix
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
6bab64cc9b
Fix getImageMessageMIME() bug
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
8ec0ec4341
Added TestEncodeToBestSize()
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
3b7fbf94d3
Added SaveProfileImage endpoint
...
Also added EncodeToBestSize func
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
9bc240fc71
Improved Resize() and added tests
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
a6df8adeba
Renamed Decoding and Encoding funcs
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
0d6e6699ec
Split out encode code from decode, same for tests
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
36105aaac0
Split out encode code from decode, same for tests
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
e635869dd5
Renamed file.go to decode.go
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
aec4e43470
Tidy up of unneeded code
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
bb1e232ffe
Improved images.Crop() and implemented testing
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
8ebfe9b1c9
Implemented improved image rendering and added test
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
b7cd88744c
Implemented better images.Get() and added better tests
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
7f8d3674d4
Removing superfluous image types
...
Additionally updating the protobufs that use ImageType
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
c6accd8ce3
make generate
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
a0ea922017
make vendor
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
f93d09c2b6
make vendor
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
d77f85b7df
Added file decoding
...
reused protocol file type detection
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
f85553b6ca
Added framework for image decoding
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
17f0bac6ae
Added basic code from https://github.com/status-im/image-resizer
...
Made some modifications to suit a general approach, more changes need to be applied
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
d7eac44c77
Updated comment on IdentityImage mapping
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
5043c1d1af
Updated ImageType to handle SVG and AVATAR image types
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
6c4eea2a6b
Moved ImageType enum to enums.proto
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
f1f409c209
Added basic chat identity protobuf
2020-12-17 14:10:00 +01:00
Andrea Maria Piana
50b17308bd
Bump version to 0.64.8
2020-12-15 16:35:47 +01:00
Andrea Maria Piana
f3f6cdcd93
Mark message as seen when hiding
...
When hiding a message, we want to mark it as seen in order to preserve
the right count
2020-12-15 15:47:02 +01:00
Volodymyr Kozieiev
d4518d7f16
resend emoji reaction ( #2088 )
2020-12-15 16:43:41 +02:00
Roman Volosovskyi
d39ca7fea4
[wallet] Fix multiple notifications on a single erc20 transfer
2020-12-11 16:47:38 +02:00
Andrea Maria Piana
d65946e9c0
Use IsOwnAccount instead of Wallet when watching for transactions
...
There was an issue in using the `Wallet` flag when checking accounts to
watch for transactions.
`Wallet` indicates that it's the default wallet, not whether is a wallet
account.
That can only be checked by looking at the type (and the `Wallet` flag).
If the type is `generated`, `key` or `seed` it should be watched for
transactions.
2020-12-07 16:12:50 +01:00
Andrea Maria Piana
0b2bd2863b
Log mailserver error
...
while debugging I noticed we don't log `err` if the query fails.
2020-12-07 15:03:06 +01:00
Andrea Maria Piana
1237cc9ac6
Add logs when rate limited peer
2020-12-04 08:31:06 +01:00
Andrea Maria Piana
14f4c40404
Split Merge into functions
2020-12-03 18:25:53 +01:00
Andrea Maria Piana
156c0de832
Add SendChatMessages endpoints
...
This commit adds an endpoint to batch the sending of messages.
This is useful to simplify client logic when sending a batch of messages
and ensuring the correct order in the message stream.
It currently implements only what's needed, and naively return an error
if any of the messages fail.
2020-12-03 18:25:53 +01:00
Andrea Maria Piana
0304b3fa46
[ Fixes : #2068 ] Pass topics for mailserver
...
We were not actually passing the topics in the request, therefore we
were using bloom filter for query, which resulted in long syncing times
for some users.
2020-11-30 12:03:27 +01:00