Commit Graph

4973 Commits

Author SHA1 Message Date
Dario Gabriel Lipicar 9fef2d3558 fix: properly setup collectible providers exponential backoff 2024-02-27 18:26:55 -03:00
Igor Sirotin 168398d7a5
chore: faster TestCommunityOfflineEdit ()
* chore: faster TestCommunityOfflineEdit
* chore: enable debug logs in TestSyncDeviceSuite
2024-02-27 19:38:40 +00:00
Igor Sirotin 9fa396e797
chore: nix-shell make generate () 2024-02-27 19:35:43 +00:00
Igor Sirotin 4fb27ec53a
fix: ensure db opened in UpdateNodeConfigFleet () 2024-02-27 19:00:20 +00:00
Andrea Maria Piana c5371bd3a5
Bump version to 0.176.1 2024-02-27 16:33:14 +00:00
Igor Sirotin c32ab70c33
fix: lost wakuv2 nameserver with `CreateAccountAndLogin` () 2024-02-27 16:15:11 +00:00
Michal Iskierko df930b1d73 feat: New field in TokenCriteria proto
AmountInWei will have a wei-like units.
Amount field becomes deprecated because it kept string with float value.

Comparison (in case of Decimals == 5):
Amount (deprecated) = "1.2"
AmountInWei = "120000"

Issue 
2024-02-27 16:25:26 +01:00
Patryk Osmaczko 34fd0e87e4 chore: skip failing tests 2024-02-27 11:00:29 +01:00
Patryk Osmaczko 1f42f2582a Revert "Comment out all logged flaky tests"
This reverts commit 0bd4a06edc.
2024-02-27 11:00:29 +01:00
Patryk Osmaczko 0a1a66afa7 fix: prevent messenger being started twice
Previously, Messenger was `Start`ed multiple times, which resulted in
the shutdown process not being invoked on previously initialized
Messenger's sub-instances. This led to the failure of MVDS instance
shutdown causing massive error logs due to the attempts to read from a
closed database.
2024-02-27 11:00:29 +01:00
Patryk Osmaczko bafb0a71d0 fix: prevent `panic: send on closed channel` 2024-02-27 11:00:29 +01:00
Patryk Osmaczko 5aed0d178f chore: unskip flaky tests 2024-02-27 11:00:29 +01:00
Patryk Osmaczko fdd979096c chore: add capability to rerun failed tests
- Use `gotestsum` to generate junit test reports and re-run failed tests.
- Archive re-run reports in `${package_dir}/report_rerun_fails.txt`.
2024-02-27 11:00:29 +01:00
Patryk Osmaczko fcd8e62b40 chore: introduce silent test logger config 2024-02-27 11:00:29 +01:00
frank fca6cafc44
chore: refactor DB closure to check for errors before returning () 2024-02-27 07:03:57 +08:00
Jonathan Rainville 2445cda3e0
fix(contacts): fix blocking a non-contact sends a signal to the other ()
Fixes https://github.com/status-im/status-desktop/issues/13545

The code is correct in sending an updated CR to make sure the sync doesn't sync back the previous state or at least overrides it.
However, if we never were a contact with the person sending us a CR, and we block them, it sends them a "you got removed" message, which first doesn't make sense but also could let them know they got blocked/ignored.
The trick is just to make sure we added them first. Then dismissing the CR makes sense.
2024-02-26 12:49:04 -05:00
Michał Iskierko fbb89cb13f
fix: Add missing address for Optimism Sepolia ()
Issue 
2024-02-26 11:54:02 -05:00
Patryk Osmaczko eeaff0d3e3 fix: sync&backup channels encryption keys
fixes: 
2024-02-26 16:41:30 +01:00
Mikhail Rogachev 7cc4c12642
Feat: Add social links to the profile showcase ()
* feat: add social links to the profile showcase

* fix: deprecate old social links, add synced profile showcase to response
2024-02-26 16:53:40 +03:00
Mykhailo Prakhov 92bc64bb41
feat: kicked/banned member should not have spectated mode after the kick/ban () 2024-02-26 13:33:07 +01:00
Dario Gabriel Lipicar 54ea0981a5 fix: properly handle tokenID 0 when filtering activity by collectibles 2024-02-23 09:43:20 -03:00
Anthony Laibe 972a4f9df9 feat: sepolia default 2024-02-23 11:26:31 +01:00
frank 23ee898754
bump version to 0.175.3 () 2024-02-23 11:37:47 +08:00
frank 4581c4f5f7
fix: sometimes channels do not randomly appear in test community after its creation () 2024-02-23 10:16:51 +08:00
Cuteivist 83678042f4
chore: Pass tx ID instead of hash () 2024-02-22 23:40:36 +01:00
Igor Sirotin 34c693bdea
fix: override unsupported settings.fleet () ()
* chore: remove fleet enum duplication
* fix: `updateNodeConfigFleet` on login
2024-02-22 19:32:24 +00:00
Michał Iskierko ba7faea027
fix: Use correct chains when checking permissions: mainnet or testnet ()
Fix 
2024-02-22 10:17:35 -05:00
Mykhailo Prakhov 3959948c4c
chore: fix ban/unban flow and delete all messages feature ()
feat: delete all messages for banned member and ban/unban AC notifications
2024-02-22 11:25:13 +01:00
Sale Djenic 0e8143db76 feat(savedaddresses): mixedcase address added to the saved address struct 2024-02-22 10:16:12 +01:00
Mikhail Rogachev eb5bad4868
Feat: Profile showcase validate collectible ownership ()
* feat: profile showcase checks then presenting collectibles

