From 391b58defb59e3557e554fa9328ddbcc8a52a3d8 Mon Sep 17 00:00:00 2001 From: lowit Date: Sun, 23 May 2021 02:56:25 +0300 Subject: [PATCH 1/8] adds psycopg2-binary --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 57ad573..df81c25 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ python = "~3.8" django = "~3.1" django-simpleui = "~2021.3" uvicorn = "~0.13.4" -psycopg2 = "~2.8.6" +psycopg2-binary = "~2.8.6" django-environ = "^0.4.5" django-extensions = "^3.1.1" django-debug-toolbar = "^3.1.1" From 1e3d60c82a81fbeca0627ab7f1bf0142f6838873 Mon Sep 17 00:00:00 2001 From: lowit Date: Sun, 23 May 2021 02:59:56 +0300 Subject: [PATCH 2/8] fises lint --- http_stubs/tests/test_views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http_stubs/tests/test_views.py b/http_stubs/tests/test_views.py index 0fa3594..3370e45 100644 --- a/http_stubs/tests/test_views.py +++ b/http_stubs/tests/test_views.py @@ -62,7 +62,7 @@ def test_write_log(self, http_stub_factory, client): log = LogEntry.objects.last() def _datefmt(date) -> str: # noqa:WPS430 - """Converts date object to string. + """Convert date object to string. For comparing datetime and FakeDateTime. From 0dece9baca11dde46bc9bbf956b0479f4ca338a3 Mon Sep 17 00:00:00 2001 From: lowit Date: Sun, 23 May 2021 03:03:13 +0300 Subject: [PATCH 3/8] lgmt fixes --- templates/admin/http_stubs/includes/fieldset.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/admin/http_stubs/includes/fieldset.html b/templates/admin/http_stubs/includes/fieldset.html index 953234c..4dee693 100644 --- a/templates/admin/http_stubs/includes/fieldset.html +++ b/templates/admin/http_stubs/includes/fieldset.html @@ -42,7 +42,7 @@ if (param) { $.extend(this.default_params, param); } - ip_global_img_list = []; + var ip_global_img_list = []; var id = this.default_params.id; if (typeof id == 'string') { if ((ip_global_img_list = $("#"+id).find("img")).length == 0) { From 24e597cdc9fc3509a5657970376028bf106ee016 Mon Sep 17 00:00:00 2001 From: lowit Date: Sun, 23 May 2021 03:18:02 +0300 Subject: [PATCH 4/8] fixes codecov --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b7beb2b..7b63c0d 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ Build: ![build](https://github.com/NUTtech/Kesha/workflows/build/badge.svg) Code quality: -[![codecov](https://github.com/NUTtech/Kesha/branch/develop/graph/badge.svg)](https://codecov.io/gh/NUTtech/Kesha) +[![codecov](https://codecov.io/gh/NUTtech/Kesha/branch/develop/graph/badge.svg?token=788OM63owZ)](https://codecov.io/gh/NUTtech/Kesha) [![Language grade: Python](https://img.shields.io/lgtm/grade/python/g/NUTtech/Kesha.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/NUTtech/Kesha/context:python) [![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=NUTtech_Kesha&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=NUTtech_Kesha) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=NUTtech_Kesha&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=NUTtech_Kesha) From 8004230d4fe786842205d725f909916658d34b91 Mon Sep 17 00:00:00 2001 From: lowit Date: Sun, 23 May 2021 03:30:05 +0300 Subject: [PATCH 5/8] adds note --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 7b63c0d..d5f849a 100644 --- a/README.md +++ b/README.md @@ -42,3 +42,6 @@ We welcome all contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) if you want to contribute. You can start with [issues that need some help](https://github.com/NUTtech/Kesha/issues) right now. + +## Note +The project was forked from https://github.com/Uma-Tech/parrot version 1.1.0. And this parrot now lives here. From dea0fbc55946ad7772c8b553e2fe7455ca7b9064 Mon Sep 17 00:00:00 2001 From: lowitea Date: Sun, 23 May 2021 02:29:17 +0300 Subject: [PATCH 6/8] Adds issue templates --- .github/ISSUE_TEMPLATE/bug_report.md | 32 +++++++++++++++++++++++ .github/ISSUE_TEMPLATE/feature_request.md | 20 ++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.md create mode 100644 .github/ISSUE_TEMPLATE/feature_request.md diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 0000000..aec7e13 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,32 @@ +--- +name: Bug report +about: Create a report to help us improve +title: "[BUG]" +labels: bug +assignees: lowitea + +--- + +**Describe the bug** +A clear and concise description of what the bug is. + +**To Reproduce** +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** +A clear and concise description of what you expected to happen. + +**Screenshots** +If applicable, add screenshots to help explain your problem. + +**Desktop (please complete the following information):** + - OS: [e.g. iOS] + - Browser [e.g. chrome, safari] + - Version [e.g. 22] + +**Additional context** +Add any other context about the problem here. diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md new file mode 100644 index 0000000..1b561e5 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.md @@ -0,0 +1,20 @@ +--- +name: Feature request +about: Suggest an idea for this project +title: "[FEATURE]" +labels: '' +assignees: lowitea + +--- + +**Is your feature request related to a problem? Please describe.** +A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] + +**Describe the solution you'd like** +A clear and concise description of what you want to happen. + +**Describe alternatives you've considered** +A clear and concise description of any alternative solutions or features you've considered. + +**Additional context** +Add any other context or screenshots about the feature request here. From 7c9f7f8d50dc55dde007d2469b839633369ef27d Mon Sep 17 00:00:00 2001 From: lowit Date: Sun, 23 May 2021 03:55:25 +0300 Subject: [PATCH 7/8] release/1.2.0: updates changelog --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fae38bc..6ada77c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # Version history We follow [Semantic Versions](https://semver.org/). +## 1.2.0 - The parrot's name is now Kesha! + ## 1.1.0 - Disable logs by default ### Important changes From 299c963b773fa14d8223e6265c07413b04208cf7 Mon Sep 17 00:00:00 2001 From: lowit Date: Sun, 23 May 2021 03:55:42 +0300 Subject: [PATCH 8/8] release/1.2.0: bump version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index df81c25..7dd5e1d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "kesha" -version = "1.1.0" +version = "1.2.0" description = "Service for testing http requests and webhooks." authors = ["Evgeniy "] maintainers = ["Evgeniy Mitin "]