Commit Graph

70 Commits

Author SHA1 Message Date
Andrea Franz f33649c885
add address to exported key 2021-10-08 11:09:45 +02:00
Andrea Franz 564af902e6
raise KeycardExportKeyException 2021-10-08 10:50:36 +02:00
Andrea Franz 54bb68ad23
update nim-keycard-go 2021-10-07 15:15:03 +02:00
Andrea Franz c29fb3c989
update nim-keycard-go 2021-10-07 10:34:09 +02:00
Andrea Franz f6fa69e9dc
parse remainingAttempts from wrong pin error 2021-10-07 10:33:56 +02:00
Andrea Franz 8d449ac5df
keycardExportKey returns priv/pub key 2021-10-06 10:59:16 +02:00
Andrea Franz 387fab7296
update nim-keycard-go dep 2021-10-06 10:54:58 +02:00
Andrea Franz 4bafb4bb6b
add keycard pair and generateKey methods 2021-10-06 10:07:57 +02:00
Andrea Franz 35ba848127
update nim-keycard-go 2021-10-06 10:07:48 +02:00
Andrea Franz 13463c8106
add keycardGetStatusApplication 2021-10-06 10:03:40 +02: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
Iuri Matias cf2a43f9b3
bump status-go (#70) 2021-09-29 12:43:04 -04:00
Richard Ramos 28112c31dc
bump status-go (#50) 2021-09-29 12:35:13 -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
Michael Bradley da366ae1cf
chore: add GitHub Actions workflow to run tests (#66)
Closes #65.

There's still some work to be done. With the changes in this PR, this project's
Makefile is a bit of a hybrid between the approaches in the Makefiles of
status-desktop and nim-status. In the future, as this project's tests expand in
scope, the logic in the Makefile, `nim_status_lib.nimble`, and/or
`.github/workflows/test.yml` may need to be revised.
2021-09-29 08:52:30 -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
RichΛrd aa48e0a8f4
fix: do not execute build on ctest if not needed (#20) 2021-09-14 17:46:13 -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