Commit Graph

9 Commits

Author SHA1 Message Date
trueold89 0aa90228e0
Add auth system to bot && reformat
- add auth_check() function to bot
- add /auth command to bot
2024-08-15 19:56:24 +03:00
trueold89 3c02cc20e9
Init bot.py && some bugfix
- init bot.py
- add initialize function
- add entrypoint
- fix user auth wrong exception
- fix dirs cache
2024-08-07 21:01:00 +03:00
trueold89 f88f007910
Reformat exceptions
- init static.exceptions.py
- reformat exceptions
- add static.functions.validate() messages
2024-08-07 19:49:55 +03:00
trueold89 eb1dc48a11
Add Controller object
- init controller.py
- Add Controller class
- Add AUTH_PASSWD env var
- Add new method 'is_user_exist' to CacheDB
2024-08-07 19:01:48 +03:00
trueold89 c2ab00680f
Add InitBuilder 2024-08-06 14:59:50 +03:00
trueold89 dd27264fd5
Add Redis implementation of CacheDB
- Add RedisCache class
- Add REDIS_HOST env var
2024-08-05 21:21:13 +03:00
trueold89 1e3ce3a55e
Add PN_CACHE env value
- Add ENV abstract class to static
- Init static.env
- Add PN_CACHE env
2024-08-05 17:43:58 +03:00
trueold89 e8acbd89c7
Update validate static function 2024-08-03 13:49:08 +03:00
trueold89 8656f1e68e
Add validation check function
- Init static module
- Init static.abc
- Init static.functions
- Add IValidatable intefrace
- Add validate function
2024-08-03 11:38:15 +03:00