Commit Graph

5273 Commits

Author SHA1 Message Date
Prem Chaitanya Prathi a4e36d49cd
fix_: missing message verifier start-stop ,go-waku updates, lightpush service rate limits (#5964) 2024-12-23 14:02:48 +05:30
fbarbu15 810468a57f
test_: create private group tests (#6225)
* test_: create private group tests

* test_: set privileged False for jenkins

* test_: run baseline tests in rpc suite

* test_: address review comments

* test_: address review comments
2024-12-20 13:08:11 +02:00
Igor Sirotin 0cf556bdb9
test_: unskip test initialize logging (#6229)
* test_: add option to get file from status-backend container

* feat_: automatically create dataDir and logsDir directories

* test_: unskip and update TestInitializeLogging

* fix_: parametrize test

* ci_: use ms precision for func tests docker project_name to

* chore_: rename to extract_data

* fix_: linter

* fix_: set timestamp in python as well
2024-12-19 14:18:40 +00:00
Igor Sirotin b803918c2b
ci_: pytest-lint correct target pr branch (#6230)
* ci_: pytest-lint correct target pr branch

* fix_: format issues
2024-12-19 12:07:40 +00:00
Jonathan Rainville d291204473
chore(block)!: remove desktop BlockContact function for parity (#6172)
Needed for https://github.com/status-im/status-desktop/issues/16640

In Desktop, we still used a "forked" version of the BlockContact function that had as differences that it didn't leave the chat nor delete the messages.

However, we want to have parity now and those features, so it makes no sense to use a different function.

This is a breaking change because it removes an API, but I took care of removing the use of that function in the Desktop app and Mobile never used it, so it's an inoffensive breaking change.

Additionally, I added the notifications to the messenger response.
2024-12-17 12:15:56 -05:00
Igor Sirotin 309d17ae5b
feat_: status-backend health endpoint (#6201)
* feat_: status-backend health endpoint

* test_: health check

* test_: use health endpoint from python
2024-12-17 15:37:53 +00:00
Anton Danchenko 6a5623bac6
test_: set proxy creds (#6211) 2024-12-17 12:34:19 +01:00
Igor Sirotin 2172abe953
fix_: add `infuraSecret` and `statusProxyBlockchainPassword` to secrets (#6217) 2024-12-17 09:41:56 +00:00
Igor Sirotin 0f7c26dc9d
test_: skip flaky TestService_IncrementalUpdateMixed (#6205) 2024-12-16 20:33:46 +00:00
frank 75bdda2712
fix_: correct sensitive regex (#6188) 2024-12-16 19:58:15 +00:00
fbarbu15 08eee8a647
test_: add python linters (#6212)
* test_: add python linters

* test_: add python linters

* test_: add python linters

* test_: add python linters

* test_: enabled pyright typeCheckingMode

* test_: enabled pyright typeCheckingMode
2024-12-16 12:38:24 +02:00
Igor Sirotin 66850321ef
fix_: remove logging of rpc endpoint (#6195) 2024-12-14 23:00:25 +00:00
Sale Djenic c27c773c27 chore(wallet)_: from and to chains added to send details
From and to chains added to SendDetails type that can be used on the client side if the sending fails
that we can display appropriate ephemeral notifications, saying sending from which chain has failed.
2024-12-13 15:45:45 +01:00
fbarbu15 74db631435
test_: contact requests tests (#6167)
test_: fewer nodes for multiple_contact_requests test

test_: fewer nodes for multiple_contact_requests test

test_: skip multiple_contact_requests test

test_: address review comments

test_: check messages just in event/messages

test_: get expected message by content type

test_: address review comments
2024-12-12 21:31:00 +02:00
Jonathan Rainville 5a8310d5a7
fix(pins)_: delete pins when the og message is deleted (#6173)
Found when fixing https://github.com/status-im/status-desktop/issues/16639

When a message is deleted, we need to delete the pins too as they are no longer available. This was done using an ON DELETE clause (thanks @osmaczko)
I also made sure the SELECT query for the pins doesn't return deleted messages
2024-12-12 13:18:40 -05:00
Igor Sirotin 137698e022
ci_: bring back cmd coverage (#6204)
* ci_: bring back cmd coverage

* fix_: update jenkinsfile
2024-12-12 15:51:57 +00:00
Anton Danchenko 1795620df0
test_: run functional tests on host (no container) (#6159)
* test_: run on host
2024-12-12 13:45:21 +01:00
Igor Sirotin ef177c1c63
feat_: SensitiveString type (#6190)
* feat_: SensitiveString type

* chore_: New by value, remove SetValue, add IsEmpty

* feat_: export RedactionPlaceholder

* fix_: MarshalJSON by value

* fix_: method receivers

* fix_: linter
2024-12-11 14:07:34 +00:00
Igor Sirotin 8b95c81488
feat_: graceful shutdown with status-backend (#6189)
* fix_: graceful shutdown node in status-backend

* fix_: function doc
2024-12-10 19:58:30 +00:00
frank e6c2f89f03
chore_: remove endpoint InitLogging (#6182) 2024-12-10 09:19:08 +08:00
Igor Sirotin 4ccb08f11d
test_: WalletService class (#6171) 2024-12-09 12:18:34 +00:00
Igor Sirotin 943ae13358
fix(functional-tests)_: disable testnet (#6181) 2024-12-09 11:41:50 +00:00
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