Commit Graph

82 Commits

Author SHA1 Message Date
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
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
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
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
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
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
kiriharu
b6918d8724 implement simple command handlera 2021-01-10 19:47:36 +03:00
kiriharu
19a400328e fix token remove in admin reports and logs 2021-01-09 12:40:00 +03:00
kiriharu
4931730a8e fix #18, fix #19 2021-01-09 01:41:21 +03:00
kiriharu
1e62f24748 fix #15 2021-01-08 20:28:46 +03:00
kiriharu
3cabd5e732 fix #16 #17 2021-01-08 20:27:23 +03:00
kiriharu
b0e7f71d0f fix #12 2021-01-07 02:07:38 +03:00
kiriharu
a37f07e125 update links in /start 2021-01-07 01:45:42 +03:00
kiriharu
d2b6978b05 speedup requests to backend using asyncio.as_completed 2021-01-07 01:24:23 +03:00
kiriharu
e66afe0757
Update icmp.py
fix "markdowning" message
2021-01-06 03:09:45 +03:00
kiriharu
b33b938b95 fix #10 2021-01-06 00:35:25 +03:00
kiriharu
714dc2e4a2 report problems about api requests to admins, close #3 2021-01-06 00:29:45 +03:00
kiriharu
1b9b6c5cce added bot dockerfile 2021-01-05 21:51:09 +01:00
kiriharu
4f7fb7f1df throttling middleware, close #9 2021-01-05 21:26:24 +03:00
kiriharu
41cec1f044 basic logging 2021-01-05 20:43:18 +03:00
kiriharu
b755a24ce2 metrics with aioinflux 2021-01-05 20:23:28 +03:00
kiriharu
ea40f85d63 base rewrite 2021-01-05 17:26:03 +03:00