Commit Graph

86 Commits

Author SHA1 Message Date
Sale Djenic 45eade2218 refactor: mark all and mark certain messages as read methods added 2022-02-01 11:12:54 +01:00
Sale Djenic a07dc86b8a refactor: search for messages which match a patter
Two convenient methods added to search for the messages which match
a pattern. Search is applied on the chat with passed id or across communities
and/or chats with passed ids.
2022-02-01 11:12:54 +01:00
Richard Ramos cdaea151d9 chore: add wakuv2prod fleet config 2022-01-25 13:46:58 -04:00
Anthony Laibe 7413bbde00 feat: move create accounts to status-go 2022-01-24 10:35:31 +01:00
Richard Ramos 1d83b436e9 chore: change dns discovery url 2022-01-18 14:15:31 -04:00
Anthony Laibe 0928e15d02 feat: use register ens api 2022-01-14 12:35:34 +01:00
Anthony Laibe 50993fda1c feat: new token API to fetch balance 2022-01-14 10:34:28 +01:00
Richard Ramos d51b70c703 refactor: mailserver cycle 2022-01-12 16:03:24 +00:00
Anthony Laibe b507813587 feat: use ens API 2022-01-03 10:22:03 +01:00
Richard Ramos f73e990907
fix: web3provider 2021-12-22 11:34:31 -04:00
Anthony Laibe e13f904121 feat: use node config 2021-12-21 16:30:18 +01:00
Anthony Laibe 926faf234e feat: new backend for ens 2021-12-21 16:19:58 +01:00
Richard Ramos 37d1ca96ea add Web3Provider to config 2021-12-21 14:29:28 +00:00
Richard Ramos 4e30c510dd feat: use loginWithConfig instead of login 2021-12-21 14:29:28 +00:00
Richard Ramos caa44cf5b9 refactor: move provider logic to status-go 2021-12-21 14:29:28 +00: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
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 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
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
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