Commit Graph
49 Commits
Author SHA1 Message Date
Nick Ninov 0d677474d2 backup: Windows slashes 2026-04-19 22:52:44 +03:00
Nick Ninov df2d8662fb wallet: Account balance
- Related to https://github.com/status-im/status-bot/issues/16
- Get account balance
- Convert account balance into fiat currency
- Make properties private
2026-04-04 10:42:58 +03:00
Nick Ninov b2c28851c9 docs: Windows image build notes 2026-04-02 20:25:39 +03:00
Nick Ninov 8a51bdf340 docs: Improve search and readability
- Related to https://github.com/status-im/status-bot/issues/11
- Document features that can be used with `infura_token`
- Add `coingecko_api_key` **but needs additional documentation and validation**.
- Add sub headers in `Methods` and `Properties`
- Add diagrams for `How it works` and `Setup`
- Add Status App images for relatability
2026-04-02 19:42:02 +03:00
Nick Ninov a4296611f9 wallets: additional info 2026-04-01 12:39:08 +03:00
Nick Ninov 4d72b681a2 bot: balance usage
- Get balance for given wallet, token address, chain id and CCY
- Get all Status tokens
- Get current market value for given token address, chain id and CCY
2026-03-28 23:40:34 +02:00
Nick Ninov 4e8c35ce34 bot: display name validation
- https://github.com/status-im/status-app/issues/20273
2026-03-27 08:46:01 +02:00
apentori 0933807f0d move docs
Signed-off-by: apentori <pentori.alexis@proton.me>
2026-03-26 16:10:59 +01:00
apentori 7562d4943b ci: update image name
Signed-off-by: apentori <pentori.alexis@proton.me>
2026-03-26 15:38:36 +01:00
Nick Ninov 44d7b915a7 bot: sharable URLs
- Contact URLs
- Community URLs
- Community channel URLs
2026-03-25 22:22:28 +02:00
Nick Ninov 465797feb3 bot: Status App Monitoring
Related to:
- https://github.com/status-im/status-bot/issues/14
- https://github.com/status-im/status-bot/issues/4
- https://github.com/status-im/data-docs/issues/153

Notes:
- Simplified `Account` class is used instead of initial `StatusBackend`
- Add `Account` requirements.txt
- Fixed backup load bug. Initially wrong event was monitored and it would wait forever.
- Latest Status Backend Dockerfile is pulled from GitHub instead of Harbor
- Postgres schema is created if it doesn't exist
- `listen_message` - return only incoming messages instead of everything that has `messages.new` signal
- Get default wallet address
- Safely `__del__` the `Account`
2026-03-25 11:54:37 +02:00
Nick Ninov 9922348735 bot: incorrect messages 2026-03-24 21:59:44 +02:00
Nick Ninov b4df638f9b bot: PR changes (2) 2026-03-24 18:46:36 +02:00
Nick Ninov 2ab7056699 bot: minor bug fix
- `Account` would break when the Python script finishes and does not have anything to logout or close
- Wrong address was used as `wallet_address`
2026-03-23 09:10:04 +02:00
Nick Ninov 68dacbfc34 bot: PR changes
Make PR changes based on resolved suggestions
2026-03-23 07:36:49 +02:00
Nick Ninov bf569a0aa5 bot: add missing requirements.txt 2026-03-20 11:50:23 +02:00
Nick Ninov bcb34da804 bot: Status App Monitoring
Related to:
- https://github.com/status-im/status-bot/issues/14
- https://github.com/status-im/status-bot/issues/4
- https://github.com/status-im/data-docs/issues/153

Notes:
- SImplified `Account` class is used instead of initial `StatusBackend`
- Add `Account` requirements.txt
- Fixed backup load bug. Initially wrong event was monitored and it would wait forever.
- Latest Status Backend Dockerfile is pulled from GitHub instead of Harbor
- Postgres schema is created if it doesn't exist
2026-03-19 22:47:35 +02:00
apentori 91ef6d31b1 ci: update dockerfile to use entrypoint script
update docker-compose
    update readme to simplify it

Signed-off-by: apentori <pentori.alexis@proton.me>
2026-03-16 10:16:50 +01:00
Nick Ninov dabfc5a208 account: backup
- Create `.bkp` files
- Import `.bkp` files
- Custom logger for current step visibility
- Add group chat monitoring
2026-03-14 23:38:54 +00:00
Nick Ninov 994e5c8243 account: load backup
Related to https://github.com/status-im/status-bot/issues/7

- Volume for data directory has been swapped with backup one
2026-03-14 23:36:34 +00:00
Nick Ninov 2b2d5c0a1d account: add group chats support
Related to https://github.com/status-im/status-bot/issues/8
2026-03-14 20:19:35 +00:00
Nick Ninov 6106e2f69a account: add backup folder volume
Related to https://github.com/status-im/status-bot/issues/7

- Make backup folder into a volume so `.bkp` files can be used
2026-03-13 21:37:55 +00:00
Nick Ninov 1c67a08b41 account: custom logger
Related to https://github.com/status-im/status-bot/issues/7

- Add custom logger to `Account` class
- Add `display_name` validation based on Status App
- Update new `display_name` for other accounts when account has been recovered with mnemonics
- Update documentation
2026-03-12 22:14:57 +00:00
Nick Ninov 0761a8337d account: mnemonic recovery
Related to https://github.com/status-im/status-bot/issues/7

