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
734,008
22.12.2022 18:46:51
0
d588bb0e17d4db24865fdaea95d99b8a2ebbb021
Less_Tree_Ruleset: Fix unused variable (PhanNoopVariable) * lib/Less/Tree/Ruleset.php:56 PhanNoopVariable Unused variable
[ { "change_type": "MODIFY", "old_path": "composer.json", "new_path": "composer.json", "diff": "\"scripts\": {\n\"test\": [\n\"parallel-lint . --exclude vendor\",\n- \"phpcs -sp\",\n\"phpunit\",\n+ \"phpcs -sp\",\n\"minus-x check .\"\n],\n\"cover\": \"phpunit --coverage-text --coverage-html coverage/ ...
JavaScript
Apache License 2.0
wikimedia/less.php
Less_Tree_Ruleset: Fix unused variable (PhanNoopVariable) * lib/Less/Tree/Ruleset.php:56 PhanNoopVariable Unused variable
734,008
09.01.2023 18:45:19
0
47c4714c68c9006c87676d76c172a18e1d180f60
Tag v3.2.0 Ref
[ { "change_type": "MODIFY", "old_path": "CHANGES.md", "new_path": "CHANGES.md", "diff": "+## 3.2.0\n+\n+* [All changes](https://github.com/wikimedia/less.php/compare/v3.1.0...v3.2.0)\n+* Fix \"Implicit conversion\" PHP 8.1 warnings (Ayokunle Odusan)\n+* Fix \"Creation of dynamic property\" PHP 8.2 wa...
JavaScript
Apache License 2.0
wikimedia/less.php
Tag v3.2.0 Ref https://github.com/wikimedia/less.php/issues/88.
734,021
02.04.2020 17:41:13
-7,200
5a7160541def9a1f45c55f01b424784242d73f36
Tree_Call: Include previous exception when catching functions When handling a LESS syntax function, especially custom functions registered by users of less.php, include the original exception and trace as previous exception. Fixes Closes
[ { "change_type": "MODIFY", "old_path": "lib/Less/Tree/Call.php", "new_path": "lib/Less/Tree/Call.php", "diff": "@@ -66,23 +66,26 @@ class Less_Tree_Call extends Less_Tree {\n$result = null;\nif ( $nameLC === 'default' ) {\n$result = Less_Tree_DefaultFunc::compile();\n-\n} else {\n-\n- if ( method_ex...
JavaScript
Apache License 2.0
wikimedia/less.php
Tree_Call: Include previous exception when catching functions When handling a LESS syntax function, especially custom functions registered by users of less.php, include the original exception and trace as previous exception. Fixes https://github.com/wikimedia/less.php/issues/38. Closes https://github.com/wikimedia/less.php/pull/39. Co-authored-by: Timo Tijhof <krinklemail@fastmail.com>
734,008
13.01.2023 00:08:51
0
859c943cbe0890225ccb77b32d6ddcbbd76b80fc
test: Add case for `Less_Parser::AllParsedFiles()` method
[ { "change_type": "MODIFY", "old_path": "test/phpunit/ParserTest.php", "new_path": "test/phpunit/ParserTest.php", "diff": "@@ -38,4 +38,25 @@ class phpunit_ParserTest extends phpunit_bootstrap {\n$parser->getVariables()\n);\n}\n+\n+ public function testAllParsedFiles() {\n+ $parser = new Less_Parser(...
JavaScript
Apache License 2.0
wikimedia/less.php
test: Add case for `Less_Parser::AllParsedFiles()` method
734,008
13.01.2023 01:11:23
0
fc5c42517e88df9cd8d0864d45ba0896c682e850
doc: Split usage docs off to API.md
[ { "change_type": "ADD", "old_path": null, "new_path": "API.md", "diff": "+Less.php API\n+========\n+\n+* [Basic use](#basic-use)\n+* [Caching](#caching)\n+* [Source maps](#source-maps)\n+* [Command line](#command-line)\n+\n+## Basic use\n+\n+#### Parse strings\n+\n+```php\n+$parser = new Less_Parser...
JavaScript
Apache License 2.0
wikimedia/less.php
doc: Split usage docs off to API.md
734,008
13.01.2023 01:22:05
0
d7bb3a813e895a0bf73f18441d45d602fc061a8a
doc: Add wp_enqueue_less to README as example integration Closes
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -85,13 +85,11 @@ Note: The `setPreserveComments` option is ignored. Less.php already preserves CS\nLess.php can be used with [Drupal's less module](https://drupal.org/project/less) via the `lessc.inc.php` adapte...
JavaScript
Apache License 2.0
wikimedia/less.php
doc: Add wp_enqueue_less to README as example integration Closes https://github.com/wikimedia/less.php/pull/57. Co-authored-by: Adam Laycock <adam@arcath.net>
734,008
13.01.2023 02:12:54
0
fa53e8146bd40fd7de191fa8b30fb865dfa169bb
build: Apply latest Wikimedia library boilerplate Mostly from mediawiki/tools/cookiecutter-library. Some parts from mediawiki/libs/Minify as being a fellow Apache-2.0 licensed project, using the same LICENSE content (different whitespacing and restored appendix), and similar NOTICE.txt format as required.
[ { "change_type": "ADD", "old_path": null, "new_path": ".editorconfig", "diff": "+# https://editorconfig.org\n+root = true\n+\n+[*]\n+indent_style = tab\n+indent_size = tab\n+trim_trailing_whitespace = true\n+insert_final_newline = true\n+\n+# Markdown:\n+# - Editors should not change leading spaces ...
JavaScript
Apache License 2.0
wikimedia/less.php
build: Apply latest Wikimedia library boilerplate Mostly from mediawiki/tools/cookiecutter-library. Some parts from mediawiki/libs/Minify as being a fellow Apache-2.0 licensed project, using the same LICENSE content (different whitespacing and restored appendix), and similar NOTICE.txt format as required. Change-Id: Ic0c6b2afdba971562c60da1a87d8e7a72ab4a365
734,008
22.01.2023 07:02:24
0
0d5b30ba792bdbf8991a646fc9c30561b38a5559
Tag v3.2.1
[ { "change_type": "MODIFY", "old_path": "CHANGES.md", "new_path": "CHANGES.md", "diff": "# Changelog\n+## 3.2.1\n+\n+* [All changes](https://gerrit.wikimedia.org/g/mediawiki/libs/less.php/+log/v3.2.1)\n+* Tree_Ruleset: Fix support for nested parent selectors (Timo Tijhof) [T204816](https://phabricato...
JavaScript
Apache License 2.0
wikimedia/less.php
Tag v3.2.1 Change-Id: I968598b2b5e801ff302bb2fec3f53e54e94cba84
734,008
22.01.2023 07:03:03
0
d81f187568afa3d1c0095f82c346059fa879b30f
build: Require PHP 7.4.3+ Drop support for PHP 7.2 and 7.3.
[ { "change_type": "MODIFY", "old_path": ".github/workflows/php.yml", "new_path": ".github/workflows/php.yml", "diff": "@@ -20,20 +20,6 @@ on:\njobs:\n- # Lint-only for basic assurance until next major version\n- php72:\n- name: PHP 7.2\n- # Includes php7.1 - 8.0 and composer 2\n- # https://github.com...
JavaScript
Apache License 2.0
wikimedia/less.php
build: Require PHP 7.4.3+ Drop support for PHP 7.2 and 7.3. Change-Id: Ie31d40c081fe42e30c6f4f52d5dbb955c9b7a2d2
734,008
22.01.2023 07:33:59
0
2370bbea0d36f12e3498d56a9c412f2317b15127
Less_Parser: Remove 'NewObj' indirection for old cache methods Follows-up which removed the cache methods that needed the `Less_Tree->cache_string` and thus removes the need for the 'NewObj' indirection'.
[ { "change_type": "MODIFY", "old_path": "lib/Less/Parser.php", "new_path": "lib/Less/Parser.php", "diff": "@@ -966,13 +966,13 @@ $g = intval( $g );\nif ( $this->input[$this->pos + 1] === '/' ) {\n$match = $this->MatchReg( '/\\\\G\\/\\/.*/' );\n- return $this->NewObj( 'Less_Tree_Comment', [ $match[0],...
JavaScript
Apache License 2.0
wikimedia/less.php
Less_Parser: Remove 'NewObj' indirection for old cache methods Follows-up If6745bdc37e2c, which removed the cache methods that needed the `Less_Tree->cache_string` and thus removes the need for the 'NewObj' indirection'. Change-Id: Ief46e254806e2035bb0350f8142022dc32454102
718,838
29.09.2019 17:08:05
-10,800
3300129bee26099dc4093fbdb6c1b18a82c72f51
v0.1 Installation and Deployment fixes + README Update + setup for pypl deletion + travis support deletion
[ { "change_type": "DELETE", "old_path": ".travis.yml", "new_path": null, "diff": "-language: python\n-python:\n- - \"3.6\"\n-script: \"echo .\"\n\\ No newline at end of file\n" }, { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "### Install\n-F...
Python
MIT License
vkbottle/vkbottle
v0.1 Installation and Deployment fixes + README Update + setup for pypl deletion + travis support deletion
718,838
30.09.2019 20:24:43
-10,800
c9a4e2d2776cf15421892e91424f4d2e99566b42
v0.1 Added python highlighting to code samples
[ { "change_type": "MODIFY", "old_path": "COMMERCIAL.md", "new_path": "COMMERCIAL.md", "diff": "@@ -10,7 +10,7 @@ Welcome to VKBottle! VKBottle is a useful client with useful facilities for work\n* :man_technologist:Full Can-Be-Sended objects for advanced usage\n- ```\n+ ```python\n@bot.on.message.low...
Python
MIT License
vkbottle/vkbottle
v0.1 Added python highlighting to code samples
718,838
04.10.2019 19:22:35
-10,800
23caffb823e6f6396294f8090eaa7ee72a78c8ba
v0.1 Removed logging where was no need added Message Typing
[ { "change_type": "MODIFY", "old_path": "vkbottle2/__init__.py", "new_path": "vkbottle2/__init__.py", "diff": "from .framework import Bot\n-\n+from .types.message import Message\n" }, { "change_type": "MODIFY", "old_path": "vkbottle2/utils/task.py", "new_path": "vkbottle2/utils/task.p...
Python
MIT License
vkbottle/vkbottle
v0.1 Removed logging where was no need added Message Typing
718,838
04.10.2019 19:27:20
-10,800
162fef83f23cf1ae107caa190c539788b72d9dfb
edition in commercial.md
[ { "change_type": "MODIFY", "old_path": "COMMERCIAL.md", "new_path": "COMMERCIAL.md", "diff": "@@ -14,7 +14,7 @@ Welcome to VKBottle! VKBottle is a useful client with useful facilities for work\n@bot.on.message.lower('plastify <material:usage>', validators=(validators.SafeMessage)}:\nasync def handle...
Python
MIT License
vkbottle/vkbottle
edition in commercial.md
718,838
04.10.2019 20:20:18
-10,800
d78a3f12e4f9881af0e3cc7dfa64c62a10564bdd
v0.1 Callback ex
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -45,6 +45,27 @@ if __name__ == '__main__':\nbot.run()\n```\n+### Callback\n+\n+```python\n+from vkbottle import Bot, Message\n+from flask import request\n+# app = Flask()\n+\n+bot = Bot('my-token', 123, debug=Tr...
Python
MIT License
vkbottle/vkbottle
v0.1 Callback ex
718,838
04.10.2019 20:44:25
-10,800
4f6a9768991a460d48f289dd5cb48914cc0606b4
v0.1 Added actions and chat messages processing
[ { "change_type": "MODIFY", "old_path": "COMMERCIAL.md", "new_path": "COMMERCIAL.md", "diff": "@@ -40,3 +40,20 @@ Welcome to VKBottle! VKBottle is a useful client with useful facilities for work\n@bot.on.message.startswith('my opinion: <opinion>', validators=(validators.SafeMessage))\n```\n+* VBML (V...
Python
MIT License
vkbottle/vkbottle
v0.1 Added actions and chat messages processing
718,838
04.10.2019 21:14:46
-10,800
f96bee2c8b2a3a0dee6fb4c95a67585a2d2a2ad2
v0.1 Log fixes
[ { "change_type": "MODIFY", "old_path": "vkbottle2/framework/bot.py", "new_path": "vkbottle2/framework/bot.py", "diff": "@@ -43,9 +43,7 @@ class Bot(EventProcessor):\nif update['type'] == EventTypes.MESSAGE_NEW:\nif obj['peer_id'] < 2e9:\n-\nensure_future(self._private_message_processor(obj=obj))\n-\...
Python
MIT License
vkbottle/vkbottle
v0.1 Log fixes
718,838
05.10.2019 11:40:39
-10,800
525e6a651bbf0bd5414ea195dd51287688cf577f
v0.1 longpoll release * everything is updated + logging fix
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -50,7 +50,7 @@ async def wrapper(ans: Message, name):\nif __name__ == '__main__':\n- bot.run()\n+ bot.run_polling()\n```\n### Callback\n" }, { "change_type": "MODIFY", "old_path": "examples/simple_bo...
Python
MIT License
vkbottle/vkbottle
v0.1 longpoll release * everything is updated + logging fix
718,838
06.10.2019 09:36:20
-10,800
bc8ebd925274472c4468ca49e1f01aed4060491b
v0.1 added events & docs :shipit:
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api.py", "new_path": "vkbottle/api/api.py", "diff": "@@ -32,7 +32,6 @@ class Method(object):\nVK API Method Wrapper\n:param group: method group\n:param method: method name\n- :param data: method options\n:return: VK API Server Response\n\"\"\"\n" ...
Python
MIT License
vkbottle/vkbottle
v0.1 added events & docs :shipit:
718,838
06.10.2019 11:08:58
-10,800
b604e7abc2582651721187e847466c3c0f7c466d
v0.1 Validators docs + added test validator
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "***\n-### Usage\n+### Longpoll\n```python\nfrom vkbottle import Bot, Message\n@@ -81,7 +81,6 @@ More examples positioned in directory [/examples](./examples)\nFull docs you can find here:\n* [Russian Version](./doc...
Python
MIT License
vkbottle/vkbottle
v0.1 Validators docs + added test validator
718,838
06.10.2019 17:03:07
-10,800
62f6af7582fb0d1d843c681e9368e263b9198bec
v0.1 CB Event fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -109,7 +109,9 @@ class Bot(HTTP, EventProcessor):\nif event['group_id'] == self.group_id:\nreturn confirmation_token or 'dissatisfied'\n- for update in event['updates']:\n+ update...
Python
MIT License
vkbottle/vkbottle
v0.1 CB Event fix
718,838
06.10.2019 21:15:28
-10,800
6f2a81bacdaa5b363df303f37484b8a67b46a8d1
v0.1 keyboard gen
[ { "change_type": "MODIFY", "old_path": "vkbottle/__init__.py", "new_path": "vkbottle/__init__.py", "diff": "from .framework import Bot\nfrom .types.message import Message\nfrom .utils.task import TaskQueue\n+from .api.keyboard import keyboard_gen\n" }, { "change_type": "ADD", "old_path":...
Python
MIT License
vkbottle/vkbottle
v0.1 keyboard gen
718,838
07.10.2019 17:46:35
-10,800
681960dfe2c53660fae8110693f1decc1025fd9f
v0.1 log options
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -20,6 +20,7 @@ class Bot(HTTP, EventProcessor):\ngroup_id: int,\ndebug: bool = True,\nplugin_folder: str = None,\n+ log_to_file: bool = True,\nlog_to: str = None):\nself.__token: ...
Python
MIT License
vkbottle/vkbottle
v0.1 log options
718,838
07.10.2019 19:40:27
-10,800
3925ddc44eb09ccb97c47d94984692801ed08eb5
v0.1 callback example
[ { "change_type": "DELETE", "old_path": "examples/README.rst", "new_path": null, "diff": "-Examples of VKBottle\n---------------------\n-If you find a mistake or deprecated names in examples, please contact me in VK Chat or make an issue\n-\n-Please make pull requests for new examples\n\\ No newline ...
Python
MIT License
vkbottle/vkbottle
v0.1 callback example
718,838
13.10.2019 11:48:44
-10,800
1da6f1f446e3e86ec18decfa3ab81d90bcc7ffb1
v0.1 Pl Updates
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "@@ -80,7 +80,7 @@ More examples positioned in directory [/examples](./examples)\nFull docs you can find here:\n-* [Russian Version](./docs/readme.ru.md)\n+* [Russian Version](docs/README.RU.md)\n# Contributing\n" ...
Python
MIT License
vkbottle/vkbottle
v0.1 Pl Updates
718,838
13.10.2019 14:04:23
-10,800
b8d18bc01622df239c45d72cdcd0a95ac740b487
fix repair fixik kto takie fixiki
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -135,5 +135,5 @@ class Bot(HTTP, EventProcessor):\nreturn 'ok'\ndef process(self, event: dict, confirmation_token: str = None) -> str:\n- status = ensure_future(self._process(even...
Python
MIT License
vkbottle/vkbottle
fix repair fixik kto takie fixiki
718,838
14.10.2019 18:33:02
-10,800
4a97e5dc7450bf06d82920a8e6eaee5465264880
v0.2 Val Arguments with docs
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -117,7 +117,8 @@ class Bot(HTTP, EventProcessor):\nawait task\nelse:\n- if obj['from_id'] != -self.group_id:\n+ print(obj)\n+ if -self.group_id not in obj.values():\n# If this is ...
Python
MIT License
vkbottle/vkbottle
v0.2 Val Arguments with docs
718,838
14.10.2019 21:49:20
-10,800
4ba837ba3ee9798e6713c59ba483c0972695fc40
v0.1 lil fixes time in logger now local validators docs are fixed
[ { "change_type": "MODIFY", "old_path": ".DS_Store", "new_path": ".DS_Store", "diff": "Binary files a/.DS_Store and b/.DS_Store differ\n" }, { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -59,6 +59,7 @@ clas...
Python
MIT License
vkbottle/vkbottle
v0.1 lil fixes time in logger now local validators docs are fixed
718,838
15.10.2019 17:14:10
-10,800
3e825c847550513e311cd4abcb5d572263b3f7fe
v0.2 fixes and features + bottle_examples + now you can separate args with , in validators + log fixes
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -46,6 +46,10 @@ class Bot(HTTP, EventProcessor):\ndef get_loop(self):\nreturn self.__loop\n+ @property\n+ def same(self):\n+ return self\n+\nasync def get_server(self) -> dict:\n\...
Python
MIT License
vkbottle/vkbottle
v0.2 fixes and features + bottle_examples + now you can separate args with , in validators + log fixes
718,838
16.10.2019 14:55:14
-10,800
95bdf5a735c54f62b3f50f3b99dee7ce794e18c9
v0.2 Mailing addon
[ { "change_type": "MODIFY", "old_path": "vkbottle/__init__.py", "new_path": "vkbottle/__init__.py", "diff": "-from .framework import Bot\n+from .framework import Bot, Mailing\nfrom .types.message import Message\nfrom .utils.task import TaskQueue\nfrom .api.keyboard import keyboard_gen\n" }, { ...
Python
MIT License
vkbottle/vkbottle
v0.2 Mailing addon
718,838
19.10.2019 18:42:57
-10,800
89b00c7de6cf064025b0792e12a69062f8ecc5e7
v0.2 execute transparancy fix execute method. now it can be called by: bot.api.execute('my code on vk-script')
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api.py", "new_path": "vkbottle/api/api.py", "diff": "@@ -19,15 +19,20 @@ class Method(object):\nself._token = token\nself.request = request or HTTPRequest()\n- def generate_method_url(self, group, method):\n+ def generate_method_url(self, group, m...
Python
MIT License
vkbottle/vkbottle
v0.2 execute transparancy fix execute method. now it can be called by: bot.api.execute('my code on vk-script')
718,838
20.10.2019 11:06:10
-10,800
03d9430344a6d04f478704d1fcf3a94ab9298a4a
v0.2 Handler Returnings + answer ignorable + auto-convertable types for answer
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/exceptions.py", "new_path": "vkbottle/api/exceptions.py", "diff": "@@ -12,3 +12,7 @@ class MailingAPIError(Exception):\nclass BranchError(Exception):\npass\n+\n+\n+class HandlerReturnError(Exception):\n+ pass\n" }, { "change_type": "MODIFY...
Python
MIT License
vkbottle/vkbottle
v0.2 Handler Returnings + answer ignorable + auto-convertable types for answer
718,838
22.10.2019 15:50:08
-10,800
329ce1dbef46a795144a908e96855634cc96b292
comm abandoned
[ { "change_type": "DELETE", "old_path": "COMMERCIAL.md", "new_path": null, "diff": "-# VKBottle Commercial Recommendations\n-\n-Welcome to VKBottle! VKBottle is a useful client with useful facilities for working with VK. Be confident about it after using this test version. But we have an another vers...
Python
MIT License
vkbottle/vkbottle
comm abandoned
718,838
22.10.2019 18:01:14
-10,800
001352d63532ca9ea7581c8f10bf31a94c704aff
v0.2 setup py
[ { "change_type": "ADD", "old_path": null, "new_path": "setup.py", "diff": "+import setuptools\n+\n+with open('README.md', 'r') as f:\n+ long_description = f.read()\n+\n+setuptools.setup(\n+ name=\"vkbottle\",\n+ version=\"1.0\",\n+ author=\"timoniq\",\n+ description=\"Description..\",\n+ long_descri...
Python
MIT License
vkbottle/vkbottle
v0.2 setup py
718,838
24.10.2019 17:52:52
-10,800
364eda00e6b10c9b17b272d1d09ec76ca091141e
v0.2 fixed mention regexp
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/processor.py", "new_path": "vkbottle/framework/processor.py", "diff": "@@ -6,10 +6,11 @@ from .patcher import Patcher\nfrom .branch import BranchManager\nfrom asyncio import AbstractEventLoop, ensure_future\nfrom re import sub\n+from .regex ...
Python
MIT License
vkbottle/vkbottle
v0.2 fixed mention regexp
718,838
24.10.2019 20:59:00
-10,800
d9ccc90470ef64cbc55357dba5d16345a1f136c0
v0.2.1 Important fix!
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/processor.py", "new_path": "vkbottle/framework/processor.py", "diff": "@@ -93,6 +93,7 @@ class EventProcessor(RegexHelper):\nif validators_check is not None:\n# [Feature] Async Use\n# Added v0.19#master\n+ print(matching)\ntask = await match...
Python
MIT License
vkbottle/vkbottle
v0.2.1 Important fix!
718,838
03.11.2019 09:01:51
-10,800
6c79bb0542af32e6b64407dd8524a3ff931e71c9
fix async poor code
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -102,7 +102,7 @@ class Bot(HTTP, EventProcessor):\nwhile True:\ntry:\nevent = await self.make_long_request(longPollServer)\n- ensure_future(self.emulate(event))\n+ await self.emul...
Python
MIT License
vkbottle/vkbottle
fix async poor code
718,838
03.11.2019 09:15:07
-10,800
aabd086c4de526d9fcc39d370a6af8bc72854bfe
v0.2b Change current version and fix dispatch
[ { "change_type": "MODIFY", "old_path": "vkbottle/const.py", "new_path": "vkbottle/const.py", "diff": "-__version__ = \"0.2a\" # Package VKBottle version\n+__version__ = \"0.2b\" # Package VKBottle version\n__author__ = \"Arseniy Timonik\"\n" }, { "change_type": "MODIFY", "old_path": "vkb...
Python
MIT License
vkbottle/vkbottle
v0.2b Change current version and fix dispatch
718,838
03.11.2019 11:02:55
-10,800
16fbeaeb5fd7e8239ef4ab449b51d54543109cb2
v0.2b Branch docs
[ { "change_type": "ADD", "old_path": "docs/emulation.scheme.png", "new_path": "docs/emulation.scheme.png", "diff": "Binary files /dev/null and b/docs/emulation.scheme.png differ\n" } ]
Python
MIT License
vkbottle/vkbottle
v0.2b Branch docs
718,838
03.11.2019 11:17:07
-10,800
166fa0afab7cd51dd5b90409a48c26f73307654d
v0.2b Api Update to 5.103
[ { "change_type": "MODIFY", "old_path": "portable/PORTABLE.json", "new_path": "portable/PORTABLE.json", "diff": "{\n- \"version\": \"0.15\",\n+ \"version\": \"timoniq/vkbottle-rest\",\n\"license\": \"GPL-3.0\",\n\"author\": \"Arseniy Timonik\"\n}\n\\ No newline at end of file\n" }, { "change_...
Python
MIT License
vkbottle/vkbottle
v0.2b Api Update to 5.103
718,838
03.11.2019 21:51:20
-10,800
96c0f84852afb24c4223fdf6d8a3b8439b956506
v0.2b Regex update + arguments fix (lazy separators) + patcher update + float is handler returnable type + new exception-types
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/exceptions.py", "new_path": "vkbottle/api/exceptions.py", "diff": "@@ -20,3 +20,7 @@ class HandlerError(Exception):\nclass HandlerReturnError(HandlerError):\npass\n+\n+\n+class VBMLError(Exception):\n+ pass\n" }, { "change_type": "MODIFY",...
Python
MIT License
vkbottle/vkbottle
v0.2b Regex update + arguments fix (lazy separators) + patcher update + float is handler returnable type + new exception-types
718,838
04.11.2019 13:03:15
-10,800
966be85a93b69d2cc4933c9d8d0131896303cf08
v0.2b Fix actions and regex fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/processor.py", "new_path": "vkbottle/framework/processor.py", "diff": "@@ -121,24 +121,21 @@ class EventProcessor(RegexHelper):\nself._logger.debug(\n'-> ACTION FROM CHAT {} TYPE \"{}\" TIME %#%'.format(\nobj[\"peer_id\"], action[\"type\"]\n...
Python
MIT License
vkbottle/vkbottle
v0.2b Fix actions and regex fix
718,838
04.11.2019 18:45:10
-10,800
437f7385167ef8f92a3fd8366fa86e04a9295c29
v0.2b Delaying request debug when VK falls down
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api.py", "new_path": "vkbottle/api/api.py", "diff": "@@ -2,6 +2,9 @@ from ..const import API_VERSION, API_URL\nfrom .exceptions import VKError\nfrom ..http import HTTPRequest\nfrom asyncio import AbstractEventLoop, get_event_loop\n+import time\n+i...
Python
MIT License
vkbottle/vkbottle
v0.2b Delaying request debug when VK falls down
718,838
04.11.2019 19:03:43
-10,800
c192a28574cc347a76adc4b8bcffbd0c1ba95fc0
v0.2b Event fix + Event message_typing_state
[ { "change_type": "MODIFY", "old_path": "vkbottle/handler/events.py", "new_path": "vkbottle/handler/events.py", "diff": "@@ -31,6 +31,13 @@ class Event(object):\nreturn decorator\n+ def message_typing_state(self):\n+ def decorator(func):\n+ self.events[EventList.MESSAGE_TYPING_STATE] = {\"call\": fun...
Python
MIT License
vkbottle/vkbottle
v0.2b Event fix + Event message_typing_state
718,838
04.11.2019 20:31:08
-10,800
6495c7fc30e1d379f3729b4a0c3359153d6a7920
v0.2b Minor but important
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api.py", "new_path": "vkbottle/api/api.py", "diff": "@@ -52,24 +52,25 @@ class Method(object):\nresponse = await self.request.post(\nurl=self.generate_method_url(group, method, _execute), params=params\n)\n- try:\n- if \"error\" in response:\n- ra...
Python
MIT License
vkbottle/vkbottle
v0.2b Minor but important
718,838
04.11.2019 20:56:17
-10,800
914a145c659d7c6ee9b800970826306d12afcc76
v0.2 Full version, last fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api.py", "new_path": "vkbottle/api/api.py", "diff": "@@ -57,7 +57,7 @@ class Method(object):\ncprint(f\"\"\"\n--- {time.strftime(\"%m-%d %H:%M:%S\", time.localtime())} - DELAY {self.__delay*5} sec\n-Check your internet connection. Maybe VK died, r...
Python
MIT License
vkbottle/vkbottle
v0.2 Full version, last fix
718,838
05.11.2019 18:11:25
-10,800
046c57c82632d9a412e83bb4e5be70fa6691d47a
v0.2 Examples Fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -103,6 +103,7 @@ class Bot(HTTP, EventProcessor):\nwhile True:\ntry:\nevent = await self.make_long_request(longPollServer)\n+ if type(event) is dict:\nawait self.emulate(event)\nl...
Python
MIT License
vkbottle/vkbottle
v0.2 Examples Fix
718,838
06.11.2019 18:19:25
-10,800
abad3d96dd03bbb65c843437d5cb9046c3612e3f
v0.2 Poor code fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -54,13 +54,9 @@ class Bot(HTTP, EventProcessor):\nreturn self.__group_id\n@property\n- def get_loop(self):\n+ def loop(self):\nreturn self.__loop\n- @property\n- def same(self):\n...
Python
MIT License
vkbottle/vkbottle
v0.2 Poor code fix
718,838
06.11.2019 19:29:20
-10,800
9cb853da154436c4bf7db5dba2da5407f080f4c6
v0.2 Message Separation + api fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api.py", "new_path": "vkbottle/api/api.py", "diff": "@@ -55,7 +55,7 @@ class Method(object):\n\"\"\"\nresponse = await self.request.post(\n- url=self.generate_method_url(group, method, _execute), params=params\n+ url=self.generate_method_url(group...
Python
MIT License
vkbottle/vkbottle
v0.2 Message Separation + api fix
718,838
08.11.2019 22:59:11
-10,800
8dab1c3dbcc87a95570dd3dac18335861962486b
VBML RELEASE!
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "@@ -5,7 +5,7 @@ with open('README.md', 'r', encoding='utf-8') as f:\nsetuptools.setup(\nname=\"vkbottle\",\n- version=\"1.0\",\n+ version=\"1.3\",\nauthor=\"timoniq\",\ndescription=\"Description..\",\nlong_descriptio...
Python
MIT License
vkbottle/vkbottle
VBML RELEASE!
718,838
09.11.2019 16:03:17
-10,800
6a0443f1e4fdde6f3114b5d9c25f12dd7eb68266
fix plugin_folder
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -41,7 +41,7 @@ class Bot(HTTP, EventProcessor):\nself._logger = Logger(\ndebug,\nlog_file=log_to,\n- plugin_folder=folder_checkup(plugin_folder),\n+ plugin_folder=folder_checkup(p...
Python
MIT License
vkbottle/vkbottle
fix plugin_folder
718,838
09.11.2019 18:25:17
-10,800
c3196ec017303059ae9962483a07a02e40a2c7e3
fix message_undefined bug
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/processor.py", "new_path": "vkbottle/framework/processor.py", "diff": "@@ -32,6 +32,7 @@ class EventProcessor(RegexHelper):\nanswer.from_id, answer.text.replace(\"\\n\", \" \")\n)\n)\n+ found: bool = False\nfor key in self.on.message.inner:\...
Python
MIT License
vkbottle/vkbottle
fix message_undefined bug
718,838
09.11.2019 19:14:06
-10,800
fba4e62632b1ec93bba531692beb7c7ad8e6b091
vbml installation fixik
[ { "change_type": "MODIFY", "old_path": "requirements.txt", "new_path": "requirements.txt", "diff": "@@ -2,4 +2,4 @@ aiohttp\npydantic\ncolorama\ntermcolor\n--e https://github.com/timoniq/vbml/archive/master.zip\n\\ No newline at end of file\n+vbml\n\\ No newline at end of file\n" }, { "chang...
Python
MIT License
vkbottle/vkbottle
vbml installation fixik
718,838
11.11.2019 16:23:53
-10,800
1b6f34828a740a5567aaf879a32004301b0a8d91
v0.3 crash reports (0.1)
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -18,6 +18,7 @@ from ._event import EventTypes\nfrom .processor import EventProcessor\nfrom .branch import BranchManager\nfrom ..utils import folder_checkup\n+import traceback\nDEF...
Python
MIT License
vkbottle/vkbottle
v0.3 crash reports (0.1)
718,838
11.11.2019 17:35:54
-10,800
a364fdc053313da171e3f4a5717620c3618399c8
v0.3 User API, TaskManager fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/__init__.py", "new_path": "vkbottle/__init__.py", "diff": "-from .framework import Bot, Mailing, Branch, ExitBranch\n+from .framework import (\n+ Bot,\n+ Mailing,\n+ Branch,\n+ ExitBranch,\n+ User\n+)\nfrom .types.message import Message\nfrom .utils.t...
Python
MIT License
vkbottle/vkbottle
v0.3 User API, TaskManager fix
718,838
11.11.2019 17:38:15
-10,800
81e444fbd1a7ee8ce21d31f56d05164321a68fee
v0.3 run_forever is not needed
[ { "change_type": "MODIFY", "old_path": "vkbottle/utils/task.py", "new_path": "vkbottle/utils/task.py", "diff": "@@ -54,8 +54,6 @@ class TaskManager:\n[self.loop.create_task(task) for task in self.tasks]\n- self.loop.run_forever()\n-\nfinally:\nif shutdown is not None:\nself.loop.run_until_complete(s...
Python
MIT License
vkbottle/vkbottle
v0.3 run_forever is not needed
718,838
11.11.2019 17:58:53
-10,800
8ac4f103383245942abeeb02a592d733893eb51a
v0.3 fix variable privacy
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -42,25 +42,25 @@ class Bot(HTTP, EventProcessor):\nself.__token: str = token\nself.__group_id: int = group_id\nself.__loop: AbstractEventLoop = get_event_loop()\n- self.__debug = ...
Python
MIT License
vkbottle/vkbottle
v0.3 fix variable privacy
718,838
12.11.2019 20:30:36
-10,800
2cea08d9c728044aec8ba256ef4b80db3209d862
trying to fix my broken fix...
[ { "change_type": "MODIFY", "old_path": "vkbottle/utils/logger.py", "new_path": "vkbottle/utils/logger.py", "diff": "@@ -6,6 +6,7 @@ from colorama import init as color_opt\nimport os\nimport re\nimport time\n+from pathlib import Path\nLOG_FILE_PATTERN = r\"[a-zA-Z0-9]+\\.log\"\n@@ -51,17 +52,13 @@ cl...
Python
MIT License
vkbottle/vkbottle
trying to fix my broken fix...
718,838
12.11.2019 20:39:29
-10,800
6a683bf8a719fccceba9d32c10fb3cc1b9650c2b
v0.3 cool fixik (nolik)
[ { "change_type": "MODIFY", "old_path": ".DS_Store", "new_path": ".DS_Store", "diff": "Binary files a/.DS_Store and b/.DS_Store differ\n" }, { "change_type": "MODIFY", "old_path": "vkbottle/utils/logger.py", "new_path": "vkbottle/utils/logger.py", "diff": "@@ -55,6 +55,9 @@ class ...
Python
MIT License
vkbottle/vkbottle
v0.3 cool fixik (nolik)
718,838
17.11.2019 19:43:00
-10,800
3aa6748f959dfd4b162052e19f38b58e389e2736
shit deletion
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -34,9 +34,8 @@ class Bot(HTTP, EventProcessor):\ntoken: str,\ngroup_id: int,\ndebug: bool = True,\n- validators: bool = True,\nplugin_folder: str = None,\n- log_to_file: bool = Tr...
Python
MIT License
vkbottle/vkbottle
shit deletion
718,838
23.11.2019 13:02:53
-10,800
ff5267214ce80c69af55317014c3b7c5e8a844a1
add desc handler
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -6,7 +6,7 @@ except ImportError:\nprint('Please install vbml to use VKBottle. Use command: {}'.format(VBML_INSTALL))\nfrom ..api import Api\n-from ..handler import Handler, ErrorH...
Python
MIT License
vkbottle/vkbottle
add desc handler
718,838
02.12.2019 16:44:42
-10,800
ee8d55c08292ebe5eb7188a64fcad803b3af8998
add patcher option
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -47,6 +47,7 @@ class Bot(HTTP, EventProcessor):\nplugin_folder: str = None,\nlog_to_file: bool = False,\nlog_to: str = None,\n+ vbml_patcher: Patcher = None\n):\nself.__token: str...
Python
MIT License
vkbottle/vkbottle
add patcher option
718,838
14.12.2019 19:58:17
-10,800
6ac31a0769f45815e803761193b286036dfde1b0
o4erednoy fix..
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/message.py", "new_path": "vkbottle/types/message.py", "diff": "@@ -97,7 +97,6 @@ class Message(BaseModel):\n\"send\",\ndict(\npeer_id=self.peer_id,\n- keyboard=keyboard,\nrandom_id=random.randint(-2e9, 2e9),\n**{k: v for k, v in locals().items()...
Python
MIT License
vkbottle/vkbottle
o4erednoy fix..
718,838
14.12.2019 20:11:10
-10,800
e1bdb736cf5dff2d46ff75ca32523ef2223bad9d
plodim fixikov
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/message.py", "new_path": "vkbottle/types/message.py", "diff": "@@ -67,7 +67,7 @@ class Message(BaseModel):\nasync def reply(\nself,\n- message: str = \"&#8230;\",\n+ message: str = None,\nattachment: str = None,\nkeyboard: dict = None,\n**params...
Python
MIT License
vkbottle/vkbottle
plodim fixikov
718,838
14.12.2019 20:19:13
-10,800
c519e0282bfee51f451c2f7436ca0cc1a61e5424
rodil 10 fixikov (11010110)
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/message.py", "new_path": "vkbottle/types/message.py", "diff": "@@ -72,6 +72,7 @@ class Message(BaseModel):\nkeyboard: dict = None,\n**params\n):\n+ locals().update(params)\nreturn await self.api[0].request(\n\"messages\",\n\"send\",\n@@ -79,7 +8...
Python
MIT License
vkbottle/vkbottle
rodil 10 fixikov (11010110)
718,838
14.12.2019 22:00:14
-10,800
2d721cc818da27a129556cb20f40be0cf9e2ad9f
fixed client_info
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/message.py", "new_path": "vkbottle/types/message.py", "diff": "@@ -45,6 +45,8 @@ class MessageAction(BaseModel):\nclass ClientInfo(BaseModel):\nbutton_actions: list = None\nkeyboard: bool = None\n+ inline_keyboard: bool = None\n+ carousel: bool ...
Python
MIT License
vkbottle/vkbottle
fixed client_info
718,838
15.12.2019 10:45:37
-10,800
3a767edd83321236ebaf3ad44fffcefdc0c1d301
fix bm length
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/processor.py", "new_path": "vkbottle/framework/processor.py", "diff": "@@ -230,10 +230,11 @@ class EventProcessor(RegexHelper):\ntask = await (self.branch.branches[branch[0]](answer, **branch[1]))\ntask = await self._handler_return(task, obj...
Python
MIT License
vkbottle/vkbottle
fix bm length
718,838
15.12.2019 14:07:08
-10,800
050dd14af690402927d3c826019626c4bbdc43f4
fix keyboard gen
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/keyboard/generator.py", "new_path": "vkbottle/api/keyboard/generator.py", "diff": "@@ -19,16 +19,15 @@ def keyboard_gen(\nfor row in rows:\nrow_buttons = list()\nfor button in row:\n+ button = {k: v for k, v in button.items()}\nrow_buttons.append(...
Python
MIT License
vkbottle/vkbottle
fix keyboard gen
718,838
15.12.2019 19:53:11
-10,800
5759426dded8046cc868b03c70ad0feadfbaf582
template doc
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/template.md", "diff": "+# Template\n+## Carousel\n+Import elements:\n+```python\n+from vkbottler.vkbottle import template_gen, TemplateElement\n+```\n+`template_gen` - create template json by the template elements\n+\n+Example:\n+```python\...
Python
MIT License
vkbottle/vkbottle
template doc
718,838
15.12.2019 19:59:01
-10,800
29c37f561d9d2e89a741234f67505ba42ff2815d
awkward moment
[ { "change_type": "MODIFY", "old_path": "docs/template.md", "new_path": "docs/template.md", "diff": "## Carousel\nImport elements:\n```python\n-from vkbottler.vkbottle import template_gen, TemplateElement\n+from vkbottle import template_gen, TemplateElement\n```\n`template_gen` - create template json...
Python
MIT License
vkbottle/vkbottle
awkward moment
718,838
15.12.2019 22:24:48
-10,800
e80dee2d57d61d26a8476ab5acc528deab7c1d25
add set_debug
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -77,6 +77,14 @@ class Bot(HTTP, EventProcessor):\ndef group_id(self):\nreturn self.__group_id\n+ def set_debug(self, debug: bool, **params):\n+ self.__debug = debug\n+ self._logge...
Python
MIT License
vkbottle/vkbottle
add set_debug
718,838
16.12.2019 08:05:20
-10,800
64976cce9a84e267d1762e83e67dabc4df683821
add empty_copy
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -54,6 +54,8 @@ class Bot(HTTP, EventProcessor):\nself.__loop: AbstractEventLoop = get_event_loop()\nself.__debug: bool = debug\nself.__wait = None\n+ self.__logger_opt = (plugin_f...
Python
MIT License
vkbottle/vkbottle
add empty_copy
718,838
16.12.2019 08:21:14
-10,800
b1e9b4ca5c2d1fcf4b099d113b1c57a5c6934d2f
add copy and fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -87,7 +87,11 @@ class Bot(HTTP, EventProcessor):\n**{k: v for k, v in self._logger.logger_params.items() if k not in {**params, \"debug\": None}}\n)\n- def empty_copy(self) -> sup...
Python
MIT License
vkbottle/vkbottle
add copy and fix
718,838
16.12.2019 20:52:30
-10,800
dda026ff9a7b0c4fd5b2787fe95cf2c1523a1c39
update task_manager
[ { "change_type": "MODIFY", "old_path": "vkbottle/utils/task.py", "new_path": "vkbottle/utils/task.py", "diff": "import asyncio\nfrom .logger import keyboard_interrupt\n-from asyncio import coroutine\n-from types import CoroutineType\n-from typing import List, Callable, Coroutine\n+import typing\n\"\...
Python
MIT License
vkbottle/vkbottle
update task_manager
718,838
16.12.2019 22:41:19
-10,800
beda555c2bbbac92951fc1a8e54572a33e35fc92
lil addition
[ { "change_type": "MODIFY", "old_path": "vkbottle/handler/handler.py", "new_path": "vkbottle/handler/handler.py", "diff": "@@ -138,7 +138,7 @@ class Handler(object):\nclass MessageHandler:\ndef __init__(self):\n- self.inner = dict()\n+ self.inner: Dict[Payload, Dict[Callable, str, bool]] = dict()\nse...
Python
MIT License
vkbottle/vkbottle
lil addition
718,838
17.12.2019 19:47:06
-10,800
f259ea06d26b73763ab27166e379151649036277
punch shlyapnov in the face
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/api.py", "new_path": "vkbottle/api/api.py", "diff": "@@ -142,12 +142,14 @@ class Api(object):\ndata = {\"code\": code}\nreturn await self.method_object(\"\", \"\", data, _execute=True)\n- async def __call__(self, **kwargs) -> dict:\n+ async def __...
Python
MIT License
vkbottle/vkbottle
punch shlyapnov in the face
718,838
18.12.2019 21:47:06
-10,800
d394bcff2ff1156edd53debe02d391b9ef9ae17c
update donuts + add set timeout possibility
[ { "change_type": "MODIFY", "old_path": "vkbottle/donuts.py", "new_path": "vkbottle/donuts.py", "diff": "@@ -4,11 +4,18 @@ import typing\nimport asyncio\n+async def with_timeout(timeout: int, coro):\n+ await asyncio.sleep(timeout)\n+ await coro\n+\n+\nclass DonutError(Exception):\npass\nclass Donuts:...
Python
MIT License
vkbottle/vkbottle
update donuts + add set timeout possibility
718,838
22.12.2019 10:51:19
-10,800
3b1e6235a2009450b5822f88aa26af2c8324110b
update after vbml
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -12,7 +12,6 @@ from ..http import HTTP\nfrom ..api import VKError\nfrom asyncio import get_event_loop, AbstractEventLoop, TimeoutError\nfrom vbml import Patcher, PatchedValidators...
Python
MIT License
vkbottle/vkbottle
update after vbml
718,838
22.12.2019 11:56:07
-10,800
5161a0e201dccf5bbd99d72a2c33fdddc12d6630
choto update
[ { "change_type": "MODIFY", "old_path": "examples/bot_decorators.py", "new_path": "examples/bot_decorators.py", "diff": "@@ -45,11 +45,11 @@ To recognise types, import events object from vkbottle\nYou can make type-hints to work with it easier\nLike this:\n\"\"\"\n-from vkbottle.vkbottle import event...
Python
MIT License
vkbottle/vkbottle
choto update
718,838
29.12.2019 16:04:40
-10,800
8697a199fb46d48c88a46073e11eb18c2079e1b7
update setup and donuts + in_loop + mark_as_read
[ { "change_type": "MODIFY", "old_path": "setup.py", "new_path": "setup.py", "diff": "import setuptools\n+try:\n+ with open('README.md', 'r', encoding=\"utf-8\") as f:\n+ long_description = f.read()\n+except:\nwith open('README.md', 'r') as f:\nlong_description = f.read()\n+\nsetuptools.setup(\nname=\...
Python
MIT License
vkbottle/vkbottle
update setup and donuts + in_loop + mark_as_read
718,838
01.01.2020 17:20:38
-10,800
d485849210e13d5de329253daa236c2938f372b4
add change_handler_return_context
[ { "change_type": "ADD", "old_path": null, "new_path": "vkbottle/framework/_status.py", "diff": "+class BotStatus:\n+ polling_started: bool = False\n+ dispatched: bool = False\n+ handler_return_context: dict = {}\n+\n+ @property\n+ def readable(self) -> dict:\n+ return {\"polling_started\": self.poll...
Python
MIT License
vkbottle/vkbottle
add change_handler_return_context
718,838
20.01.2020 19:13:58
-10,800
f904569cdb0b3b1902dd04d7312d16306468b388
help to 3.6 python
[ { "change_type": "MODIFY", "old_path": "vkbottle/utils/logger.py", "new_path": "vkbottle/utils/logger.py", "diff": "@@ -110,6 +110,6 @@ class Logger(object):\nprint(self.__coloring(\" \".join([str(i) for i in some]), \"red\"))\n-def keyboard_interrupt() -> typing.NoReturn:\n+def keyboard_interrupt()...
Python
MIT License
vkbottle/vkbottle
help to 3.6 python
718,838
23.01.2020 21:32:34
-10,800
e7279f8ca1006eec4c57544530cd09b25880c523
v1 Rules fixes and docs
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/processor.py", "new_path": "vkbottle/framework/processor.py", "diff": "@@ -51,7 +51,7 @@ class EventProcessor(RegexHelper):\nif all([rule.check(message) for rule in rules]):\nargs = [a for rule in rules for a in rule.context.args]\nkwargs = ...
Python
MIT License
vkbottle/vkbottle
v1 Rules fixes and docs
718,838
24.01.2020 18:15:12
-10,800
70bdde077d7437dffd1bebe2a6a3b4350ccbbee1
v1 Rules Fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/rule/rule.py", "new_path": "vkbottle/framework/rule/rule.py", "diff": "@@ -12,14 +12,14 @@ class RuleExecute:\nclass AbstractRule:\ndef __init_subclass__(cls, **kwargs):\n- cls.data: dict = {}\ncls.call: typing.Optional[typing.Callable] = No...
Python
MIT License
vkbottle/vkbottle
v1 Rules Fix #16
718,889
25.01.2020 16:51:45
-18,000
b661755f83eef2bc0c374d5015485987b7e7db39
VBMLRule Fix
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/rule/rule.py", "new_path": "vkbottle/framework/rule/rule.py", "diff": "@@ -78,17 +78,18 @@ class VBMLRule(AbstractMessageRule):\nself,\npattern: typing.Union[str, Pattern, typing.List[typing.Union[str, Pattern]]],\n):\n+ self._patcher = Patc...
Python
MIT License
vkbottle/vkbottle
VBMLRule Fix (#17)
718,838
26.01.2020 12:02:41
-10,800
eaba800a04bb8db00a26fb89a31327ac50060f28
Concatenating functions
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -66,6 +66,10 @@ class Bot(HTTP, EventProcessor):\nself.on: Handler = Handler(self._logger, group_id)\nself.error_handler: ErrorHandler = ErrorHandler()\n+ def dispatch(self, ext: ...
Python
MIT License
vkbottle/vkbottle
Concatenating functions
718,889
28.01.2020 19:02:54
-18,000
a3da75b61076772f327db279c8f3444917575ca2
Rules <check> now async
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/processor.py", "new_path": "vkbottle/framework/processor.py", "diff": "@@ -48,7 +48,7 @@ class EventProcessor(RegexHelper):\n)\nfor rules in [*self.on.message.payload.rules, *self.on.message.rules]:\n- if all([rule.check(message) for rule in...
Python
MIT License
vkbottle/vkbottle
Rules <check> now async (#19)
718,838
28.01.2020 17:34:56
-10,800
0c0478c9a49340296315c0b9f97f9ae100d4dfea
v1 TaskManager Fix + docs
[ { "change_type": "ADD", "old_path": null, "new_path": "docs/task_manager.md", "diff": "+# TaskManager\n+\n+Import:\n+\n+```python\n+from vkbottle import TaskManager\n+manager = TaskManager() # if you don't have running loop\n+manager = TaskManager(bot.loop) # if you have initialized bot\n+# ...\n+``...
Python
MIT License
vkbottle/vkbottle
v1 TaskManager Fix + docs
718,838
28.01.2020 20:28:11
-10,800
1618ed6a96637a2d174ffd8255b4614a8cc22c01
v1 User LP Fixes
[ { "change_type": "MODIFY", "old_path": "docs/RulesExecutor.md", "new_path": "docs/RulesExecutor.md", "diff": "@@ -63,7 +63,7 @@ class MyFirstRule(AbstractRule):\ndef __init__(self, count: int):\nself.data[\"c\"] = count\n- def check(self, message: Message):\n+ async def check(self, message: Message)...
Python
MIT License
vkbottle/vkbottle
v1 User LP Fixes
718,838
28.01.2020 21:22:41
-10,800
749dbdc932de88aaaef321f0e9a2b5601dc933b7
v1 Fix Attachments
[ { "change_type": "MODIFY", "old_path": "vkbottle/types/user_longpoll.py", "new_path": "vkbottle/types/user_longpoll.py", "diff": "@@ -12,7 +12,7 @@ class Message(BaseModel):\npeer_id: int = None\ntimestamp: int = None\ntext: str = None\n- attachments: list = None\n+ attachments: dict = None\nrandom_...
Python
MIT License
vkbottle/vkbottle
v1 Fix Attachments
718,838
28.01.2020 22:29:51
-10,800
09d70f6eb30b90c78210e49d1c82821d656d7632
v1 Arranged docs
[ { "change_type": "MODIFY", "old_path": "examples/bot_decorators.py", "new_path": "examples/bot_decorators.py", "diff": "@@ -2,32 +2,33 @@ from vkbottle import Bot, Message\nbot = Bot(token=\"token\", group_id=1, debug=True)\n-\"\"\"Bot functions\n+\"\"\"\n+Bot functions\nDescribed in code comments\n...
Python
MIT License
vkbottle/vkbottle
v1 Arranged docs
718,838
29.01.2020 22:39:32
-10,800
9b18a19d4d23e244731cce8d247e0aeb95cec34f
v1 Fix docs because of the pressure
[ { "change_type": "MODIFY", "old_path": "docs/template.md", "new_path": "docs/template.md", "diff": "@@ -9,6 +9,7 @@ from vkbottle import template_gen, TemplateElement\nExample:\n```python\nfrom vkbottle import template_gen, TemplateElement, keyboard_gen\n+\ntemplate = template_gen(\nTemplateElement(...
Python
MIT License
vkbottle/vkbottle
v1 Fix docs because of the pressure
718,838
31.01.2020 17:29:47
-10,800
062f2ff3d421a4e08b883fdced0f6d70b58a6259
v1 Fix Patcher
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/user.py", "new_path": "vkbottle/framework/user.py", "diff": "import typing\nfrom asyncio import get_event_loop, AbstractEventLoop\n-import aiohttp\n+import aiohttp, vbml\nfrom ..http import HTTP\nfrom ..api import UserApi\n@@ -29,12 +29,14 @...
Python
MIT License
vkbottle/vkbottle
v1 Fix Patcher
718,838
01.02.2020 23:17:11
-10,800
1337b45e9286f61785443f44fbf5c5d533833077
v1 Change Rules again
[ { "change_type": "MODIFY", "old_path": "vkbottle/__init__.py", "new_path": "vkbottle/__init__.py", "diff": "@@ -4,4 +4,3 @@ from .utils.task import TaskManager\nfrom .api import template_gen, TemplateElement\nfrom .api.keyboard import keyboard_gen\nfrom .api.exceptions import *\n-from .api.fetch_met...
Python
MIT License
vkbottle/vkbottle
v1 Change Rules again
718,838
01.02.2020 23:28:06
-10,800
eff9d166a202fcf865da0e020e32e329a08405f2
v1 Update docs and examples
[ { "change_type": "DELETE", "old_path": "docs/TODO.md", "new_path": null, "diff": "-# TODO\n-\n-There is a list of checkboxes of implementing functions in VKBottle\n-\n-### :tada:0.15:\n-\n-- [x] **Callback Support**\n-\n-- [x] Events Queue executor\n-\n-- [x] Patcher for message variables types `(by...
Python
MIT License
vkbottle/vkbottle
v1 Update docs and examples
718,838
02.02.2020 14:18:39
-10,800
4e018baa0db92932fcf35f8ca95a953639612994
v1 User LP error handling + reformatted by black
[ { "change_type": "MODIFY", "old_path": "examples/callback_bot.py", "new_path": "examples/callback_bot.py", "diff": "@@ -4,17 +4,20 @@ from aiohttp.web import RouteTableDef, Application, Request, run_app\napp = Application()\nroutes = RouteTableDef()\n-bot = Bot('my-token', 123, debug=True, secret=\"...
Python
MIT License
vkbottle/vkbottle
v1 User LP error handling + reformatted by black
718,838
02.02.2020 14:48:32
-10,800
99872917a60e7c993ad7238dbb55b33e2bd99886
v1 Examples Update
[ { "change_type": "MODIFY", "old_path": "examples/bot_decorators.py", "new_path": "examples/bot_decorators.py", "diff": "from vkbottle import Bot, Message\n-bot = Bot(token=\"token\", group_id=1, debug=True)\n+bot = Bot(\"token\")\n\"\"\"\nBot functions\n" }, { "change_type": "MODIFY", "o...
Python
MIT License
vkbottle/vkbottle
v1 Examples Update
718,838
03.02.2020 17:26:01
-10,800
99353e6e46a918404642cde84fcd90302a288eac
v1 Col Rules! + Levenstein Rule + Command Rule
[ { "change_type": "MODIFY", "old_path": "vkbottle/api/exceptions.py", "new_path": "vkbottle/api/exceptions.py", "diff": "@@ -10,10 +10,6 @@ class KeyboardError(VKError):\npass\n-class MailingAPIError(Exception):\n- pass\n-\n-\nclass BranchError(Exception):\npass\n" }, { "change_type": "MODIFY...
Python
MIT License
vkbottle/vkbottle
v1 Col Rules! + Levenstein Rule + Command Rule
718,838
05.02.2020 18:01:58
-10,800
e68e0539d6d3a7fdcab28cd24e20519dd243bad6
v1 Update README
[ { "change_type": "MODIFY", "old_path": "README.md", "new_path": "README.md", "diff": "```python\nfrom vkbottle import Bot, Message\n-bot = Bot('my-token', 123, debug=True)\n+bot = Bot(\"my-token\")\n-@bot.on.message(text='My name is <name>', lower=True)\n+@bot.on.message(text=\"My name is <name>\", ...
Python
MIT License
vkbottle/vkbottle
v1 Update README
718,838
05.02.2020 20:21:04
-10,800
4da93c77f26f8e1c51a024237ee676a58f32e8f2
v1 Little bull fixes
[ { "change_type": "MODIFY", "old_path": "vkbottle/framework/bot.py", "new_path": "vkbottle/framework/bot.py", "diff": "@@ -30,7 +30,7 @@ class DefaultValidators(PatchedValidators):\nclass Bot(HTTP, EventProcessor):\n- longPollServer: dict\n+ long_poll_server: dict\ndef __init__(\nself,\n@@ -78,7 +78,...
Python
MIT License
vkbottle/vkbottle
v1 Little bull fixes