Commit Graph

100 Commits (7486283f6c86c89c3e449848db260813014fa639)

Author SHA1 Message Date
Who? 3d3ef73681
Update CHANGELOG.md 2024-11-30 23:16:58 +07:00
Who? 95d55e6aed
Update CHANGELOG.md 2024-11-21 18:11:58 +07:00
Who? abb1cc466e
Update CHANGELOG.md 2024-11-16 19:11:36 +07:00
Who? 4682e05c1f
Update CHANGELOG.md 2024-11-13 16:09:33 +07:00
C0dwiz 476c4f36e1 v1.6.6
- formatting ruff\n\n- add webapp support in InlineKeyboardButton\n\n- add random version name\n\n- fix UnicodeDecodeError in windows\n\n- add a new language Ukrainian
2024-10-06 13:48:03 +03:00
Who? 4aa3f293bc
Update CHANGELOG.md 2024-09-12 16:08:23 +07:00
Who? 525d4b1297
Add files via upload 2024-09-10 21:06:05 +07:00
Who? c24585422b
Delete CHANGELOG.md 2024-09-10 21:01:14 +07:00
Who? e3ee8b7d17
Update CHANGELOG.md 2024-09-10 20:32:59 +07:00
hikariatama e61b171e9f 1.6.3
- Add external debugging feature (off by default)
2023-05-23 05:51:08 +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 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 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 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 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 07f0c3b6c8 1.6.2
- Fix proxy-pass
2023-03-07 08:19:22 +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 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 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 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 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 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 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 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 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 37688244e8 Update changelog 2022-11-08 01:14:21 +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 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 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 5dd29bca0c Add Japanese, Korean, Spanish and Arabic translate packs 2022-10-16 10:13:19 +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 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 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 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 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