hikariatama
b33d823056
Add self.lookup; Fix config message parsing; Fix hikka-backups pfp
2022-05-05 18:06:40 +00:00
hikariatama
c7dfb35270
1.1.14
...
- Fix utils.asset_channel()'s archive param
- Fix defect, which forced installation from additional trusted repo, rather than from primary one if the file names are matched
- Add avatar to utils.asset_channel() which automatically sets chat pic on creation (be careful, bc it leads to floodwaits, if you do it often)
- Add automatic hikka folder processing
- Add avatars to all official repo modules, which require asset chats (and add them to hikka folder)
- Rework database assets chat processing
- Replace some minor stuff like texts and emojies
- Force many core modules to use self.get\self.set rather than digging the db
- Add .fconfig command to forcefully set known config value if it doesn't fit in Telegram query
- Add dataclasses for module config (read the docs for more info), bc old way is blasphemy
- Automatically save config value if it was set to module self.config[option] = value
- Add utils.is_serializable(), utils.set_avatar()
- Send very large (over 4096*10 symbols) output in a file rather than in an inline list
2022-05-05 17:39:09 +00:00
hikariatama
d7428880e1
Fix commands parsing
2022-05-04 17:32:07 +00:00
hikariatama
1b96f8f8cc
1.1.13: Fix bugs, clean code, replace redundant methods. More info in t.me/hikka_ub
2022-05-04 17:18:45 +00:00
hikariatama
d2d7674575
1.1.12: Add modules' attr `self._tg_id` which represents the client id
2022-05-01 06:52:18 +00:00
hikariatama
b411d5156e
1.1.11: Add fast uploader, update translations
2022-04-30 15:10:56 +00:00
hikariatama
02fd9ad602
Fix some stuff for deepsource
2022-04-29 17:57:56 +00:00
Hikari
f56a380fc6
1.1.8: Add `on_dlmod` hook, fix translations, fix okteto pinger and some minor stuff
...
More info in t.me/hikka_ub
2022-04-25 13:10:34 +00:00
Hikari
d503def592
Hopefully fix origin of core modules
2022-04-23 12:40:52 +00:00
Hikari
d74aaa99fd
Remove weird "-> None" typehints, idk why I left them for so longs
2022-04-23 12:12:52 +00:00
Hikari
791f1d1774
Make core modules loader data accessible via inspect
2022-04-23 12:09:12 +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
c4501a5a4a
1.0.3: Finally (hopefully) fix config
2022-04-18 13:20:12 +00:00
Hikari
20992a7d43
1.1.2: Add `@loader.loop` in order to provide developers native and easy access to inifite loops
2022-04-17 15:59:54 +00:00
Hikari
60f104f542
Save config values at mod config, rather than in __module__
2022-04-17 11:39:13 +00:00
Hikari
d064cfeaf3
Minor bug fixes
...
Move `skip_hook` check before re-assigning strings, add Nonetype check close
2022-04-17 11:14:39 +00:00
Hikari
2d525ab6b0
1.1.1: Finally drop Uniborg and Raphielgang compatibility layer, refactor code a bit, fix minor bugs
...
This layer was needed 2 yrs ago, when FTG was starting and there were no modules. Right now, there are much more modules for FTG\GeekTG\Hikka, rather than for Uniborg and Raphielgang, so I decided to drop this layer, bc it is very large amount of code and kinda useless right now
2022-04-17 08:52:43 +00:00
Hikari
69c64072c3
1.1.0: First major update. A LOT OF STUFF. Really, a lot. Check out hikka channel for more info
2022-04-16 20:00:15 +00:00
Hikari
21d9133d30
1.0.29: Add `@loader.inline_everyone`
...
This can be used underneath inline handlers and callback handlers to control default permission rules. Don't forget to set up an inline security mask in `.inlinesec`, otherwise some modules could become unusable
2022-04-13 17:59:55 +00:00
Hikari
070366b341
1.0.26: Add `utils.smart_split` which splits the message in chunks and relocates entities so they fit. If `utils.answer` response is too large to send in one message, it will be split in chunks and sent using `inline.list`
2022-04-09 11:56:39 +00:00
Hikari
24759e5005
Protect core modules and internal commands from being overwritten by weird external analogs
2022-04-08 13:47:12 +00:00
hikari.ftg
19da41bcbc
Fix `.unloadmod`, allow to edit forms `disable_security` on `call.edit`
2022-04-08 12:43:26 +00:00
hikari.ftg
045fcf4323
Migrate from string formmating to f-strings in logging
2022-04-07 16:15:26 +00:00
hikari.ftg
4e87ebd3c2
1.0.24: Refactor security, fix security for groups, remake module storage system with legacy db migration
2022-04-07 15:50:13 +00:00
hikari.ftg
556a52b2fb
Omit case when unloading module
2022-04-07 13:33:54 +00:00
hikari.ftg
bd6f35878d
1.0.23: Add ability to disable HikkaDL natively, add support for non-inline mode for Updater
2022-04-07 10:54:16 +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
d34a12d768
Fix
2022-04-03 11:03:02 +00:00
hikari.ftg
03f7c71557
Bug fixes and refactorment
2022-04-03 11:01:05 +00:00
hikari.ftg
a0e9586506
1.0.17: Add ability to set up inline commands' security map (only `owner`, `sudo`, `support` and `everyone`, because other permissions are inaccessible when processing inline query). Add database serializeability check to avoid JSON-serialization problems if unserializable object is being stored in db. Minor bugfixes
2022-04-01 20:51:35 +00:00
hikari.ftg
d123e3275f
Do not create `/data` folder manually, but specify it in okteto stack manifest
2022-04-01 13:19:55 +00:00
hikari.ftg
c6e2075ec3
Add additional directory creation in loader
2022-04-01 12:58:23 +00:00
hikari.ftg
fbc7d9e323
Okteto: Replace relative path to `data` dir to a abolute one
2022-04-01 12:54:56 +00:00
hikari.ftg
4222ea5840
When userbot is installed to Okteto, store persistent data in `data` folder
2022-04-01 12:49:56 +00:00
hikari.ftg
c40b8e016e
1.0.13: Include command prefix in inline `info`. Fix `--no-web`. Suggest to save modules to filesystem
2022-03-31 18:24:00 +00:00
hikari.ftg
3d4be0b77b
1.0.12: Optimize forms, galleries and custom_map storage by ommiting keys with default values and dynamically generate them. Add feature to inherit command-caller permissions on form and gallery (crutchy). Minor improvements and bug fixes
2022-03-31 11:13:31 +00:00
hikari.ftg
c8059cd604
1.0.9: Full inline structure rework. Split this madness into separate modules (`InlineUnit`s), which extend the main unit - `InlineManager`. Compatibility layer is not main priority. Some modules will break after updating to 1.0.9
2022-03-28 09:10:31 +00:00
hikari.ftg
5bc8359590
1.0.8: Code refactoring, minor bug fixes, rewrite security
2022-03-28 08:19:31 +00:00
hikari.ftg
3fde53f5f4
1.0.6: Add welcome message, triggered on userbot is installed
2022-03-27 17:52:36 +00:00
hikari.ftg
2de1d54500
Do not load Okteto pinger if userbot is not installed there
2022-03-27 13:28:28 +00:00
hikari.ftg
1d940b2b7f
Digging and re-digging code
2022-03-26 23:10:09 +00:00
hikari.ftg
c6f59e4eb6
Fix initial setup (pass auth)
2022-03-24 18:22:20 +00:00
hikari.ftg
f1171e2683
Fix a lot of stuff in web, add a lot of new features to web, merge root and initial_root, remove trailing whitespaces and other sutff
2022-03-24 13:59:16 +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
e761b73a41
Continue development
2022-03-21 08:59:49 +00:00
hikari.ftg
ef95f77789
Initial commit
2022-03-21 05:57:25 +00:00