Commit Graph

110 Commits

Author SHA1 Message Date
kiriharu
8a45f26d2e
Update Dockerfile-api
use python:3.9.4-slim-buster img
2021-06-02 23:51:32 +03:00
kiriharu
459a7e14b1
Merge pull request #34 from catspace-dev/notificators
small refactor, notify checks to admins
2021-06-01 21:37:13 +03:00
kiriharu
4ca6ae50cc fix session closing bug 2021-06-01 21:34:34 +03:00
kiriharu
00ea38b251 small refactor 2021-06-01 21:16:51 +03:00
kiriharu
3ca281627f Send all checks result to NOTIFICATION_USERS if NOTIFY_CHECKS enabled 2021-06-01 21:01:33 +03:00
kiriharu
aff843c867 log warning if notification token not setted 2021-06-01 20:43:39 +03:00
kiriharu
ce576c4160 update start message 2021-03-31 11:35:30 +03:00
kiriharu
4ff26959ee sentry integration 2021-03-31 11:33:57 +03:00
kiriharu
4ce150a42b fix #32 2021-03-31 10:45:55 +03:00
kiriharu
153f22c927 fix #25 2021-03-31 09:48:48 +03:00
kiriharu
f1577271df don't push metrics if INFLUX_HOST not provided 2021-03-31 09:44:08 +03:00
kiriharu
ce2a6d5bdd
Merge pull request #29 from cmd410/imports_fix
This should probably fix relative imports in tgbot
2021-02-21 14:38:00 +03:00
Crystal Melting Dot
7a8990bc74 Sort imports 2021-02-21 13:43:32 +03:00
Crystal Melting Dot
784cae145d better structure 2021-02-21 13:14:55 +03:00
Crystal Melting Dot
723172387b this should probably make relative imports work 2021-02-21 00:43:41 +03:00
Crystal Melting Dot
eda75f552c may as well not use lambdas here 2021-02-20 22:56:20 +03:00
Crystal Melting Dot
8a74756ab6 remove check_int 2021-02-20 18:42:47 +03:00
Crystal Melting Dot
70eb279982 remove not used asyncio import 2021-02-20 18:26:51 +03:00
Crystal Melting Dot
82409c669b nicer tests and host:port parsing 2021-02-20 18:24:39 +03:00
Crystal Melting Dot
f81f1953d1 Remove redundant async/await when there is no IO 2021-02-20 17:03:15 +03:00
kiriharu
51fc561ef4
cryptography module rust fix
see https://cryptography.io/en/latest/installation.html#rust
2021-02-19 00:13:44 +03:00
kiriharu
0649a1c3c9
Merge pull request #26 from Termonoid/main
Port can be defined as host:port
2021-02-18 23:42:27 +03:00
kiriharu
2f97dea49b
rename project 2021-02-05 13:49:33 +03:00
Termonoid
ff8143ccf4 Тесты? Тесты. Мержи уже 2021-02-03 20:40:02 +03:00
Termonoid
766198ad81 Update help messages for host:port form of command 2021-01-31 12:42:22 +03:00
Termonoid
a54a938c2f Port can be defined as host:port 2021-01-31 10:27:22 +03:00
kiriharu
87771c7505
Update docker-compose-tgbot.yml 2021-01-30 15:06:43 +03:00
kiriharu
488ae0ca9a
Update tgbot.env 2021-01-30 15:05:16 +03:00
kiriharu
c117a8246c retry connection to database after fail 2021-01-30 14:56:24 +03:00
kiriharu
6475271234 save command logs to database 2021-01-30 13:34:08 +03:00
kiriharu
36d8020dd2 saving info about user after /start 2021-01-30 13:01:05 +03:00
kiriharu
b8162edff0 fix message in start.py 2021-01-30 01:40:09 +03:00
kiriharu
7147d3c1ef aliases in dispatcher, new /start message 2021-01-30 01:32:49 +03:00
kiriharu
25c36944d6
Update .gitignore 2021-01-30 01:15:22 +03:00
kiriharu
f0dbdd8a30
fix gevent compile issue 2021-01-28 16:17:48 +03:00
kiriharu
1bd0b6e78e added tortoise as dependency, for settings update 2021-01-17 18:08:17 +03:00
kiriharu
f6aff5a9ef fix errors, more error handling 2021-01-14 00:37:57 +03:00
kiriharu
8a89e58840 added entry for .cf domain 2021-01-14 00:37:29 +03:00
kiriharu
8ff4d8c16c cover many domain zones with whois_vu package 2021-01-13 23:49:23 +03:00
kiriharu
f7a8622875 rewrited whois 2021-01-13 23:01:04 +03:00
kiriharu
09fd459a1f starting rewriting whois 2021-01-13 22:36:05 +03:00
kiriharu
8afcb2e087 rewrited commands 2021-01-13 22:24:09 +03:00
kiriharu
352d27f8b2 added CheckerTargetPortHandler, added validation in SimpleCommandHandler 2021-01-13 22:23:46 +03:00
kiriharu
8eea9a3a2f created validators classes 2021-01-13 22:22:35 +03:00
kiriharu
1bbe0ade62
Merge pull request #21 from cmd410/main
Better split without space
2021-01-13 20:36:25 +03:00
Crystal Melting Dot
8c49d3f0b6 Better split without space 2021-01-13 18:04:14 +03:00
kiriharu
4501018078 markdown parse mode for ipcalc help messages, hotfix 2021-01-11 12:07:15 +03:00
kiriharu
5ab4d79b6e rate limit for ipcalc handler 2021-01-11 12:01:46 +03:00
kiriharu
335074d693 added /ipcalc command, close #14 2021-01-11 12:00:26 +03:00
kiriharu
d778e3b485 small rewrite for base handlers again 2021-01-11 11:59:29 +03:00