The Status module that consumes go-ethereum https://status.im
Go to file
Stefan 812910f087 feat(wallet): Add session-based activity API for dynamic updates
This commit introduces the first steps towards implementing a session-based activity API to support dynamic updates of the current visualized filter in the wallet activity service. This change is necessary to move away from static paginated filtering, which was previously done in SQL, to a more dynamic approach that can handle updates in real-time.

The main changes include:
- Add basic `EventActivitySessionUpdated` support for pending transactions.
- Added a `TODO.md` file outlining the plan and requirements for dynamic activity updates.
- New session-related API to the `activity.Service`
- `session.go` contains the logic for session management and event processing related to activity updates.
- Add test case for incremental filter updates.

The commit also includes:

- various other minor changes and refactoring to support the new session-based approach.
- Deprecation notices added to the `api.go` file for methods that are no longer used by the status-desktop application.
- Clarification comments added to the `scheduler.go` file regarding replacement policies.

Updates: #12120

ghstack-source-id: a61ef74184
Pull Request resolved: https://github.com/status-im/status-go/pull/4480
2024-02-01 19:55:06 +01:00
.dependabot Patch/dependabot protocol (#1980) 2020-05-19 00:14:02 +01:00
.github Add migration check script 2023-06-23 12:01:30 +01:00
.vscode feat(wallet) implement Wallet Connect sign APIs 2023-11-15 15:52:02 +01:00
_assets chore: set extended timeout only for `protocol` package 2024-01-26 12:27:57 +01:00
_docs rename status-react to status-mobile 2022-07-17 15:37:14 +02:00
_examples go-waku integration (#2247) 2021-06-16 16:19:45 -04:00
abi-spec Upgrade linter to 1.50.0 2023-01-13 17:52:03 +00:00
account feat: support signing of a join/edit community request from within the app or keycard 2023-11-03 07:49:01 +01:00
api fix: endless logout (#4563) 2024-01-30 19:45:08 +08:00
appdatabase fix: add new migration to fix missing migration that didn't ran 2024-01-24 17:42:31 +01:00
appmetrics fix(tests): moved test db setup to a common place 't/helpers', created 2023-08-18 09:00:56 +02:00
build/bin add .gitkeep to build/bin so it always exists 2019-03-05 14:22:00 +01:00
cmd refactor: introduce `newTestMessenger` 2024-01-22 13:08:58 +01:00
common Always set PubsubTopic in filters 2023-11-18 02:26:34 +02:00
config fix: `fleet-shards.test.json` (#4503) 2023-12-21 09:53:54 -04:00
connection Address linter issues 2022-03-28 13:14:12 +01:00
contracts feat: add sepolia optimism 2024-01-30 08:57:06 +01:00
db Address linter issues 2022-03-28 13:14:12 +01:00
deprecation fx: deprecate profile and timeline chats (#3809) 2023-08-03 17:16:11 +03:00
discovery chore: upgrade go-waku and log about messages sent/received 2022-11-09 17:39:17 +03:00
eth-node fix: handle community shard unassignment and update (#4627) 2024-01-30 13:56:59 -04:00
exchanges URL unfurling (initial implementation) (#3471) 2023-05-18 15:43:06 -03:00
exportlogs Upgrade geth to 1.9.5 and Whisper (#1617) 2019-10-04 17:21:24 +02:00
extkeys Upgrade geth 2021-07-20 10:57:38 +02:00
images (fix/status-go) fix profile picture update/removal (#4570) 2024-01-24 12:09:28 -08:00
ipfs fix: add mode build param and change ipfs gateway accordingly 2022-08-26 18:57:55 +02:00
logutils print origins for log (#4277) 2023-11-09 14:35:59 +08:00
mailserver Add basic peersyncing 2024-01-23 12:46:17 +00:00
metrics Upgrade linter to 1.50.0 2023-01-13 17:52:03 +00:00
mobile fix: endless logout (#4563) 2024-01-30 19:45:08 +08:00
multiaccounts fix: set display name issue (#4642) 2024-02-01 19:13:41 +03:30
node fix: full nodes should run filter and lightpush (#4655) 2024-01-31 14:45:24 -04:00
nodecfg feat_: Allow to set custom nodes & log level 2023-11-29 09:31:02 +00:00
notifier Notifier package to interact with gorush notifications (#910) 2018-05-08 16:30:03 +02:00
params fix: full nodes should run filter and lightpush (#4655) 2024-01-31 14:45:24 -04:00
peers synchronize display name (#2989) 2022-12-29 14:16:19 +08:00
postgres ci: parametrize DB port for unit tests 2023-09-18 19:54:21 +02:00
profiling test: use `T.TempDir` to create temporary test directory (#2746) 2023-04-26 21:39:51 +01:00
protocol fix: set display name issue (#4642) 2024-02-01 19:13:41 +03:30
rpc feat: add sepolia optimism 2024-01-30 08:57:06 +01:00
rtt rename status-react to status-mobile 2022-07-17 15:37:14 +02:00
server Revert "test: bump go-libp2p" 2024-01-18 20:29:33 +00:00
services feat(wallet): Add session-based activity API for dynamic updates 2024-02-01 19:55:06 +01:00
signal feat(discord): Split import channel signals and community import signals (#4232) 2023-11-07 13:44:10 +03:00
sqlite fix: close messenger's databases in tests 2023-11-28 20:59:25 +01:00
static Add basic peersyncing 2024-01-23 12:46:17 +00:00
t Add basic peersyncing 2024-01-23 12:46:17 +00:00
telemetry Bump waku version (#4407) 2023-12-05 12:29:27 +08:00
timesource Fix/timesource offline (#4309) 2023-11-13 14:06:32 -05:00
transactions feat(wallet): Add session-based activity API for dynamic updates 2024-02-01 19:55:06 +01:00
vendor fix(wallet): handle BlobTxType transaction. 2024-01-31 10:06:14 +01:00
waku fix: clear waku envelopes cache when deleting a chat (#4621) 2024-01-30 13:43:34 +00:00
wakuv2 fix: full nodes should run filter and lightpush (#4655) 2024-01-31 14:45:24 -04:00
walletdatabase fix(wallet): add a forgotten migration file to remove ETH transfers that 2024-01-31 14:37:48 +01:00
.codeclimate.yml This PR (status-go) fixes #12821 (#4516) 2024-01-08 10:18:57 -08:00
.dockerignore Ignore *.test files from all folders (#635) 2018-02-08 14:23:08 +02:00
.gitignore Add waku libs to gitignore 2023-10-05 14:11:38 +01:00
.golangci.yml waku2: static shards (#3944) 2023-10-12 15:21:49 -04:00
.travis.yml Remove Ropsten and Rinkeby test networks 2022-10-24 14:17:46 +02:00
BOOTNODE.md docs: clarify purpose and describe ports 2020-02-06 18:44:23 +01:00
CMakeLists.txt dev: allow option to force compiling for apple silicon 2022-06-30 09:42:19 +02:00
CONTRIBUTING.md rename status-react to status-mobile 2022-07-17 15:37:14 +02:00
LICENSE.md Create LICENSE.md 2016-09-21 10:00:29 +08:00
MAILSERVER.md rcp.sh: curl wrapper for easier RPC calls 2021-08-24 11:23:25 +02:00
Makefile chore: set extended timeout only for `protocol` package 2024-01-26 12:27:57 +01:00
README.md Explain how to run Waku node in README (#1921) 2020-04-09 18:33:53 +02:00
RELEASING.md rename status-react to status-mobile 2022-07-17 15:37:14 +02:00
VERSION fix: set display name issue (#4642) 2024-02-01 19:13:41 +03:30
WAKU.md Create WAKU.md with spec support (#1855) 2020-02-21 17:56:15 +08:00
go.mod fix(wallet): handle BlobTxType transaction. 2024-01-31 10:06:14 +01:00
go.sum fix(wallet): handle BlobTxType transaction. 2024-01-31 10:06:14 +01:00
nix.conf ci: use Nix shell to provide Android SDK for builds 2022-12-05 15:48:27 +01:00
shell.nix nix: go-junit-report 2.0.0 -> 2.1.0 2024-01-22 13:39:38 +01:00