Commit Graph

319 Commits (d2d7674575a4108b5d856dfcd9dd80289396da16)

Author SHA1 Message Date
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 e6336679d7
Add Raspberry Pi recognition to `utils.get_named_platform`. thx to @CakesTwix 2022-04-11 13:21:29 +00:00
Hikari eea3d2f3e5 1.0.27: New requirement - grapheme. New `utils.smart_split`, authored by t.me/bsolute. Minor improvements 2022-04-10 21:44:20 +00:00
Hikari fdef2634de
Fix weird bug with un-translated modules due to invalid `__module__` 2022-04-09 12:46:51 +00:00
Hikari aa34046f27
Fix loading status messages for forms, galleries and lists 2022-04-09 12:30:46 +00:00
Hikari f2ef452acd
Fix `.dlmod`, remove logspam from utils 2022-04-09 12:12:19 +00:00
Hikari 070366b341
1.0.26: Add `utils.smart_split` which splits the message in chunks and relocates entities so they fit. If `utils.answer` response is too large to send in one message, it will be split in chunks and sent using `inline.list` 2022-04-09 11:56:39 +00:00
Hikari dc16e406ff
Fix when answering inline query via native method 2022-04-09 08:04:51 +00:00
Hikari bf6297388e
Fix markup 2022-04-08 16:06:55 +00:00
Hikari d0b63e4798
Fix some typos 2022-04-08 13:52:01 +00:00
Hikari 24759e5005
Protect core modules and internal commands from being overwritten by weird external analogs 2022-04-08 13:47:12 +00:00
hikari.ftg 19da41bcbc Fix `.unloadmod`, allow to edit forms `disable_security` on `call.edit` 2022-04-08 12:43:26 +00:00
hikari.ftg c49b03bfea Update docstrings 2022-04-08 12:35:36 +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
DeepSource Bot 6dacf19387 Update .deepsource.toml 2022-04-08 12:11:04 +00:00
hikari.ftg bf4098339d Deepsource fixes 2022-04-07 18:01:20 +00:00
hikari.ftg e1995e2c4e Delete outdated docs bc they migrated to github wiki 2022-04-07 17:51:40 +00:00
Dan Gazizullin 16fc1b2217
Merge pull request #7 from hikariatama/beta
1.0.24
2022-04-07 20:00:27 +03: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 b71f51e8ea Automatically add `text` and `raw_text` attributes to an `Event` object to avoid weird logspam from dochub modules 2022-04-07 13:31:24 +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 bf6298db45 Compat update 2022-04-05 18:46:52 +00:00
hikari.ftg c0a101bdc2 Some fixes 2022-04-05 18:07:23 +00:00
hikari.ftg 93e44db8e7 Minor bug fixes 2022-04-05 17:38:43 +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
hikari.ftg 764b158e91 Add `.hikkainfo` cmd 2022-04-03 16:52:45 +00:00
hikari.ftg 60fe788d2e 1.0.20: Allow passing `reply_markup` field to inline result. Allow passing only dict or only one embeded list with dicts, if you don't need a lot of lines of buttons 2022-04-03 16:17:54 +00:00
hikari.ftg 759ff3ef16 1.0.19: Allow developers to return InlineQuery result via `dict` \ list of `dict`s. Move query gallery to a separate module 2022-04-03 15:46:32 +00:00
hikari.ftg d34a12d768 Fix 2022-04-03 11:03:02 +00:00
hikari.ftg 03f7c71557 Bug fixes and refactorment 2022-04-03 11:01:05 +00:00
hikari.ftg 15bc667860 Minor bug fixes 2022-04-03 10:45:08 +00:00
hikari.ftg 94a7bdc221 Hotfix 2022-04-02 20:33:46 +00:00