Commit Graph

10234 Commits

Author SHA1 Message Date
frank f45f96975e
refactor_: rename LOG_REQUEST_GO to API_LOGGING_ENABLED (#21677)
032eb5b6...c014fbfc

- Rename LOG_REQUEST_GO env variable to API_LOGGING_ENABLED across all env files
- Rename requests.log to api.log for consistency
- Remove standalone initLogging functionality from native modules as it's now
  handled within InitializeApplication
- Add logging configuration (logEnabled, logLevel, apiLoggingEnabled) to
  InitializeApplication params
- Add logDir parameter for Android to ensure proper log file location

This change consolidates logging initialization into the InitializeApplication
flow and makes the naming more consistent with its actual functionality.
2024-11-29 22:01:27 +08:00
Lungu Cristian 53d5ac4ea2
Using Keycard with the new Endpoints for Send/Bridge (#21705)
* fix: routes component annoying warning

* feat: replaced keycard sign with sign-hashes

* feat: using the keycard to sign transactions

* fix: removed unused and weird imports

* chore: removed debug logs

* chore: linting

* fix: removed clearing data on send error
2024-11-29 09:18:12 +02:00
Mohsen 874f07bd77
[#21644] fix: display zero for empty balances asset (#21697) 2024-11-29 08:42:37 +03:00
Mohamed Javid 4efb3c111a
fix(wallet)_: error on tapping from/to section in tx confirmation screen (#21695)
This commit fixes the error thrown when tapping the From or To sections in the transaction confirmation screen.

Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
2024-11-28 22:59:19 +05:30
Alexander de2b5fb935
Update sending transaction end point (#21480) (#21541)
* Update sending transaction end point

* Transaction approval

* Fixes

* Fixes

* Fixes

* Fix for issue 3

* Fixes for 2, 4, 7

* Update

* Fixes

* Fixes
2024-11-28 14:08:35 +01:00
Icaro Motta 5f8d5fd57e
perf: Optimize messenger initialization (#21642)
Integrates the optimizations coming from the status-go PR
https://github.com/status-im/status-go/pull/6106. Now messenger filters are
set-up concurrently and we can call the endpoint wakuext_chatsPreview twice:
once for non-community chats and once for community chats. This way, the user
should be able to see some data render before the slow part ends
(community-related data).

Fixes https://github.com/status-im/status-mobile/issues/21456

Areas that may be impacted

- Login
- Loading of data after login (contacts, chats, etc)
2024-11-28 08:46:32 -03:00
Ulises Manuel 763b291629
fix(messenger): List of users overlap composer input (#21641)
* Fix mentions overlapped

* Fix rendering blink
2024-11-27 16:05:56 -06:00
Sean Hagstrom 9f50686042
fix: ensure keycard pin error message is visible (#21691)
Primarily, this change fixes an issue related to the Keycard PIN error message not being visible displayed on some devices. Additionally, this change also clears the PIN entry state after failing to enter the correct Keycard PIN. And this change also allows for the PIN entry component to have two separate error modes: one for the entire component and another for just the info text.
2024-11-27 08:47:56 -08:00
Yevheniia Berdnyk 1652601a82
e2e: fix for fallback tests 2024-11-27 15:47:12 +02:00
Yevheniia Berdnyk 7a44db36fe
e2e: updated onboarding flow in tests 2024-11-27 03:30:00 +05:30
Parvesh Monu 338b241c8e
Implement onboarding share usage data screen 2024-11-27 03:30:00 +05:30
Volodymyr Kozieiev 91761a92c7
Replace GetWalletToken endpoint with FetchOrGetCachedWalletBalances (#21625) 2024-11-26 13:27:58 +00:00
Sean Hagstrom 4b2a1db12f
fix: add spacing between wrong-password error and forgot-password link (#21594) 2024-11-25 10:29:00 -08:00
Mohsen 05d4b4b068
[#21615] fix: hide mercuryo provider (#21626) 2024-11-25 20:58:58 +03:00
flexsurfer 9c9b55fe3e
[#21573] Keycard - Sign up with a new Keycard (#21623) 2024-11-25 15:22:21 +01:00
Yevheniia Berdnyk 6ec307a8bb
e2e: updated buttons ids 2024-11-25 15:07:37 +05:30
Parvesh Monu 86553eff14
Update create profile and sign in screen 2024-11-25 15:06:18 +05:30
Yevheniia Berdnyk 60911a1dd1
e2e: false failures fixes 2024-11-22 17:54:38 +02:00
Mohsen 21c2a525cf
[#21557] feat: show from account page in swap flow (#21611)
* [#21557] feat: show from account page in swap flow

* [#21557] feat: add disabled state to account-item

* [#21557] fix: apply suggestion

* [#21557] fix: add format address util and rename screen

* [#21557] fix: check and count account with token balance

* [#21557] fix: check for root screen
2024-11-22 16:12:00 +03:00
frank 26ae330476
chore_: add env STATUS_BACKEND_SERVER_MEDIA_SERVER_ENABLE_TLS (#21648)
* chore_: add env STATUS_BACKEND_SERVER_MEDIA_SERVER_ENABLE_TLS

b3dbe91b...cae9d35d

* update status-go version and doc

b3dbe91b...906c50bf
2024-11-22 11:00:02 +08:00
Volodymyr Kozieiev 5442a8567c
Custom Option Menu for TX Parameters on SEND Flow (#21657)
* wip

* wip

* custom menu implemented

* sheets closing and navigation

* Hidden under feature flag

* emoji added to settings item
2024-11-21 16:28:45 +00:00
Parvesh Monu fa0777e25e
fix Unable to tap on chats/channels after opening profile link (#21643) 2024-11-21 18:16:01 +05:30
Samuel Hawksby-Robinson c6c3e089ca
Added the legal docs as a submodule (#21654)
Signed-off-by: Samuel Hawksby-Robinson <samuel@samyoul.com>
2024-11-21 12:19:58 +00:00
Lungu Cristian 6a30ce3de3
Use latest watchman (#21546)
* chore: upgraded watchman, otherwise it's not used with current metro

The latest metro version requires watchman capabilities that are not
available in the version we locked, so it was not used. Instead we
used the "node watcher", which is slower and buggier (at least for me
metro was timing out quite often)

* fix: watchman ignore .clj-kondo, .shadow-cljs
2024-11-21 11:55:32 +02:00
Ulises Manuel ac0a115f1d
feat(onboarding): Switch profiles keeping biometrics valid (#21628)
* Rework login and logout flow to keep biometrics valid

- Move logout logic to a new namespace, the implementation no longer uses `rf/defn`

* Code style fixes

* Fix warning: "null is not an image" in login

* Fix biometric icons used all over the app

---------

Co-authored-by: Yevheniia Berdnyk <ie.berdnyk@gmail.com>
2024-11-20 13:51:06 -06:00
Yevheniia Berdnyk 58476a43da
e2e: removed notifications button in tests 2024-11-20 20:25:51 +05:30
Parvesh Monu 92e6a1862b
Onboarding skip enable notifications screen 2024-11-20 20:25:51 +05:30
flexsurfer 45cd66f908
[#21559] Keycard - Fresh instal sign in (#21612)
00a8a72a...79e662e4
[#21592] No Oops, this isn't a Keycard screen when scanning not a Keycard
2024-11-20 12:57:46 +01:00
Mohamed Javid a1e3bb3bd6
fix(wallet)_: Paraswap contract address (#21635)
This commit fixes ParaSwap contract address displayed on the setting approval cap for a token.

Since we get the approval contract address in the swap proposal, we take that as higher precedence over the hardcoded value in the constants file

Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
2024-11-19 17:52:57 +05:30
Parvesh Monu e6f290c06a
Remove jump to (#21634) 2024-11-19 17:21:24 +05:30
Alexander 65c872c6ec
Wallet status badge for offline RPC handling (#21484) 2024-11-19 12:38:06 +01:00
frank 7acaff6167
feat_: support use status backend server (#21450)
* chore_: use status.go v2 endpoint

39511298...e255fb8b

* feat: use status backend server (#21550)

* chore: add env variable STATUS_BACKEND_SERVER_IMAGE_SERVER_URI_PREFIX

* update doc

* fix_: image_server lint issue

* chore_: update status-go version
2024-11-19 18:50:01 +08:00
Lungu Cristian 08c97b078a
fix: don't parse v signature component, as status-go expects 01/02 (#21589) 2024-11-19 12:27:22 +02:00
Lungu Cristian e59b782b86
Wallet design review fixes (#21542)
* feat: hide token price-change info if no token balance

* fix: show dapps header button only on account screen

* ref: renamed to above-zero? and using it where needed

* fix: removed bridge icon from submit button
2024-11-19 12:08:52 +02:00
Volodymyr Kozieiev 87483b1ef4
Swap: use correct fee on spending cap screen (#21532) 2024-11-18 16:15:14 +00:00
Lungu Cristian eb3ae3c928
Fix send no bonder fee included (#21116) 2024-11-14 18:47:42 +02:00
Yevheniia Berdnyk 3f12c04684
e2e: fix for fallback tests 2024-11-13 19:39:22 +02:00
Sean Hagstrom cf0fba7891
feature!: add maximum character limit to password length (#21593)
This change now limits the password for a profile to be a maximum of a 100 characters.
2024-11-13 09:30:47 -08:00
flexsurfer 9f0fb41713
[#21587] Unsupported light theme on Keycard profile key pair migration (#21588)
[#21586] Keycard migration crashes the app on Android
 [#21601] Keycard is not empty screen appears at the wrong place of migration flow
2024-11-13 11:15:14 +01:00
Mohsen 2a7da758aa
[#20828] feat: display toast for all wallet connect actions (#21534) 2024-11-13 12:09:21 +03:00
Parvesh Monu 0f00f8439f
Remove onboarding generating keys screen (#21608) 2024-11-13 00:46:59 +05:30
Ulises Manuel 76d6825dd5
fix(communities): incorrect drawer for non community members (#21597)
* Fix wrong community modal shown for non-members

* Fix button overlapped in community chat for non-members

* Fix shown options order in modal
2024-11-12 09:36:17 -06:00
Yevheniia Berdnyk 028f959bc3
e2e: updated onboarding flow 2024-11-12 15:06:23 +05:30
Parvesh Monu bc6de0722f
Implement Onboarding - New intro screen 2024-11-12 15:06:09 +05:30
Icaro Motta 3e67a0f163
chore(perf): Do not transform large messenger initialization response to cljs (#21604)
This commit should help with potential freezes right after login, especially in
low-end devices and for users with more data.

The default behavior for the effect :json-rpc/call is to transform the
response to CLJS data using (js->clj data :keywordize-keys true), even if the
result is never used. The problem is that the response from
wakuext_startMessenger can be a very large struct! This PR simply adds the
missing line :js-response true.

ca22b67d0e/src/status_im/common/json_rpc/events.cljs (L85-L87)

type MessengerResponse struct {
	Contacts                      []*Contact
	Invitations                   []*GroupChatInvitation
	CommunityChanges              []*communities.CommunityChanges
	AnonymousMetrics              []*appmetrics.AppMetric
	Mailservers                   []mailservers.Mailserver
	CommunityStorenodes           []storenodes.Storenode
	Bookmarks                     []*browsers.Bookmark
	Settings                      []*settings.SyncSettingField
	IdentityImages                []images.IdentityImage
	CustomizationColor            string
	WatchOnlyAccounts             []*accounts.Account
	Keypairs                      []*accounts.Keypair
	AccountsPositions             []*accounts.Account
	TokenPreferences              []walletsettings.TokenPreferences
	CollectiblePreferences        []walletsettings.CollectiblePreferences
	DiscordCategories             []*discord.Category
	DiscordChannels               []*discord.Channel
	DiscordOldestMessageTimestamp int
	BackupHandled                 bool

	// notifications a list of notifications derived from messenger events
	// that are useful to notify the user about
	installations                    map[string]*multidevice.Installation
	notifications                    map[string]*localnotifications.Notification
	requestsToJoinCommunity          map[string]*communities.RequestToJoin
	chats                            map[string]*Chat
	removedChats                     map[string]bool
	removedMessages                  map[string]*RemovedMessage
	deletedMessages                  map[string]string
	communities                      map[string]*communities.Community
	communitiesSettings              map[string]*communities.CommunitySettings
	activityCenterNotifications      map[string]*ActivityCenterNotification
	activityCenterState              *ActivityCenterState
	messages                         map[string]*common.Message
	pinMessages                      map[string]*common.PinMessage
	discordMessages                  map[string]*protobuf.DiscordMessage
	discordMessageAttachments        map[string]*protobuf.DiscordMessageAttachment
	discordMessageAuthors            map[string]*protobuf.DiscordMessageAuthor
	currentStatus                    *UserStatus
	statusUpdates                    map[string]UserStatus
	clearedHistories                 map[string]*ClearedHistory
	verificationRequests             map[string]*verification.Request
	trustStatus                      map[string]verification.TrustStatus
	emojiReactions                   map[string]*EmojiReaction
	savedAddresses                   map[string]*wallet.SavedAddress
	ensUsernameDetails               []*ensservice.UsernameDetail
	updatedProfileShowcaseContactIDs map[string]bool
	seenAndUnseenMessages            map[string]*SeenUnseenMessages
}
2024-11-12 05:46:26 -03:00
Icaro Motta 3787ac5b94
chore(url-preview): Remove old/unused code (#21603) 2024-11-11 22:43:44 -03:00
Icaro Motta a60e39cfd5
Update app metadata for Status 2.31.0 in F-Droid (#21606)
- Assets were compressed from Figma exports.
- Locale for Ukrainian fixed: from `uk` to `uk-UA` according to official reference https://android.googlesource.com/platform/frameworks/base/+/master/core/res/res/values/locale_config.xml.
- Titles for each locale are now translated.

Fixes https://github.com/status-im/status-mobile/issues/21605
2024-11-11 10:58:10 -03:00
Brian Sztamfater a7d330ecb3
fix(swap): refetch swap proposal when switching account (#21518)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-11-10 20:16:11 -03:00
Sean Hagstrom ca22b67d0e
fix: only display spectated communities in opened tab (#21548)
This change resolves an issue with un-opened, joined, and pending communities being visible inside the "opened" communities tab. With this change, the "opened" community tab will only display spectated (opened) communities that have not been joined or pending to be joined.
2024-11-05 14:18:14 -08:00
flexsurfer 03ec410862
[#21446] Keycard - Current profile key pair migrate (#21558)
[#21470] Keycard - Keycard initialized but has no keys
2024-11-05 14:48:45 +01:00