- Recover account with mnemonic phrase in `login`
2026-03-12 16:47:53 +00:00
apentori 5209e0b54e ci: add Jenkinsfile and mutualize Dockerfile
Signed-off-by: apentori <pentori.alexis@proton.me>
2026-03-12 15:21:39 +01:00
Nick Ninov fdb50b9213 account properties: display_name and bio
- Change `username` to `display_name`
- Add `key_uid` login support
- Add bio functionality
- Update documentation
2026-03-11 16:25:12 +00:00
Nick Ninov 1fa40df89e properties: bio
- Add bio functionality
- Add documentation
2026-03-11 16:22:25 +00:00
Nick Ninov 70ee474cd4 properties: display_name
- Change `username` to `display_name`
- Add `key_uid` login support
- Update documentation
2026-03-11 12:12:01 +00:00
Nick Ninov bb471e049e docs: Account
Related to status-im/data-docs#158

- Move `Signal` class to a separate file
- Create properties and method documentation
- Write `Account` methods documentation

**Note**: Account initialization documentation will be added once the setup process is simplified
2026-03-11 08:31:45 +00:00
Nick Ninov 49d7697635 docs: Account
Related to https://github.com/status-im/data-docs/issues/158

- Move `Signal` class to a separate file
- Create properties and method documentation
- Write `Account` methods documentation

**Note**: Account initialization documentation will be added once the setup process is simplified
2026-03-11 08:30:59 +00:00
Nick Ninov d8b3ab1c94 bot: Send community request
- Add `call_rpc` for faster local development
- Send community join request
2026-03-09 22:21:45 +00:00
Nick Ninov 17d1201334 bot: Initial Status App account
Initial SDK draft

Related to:
- https://github.com/status-im/data-docs/issues/158
- https://github.com/status-im/data-docs/issues/160
- https://github.com/status-im/data-docs/issues/161

Bug fix:
- Incorrect HTTPS URL
2026-03-09 12:38:55 +00:00
Nick Ninov 0b1a63597a bot: Status App account
Related to:
- https://github.com/status-im/data-docs/issues/158
- https://github.com/status-im/data-docs/issues/160
- https://github.com/status-im/data-docs/issues/161

Bug fix:
- Incorrect HTTPS URL
2026-03-09 12:35:09 +00:00
apentori 5b198df124 readme: cleanup
Signed-off-by: apentori <pentori.alexis@proton.me>
2026-03-09 10:11:08 +01:00
Nick Ninov e09c08f055 Docs update 2026-03-06 07:53:27 +00:00
Nick Ninov 1671000fbf download: Missing messages
- Related to https://github.com/status-im/status-app-monitoring/issues/2
- Missing messages may be fetched in other daily runs runs. To reduce the risk of missing them, the data is downloaded for the previous 30 days (default `save_messages` behaviour)
2026-03-06 07:23:49 +00:00
Nick Ninov d7e5f65d6f create_account: Dockerfile
- Create Status App account only with Dockerfile
- Add different docker-compose running profile
- Update documentation
- Config `bot_name` is optional. You can specify the bot name in `.env`
2026-03-05 18:06:39 +00:00
Nick Ninov 96d208d1de Initial Dockerfile
- Create `Dockerfile` for `upload.py` and `download.py`. Code and config has been modified to be Docker friendly
- Add `Dockerfile` to `docker-compose.yaml`

**Note**: This version does not work with `create_account.py`
2026-03-05 15:18:55 +00:00
Nick Ninov 640bf1c535 Scheduling
- Make `download.py` and `upload.py` every X minutes (specified in `config.yaml`)
- Add `.editorconfig` from https://github.com/status-im/airbyte-custom-connector/blob/master/.editorconfig
2026-03-05 09:35:04 +00:00
Nick Ninov 100e3c8d56 Custom Logger
- Related to https://github.com/status-im/status-app-monitoring/issues/3
- `logger.propagate = False` is required to disable `StatusBackend` duplicated logs
2026-03-05 07:50:02 +00:00
Nick Ninov 58abd706ce upload: append mode only 2026-03-03 20:01:11 +00:00
Nick Ninov ff31c36277 download: fix infinite loop bug 2026-03-03 09:31:11 +00:00
Nick Ninov 262163e2b6 download: documentation fix 2026-03-02 10:59:05 +00:00
Nick Ninov bf1853980f download: filtered data
- `channel_id` has the indipendent ID instead of the one in https://github.com/status-im/status-go/blob/30935148c4272d7254168e10b8a4b207db8afbd1/protocol/communities/community.go#L2349-L2355
- create `.json` files for the given timestamp range
2026-03-02 10:50:33 +00:00
Nick Ninov ccfed7fc7c download: Batch download
- Create community info snapshots (`.pkl` file)
- Create messages file that will be uploaded to Postgres (`.json` file)
- Create configurable file to keep track of changes on GitHub
2026-02-27 20:49:32 +02:00
Nick Ninov 1a878b73b8 data_utils: reusable functions 2026-02-27 05:42:57 +02:00
Nick Ninov e7218e422c create_account: docker volume
- **TEMP solution** - Store account information from different `status-backend` runs.
2026-02-25 08:01:58 +02:00
Nick Ninov 0491c597f7 create_account: store credentials locally
- Initial documentation with how to run the project
- Store `create_account_and_login` credentials locally so they can be reused when messaging
- Script can be ran with arguments
2026-02-24 21:46:56 +02:00
Nick Ninov 722c56e988 Initial commit 2026-02-12 08:19:04 +02:00