Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Feature request: test notification #5

Closed
mthqwork opened this issue Feb 26, 2022 · 0 comments
Closed

Feature request: test notification #5

mthqwork opened this issue Feb 26, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@mthqwork
Copy link

It'd be great to have a --test switch to send a test notification with each template, to make editing/testing easier.

@jouir jouir added the enhancement New feature or request label Feb 27, 2022
jouir added a commit that referenced this issue Feb 27, 2022
- Add ETC to the list of supported coins. A new `coin` setting can be
  configured to avoid conflict with `eth`. Mind the lowercase. By default,
  flexassitant will try to deduce the coin from the miner's address (with eth by
  default, not etc).

- Add `test` (true/false) to `notifications` section to test notifications with
  random values fetched from the Flexpool API

- Fix typo in the configuration example

BREAKING CHANGE: `notification-templates` configuration settings have been
renamed to `notifications`, with sections to configure balance, payment, block
and offline workers notifications, with `template` and `test` settings.

Signed-off-by: Julien Riou <julien@riou.xyz>
jouir added a commit that referenced this issue Feb 27, 2022
- Add ETC to the list of supported coins. A new `coin` setting can be
  configured to avoid conflict with `eth`. Mind the lowercase. By default,
  flexassitant will try to deduce the coin from the miner's address (with eth by
  default, not etc). (#5)

- Add `test` (true/false) to `notifications` section to test notifications with
  random values fetched from the Flexpool API

- Fix typo in the configuration example (#6)

BREAKING CHANGE: `notification-templates` configuration settings have been
renamed to `notifications`, with sections to configure balance, payment, block
and offline workers notifications, with `template` and `test` settings.

Signed-off-by: Julien Riou <julien@riou.xyz>
@jouir jouir closed this as completed Feb 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants