Commit Graph

90 Commits

Author SHA1 Message Date
Jonathan Rainville d7e7c5aa94 refactor: add network file to handle adding and changing network
(cherry picked from commit 84ea8bf104)
2021-12-13 15:46:09 -05:00
Richard Ramos f0c1ad5087 fix: load messages from mailserver after rejoining a chat
- bump status-go
- clear cursor tables
- remove filters after deactivating a chat
- channel history is already removed in status-go
2021-12-09 22:00:07 +00:00
Anthony Laibe a1b7bcfbac chore: bump status-go 2021-12-07 15:30:28 +01:00
Richard Ramos d762d5e021 feat: add syncedFrom and syncedTo chat attributes 2021-12-03 18:18:22 +00:00
Alexandra Betouni c858eed50f
refactor(timeline): Removed all timeline related code (#122)
This feature is deprecated and shall be removed

Relates to #4064
2021-12-03 19:55:34 +02:00
Jonathan Rainville 6d0e5ccf62
refactor(contact): remove saveContact and rename to addContact (#118) 2021-12-01 13:04:53 -05:00
Anthony Laibe 158e83e78a chore: bump status-go 2021-12-01 16:26:36 +01:00
Anthony Laibe cd5412823a feat: Add settings for auto message 2021-11-29 14:24:54 +01:00
Anthony Laibe c7a7bdc0df fix: send sticker mark as sent 2021-11-26 15:31:42 +01:00
Richard Ramos 70c7e0a704 chore: bump status-go 2021-11-25 10:45:25 -04:00
Jonathan Rainville f13364388b
chore: update status-go to remove tenor (#113) 2021-11-25 10:51:22 +01:00
r4bbit.eth 4ff2b6857c
fix: introduce missing contact related RPC APIs (#110)
There was a breaking change in status-go that has removed the
`saveContact` API which `status-lib` has used in various places to perform
changes on contact data.

There are now more dedicated APIs for contact related actions,
such as: `AddContact`, `RemoveContact`, `BlockContact` etc.

This commit introduces APIs for these RPC calls and adjusts other
APIs that relied on `saveContact` before.
2021-11-23 14:15:06 +01:00
Richard Ramos 6c7deb85a0 refactor!: resolve ens 2021-11-19 09:34:52 -04:00
Richard Ramos fb58ecc10a chore: bump status-go 2021-11-18 15:00:51 -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
Anthony Laibe 3348389ab7 chore: bump status go 2021-11-15 15:24:11 +01:00
Richard Ramos adb1933f2e
chore: log message IDs (#106) 2021-11-15 09:50:57 -04:00
Anthony Laibe cd74fa99fb
fix: collect event before executing them (#99)
This is in order to avoid missing events due
to mutating the table while iterating on it
2021-11-10 14:48:08 -05: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
Anthony Laibe 208916f76a fix: remove deprecated test 2021-11-10 10:23:58 +01: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
Andrea Franz 72a32ee725 update nim-keycard-go 2021-10-08 10:28:57 +02:00
Andrea Franz edb65458f6 update nim-keycard-go 2021-10-08 10:28:57 +02:00
Richard Ramos c3b1912eba
nim-keycard-go: m1 support (#84) 2021-10-06 09:24:13 -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
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