Commit Graph

5232 Commits

Author SHA1 Message Date
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
Sale Djenic 575175c1ee feat(wallet)_: enrich status changed and tx update signals' payload with tx route data 2024-11-22 13:32:49 +01:00
Sale Djenic bacd132a2b chore(wallet)_: route execution related types moved to services/wallet/wallettypes 2024-11-22 13:32:49 +01:00
Sale Djenic e354844044 chore(wallet)_: transactions/types.go moved to services/wallet/wallettypes 2024-11-22 13:32:49 +01:00
Sale Djenic 874da40150 chore(wallet)_: send type package simplification
- path processor constants moved to wallet constants
- FetchPrices and FindToken functions moved from send type package to router package
2024-11-22 13:32:49 +01:00
Sale Djenic f80042c5cb chore(wallet)_: ens resolver identified under ens api
New EnsResolver type identified and will be responsible for network calls,
while ens api will use it (until mobile app switches to a new sending flow) and
continue managing other (db) interactions.
2024-11-22 13:32:49 +01:00
Alex Jbanca c5dede93b0 feat(browser connect)_: Implementing signTypedData_V4
This commit bundles the personal sign and the signTypedData_V4 sign request in the same command.
The only difference between these two requests is the order of address and challenge in the params array.

What has changed:
1. PersonalSign.. has been renamed to Sign
2. `getPersonalSignParams` renamed to `getSignParams` and implements the parsing for both personal sign and signTypedData_V4
2024-11-22 10:35:23 +01:00
Patryk Osmaczko c5c28cc568 chore(logging)_: switch to zap.Logger as central logger
Set zap.Logger as the  primary logger for status-go. All geth logs are
now proxied through zap.Logger.

closes: #6029
2024-11-22 10:03:22 +01:00
Patryk Osmaczko d18dfeffca chore(logging)_: introduce geth adapter 2024-11-22 10:03:22 +01:00
Alex Jbanca ed36d60540 fix(BC)_: Fix personal_sign RPC event processing
The personal_sign RPC event parsing. Changed `params` from object array to string array.
2024-11-22 09:23:42 +01:00
Patryk Osmaczko 3912e7645c chore(logging)_: add benchmark for custom zap core 2024-11-22 08:46:19 +01:00
Patryk Osmaczko eae034aea0 feat(logging)_: introduce custom zap.Core enabling runtime changes
Geth logger allows overriding the log level, format and writer at
runtime. To make it interchangeable with zap.Logger, a custom zap.Core
has been introduced to enable these features as well.

closes: #6023
2024-11-22 08:46:19 +01:00
frank 3824691f78
chore_: remove CLI option MEDIA_HTTPS (#6112) 2024-11-22 10:23:17 +08:00
Jonathan Rainville 72f7ed7ced
fix(community)_: fix missing mediaserver when cloning a community (#6026)
This caused communities being passed to the client via `handleCommunitiesSubscription` to not have images and they would "flash" in the client because it would disappear for a second then come back when another signal updated it back.
2024-11-21 14:12:22 -05:00
Anton Danchenko 35dc84fa7f
test_: add multiple status-backend instances (#6104)
* test_: add multiple status-backend instances

* test_: reliable schemas
2024-11-21 14:21:53 +00:00
Alex Jbanca 11cf42bedd fix(BrowserConnect)_: Send client event when the dApp permissions have been revoked 2024-11-20 15:36:04 +01:00
Alex Jbanca 3f96b8430b fix(BC)_:Add account and chainID to the `permissionGranted` event 2024-11-20 15:36:04 +01:00
Igor Sirotin 9a45ae09ca
chore_: add gofakeit dependency (#6110)
* chore_: add gofakeit dependency

* fix_: linter
2024-11-20 12:33:05 +00:00
flexsurfer c2d79e785e
feat_: add KeycardPairingKey for mobile (#6101) 2024-11-20 12:35:20 +01:00
frank 735a422230
chore_: create v2 endpoints for status.go to solve EndpointsUnsupported in endpoints.go (#5943)
* chore_: create v2 endpoints for status.go to use status-backend server

* feat_: support using http for media server (#6060)
2024-11-19 09:31:29 +00:00
Parvesh Monu 17dbc37964
chore_: Remove switcher cards (#6107) 2024-11-19 13:41:52 +05:30
Andrey Bocharnikov f754315023
chore(wallet)_: returns last timestamps of successful GetWalletToken updates (#5988)
* chore(wallet)_: returns last timestamps of successful GetWalletToken updates

* fix_: return timestamp instead of time

* address feedback from the PR
2024-11-18 22:27:52 +04:00