* chore: more obvious CollectiblesManager configuration
2024-02-22 11:08:58 +03:00
frank 01b3f8ace4
fix flaky test TestMarkMessagesSeenMarksNotificationsRead ()
* fix flaky test TestMarkMessagesSeenMarksNotificationsRead

* address review feedback
2024-02-22 09:44:14 +08:00
richΛrd f650915a49
chore: bump go-waku to fix high cpu usage by peer exchange () 2024-02-21 11:05:58 -04:00
Anthony Laibe 0856efff6f fix: resolve first tx of block
This is a workaround when fetching unknown tx without receiver
2024-02-21 13:28:26 +01:00
frank 569a401643
fix flaky test TestBackupSettings () 2024-02-21 10:51:12 +08:00
Patryk Osmaczko e2cab1a8ae fix: ensure community events eventual consistency
- Extracted `community_events_factory.go`
- Introduced `eventsProcessor`
  - Improved processing logic order
  - Improved events filtering
- Introduced concept of `EventTypeID` to prevent redundant events handling
- Added sanity check before events appliance when reading community from
  database
- Removed reject&re-apply scheme (no more ping-pong issue)
- Fixed and added more variants to eventual consistency test

fixes: 
fixes: 
2024-02-20 21:07:01 +01:00
Patryk Osmaczko f7c40d4c40 chore: use lamport timestamp for events clock
- make clock logical per event type
- increase clock precision to millisecends

Rationale:
https://www.notion.so/Eventual-consistency-9d6a9c6c55c14ab1aee76f801301522b

iterates: 
2024-02-20 21:07:01 +01:00
Pablo Lopez 3f19972c8e
enable custom community storenodes ()
* enable custom community store nodes

* fix

* fix

* fix

* fix

* cleanup

* fix

* migration

* fix

* cleanup

* fix

* cleanup

* fix

* fix

* cleanup

* message to update the community storenodes

* rename

* fix test

* wait for availability only if global storenode

* fix test

* fix typo

* sync community storenodes

* remove unused

* add tests

* fix imports

* fix todo

* unused

* pr comments

* pr feedback

* revert merge deleted

* fix lint

* fix db and perform ms request

* typo

* fix log

* fix go imports

* refactor handle message

* cleanup public message

* add tests

* fix test

* cleanup test

* fix test

* avoid making one file to big to keep codeclimate from complaining

* fix lint

* revert

* Update protocol/storenodes/database.go

Co-authored-by: richΛrd <info@richardramos.me>

* Update protocol/messenger_mailserver_cycle.go

Co-authored-by: richΛrd <info@richardramos.me>

* PR comment

* fix tx

* proto files

* pr comment

---------

Co-authored-by: richΛrd <info@richardramos.me>
2024-02-20 17:49:39 +02:00
Igor Sirotin 515dbdf2b3
fix: waku connection status subscription lock ()
* fix: lock waku connStatus subscription for sending
* update skipped tests
2024-02-19 23:44:38 +00:00
Patryk Osmaczko 30f4edf48d fix: keep flaky tests compilable and easy to find 2024-02-19 21:46:35 +01:00
Patryk Osmaczko 1fca1e1743 Revert "Comment out flaky tests ()"
This reverts commit 582927868d.
2024-02-19 21:46:35 +01:00
Roman Volosovskyi cc708ce0ce
[] Nilable block range values for proper ranges management () 2024-02-19 16:50:07 +01:00
Cuteivist a866b8025e
feat: Community token received notification () 2024-02-19 14:55:38 +01:00
Omar Basem 54d0cf28c7
feat: mobile status.go - getRandomMnemonic ()
* feat: mobile status.go - getRandomMnemonic ()
2024-02-19 16:53:01 +04:00
Cuteivist 38ee792081
feat: Cast int64 for settings () 2024-02-19 13:09:02 +01:00
Roman Volosovskyi 9e36df449e
Fix range for ERC20/1155/721 tx detection () 2024-02-19 11:50:03 +01:00
Roman Volosovskyi 582927868d
Comment out flaky tests () 2024-02-19 10:10:37 +01:00
Igor Sirotin 85c0e282ae
feature: profile showcase preferences sync&backup () 2024-02-17 18:07:20 +00:00
Igor Sirotin f0e6fd31de
chore: TestFetchingHistoryWhenOnline () 2024-02-16 18:34:04 +00:00
Mohsen 8a3e71378f
feat: add setBio endpoint () 2024-02-16 15:57:41 +03:00
Igor Sirotin add46fbda0
chore: `make generate` with nix-shell () 2024-02-16 12:48:27 +00:00