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
23.06.2020 21:56:00
-10,800
2e2b206a7f91e77fa86b84d6993e56c07a458a8a
v2.7.6 Fix keyboard generator (rewrite and fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/keyboard/generator.py", "new_path": "vkbottle/api/keyboard/generator.py", "diff": "@@ -16,24 +16,25 @@ def keyboard_gen(\nfor row in rows:\nrow_buttons = list()\nfor button in row:\n- row_buttons.append(\n- dict(\n- action=dict(\n- type=button.get...
Python
MIT License
vkbottle/vkbottle
v2.7.6 Fix keyboard generator (rewrite and fix #138)
718,838
24.06.2020 01:23:49
-10,800
800787c730e75c70030627dba2270d81ca9b7623
v2.7.6 tokens field can take string value
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api/api.py", "new_path": "vkbottle/api/api/api.py", "diff": "@@ -24,10 +24,13 @@ class API(ContextInstanceMixin, Categories, Constructor):\ndef __init__(\nself,\n- tokens: typing.List[str] = None,\n+ tokens: typing.Union[str, typing.List[str]] = N...
Python
MIT License
vkbottle/vkbottle
v2.7.6 tokens field can take string value
718,838
24.06.2020 02:16:04
-10,800
dbb2719b1db60a3f2da535652c283a42f826c019
v2.7.6 Fix type of wallpost responded
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/responses/wall.py", "new_path": "vkbottle/types/responses/wall.py", "diff": "@@ -59,7 +59,7 @@ class GetRepostsModel(BaseModel):\nclass Get(BaseModel):\ncount: int = None\n- items: typing.List[objects.wall.Wallpost] = None\n+ items: typing.List[...
Python
MIT License
vkbottle/vkbottle
v2.7.6 Fix type of wallpost responded
718,838
24.06.2020 02:57:43
-10,800
ea44628acbde49103e5e172f09090a6c0da68e42
v2.7.6 Little change
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api/api.py", "new_path": "vkbottle/api/api/api.py", "diff": "@@ -28,7 +28,7 @@ class API(ContextInstanceMixin, Categories, Constructor):\ngenerator: typing.Union[str] = \"consistent\",\nthrow_errors: bool = True,\n):\n- if isinstance(tokens, str):...
Python
MIT License
vkbottle/vkbottle
v2.7.6 Little change
718,842
26.06.2020 10:42:19
-10,800
d9aef7fe71a46c3bf93ada33bf9d9df0bab774ff
v2.7.6 Changed ABCMessageHandler The return value of a __repr__ must be a string object
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/handler/message.py", "new_path": "vkbottle/framework/framework/handler/message.py", "diff": "@@ -168,14 +168,15 @@ class ABCMessageHandler(ABC):\ndef __repr__(self):\nrules = \"\"\n- for rules in self.rules:\n+ for rule in self.rul...
Python
MIT License
vkbottle/vkbottle
v2.7.6 Changed ABCMessageHandler (#149) The return value of a __repr__ must be a string object
718,842
27.06.2020 19:05:57
-10,800
82ca7b3f98e8adbf772feb643257659dd8e2b431
Fix response type for likes get Renamed GetList.users to GetList.items as it is since VK API 4.94 version
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/responses/likes.py", "new_path": "vkbottle/types/responses/likes.py", "diff": "@@ -30,7 +30,7 @@ class DeleteModel(BaseModel):\nclass GetList(BaseModel):\ncount: int = None\n- users: typing.List[int] = None\n+ items: typing.List[int] = None\ncla...
Python
MIT License
vkbottle/vkbottle
Fix response type for likes get #151 (#152) Renamed GetList.users to GetList.items as it is since VK API 4.94 version
718,838
30.06.2020 13:58:03
-10,800
5e016e685937ba7be9f31ee73ba27ea456797fe2
v2.7.6 Fix branches false database
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/processor.py", "new_path": "vkbottle/framework/bot/processor.py", "diff": "@@ -162,7 +162,7 @@ class BotProcessor(ABCProcessor):\nbreak\n# FIXME\n- if edited is False and self.branch.generator is GeneratorType.DATABASE:\n+ if edited is F...
Python
MIT License
vkbottle/vkbottle
v2.7.6 Fix branches false database
718,842
08.07.2020 16:33:46
-10,800
5bc87b4c12fbad6287d5170da1fec3d1a577d7f7
v2.7.6 Changed deprecated skip_defaults to exclude_unset
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/base.py", "new_path": "vkbottle/types/base.py", "diff": "@@ -8,11 +8,11 @@ class BaseModel(pydantic.BaseModel):\nuse_enum_values = True\ndef __str__(self):\n- return str(self.dict(skip_defaults=True))\n+ return str(self.dict(exclude_unset=True))...
Python
MIT License
vkbottle/vkbottle
v2.7.6 Changed deprecated skip_defaults to exclude_unset (#159)
718,844
10.07.2020 22:24:07
-10,800
986d1e0aa9f6f25132ea652d4d7dc95833e7fe68
v2.7.6 Fix reading error for BytesIO in uploader(#164)
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/uploader/base.py", "new_path": "vkbottle/api/uploader/base.py", "diff": "@@ -44,6 +44,7 @@ class Uploader:\ndef open_pathlike(pathlike: typing.Union[str, BytesIO]) -> BytesIO:\nif isinstance(pathlike, str):\nreturn open(pathlike, \"rb\")\n+ pathli...
Python
MIT License
vkbottle/vkbottle
v2.7.6 Fix reading error for BytesIO in uploader(#164)
718,842
24.07.2020 22:45:27
-10,800
a3a5006abfaf9c3815dd18baf645a95a156256d0
Updated PyPi publish workflow to publish on every v* tag Fixed license in setup.py Fixed collections.abc deprecation error Replaced .replace("&lt", "<")... with simple html.unescape
[ { "change_type": "ADD", "old_path": null, "new_path": ".github/workflows/publish_to_pypi.yml", "diff": "+name: Publish Package to PyPI\n+\n+on:\n+ push:\n+ tags:\n+ - 'v*'\n+\n+jobs:\n+ build-and-publish:\n+ runs-on: ubuntu-latest\n+\n+ steps:\n+ - uses: actions/checkout@master\n+\n+ - name: Set up ...
Python
MIT License
vkbottle/vkbottle
Updated PyPi publish workflow to publish on every v* tag (#176) Fixed license in setup.py Fixed collections.abc deprecation error Replaced .replace("&lt", "<")... with simple html.unescape
718,842
25.07.2020 15:01:11
-10,800
fe9354eeab26a8cd713cb9dce08ed44bb971623c
Updated version for release v2.7.7
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -9,7 +9,7 @@ except:\nsetuptools.setup(\nname=\"vkbottle\",\n- version=\"2.7.6\",\n+ version=\"2.7.7\",\nauthor=\"timoniq\",\ndescription=\"Homogenic!\",\nlong_description=long_description,\n" }, { "change...
Python
MIT License
vkbottle/vkbottle
Updated version for release v2.7.7 (#178) Co-authored-by: A. J. Timoniq <52574917+timoniq@users.noreply.github.com>
718,842
26.07.2020 18:08:09
-10,800
87b7a8f295e387b4963512473acf079727ca6582
Updated setup.py, index.md, README.md Made the version in setup.py imported Made open("README.md") exception handlers more explicit Made index.md more like README.md Created/updated links in both index and README.md Removed VBML_INTSALL from const.py
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "import setuptools\n+from vkbottle import const\n+\ntry:\nwith open(\"README.md\", \"r\", encoding=\"utf-8\") as f:\nlong_description = f.read()\n-except:\n+except UnicodeDecodeError:\nwith open(\"README.md\", \"r\") ...
Python
MIT License
vkbottle/vkbottle
Updated setup.py, index.md, README.md (#179) Made the version in setup.py imported Made open("README.md") exception handlers more explicit Made index.md more like README.md Created/updated links in both index and README.md Removed VBML_INTSALL from const.py
718,842
29.07.2020 21:22:07
-10,800
e39a4b6be75d150cedb26ba08ec18466e463b10a
Fixed setup.py import error Fixed typo in docs/getting_started.md Fixed friends.get model close
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "import setuptools\n-from vkbottle import const\n-\ntry:\nwith open(\"README.md\", \"r\", encoding=\"utf-8\") as f:\nlong_description = f.read()\n@@ -11,9 +9,12 @@ except UnicodeDecodeError:\nexcept FileNotFoundError:...
Python
MIT License
vkbottle/vkbottle
Fixed setup.py import error (#181) Fixed typo in docs/getting_started.md Fixed friends.get model close #180
718,838
29.07.2020 23:45:35
-10,800
868b7885ba60022168974fba88c04fc5677cc43c
Ultra important fix
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -161,7 +161,7 @@ user = User(\"user-token\")\n@user.on.message_handler(text=\"do you like <item>?\")\nasync def wrapper(ans: Message, item: str):\n- if item in [\"memes\", \"chicket nuggets\", \"vkbottle\"]:\n+ ...
Python
MIT License
vkbottle/vkbottle
Ultra important fix
718,838
31.07.2020 19:44:30
-10,800
43d63a7442323b4f6d97466a504e6cd01c066d0f
Errors handled with swear just_log return nothing
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/swear_handler.py", "new_path": "vkbottle/framework/framework/swear_handler.py", "diff": "@@ -28,13 +28,14 @@ def swear(\nif ignore:\nreturn e\nif exception_handler is not None:\n- await exception_handler(e, *args, **kwargs)\n+ retu...
Python
MIT License
vkbottle/vkbottle
Errors handled with swear just_log return nothing
718,838
01.08.2020 13:22:15
-10,800
697506987ee563dea554dc3df07b6b95c752e1d6
Fix friends.get response type (User to UserFull)
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/responses/friends.py", "new_path": "vkbottle/types/responses/friends.py", "diff": "@@ -121,7 +121,7 @@ class GetSuggestionsModel(BaseModel):\nclass Get(BaseModel):\ncount: int = None\n- items: typing.List[typing.Union[int, objects.users.User]] =...
Python
MIT License
vkbottle/vkbottle
Fix friends.get response type (User to UserFull)
718,838
02.08.2020 22:49:50
-10,800
c5ebffd36aaee2064b7f27685dbf18f49580b41c
Update CommandRule; takes many prefixes
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/framework/rule/rule.py", "new_path": "vkbottle/framework/framework/rule/rule.py", "diff": "@@ -158,17 +158,19 @@ class LevenshteinDisRule(AbstractMessageRule):\nclass CommandRule(AbstractMessageRule):\n- def __init__(self, message: typing.Un...
Python
MIT License
vkbottle/vkbottle
Update CommandRule; takes many prefixes
718,838
04.08.2020 17:42:26
-10,800
65de34e7ee80d4ef39ddde6f057597bc52b7f7bd
Transfer event loop getter
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/bot.py", "new_path": "vkbottle/framework/bot/bot.py", "diff": "@@ -109,8 +109,8 @@ class Bot(PollingAPI):\nrotation=\"20 MB\",\n)\n- self.group_id = group_id or self.get_id_by_token(self.__tokens[0])\n- self.loop = loop or asyncio.get_ev...
Python
MIT License
vkbottle/vkbottle
Transfer event loop getter (#183)
718,842
04.08.2020 21:18:12
-10,800
53e9bfb7a7ca6b3196cb75a03785890f807701e9
Fixed message.send model and typos
[ { "change_type": "MODIFY", "old_path": "vkbottle/http/request.py", "new_path": "vkbottle/http/request.py", "diff": "@@ -66,7 +66,7 @@ class HTTPRequest:\njson_: dict = None,\ncontent_type: str = \"application/json\",\nread_content: bool = False,\n- ) -> typing.Union[dict]:\n+ ) -> typing.Union[dict,...
Python
MIT License
vkbottle/vkbottle
Fixed message.send model and typos (#185)
718,838
04.08.2020 21:47:39
-10,800
730c8143dcce2a25a28322a6034778d058588dcc
Transfer user loop getter
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/bot.py", "new_path": "vkbottle/framework/bot/bot.py", "diff": "@@ -320,6 +320,7 @@ class Bot(PollingAPI):\nCan be manually stopped with:\nbot.stop()\n\"\"\"\n+ if not self.group_id:\nself.group_id = (await self.api.request(\"groups.getBy...
Python
MIT License
vkbottle/vkbottle
Transfer user loop getter (#186)
718,889
05.08.2020 12:16:38
-18,000
a98ffa6cec61850511adda324ded1b6387d9d266
Added fields for LinkButtonActionType and PostType
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/objects/link.py", "new_path": "vkbottle/types/objects/link.py", "diff": "@@ -41,6 +41,7 @@ class LinkButtonAction(BaseModel):\nclass LinkButtonActionType(Enum):\nopen_url = \"open_url\"\n+ join_group_and_open_url = \"join_group_and_open_url\"\nc...
Python
MIT License
vkbottle/vkbottle
Added fields for LinkButtonActionType and PostType (#187)
718,838
06.08.2020 11:40:31
-10,800
0a499d05cddcbc38f603e6f0352845011ab99170
Made copy dispatch sync
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/bot.py", "new_path": "vkbottle/framework/bot/bot.py", "diff": "@@ -179,7 +179,7 @@ class Bot(PollingAPI):\nexcept VKError:\ncontinue\n- async def dispatch(self, bot: AnyBot):\n+ def dispatch(self, bot: AnyBot):\n\"\"\"\nConcatenate handl...
Python
MIT License
vkbottle/vkbottle
Made copy dispatch sync (#188)
718,874
09.08.2020 11:11:51
-10,800
44ee2fcbfada4818a6af0c50a8fe17499ab0dfa5
Cosmetic changes; fix typing in add_branch
[ { "change_type": "MODIFY", "old_path": "examples/uploaders.py", "new_path": "examples/uploaders.py", "diff": "from io import BytesIO\n+from vkbottle import AudioUploader, Bot, DocUploader, Message, PhotoUploader\n+\nfrom gtts import gTTS\nfrom PIL import Image\n-from vkbottle import AudioUploader, B...
Python
MIT License
vkbottle/vkbottle
Cosmetic changes; fix typing in add_branch (#191)
718,874
17.08.2020 15:43:40
-10,800
6005a81b0501ff3b1c3b2e9dc826224da628b837
Fix typo in documentation & typing fix
[ { "change_type": "MODIFY", "old_path": "docs/stuff.ru.md", "new_path": "docs/stuff.ru.md", "diff": "@@ -24,7 +24,7 @@ bot = Bot(\"token\")\n@bot.middleware.middleware_handler()\nclass NoBotMiddleware(Middleware):\n- async def pre(self, message: Message):\n+ async def pre(self, message: Message, *arg...
Python
MIT License
vkbottle/vkbottle
Fix typo in documentation & typing fix (#195)
718,838
23.08.2020 20:05:06
-10,800
5c51041724f247c88f57940150ac1887f8067e43
clean readme add requirements
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "@@ -24,6 +24,8 @@ classifiers = [\n[tool.poetry.dependencies]\npython = \"^3.7\"\n+aiohttp = \"^3.6.2\"\n+vbml = \"^1.0\"\n[tool.poetry.dev-dependencies]\n# Lint\n" }, { "change_type": "ADD", ...
Python
MIT License
vkbottle/vkbottle
clean readme add requirements
718,838
26.08.2020 19:05:43
-10,800
ca2cdab33d7067fda9bd8cdd6dcbbb66669b4ea0
added exception factory
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/exception_manager.py", "diff": "+from vkbottle.exception_factory import VKAPIError\n+\n+try:\n+ raise VKAPIError(2, \"Some exception occurred\")\n+except VKAPIError(3) as e:\n+ print(\"Oh, third exception.\")\n+except VKAPIError(2) as e...
Python
MIT License
vkbottle/vkbottle
added exception factory
718,838
26.08.2020 22:46:24
-10,800
57a04770b3cdfff63ce46335413022055cd047b0
move docs to low-level docs
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/index.md", "diff": "+# Welcome to VKBottle v3 documentation!\n+\n+* [Low-level API](low-level/)\n+ * [Accessing API](low-level/api/api.md)\n+ * [Exception Handling](low-level/exception_factory/)\n+ + [Exception Factory](low-level/exception_...
Python
MIT License
vkbottle/vkbottle
move docs to low-level docs
718,838
27.08.2020 20:12:57
-10,800
88444a5842bd9ca5255b715ed5327206dbbb79f6
added ci; made mypy friendly
[ { "change_type": "MODIFY", "old_path": ".flake8", "new_path": ".flake8", "diff": "[flake8]\nmax-line-length = 99\n-ignore = F401, F405, F403\n+ignore = F401, F405, F403, W503\nexclude = .git, build, dist, venv, docs, examples, tests, *.egg-info\n\\ No newline at end of file\n" }, { "change_t...
Python
MIT License
vkbottle/vkbottle
added ci; made mypy friendly
718,838
27.08.2020 20:52:28
-10,800
bb9bce98336fb677247846e8e7a173833682a199
fix ci tests; added token env variable to ci
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ci.yml", "new_path": ".github/workflows/ci.yml", "diff": "@@ -36,6 +36,12 @@ jobs:\nrun: |\npoetry run flake8\npoetry run mypy vkbottle\n+\n+ - name: Set enviromental variables to run tests\n+ uses: allenevans/set-env@v1.0.0\n+ with:\n+ TOKEN...
Python
MIT License
vkbottle/vkbottle
fix ci tests; added token env variable to ci
718,838
27.08.2020 20:58:28
-10,800
eb1b9a303aee36b0df86dfc0e3a97ac9b9e79e92
fix ci; firstly set env vars
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ci.yml", "new_path": ".github/workflows/ci.yml", "diff": "@@ -23,6 +23,12 @@ jobs:\nsteps:\n- uses: actions/checkout@master\n+ - name: Set enviromental variables to run tests\n+ uses: allenevans/set-env@v1.1.0\n+ with:\n+ overwrite: false\n+ ...
Python
MIT License
vkbottle/vkbottle
fix ci; firstly set env vars
718,838
28.08.2020 01:12:02
-10,800
61dec0008eeb2cbd3bbe72976373171d9d92e85a
added storages
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/ctx_storage_example.py", "diff": "+from vkbottle import CtxStorage\n+\n+ctx_storage = CtxStorage()\n+ctx_storage.set(\"a\", 100)\n+\n+# In any part of code in runtime\n+\n+print(CtxStorage().get(\"a\")) # 100\n" }, { "change_typ...
Python
MIT License
vkbottle/vkbottle
added storages
718,838
28.08.2020 11:21:40
-10,800
8830373f3e0e21e15dcb7259658cdd1ff1caa506
added mkdocs; fix docs typos
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "<p align=\"center\">\n<a href=\"https://github.com/tesseradecade/vbml\">\n- <img src=\"/logo.jpg\" width=\"200px\" style=\"display: inline-block;\">\n+ <img src=\"/docs/logo.jpg\" width=\"200px\" style=\"display: i...
Python
MIT License
vkbottle/vkbottle
added mkdocs; fix docs typos
718,844
29.08.2020 11:59:52
-10,800
712fb872387dba10b2120c94a0e81af1a517fc6a
Fix http-middleware.md typo; add some tests
[ { "change_type": "MODIFY", "old_path": "tests/exception_manager_test.py", "new_path": "tests/exception_manager_test.py", "diff": "+from vkbottle import CodeErrorFactory, SingleError\n+\n+def test_exc_manager_code_error():\n+ exc_manager = CodeErrorFactory()\n+\n+ try:\n+ raise exc_manager(7)\n+ exce...
Python
MIT License
vkbottle/vkbottle
Fix http-middleware.md typo; add some tests (#206) Co-authored-by: timoniq <52574917+timoniq@users.noreply.github.com>
718,838
30.08.2020 22:29:58
-10,800
d479ca2980306087dacb6124c0b60a9e6b15d5fe
API is typed with vkbottle-types; API real tests are now skipped by default ResponseValidator was removed New dependency - vkbottle-types
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "@@ -27,6 +27,7 @@ python = \"^3.7\"\naiohttp = \"^3.6.2\"\nvbml = \"^1.0\"\nchoicelib = \"^0.1.1\"\n+vkbottle-types = \"^0.1.6\"\n[tool.poetry.dev-dependencies]\n# Lint\n" }, { "change_type": "MOD...
Python
MIT License
vkbottle/vkbottle
API is typed with vkbottle-types; API real tests are now skipped by default ResponseValidator was removed New dependency - vkbottle-types
718,838
30.08.2020 22:46:38
-10,800
dfddf4aa88b793a25fac12f1ff81e0587fefd802
added request validators todo: docs
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/__init__.py", "new_path": "vkbottle/api/__init__.py", "diff": "from .abc import ABCAPI\nfrom .api import API\nfrom .response_validator import ABCResponseValidator, DEFAULT_RESPONSE_VALIDATORS\n+from .request_validator import ABCRequestValidator, D...
Python
MIT License
vkbottle/vkbottle
added request validators todo: docs
718,838
31.08.2020 08:55:05
-10,800
d81e61e40e2600b6b4c584e52994d399257c4f0e
fix api tests were not skipped
[ { "change_type": "MODIFY", "old_path": ".github/workflows/ci.yml", "new_path": ".github/workflows/ci.yml", "diff": "@@ -23,12 +23,6 @@ jobs:\nsteps:\n- uses: actions/checkout@master\n- - name: Set enviromental variables to run tests\n- uses: allenevans/set-env@v1.1.0\n- with:\n- overwrite: false\n- ...
Python
MIT License
vkbottle/vkbottle
fix api tests were not skipped
718,838
12.09.2020 15:47:11
-10,800
c1c52b6e3ed634176ef898897ae531c572e9b6c7
add vkscript converter; minor fixes
[ { "change_type": "ADD", "old_path": "tests/labeler_test.py", "new_path": "tests/labeler_test.py", "diff": "" }, { "change_type": "ADD", "old_path": null, "new_path": "tests/vkscript_converter_test.py", "diff": "+from vkbottle import vkscript\n+\n+VKSCRIPT = \"var a=%A%;var some_l...
Python
MIT License
vkbottle/vkbottle
add vkscript converter; minor fixes
718,838
12.09.2020 16:56:20
-10,800
93f73e3bbbe02409a53f25c039f0c8e8b46e54b2
added docs; ci test; move vkscript converter to tools
[ { "change_type": "ADD", "old_path": null, "new_path": "ci_test.sh", "diff": "+poetry run pytest\n+poetry run mypy vkbottle\n+poetry run flake8\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "docs/index.md", "new_path": "docs/index.md", "diff": "+ [Acce...
Python
MIT License
vkbottle/vkbottle
added docs; ci test; move vkscript converter to tools
718,838
12.09.2020 19:18:24
-10,800
13c339393dc147675828bcccd7b2cad8defbfcc9
add high-level bot and vkscript docs
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "@@ -27,7 +27,7 @@ python = \"^3.7\"\naiohttp = \"^3.6.2\"\nvbml = \"^1.0\"\nchoicelib = \"^0.1.1\"\n-vkbottle-types = \"^0.1.10\"\n+vkbottle-types = \"^0.1.12\"\n[tool.poetry.dev-dependencies]\n# Lint\n" ...
Python
MIT License
vkbottle/vkbottle
add high-level bot and vkscript docs
718,838
12.09.2020 21:05:20
-10,800
e2f833130efc7d63194f9dc5a139f7d05bb820ae
add tons of rules; add them in custom rules
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/bot.py", "new_path": "vkbottle/dispatch/rules/bot.py", "diff": "from .abc import ABCRule\nfrom abc import abstractmethod\nfrom vkbottle.tools.dev_tools.mini_types.bot.message import MessageMin\n-from typing import List, Optional, Union\...
Python
MIT License
vkbottle/vkbottle
add tons of rules; add them in custom rules
718,838
12.09.2020 21:57:25
-10,800
d9e0478ba271d0b7e8528336323a2a7c179b5667
add func rule and doc spines
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/migration.md", "diff": "+# Migrate from VKBottle v2\n+\n" }, { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/bot.py", "new_path": "vkbottle/dispatch/rules/bot.py", "diff": "from .abc import ABCRule\nfrom ...
Python
MIT License
vkbottle/vkbottle
add func rule and doc spines
718,838
12.09.2020 23:02:08
-10,800
30e7e3d68d6ef11f713a39871e23a596910dbb6d
add simple logs; reprs
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api.py", "new_path": "vkbottle/api/api.py", "diff": "@@ -4,6 +4,7 @@ from .request_validator import ABCRequestValidator, DEFAULT_REQUEST_VALIDATORS\nfrom vkbottle.http import ABCSessionManager, SessionManager, AiohttpClient\nfrom vkbottle.exceptio...
Python
MIT License
vkbottle/vkbottle
add simple logs; reprs
718,838
13.09.2020 10:06:01
-10,800
86c6ec34827481f196c13ca7aaebb5fc26216534
move swear handler from vkbottle-v2 + some minor fixes; add error_handler to router
[ { "change_type": "MODIFY", "old_path": "tests/exception_manager_test.py", "new_path": "tests/exception_manager_test.py", "diff": "-from vkbottle import CodeErrorFactory, SingleError\n+from vkbottle import CodeErrorFactory, SingleError, swear\ndef test_exc_manager_code_error():\nexc_manager = CodeErr...
Python
MIT License
vkbottle/vkbottle
move swear handler from vkbottle-v2 + some minor fixes; add error_handler to router
718,838
13.09.2020 10:43:12
-10,800
06f952f5eaaf36637161a54ee1d004f93aab6377
improve middleware: add middleware responses; add simple middleware registrar
[ { "change_type": "MODIFY", "old_path": "vkbottle/__init__.py", "new_path": "vkbottle/__init__.py", "diff": "@@ -8,6 +8,15 @@ from .api import (\n)\nfrom .tools import ABCStorage, CtxStorage, BaseContext, BotTypes\nfrom .polling import ABCPolling, BotPolling\n+from .dispatch import (\n+ ABCHandler,\n...
Python
MIT License
vkbottle/vkbottle
improve middleware: add middleware responses; add simple middleware registrar
718,838
13.09.2020 13:17:46
-10,800
d64b895c2fd5d592141080828bd768b4e6b34f6e
add multibot example and docs; minor fixes; fix docs
[ { "change_type": "MODIFY", "old_path": "docs/high-level/index.md", "new_path": "docs/high-level/index.md", "diff": "# High-level API\n-* [Bot](high-level/bot/)\n- + [Access Bot](high-level/bot/bot.md)\n- + [Labeler](high-level/bot/labeler.md)\n-* [Handling](high-level/handling/)\n- + [Handler](high-...
Python
MIT License
vkbottle/vkbottle
add multibot example and docs; minor fixes; fix docs
718,838
20.09.2020 11:11:17
-10,800
19ac554a7cabf083b4c949cfd3c65c99d138ca7a
make bot-default-labeler handlers blocking by default
[ { "change_type": "DELETE", "old_path": "vkbottle/bot/__init__.py", "new_path": null, "diff": "-from ..dispatch.rules import bot\n-from ..framework.bot import ABCBotLabeler\n-from ..framework.bot import Bot\n-from ..framework.bot import BotLabeler\n-from ..framework.bot import run_multibot\n-from ..t...
Python
MIT License
vkbottle/vkbottle
make bot-default-labeler handlers blocking by default
718,838
20.09.2020 18:04:51
-10,800
ee26b4ca27bf4761254ac30a00c6b0d9812822a7
add coro rule; readme installation block; remove reorder-python-imports from pre-commit-config
[ { "change_type": "MODIFY", "old_path": ".pre-commit-config.yaml", "new_path": ".pre-commit-config.yaml", "diff": "@@ -38,16 +38,6 @@ repos:\nargs: [--in-place, --max-line-length=99]\nstages: [commit]\n- - id: reorder-python-imports\n- name: reorder-python-imports\n- entry: reorder-python-imports\n- ...
Python
MIT License
vkbottle/vkbottle
add coro rule; readme installation block; remove reorder-python-imports from pre-commit-config
718,838
22.09.2020 21:29:23
-10,800
9cd644c396ebb475457da125eefe20cb011b7792
some fixes + default text approximators feature [documentation needed]
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/abc.py", "new_path": "vkbottle/dispatch/abc.py", "diff": "@@ -11,7 +11,7 @@ class ABCRouter(ABC):\nDocumentation: soon\n\"\"\"\n- views: Dict[str, \"ABCView\"]\n+ views: Dict[str, \"ABCView\"] = {}\nmiddlewares: List[\"BaseMiddleware\"]\nerro...
Python
MIT License
vkbottle/vkbottle
some fixes + default text approximators feature [documentation needed]
718,838
22.09.2020 21:40:21
-10,800
38d4613ea62ec4ff28fe5864624f4f3359898888
little blueprint fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/abc_blueprint.py", "new_path": "vkbottle/framework/abc_blueprint.py", "diff": "@@ -22,7 +22,7 @@ class ABCBlueprint(ABCFramework):\npass\n@abstractmethod\n- def load(self, framework: Any):\n+ def load(self, framework: Any) -> \"ABCBlueprint\...
Python
MIT License
vkbottle/vkbottle
little blueprint fix
718,838
22.09.2020 21:46:01
-10,800
e239644dee4d9e6f7a3afba313993061ed0deef5
fix vbml rule
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/bot.py", "new_path": "vkbottle/dispatch/rules/bot.py", "diff": "@@ -56,7 +56,7 @@ class VBMLRule(ABCMessageRule):\nasync def check(self, message: Message) -> bool:\nfor pattern in self.patterns:\nresult = self.patcher.check(pattern, mes...
Python
MIT License
vkbottle/vkbottle
fix vbml rule
718,838
23.09.2020 17:25:15
-10,800
5f6458925928752f5a5e7239a1c25071efd9c715
remove unused middlewares from router; fixes
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/abc.py", "new_path": "vkbottle/dispatch/abc.py", "diff": "@@ -12,7 +12,6 @@ class ABCRouter(ABC):\n\"\"\"\nviews: Dict[str, \"ABCView\"] = {}\n- middlewares: List[\"BaseMiddleware\"]\nerror_handler: \"ABCErrorHandler\"\n@abstractmethod\n@@ -2...
Python
MIT License
vkbottle/vkbottle
remove unused middlewares from router; fixes
718,838
23.09.2020 17:30:10
-10,800
99da3da8c8083044d7aa5ddcc420f98213cb7d16
remove unused router loading
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/blueprint.py", "new_path": "vkbottle/framework/bot/blueprint.py", "diff": "@@ -28,7 +28,6 @@ class BotBlueprint(ABCBlueprint):\nreturn self\ndef load(self, framework: \"Bot\") -> \"BotBlueprint\":\n- framework.router.load(self.router)\nf...
Python
MIT License
vkbottle/vkbottle
remove unused router loading
718,838
11.10.2020 13:35:25
-10,800
b36e42677c056f260c46b722745531f8c91a2657
add loop wrapper repeat feature; documentation; some fixes
[ { "change_type": "MODIFY", "old_path": "docs/index.md", "new_path": "docs/index.md", "diff": "* [Tools](tools/index.md)\n* [Storages](tools/storage.md)\n* [VKScript](tools/vkscript.md)\n+ * [Loop Wrapper](tools/loop-wrapper.md)\n" }, { "change_type": "MODIFY", "old_path": "vkbottle/__ini...
Python
MIT License
vkbottle/vkbottle
add loop wrapper repeat feature; documentation; some fixes
718,838
12.10.2020 16:16:07
-10,800
1e46412ab683316da53ed5cdb04a40d0274cd817
rename repeat -> interval and RepeatedTask -> DelayedTask; add timer; fix documentation;
[ { "change_type": "MODIFY", "old_path": "vkbottle/__init__.py", "new_path": "vkbottle/__init__.py", "diff": "@@ -38,6 +38,6 @@ from .http import (\nManySessionManager,\n)\nfrom .polling import ABCPolling, BotPolling\n-from .tools import ABCStorage, CtxStorage, BaseContext, BotTypes, LoopWrapper, Repe...
Python
MIT License
vkbottle/vkbottle
rename repeat -> interval and RepeatedTask -> DelayedTask; add timer; fix documentation;
718,838
13.10.2020 18:20:22
-10,800
99272dd537c72aad7e6d6c0ae43fc3690bb4b4cb
documenatation + code cleanup
[ { "change_type": "MODIFY", "old_path": ".github/FUNDING.yml", "new_path": ".github/FUNDING.yml", "diff": "-patreon: timoniq\n-custom: https://qiwi.me/pirashki\n+custom: [\"https://boosty.to/timoniq\", \"https://qiwi.me/pirashki\"]\n" }, { "change_type": "MODIFY", "old_path": "vkbottle/ex...
Python
MIT License
vkbottle/vkbottle
documenatation + code cleanup Co-Authored-By: Alexey <1337kwiz@gmail.com>
718,838
14.10.2020 18:42:09
-10,800
cf2d2387c49b122c4dc4904e84faea045c69200a
add handler return manager
[ { "change_type": "MODIFY", "old_path": "docs/high-level/index.md", "new_path": "docs/high-level/index.md", "diff": "* [Handling](handling/index.md)\n+ [Handler](handling/handler.md)\n+ [View](handling/view.md)\n+ + [Return Manager](handling/return-manager.md)\n* [Routing](routing/index.md)\n\\ No ne...
Python
MIT License
vkbottle/vkbottle
add handler return manager
718,838
24.10.2020 17:47:20
-10,800
4731d6f91f78eef95367e5b2d354f37841dd258d
add keyboard generator
[ { "change_type": "MODIFY", "old_path": "vkbottle/__init__.py", "new_path": "vkbottle/__init__.py", "diff": "@@ -41,6 +41,6 @@ from .http import (\nManySessionManager,\n)\nfrom .polling import ABCPolling, BotPolling\n-from .tools import ABCStorage, CtxStorage, BaseContext, BotTypes, LoopWrapper, Dela...
Python
MIT License
vkbottle/vkbottle
add keyboard generator
718,838
26.10.2020 13:31:51
-10,800
6330989869b793374b981a0ce568458ba866cc21
add raw event
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "@@ -27,7 +27,7 @@ python = \"^3.7\"\naiohttp = \"^3.6.2\"\nvbml = \"^1.0\"\nchoicelib = \"^0.1.1\"\n-vkbottle-types = \"^0.1.16\"\n+vkbottle-types = \"^0.1.17\"\n[tool.poetry.dev-dependencies]\n# Lint\n" ...
Python
MIT License
vkbottle/vkbottle
add raw event
718,838
04.11.2020 23:53:34
-10,800
064acdb0965fd42264bd49d6afb5bd2b5ff4d236
more tests; coverage 70%
[ { "change_type": "MODIFY", "old_path": "tests/bot_test.py", "new_path": "tests/bot_test.py", "diff": "-from vkbottle import Bot, API\n+from vkbottle import Bot, API, GroupTypes, GroupEventType\n+from vkbottle.bot import Message\nfrom vkbottle.tools.test_utils import with_mocked_api, MockedClient\nim...
Python
MIT License
vkbottle/vkbottle
more tests; coverage 70%
718,883
05.11.2020 14:14:03
-18,000
ffa5971fbaa02ba050d7d7fcba27a6e50460e61f
StickerRule improvement empty sticker_ids list handles all stickers
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/bot.py", "new_path": "vkbottle/dispatch/rules/bot.py", "diff": "@@ -63,7 +63,7 @@ class VBMLRule(ABCMessageRule):\nclass StickerRule(ABCMessageRule):\n- def __init__(self, sticker_ids: Union[List[int], int]):\n+ def __init__(self, stick...
Python
MIT License
vkbottle/vkbottle
StickerRule improvement (#248) empty sticker_ids list handles all stickers
718,838
05.11.2020 15:32:56
-10,800
dd9a09c7eb22ed3e1867d888cdaefd8d5f483325
add keyboard docs; fix keyboard json gen; coverage +5%
[ { "change_type": "MODIFY", "old_path": "docs/index.md", "new_path": "docs/index.md", "diff": "+ [Accessing Polling](low-level/polling/polling.md)\n* [Tools](tools/index.md)\n* [Storages](tools/storage.md)\n+ * [Keyboard](tools/keyboard.md)\n* [VKScript](tools/vkscript.md)\n* [Loop Wrapper](tools/loo...
Python
MIT License
vkbottle/vkbottle
add keyboard docs; fix keyboard json gen; coverage +5%
718,838
05.11.2020 22:20:24
-10,800
d2f1a45c902fbd07ee73dec16b8720293ed0c2bf
fix attachment type rule; add comments to examples; add filter shorten feature
[ { "change_type": "MODIFY", "old_path": "examples/high-level/blueprint.py", "new_path": "examples/high-level/blueprint.py", "diff": "@@ -3,6 +3,13 @@ from .blueprints import bps\nimport logging\nimport os\n+# You should provide API to bot before\n+# constructing blueprints otherwise they won't\n+# ha...
Python
MIT License
vkbottle/vkbottle
fix attachment type rule; add comments to examples; add filter shorten feature
718,838
05.11.2020 23:03:26
-10,800
e0049aaebb467c52d74568c46a98f0205d4c0728
improve docs, readme + test
[ { "change_type": "MODIFY", "old_path": "mkdocs.yml", "new_path": "mkdocs.yml", "diff": "@@ -13,6 +13,6 @@ theme:\nlanguage: ru\npalette:\nscheme: preference\n- primary: blue grey\n- accent: deep orange\n+ primary: black\n+ accent: blue\nfont: Roboto Mono\n" }, { "change_type": "MODIFY", ...
Python
MIT License
vkbottle/vkbottle
improve docs, readme + test
718,838
07.11.2020 13:08:03
-10,800
9d1a7e49ab3e11a622c25e95bb438cb498088d0c
add ignore case for vbml; configs for custom rules
[ { "change_type": "MODIFY", "old_path": "examples/high-level/labeler_setup.py", "new_path": "examples/high-level/labeler_setup.py", "diff": "@@ -25,9 +25,9 @@ bot = Bot(os.environ[\"token\"])\n# vkbottle 2.x\n# This is first shortcut for VBMLRule from custom_rules\n-# <ignore_case = True> makes get_v...
Python
MIT License
vkbottle/vkbottle
add ignore case for vbml; configs for custom rules
718,838
07.11.2020 14:15:59
-10,800
3ed6255e909fe4d47c3a4963129acbbbedd22e16
add state dispenser example; fix state rule
[ { "change_type": "MODIFY", "old_path": "examples/high-level/labeler_setup.py", "new_path": "examples/high-level/labeler_setup.py", "diff": "@@ -54,6 +54,7 @@ class SpamState(BaseStateGroup):\nGOOD = 1\nBAD = 2\n+\n# Lets add some handlers\n@bot.on.chat_message(spam=[\"!\", \".\", \"?\", \"$\", \"#\"...
Python
MIT License
vkbottle/vkbottle
add state dispenser example; fix state rule
718,838
07.11.2020 14:23:36
-10,800
32ad853c0f3c29706d2b641949520887db0ea9a5
add auto_rules; change names in config
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/abc.py", "new_path": "vkbottle/dispatch/rules/abc.py", "diff": "@@ -5,7 +5,7 @@ from vkbottle_types.events import BaseUserEvent, BaseGroupEvent\nclass ABCRule(ABC):\n- config: dict\n+ config: dict = {}\n@classmethod\ndef with_config(cls...
Python
MIT License
vkbottle/vkbottle
add auto_rules; change names in config
718,838
07.11.2020 17:18:06
-10,800
30fb2b065e63ebf0a0ab10f5d12bfa8530241609
fix payload type hint for Callback button action
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev_tools/keyboard/action.py", "new_path": "vkbottle/tools/dev_tools/keyboard/action.py", "diff": "@@ -66,7 +66,7 @@ class VKApps(ABCAction):\nclass Callback(ABCAction):\ntype = \"callback\"\n- def __init__(self, label: str, payload: str):\n+ de...
Python
MIT License
vkbottle/vkbottle
fix payload type hint for Callback button action
718,838
07.11.2020 17:51:14
-10,800
ac5dd085115745905588d7580f0ed16997a9154b
add schema keyboard generator; keyboard example
[ { "change_type": "ADD", "old_path": null, "new_path": "examples/high-level/generate_keyboard.py", "diff": "+from vkbottle import Keyboard, Text, KeyboardButtonColor\n+\n+# Simplest way of generating keyboard is non-builder interface\n+# Use <.raw()> to add raw\n+# Use <.add(Action(...), COLOR)> to a...
Python
MIT License
vkbottle/vkbottle
add schema keyboard generator; keyboard example
718,838
07.11.2020 23:53:40
-10,800
5ec4a9011652408b1569dc02186ff7d6116cde4e
add load_blueprints_from_folder
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev_tools/keyboard/button.py", "new_path": "vkbottle/tools/dev_tools/keyboard/button.py", "diff": "@@ -6,10 +6,7 @@ from .color import KeyboardButtonColor\nclass KeyboardButton:\ndef __init__(\n- self,\n- action: ABCAction,\n- color: KeyboardBut...
Python
MIT License
vkbottle/vkbottle
add load_blueprints_from_folder
718,838
08.11.2020 00:05:59
-10,800
74456d69507fa658492ec67e1e17885a6729404a
rename load_blueprints_from_folder -> add load_blueprints_from_package
[ { "change_type": "MODIFY", "old_path": "examples/high-level/blueprint.py", "new_path": "examples/high-level/blueprint.py", "diff": "@@ -16,4 +16,9 @@ logging.basicConfig(level=logging.INFO)\nfor bp in bps:\nbp.load(bot)\n+# Moreover you can use:\n+# import vkbottle import load_blueprints_from_packag...
Python
MIT License
vkbottle/vkbottle
rename load_blueprints_from_folder -> add load_blueprints_from_package
718,838
08.11.2020 00:48:12
-10,800
4269d96520e77f90b204712a618d95725a0a4d86
PayloadRule can take list of dicts; add tests
[ { "change_type": "MODIFY", "old_path": "tests/bot_test.py", "new_path": "tests/bot_test.py", "diff": "@@ -130,18 +130,43 @@ async def test_rules(api: API):\nfake_message(api, attachments=[{\"type\": \"sticker\", \"sticker\": {\"sticker_id\": 2}}])\n)\n- assert await AndFilter(rules.FromPeerRule(123)...
Python
MIT License
vkbottle/vkbottle
PayloadRule can take list of dicts; add tests
718,883
08.11.2020 13:38:17
-18,000
0cb4ab3525340a7f50c185967f6ef7b3e5316120
ForwardMessagesRule, ReplyMessageRule, GeoRule
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/bot.py", "new_path": "vkbottle/dispatch/rules/bot.py", "diff": "@@ -101,7 +101,7 @@ class StickerRule(ABCMessageRule):\nelif not message.attachments[0].sticker:\nreturn False\nelse:\n- if self.sticker_ids is None:\n+ if not self.sticker...
Python
MIT License
vkbottle/vkbottle
ForwardMessagesRule, ReplyMessageRule, GeoRule (#253)
718,838
08.11.2020 12:27:41
-10,800
0c10461a2758bdffce4790c274b7e2f5f115b2b0
fix StateRule
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/bot.py", "new_path": "vkbottle/dispatch/rules/bot.py", "diff": "@@ -286,7 +286,7 @@ class CoroutineRule(ABCMessageRule):\nclass StateRule(ABCMessageRule):\ndef __init__(self, state: Union[List[BaseStateGroup], BaseStateGroup]):\nif not ...
Python
MIT License
vkbottle/vkbottle
fix StateRule
718,838
08.11.2020 12:49:09
-10,800
01b7b0be1ef325b2e32a605b83d862a2723f9ab3
add error handler to router; handle all exceptions; StateRule add tests
[ { "change_type": "MODIFY", "old_path": "tests/bot_test.py", "new_path": "tests/bot_test.py", "diff": "@@ -6,6 +6,7 @@ import pytest\nimport vbml\nimport typing\nimport json\n+import enum\nEXAMPLE_EVENT = {\n\"ts\": 1,\n@@ -51,6 +52,10 @@ EXAMPLE_EVENT = {\n}\n+class MockIntEnum(enum.IntEnum):\n+ MOC...
Python
MIT License
vkbottle/vkbottle
add error handler to router; handle all exceptions; StateRule add tests
718,838
08.11.2020 19:35:45
-10,800
f691113257c8442681efa0c2ac120d88794399d9
move callback buttons example to high-level
[ { "change_type": "RENAME", "old_path": "examples/callback_buttons.py", "new_path": "examples/high-level/callback_buttons.py", "diff": "@@ -20,8 +20,8 @@ async def send_callback_button(message: Message):\n@bot.on.raw_event(GroupEventType.MESSAGE_EVENT, dataclass=GroupTypes.MessageEvent)\nasync def ha...
Python
MIT License
vkbottle/vkbottle
move callback buttons example to high-level
718,842
09.11.2020 19:38:55
-10,800
18c87ee1700717b7d063ac3682fe89696417cb27
Changed publish workflow to publish to TestPyPI Removed unnecessary Message import in readme example
[ { "change_type": "DELETE", "old_path": ".github/workflows/publish_to_pypi.yml", "new_path": null, "diff": "-name: Publish Package to PyPI with poetry\n-\n-on:\n- push:\n- tags:\n- - 'v*'\n-\n-jobs:\n- build-and-publish:\n- runs-on: ubuntu-latest\n- steps:\n- - uses: actions/checkout@master\n- - name...
Python
MIT License
vkbottle/vkbottle
Changed publish workflow to publish to TestPyPI Removed unnecessary Message import in readme example
718,842
09.11.2020 20:11:54
-10,800
689316d435b8fd6c9de36628f2ccc46db726fd4b
Added Makefile recipes Added recipes for fixing code format testing code with pytest publishing to pypi with token from env Removed autopep8 support Remove ci_tst.sh
[ { "change_type": "MODIFY", "old_path": ".pre-commit-config.yaml", "new_path": ".pre-commit-config.yaml", "diff": "@@ -27,15 +27,11 @@ repos:\nentry: autoflake\nlanguage: system\ntypes: [ python ]\n- args: [--in-place, --exclude=__init__.py, --remove-all-unused-imports, --remove-duplicate-keys]\n- st...
Python
MIT License
vkbottle/vkbottle
Added Makefile recipes Added recipes for - fixing code format - testing code with pytest - publishing to pypi with token from env Removed autopep8 support Remove ci_tst.sh
718,838
09.11.2020 23:52:13
-10,800
ddf6ead31e222f473e9c6cdba3a82abd23aade80
add docs and example for middlewares; fixes + add reprs
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/middlewares/abc.py", "new_path": "vkbottle/dispatch/middlewares/abc.py", "diff": "@@ -3,6 +3,7 @@ from typing import NewType, List, Any, TYPE_CHECKING\nif TYPE_CHECKING:\nfrom vkbottle.dispatch.views.abc import ABCView\n+ from vkbottle.dispat...
Python
MIT License
vkbottle/vkbottle
add docs and example for middlewares; fixes + add reprs
718,838
09.11.2020 23:54:46
-10,800
2bf83d135601b1e3cf5bb98dfc3cd2a96c1e30d7
add middleware docs to index
[ { "change_type": "MODIFY", "old_path": "docs/high-level/handling/index.md", "new_path": "docs/high-level/handling/index.md", "diff": "* [Return Manager](return-manager.md)\n* [State Dispenser](state-dispenser.md)\n* [View](view.md)\n+* [Middleware](middleware.md)\n\\ No newline at end of file\n" }...
Python
MIT License
vkbottle/vkbottle
add middleware docs to index
718,842
09.11.2020 20:24:08
-10,800
05fd1173da756c971bfbcd7227aaf7fbe34a92df
Added bot.py ignore as it's used for imports Ran make fix to cleanup code
[ { "change_type": "MODIFY", "old_path": ".pre-commit-config.yaml", "new_path": ".pre-commit-config.yaml", "diff": "@@ -29,7 +29,7 @@ repos:\ntypes: [ python ]\nargs:\n- --in-place\n- - --exclude=__init__.py,venv\n+ - --exclude=__init__.py,bot.py,venv\n- --remove-all-unused-imports\n- --remove-duplica...
Python
MIT License
vkbottle/vkbottle
Added bot.py ignore as it's used for imports Ran make fix to cleanup code
718,842
10.11.2020 11:47:44
-10,800
d2425c65fbcad1c6885d465a2d5777069c14f621
Updated Makefile Added .PHONY, .ONESHELL, .DEFUALT targets Added help message recipe Renamed test recipe to check Added command to remove dist/ dir after pypi publish
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "-fix:\n- black .\n- autoflake --recursive --in-place --exclude=__init__.py,bot.py,venv --remove-all-unused-imports --remove-duplicate-keys .\n+# Treat these arguments not as files, but as recipes\n+.PHONY: help minim...
Python
MIT License
vkbottle/vkbottle
Updated Makefile Added .PHONY, .ONESHELL, .DEFUALT targets Added help message recipe Renamed test recipe to check Added command to remove dist/ dir after pypi publish
718,842
10.11.2020 11:49:44
-10,800
9d58a5d42f5ba3c70e293c978881701d178f30c6
Ran another make fix to cleanup code
[ { "change_type": "MODIFY", "old_path": "tests/tools_test.py", "new_path": "tests/tools_test.py", "diff": "from vkbottle.tools import Keyboard, KeyboardButtonColor, Text, Callback, CtxStorage, LoopWrapper\nfrom vkbottle.modules import json\n-KEYBOARD_JSON = json.dumps({\n+KEYBOARD_JSON = json.dumps(\...
Python
MIT License
vkbottle/vkbottle
Ran another make fix to cleanup code
718,838
10.11.2020 17:30:46
-10,800
c485cc3eaab1d95e8129c750815ed1de3f1f099b
fix excess polling event while handling error
[ { "change_type": "MODIFY", "old_path": "vkbottle/polling/bot_polling.py", "new_path": "vkbottle/polling/bot_polling.py", "diff": "@@ -56,7 +56,7 @@ class BotPolling(ABCPolling):\nserver[\"ts\"] = event[\"ts\"]\nyield event\nexcept BaseException as e:\n- yield await self.error_handler.handle(e)\n+ aw...
Python
MIT License
vkbottle/vkbottle
fix excess polling event while handling error
718,838
13.11.2020 21:56:07
-10,800
8eceee793ef81037ae2cfd570778c195c9ed7847
fix rule check for from_func_handler
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/handlers/from_func_handler.py", "new_path": "vkbottle/dispatch/handlers/from_func_handler.py", "diff": "@@ -14,7 +14,7 @@ class FromFuncHandler(ABCHandler):\nrule_context = {}\nfor rule in self.rules:\nresult = await rule.check(event)\n- if r...
Python
MIT License
vkbottle/vkbottle
fix rule check for from_func_handler
718,838
14.11.2020 16:39:17
-10,800
960caea914c5a05c25a03f92ced80d55ac4526b7
vbml rule takes list of strs
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/bot.py", "new_path": "vkbottle/dispatch/rules/bot.py", "diff": "@@ -56,7 +56,12 @@ class VBMLRule(ABCMessageRule):\nelif isinstance(pattern, vbml.Pattern):\npattern = [pattern]\nelif isinstance(pattern, list):\n- pattern = [p if isinsta...
Python
MIT License
vkbottle/vkbottle
vbml rule takes list of strs
718,852
16.11.2020 17:37:10
-10,800
9e3ac555f8f7e05cf86e02dd597902a0b6f4f6ce
fix callback button colors .
[ { "change_type": "MODIFY", "old_path": "tests/tools_test.py", "new_path": "tests/tools_test.py", "diff": "@@ -21,7 +21,8 @@ KEYBOARD_JSON = json.dumps(\n\"label\": \"Eat nuggets\",\n\"payload\": {\"eat\": \"nuggets\"},\n\"type\": \"callback\",\n- }\n+ },\n+ \"color\": \"positive\"\n}\n],\n],\n" },...
Python
MIT License
vkbottle/vkbottle
fix callback button colors (#260) .
718,838
18.11.2020 21:14:28
-10,800
e7271765be31d793171ecff9721e66d4a3c6aa3e
add state dispenser payload + update funding links + update vkbottle-types version
[ { "change_type": "MODIFY", "old_path": ".github/FUNDING.yml", "new_path": ".github/FUNDING.yml", "diff": "-custom: [\"https://boosty.to/timoniq\", \"https://qiwi.me/pirashki\"]\n+custom: [\"https://boosty.to/timoniq\", \"https://timoniq.host/donate\"]\n" }, { "change_type": "MODIFY", "ol...
Python
MIT License
vkbottle/vkbottle
add state dispenser payload + update funding links + update vkbottle-types version
718,838
19.11.2020 18:56:07
-10,800
1326baad09fece25d36bc0e324a39b70092fe821
fix api typings for blueprint
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/abc_blueprint.py", "new_path": "vkbottle/framework/abc_blueprint.py", "diff": "import asyncio\nfrom abc import abstractmethod\n-from typing import Optional, NoReturn, Any\n+from typing import Optional, NoReturn, Any, Union\n-from vkbottle.ap...
Python
MIT License
vkbottle/vkbottle
fix api typings for blueprint
718,838
19.11.2020 21:26:55
-10,800
39012928b6c2ed48d3d957ae444abed7268e4a23
add state dispenser to blueprints; + state group rule; + test
[ { "change_type": "MODIFY", "old_path": "tests/bot_test.py", "new_path": "tests/bot_test.py", "diff": "-from vkbottle import Bot, API, GroupTypes, GroupEventType, AndFilter, OrFilter\n+from vkbottle import Bot, API, GroupTypes, GroupEventType, AndFilter, OrFilter, StatePeer\nfrom vkbottle.bot import ...
Python
MIT License
vkbottle/vkbottle
add state dispenser to blueprints; + state group rule; + test
718,876
30.11.2020 16:43:33
-18,000
2694a5018ff73a4feb159d637ffe7e4d6bcbcb7a
Fix ChatActionRule
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/bot.py", "new_path": "vkbottle/dispatch/rules/bot.py", "diff": "@@ -218,7 +218,7 @@ class ChatActionRule(ABCMessageRule):\nasync def check(self, message: Message) -> Union[dict, bool]:\nif not message.action:\nreturn False\n- elif messa...
Python
MIT License
vkbottle/vkbottle
Fix ChatActionRule (#267)
718,838
01.12.2020 17:31:21
-10,800
6ac6bc421ce6e643d1fbd74221e9a7cb7cec6fbb
bump version vkbottle-types; add validate_request to api.request
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "@@ -27,7 +27,7 @@ python = \"^3.7\"\naiohttp = \"^3.6.2\"\nvbml = \"^1.0\"\nchoicelib = \"^0.1.1\"\n-vkbottle-types = \"^0.1.20\"\n+vkbottle-types = \"^0.1.21\"\n[tool.poetry.dev-dependencies]\n# Lint\n" ...
Python
MIT License
vkbottle/vkbottle
bump version vkbottle-types; add validate_request to api.request
718,866
07.12.2020 14:18:45
-10,800
634dad04e907582db89aef5faec6cffecd7d276b
FromUserRule cleanup
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/bot.py", "new_path": "vkbottle/dispatch/rules/bot.py", "diff": "@@ -263,10 +263,8 @@ class FromUserRule(ABCMessageRule):\ndef __init__(self, from_user: bool = True):\nself.from_user = from_user\n- async def check(self, message: Message)...
Python
MIT License
vkbottle/vkbottle
FromUserRule cleanup (#272)
718,838
11.12.2020 00:03:37
-10,800
deb77be91adabc0144fbc3791175012e96768461
fix template type in message.answer
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev_tools/mini_types/bot/message.py", "new_path": "vkbottle/tools/dev_tools/mini_types/bot/message.py", "diff": "@@ -37,7 +37,7 @@ class MessageMin(MessagesMessage):\npayload: Optional[str] = None,\ndont_parse_links: Optional[bool] = None,\ndisa...
Python
MIT License
vkbottle/vkbottle
fix template type in message.answer
718,838
11.12.2020 00:20:34
-10,800
9067f50b00b86f48f092d8ade2fde2fca9b3b08c
template generator ported from v2.x
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/dev_tools/__init__.py", "new_path": "vkbottle/tools/dev_tools/__init__.py", "diff": "from . import auth\nfrom .ctx_tool import BaseContext\nfrom .keyboard import *\n+from .template import TemplateElement, template_gen\nfrom .loop_wrapper import ...
Python
MIT License
vkbottle/vkbottle
template generator ported from v2.x
718,838
11.12.2020 01:01:31
-10,800
84756d7575b4c9b697f71fc5c46067317a27535a
template docs and tests; add keyboard_gen as legacy
[ { "change_type": "MODIFY", "old_path": "vkbottle/tools/__init__.py", "new_path": "vkbottle/tools/__init__.py", "diff": "from .dev_tools import *\n+from .production_tools import *\n" }, { "change_type": "MODIFY", "old_path": "vkbottle/tools/production_tools/__init__.py", "new_path": "...
Python
MIT License
vkbottle/vkbottle
template docs and tests; add keyboard_gen as legacy
718,838
11.12.2020 01:21:56
-10,800
134eb76e6289b7674142316ca72646ce999d9388
fix rule types (close
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/bot.py", "new_path": "vkbottle/dispatch/rules/bot.py", "diff": "@@ -24,7 +24,7 @@ class PeerRule(ABCMessageRule):\ndef __init__(self, from_chat: bool = True):\nself.from_chat = from_chat\n- async def check(self, message: Message) -> Uni...
Python
MIT License
vkbottle/vkbottle
fix rule types (close #274)
718,866
12.12.2020 20:10:59
-10,800
baa398c6e5d2245fb7658c85c7c437c69b744b29
minify PeerRule
[ { "change_type": "MODIFY", "old_path": "vkbottle/dispatch/rules/bot.py", "new_path": "vkbottle/dispatch/rules/bot.py", "diff": "@@ -25,9 +25,7 @@ class PeerRule(ABCMessageRule):\nself.from_chat = from_chat\nasync def check(self, message: Message) -> bool:\n- if message.peer_id != message.from_id:\n-...
Python
MIT License
vkbottle/vkbottle
minify PeerRule (#279)
718,838
13.12.2020 01:03:05
-10,800
34fe53ccb8c9f5af09e9dedc94923c5888d371ba
add task_each_event param
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot/bot.py", "new_path": "vkbottle/framework/bot/bot.py", "diff": "@@ -23,6 +23,7 @@ class Bot(ABCFramework):\nrouter: Optional[\"ABCRouter\"] = None,\nlabeler: Optional[\"ABCBotLabeler\"] = None,\nerror_handler: Optional[\"ABCErrorHandler\"...
Python
MIT License
vkbottle/vkbottle
add task_each_event param
718,838
21.12.2020 19:52:12
-10,800
6bf2f2265f558a77e082d93af06f9563ed73ab7c
Auto Reload
[ { "change_type": "MODIFY", "old_path": "pyproject.toml", "new_path": "pyproject.toml", "diff": "@@ -28,6 +28,7 @@ aiohttp = \"^3.6.2\"\nvbml = \"^1.0\"\nchoicelib = \"^0.1.1\"\nvkbottle-types = \"^0.1.21\"\n+watchdog = \"^0.10.3\"\n[tool.poetry.dev-dependencies]\n# Lint\n" }, { "change_type"...
Python
MIT License
vkbottle/vkbottle
Auto Reload #262 (#289) Co-authored-by: Ne0shka <neosha.73@gmail.com>
718,838
22.12.2020 14:26:28
-10,800
4ed9bf559596d10c82c87f11309c1f5ec42645eb
add token generators
[ { "change_type": "MODIFY", "old_path": "tests/bot_test.py", "new_path": "tests/bot_test.py", "diff": "@@ -96,7 +96,7 @@ async def test_bot_polling():\n@pytest.mark.asyncio\nasync def test_bot_scopes():\nbot = Bot(token=\"some token\")\n- assert bot.api.token == \"some token\"\n+ assert await bot.api...
Python
MIT License
vkbottle/vkbottle
add token generators