Commit Graph

571 Commits (1911fdba67130596763b762f7557374dd35103e9)

Author SHA1 Message Date
hikariatama 1911fdba67 1.5.1
- Fix `--no-web` arg
- Fix `tglog_level` config option of module `Tester`
- Fix duplicated monkey on login page
- Fix shit modules with uppercase commands
- Add physical `Enter` button to login page on mobile devices
- Add `--proxy-pass` arg
- Add `utils.invite_inline_bot` method
- Add `utils.iter_attrs` method
- Add `@loader.raw_handler` decorator
- Add `invite_bot` parameter to `utils.asset_channel`
- Add support for `String` validator's `min_len` and `max_len` parameters
2022-10-10 13:45:33 +00:00
hikariatama 44da7780f6 1.5.1
- Fix duplicated monkey on login page
- Add physical `Enter` button to login page on mobile devices
2022-10-06 11:06:29 +00:00
hikariatama e90367c6ef 1.5.1
- Fix `--no-web` arg
- Fix `tglog_level` config option of module `Tester`
- Add `--proxy-pass` arg
- Add `utils.invite_inline_bot` method
- Add `invite_bot` method to `utils.asset_channel`
- Add support for `String` validator's `min_len` and `max_len` parameters
2022-10-06 10:48:25 +00:00
hikariatama 11b3c5a0be Fix `RegExp` validator with default flags 2022-09-29 07:02:28 +00:00
hikariatama 604ef6801a Fix typo 2022-09-26 13:23:20 +00:00
hikariatama 1a5a22a9da Fix automatic dependency installer 2022-09-26 13:01:18 +00:00
Dan Gazizullin 4795074a96
Merge pull request #71 from hikariatama/v1.5.0
V1.5.0
2022-09-26 15:46:10 +03:00
hikariatama 9d913b86ee Deepsource + sourcery fixes 2022-09-26 12:31:37 +00:00
hikariatama 1b1ebfbe4d Deepsource cleanup 2022-09-26 12:21:08 +00:00
hikariatama 54c568a56b 1.5.0
- Remove junk collector from tl cacher to keep old records so devs can access them w\o making new requests
- Remove FTG License in fully changed files
- Add official GoormIDE support
2022-09-25 16:50:35 +00:00
hikariatama c1fdf9b0b4 1.5.0
- Add ability to create custom IDMs
- Add fields `flags` and `description` to `RegExp` validator
- Add fields `min_len` and `max_len` to `String` validator
- Add `Emoji` validator
- Add `EntityLike` validator
2022-09-23 11:13:59 +00:00
hikariatama 3f2cff2a0f 1.5.0
- Add full trace locals length limit
- Rework full trace locals to hashable converter
2022-09-22 11:04:10 +00:00
hikariatama e6d7e203e7 change animation playback function 2022-09-22 10:52:51 +00:00
hikariatama c5e9b4ce5f 1.5.0
- Add new code input design
- Add new 2fa password input design
- Allow user to send code only once to prevent FloodWaits
2022-09-22 10:46:48 +00:00
hikariatama 3186fe154f 1.5.0
- Completely drop Heroku support due to legacy code, limits and removing of free tier
2022-09-20 16:55:12 +00:00
hikariatama 039acb33db Add new animated banner 2022-09-20 06:33:49 +00:00
hikariatama 18a83a748d 1.5.0
- Add ability to set custom emojis in `.info` using command `.setinfo`. In order to use it, remove buttons using config
- Patch internal help module with bugfixes
2022-09-19 13:18:35 +00:00
hikariatama b32a3cb497 Attempt to fix library config dynamic reload regarding https://github.com/hikariatama/Hikka/issues/38#issuecomment-1210016533 2022-09-19 06:12:41 +00:00
hikariatama 066f7a46a2 1.5.0
- Fix `on_change` param processing in config
- Fix `hikka.types.CoreOverwriteError`
- Fix incorrect commit in info for users with multiple origins
- Fix error with module configs not being updated to values which were set by user
- Fix core unload and core overwrite errors not being raised correctly
- Fix config descriptions in `APIRatelimiter`
- Fix `CoreOverwriteError` handling
- Fix `TelegramID` validator to work with values between 2^32 and 2^64 - 1
- Fix web authorization messages being sent twice
- Fix duplicated animations in web
- Fix installation banner being shown after auth in web
- Fix form placeholder button being shown when not necessary
- Add `@loader.tag(thumb_url="")` decorator
- Add new inline help format
- Add internal method for debug calls (`.invoke`)
- Add Internal Debug Method (IDM) to inspect cache (`inspect_cache`)
- Add IDM `inspect_modules`
- Add IDM `clear_cache`, `clear_entity_cache`, `clear_fulluser_cache`, `clear_fullchannel_cache`, `clear_perms_cache`
- Add IDM `reload_core` to automatically reload core modules from disk
- Add `hikka.validators.MultiChoice`
- Add `utils.get_args_html` to get arguments of command with HTML
- Add switch to mute @BotFather only once in hikka inline
- Add ability to forbid certain tl methods using `.config APIRatelimiter`
- Add new web interface design
- Clean type-hint mess, document utils and other methods, which were undocumented
- Remove redundant non-working code from configurator
- Remove redundant useless params `--hosting`, `--no-nickname`, `--token`, `--web-only`, `--docker-deps-internal`
- Migrate to lazy string interpolation in logging
- Reformat the whole code to match the desired code style
- Rename `APIRatelimiter` -> `APILimiter`
- Enable `joinChannel` and `importChatInvite` calls-by-external-modules blockage for all users by default
- Change inline query placeholder to `user@hikka:~$` + legacy migration
2022-09-18 15:47:09 +00:00
Dan Gazizullin 9baa32d11a
Merge pull request #70 from hikariatama/v1.4.2
1.4.2
2022-09-05 09:24:22 +03:00
hikariatama 6476c4adda 1.4.2
- Fix authorization error
2022-09-05 06:17:05 +00:00
Dan Gazizullin 3a357b762c
Merge pull request #68 from hikariatama/v1.4.1
V1.4.1
2022-09-04 00:15:12 +03:00
hikariatama 30876ab5cf Deepsource fixes 2022-09-03 21:06:11 +00:00
hikariatama c3553deed8 Part of 1.4.1 update 2022-09-03 20:32:56 +00:00
hikariatama e035a9d11d Fix `Ignore` in update notifier 2022-08-27 17:11:26 +00:00
hikariatama 6edcb0ec8b Fix inline buttons 2022-08-27 17:05:29 +00:00
hikariatama e90b91ba9d 1.4.1
- Create new type :obj:`hikka.tl_cache.CustomTelegramClient` to avoid monkeypatching
- Add `ttl` param for :method:`hikka.utils.asset_channel`
- Add support for custom branches (e.g. for beta testers and users, who rolled back)
- Fix automatic modules reactions
- Fix :method:`hikka.inline.utils.Utils._find_caller_sec_map`
- Refactor validators to be classes, not functions
- Refactor typehints
2022-08-27 16:55:15 +00:00
hikariatama 9373478391 Add Railway support 2022-08-23 19:40:25 +00:00
Dan Gazizullin 98622ebd6a
Merge pull request #66 from hikariatama/v1.4.0
1.4.0
2022-08-22 22:01:32 +03:00
hikariatama b9f4fd5394 1.4.0
- Fix `utils.asset_channel`
2022-08-22 18:57:43 +00:00
Dan Gazizullin 0b2dfad430
Merge pull request #63 from hikariatama/v1.4.0
V1.4.0
2022-08-22 21:45:01 +03:00
hikariatama 8f4ba2c170 Deepsource fixes 2022-08-22 18:33:38 +00:00
hikariatama ea24b1afc9 New 1 commit to hikariatama/Hikka: Fix typo 2022-08-22 13:33:58 +00:00
hikariatama c07c1e9f78 Fix presets 2022-08-22 13:32:36 +00:00
hikariatama dc2e86e782 1.4.0
- Add `Presets` core module
- Add handler for `/start` command in inlinebot with userbot info
- Remove custom :obj:`BotInlineMessage` hook for :method:`answer`
2022-08-22 13:28:11 +00:00
hikariatama 79ff465cda 1.4.0
Fix self.get self.set self.pointer for libs
2022-08-21 23:03:20 +00:00
hikariatama c815a3eda0 1.4.0
- Fix tsec
- Rework security
- Fix fullstack error
2022-08-21 22:57:02 +00:00
hikariatama 89040b6e2f 1.4.0
- Fix grep for messages bigger than 4096 UTF-8 characters
- Rename `func` tag to `filter` due to internal python conflict with dynamically generated methods
- Partially rework security unit
- Internal refactoring and typehints
2022-08-21 21:48:19 +00:00
hikariatama ab8130ed60 1.4.0
- Add platform-specific Hikka emojis to premium users
- Add codepaces to `utils.get_named_platform`
2022-08-21 18:36:33 +00:00
hikariatama 8534c0cafd 1.4.0
- Add `-f` param to `.restart` and `.update`
2022-08-21 16:57:09 +00:00
hikariatama 1ba0d34c7e 1.4.0
- Fix custom security rules cleaner
- Fix: use old lib if its version is higher than new one
2022-08-21 16:53:22 +00:00
hikariatama 33c3d3b72b Fix `.eval` 2022-08-21 15:05:46 +00:00
hikariatama b179c54f96 Fix deps error 2022-08-21 14:59:34 +00:00
hikariatama aeddd7a870 1.4.0
- Publish hikka telethon fork and migrate to it in requirements, thereby fixing the deployment error on Heroku
- Add custom emojis filter to `utils.remove_html`
- Fix `client.get_perms_cached`
- Fix translation flaw in `HikkaSecurity`
- Fix `.uninstall_hikka` being accessible by sudo
- Fix `utils.find_caller` for :method:`hikka.inline.utils.Utils._find_caller_sec_map`
- Add more animated emojis to modules
- Add targeted security for users and chats (`.tsec`)
- Add support for `tg_level` in `.config Tester`
2022-08-21 14:55:51 +00:00
hikariatama 15dbdf7ae2 1.3.3 - Fix severe typo, which broke `client.get_fulluser` 2022-08-16 14:22:40 +00:00
Dan Gazizullin 66daa5240e
Merge pull request #61 from hikariatama/v1.3.2
V1.3.2
2022-08-15 20:43:18 +03:00
hikariatama ac6655edcc 1.3.2
Replace error type
2022-08-15 17:37:19 +00:00
hikariatama bdad473eb8 1.3.2
- Add `on_change` param to `loader.ConfigValue`
- Rework commands\inline handlers\callback handlers\watchers registration and unload process
- Rework tags processing
- Add junk collector aka reloader to `Modules`
2022-08-15 16:43:34 +00:00
hikariatama 44080cabf6 1.3.2
- Fix tags from false-positive ignores
2022-08-15 14:30:21 +00:00
hikariatama 1c161417cd - Fix `.info` for some users
- Fix inline lists for `.help` and other commands, which include animated emojis
2022-08-14 22:03:55 +00:00