833 Commits

Author SHA1 Message Date
Sale Djenic
4f3ca4eb78 login process refactored 2021-11-05 11:02:45 -04:00
Sale Djenic
8974a8db5e selecting among multiple accounts on login added 2021-11-05 11:02:45 -04:00
Sale Djenic
30f11c06d4 onboarding process updated, import account feature handled 2021-11-05 11:02:45 -04:00
Sale Djenic
e9bb9b256e Onboarding creating new account process updated. 2021-11-05 11:02:45 -04:00
Sale Djenic
a945275d3f Registering context property moved from constructor to the load method for each module. 2021-11-05 11:02:45 -04:00
Sale Djenic
cc20c234e0 Community section as an identified module's type is removed since community
section is nothing else but the special kind of chat section module type. The
rest of the code is updated accordingly.
2021-11-05 11:02:45 -04:00
Sale Djenic
05705f219d Module organization change due to Nim limitations.
Parent modules are exposed to submodules using their base class instead of
concepts, since using concepts is not possible to create a second level nested
modules.
2021-11-05 11:02:45 -04:00
Sale Djenic
9f4eeffdea A base structure for new architecture added
Initial structure for MainModule containing ChatSectionModule and
CommunitySectionModule is added, as well as initial structure for
StartupModule containing OnboardingModule and LoginModule.

Order of execution is updated and adapted to the current app state.
Main module gets loaded once a user is successfully logged in.
2021-11-05 11:02:45 -04:00
¨Anthony
a715c6b62e refactor(@desktop/ens): Keep only one ens view
Once refactoring with module this should probably be attached to main
or to something common to all module since it is accessed in low level part
of the app accross multiple section
2021-10-26 08:15:36 -04:00
Pascal Precht
b8ecc3e0bf fix(Communities): preserve channel position after editing
Turns out we've been accidentally resetting the channel's `position`
property to `0` by not sending it over to status-lib's underlying
`editCommunityChat` API.

This fixes it by using a newer version of status-lib which supports
the `position` paramter in `editCommunityChat` and then sending that
value along from the edit channel popup.

Fixes #3672
2021-10-08 13:33:42 +02:00
Michele Balistreri
4aec7db317 add authenticate 2021-10-06 08:32:32 -04:00
Michele Balistreri
3016fd4ec1 make pairing work 2021-10-06 08:32:32 -04:00
Michele Balistreri
101e77cc14 continue flow implementation 2021-10-06 08:32:32 -04:00
Michele Balistreri
5cf58a78e5 implement pairing storage 2021-10-06 08:32:32 -04:00
Michele Balistreri
ce1be698a6 handle signals and card states 2021-10-06 08:32:32 -04:00
Michele Balistreri
a22d936df7 update Jenkinsfile 2021-10-06 08:32:32 -04:00
Michele Balistreri
7d8be3fc40 start implementing keycard onboarding flow 2021-10-06 08:32:32 -04:00
Michele Balistreri
03c0a85aee update Dockerfile, status-lib 2021-10-06 08:32:32 -04:00
Michele Balistreri
0535886e6c use status.keycard 2021-10-06 08:32:32 -04:00
Michele Balistreri
8f9d300312 add keycard-go to makefile 2021-10-06 08:32:32 -04:00
Michele Balistreri
1e4dc0acbf test connection/disconnection events 2021-10-06 08:32:32 -04:00
Michele Balistreri
303e40bdcf card connection prompt 2021-10-06 08:32:32 -04:00
Michele Balistreri
2a027d44d0 add insert card dialog 2021-10-06 08:32:32 -04:00
Michele Balistreri
3d46e62345 draft authentication dialogs 2021-10-06 08:32:32 -04:00
Richard Ramos
0fd3182899 refactor: contacts-perfomance 2021-10-05 16:15:29 -04:00
Anthony Laibe
a189b0d72b refactor: Update permission backend 2021-10-05 16:15:29 -04:00
Anthony Laibe
8fab06494a refactor: Add view with new eth backend 2021-10-05 16:15:29 -04:00
Anthony Laibe
f4e3a1effc refactor: profile types
Also group import together and start local import with ./ so that we
know it is not a lib
2021-10-05 16:15:29 -04:00
Richard Ramos
a5d48a20b3 feat: wakuV2 light client mode 2021-10-05 16:15:29 -04:00
Richard Ramos
f3f0987d43 fix: wakuV2 mailserver cycle 2021-10-05 16:15:29 -04:00
Richard Ramos
eac373600e fix race condition by setting the peers on init 2021-10-05 16:15:29 -04:00
Richard Ramos
4fa2f5c472 feat: connected/disconnected status with wakuV2 2021-10-05 16:15:29 -04:00
Richard Ramos
350472ed03 fix race condition by setting the peers on init 2021-10-05 16:15:29 -04:00
Richard Ramos
d0514f366d feat: connected/disconnected status with wakuV2 2021-10-05 16:15:29 -04:00
Anthony Laibe
22e8c8a7ff fix(@desktop/profile): Split account and profile settings
Avoid to reveal which alias own which settings. The only settings
pre-login available is the storeToKeychain

