Commit Graph

16 Commits (64163b7218fa1a321fd1c285d42df026da88512a)

Author SHA1 Message Date
hikariatama 5aad62610c Update Dockerfiles, prepare core modules to work with Docker properly 2022-05-13 16:09:21 +00:00
hikariatama 94822ef54a Add error handlers to core modules 2022-05-08 19:40:43 +00:00
hikariatama 9a070479de Minor fixes 2022-05-07 21:59:30 +00:00
hikariatama b282bee88d 1.1.17
- Fix some weird looking code
- Fix some emojies and translation issues
- Add native lavHost support (.restart, .update) via internal API
- Add utils.get_lang_flag()
2022-05-07 19:38:52 +00:00
hikariatama ed686343bb 1.1.16
- Fix config docstrings and html escaping
- Fix typehints
- Fix some security staff
- Add additional bot username check
- Add additional foolchecks
- Migrate to walrus operator where necessary
- Remove redundant code block
- Add default aiogram parse mode
- Rename some core stuff which was not supposed to be used by external developers
2022-05-07 16:40:29 +00:00
hikariatama 334643178c 1.1.15
- Add automatic database autofix and rollback if database was broken by module
- Fix translation issues
- Warn user, if he tries to view .help when userbot is not yet fully loaded
- Create alias for `_generate_markup` (`generate_markup`)
- Fix modules which are deleting from helphide
- Automatically save db if it was edited via classic dictionary methods
2022-05-06 12:13:01 +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
Hikari 81f7cfeda6 Fix attr error `_find_data_channel` 2022-04-23 15:08:17 +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 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 5bc8359590 1.0.8: Code refactoring, minor bug fixes, rewrite security 2022-03-28 08:19:31 +00:00
hikari.ftg 927300dbc5 Deepsource fixes 2022-03-27 15:43:14 +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 34d58b5342 Full restructure of core code, refactor web, create new active bg 2022-03-23 17:38:35 +00:00