Commit Graph

19 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 697dac6922
Rewrite CacheDB && Implements UserStates 2024-08-06 13:59:44 +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 015e01b6be
Add PythonCache implementation of CacheDB
- add User class to db.types
- init db.cache
- Add PythonCache class
2024-08-05 16:43:00 +03:00
trueold89 ba696f4c56
Add CacheDB abstract class
- init tubot.db
- init tubot.db.types
- init tubot.db.abc
- add CacheDBTypes enum
- add UserStates enum
- add CacheDB abstract class
2024-08-05 15:42:35 +03:00
trueold89 ebca2172f4
Add JellyfinAPI implementation of DirGetter 2024-08-05 15:22:29 +03:00
trueold89 b00c60f448
Add OSGetter implementation of DirGetter
- init dirgetter.getter
- add OSGetter class
2024-08-05 14:56:18 +03:00
trueold89 0b48cb152e
Add DirectoryGetter abstract class
- init dirgetter module
- init dirgetter.types
- init girgetter.abc
- Add DirGetter absctract class
2024-08-03 16:49:22 +03:00
trueold89 cf48b90f2a
Add qBitTorrent torrent server API implementation
- init torrent.api
- Add qBitTorrent class
2024-08-03 16:36:57 +03:00
trueold89 e8acbd89c7
Update validate static function 2024-08-03 13:49:08 +03:00
trueold89 6e4959e918
Add TorrentAPI server abstract class
- Add TorrentFromServer type class
- Add TorrentListBuilder builder pattern class
- Add TorrentAPI abstract interface
2024-08-03 13:45:57 +03:00
trueold89 ed324557c8
Add torrent objects
- Init torrent module
- Init torrent.types
- Init torrent.abc
- Init torrent.torrents
- Add TorrentTypes Enum
- Add TorrentObj absctract class
- Add TorrentFile, TorrentMagnet and TorrentURL classes
2024-08-03 12:04: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
trueold89 84471f1001
Initial commit 2024-08-03 10:32:25 +03:00