Ideally we should also encrypt the profile settings
2021-10-01 10:29:05 -04:00
Anthony Laibe
a44822d7f6 fix(@desktop/profile): Fix loading the correct settings
Since #e0c53b7012354023e367c33093598f7523063aa6 settings where loaded
according to the username while they should be loaded after the public
key

As the public key is only available once the login happened, it needs
to be set when the profile is being initialized
2021-10-01 10:29:05 -04:00
Anthony Laibe
3acabfd2a8 refactor: ensure settings is accessed via model 2021-09-30 16:37:07 +02:00
Michael Bradley, Jr
c9319c3968 refactor: remove unused imports of nbaser and nim-base32
Closes #1268.

Another PR in the status-im/status-lib repo will be needed to close related
issue https://github.com/status-im/status-lib/issues/56.
2021-09-29 13:51:56 -04:00
Anthony Laibe
3fa328f8b8 Fix: loading bookmark from type 2021-09-29 11:57:01 -04:00
Anthony Laibe
1ae0b91014 refactor: gif store return object 2021-09-28 15:27:38 -04:00
Anthony Laibe
336ea968de refactor: browser use object 2021-09-28 15:25:57 -04:00
Anthony Laibe
d519843e52 refactor: contact store use object 2021-09-28 15:23:40 -04:00
Anthony Laibe
1cea69b331 feat(@desktop/wallet2): Toggle network 2021-09-28 15:20:43 -04:00
Richard Ramos
85250211ea feat: add mailserver request signals 2021-09-28 14:55:37 -04:00
Richard Ramos
f43a1a65ea fix: message history issues
- Display loading indicator on login when mailserver messages are requested
- Fix bug where the mailserver that's selected as soon as you login is disconnected while being still in the process of connecting instead of waiting until 10s have passed to try connecting to a different mailserver
- Use status-go version that fixes an issue fetching mailserver messages when more than 999 messages are being verified if they're in the cache
2021-09-28 14:26:19 -04:00
Anthony Laibe
3660bad243 fix(@desktop/wallet): emit wallet2 event
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:36:36 -04:00
Sale Djenic
f54f3a61bf fix(@desktop/chat): removing contact results in the same contact's contact request showing up again
Fixes: #3418
2021-09-22 15:27:52 -04:00
Anthony Laibe
83a0ea391d feat(@desktop/wallet): Add chain id to internal API 2021-09-22 14:17:49 -04:00
Andrei Smirnov
d6d4ae5c79 fix(@desktop/notifications): fixing wrong mentions counting 2021-09-21 11:08:38 -04:00
Eric Mastro
233d1f4da4 fix: block/unblock contacts not persisting
Fixes: #3473.

Sometimes when blocking users and changes channels, blocked user messages would still appear.

This PR fixes the issue by toggling a `hide` property on  messages from a contact when that contact is blocked or unblocked. Previously, the messages were only removed from the view when the contact was blocked, but when the view was reloaded, that state was not tracked correctly.
2021-09-21 09:53:15 -04:00