Giter VIP home page Giter VIP logo

alerticular's People

Contributors

ekeih avatar markusressel avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

alerticular's Issues

Target chat aliases

Although the @channel style chat target for aiogram was implemented in #8, it doesn't work for usernames. This is probably due to Telegram not allowing reverse lookups of user id and groups id but only for channels.

To work around this limitation and also allow the configuration of the same target user/chat for various target platforms, target aliases shall be implemented.

The details are yet to be defined, but this is a first idea:

A user-defined configuration file / ConfigMap can be (optionally) provided, which defines a mapping between an arbitrary target chat alias, and the corresponding chat ids/names for each target platform:

markus:
  telegram: "012345678"
  matrix: "@markus:matrix.org"
ekeih:
  telegram: "123456780"
admin-channel:
  telegram: "234567801"
  matrix: "@admins:matrix.org"

This configuration is read by alerticular and used to send messages to the correct chat when receiving webhooks on f.ex.:

Since the alias is used in the webhook, the alias name must not use characters unsuitable for a URL.

The alias file could also be used to allow webhook urls like:

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Other Branches

These updates are pending. To force PRs open, click the checkbox below.

  • chore(deps): update dependency black to v23.12.1
  • chore(deps): update dependency mypy to v1.10.0
  • chore(deps): update dependency pytest-mock to v3.14.0
  • fix(deps): update dependency aiohttp to v3.9.5

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

dockerfile
Dockerfile
  • python 3.11.5-alpine
github-actions
.github/workflows/black.yml
  • actions/checkout v4
  • actions/setup-python v4
.github/workflows/docker.yml
  • actions/checkout v4
  • docker/login-action v3
  • docker/metadata-action v5
  • docker/build-push-action v5
.github/workflows/python-build.yml
  • actions/checkout v4
  • actions/setup-python v4
  • abatilo/actions-poetry v2.4.0
  • futuratrepadeira/changed-files v4.2.0
pep621
pyproject.toml
  • poetry >=1.2.2
poetry
pyproject.toml
  • python ^3.7
  • aiogram ^2.22
  • aiohttp ^3.8
  • click ^8.1
  • emoji ^2.1
  • Jinja2 ^3.1
  • prometheus_async ^22.2
  • telegram-click-aio ^1.0.0
  • black ^23.0.0
  • pytest ^7.2
  • pytest-cov ^4.0
  • pytest-aiohttp ^1.0.0
  • pytest-mock ^3.5.0
  • mypy ^1.0

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.