Andrea Maria Piana
84e91d85d2
Consolidate test methods
2020-12-22 15:43:48 +01:00
Andrea Maria Piana
4185420897
Send image on update
...
This commit changes the behavior so that when the image is updated it
will be published on the contact code topic.
If that does not happen because we are offline, it will be scheduled for
the next time we are online.
2020-12-22 15:43:48 +01:00
Roman Volosovskyi
bf703254ba
[wallet] Dispatch event on tx history fetching failure
2020-12-21 15:45:10 +02:00
Eric Mastro
149877a939
feat: allow getPreviewLinkData for all whitelisted links ( #2094 )
...
* feat: allow getPreviewLinkData for all links
Only YouTube links were supported in `getPreviewLinkData` previously.
Now, any whitelisted links can have their data retreived using this function, returning the true content type (by examining the header bytes of the content).
feat: add tenor.com and giphy.com to whitelisted urls list
* Fix json format
* bump VERSION
* Lint urls.go
Co-authored-by: Andrea Maria Piana <andrea.maria.piana@gmail.com>
2020-12-18 19:33:24 +11:00
Andrea Maria Piana
cdca42b90f
Dont lock on envelope sent
2020-12-17 14:10:00 +01:00
Andrea Maria Piana
58f2dac673
Remove image log
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
b3187abce1
Fix for int64 pointer bug
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
ba559c5291
Handled errors from defer rows.Close() and tx.Commit()
2020-12-17 14:10:00 +01:00
Andrea Maria Piana
523d4a7156
bump version to 0.65.0
2020-12-17 14:10:00 +01:00
Andrea Maria Piana
c78e084eb9
Fix tests and lint
2020-12-17 14:10:00 +01:00
Andrea Maria Piana
2695b70159
use own fork of resize
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
0db7a23d5f
Added chatContext type and set chatContext consts
2020-12-17 14:10:00 +01:00
Andrea Maria Piana
0a93513531
Add images field to HasCustomFields
2020-12-17 14:10:00 +01:00
Andrea Maria Piana
ac37e4f412
Add multiaccount to push notification tests
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
e0eb96a992
Fix failing tests due to account not present in test env
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
ca80140c1a
Resolved broken tests
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
829108c96f
Changes to tests to include account where required for account injection
2020-12-17 14:10:00 +01:00
Andrea Maria Piana
31a885ced8
remove photo path in favor of images in contact
2020-12-17 14:10:00 +01:00
Andrea Maria Piana
1adfa38611
Check hash in shouldPublish
2020-12-17 14:10:00 +01:00
Andrea Maria Piana
b7a6bbf1e7
dont send if empty images
2020-12-17 14:10:00 +01:00
Andrea Maria Piana
e8ffee3892
avoid division by 0
2020-12-17 14:10:00 +01:00
Andrea Maria Piana
618524d8cb
debug
2020-12-17 14:10:00 +01:00
Andrea Maria Piana
69de77c36a
return error on nil image
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
8663d636d3
Reversed commented out error
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
30c2b64cf5
Test condition MUST REVERT
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
16fecf5520
Passing Master info to Messenger
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
0b6061b444
Added ChatIdentity to HandleApplication()
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
279c395f23
Added heavy logging to the chat identity builder
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
fe9e04ca13
Updating debug lvl to info
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
481c9c1287
Added debug to HandleChatIdentity
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
30dc634951
Improvement to getting multiaccounts with images
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
d07ec1a98f
Fix missing parameter on AccountSave
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
9f525d32c4
Change Account.photoPath to Account.Identicon
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
a087535274
Update to migration to handle change of photoPath to identicon
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
094ea2ce85
Added Identity Images to multi-accounts GetAccounts()
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
79f2b0bcc7
Address consistent json field case convention - use camelCase
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
87f161da08
Moved identity image endpoints to multi-accounts api
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
279697128d
Update API endpoint to return objects
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
0df825164c
Placating the linting old ones
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
5d0906b9d8
Resolving fix for receiving chat identities with empty images map
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
43b8e94b2b
Resolved an additional fail test related to multiaccounts in the Messenger
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
0c1ebaa547
Resolving goimports lint ... :/
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
5aa8492315
Fix failing tests
2020-12-17 14:10:00 +01:00
Andrea Maria Piana
32907b59b2
Fix linting
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
1b527906ee
Resolved hopefully the last of the lint
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
7b2d96de05
Resolved yet more lint
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
b84fc9b938
Resolved more linting
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
b7a7035894
Resolved further linting issues
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
a77a40fdf4
Resolved linting issues
2020-12-17 14:10:00 +01:00
Samuel Hawksby-Robinson
190b1a70f9
Removed usages of multiaccounts.Account.PhotoPath
2020-12-17 14:10:00 +01:00