Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding telegram support #2827

Merged
merged 20 commits into from
Feb 22, 2022
Merged

Commits on Feb 4, 2022

  1. added telegram config in notifiers

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    f0eed9b View commit details
    Browse the repository at this point in the history
  2. added telegram config to config.go

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    d09a414 View commit details
    Browse the repository at this point in the history
  3. added package telegram to notify and initialization in cmd

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    28e7f3a View commit details
    Browse the repository at this point in the history
  4. added telegram.default.message

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    fc16a1f View commit details
    Browse the repository at this point in the history
  5. added telegram template to notifiers.go

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    ba40e58 View commit details
    Browse the repository at this point in the history
  6. added message rendering from template to telegram integration

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    7ce20ae View commit details
    Browse the repository at this point in the history
  7. documentation for telegram_configs

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    a1393c2 View commit details
    Browse the repository at this point in the history
  8. added tests for telegram

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    b52fdac View commit details
    Browse the repository at this point in the history
  9. fixed config_test.go

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 4, 2022
    Configuration menu
    Copy the full SHA
    8e365cd View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2022

  1. added valid parse_mode list to the error log

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    b884e06 View commit details
    Browse the repository at this point in the history
  2. made use of httpconfig, moved telegram client creation to New func, c…

    …hanged message truncation to 4096 chars
    
    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    e039834 View commit details
    Browse the repository at this point in the history
  3. changed supported values for telegram config

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    7984905 View commit details
    Browse the repository at this point in the history
  4. added mock url for telegram tests to pass

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    fe86e87 View commit details
    Browse the repository at this point in the history
  5. added api_url check to telegram config

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    c431bfb View commit details
    Browse the repository at this point in the history
  6. changed bot_token type to secret

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    0993989 View commit details
    Browse the repository at this point in the history
  7. removed extra emptyline

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    f5ef565 View commit details
    Browse the repository at this point in the history
  8. convert bot_token to string in telegram client creation

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    256ba76 View commit details
    Browse the repository at this point in the history
  9. updated configuration.md

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    fef2437 View commit details
    Browse the repository at this point in the history
  10. fixed mixed up errors

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    15576d8 View commit details
    Browse the repository at this point in the history
  11. check telegram api url without conversion to string

    Signed-off-by: timmilesdw <tuktamyshev.t0308@gmail.com>
    timmilesdw committed Feb 7, 2022
    Configuration menu
    Copy the full SHA
    d7a3829 View commit details
    Browse the repository at this point in the history