author
int64
658
755k
date
stringdate
2012-06-12 08:34:29
2024-07-22 14:51:21
timezone
int64
-46,800
43.2k
hash
stringlengths
40
40
message
stringlengths
5
490
mods
listlengths
1
16
language
stringclasses
20 values
license
stringclasses
3 values
repo
stringlengths
5
68
original_message
stringlengths
12
491
718,838
19.04.2020 17:00:32
-10,800
68b1ab033b1e162a0f3c76bdf2a67fb232b086dd
v2.7.1 Fix chat_invite, chat_mention, chat_action :bowtie: (fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/handler/handler.py", "new_path": "vkbottle/framework/framework/handler/handler.py", "diff": "@@ -112,7 +112,6 @@ class Handler:\ndef decorator(func):\nrule = ChatActionRule(type_, rules=rules)\n- rule.create(func)\nself.chat_messag...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Fix chat_invite, chat_mention, chat_action :bowtie: (fix #81)
718,867
19.04.2020 10:56:55
18,000
f8fd1eabb6aeaeb0fc349280d3f2eae2293cd6d9
Middleware fix in Blueprint
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/blueprint/bot.py", "new_path": "vkbottle/framework/blueprint/bot.py", "diff": "@@ -16,7 +16,7 @@ class Blueprint(AbstractBlueprint):\nsuper().__init__()\n# Main workers\nself.branch: typing.Optional[AbstractBranchGenerator] = DictBranch()\n-...
Python
MIT License
vkbottle/vkbottle
Middleware fix in Blueprint (#82)
718,838
19.04.2020 19:27:18
-10,800
2af01dcf9ecf77c712c68b01a740dcd356bcf64f
v2.7.1 Minor advancements
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/objects/wall.py", "new_path": "vkbottle/types/objects/wall.py", "diff": "@@ -127,7 +127,7 @@ class WallComment(BaseModel):\nclass Wallpost(BaseModel):\naccess_key: str = None\n- attachments: typing.List = None\n+ attachments: typing.List[\"Wallp...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Minor advancements
718,838
20.04.2020 10:34:34
-10,800
83674656b0bb0cf7d61490702a17ae751b7d3deb
v2.7.1 Add poll to attachments (fix ambulance: :ambulance: :ambulance:
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/objects/messages.py", "new_path": "vkbottle/types/objects/messages.py", "diff": "-from . import base, audio, docs, photos, video, gifts, market, wall, users, link\n+from . import base, audio, docs, photos, video, gifts, market, wall, users, link...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Add poll to attachments (fix #74) :ambulance: :ambulance: :ambulance:
718,838
20.04.2020 21:09:42
-10,800
8db3536a084d45969eb9537c3fc637b921e3ccf8
v2.7.1 Fix expand_data
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/bot.py", "new_path": "vkbottle/framework/bot/bot.py", "diff": "@@ -2,7 +2,6 @@ import asyncio\nimport sys\nimport traceback\nimport typing\n-\nfrom vbml import Patcher\nfrom vkbottle.http import HTTP\n" }, { "change_type": "MODIF...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Fix expand_data
718,838
20.04.2020 21:22:06
-10,800
09c963726bf2b6bb6329430d900abaa2e8548151
v2.7.1 New event chat_info_edit :cat2:
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/handler/user/events.py", "new_path": "vkbottle/framework/framework/handler/user/events.py", "diff": "@@ -237,7 +237,11 @@ class UserEvents:\nrule = UserLongPollEventRule(52, *rules)\nrule.create(\nfunc,\n- {\"name\": \"chat_info_ed...
Python
MIT License
vkbottle/vkbottle
v2.7.1 New event chat_info_edit :cat2:
718,838
20.04.2020 21:40:35
-10,800
6da2b86bad983c1525d981b7c10c305d91ee20a1
v2.7.1 Add two events to user lp :cat2: :cat2: + chat_restore + chat_voice_message_states
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/handler/user/events.py", "new_path": "vkbottle/framework/framework/handler/user/events.py", "diff": "@@ -213,7 +213,9 @@ class UserEvents:\nrule.create(\nfunc,\n{\n- \"name\": \"chat_restore\", \"data\": [\"peer_id\", \"local_id\"]...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Add two events to user lp :cat2: :cat2: + chat_restore + chat_voice_message_states
718,889
21.04.2020 13:04:07
-18,000
ea306283fe2837d22748db980259e7ce87b22262
v2.7.1 Types typo
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/objects/wall.py", "new_path": "vkbottle/types/objects/wall.py", "diff": "@@ -109,7 +109,7 @@ class Views(BaseModel):\nclass WallComment(BaseModel):\n- attachments: typing.List = None\n+ attachments: typing.List[CommentAttachment] = None\ndate: i...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Types typo (#85)
718,838
21.04.2020 17:52:28
-10,800
971bc11c3f4575116340b640c960e01b89c114e3
v2.7.1 Add params to get_token
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -22,11 +22,5 @@ setuptools.setup(\n\"Programming Language :: Python :: 3.7\",\n\"Operating System :: OS Independent\",\n],\n- install_requires=[\n- \"aiohttp\",\n- \"pydantic\",\n- \"contextvars\",\n- \"vbml\",\n-...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Add params to get_token
718,867
21.04.2020 13:19:53
18,000
26ddac7eba5fc656236316a8f483231dd87d9b38
v2.7.1 Get tokens by login & password
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/user/user.py", "new_path": "vkbottle/framework/user/user.py", "diff": "@@ -13,7 +13,7 @@ from vkbottle.framework.framework.handler.user.handler import Handler\nfrom vkbottle.framework.framework.branch import AbstractBranchGenerator, DictBran...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Get tokens by login & password (#86)
718,838
22.04.2020 10:53:46
-10,800
ebb4f4e262fe665670b4328626ea257d1cf038d6
v2.7.1 Change queue of initial args 1234:
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/user/user.py", "new_path": "vkbottle/framework/user/user.py", "diff": "@@ -40,9 +40,10 @@ class User(HTTP, AsyncHandleManager):\ndef __init__(\nself,\n+ tokens: Token = None,\n+ *,\nlogin: str = None,\npassword: str = None,\n- tokens: Token ...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Change queue of initial args :1234:
718,838
23.04.2020 16:26:45
-10,800
ed7604a317aaaf9d6e8a3fe47016d53f2daa2b62
v2.7.1 Correct the wrong behaviour was caused by an error after the raw github request failure due to recent github problems
[ { "change_type": "MODIFY", "old_path": "vkbottle/http/request.py", "new_path": "vkbottle/http/request.py", "diff": "@@ -3,7 +3,7 @@ import traceback\nfrom aiohttp import ClientSession\n-from vkbottle.const import VERSION_REST\n+from vkbottle.const import VERSION_REST, __version__\nfrom vkbottle.util...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Correct the wrong behaviour was caused by an error after the raw github request failure due to recent github problems
718,838
24.04.2020 22:43:19
-10,800
b4843111c59472443f8ea127ec8c8f92546b3431
v2.7.1 Fix type :beer:
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/objects/groups.py", "new_path": "vkbottle/types/objects/groups.py", "diff": "@@ -171,7 +171,7 @@ class Group(BaseModel):\nid: int = None\nis_admin: \"base.BoolInt\" = None\nis_advertiser: \"base.BoolInt\" = None\n- is_closed: \"GroupIsClosed\" =...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Fix type :beer:
718,867
24.04.2020 14:47:32
18,000
5e91e78f832f7e7d1a160310d57aa252cf902f59
v2.7.1 Fix error in User LP for those who use Pydroid, Termux and etc.
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api/api.py", "new_path": "vkbottle/api/api/api.py", "diff": "@@ -95,7 +95,7 @@ class API(ContextInstanceMixin):\n@property\nasync def group_id(self):\nif self._group_id is None:\n- current_user = await self.groups.get()\n+ current_user = await sel...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Fix error in User LP for those who use Pydroid, Termux and etc. (#87)
718,889
25.04.2020 13:38:00
-18,000
2ee666db4b7f2c5cd6e9b175809c52a94687cd46
v2.7.1 Auto iterable transformation in API
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api/api.py", "new_path": "vkbottle/api/api/api.py", "diff": "@@ -65,9 +65,14 @@ class API(ContextInstanceMixin):\nself.wall = Wall(self.api)\nself.widgets = Widgets(self.api)\n- def api(self, *args, **kwargs):\n+ def api(self, method, params, **kw...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Auto iterable transformation in API (#88)
718,838
26.04.2020 21:45:18
-10,800
a8f8ec26a19770d5debe896e0059ada791bd8169
v2.7.1 Fix poorly merged
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/user/user.py", "new_path": "vkbottle/framework/user/user.py", "diff": "@@ -40,10 +40,10 @@ class User(HTTP, AsyncHandleManager):\ndef __init__(\nself,\n- login: str = None,\n- password: str = None,\ntokens: Token = None,\n*,\n+ login: str = ...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Fix poorly merged
718,838
30.04.2020 08:19:21
-10,800
a707c3ce0ecfb50c9ddf1b4d15d2e9b1a711cb6a
v2.7.1 Some changes + col_rule from_me
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api/api.py", "new_path": "vkbottle/api/api/api.py", "diff": "@@ -3,11 +3,15 @@ from vkbottle.http import HTTPRequest\nfrom vkbottle.utils import ContextInstanceMixin, logger\nfrom vkbottle.types.methods import *\n+from pydantic import BaseModel\nf...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Some changes + col_rule from_me
718,838
30.04.2020 09:51:21
-10,800
fb9b8c886696f72aee9f80ca1651662e4a0fcf7c
v2.7.1 User LP :apple: Possibility to change mode + Added draft handler return + Some improvements in typing
[ { "change_type": "MODIFY", "old_path": "examples/tests/vkbottle_bot/img/2.txt", "new_path": "examples/tests/vkbottle_bot/img/2.txt", "diff": "-Hi, it is a silly document\n\\ No newline at end of file\n+silly document\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_pat...
Python
MIT License
vkbottle/vkbottle
v2.7.1 User LP :apple: Possibility to change mode + Added draft handler return + Some improvements in typing
718,838
30.04.2020 10:05:45
-10,800
d4a549226aaf60822b314385e1102fbdf2f17578
v2.7.1 Added github actions
[ { "change_type": "ADD", "old_path": null, "new_path": ".github/workflows/pythonpublish.yml", "diff": "+# This workflows will upload a Python Package using Twine when a release is created\n+# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Added github actions
718,838
01.05.2020 09:51:35
-10,800
71e71e9bc3be54d11d8dfe599e741d5aacbcd5c8
v2.7.1 Added draft error handler :boat:
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/__init__.py", "new_path": "vkbottle/framework/__init__.py", "diff": "@@ -8,4 +8,4 @@ from vkbottle.framework.framework.branch import (\nCoroutineBranch,\n)\nfrom vkbottle.framework.framework.handler import Handler, Middleware\n-from .framewo...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Added draft error handler :boat:
718,838
01.05.2020 11:55:19
-10,800
fb8f8fb9b2a2843e2397e58ee45cd1bcb1ebd8fc
v2.7.1 Added param logs_folder
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/blueprint/abc.py", "new_path": "vkbottle/framework/blueprint/abc.py", "diff": "@@ -2,7 +2,7 @@ from abc import ABCMeta, abstractmethod\nimport typing\n-class AbstractBlueprint(object, metaclass=ABCMeta):\n+class AbstractBlueprint(metaclass=A...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Added param logs_folder
718,838
01.05.2020 14:14:08
-10,800
1d8e60783d994b941bf8547cae77c99cefd30c20
v2.7.1 Blueprints can receive data
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/blueprint/bot.py", "new_path": "vkbottle/framework/blueprint/bot.py", "diff": "@@ -24,11 +24,13 @@ class Blueprint(AbstractBlueprint):\nself.api: api.Api = None\nself._name = name or \"Unknown\"\nself._description = description or \"Unknown\...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Blueprints can receive data
718,838
01.05.2020 14:16:23
-10,800
c94b6ff4278943a8a583dfc49a5be0cb362c47b8
v2.7.1 Change behaviour
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/blueprint/bot.py", "new_path": "vkbottle/framework/blueprint/bot.py", "diff": "@@ -40,4 +40,5 @@ class Blueprint(AbstractBlueprint):\n)\nself.extension = extension\nself.api = api_instance\n- self.data = data or {}\n+ if data is not None:\n+...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Change behaviour
718,838
02.05.2020 16:18:51
-10,800
57c1a3a73f2a26755e60b19ec6f893b429ff32de
v2.7.1 Fix types + add method get_api
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/__init__.py", "new_path": "vkbottle/api/__init__.py", "diff": "from .exceptions import *\n-from vkbottle.api.api import Api, UserApi, API, request\n+from vkbottle.api.api import Api, UserApi, API, request, get_api\n" }, { "change_type": "M...
Python
MIT License
vkbottle/vkbottle
v2.7.1 Fix types + add method get_api
718,838
02.05.2020 21:06:38
-10,800
ddc69d87bb08430e03c8efe880a1ea5a7c0983e7
v2.7.2 Reformat with black
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api/api.py", "new_path": "vkbottle/api/api/api.py", "diff": "@@ -12,6 +12,7 @@ class API(ContextInstanceMixin):\n\"\"\" Main VK API object\nPossess user_id/group_id getters, request\n\"\"\"\n+\ndef __init__(\nself,\ntokens: typing.List[str] = None...
Python
MIT License
vkbottle/vkbottle
v2.7.2 Reformat with black
718,838
03.05.2020 15:41:23
-10,800
ca83306b23f36f9865f1080782d0206bb800c16a
v2.7.2 Added error_handler to user blueprints and remove ensure_ancii from keyboard generator because with incompatibility with orjson
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/keyboard/generator.py", "new_path": "vkbottle/api/keyboard/generator.py", "diff": "@@ -38,7 +38,7 @@ def keyboard_gen(\nkeyboard = str(\njson.dumps(\n- dict(one_time=one_time, buttons=buttons, inline=inline), ensure_ascii=False\n+ dict(one_time=on...
Python
MIT License
vkbottle/vkbottle
v2.7.2 Added error_handler to user blueprints and remove ensure_ancii from keyboard generator because with incompatibility with orjson
718,838
03.05.2020 15:52:08
-10,800
7a49790cbdd098a5b09b257206acb5f2d1c88249
v2.7.2 Added client_info
[ { "change_type": "ADD", "old_path": null, "new_path": "vkbottle/types/client_info.py", "diff": "+import enum\n+\n+from .base import BaseModel\n+\n+\n+class ButtonActions(enum.Enum):\n+ text = \"text\"\n+ location = \"location\"\n+ vkpay = \"vkpay\"\n+ open_app = \"open_app\"\n+\n+\n+class ClientInfo...
Python
MIT License
vkbottle/vkbottle
v2.7.2 Added client_info
718,838
03.05.2020 17:34:24
-10,800
41108292ab8ffaf970aa420c8cc7ad452f9574fe
v2.7.1 :ambulance: silly fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/client_info.py", "new_path": "vkbottle/types/client_info.py", "diff": "import enum\n-\n+import typing\nfrom .base import BaseModel\n@@ -12,7 +12,7 @@ class ButtonActions(enum.Enum):\nclass ClientInfo(BaseModel):\n- button_actions: ButtonActions\...
Python
MIT License
vkbottle/vkbottle
v2.7.1 :ambulance: silly fix
718,838
03.05.2020 19:50:38
-10,800
2c171615c28cb183adc4ee8c08c59abde060e4b1
v2.7.2 :expressionless:
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/client_info.py", "new_path": "vkbottle/types/client_info.py", "diff": "@@ -13,7 +13,7 @@ class ButtonActions(enum.Enum):\nclass ClientInfo(BaseModel):\n- button_actions: typing.List[ButtonActions]\n- keyboard: bool\n- inline_keyboard: bool\n- la...
Python
MIT License
vkbottle/vkbottle
v2.7.2 :expressionless:
718,838
04.05.2020 14:04:49
-10,800
d8331dbe20323d9998dd0162e4278f62ee6ad8dd
v2.7.2 Fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/keyboard/keyboard.py", "new_path": "vkbottle/api/keyboard/keyboard.py", "diff": "@@ -26,7 +26,10 @@ class KeyboardButton:\n@property\ndef button(self):\n- return {\"action\": except_none_self(self.action.dict()), \"color\": self.color}\n+ b = {\"a...
Python
MIT License
vkbottle/vkbottle
v2.7.2 Fix #96
718,838
04.05.2020 21:58:07
-10,800
9bd1448392a79f25049b9bc0d03a4a32d866b265
v2.7.2 Remove encoding
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/branch/database_branch.py", "new_path": "vkbottle/framework/framework/branch/database_branch.py", "diff": "@@ -69,7 +69,7 @@ class DatabaseBranch(AbstractBranchGenerator):\nf\"Branch {branch.__name__} hasn't yet been assigned with ...
Python
MIT License
vkbottle/vkbottle
v2.7.2 Remove encoding
718,838
05.05.2020 10:11:16
-10,800
1b3bf6760448fa9bc205986846ec5a7fc72ce8e2
v2.7.2 Fix friends.add response
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/responses/friends.py", "new_path": "vkbottle/types/responses/friends.py", "diff": "@@ -21,7 +21,10 @@ class AddListModel(BaseModel):\nresponse: AddList = None\n-Add = typing.Dict\n+class Add(enum.IntEnum):\n+ sent = 1\n+ approved = 2\n+ resendin...
Python
MIT License
vkbottle/vkbottle
v2.7.2 Fix friends.add response
718,838
05.05.2020 13:00:54
-10,800
41654ef57243414df3306acc83a1ea6d3b7f0988
v2.7.2 Some fixes (close fix + secret can be received in emulate
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -124,3 +124,5 @@ dmypy.json\n# Pyre type checker\n.pyre/\n.DS_Store\n+*.db\n+.db\n\\ No newline at end of file\n" }, { "change_type": "RENAME", "old_path": "examples/tests/templates/echo_bot.py", ...
Python
MIT License
vkbottle/vkbottle
v2.7.2 Some fixes (close #69, fix #93) + secret can be received in emulate
718,838
06.05.2020 15:21:42
-10,800
1107032d74148dcaed265a7782aea91761bdb03c
v2.7.2 Fix types and IntEnums + fixed sex
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/objects/base.py", "new_path": "vkbottle/types/objects/base.py", "diff": "import typing\n-from enum import Enum\n+from enum import Enum, IntEnum\nfrom ..base import BaseModel\n@@ -77,8 +77,8 @@ class ObjectWithName(BaseModel):\nname: str = None\n...
Python
MIT License
vkbottle/vkbottle
v2.7.2 Fix types and IntEnums + fixed sex
718,838
06.05.2020 21:09:24
-10,800
b5198c29f48f2df3814992ca3d3d594abef74358
v2.7.2 Fix branches + enter/exit behaviour change
[ { "change_type": "MODIFY", "old_path": ".gitignore", "new_path": ".gitignore", "diff": "@@ -124,5 +124,9 @@ dmypy.json\n# Pyre type checker\n.pyre/\n.DS_Store\n+\n+# Test databases\n*.db\n.db\n+*.db-shm\n+*.db-wal\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path":...
Python
MIT License
vkbottle/vkbottle
v2.7.2 Fix branches + enter/exit behaviour change
718,838
07.05.2020 11:50:53
-10,800
e47750346d0f5a7612f5de903977223ec8ff5d85
v2.7.2 Reformat and change uploader :cactus: This commit can constantly affect on uploader usage, see docs
[ { "change_type": "ADD", "old_path": null, "new_path": ".github/FUNDING.yml", "diff": "+patreon: timoniq\n" }, { "change_type": "DELETE", "old_path": "docs/todo - rewrite docs", "new_path": null, "diff": "-# TODO - Rewrite:\n- 1) Rules docs\n- 2) Validator docs\n- 3) Complete Fram...
Python
MIT License
vkbottle/vkbottle
v2.7.2 Reformat and change uploader :cactus: This commit can constantly affect on uploader usage, see docs
718,838
08.05.2020 08:19:07
-10,800
ebb1039ff0eb09f36c8b570a04a651d5a9bed5fd
v2.7.2 Fix IntEnums
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/objects/ads.py", "new_path": "vkbottle/types/objects/ads.py", "diff": "@@ -155,9 +155,9 @@ class Criteria(BaseModel):\nclass CriteriaSex(Enum):\n- _0 = \"0\"\n- _1 = \"1\"\n- _2 = \"2\"\n+ no = 0\n+ female = 1\n+ male = 2\nclass DemoStats(BaseMo...
Python
MIT License
vkbottle/vkbottle
v2.7.2 Fix IntEnums
718,838
08.05.2020 08:20:53
-10,800
ba97d8d36d7a404bf5d2be960bb852f887da76ee
v2.7.2 minor fix deprecated
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/responses/board.py", "new_path": "vkbottle/types/responses/board.py", "diff": "@@ -6,7 +6,6 @@ from vkbottle.types import objects\nclass GetTopics(BaseModel):\ncount: int = None\nitems: typing.List = None\n- default_order: objects.board.DefaultO...
Python
MIT License
vkbottle/vkbottle
v2.7.2 minor fix deprecated
718,838
08.05.2020 15:22:30
-10,800
8a7638cf9b2a03cc1f8c4c3dbe1ab5609a481110
v2.7.2 Cosmetic changes (Refactoring)
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/bot.py", "new_path": "vkbottle/framework/bot/bot.py", "diff": "@@ -28,8 +28,6 @@ from vkbottle.utils.json import USAGE\ntry:\nimport uvloop\n-\n- asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())\nexcept ImportError:\nuvloop = None...
Python
MIT License
vkbottle/vkbottle
v2.7.2 Cosmetic changes (Refactoring)
718,838
08.05.2020 17:51:14
-10,800
c87ce17eee4b0c8919909946a6c217f89e74e779
v2.7.2 Rule wrong type warning
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/handler/handler.py", "new_path": "vkbottle/framework/framework/handler/handler.py", "diff": "import typing\n+import warnings\nimport re\nfrom vkbottle.utils import logger\n@@ -168,8 +169,9 @@ class MessageHandler:\ndef add_rules(se...
Python
MIT License
vkbottle/vkbottle
v2.7.2 Rule wrong type warning
718,838
10.05.2020 10:15:16
-10,800
cc5eac9df74820b1b243a298825290ee01571c2c
v2.7.2 Fix DocPreviewPhoto
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/objects/docs.py", "new_path": "vkbottle/types/objects/docs.py", "diff": "-from . import base\n+from . import base, photos\nimport typing\nfrom enum import Enum\nfrom ..base import BaseModel\n@@ -30,7 +30,7 @@ class DocPreview(BaseModel):\nclass ...
Python
MIT License
vkbottle/vkbottle
v2.7.2 Fix DocPreviewPhoto
718,838
10.05.2020 14:26:01
-10,800
f7724d53eee8a419c71a5121ccbf5453cba5f759
v2.7.2 Add new PhotoSizesTypes
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/objects/photos.py", "new_path": "vkbottle/types/objects/photos.py", "diff": "@@ -36,6 +36,8 @@ class ImageType(Enum):\ny = \"y\"\nz = \"z\"\nw = \"w\"\n+ i = \"i\"\n+ d = \"d\"\nclass MarketAlbumUploadResponse(BaseModel):\n@@ -179,6 +181,8 @@ cl...
Python
MIT License
vkbottle/vkbottle
v2.7.2 Add new PhotoSizesTypes
718,838
11.05.2020 09:15:00
-10,800
ae8fa0aaf8400f151c9a5e687191756256260930
v2.7.2 Add raw_error field into VKError; fix typing enums
[ { "change_type": "MODIFY", "old_path": "examples/tests/error_handler/error_handler.py", "new_path": "examples/tests/error_handler/error_handler.py", "diff": "@@ -9,6 +9,7 @@ user = User(os.environ[\"TOKEN\"])\nasync def solve_captcha(e: VKError):\n# solving captcha\n+ print(e.raw_error[\"captcha_img...
Python
MIT License
vkbottle/vkbottle
v2.7.2 Add raw_error field into VKError; fix typing enums
718,838
11.05.2020 12:58:23
-10,800
88adf3114bbcd72796d4494b823d946e03e5c748
v2.7.2 Reformat; cosmetic changes
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api/request.py", "new_path": "vkbottle/api/api/request.py", "diff": "@@ -26,23 +26,22 @@ async def request(\nresponse = await session.post(url, data=params or {})\nif not isinstance(response, dict):\n- while not isinstance(response, dict):\n- # Wo...
Python
MIT License
vkbottle/vkbottle
v2.7.2 Reformat; cosmetic changes
718,838
11.05.2020 13:34:29
-10,800
d30ca7b5fd3b331060164672234af56d43267fcd
v2.7.2 Cosmetic changes :black_joker:
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/bot.py", "new_path": "vkbottle/framework/bot/bot.py", "diff": "@@ -108,7 +108,7 @@ class Bot(HTTP, AsyncHandleManager):\n(logs_folder or \"\") + \"log_{time}.log\"\nif log_to_path is True\nelse log_to_path,\n- rotation=\"100 MB\",\n+ rot...
Python
MIT License
vkbottle/vkbottle
v2.7.2 Cosmetic changes :black_joker:
718,865
11.05.2020 23:21:19
18,000
4fa15144f0eb28bb64cc8fbb60f686f342f314ab
Cosmetic editions
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/uploader/photo.py", "new_path": "vkbottle/api/uploader/photo.py", "diff": "@@ -9,7 +9,7 @@ class PhotoUploader(Uploader):\npathlike: typing.Union[list, typing.Any],\ngroup_id: int = None,\n**params,\n- ) -> typing.Union[str, typing.List[dict]]:\n+...
Python
MIT License
vkbottle/vkbottle
Cosmetic editions (#101)
718,838
12.05.2020 14:46:50
-10,800
2112a0816f32a1c059c8989fad0e7566401cbf48
v2.7.3 VKScript converter [need tests] close
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/vkscript.py", "diff": "+from vkbottle import Bot, Message, vkscript\n+from typing import List\n+\n+bot = Bot(\"token\")\n+\n+@vkscript\n+def get_names(api, user_ids=1):\n+ names = []\n+ for user in api.users.get(user_ids=user_ids):\n+ n...
Python
MIT License
vkbottle/vkbottle
v2.7.3 VKScript converter [need tests] close #102
718,838
12.05.2020 16:52:39
-10,800
73475d2fb75a74267dd296ff6b64406b013e9354
v2.7.3 Implement ErrorHandler
[ { "change_type": "MODIFY", "old_path": "examples/vkscript.py", "new_path": "examples/vkscript.py", "diff": "from vkbottle import Bot, Message, vkscript\nfrom typing import List\n+import os\n-bot = Bot(\"token\")\n+bot = Bot(os.environ[\"TOKEN\"])\n@vkscript\ndef get_names(api, user_ids=1):\n@@ -11,7...
Python
MIT License
vkbottle/vkbottle
v2.7.3 Implement ErrorHandler
718,838
13.05.2020 09:12:44
-10,800
da08f714ff1e4773d8c4acfc168d2586bbfec763
v2.7.3 Cometic changes in vkscript converter
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/execute/base_converter.py", "new_path": "vkbottle/framework/framework/execute/base_converter.py", "diff": "import ast\nimport typing\nfrom inspect import getsource\n-from vkbottle.utils import ContextInstanceMixin\nclass ConverterE...
Python
MIT License
vkbottle/vkbottle
v2.7.3 Cometic changes in vkscript converter
718,838
13.05.2020 09:30:27
-10,800
ae66c6be50a01d3dd7aff49f27ef9a0e607d07b1
v2.7.3 Add ability to use f-strings in vkscript converter
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/execute/definitions.py", "new_path": "vkbottle/framework/framework/execute/definitions.py", "diff": "@@ -269,8 +269,11 @@ def str_type(d: ast.Num):\n@converter(ast.JoinedStr)\ndef joined_str(d: ast.JoinedStr):\n- print(d)\n+ return...
Python
MIT License
vkbottle/vkbottle
v2.7.3 Add ability to use f-strings in vkscript converter
718,838
13.05.2020 09:52:37
-10,800
b57afce4e11074b571f2f5a02e2fc01a3e42e6d3
v2.7.3 Improve converter + type fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/execute/definitions.py", "new_path": "vkbottle/framework/framework/execute/definitions.py", "diff": "@@ -6,9 +6,13 @@ from vkbottle.utils import random_string\nCALL_REPLACEMENTS = {\n\"append\": \"push\",\n}\n+CALL_STRING = [\"join...
Python
MIT License
vkbottle/vkbottle
v2.7.3 Improve converter + type fix
718,838
14.05.2020 00:19:37
-10,800
88c8d0db46ef6bd4cd04fcc04883544d29bc56cf
v2.7.3 Captcha handling implementation
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api/__init__.py", "new_path": "vkbottle/api/api/__init__.py", "diff": "from .api import API, UserApi, Api, get_api\n-from .request import Request, request\n+from .request import Request\n+from .util.requester import request\n" }, { "change...
Python
MIT License
vkbottle/vkbottle
v2.7.3 Captcha handling implementation
718,838
14.05.2020 09:19:37
-10,800
5e6b1f646e80a78c2c0c80ce2bbc0aeb9fb24540
v2.7.3 Made PhotoSizesType vk unstable type scheme undependent
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api/error_handler/error_handler.py", "new_path": "vkbottle/api/api/error_handler/error_handler.py", "diff": "@@ -26,7 +26,7 @@ class VKErrorHandler(ABC, ContextInstanceMixin):\nreturn {\"response\": response}\nelif e.error_code not in self.handled...
Python
MIT License
vkbottle/vkbottle
v2.7.3 Made PhotoSizesType vk unstable type scheme undependent
718,889
15.05.2020 10:03:56
-18,000
6dd14db562af005fdbe966b1d241730980364753
Message attachment history field
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/objects/messages.py", "new_path": "vkbottle/types/objects/messages.py", "diff": "-from . import base, audio, docs, photos, video, gifts, market, wall, users, link, polls\n+from . import base, audio, docs, photos, video, gifts, market, wall, user...
Python
MIT License
vkbottle/vkbottle
Message attachment history field (#104)
718,838
16.05.2020 11:38:30
-10,800
3ef038ddb169617cce8065b640d5d22dc59fb29b
v2.7.3 Fix keyboard generation color
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/keyboard/keyboard.py", "new_path": "vkbottle/api/keyboard/keyboard.py", "diff": "@@ -27,7 +27,7 @@ class KeyboardButton:\n@property\ndef button(self):\nb = {\"action\": except_none_self(self.action.dict())}\n- if self.action is Text:\n+ if isinsta...
Python
MIT License
vkbottle/vkbottle
v2.7.3 Fix keyboard generation color (#97)
718,838
16.05.2020 15:38:07
-10,800
09f3c097c463eff54ed75839429dab92d49cd99f
v2.7.3 typo example fix
[ { "change_type": "MODIFY", "old_path": "examples/tests/error_handler/error_handler.py", "new_path": "examples/tests/error_handler/error_handler.py", "diff": "@@ -19,7 +19,7 @@ async def solve_captcha(e: VKError):\nimage = await response_image.content.read()\nasync with session.post(\n\"https://rucap...
Python
MIT License
vkbottle/vkbottle
v2.7.3 typo example fix
718,865
16.05.2020 12:00:30
18,000
da6007e21130ee83a79676cce4807f60c0864950
Blueprint editions
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/blueprint/abc.py", "new_path": "vkbottle/framework/blueprint/abc.py", "diff": "+from vkbottle.framework.framework.branch import AbstractBranchGenerator, DictBranch\n+from vkbottle.framework.framework.handler import MiddlewareExecutor\n+from ...
Python
MIT License
vkbottle/vkbottle
Blueprint editions (#103)
718,838
17.05.2020 18:46:45
-10,800
160e825676830cf9624631f5371ed7c26c337c9d
v2.7.4 Improve docs, release version
[ { "change_type": "MODIFY", "old_path": "examples/tests/error_handler/error_handler.py", "new_path": "examples/tests/error_handler/error_handler.py", "diff": "@@ -48,10 +48,10 @@ async def hi(ans: Message, text: str):\nfor symbol in list(text):\nnew_text += symbol\nawait user.api.messages.edit(ans.pe...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Improve docs, release version
718,838
17.05.2020 22:26:24
-10,800
75337149e2600cdc1935bffc83975b3034619847
v2.7.4 Fix branches
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/bot.py", "new_path": "vkbottle/framework/bot/bot.py", "diff": "@@ -191,8 +191,7 @@ class Bot(HTTP, AsyncHandleManager):\nself.on.concatenate(bot.on)\nself.error_handler.handled_errors.update(bot.error_handler.handled_errors)\nself.middle...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Fix branches #106
718,838
17.05.2020 22:35:09
-10,800
7fe1bddfbbee73c36181d86f2b6c2e112f94797c
v2.7.4 Improve docs, reformat
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/branch/dict_branch.py", "new_path": "vkbottle/framework/framework/branch/dict_branch.py", "diff": "@@ -19,7 +19,7 @@ class DictBranch(DatabaseBranch):\ndel self.user_states[uid]\nasync def all_users(self) -> typing.List[int]:\n- re...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Improve docs, reformat
718,838
19.05.2020 21:09:40
-10,800
948c998b11ad48301f78ddd430c5a7b510ee92ae
v2.7.4 Fix user polling processor + added api's get_method_requested + add setCovidStatus method and improve docs
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api/api.py", "new_path": "vkbottle/api/api/api.py", "diff": "import typing\nfrom vkbottle.http import HTTPRequest\n-from vkbottle.utils import ContextInstanceMixin, Constructor\n+from vkbottle.utils import ContextInstanceMixin, Constructor, method...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Fix user polling processor + added api's get_method_requested + add setCovidStatus method and improve docs
718,838
21.05.2020 17:59:35
-10,800
4b7a1a97c102bd9a48e7a0d1e398e71a81fa70a9
v2.7.4 Add audio param to status.set
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/handler/handler.py", "new_path": "vkbottle/framework/framework/handler/handler.py", "diff": "@@ -123,7 +123,6 @@ class Handler:\nrule = VBMLRule(pattern)\nself.chat_message.add_rules([rule], func)\nreturn func\n-\nreturn decorator\...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Add audio param to status.set
718,838
21.05.2020 18:07:32
-10,800
bdcc80443d05948abfc7ebdec09c63c2e9f39344
v2.7.4 fix middleware async_generator unpack
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/user/processor.py", "new_path": "vkbottle/framework/user/processor.py", "diff": "@@ -129,7 +129,10 @@ class AsyncHandleManager:\ntask = await rule.call(message, *args, **kwargs)\nawait self._handler_return(task, data)\n- await self.middlewar...
Python
MIT License
vkbottle/vkbottle
v2.7.4 fix middleware async_generator unpack
718,838
21.05.2020 19:30:21
-10,800
76281913d6a2a8ce4b1620e21c59f043836232e4
v2.7.4 Improve types, add audio hidden fields
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/objects/audio.py", "new_path": "vkbottle/types/objects/audio.py", "diff": "from ..base import BaseModel\n+from typing import List\n+\n+\n+class AudioAds(BaseModel):\n+ content_id: str = None\n+ duration: str = None\n+ account_age_type: str = Non...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Improve types, add audio hidden fields
718,838
21.05.2020 22:18:19
-10,800
ba07aa40433ae68ce6ff6c7362c289413eed2fba
v2.7.4 Fix response types 2/2
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/responses/notifications.py", "new_path": "vkbottle/types/responses/notifications.py", "diff": "@@ -11,13 +11,13 @@ class SendMessageModel(BaseModel):\nclass Get(BaseModel):\ncount: int = None\n- items: typing.List = None\n- profiles: typing.List...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Fix response types 2/2
718,838
21.05.2020 22:22:58
-10,800
bc343eca65a6080bd5f7a156af1c2af2d3734f05
v2.7.4 Fix response type :sleepy:
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/responses/orders.py", "new_path": "vkbottle/types/responses/orders.py", "diff": "@@ -44,8 +44,10 @@ class GetUserSubscriptionByIdModel(BaseModel):\nresponse: GetUserSubscriptionById = None\n+GetUserSubscriptions = objects.orders.Subscription\n+\...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Fix response type :sleepy:
718,838
22.05.2020 10:10:46
-10,800
44aa10a2af7381d21e600e8d95b44fd4f726e54f
v2.7.4 Cosmetic improvements; add attachment getters to Message dataclass
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/bot.py", "new_path": "vkbottle/framework/bot/bot.py", "diff": "@@ -112,7 +112,7 @@ class Bot(HTTP, AsyncHandleManager):\n)\nself.group_id = group_id or self.get_id_by_token(self.__tokens[0])\n- self.__loop = loop or asyncio.get_event_loo...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Cosmetic improvements; add attachment getters to Message dataclass
718,838
22.05.2020 11:42:44
-10,800
a6d3e30810ec387e3038053b37e6fa062dca4fbf
v2.7.4 Made dumping branch context optional
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/branch/database_branch.py", "new_path": "vkbottle/framework/framework/branch/database_branch.py", "diff": "@@ -88,7 +88,13 @@ class DatabaseBranch(AbstractBranchGenerator):\nf\"Branch {branch.__name__!r} hasn't yet been assigned wi...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Made dumping branch context optional
718,838
22.05.2020 11:48:36
-10,800
e045dd947ca95e7425f5cb76fd52c20033b7669a
v2.7.4 Fix branch context dump generator
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/branch/database_branch.py", "new_path": "vkbottle/framework/framework/branch/database_branch.py", "diff": "@@ -91,7 +91,7 @@ class DatabaseBranch(AbstractBranchGenerator):\ndumped_context = context\n- if self.generator is Generator...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Fix branch context dump generator
718,838
22.05.2020 11:53:07
-10,800
864642d9043d155efc8d7a4528250135ee11694d
v2.7.4 Fix branch checkup key; Reformat with black
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/uploader/audio.py", "new_path": "vkbottle/api/uploader/audio.py", "diff": "import typing\nfrom .base import Uploader\n+\nclass AudioUploader(Uploader):\nasync def upload_audio(\nself,\n@@ -10,17 +11,16 @@ class AudioUploader(Uploader):\n**params,\...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Fix branch checkup key; Reformat with black
718,838
23.05.2020 12:26:35
-10,800
015c635d133e12ef471e746c3893c91a8e3b7fa8
v2.7.4 Silly fix message.reply
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/message.py", "new_path": "vkbottle/types/message.py", "diff": "@@ -54,7 +54,7 @@ class Message(MessageType, GetApi):\ndont_parse_links: bool = None,\ndisable_mentions: bool = None,\n):\n- return self.__call__(\n+ return await self.__call__(\n**s...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Silly fix message.reply
718,865
24.05.2020 09:05:30
18,000
2f88f8436efb808d4ffb4c9e74512684c8306286
v2.7.4 Branch fixes
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/bot.py", "new_path": "vkbottle/framework/bot/bot.py", "diff": "@@ -132,7 +132,6 @@ class Bot(HTTP, AsyncHandleManager):\nself.on: Handler = Handler(self.group_id)\nself._stop: bool = False\n- self.branch_checkup_key: BranchCheckupKey = B...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Branch fixes (#110)
718,865
24.05.2020 09:49:58
18,000
2bd3340403d363782309304475183f84e4b3d7e5
v2.7.4 Import fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/bot.py", "new_path": "vkbottle/framework/bot/bot.py", "diff": "@@ -15,7 +15,7 @@ from vkbottle.framework.framework.handler import MiddlewareExecutor\nfrom vkbottle.framework.framework.extensions import AbstractExtension\nfrom vkbottle.fr...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Import fix (#111)
718,865
24.05.2020 10:48:15
18,000
a09d1aab02ee8ed599360539eb188b97d28a1559
v2.7.4 Some minor fixes in user.processor
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -75,27 +75,23 @@ bot.run_polling(skip_updates=False)\nfrom vkbottle import Bot, Message\nfrom aiohttp import web\n-bot = Bot(token=\"my-token\", secret=\"my-secret\")\n+bot = Bot(token=\"my-token\")\napp = web.A...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Some minor fixes in user.processor (#112)
718,838
25.05.2020 21:22:24
-10,800
8f7c70d7dadb2bf7b2951d27e46f9f1bde0795b1
v2.7.4 BotHandler refactoring; commit propertly [ documentation needed :art: ]
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/handler/bot/handler.py", "new_path": "vkbottle/framework/framework/handler/bot/handler.py", "diff": "@@ -12,17 +12,29 @@ from vkbottle.framework.framework.rule import (\nChatMessage,\nPrivateMessage,\nAny,\n- StickerRule,\nAbstract...
Python
MIT License
vkbottle/vkbottle
v2.7.4 BotHandler refactoring; commit propertly [ documentation needed :art: ]
718,838
25.05.2020 22:04:25
-10,800
b87460b7d20b5335430c9ada60db61ce4a01c4b5
v2.7.4 Compexity - brueprints unpack dispatch task
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/bot.py", "new_path": "vkbottle/framework/bot/bot.py", "diff": "@@ -196,7 +196,7 @@ class Bot(PollingAPI):\nAdd blueprints\n\"\"\"\nfor blueprint in blueprints:\n- self.loop.create_task(self.dispatch(blueprint))\n+ self.loop.run_until_com...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Compexity - brueprints unpack dispatch task
718,838
26.05.2020 09:00:41
-10,800
67a367d8fb3b93e9fe41caeafca1f034ac142dc3
v2.7.4 Fastfix unused unpack
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/handler/user/handler.py", "new_path": "vkbottle/framework/framework/handler/user/handler.py", "diff": "@@ -66,12 +66,8 @@ class UserHandler(ABCHandler):\nasync def dispatch(\nself, get_current_rest: typing.Callable[[], typing.Await...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Fastfix unused unpack
718,838
26.05.2020 13:28:36
-10,800
e95f2b35182ef54cade9e97a779bfc6c6ab9ad84
v2.7.4 Upload from link uploader implementation [ documentated :baby_bottle: ]
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/uploader/audio.py", "new_path": "vkbottle/api/uploader/audio.py", "diff": "@@ -3,6 +3,8 @@ from .base import Uploader\nclass AudioUploader(Uploader):\n+ FILE_EXTENSIONS = [\".mp3\", \".ogg\", \".opus\"]\n+\nasync def upload_audio(\nself,\nartist: ...
Python
MIT License
vkbottle/vkbottle
v2.7.4 Upload from link uploader implementation [ documentated :baby_bottle: ]
718,865
27.05.2020 10:41:05
18,000
efea5e3b31590073b63cc0c815a11956fd45d9f1
Move ABCMessageHandler
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/handler/bot/handler.py", "new_path": "vkbottle/framework/framework/handler/bot/handler.py", "diff": "@@ -21,6 +21,7 @@ from ..message import ABCMessageHandler\nclass MessageHandler(ABCMessageHandler):\ndef __init__(self, *, default...
Python
MIT License
vkbottle/vkbottle
Move ABCMessageHandler (#114)
718,838
28.05.2020 20:18:16
-10,800
4dfb73d6432dc64921609d3b65180a5789a1e18b
v2.7.5 Middleware PRE args are sent to POST
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/processor.py", "new_path": "vkbottle/framework/bot/processor.py", "diff": "@@ -92,7 +92,7 @@ class BotProcessor(ABCProcessor):\nbreak\nasync for mr in self.middleware.run_middleware(\n- message, flag=MiddlewareFlags.POST\n+ message, flag...
Python
MIT License
vkbottle/vkbottle
v2.7.5 Middleware PRE args are sent to POST
718,854
28.05.2020 21:10:55
-10,800
c149eb401154c6cddc8904352a4f176aee4354ca
v2.7.5 Fix middleware args
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/processor.py", "new_path": "vkbottle/framework/bot/processor.py", "diff": "@@ -92,7 +92,7 @@ class BotProcessor(ABCProcessor):\nbreak\nasync for mr in self.middleware.run_middleware(\n- message, flag=MiddlewareFlags.POST, *middleware_arg...
Python
MIT License
vkbottle/vkbottle
v2.7.5 Fix middleware args (#116)
718,838
29.05.2020 07:58:32
-10,800
f75b6ba1df381876b0cf1bc5cde01dee43615aed
v2.7.5 Added types for BytesIO
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/uploader/audio.py", "new_path": "vkbottle/api/uploader/audio.py", "diff": "import typing\nfrom .base import Uploader\n+from io import BytesIO\nclass AudioUploader(Uploader):\nFILE_EXTENSIONS = [\".mp3\", \".ogg\", \".opus\"]\nasync def upload_audi...
Python
MIT License
vkbottle/vkbottle
v2.7.5 Added types for BytesIO
718,838
29.05.2020 09:36:24
-10,800
7e1ceaad3572a17bdfda7cc381cae4ad1ebf16d1
v2.7.5 Fix simplified branch unpack (fix
[ { "change_type": "MODIFY", "old_path": "examples/tests/branches_types.py", "new_path": "examples/tests/branches_types.py", "diff": "@@ -13,8 +13,8 @@ class LovelessBranch(ClsBranch):\nreturn \"I don't love you forever\"\n-@bot.branch.simple_branch(branch_name=\"nun\")\n-async def branch_wrapper(ans:...
Python
MIT License
vkbottle/vkbottle
v2.7.5 Fix simplified branch unpack (fix #117)
718,844
31.05.2020 15:53:26
-10,800
cfa1356d3165a3a27736f7a3d16d7e61568ec21f
v2.7.5 Fix wall.edit and add audio messages uploader
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/uploader/audio.py", "new_path": "vkbottle/api/uploader/audio.py", "diff": "import typing\n-from .base import Uploader\nfrom io import BytesIO\n+from .base import Uploader\n+\nclass AudioUploader(Uploader):\nFILE_EXTENSIONS = [\".mp3\", \".ogg\", \...
Python
MIT License
vkbottle/vkbottle
v2.7.5 Fix wall.edit and add audio messages uploader (#118)
718,838
31.05.2020 16:40:53
-10,800
045e77170d02db86368a0e7fce591d980c1f21a2
v2.7.5 Added proxy support
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/proxy.py", "diff": "+from vkbottle import Proxy, Bot\n+from vkbottle.framework.bot.templates.echo import Echo\n+import os\n+\n+proxy = Proxy(address=\"http://163.172.189.32:8811\")\n+bot = Bot(os.environ[\"token\"])\n+\n+Echo(bot).ready...
Python
MIT License
vkbottle/vkbottle
v2.7.5 Added proxy support
718,838
31.05.2020 19:06:48
-10,800
603749ab8a18b109b2de8d22a56187b10abf82d9
v2.7.5 Added carousels (move them back) + example :crossed_flags:
[ { "change_type": "MODIFY", "old_path": "vkbottle/__init__.py", "new_path": "vkbottle/__init__.py", "diff": "@@ -3,6 +3,7 @@ from .framework.framework import branch, vkscript\nfrom .types.message import Message\nfrom .utils.task import TaskManager\nfrom .api.keyboard import keyboard_gen\n+from .api.c...
Python
MIT License
vkbottle/vkbottle
v2.7.5 Added carousels (move them back) + example :crossed_flags:
718,838
02.06.2020 20:08:32
-10,800
4b51dbc399f2cb522e7839f0e64af74788372b78
v2.7.5 Fix DICT braches context dump
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/branch/database_branch.py", "new_path": "vkbottle/framework/framework/branch/database_branch.py", "diff": "@@ -90,7 +90,7 @@ class DatabaseBranch(ABCBranchGenerator):\ndumped_context = context\n- if self.generator == GeneratorType....
Python
MIT License
vkbottle/vkbottle
v2.7.5 Fix DICT braches context dump
718,838
02.06.2020 22:15:47
-10,800
f6cfbaf9a1298a47a78fe0b0f0b3fb9de1ff944b
v2.7.5 Minor branch generator fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/branch/database_branch.py", "new_path": "vkbottle/framework/framework/branch/database_branch.py", "diff": "@@ -90,7 +90,7 @@ class DatabaseBranch(ABCBranchGenerator):\ndumped_context = context\n- if self.__class__.generator == Gene...
Python
MIT License
vkbottle/vkbottle
v2.7.5 Minor branch generator fix
718,838
03.06.2020 08:13:04
-10,800
e452c62ef712e2acaa10db577c7566be1a470208
v2.7.5 Minor storage fix; added context storage example
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/extensions/storage/context_storage.py", "new_path": "vkbottle/framework/framework/extensions/storage/context_storage.py", "diff": "from .abc import ABCStorage\nfrom vkbottle.utils import ContextInstanceMixin\n-import contextvars\ni...
Python
MIT License
vkbottle/vkbottle
v2.7.5 Minor storage fix; added context storage example
718,838
04.06.2020 18:16:58
-10,800
4f4097b6f5bf3d977a4a255ca976da16463d3962
v2.7.5 Improve vkscript converter
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/execute/base_converter.py", "new_path": "vkbottle/framework/framework/execute/base_converter.py", "diff": "@@ -31,6 +31,10 @@ class Converter:\n\"\"\" Translate function to VKScript \"\"\"\nsource = getsource(func)\ncode = ast.pars...
Python
MIT License
vkbottle/vkbottle
v2.7.5 Improve vkscript converter
718,838
04.06.2020 19:42:06
-10,800
9f3ab397f40dc83f0680da00724e78e72da26043
v2.7.5 Hotfix kwargs check in converter
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/execute/base_converter.py", "new_path": "vkbottle/framework/framework/execute/base_converter.py", "diff": "@@ -33,7 +33,7 @@ class Converter:\ncode = ast.parse(source).body[0]\nargs = [a.arg for a in code.args.args]\nargs.pop(0)\n-...
Python
MIT License
vkbottle/vkbottle
v2.7.5 Hotfix kwargs check in converter
718,838
04.06.2020 19:51:55
-10,800
30f57f416b2a41c902ed623c3b464fde309e824e
v2.7.5 Hotfix if_statement vkscript converter
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/execute/definitions.py", "new_path": "vkbottle/framework/framework/execute/definitions.py", "diff": "@@ -157,8 +157,8 @@ def for_cycle(d: ast.For):\ndef if_statement(d: ast.If):\nreturn (\n\"if(\" + find(d.test) + \"){\" + \"\".joi...
Python
MIT License
vkbottle/vkbottle
v2.7.5 Hotfix if_statement vkscript converter
718,838
04.06.2020 20:44:44
-10,800
b060decb2bb13cb506963b757539917107a7a1eb
v2.7.5 Converter improvements
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/execute/definitions.py", "new_path": "vkbottle/framework/framework/execute/definitions.py", "diff": "@@ -156,7 +156,7 @@ def for_cycle(d: ast.For):\n@converter(ast.If)\ndef if_statement(d: ast.If):\nreturn (\n- \"if(\" + find(d.tes...
Python
MIT License
vkbottle/vkbottle
v2.7.5 Converter improvements
718,838
04.06.2020 22:05:12
-10,800
f19e8e898ea5b8e9895f32063e407651486b9217
v2.7.5 Fix else in statements unpack for vkscript converter
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/execute/definitions.py", "new_path": "vkbottle/framework/framework/execute/definitions.py", "diff": "@@ -157,7 +157,7 @@ def for_cycle(d: ast.For):\ndef if_statement(d: ast.If):\nreturn (\n\"if(\" + find(d.test) + \"){\" + \"\".joi...
Python
MIT License
vkbottle/vkbottle
v2.7.5 Fix else in statements unpack for vkscript converter
718,838
05.06.2020 11:33:00
-10,800
af477107de76c2276b52585de19adf8aa3b81070
v2.7.5 Converter values_assignments fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/execute/base_converter.py", "new_path": "vkbottle/framework/framework/execute/base_converter.py", "diff": "@@ -35,7 +35,7 @@ class Converter:\nargs.pop(0)\nif any(v not in values for v in args):\nraise ConverterError(\"All values s...
Python
MIT License
vkbottle/vkbottle
v2.7.5 Converter values_assignments fix
718,865
11.06.2020 23:48:33
18,000
36f0aa9e403001ba7ed852891b3a376f0e29463d
v2.7.5 New audio message transcription method
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/methods/messages.py", "new_path": "vkbottle/types/methods/messages.py", "diff": "@@ -1225,6 +1225,33 @@ class MessagesUnpin(BaseMethod):\n)\n+class MessagesRecognizeAudioMessage(BaseMethod):\n+ kwargs: dict = {}\n+ access_token_type: APIAccessib...
Python
MIT License
vkbottle/vkbottle
v2.7.5 New audio message transcription method (#127)
718,889
12.06.2020 09:58:09
-18,000
5f1508a0c5ecfbedda196f61eb97a79c1f742845
v2.7.5 New message fields transcript_state and transcript
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/objects/messages.py", "new_path": "vkbottle/types/objects/messages.py", "diff": "@@ -25,6 +25,8 @@ class AudioMessage(BaseModel):\nlink_mp3: str = None\nlink_ogg: str = None\nowner_id: int = None\n+ transcript: str = None\n+ transcript_state: st...
Python
MIT License
vkbottle/vkbottle
v2.7.5 New message fields transcript_state and transcript (#124)
718,889
12.06.2020 11:57:12
-18,000
815b8c259b386d21c2b8d4e49ff51af70ba72ab5
v2.7.5 audio message recognition method
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/methods/messages.py", "new_path": "vkbottle/types/methods/messages.py", "diff": "@@ -1297,3 +1297,4 @@ class Messages:\nself.set_activity = MessagesSetActivity(request)\nself.set_chat_photo = MessagesSetChatPhoto(request)\nself.unpin = MessagesU...
Python
MIT License
vkbottle/vkbottle
v2.7.5 audio message recognition method (#128)
718,889
15.06.2020 18:18:30
-18,000
1c42b3a4a5a12ca53102d3365d92118d959cbdbf
v2.7.5 Rules queue
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/handler/message.py", "new_path": "vkbottle/framework/framework/handler/message.py", "diff": "@@ -110,14 +110,16 @@ class ABCMessageHandler(ABC):\n:param pattern: any regex pattern pattern. {} means text which will be formatted\n:re...
Python
MIT License
vkbottle/vkbottle
v2.7.5 Rules queue (#133)
718,889
19.06.2020 01:40:05
-18,000
5d8fd8909398e0f36acefbbaf6ec7f624585f07d
Call attachment
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/objects/messages.py", "new_path": "vkbottle/types/objects/messages.py", "diff": "@@ -30,6 +30,15 @@ class AudioMessage(BaseModel):\nwaveform: typing.List[int] = None\n+class Call(BaseModel):\n+ initiator_id: int = None\n+ receiver_id: int = None...
Python
MIT License
vkbottle/vkbottle
Call attachment (#140)