Commit Graph

19 Commits (ff85bfb6e6640dad9bb487ab5b9549bf6c3426b4)

Author SHA1 Message Date
hikariatama ff85bfb6e6 Update banners 2023-03-03 21:10:32 +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 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 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 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 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 9d913b86ee Deepsource + sourcery fixes 2022-09-26 12:31:37 +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
hikariatama 9a070479de Minor fixes 2022-05-07 21:59:30 +00:00
Hikari c4501a5a4a
1.0.3: Finally (hopefully) fix config 2022-04-18 13:20:12 +00:00
Hikari 60f104f542
Save config values at mod config, rather than in __module__ 2022-04-17 11:39:13 +00:00
hikari.ftg a40fd0b1ec Continue refactoring stuff, removing redundant (IMHO) code, fix core modules; Added sub-license for edited files 2022-03-23 18:48:26 +00:00
hikari.ftg 57e350d33d Drop heroku support, remove redundant code, remake badge and installer 2022-03-21 15:57:36 +00:00
hikari.ftg ef95f77789 Initial commit 2022-03-21 05:57:25 +00:00