Commit Graph

87 Commits (5d4962389bcce4e8d8f8ea3bddfddf5494d4356a)

Author SHA1 Message Date
hikariatama 02fd9ad602 Fix some stuff for deepsource 2022-04-29 17:57:56 +00:00
hikariatama df3a2befd3 1.1.10: Add ability to download modules from additional repos (e.g. .dlmod weather) 2022-04-29 07:07:54 +00:00
hikariatama db9edf8d75 Fix HikkaDL as mentioned in https://github.com/hikariatama/Hikka/issues/13 2022-04-28 11:55:58 +00:00
Hikari 8c02fd5b1d
1.1.9: Fix `_generate_markup` (hooks setup), add `switch_inline_query|current_chat` parsers 2022-04-26 13:40:40 +00:00
Hikari f56a380fc6
1.1.8: Add `on_dlmod` hook, fix translations, fix okteto pinger and some minor stuff
More info in t.me/hikka_ub
2022-04-25 13:10:34 +00:00
Hikari 185457140d Minor fixes 2022-04-23 21:34:48 +00:00
Hikari afaeea5ab7
Add comparsation link to update notifications 2022-04-23 15:15:22 +00:00
Hikari 81f7cfeda6 Fix attr error `_find_data_channel` 2022-04-23 15:08:17 +00:00
Hikari 1b846a6e1b
Return best match if no full-match occurred in `.help` 2022-04-23 12:30:37 +00:00
Hikari d74aaa99fd
Remove weird "-> None" typehints, idk why I left them for so longs 2022-04-23 12:12:52 +00:00
Hikari 791f1d1774
Make core modules loader data accessible via inspect 2022-04-23 12:09:12 +00:00
Hikari 4bd1d302fa
1.0.7: Add `self.animate` function to all modules, which allows you to easily create fancy animations 2022-04-23 11:26:14 +00:00
Hikari f4f7e8e0b9
1.1.4: `utils.get_git_hash()`, fix stuff, add debugging mode for modules. For more info check t.me/hikka_ub 2022-04-22 12:51:17 +00:00
Hikari c4501a5a4a
1.0.3: Finally (hopefully) fix config 2022-04-18 13:20:12 +00:00
Hikari 20992a7d43
1.1.2: Add `@loader.loop` in order to provide developers native and easy access to inifite loops 2022-04-17 15:59:54 +00:00
Hikari 60f104f542
Save config values at mod config, rather than in __module__ 2022-04-17 11:39:13 +00:00
Hikari 2d525ab6b0
1.1.1: Finally drop Uniborg and Raphielgang compatibility layer, refactor code a bit, fix minor bugs
This layer was needed 2 yrs ago, when FTG was starting and there were no modules. Right now, there are much more modules for FTG\GeekTG\Hikka, rather than for Uniborg and Raphielgang, so I decided to drop this layer, bc it is very large amount of code and kinda useless right now
2022-04-17 08:52:43 +00:00
Hikari 69c64072c3
1.1.0: First major update. A LOT OF STUFF. Really, a lot. Check out hikka channel for more info 2022-04-16 20:00:15 +00:00
Hikari 6b1d20d0f8
Add ability to disable automatic backups 2022-04-15 09:39:41 +00:00
Hikari 74ae9ecb57
Add automatic database backup (`HikkaBackup`) 2022-04-15 09:30:34 +00:00
Hikari 22c260492a
Add `.nonickchat` command to HikkaSettings
You can enable NoNick for certain chat in order to avoid userbot spam in not-needed chats
2022-04-15 08:01:58 +00:00
Hikari a930e85678
Allow user to control callback buttons (forms) security via `.security` command 2022-04-15 07:44:59 +00:00
Hikari c6b03249e8
Update `cache_time` in native query answers so they are not cached anymore 2022-04-14 17:56:50 +00:00
Hikari c98a9f610b
Automatically confirm update if it was initiated via the button in update notifier 2022-04-14 09:25:26 +00:00
Hikari 21d9133d30
1.0.29: Add `@loader.inline_everyone`
This can be used underneath inline handlers and callback handlers to control default permission rules. Don't forget to set up an inline security mask in `.inlinesec`, otherwise some modules could become unusable
2022-04-13 17:59:55 +00:00
Hikari 748f51351f 1.0.28: Add `silent` param to lists, forms and galleries; Add `photo` param to inline form
Add URL validator to `inline._generate_markup`, which will ignore buttons with invalid urls
2022-04-13 17:15:00 +00:00
Hikari f4761b91de
Add CakesTwix to allowed origins
There was no https://twix.nonfalse-networks.net.ua/modules, which have been forbading to install modules from this origin via buttons
2022-04-12 13:08:06 +00:00
Hikari fdef2634de
Fix weird bug with un-translated modules due to invalid `__module__` 2022-04-09 12:46:51 +00:00
Hikari f2ef452acd
Fix `.dlmod`, remove logspam from utils 2022-04-09 12:12:19 +00:00
hikari.ftg f76db91648 1.0.25: Add `disable_security` param to forms, galleries, lists and query galleries. Clean up code a lil bit 2022-04-08 12:26:42 +00:00
hikari.ftg bf4098339d Deepsource fixes 2022-04-07 18:01:20 +00:00
hikari.ftg 817eda537b Okteto fixes 2022-04-07 16:41:15 +00:00
hikari.ftg f19c40bbef `utils.dnd`, which silence the peer and archives it (especially good for bots, which are used to obtain tokens), automatically silence the @hikka_userbot, @botfather and others. Update typehints in utils 2022-04-07 16:29:59 +00:00
hikari.ftg 045fcf4323 Migrate from string formmating to f-strings in logging 2022-04-07 16:15:26 +00:00
hikari.ftg 4e87ebd3c2 1.0.24: Refactor security, fix security for groups, remake module storage system with legacy db migration 2022-04-07 15:50:13 +00:00
hikari.ftg 556a52b2fb Omit case when unloading module 2022-04-07 13:33:54 +00:00
hikari.ftg 3cf750a586 Attempt to install dependencies from error message if they are not specified in code 2022-04-07 13:27:33 +00:00
hikari.ftg 737dfd8343 Add modules' creators propriety gesture to HikkaDL (Automatic reaction when downloading via button) 2022-04-07 11:17:10 +00:00
hikari.ftg bd6f35878d 1.0.23: Add ability to disable HikkaDL natively, add support for non-inline mode for Updater 2022-04-07 10:54:16 +00:00
hikari.ftg 0139b7bd9c Automatically revoke HikkaAPI token if it expires \ becomes invalid 2022-04-07 09:14:27 +00:00
hikari.ftg db14892ce2 Add requirements 2022-04-06 19:09:20 +00:00
hikari.ftg 050ac0ea4f 1.0.22: Add HikkaDL module to use download buttons 2022-04-06 19:05:31 +00:00
hikari.ftg 8181ae56f4 UpdateNotifier translateability 2022-04-06 06:10:29 +00:00
hikari.ftg 29784d2e0d Delete last update notification when new one is upstrea 2022-04-06 06:03:19 +00:00
hikari.ftg 1cd3302c9c Cool updater (test) 2022-04-05 19:10:52 +00:00
hikari.ftg 25ae14de28 Fix `_bot_username` attribute error 2022-04-05 18:53:13 +00:00
hikari.ftg 179f12d9ca 1.0.21: A lot of stuff: web fixes, bug fixes, automatic seamless userbot restart when adding new account in web, replace emojies, add inline list feature, fix `types` name conflict and I don't remember other fixes, read code 2022-04-05 16:46:03 +00:00
hikari.ftg 708639d7f2 Fix UpdateNotifier 2022-04-03 17:34:59 +00:00
hikari.ftg 467c093a26 Upload UpdateNotifier 2022-04-03 17:30:17 +00:00
hikari.ftg 273c3d6561 Remove Okteto debugging 2022-04-03 17:14:40 +00:00