Commit Graph

648 Commits (ff85bfb6e6640dad9bb487ab5b9549bf6c3426b4)

Author SHA1 Message Date
hikariatama 97a219b5fc 1.6.0 2022-11-05 15:38:59 +00:00
hikariatama 7f49424edb Update translation packs 2022-10-24 13:12:13 +00:00
hikariatama 89d9940bb1 Completely drop Okteto support 2022-10-23 14:24:56 +00:00
hikariatama e422522f3d Fix translation flaws 2022-10-23 12:19:00 +00:00
hikariatama 469f6d1733 Update dependencies, add pyrogram reinstallation 2022-10-23 11:54:17 +00:00
hikariatama 15c2e3465f 1.6.0
🌘🌘🌘 1.6.0 beta released

- Bring support for Dragon Userbot modules
- Make `db` attribute of `Modules` public
- Mess up with some translations
- Fix `.helphide` command
- Fix visual bug with phone input field in web
- Drop Okteto support
- Show Hikka platform and version in Telegram sessions list
- New type `DragonModule`
- New argument of `get_prefix` - `userbot`. Pass in `"dragon"` to get its prefix
- New attribute of `Modules` - `dragon_modules`
- New attribute of `CustomTelegramClient` - `pyro_proxy`. Use pyrogram methods natively
- New appearence of `help` command
- New module loading animation
- New README.md with installation steps and new web recording
2022-10-23 11:38:06 +00:00
Dan Gazizullin fc4f865e90
Merge pull request #78 from hikariatama/v1.5.3
V1.5.3
2022-10-17 19:18:53 +03:00
hikariatama 792840aa20 Deepsource fixes 2022-10-17 16:09:00 +00:00
hikariatama 91f95e412b Deepsource fixes 2022-10-17 15:50:52 +00:00
hikariatama c018c4641b Patch for rtl languages 2022-10-17 13:48:33 +00:00
hikariatama f6851d8e4a Merge branch 'v1.5.3' of https://github.com/hikariatama/Hikka into v1.5.3 2022-10-17 13:23:55 +00:00
hikariatama fd9268e06d Add support for rtl platform emojis
Fix translations
Add language->countrycode translation for Saudi Arabia
2022-10-17 13:23:24 +00:00
hikariatama 561983ede6 Update translations 2022-10-17 07:39:35 +00:00
hikariatama cc62daf498 Update translations 2022-10-17 07:06:40 +00:00
hikariatama b296385106 Replace command docs 2022-10-16 11:57:09 +00:00
hikariatama 317ed00628 Fix typo 2022-10-16 11:54:00 +00:00
hikariatama b074b3f634 Replace japanese country code with japanese language code Fix multilevel validators for cases, where the desired translation is not available 2022-10-16 11:53:06 +00:00
hikariatama 5dd29bca0c Add Japanese, Korean, Spanish and Arabic translate packs 2022-10-16 10:13:19 +00:00
hikariatama fb330cc08b Translate validators, inline, update existing translations, add new 2022-10-15 21:22:14 +00:00
hikariatama 6e6f79aa67 Update translations 2022-10-15 17:08:48 +00:00
hikariatama b1d4ddbeeb Update translations 2022-10-15 16:39:01 +00:00
hikariatama 79a337b809 Fix dynamic reload for modules without @loader.tds 2022-10-15 16:06:03 +00:00
hikariatama 50847c075e Force quickstart message 2022-10-15 15:58:12 +00:00
hikariatama bdf4cd1f1e 1.5.3
- Add Uzbek, Turkish, German and Hindi translation packs
- Fix module and command docs not being translated on-the-flight
2022-10-15 15:56:28 +00:00
Dan Gazizullin eca115ce05
Merge pull request #76 from hikariatama/v1.5.2
1.5.2
2022-10-12 20:00:40 +03:00
hikariatama f475d6c05a 1.5.2
- Change the behavior of `@loader.raw_handler` decorator to accept starred arguments instead of list-like value
2022-10-12 16:59:18 +00:00
Dan Gazizullin 716b4923b4
Merge pull request #74 from hikariatama/v1.5.1
V1.5.1
2022-10-12 19:52:11 +03:00
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