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. 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 diff --git a/README.md b/README.md index b7beb2b..d5f849a 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) @@ -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. 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. diff --git a/pyproject.toml b/pyproject.toml index 57ad573..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 "] @@ -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" 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) {