Commit Graph

5253 Commits

Author SHA1 Message Date
Prem Chaitanya Prathi e869b07904
fix_: match lightpush service node rate-limits to publishing rate-limits 2024-12-17 10:46:07 +05:30
Prem Chaitanya Prathi c4e91807b2
fix_: missing message verified start and stop and go-waku updates 2024-12-16 21:16:44 +05:30
Igor Sirotin 616a760985
feat_: api logging signals (#6150)
* feat_: api logging signals

* fix_: proper marshal any type

* fix_: linter

* chore_: rename to redactionPlaceholder
2024-12-07 14:46:57 +00:00
Igor Sirotin dfb591874a
fix_: check group error in GetBalancesAtByChain (#6169)
* fix_: check group error in GetBalancesAtByChain

* fix_: properly wrap error

* test_: FetchBalancesForChain check error
2024-12-07 12:10:38 +00:00
Igor Sirotin 3a0080281f
fix_: create/restore account error signal (#6174)
* fix_: publish node.login signal with error

* test_: use node.login signal instead of node.ready
2024-12-06 20:45:28 +00:00
Arseniy Klempner e7cc535292
feat(telem)_: track total waku message bandwidth (#6157) 2024-12-06 10:47:51 -08:00
richΛrd d07e61f615
fix_: nil *MessengerResponse is a valid result (#6175) 2024-12-06 09:16:54 -05:00
frank 55befd839e
fix_: no peers available supporting LightPush protocol after network restored from disabled state (#6153)
Fix:

- https://github.com/status-im/status-mobile/issues/21452
- https://github.com/status-im/status-mobile/issues/21394

Might also fix part (missing messages) of https://github.com/status-im/status-mobile/issues/21172

Related mobile PR https://github.com/status-im/status-mobile/pull/21730
2024-12-06 10:22:55 -03:00
Brian Sztamfater 9a94a82fd6
fix!: add forceRefresh parameter to FetchOrGetCachedWalletBalances endpoint (#6160)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-12-06 09:48:12 -03:00
Sale Djenic 5d75731a6d fix(alias)_: fixed runtime error: slice bounds out of range [2:0] caused crash 2024-12-06 13:35:18 +01:00
frank 81133570e4
fix_: status backend server websocket IO wait (#6154) 2024-12-06 09:29:11 +00:00
osmaczko 50933aa328
feat(logging)_: enable log namespaces configuration (#6161)
closes: #6128
2024-12-05 14:19:24 +00:00
Andrey Bocharnikov f3eed58c78
fix(healthmanager)_: extract subscriber logic from RPC Health Manager (#6147)
- Subscription common logic is extracted to a separate type.
- Fix race condition where a goroutine extracts value from sync.Map and then another goroutine calls unsubscribe and closes the channel before the first goroutine writes to the channel.
- Moved TestInterleavedChainStatusChanges and TestDelayedChainUpdate to the correct file.
- Renamed test suites with duplicate names.

updates CODEOWNERS
closes #6139

Co-authored-by: Igor Sirotin <sirotin@status.im>
2024-12-04 20:26:53 +04:00
Igor Sirotin 233f2f9a2a
fix(sentry)_: remove stacktrace trimming (#6162)
* fix_: no trim stacktrace

* fix_: sentry test
2024-12-04 14:19:16 +00:00
Igor Sirotin bed099c1e8
chore(Makefile)_: run-anvil command with dev ports mapping (#6155) 2024-12-04 14:03:25 +00:00
Patryk Osmaczko 1b9e8fdafc feat(logging)_: introduce namespace filtering core
iterates: #6128
2024-12-04 11:33:22 +01:00
Patryk Osmaczko ae121486ff feat(logging)_: introduce namespaces tree
iterates: #6128
2024-12-04 11:33:22 +01:00
Brian Sztamfater 34d2dafbd2
fix_: usdt token decimals on tokenstore for arbitrum (#6158)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-12-03 18:20:26 -03:00
Jonathan Rainville 3db68c4d64
fix(cr)_: fix dismissing and then sending a CR (#6140)
Fixes https://github.com/status-im/status-desktop/issues/16817

There were two issues.
When dismissing a CR, then sending one back, it did mark the two contacts as mutual and showed the 1-1 chat. However, the message sent in the second/final CR was not shown in the first person's client.
Also, the AC notification for the first user didn't update, so it got stuck in a "pending" state.

Those two issues are fixed now with a test to confirm.
2024-12-03 15:03:55 -05:00
Jonathan Rainville 0794edc3db
feat(community)_: add version to image url to let clients update (#6118)
Fixes https://github.com/status-im/status-desktop/issues/16688

Since we use the local image server to show the community image, the URL never changes when we update the image, since it's served using a query string containing the community ID. eg: `https://Localhost:46739/communityDescriptionImages?communityID=0x03c5ece7da362d31199fb02d632f85fdf853af57d89c3204b4d1e90c6ec13bb23c&name=thumbnail`
Because of that, the clients cannot know if the image was updated, so they had to force update the image every time, which was inefficient.

We discovered this issue when I refactored the community client code in Desktop so that we only update the changed properties of a community instead of reseting the whole thing.

The solution I came up with in the PR is to add a `version` to the URL when we detect that the image changed. This let's the clients detect when the image was updated without having to do any extra logic.
2024-12-03 14:33:49 -05:00
Jonathan Rainville 92ba63b282
fix(edit)_: make sure the contentType stays the same after an edit (#6133)
Fixes https://github.com/status-im/status-desktop/issues/16741

The issue was that in image messages, you can update the text, but then the ContentType would become Text and lose the image.
The solution is to ignore ContentType changes, since there is no way to change the type of message.
2024-12-03 10:04:21 -05:00
Igor Sirotin 78da423569
fix_: setupLogSettings code duplication (#6142) 2024-12-03 08:56:07 +00:00
Cuteivist 4aa683f03d
feat_: Send payment request data (#6137) 2024-12-03 09:33:40 +01:00
Igor Sirotin 0f2ae8fbab
chore_: InitializeApplication address pr comments (#6143) 2024-12-03 08:23:26 +00:00
fbarbu15 ec90b2f4ed
test_: one to one messages (#6119)
* test_: one to one messages

* test_: use default display name

* test_: fix f-string format

* test_: fix signal log save

* test_: put signal saving under flag

* test_: addressed review comments

* test_: address review comment
2024-12-03 10:11:26 +02:00
Igor Sirotin cffd2cfefb
fix(sentry)_: trim production env variable (#6149) 2024-12-02 16:32:26 +00:00
Volodymyr Kozieiev 7a967e1775
chore_: removed GetWalletToken because mobile not use it anymore (#6131) 2024-12-02 11:27:02 +00:00
Jonathan Rainville 8a7f24b095
refactor(server_media)_: pass a func to get the images instead of using the cache (#6127)
The community cache that the image server was using was not intended to be used for that. It can be invalidated at any moment. Also, it did not contain changes made by admins (admin events).
Using this new approach, we pass functions from the community manager to the media server so that it can have access to the correct community description.
2024-11-29 13:54:10 -05:00
Dario Gabriel Lipicar 732347cebf fix_: sort activity entries to list approvals before the intended tx 2024-11-29 13:41:20 -03:00
Dario Gabriel Lipicar 7be222a1d2 feat_: add unique key to each activity entry 2024-11-29 13:41:20 -03:00
Igor Sirotin cdc41c3b64
feat_: API logging objects with `zap.Any` (#6125)
* feat_: api logging objects as zap.Any

* test_: fix TestCall
2024-11-29 13:18:59 +00:00
dlipicar 5a69c686cf
fix_: clear leftover route execution data on new route calculation (#6132) 2024-11-29 09:05:52 -03:00
Igor Sirotin e477269983
feat_: init logs in `InitializeApplication` (#6117)
* feat_: functional tests for logs

* feat_: init logs in `InitializeApplication`

* chore_: completely remove `MobileSystem` log setting

migrate

* chore_: condition for call startTime

* fix_: rebase issues, linter

* fix_: sql query

* test_: mark rpc TestInitializeLogging

* test_: skip TestInitializeLogging
2024-11-29 11:43:07 +00:00
Igor Sirotin 81bd17ca01
feat_: endpoint for testing panic reports (#6126)
* feat_: endpoint for testing panic reports

* test_: TestIntendedPanic

* fix_: linter
2024-11-29 10:33:36 +00:00
Igor Sirotin 9bc514805d
chore(CODEOWNERS)_: initial codeowners file (#6111) 2024-11-28 23:35:47 +00:00
Andrey Bocharnikov c635575e8f
fix_: return 0 fee if oracle fails on GetL1Fee (#6138)
* fix_: return 0 fee if oracle fails on GetL1Fee
2024-11-29 00:28:25 +04:00
richΛrd 35e4c9e11c
fix_: ensure storenode requests do not exceed 24h (#6115) 2024-11-28 15:14:29 -05:00
Igor Sirotin 581e4776c9
ci_: remove jenkins commit check (#6121) 2024-11-28 18:21:39 +00:00
Igor Sirotin 84e05cfe03
ci_: remove codeclimate coverage reports (#6120) 2024-11-28 16:26:30 +00:00
frank 991d5dfde5
perf!: Optimize Filter Initialization with Concurrent Processing (#6106)
* refactor_: InitFilters

* perf_: return chats preview with optional filter

* chore_: move InitFilters to separate file

* chore_: add ChatPreviewFilterType

* chore_: address feedback from igor

* chore!: update ChatsPreview

* chore_: remove ChatPreviewFilterTypeAll

* fix_: lint issue
2024-11-28 10:55:02 +00:00
kaichaosun 6bb04c1456 chore_: bump mvds 2024-11-28 10:19:14 +01:00
kaichaosun 2bd543be5b chore_: increase the mvds resend interval to save bandwidth. 2024-11-28 08:52:05 +01:00
Dario Gabriel Lipicar ee7f4d249c chore_: remove exchanges module 2024-11-26 09:16:31 -03:00
dlipicar 3466ac2661
feat!: implement new activityV2 filter (#6102)
* feat!: implement new activityV2 filter

* chore_: pr comments
2024-11-25 17:44:39 -03:00
Mohsen ad28f15531
fix_: hide mercuryo provider (#6100) 2024-11-25 20:35:45 +03:00
richΛrd 0c838b0188
feat!: extract storenode cycle to go-waku api
Extracts the storenode cycle code to go-waku.
2024-11-25 17:32:16 +01:00
Igor Sirotin 987a9e8707
feat_: add Sentry panic reporting (#6054)
* feat_: report panics to sentry

* test_: sentry options, params and utils

* feat_: toggle sentry with centralized metrics

* test_: sentry init, report and close

* refactor_: rename public api to generic

* docs_: sentry

* fix_: typo in internal/sentry/README.md

Co-authored-by: osmaczko <33099791+osmaczko@users.noreply.github.com>

* fix_: linter

---------

Co-authored-by: osmaczko <33099791+osmaczko@users.noreply.github.com>
2024-11-25 12:13:47 +00:00
Igor Sirotin 474658b6b1
chore_: configure codeclimate (#6006) 2024-11-22 16:08:22 +00:00
Sale Djenic 5fa57c80ec chore(wallet)_: path processor specific const and functions moved to path processors' common package 2024-11-22 13:32:49 +01:00
Sale Djenic 3c911e3fed fix(wallet)_: broken swap and bridge for erc20 tokens fixed 2024-11-22 13:32:49 +01:00