Commit Graph

65 Commits

Author SHA1 Message Date
Alexandra Betouni 683e96f276 fix(desktop/contacts) Contacts list not shown
Contacts updates were somehow lost in the base_02
branch, brought back related changes
2021-11-24 02:50:15 +02:00
Richard Ramos 6c7deb85a0 refactor!: resolve ens 2021-11-19 09:34:52 -04:00
Boris Melnik b7872bc9cf
fix: check if contract exists before getting address (#105)
Closes: #3963
2021-11-18 18:43:35 +03:00
Khushboo Mehta 3f242713e9 fix: Fix for request transaction shows wrong preview
I have added a check so that for a "request transaction" type , the "from" and publicKey are compared to find value of isCurrentUser.
In case of the send transaction will check for isCurrentUser via the from jsonMsg["commandParameters"]["from"] instead.

fixes #4048
2021-11-17 15:48:47 +01:00
r4bbit.eth ffe6d5e0f0
feat(chat): add bindings to `markActivityCenterNotificationsUnread` API (#53)
This is needed so clients can implement the functionality of marking notifications
as unread.
2021-11-16 12:37:56 +01:00
Richard Ramos adb1933f2e
chore: log message IDs (#106) 2021-11-15 09:50:57 -04:00
Anthony Laibe 0a8674c5cd
fix: create one to one chat (#98)
Even if the chat exists, we need to update it and mark it as
active in case it already exists and is not active
2021-11-10 14:47:41 -05:00
Anthony Laibe 5417274a3b
feat: enable telemetry settings (#100) 2021-11-10 10:07:48 -05:00
Richard Ramos 1aba03aed6
feat: adding HistoryRequestBatchProcessed signal and batch attributes (#78)
* feat: adding HistoryRequestBatchProcessed signal and batch attributes

* bump status-go

Co-authored-by: Iuri Matias <iuri.matias@gmail.com>
2021-11-09 16:19:29 -05:00
Richard Ramos 7095b80cb6
feat: use DNS Discovery in the configuration (#101) 2021-11-09 15:27:02 -04:00
Richard Ramos ce2cb1a453
feat: wakuv2 rendezvous (#73)
* feat: wakuv2 rendezvous

* bump status-go

Co-authored-by: Iuri Matias <iuri.matias@gmail.com>
2021-11-09 09:29:24 -05:00
saledjenic b9e1c230ca
Base branch for refactoring (#88)
* added new backend for refactoring purpose, contacts added

* initial chat class added

* initial community class added

* initial accounts class added

* login method added

* Refactor/wallet 1 (#89)

* refactor: add custom token new backend

* refactor: add transactions new backend

* refactor: add collectible new backend

* refactor: add accounts backend

* refactor: add settings backend

* refactor: Add eth call to fetch balance

* refactor: add call to get eth block

* refactor: remove bookmarks (#90)

* refactor: dapp permissions (#92)

* Refactor/wallet part 2 (#91)

* refactor: add save account

* refactor: add account generation

* refactor: save settings

* refactor: add update account in new be

* add getTransfersByAddress (#93)

Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>

* initial messages class added

* fix: transaction request loading contracts (#96)

* add/remove reactions added

* - pin/unpin message added
- fetch message's details by message id added
- fetch reactions for message with id added

* bump status-go

Co-authored-by: Anthony Laibe <anthony@laibe.cc>
Co-authored-by: Richard Ramos <info@richardramos.me>
Co-authored-by: Jonathan Rainville <rainville.jonathan@gmail.com>
Co-authored-by: Iuri Matias <iuri.matias@gmail.com>
2021-11-05 09:55:48 -04:00
Pascal Precht e3389d6bfe
fix(status/chat): extend editCommunityChannel API to accept `position` property (#52)
This was missing and causes chat item positions in communities to be reset
to 0.
2021-10-05 16:33:35 -04:00
Richard Ramos 964e52c742
refactor: contacts-perfomance (#74)
* refactor: contacts-perfomance

* bump status-go
2021-10-05 16:10:45 -04:00
Andrea Franz 45887b1724
Keycard initial integration (#63)
* add nim-keycard-go to makefile

* fix keycard-go build

* add keycard.nim

* remove test make task

* remove debug line from makefile

* fix import keycard_go

* add keycard-go to .PHONY

* add keycard start/stop/select methods

* use https url for submodule

* add KeycardApplication info and return it from select

* update nim-keycard-go version

* fix select return type

* actually return the result

* update nim-keycard-go

* add keycard methods to backend

* add base/mock keycard backends

* imports

* export keycard methods in backend

* update start/stop keycard implementation

* add KeycardStarted signal

* fix keycard started signal

* rename to KeycardConnected signal

* fix keycard signal renamed

* add keycardgo in makefile tasks

* add back build/.gitignore

* fix .gitignore

* fix .gitignore

* Makefile: export keycard vars

* add keycard lib to nimble file

* use spaces instead of tabs in non-recipe sections of Makefile

* use install_name_tool on libkeycard on macOS

* in GHA ubuntu environment install libpcsclite-dev with apt at start of workflow

* add Keycard exceptions

* remove useless test

* remove useless return

* move keycard types to /types

* reraise exception from status/keycard.nim

* remove unused import

* add keycard commands: opensecure channel, pair, verify pin, export key

* fix last keycard commands

* add exportKey params

* update nim-keycard-go

Co-authored-by: Michele Balistreri <michele@bitgamma.com>
Co-authored-by: Michael Bradley, Jr <michaelsbradleyjr@gmail.com>
2021-10-04 17:21:07 -04:00
Anthony Laibe c7722cda00
refactor: Group profile function and eth function together (#67)
* refactor: Group profile function and eth function together

* refactor: group eth backend

* refactor: Move various eth call to eth backend

* refactor: move accounts call to account backend

* refactor: permission
2021-10-01 12:53:38 -04:00
Iuri Matias 2bb5df3c5f
feat: wakuv2 connectivity and peer management (#17)
* wakuv2 connectivity and peer management

* feat: wakuv2 light client (#15)

Co-authored-by: Richard Ramos <info@richardramos.me>
2021-09-30 14:56:22 -04:00
Anthony Laibe e29ba9c9fa
refactor: ensure the settings are being accessed via backend (#68) 2021-09-29 15:12:49 -04:00
Anthony Laibe 62a7c02153
Fix: loading backend from master desktop (#69) 2021-09-29 11:09:38 -04:00
Michael Bradley b2ecbda9e7
refactor: remove nimbaser and nim-base32 dependencies, use stew modules in their place (#58)
Closes issue #56.
2021-09-29 09:42:34 -04:00
Anthony Laibe b8c729b804
fix: delete message (#51)
https://github.com/status-im/status-desktop/issues/3632
2021-09-28 17:10:54 -04:00
Andrei Smirnov 4a5094644f
feat: sending audio messages (#55)
Co-authored-by: Andrei Smirnov <andrei.smirnov@toptal.com>
2021-09-28 17:10:22 -04:00
Iuri Matias 5285cf7d8c
abstract backend; add mock backend and testing (#57)
abstract backend; add mock backend and testing

move bookmarks to backend wrapper

move bookmarks to backend wrapper

move bookmarks to backend wrapper

working version

cleanup

add mock backend

add nimble task & test folder

add evn.sh

make test run; implement bookmark method in the mock

add nim unit test

removing duplicated statement that was causing tests to run twice

re-enable other initilizations in the status object; support specifying backend in the constructor

update bookmark test

update bookmark test

update nimble and makefile

update nimble and makefile

update bookmarks test

remove old browser file
2021-09-28 17:00:43 -04:00
Anthony Laibe bcc242a3cf
refactor: keep naming consistent (#62)
Suggestion is to keep same things always named the same. Happy to change
them all to something you prefer, BUT we should keep them consistent
2021-09-28 15:42:02 -04:00
Anthony Laibe 06a6408269
refactor: gif backend return object (#61) 2021-09-28 15:21:57 -04:00
Anthony Laibe 3395d34d34
refactor: browser use object (#60) 2021-09-28 15:21:50 -04:00
Anthony Laibe 374a998fb1
refactor: contact store return object (#59) 2021-09-28 15:21:41 -04:00
Anthony Laibe fe7e74459e
feat: Add toggle network (#49) 2021-09-28 15:18:41 -04:00
Richard Ramos c07e04e976
feat: mailserver request signals (#46) 2021-09-28 14:41:40 -04:00
Anthony Laibe 38a405b1c1
fix: emit wallet2 event (#47)
fixes #3659

Wallet2 needs its own event otherwise they wallet1/2 mixes
and as not everything is implemented in wallet2, it crashes
In this particular case, the account is added into wallet1 but trigger
an event intercepted by wallet2, wallet2 doesn't have the new account
and crash
2021-09-23 13:25:33 -04:00
saledjenic cdb06facdd
fix(@desktop/chat): system tags updated for add/remove contact (#44)
Fixes: #3579
2021-09-22 15:08:50 -04:00
Anthony Laibe 4c1b47dae1
feat: Add chain ID to contract (#29) 2021-09-22 13:49:45 -04:00
saledjenic a9b06fde83
fix(@desktop/chat): saveContact method extended with `large` image (#45)
Fixes: #3420
2021-09-21 14:24:32 -04:00
Eric Mastro 9c40da50de
feat(chat): support hiding of messages for blocked contacts (#40)
Adds a `hide` field to the `Message` object to support hiding of messages for blocked contacts.
2021-09-21 09:51:46 -04:00
saledjenic 4f7e899953
chore(@desktop/chat): Chat type's `toJsonNode` proc extended (#42)
`communityId` field added to the Chat `toJsonNode` procedure
2021-09-20 17:22:55 -04:00
Anthony Laibe ea02568fbc
feat(@desktop/wallet2): Enable multi chain for collectible (#5) 2021-09-20 12:24:36 -04:00
Anthony Laibe c716a89544
fix: Encode tenor search query (#43) 2021-09-20 12:21:30 -04:00
Anthony Laibe 9e4c12f408
feat: gif retry query (#33)
Retry up to 3 times the query to tenor
2021-09-20 10:07:22 -04:00
Anthony Laibe 23db2d1216
fix: Keep only one place to store contacts and index (#37) 2021-09-20 09:00:10 -04:00
RichΛrd 3655396b57
chore: adding more logs for identifying mailserver interactions (#38) 2021-09-17 12:58:33 -04:00
RichΛrd f42c249395
fix: set missing signalType attribute (#36) 2021-09-17 12:55:17 -04:00
saledjenic 58f10babba
fix(@desktop/chat): replies are not working in communities (#34)
This check is here, because of issue#3490, that was happening due to different
messages' order (received from status go). We were emitting always a message on
index 0, what in some cases was not the reply message (doesn't contain "responseTo"
value). This should be handled in status-go but since that part is used by mobile
also and it is working for them, change is applied here.

Fixes: #3490
2021-09-17 10:36:02 -04:00
Anthony Laibe 87dd134eac
fix: network serialization (#28) 2021-09-16 17:30:29 -04:00
Khushboo-dev-cpp 12a8b59780
feat: Added apis to read collection and asset traits from opensea (#30) 2021-09-16 15:23:17 -04:00
RichΛrd 99b85d2063
feat: trigger a signal for chronicles logs (#31) 2021-09-15 15:45:17 -04:00
Iuri Matias 077965bf81
rename libstatus to statusgo_backend (#27) 2021-09-11 17:50:36 -04:00
Iuri Matias 7e4875a63f
refactor tokens; move logic from libstatus back to status lib (#25)
refactor tokens; move logic from libstatus back to status lib

fix references
2021-09-11 08:27:07 -04:00
Iuri Matias 132df2b5b4
Refactor/libstatus stickers (#24)
* move decodeContentHash from libstatus to utils

* refactor stickers; move logic from libstatus back to status-lib; abstract eth_call
2021-09-11 08:20:32 -04:00
Iuri Matias b3968bfc67
move logic related methods out of libstatus chat (#23)
* refactor: move eth logic out of libstatus wrapper

* move signing phrases out of status go wrapper (libstatus)

* move logic related methods out of libstatus

move logic related methods out of libstatus

move logic related methods out of libstatus

fix sorting
2021-09-11 08:10:51 -04:00
Iuri Matias fd0dfb4a7b
move signing phrases out of status go wrapper (libstatus) (#22)
* refactor: move eth logic out of libstatus wrapper

* move signing phrases out of status go wrapper (libstatus)
2021-09-11 08:10:21 -04:00