Commit Graph

690 Commits (c1bec4feccb070e757e57119506497057d1d30aa)

Author SHA1 Message Date
Who? 22df2225d7
Update en.yml 2024-09-29 01:22:34 +07:00
Who? 3ad146db28
Update ru.yml 2024-09-29 01:21:59 +07:00
Who? af0eca9c63
Update ru.yml 2024-09-29 01:07:48 +07:00
Who? aa7548943a
Update en.yml 2024-09-29 01:07:04 +07:00
Who? 3ce9c2a72b
Update test.py 2024-09-29 00:50:45 +07:00
Who? 3275f6f8e4
Add files via upload 2024-09-24 17:04:54 +07:00
Who? 8c502f55a6
Delete hikka/main.py 2024-09-24 17:04:33 +07:00
Who? 797b58eeda
Update test.py 2024-09-19 17:50:33 +07:00
Who? 244ea2d9e9
Add files via upload 2024-09-19 17:38:04 +07:00
Who? 0529a4a06d
Delete hikka/web directory 2024-09-19 17:37:28 +07:00
Who? 39f8d58130
Update updater.py 2024-09-19 15:22:10 +07:00
Who? 54cb515696
Update loader.py 2024-09-19 14:49:14 +07:00
Who? ae69a0b176
Update ru.yml 2024-09-19 12:59:54 +07:00
Who? 7ae3fe8192
Update en.yml 2024-09-19 12:58:40 +07:00
Who? 3991318703
Update en.yml 2024-09-19 12:56:22 +07:00
Who? 6f8884abb8
Update ru.yml 2024-09-19 12:55:52 +07:00
Who? 708893533d
Update ru.yml 2024-09-19 12:25:45 +07:00
Who? a027183acb
Update en.yml 2024-09-19 12:23:15 +07:00
Who? 279760dd90
Update en.yml 2024-09-19 12:20:57 +07:00
Who? 9767112e9d
Update en.yml 2024-09-19 12:16:49 +07:00
Who? 6284ff9bc7
? 2024-09-19 12:12:07 +07:00
Who? 97b879ae00
? 2024-09-19 12:08:53 +07:00
Who? ae588d4005
Fix "Unkown strings" 2024-09-19 12:03:47 +07:00
Who? 90da6e5292
Fix "Unkown strings" 2024-09-19 12:02:18 +07:00
Who? 2da2b93d20
Update loader.py 2024-09-14 10:52:29 +07:00
Who? 96960dda09
Update ru.yml 2024-09-14 00:20:15 +07:00
Who? 83cb23ba51
Update en.yml 2024-09-14 00:17:48 +07:00
Who? 41918e5070
Update en.yml 2024-09-14 00:14:52 +07:00
Who? 2449f2e4e9
Update unit_heta.py 2024-09-14 00:11:50 +07:00
Who? fe39763510
Update loader.py 2024-09-14 00:02:43 +07:00
Who? 3d053d25bf
Update loader.py 2024-09-13 23:58:02 +07:00
Who? 8caa585a37
Update loader.py 2024-09-13 23:55:58 +07:00
Who? bbb4f33230
Update loader.py 2024-09-13 23:53:38 +07:00
Who? 94f58adfac
dont update pls 2024-09-13 23:50:20 +07:00
Who? 12eacfc572
Update ru.yml 2024-09-13 23:41:35 +07:00
Who? 64f85a6b5c
Update en.yml 2024-09-13 23:39:53 +07:00
Who? 74d0dcf6c6
Added upgraded eval by sqlmerr 2024-09-13 22:37:10 +07:00
Who? 9be9dab771
Update en.yml 2024-09-13 13:22:41 +07:00
Who? fc98f02bcc
Update ru.yml 2024-09-13 12:44:39 +07:00
Who? 9d4b8b9eca
Update ru.yml 2024-09-13 12:38:07 +07:00
Who? 6e099db6e7
Update en.yml 2024-09-13 12:36:20 +07:00
Who? 781c0f8b96
Update hikka_info.py 2024-09-13 12:23:47 +07:00
Who? 55cfbd690f
Update help.py 2024-09-13 12:23:23 +07:00
Who? 98a1716518
some DOLBOEB 2024-09-12 16:01:41 +07:00
Who? 9b8055dc08
Delete hikka/modules/test.py 2024-09-12 16:01:05 +07:00
Who? 81138e6796
Delete hikka/modules/help.py 2024-09-12 16:00:20 +07:00
Who? 17eb80e6af
added discription in hikkabackup 2024-09-11 23:11:10 +07:00
Who? 58b4c11d01
Update hikka_backup.py 2024-09-11 23:06:47 +07:00
Who? f153ef0b9d
Add files via upload 2024-09-10 20:44:53 +07:00
Who? 4ac1d2caa6
Delete hikka directory 2024-09-10 20:42:59 +07:00
Who? 75a39220e8
Update de.yml 2024-09-09 23:12:14 +07:00
hikariatama c13cd19d12 Add scary message to the login through web 2024-04-23 16:06:21 +00:00
hikariatama 1fa4338733 Fix inline units error status messages 2023-07-06 04:49:14 +00:00
hikariatama 1e7de51618 Fix await issue 2023-06-09 09:14:34 +00:00
hikariatama f27e5fbdf5 Cosmetic changes 2023-05-28 10:31:30 +00:00
hikariatama 81aa45127f Cosmetic changes 2023-05-24 08:47:05 +00:00
hikariatama 03a45535e5 Localization fixes 2023-05-23 05:58:39 +00:00
hikariatama e61b171e9f 1.6.3
- Add external debugging feature (off by default)
2023-05-23 05:51:08 +00:00
hikariatama 5272347374 Actually add tsec nonick... 2023-05-21 17:55:23 +00:00
hikariatama 429ee48118 1.6.3
- Cosmetical changes
2023-05-21 17:35:46 +00:00
hikariatama b8c59fbc92 1.6.3
- Add custom security groups
- Add automatic NoNick for tsec methods
2023-05-15 13:54:25 +00:00
hikariatama 5c5d08ec9d Fix unbound local error 2023-04-26 18:55:10 +00:00
hikariatama 21c0057bf0 1.6.3
- Add argument `item_type` to `db.pointer` to provide interface for NamedTuple objects
- Add correct exception propagation to inline units
- Add `-fs` arg to `.lm` command
- Add IDM `flush_loader_cache`
- Add ability to cancel QR login using keyboard interrupt
- Fix form invoke error message
- Fix `Backuper`
- Fix backward compatiblity with security groups `SUDO` (0x2) and `SUPPORT` (0x4)
- Fix quickstart language buttons translations
- Fix language buttons disabling on restart
- Migrate inline heta search to userbot instead of centralized service
2023-04-26 18:21:22 +00:00
hikariatama 06f5290383 Minor fixes 2023-04-03 07:32:49 +00:00
hikariatama 206f70d1a8 Patch with minor problems fixes 2023-03-29 18:18:16 +00:00
hikariatama 77cbb013f8 Deepsource fixes 2023-03-23 21:33:50 +00:00
hikariatama 7c4d602b36 Small fixes 2023-03-23 21:15:27 +00:00
hikariatama 4077010efb Change YAML parsing engine 2023-03-20 13:59:42 +00:00
hikariatama fc38bb9671 Fixes 2023-03-20 13:49:06 +00:00
hikariatama 8bc4d57b6b 1.6.2
- Add alternative translation mechanism using YAML
2023-03-19 22:21:20 +00:00
hikariatama f3586ccb07 Fix stuff 2023-03-19 14:52:17 +00:00
hikariatama 2dfeb5cf43 Fix werkzeug debugger pin 2023-03-19 14:15:31 +00:00
hikariatama 00e4861e15 Fix help for single mod 2023-03-19 14:10:51 +00:00
hikariatama 6fc4c58a3e 1.6.2
- Remove default presets since they are the security risk
- Update and extend Tatar translation pack
- Restrict setting `s` as command prefix, since it will break command `setprefix`
- Transfer all previously non-essential modules to core ones
2023-03-19 12:44:58 +00:00
hikariatama 10934072bd 1.6.2
- New watcher tags: `no_pm`, `no_channels`, `no_groups`, `no_inline`, `no_stickers`, `no_docs`, `no_audios`, `no_videos`, `no_photos`, `no_forwards`, `no_reply`, `no_mention`, `mention`, `only_reply`, `only_forwards`
2023-03-16 20:30:31 +00:00
hikariatama 1cb7db9503 Update dependencies installation process 2023-03-13 08:34:43 +00:00
hikariatama 91320ba487 Update packages' versions 2023-03-13 08:31:53 +00:00
hikariatama 32d4e101f4 Correct maximum caption size in heta 2023-03-13 08:23:14 +00:00
hikariatama 1b4e1365ad Fix APILimiter for stacked requests 2023-03-13 08:19:16 +00:00
hikariatama 491b8f3fa0 1.6.2
- Whitelist requests in APILimiter to ignore internals
- New core modules: `UnitHeta`, `Translator`
2023-03-13 08:13:03 +00:00
hikariatama 94946a3152 Update Hikka-TL version 2023-03-09 13:11:41 +00:00
hikariatama 07f0c3b6c8 1.6.2
- Fix proxy-pass
2023-03-07 08:19:22 +00:00
hikariatama 53ba6577e8 Fix inline 2023-03-06 12:24:23 +00:00
hikariatama 16fcecd0bd 1.6.2
- Completely remove security groups `sudo` and `support`
2023-03-06 11:25:13 +00:00
hikariatama cd9a52724a 1.6.2
- Update Termux installation design
- Whitelist internal requests in APILimiter
- Start web when using `.weburl` and `--no-web` is used
- Add inline commands targeted security rules control
2023-03-05 16:13:45 +00:00
hikariatama 7d2c833635 Whitelist GetChannelDifferenceRequest from api protection 2023-03-04 12:00:58 +00:00
hikariatama 70d57b7cdf correct emojis in api_protection 2023-03-04 11:35:03 +00:00
hikariatama 7252f3ba2e Add some proper error handling 2023-03-04 11:30:50 +00:00
hikariatama f55b5eb9eb Fix login error 2023-03-04 10:39:47 +00:00
hikariatama e4961392b6 Fix login error in noweb without qr 2023-03-04 10:34:28 +00:00
hikariatama fb1e1c5058 1.6.2
- Minify static assets in web
- Replace snowfall with sakura flowers
- Update Termux installation design
2023-03-04 10:32:28 +00:00
hikariatama 385526512f Add successful login message 2023-03-03 21:12:09 +00:00
hikariatama ff85bfb6e6 Update banners 2023-03-03 21:10:32 +00:00
hikariatama 07589ff9f2 Add shield banner 2023-03-03 20:55:10 +00:00
hikariatama af74ea8bc1 Actually save client session after QR login in noweb 2023-03-03 20:38:46 +00:00
hikariatama 80df4403c4 Fix asyncio ops flaws 2023-03-03 20:34:32 +00:00
hikariatama e70cc35e45 1.6.2
- Add guidelines to `--no-web` login
- Fix session not being saved after logging in using QR without 2fa
2023-03-03 20:25:46 +00:00
hikariatama 42f830dd75 Update tty prints, add guidelines 2023-03-03 06:30:04 +00:00
hikariatama e5a967680b Update banner 2023-03-02 17:00:14 +00:00
hikariatama 2447ab4bf9 1.6.2
- Add ability to log in using QR code and --no-web
- Disable web interface for Termux and fallback to CLI login instead
- Add fancy ANSI banner
2023-03-02 14:06:23 +00:00
hikariatama dbcaa31a6c Add guidelines 2023-03-02 13:14:26 +00:00
hikariatama 8566a39a11 Connect before requesting QR 2023-03-02 13:12:15 +00:00
hikariatama e917222ff6 1.6.2
- Add QR login using ASCII for noweb
- Fix `.tsecrm`
2023-03-02 13:03:34 +00:00
hikariatama bb94218cfc 1.6.2
Fix typing error
2023-03-01 15:52:59 +00:00
hikariatama 9a0e4b1b38 1.6.2
- Fix security issue with edited channel messages
- Add interface to interact with raw pointer data (`.data` attribute)
- Translation fixes
- Randomize `device_model` to bypass fraud detection
- Pass proper device information to Telegram
- Update `hikka-tl` in accordance to upstream telethon v1
- Update `hikka-pyro` in accordance to upstream pyrogram
- Rename packages so that they don't conflict with originals
- Partially migrate to `pathlib`
- Code cleanup
2023-03-01 15:36:02 +00:00
hikariatama 5545d86c07 Formatting 2023-02-04 23:12:18 +00:00
hikariatama fac8b47db6 1.6.1
Add French translation pack
2023-02-04 22:45:28 +00:00
hikariatama eb0786e690 1.6.1
- Remove miyahost from official hosts
- Fix memory leak when using 1.6.0 inside Docker
- Fix userbot dying after restart on Docker
- Root out stats mechanism
2023-02-01 16:36:48 +00:00
hikariatama fd918af4f4 - Root automatic reactions out
- Add randomized delays (1-3 seconds) between heavy userbot actions
- Add randomized delays (<1 second) to each API request if .api_fw_protection is enabled
- Update README with scary disclaimer
- Update web finisher banner with delay warning
2023-01-03 21:03:40 +00:00
hikariatama cbc00985c8 Deepsource fixes 2023-01-01 22:39:42 +00:00
hikariatama 16ddeee41e Add docker as platform 2023-01-01 21:26:11 +00:00
hikariatama 028d678f5c Patch regarding lavHost 2023-01-01 20:54:31 +00:00
hikariatama 35ec00f840 1.6.0
- Fresh Christmas web design
- EULA warning for lavHost and MiyaHost
- Support for Python 3.10
2023-01-01 20:33:36 +00:00
hikariatama e44358a477 Update deps 2022-12-30 20:34:07 +00:00
hikariatama da43a62fda Update deps 2022-12-30 19:58:57 +00:00
hikariatama c3c8eefe38 1.6.0 2022-12-26 13:24:30 +00:00
hikariatama 36e2038fe5 1.6.0
- Adapt utils to work with termux properly
2022-11-24 11:18:28 +00:00
hikariatama ae6a3627b9 1.6.0 2022-11-24 11:10:25 +00:00
hikariatama faec12364b 1.6.0
- Add local storage fallback in case remote end is not available
- Add `self.invoke` method for modules
2022-11-24 10:29:41 +00:00
hikariatama 27aff587f6 1.6.0
- Add credits to developers and translators
- Add support for multiple usernames
- Add topic guesser in `send_message`, `send_file` in order for old modules to work properly
2022-11-19 16:40:07 +00:00
hikariatama 8e59bc056f 1.6.0
- Fix `EntityLike` validator
- Fix stringifying error in logging
- Fix command escaping when using layout translated prefix
- New `utils.answer_file` method
- New `utils.get_cpu_usage` method
- New `utils.get_ram_usage` method
- New QR login flow
- New license banners
- New error-specific messages for RPCErrors, FloodWaitErrors, NetworkErrors
- Send `start` hook to `InfiniteLoop` instances with `autostart` flag only after `client_ready`
- Replace `__getattr__` in `Module` object with properties for commands and handlers
- Move from monkey-patching concept of filling modules' attributes to native one
- Partial Tatar translation pack
- Logging tweaks
- Add `caller` field to inline units
- Add ability to get module help by command alias
2022-11-19 07:52:53 +00:00
hikariatama 5ee7eaf755 1.6.0
- Minor fixes
2022-11-09 21:21:26 +00:00
hikariatama 20edeff8aa 1.6.0
- More fixes related to topics
- Fix Kazakh validators
2022-11-09 18:35:09 +00:00
hikariatama e6503e95a6 1.6.0
- Minor translation fixes
- Fix `utils.get_topic`
- Add local and proxied url to command `.debugpin`
- Rename command `.debugpin` -> `.debugger`
2022-11-08 22:35:02 +00:00
hikariatama c1c7cd637a 1.6.0
- Fix overall userbot runtime
- Add Kazakh translation pack
- Update emojis
- Minor translation fixes
2022-11-08 21:23:18 +00:00
hikariatama d20278056c Lavhost patch 2022-11-08 01:32:55 +00:00
hikariatama d7ebe7703e Lavhost patch 2022-11-08 01:24:19 +00:00
hikariatama f5425897bc Lavhost patch 2022-11-08 01:19:12 +00:00
hikariatama 42ea601a59 1.6.0
- New `utils.atexit` method
- New restart process, which correctly kills all child processes and threads
- Update to Hikka-TL==1.2.12 and Hikka-Pyro==2.0.60
2022-11-08 01:11:02 +00:00
hikariatama 66e5b6c63d 1.6.0
Styling
2022-11-05 17:19:31 +00:00
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
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 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 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
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
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 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
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 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
hikariatama 6476c4adda 1.4.2
- Fix authorization error
2022-09-05 06:17:05 +00: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
hikariatama b9f4fd5394 1.4.0
- Fix `utils.asset_channel`
2022-08-22 18:57:43 +00: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
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
hikariatama 8b04707353 Fix tags error in aiogram 2022-08-14 21:38:42 +00:00
hikariatama 99f834e4dd Fix strings 2022-08-14 21:34:50 +00:00
hikariatama c01a5b8f3b Force reinstallation of telethon 2022-08-14 20:50:42 +00:00
hikariatama a71b1ca4c9 1.3.1
- Add toggle for custom emojis
2022-08-14 20:35:45 +00:00
hikariatama 8f3debaadb 1.3.1
- Bring more animated emojis to core modules
2022-08-14 20:15:15 +00:00
hikariatama 84942232da 1.3.1
- Add text validation to info (automatically remove broken tags)
- Add `utils.validate_html` to remove broken tags from text
- Remake all core modules to decorators
- Force custom hikka telethon installation with 144 layer support
- Add animated emojis to core modules strings
2022-08-14 18:49:20 +00:00