Commit Graph

59 Commits (c3fb0a63e1eaa422b1ce12bf87d7f23b1e4abfea)

Author SHA1 Message Date
Who? 1394e7f0fa oops 2025-05-12 14:32:39 +00:00
Who? ddd5e48b6f
Update sakura.min.js 2025-03-03 10:33:37 +07:00
Who? 116e27fe36
Update sakura.min.css 2025-03-03 10:33:20 +07:00
Who? 850dfde53a
Update sakura.js 2025-03-03 10:33:02 +07:00
Who? 1d46cd5414
Update sakura.css 2025-03-03 10:32:30 +07:00
Who? dca6f578f7
Update root.min.js 2025-03-03 10:32:10 +07:00
Who? a65a58cbf6
Update root.js 2025-03-03 10:30:08 +07:00
Who? 57e4b0df4a
Update base.min.css 2025-03-03 10:29:41 +07:00
Who? 5211828295
Update base.css 2025-03-03 10:27:52 +07:00
Who? 03f11016ed
Update root.jinja2 2025-03-03 10:25:30 +07:00
Who? a323a63db7
Update base.jinja2 2025-03-03 10:23:24 +07:00
archquise 313aaac7ab Merge branch 'v1.6.8' of https://github.com/coddrago/Heroku into v1.6.8 2024-12-23 20:27:03 +04:00
archquise 07bc3ceffa Additional minor improvements... 2024-12-23 20:19:29 +04:00
archquise adb61f410e
Update root.jinja2 2024-12-23 19:20:01 +04: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? 328cb7edc7
Add files via upload 2024-09-10 20:45:45 +07:00
Who? 3c4b0e6b9e
Delete web-resources directory 2024-09-10 20:45:17 +07:00
hikariatama 7252f3ba2e Add some proper error handling 2023-03-04 11:30:50 +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 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 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 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 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 89d9940bb1 Completely drop Okteto support 2022-10-23 14:24:56 +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 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 9d913b86ee Deepsource + sourcery fixes 2022-09-26 12:31:37 +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 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 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 f40a4eba09 1.2.8
- Add automatic webpage bot unblock in heroku waker
- Add secure boot feature
- Update native heroku postgre database saving method
- Add easter egg to `.ping`
- Add platform-specific errors while installing requirements
- Change postgresql column `id` datatype from int32 to int64 + legacy migration
- Change proxypass tunnel behavior - now it only opens on setup and via command `.weburl`
- Lavhost-specific web url
- Meaningful errors in web
- ⚠️ Drop `fast_uploader` support. It will be completely removed in next major update
- Deepsource fixes
- Multiple languages with priority
2022-07-02 22:04:27 +00:00
hikariatama 91db334a89 1.2.7
- Add automatic proxy pass
- Fix --no-web argument parsing
- Fix localization error in updater
- Print out only INFO statements to stdout
- Add rotating file handler (logfile with max 10MB size)
- Show web endpoint on startup if available
- Fix gallery `inline_message_id` error
- Add support for `custom_buttons` in `inline.list`
- Add support for `custom_buttons` in `inline.gallery`
- Smart fast_uploader (Do not use hard download on files smaller than 1 MB)
- Attempt to parse `unit_id` from passed `InlineCall` object in `inline._delete_unit_message`
- Reformatting
- Change typehints
- Show list-like values in formatted way in config
- Properly escape html in config
- Split config to pages and categories (core \ non-core)
- Properly edit dictionary config (iter)
- Properly remove items from series options through built-in configurator
- Remove warning from web by replacing coroutine generation with `functools.partial`
2022-06-17 22:22:30 +00:00
hikariatama dc7434e036 Patch
- New installation banner
- Add automatic blob->raw convertion in loader
2022-06-05 12:58:08 +00:00
hikariatama 993b005adf Patch for Heroku
- Add banner with Hikka installation status
- Reorder config saving in web
- Fix `Unauthorized` error
2022-06-03 20:09:00 +00:00
hikariatama ec647fe34e 1.1.27
- Reorder the steps of parsing in `loader.validators.Series`
- Fix aliases (yet another time)
- Fix minor bug in `loader.validators.Series`, which allowed to put empty string in it
- Fix some translation issues and type conversion ones
- Fix incorrect modules loading if multiple links end with specified name
- Fix type conversion bug in `loader.validators.String`
- Fix typehints flaws
- Add additional fields to `inline.form`: `gif`, `file`, `mime\_type`, `video`, `location`, `audio`
- Add reset-to-default action, if config is invalid while loading the userbot to prevent fall
- Add verification emoji to `input` to let user know, that new value was processed
- Add badge showing how much the last restart took
- Add `min_len`, `max_len`, `fixed_len` params to `loader.validators.Series`
- Add option to show downloaded module link in result message of `.dlmod`
- Add explicit database save after applying new config
- Add hint to web
- Add code of conduct
- Add changelog
- Remove redundant code in `database.py` as it literally does nothing
2022-05-21 18:34:45 +00:00
hikariatama 02fd9ad602 Fix some stuff for deepsource 2022-04-29 17:57:56 +00:00
Hikari f4f7e8e0b9
1.1.4: `utils.get_git_hash()`, fix stuff, add debugging mode for modules. For more info check t.me/hikka_ub 2022-04-22 12:51:17 +00:00
Hikari f6b7636a03
Some minor lavhost fixes 2022-04-15 17:20:50 +00:00
hikari.ftg 179f12d9ca 1.0.21: A lot of stuff: web fixes, bug fixes, automatic seamless userbot restart when adding new account in web, replace emojies, add inline list feature, fix `types` name conflict and I don't remember other fixes, read code 2022-04-05 16:46:03 +00:00
hikari.ftg a5497fdf9d 1.0.15: Add more errors to `query` aka `query.e500()` 2022-03-31 20:44:56 +00:00
hikari.ftg 3e2bd4494a Deepsource fixes 2022-03-28 11:06:47 +00:00
hikari.ftg 4c68b2aebb Deepsource fixes 2022-03-27 15:06:15 +00:00
hikari.ftg b95887e20c 1.0.4: Add Okteto pinger, which will wake the pod up, when it goes to sleep 2022-03-27 13:19:29 +00:00
hikari.ftg 3985152b84 Minor bug fixes. Base for okteto pinger support 2022-03-27 12:40:52 +00:00
hikari.ftg e72e4a28d3 Attempt to fix web 2022-03-24 18:47:17 +00:00