grooveshop-django-api 0.6.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- grooveshop_django_api-0.6.0/.coveragerc +36 -0
- grooveshop_django_api-0.6.0/.editorconfig +32 -0
- grooveshop_django_api-0.6.0/.env.example +65 -0
- grooveshop_django_api-0.6.0/.flake8 +22 -0
- grooveshop_django_api-0.6.0/.git/FETCH_HEAD +11 -0
- grooveshop_django_api-0.6.0/.git/HEAD +1 -0
- grooveshop_django_api-0.6.0/.git/config +15 -0
- grooveshop_django_api-0.6.0/.git/description +1 -0
- grooveshop_django_api-0.6.0/.git/hooks/applypatch-msg.sample +15 -0
- grooveshop_django_api-0.6.0/.git/hooks/commit-msg.sample +24 -0
- grooveshop_django_api-0.6.0/.git/hooks/fsmonitor-watchman.sample +174 -0
- grooveshop_django_api-0.6.0/.git/hooks/post-update.sample +8 -0
- grooveshop_django_api-0.6.0/.git/hooks/pre-applypatch.sample +14 -0
- grooveshop_django_api-0.6.0/.git/hooks/pre-commit.sample +49 -0
- grooveshop_django_api-0.6.0/.git/hooks/pre-merge-commit.sample +13 -0
- grooveshop_django_api-0.6.0/.git/hooks/pre-push.sample +53 -0
- grooveshop_django_api-0.6.0/.git/hooks/pre-rebase.sample +169 -0
- grooveshop_django_api-0.6.0/.git/hooks/pre-receive.sample +24 -0
- grooveshop_django_api-0.6.0/.git/hooks/prepare-commit-msg.sample +42 -0
- grooveshop_django_api-0.6.0/.git/hooks/push-to-checkout.sample +78 -0
- grooveshop_django_api-0.6.0/.git/hooks/sendemail-validate.sample +77 -0
- grooveshop_django_api-0.6.0/.git/hooks/update.sample +128 -0
- grooveshop_django_api-0.6.0/.git/index +0 -0
- grooveshop_django_api-0.6.0/.git/info/exclude +6 -0
- grooveshop_django_api-0.6.0/.git/logs/HEAD +1 -0
- grooveshop_django_api-0.6.0/.git/logs/refs/heads/main +1 -0
- grooveshop_django_api-0.6.0/.git/logs/refs/remotes/origin/main +1 -0
- grooveshop_django_api-0.6.0/.git/objects/pack/pack-2c626bf25911a2d6c0a88e3ad9b87d1f3d5a910d.idx +0 -0
- grooveshop_django_api-0.6.0/.git/objects/pack/pack-2c626bf25911a2d6c0a88e3ad9b87d1f3d5a910d.pack +0 -0
- grooveshop_django_api-0.6.0/.git/objects/pack/pack-2c626bf25911a2d6c0a88e3ad9b87d1f3d5a910d.rev +0 -0
- grooveshop_django_api-0.6.0/.git/refs/heads/main +1 -0
- grooveshop_django_api-0.6.0/.git/refs/remotes/origin/main +1 -0
- grooveshop_django_api-0.6.0/.git/refs/tags/v0.1.0 +1 -0
- grooveshop_django_api-0.6.0/.git/refs/tags/v0.1.1 +1 -0
- grooveshop_django_api-0.6.0/.git/refs/tags/v0.2.0 +1 -0
- grooveshop_django_api-0.6.0/.git/refs/tags/v0.2.1 +1 -0
- grooveshop_django_api-0.6.0/.git/refs/tags/v0.2.2 +1 -0
- grooveshop_django_api-0.6.0/.git/refs/tags/v0.3.0 +1 -0
- grooveshop_django_api-0.6.0/.git/refs/tags/v0.3.1 +1 -0
- grooveshop_django_api-0.6.0/.git/refs/tags/v0.3.2 +1 -0
- grooveshop_django_api-0.6.0/.git/refs/tags/v0.4.0 +1 -0
- grooveshop_django_api-0.6.0/.git/refs/tags/v0.5.0 +1 -0
- grooveshop_django_api-0.6.0/.github/workflows/ci.yml +147 -0
- grooveshop_django_api-0.6.0/.github/workflows/docker.yml +54 -0
- grooveshop_django_api-0.6.0/.gitignore +138 -0
- grooveshop_django_api-0.6.0/.idea/dataSources.xml +14 -0
- grooveshop_django_api-0.6.0/.idea/grooveshop-django-api.iml +18 -0
- grooveshop_django_api-0.6.0/.idea/inspectionProfiles/Project_Default.xml +6 -0
- grooveshop_django_api-0.6.0/.idea/inspectionProfiles/profiles_settings.xml +7 -0
- grooveshop_django_api-0.6.0/.idea/misc.xml +7 -0
- grooveshop_django_api-0.6.0/.idea/vcs.xml +6 -0
- grooveshop_django_api-0.6.0/.pre-commit-config.yaml +39 -0
- grooveshop_django_api-0.6.0/CHANGELOG.md +34 -0
- grooveshop_django_api-0.6.0/Dockerfile +46 -0
- grooveshop_django_api-0.6.0/LICENSE.md +21 -0
- grooveshop_django_api-0.6.0/PKG-INFO +191 -0
- grooveshop_django_api-0.6.0/README.md +124 -0
- grooveshop_django_api-0.6.0/SECURITY.md +21 -0
- grooveshop_django_api-0.6.0/__init__.py +0 -0
- grooveshop_django_api-0.6.0/account/account_inactive.html +11 -0
- grooveshop_django_api-0.6.0/account/base.html +247 -0
- grooveshop_django_api-0.6.0/account/email/account_already_exists_message.txt +13 -0
- grooveshop_django_api-0.6.0/account/email/account_already_exists_subject.txt +4 -0
- grooveshop_django_api-0.6.0/account/email/base_message.txt +7 -0
- grooveshop_django_api-0.6.0/account/email/email_confirmation_message.txt +7 -0
- grooveshop_django_api-0.6.0/account/email/email_confirmation_signup_message.txt +1 -0
- grooveshop_django_api-0.6.0/account/email/email_confirmation_signup_subject.txt +1 -0
- grooveshop_django_api-0.6.0/account/email/email_confirmation_subject.txt +4 -0
- grooveshop_django_api-0.6.0/account/email/password_reset_key_message.txt +9 -0
- grooveshop_django_api-0.6.0/account/email/password_reset_key_subject.txt +4 -0
- grooveshop_django_api-0.6.0/account/email/unknown_account_message.txt +12 -0
- grooveshop_django_api-0.6.0/account/email/unknown_account_subject.txt +4 -0
- grooveshop_django_api-0.6.0/account/email.html +100 -0
- grooveshop_django_api-0.6.0/account/email_confirm.html +30 -0
- grooveshop_django_api-0.6.0/account/login.html +99 -0
- grooveshop_django_api-0.6.0/account/logout.html +25 -0
- grooveshop_django_api-0.6.0/account/messages/cannot_delete_primary_email.txt +2 -0
- grooveshop_django_api-0.6.0/account/messages/email_confirmation_sent.txt +2 -0
- grooveshop_django_api-0.6.0/account/messages/email_confirmed.txt +2 -0
- grooveshop_django_api-0.6.0/account/messages/email_deleted.txt +2 -0
- grooveshop_django_api-0.6.0/account/messages/logged_in.txt +4 -0
- grooveshop_django_api-0.6.0/account/messages/logged_out.txt +2 -0
- grooveshop_django_api-0.6.0/account/messages/password_changed.txt +2 -0
- grooveshop_django_api-0.6.0/account/messages/password_set.txt +2 -0
- grooveshop_django_api-0.6.0/account/messages/primary_email_set.txt +2 -0
- grooveshop_django_api-0.6.0/account/messages/unverified_primary_email.txt +2 -0
- grooveshop_django_api-0.6.0/account/password_change.html +47 -0
- grooveshop_django_api-0.6.0/account/password_reset.html +39 -0
- grooveshop_django_api-0.6.0/account/password_reset_done.html +22 -0
- grooveshop_django_api-0.6.0/account/password_reset_from_key.html +44 -0
- grooveshop_django_api-0.6.0/account/password_reset_from_key_done.html +17 -0
- grooveshop_django_api-0.6.0/account/password_set.html +21 -0
- grooveshop_django_api-0.6.0/account/signup.html +63 -0
- grooveshop_django_api-0.6.0/account/signup_closed.html +17 -0
- grooveshop_django_api-0.6.0/account/snippets/already_logged_in.html +5 -0
- grooveshop_django_api-0.6.0/account/verification_sent.html +17 -0
- grooveshop_django_api-0.6.0/account/verified_email_required.html +27 -0
- grooveshop_django_api-0.6.0/allauth_2fa/authenticate.html +37 -0
- grooveshop_django_api-0.6.0/allauth_2fa/backup_tokens.html +50 -0
- grooveshop_django_api-0.6.0/allauth_2fa/remove.html +39 -0
- grooveshop_django_api-0.6.0/allauth_2fa/setup.html +62 -0
- grooveshop_django_api-0.6.0/app/__init__.py +9 -0
- grooveshop_django_api-0.6.0/app/asgi.py +7 -0
- grooveshop_django_api-0.6.0/app/celery.py +39 -0
- grooveshop_django_api-0.6.0/app/settings.py +549 -0
- grooveshop_django_api-0.6.0/app/urls.py +98 -0
- grooveshop_django_api-0.6.0/app/wsgi.py +7 -0
- grooveshop_django_api-0.6.0/blog/__init__.py +0 -0
- grooveshop_django_api-0.6.0/blog/admin.py +82 -0
- grooveshop_django_api-0.6.0/blog/apps.py +5 -0
- grooveshop_django_api-0.6.0/blog/enum/__init__.py +0 -0
- grooveshop_django_api-0.6.0/blog/enum/blog_post_enum.py +13 -0
- grooveshop_django_api-0.6.0/blog/migrations/0001_initial.py +441 -0
- grooveshop_django_api-0.6.0/blog/migrations/0002_initial.py +125 -0
- grooveshop_django_api-0.6.0/blog/migrations/__init__.py +0 -0
- grooveshop_django_api-0.6.0/blog/models/__init__.py +0 -0
- grooveshop_django_api-0.6.0/blog/models/author.py +27 -0
- grooveshop_django_api-0.6.0/blog/models/category.py +55 -0
- grooveshop_django_api-0.6.0/blog/models/comment.py +46 -0
- grooveshop_django_api-0.6.0/blog/models/post.py +89 -0
- grooveshop_django_api-0.6.0/blog/models/tag.py +34 -0
- grooveshop_django_api-0.6.0/blog/paginators/__init__.py +0 -0
- grooveshop_django_api-0.6.0/blog/paginators/author.py +8 -0
- grooveshop_django_api-0.6.0/blog/paginators/category.py +8 -0
- grooveshop_django_api-0.6.0/blog/paginators/comment.py +8 -0
- grooveshop_django_api-0.6.0/blog/paginators/post.py +8 -0
- grooveshop_django_api-0.6.0/blog/paginators/tag.py +8 -0
- grooveshop_django_api-0.6.0/blog/serializers/__init__.py +0 -0
- grooveshop_django_api-0.6.0/blog/serializers/author.py +41 -0
- grooveshop_django_api-0.6.0/blog/serializers/category.py +29 -0
- grooveshop_django_api-0.6.0/blog/serializers/comment.py +50 -0
- grooveshop_django_api-0.6.0/blog/serializers/post.py +66 -0
- grooveshop_django_api-0.6.0/blog/serializers/tag.py +29 -0
- grooveshop_django_api-0.6.0/blog/urls.py +86 -0
- grooveshop_django_api-0.6.0/blog/views/__init__.py +0 -0
- grooveshop_django_api-0.6.0/blog/views/author.py +67 -0
- grooveshop_django_api-0.6.0/blog/views/category.py +66 -0
- grooveshop_django_api-0.6.0/blog/views/comment.py +67 -0
- grooveshop_django_api-0.6.0/blog/views/post.py +106 -0
- grooveshop_django_api-0.6.0/blog/views/tag.py +66 -0
- grooveshop_django_api-0.6.0/cart/__init__.py +0 -0
- grooveshop_django_api-0.6.0/cart/admin.py +20 -0
- grooveshop_django_api-0.6.0/cart/apps.py +5 -0
- grooveshop_django_api-0.6.0/cart/migrations/0001_initial.py +76 -0
- grooveshop_django_api-0.6.0/cart/migrations/0002_initial.py +25 -0
- grooveshop_django_api-0.6.0/cart/migrations/0003_initial.py +37 -0
- grooveshop_django_api-0.6.0/cart/migrations/__init__.py +0 -0
- grooveshop_django_api-0.6.0/cart/models.py +93 -0
- grooveshop_django_api-0.6.0/cart/paginators.py +15 -0
- grooveshop_django_api-0.6.0/cart/serializers.py +82 -0
- grooveshop_django_api-0.6.0/cart/service.py +94 -0
- grooveshop_django_api-0.6.0/cart/urls.py +36 -0
- grooveshop_django_api-0.6.0/cart/views.py +118 -0
- grooveshop_django_api-0.6.0/core/__init__.py +0 -0
- grooveshop_django_api-0.6.0/core/admin.py +79 -0
- grooveshop_django_api-0.6.0/core/api/__init__.py +0 -0
- grooveshop_django_api-0.6.0/core/api/schema.py +18 -0
- grooveshop_django_api-0.6.0/core/api/serializers.py +32 -0
- grooveshop_django_api-0.6.0/core/api/views.py +8 -0
- grooveshop_django_api-0.6.0/core/apps.py +5 -0
- grooveshop_django_api-0.6.0/core/caches.py +32 -0
- grooveshop_django_api-0.6.0/core/context_processors.py +5 -0
- grooveshop_django_api-0.6.0/core/db/__init__.py +0 -0
- grooveshop_django_api-0.6.0/core/db/fields.py +22 -0
- grooveshop_django_api-0.6.0/core/decorators/__init__.py +0 -0
- grooveshop_django_api-0.6.0/core/decorators/timing.py +40 -0
- grooveshop_django_api-0.6.0/core/enum/__init__.py +0 -0
- grooveshop_django_api-0.6.0/core/enum/core_enum.py +12 -0
- grooveshop_django_api-0.6.0/core/filters/__init__.py +0 -0
- grooveshop_django_api-0.6.0/core/filters/custom_filters.py +12 -0
- grooveshop_django_api-0.6.0/core/management/__init__.py +0 -0
- grooveshop_django_api-0.6.0/core/management/commands/__init__.py +0 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_all.py +63 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_blog_author.py +84 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_blog_category.py +70 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_blog_comment.py +82 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_blog_post.py +110 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_blog_tag.py +58 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_country.py +132 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_order.py +135 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_pay_way.py +74 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_product.py +92 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_product_category.py +66 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_product_favourite.py +66 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_product_image.py +72 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_product_review.py +86 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_region.py +76 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_slider.py +122 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_tip.py +69 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_user_account.py +89 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_user_address.py +98 -0
- grooveshop_django_api-0.6.0/core/management/commands/populate_vat.py +48 -0
- grooveshop_django_api-0.6.0/core/management/commands/wait_for_db.py +24 -0
- grooveshop_django_api-0.6.0/core/migrations/__init__.py +0 -0
- grooveshop_django_api-0.6.0/core/models.py +86 -0
- grooveshop_django_api-0.6.0/core/pagination/__init__.py +0 -0
- grooveshop_django_api-0.6.0/core/pagination/count.py +20 -0
- grooveshop_django_api-0.6.0/core/pagination/cursor.py +51 -0
- grooveshop_django_api-0.6.0/core/pagination/limit_offset.py +22 -0
- grooveshop_django_api-0.6.0/core/tasks.py +26 -0
- grooveshop_django_api-0.6.0/core/templatetags/__init__.py +0 -0
- grooveshop_django_api-0.6.0/core/templatetags/form_filters.py +24 -0
- grooveshop_django_api-0.6.0/core/utils/__init__.py +0 -0
- grooveshop_django_api-0.6.0/core/utils/editorjs.py +78 -0
- grooveshop_django_api-0.6.0/core/utils/password.py +26 -0
- grooveshop_django_api-0.6.0/country/__init__.py +0 -0
- grooveshop_django_api-0.6.0/country/admin.py +11 -0
- grooveshop_django_api-0.6.0/country/apps.py +5 -0
- grooveshop_django_api-0.6.0/country/migrations/0001_initial.py +132 -0
- grooveshop_django_api-0.6.0/country/migrations/__init__.py +0 -0
- grooveshop_django_api-0.6.0/country/models.py +46 -0
- grooveshop_django_api-0.6.0/country/paginators.py +8 -0
- grooveshop_django_api-0.6.0/country/serializers.py +29 -0
- grooveshop_django_api-0.6.0/country/urls.py +24 -0
- grooveshop_django_api-0.6.0/country/views.py +77 -0
- grooveshop_django_api-0.6.0/files/favicon/512x512.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/android-icon-144x144.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/android-icon-192x192.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/android-icon-36x36.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/android-icon-420x420.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/android-icon-48x48.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/android-icon-512x512.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/android-icon-72x72.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/android-icon-96x96.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/apple-icon-114x114.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/apple-icon-120x120.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/apple-icon-144x144.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/apple-icon-152x152.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/apple-icon-180x180.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/apple-icon-57x57.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/apple-icon-60x60.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/apple-icon-72x72.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/apple-icon-76x76.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/apple-icon-precomposed.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/apple-icon.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/browserconfig.xml +2 -0
- grooveshop_django_api-0.6.0/files/favicon/favicon-16x16.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/favicon-32x32.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/favicon-96x96.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/favicon.ico +0 -0
- grooveshop_django_api-0.6.0/files/favicon/manifest.json +55 -0
- grooveshop_django_api-0.6.0/files/favicon/ms-icon-144x144.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/ms-icon-150x150.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/ms-icon-310x310.png +0 -0
- grooveshop_django_api-0.6.0/files/favicon/ms-icon-70x70.png +0 -0
- grooveshop_django_api-0.6.0/files/images/default.png +0 -0
- grooveshop_django_api-0.6.0/files/images/no_photo.jpg +0 -0
- grooveshop_django_api-0.6.0/files/images/powered_by_stripe.png +0 -0
- grooveshop_django_api-0.6.0/files/images/powered_by_stripe.svg +1 -0
- grooveshop_django_api-0.6.0/files/images/websiteLogo.jpg +0 -0
- grooveshop_django_api-0.6.0/files/images/websiteLogo.png +0 -0
- grooveshop_django_api-0.6.0/files/images/websiteLogo_circle.png +0 -0
- grooveshop_django_api-0.6.0/grooveShop.iml +70 -0
- grooveshop_django_api-0.6.0/helpers/__init__.py +0 -0
- grooveshop_django_api-0.6.0/helpers/image_resize.py +27 -0
- grooveshop_django_api-0.6.0/helpers/seed.py +19 -0
- grooveshop_django_api-0.6.0/locale/de/LC_MESSAGES/django.mo +0 -0
- grooveshop_django_api-0.6.0/locale/de/LC_MESSAGES/django.po +2815 -0
- grooveshop_django_api-0.6.0/locale/el/LC_MESSAGES/django.mo +0 -0
- grooveshop_django_api-0.6.0/locale/el/LC_MESSAGES/django.po +2820 -0
- grooveshop_django_api-0.6.0/locale/en/LC_MESSAGES/django.mo +0 -0
- grooveshop_django_api-0.6.0/locale/en/LC_MESSAGES/django.po +2814 -0
- grooveshop_django_api-0.6.0/logs/celery.log +0 -0
- grooveshop_django_api-0.6.0/logs/django.log +264 -0
- grooveshop_django_api-0.6.0/manage.py +22 -0
- grooveshop_django_api-0.6.0/openid/base.html +1 -0
- grooveshop_django_api-0.6.0/openid/login.html +18 -0
- grooveshop_django_api-0.6.0/order/__init__.py +0 -0
- grooveshop_django_api-0.6.0/order/admin.py +48 -0
- grooveshop_django_api-0.6.0/order/apps.py +5 -0
- grooveshop_django_api-0.6.0/order/enum/__init__.py +0 -0
- grooveshop_django_api-0.6.0/order/enum/pay_way_enum.py +14 -0
- grooveshop_django_api-0.6.0/order/enum/status_enum.py +14 -0
- grooveshop_django_api-0.6.0/order/migrations/0001_initial.py +185 -0
- grooveshop_django_api-0.6.0/order/migrations/0002_initial.py +56 -0
- grooveshop_django_api-0.6.0/order/migrations/0003_initial.py +27 -0
- grooveshop_django_api-0.6.0/order/migrations/__init__.py +0 -0
- grooveshop_django_api-0.6.0/order/models.py +127 -0
- grooveshop_django_api-0.6.0/order/paginators.py +8 -0
- grooveshop_django_api-0.6.0/order/serializers.py +87 -0
- grooveshop_django_api-0.6.0/order/urls.py +21 -0
- grooveshop_django_api-0.6.0/order/views.py +133 -0
- grooveshop_django_api-0.6.0/pay_way/__init__.py +0 -0
- grooveshop_django_api-0.6.0/pay_way/admin.py +11 -0
- grooveshop_django_api-0.6.0/pay_way/apps.py +5 -0
- grooveshop_django_api-0.6.0/pay_way/migrations/0001_initial.py +127 -0
- grooveshop_django_api-0.6.0/pay_way/migrations/__init__.py +0 -0
- grooveshop_django_api-0.6.0/pay_way/models.py +66 -0
- grooveshop_django_api-0.6.0/pay_way/paginators.py +8 -0
- grooveshop_django_api-0.6.0/pay_way/serializers.py +32 -0
- grooveshop_django_api-0.6.0/pay_way/urls.py +21 -0
- grooveshop_django_api-0.6.0/pay_way/views.py +71 -0
- grooveshop_django_api-0.6.0/poetry.lock +3187 -0
- grooveshop_django_api-0.6.0/product/__init__.py +0 -0
- grooveshop_django_api-0.6.0/product/admin.py +186 -0
- grooveshop_django_api-0.6.0/product/apps.py +5 -0
- grooveshop_django_api-0.6.0/product/enum/__init__.py +0 -0
- grooveshop_django_api-0.6.0/product/enum/review.py +31 -0
- grooveshop_django_api-0.6.0/product/filters/__init__.py +0 -0
- grooveshop_django_api-0.6.0/product/filters/product.py +17 -0
- grooveshop_django_api-0.6.0/product/migrations/0001_initial.py +478 -0
- grooveshop_django_api-0.6.0/product/migrations/0002_initial.py +116 -0
- grooveshop_django_api-0.6.0/product/migrations/__init__.py +0 -0
- grooveshop_django_api-0.6.0/product/models/__init__.py +0 -0
- grooveshop_django_api-0.6.0/product/models/category.py +145 -0
- grooveshop_django_api-0.6.0/product/models/favourite.py +24 -0
- grooveshop_django_api-0.6.0/product/models/images.py +55 -0
- grooveshop_django_api-0.6.0/product/models/product.py +191 -0
- grooveshop_django_api-0.6.0/product/models/review.py +42 -0
- grooveshop_django_api-0.6.0/product/paginators/__init__.py +0 -0
- grooveshop_django_api-0.6.0/product/paginators/category.py +8 -0
- grooveshop_django_api-0.6.0/product/paginators/favourite.py +8 -0
- grooveshop_django_api-0.6.0/product/paginators/images.py +5 -0
- grooveshop_django_api-0.6.0/product/paginators/product.py +5 -0
- grooveshop_django_api-0.6.0/product/paginators/review.py +15 -0
- grooveshop_django_api-0.6.0/product/serializers/__init__.py +0 -0
- grooveshop_django_api-0.6.0/product/serializers/category.py +40 -0
- grooveshop_django_api-0.6.0/product/serializers/favourite.py +27 -0
- grooveshop_django_api-0.6.0/product/serializers/images.py +36 -0
- grooveshop_django_api-0.6.0/product/serializers/product.py +63 -0
- grooveshop_django_api-0.6.0/product/serializers/review.py +49 -0
- grooveshop_django_api-0.6.0/product/urls.py +102 -0
- grooveshop_django_api-0.6.0/product/views/__init__.py +0 -0
- grooveshop_django_api-0.6.0/product/views/category.py +78 -0
- grooveshop_django_api-0.6.0/product/views/favourite.py +85 -0
- grooveshop_django_api-0.6.0/product/views/images.py +68 -0
- grooveshop_django_api-0.6.0/product/views/product.py +88 -0
- grooveshop_django_api-0.6.0/product/views/review.py +115 -0
- grooveshop_django_api-0.6.0/pyproject.toml +158 -0
- grooveshop_django_api-0.6.0/region/__init__.py +0 -0
- grooveshop_django_api-0.6.0/region/admin.py +14 -0
- grooveshop_django_api-0.6.0/region/apps.py +5 -0
- grooveshop_django_api-0.6.0/region/migrations/0001_initial.py +109 -0
- grooveshop_django_api-0.6.0/region/migrations/__init__.py +0 -0
- grooveshop_django_api-0.6.0/region/models.py +32 -0
- grooveshop_django_api-0.6.0/region/paginators.py +8 -0
- grooveshop_django_api-0.6.0/region/serializers.py +41 -0
- grooveshop_django_api-0.6.0/region/urls.py +28 -0
- grooveshop_django_api-0.6.0/region/views.py +79 -0
- grooveshop_django_api-0.6.0/requirements.txt +45 -0
- grooveshop_django_api-0.6.0/schema.yml +12910 -0
- grooveshop_django_api-0.6.0/scripts/delete_initial_migrations.py +25 -0
- grooveshop_django_api-0.6.0/search/__init__.py +0 -0
- grooveshop_django_api-0.6.0/search/admin.py +0 -0
- grooveshop_django_api-0.6.0/search/apps.py +5 -0
- grooveshop_django_api-0.6.0/search/migrations/__init__.py +0 -0
- grooveshop_django_api-0.6.0/search/models.py +0 -0
- grooveshop_django_api-0.6.0/search/paginators.py +8 -0
- grooveshop_django_api-0.6.0/search/urls.py +10 -0
- grooveshop_django_api-0.6.0/search/views.py +23 -0
- grooveshop_django_api-0.6.0/seo/__init__.py +0 -0
- grooveshop_django_api-0.6.0/seo/admin.py +0 -0
- grooveshop_django_api-0.6.0/seo/apps.py +5 -0
- grooveshop_django_api-0.6.0/seo/migrations/__init__.py +0 -0
- grooveshop_django_api-0.6.0/seo/models.py +17 -0
- grooveshop_django_api-0.6.0/seo/views.py +0 -0
- grooveshop_django_api-0.6.0/session/__init__.py +0 -0
- grooveshop_django_api-0.6.0/session/admin.py +0 -0
- grooveshop_django_api-0.6.0/session/apps.py +13 -0
- grooveshop_django_api-0.6.0/session/middleware.py +97 -0
- grooveshop_django_api-0.6.0/session/migrations/__init__.py +0 -0
- grooveshop_django_api-0.6.0/session/signals.py +68 -0
- grooveshop_django_api-0.6.0/session/urls.py +12 -0
- grooveshop_django_api-0.6.0/session/views.py +76 -0
- grooveshop_django_api-0.6.0/setup.py +11 -0
- grooveshop_django_api-0.6.0/slider/__init__.py +0 -0
- grooveshop_django_api-0.6.0/slider/admin.py +40 -0
- grooveshop_django_api-0.6.0/slider/apps.py +5 -0
- grooveshop_django_api-0.6.0/slider/migrations/0001_initial.py +269 -0
- grooveshop_django_api-0.6.0/slider/migrations/__init__.py +0 -0
- grooveshop_django_api-0.6.0/slider/models.py +140 -0
- grooveshop_django_api-0.6.0/slider/paginators.py +15 -0
- grooveshop_django_api-0.6.0/slider/serializers.py +67 -0
- grooveshop_django_api-0.6.0/slider/urls.py +40 -0
- grooveshop_django_api-0.6.0/slider/views.py +123 -0
- grooveshop_django_api-0.6.0/socialaccount/authentication_error.html +17 -0
- grooveshop_django_api-0.6.0/socialaccount/base.html +1 -0
- grooveshop_django_api-0.6.0/socialaccount/connections.html +60 -0
- grooveshop_django_api-0.6.0/socialaccount/login.html +29 -0
- grooveshop_django_api-0.6.0/socialaccount/login_cancelled.html +20 -0
- grooveshop_django_api-0.6.0/socialaccount/messages/account_connected.txt +2 -0
- grooveshop_django_api-0.6.0/socialaccount/messages/account_connected_other.txt +2 -0
- grooveshop_django_api-0.6.0/socialaccount/messages/account_connected_updated.txt +1 -0
- grooveshop_django_api-0.6.0/socialaccount/messages/account_disconnected.txt +2 -0
- grooveshop_django_api-0.6.0/socialaccount/signup.html +34 -0
- grooveshop_django_api-0.6.0/socialaccount/snippets/login_extra.html +3 -0
- grooveshop_django_api-0.6.0/socialaccount/snippets/provider_list.html +24 -0
- grooveshop_django_api-0.6.0/templates/account/account_inactive.html +11 -0
- grooveshop_django_api-0.6.0/templates/account/base.html +247 -0
- grooveshop_django_api-0.6.0/templates/account/email/account_already_exists_message.txt +13 -0
- grooveshop_django_api-0.6.0/templates/account/email/account_already_exists_subject.txt +4 -0
- grooveshop_django_api-0.6.0/templates/account/email/base_message.txt +7 -0
- grooveshop_django_api-0.6.0/templates/account/email/email_confirmation_message.txt +7 -0
- grooveshop_django_api-0.6.0/templates/account/email/email_confirmation_signup_message.txt +1 -0
- grooveshop_django_api-0.6.0/templates/account/email/email_confirmation_signup_subject.txt +1 -0
- grooveshop_django_api-0.6.0/templates/account/email/email_confirmation_subject.txt +4 -0
- grooveshop_django_api-0.6.0/templates/account/email/password_reset_key_message.txt +9 -0
- grooveshop_django_api-0.6.0/templates/account/email/password_reset_key_subject.txt +4 -0
- grooveshop_django_api-0.6.0/templates/account/email/unknown_account_message.txt +12 -0
- grooveshop_django_api-0.6.0/templates/account/email/unknown_account_subject.txt +4 -0
- grooveshop_django_api-0.6.0/templates/account/email.html +100 -0
- grooveshop_django_api-0.6.0/templates/account/email_confirm.html +30 -0
- grooveshop_django_api-0.6.0/templates/account/login.html +99 -0
- grooveshop_django_api-0.6.0/templates/account/logout.html +25 -0
- grooveshop_django_api-0.6.0/templates/account/messages/cannot_delete_primary_email.txt +2 -0
- grooveshop_django_api-0.6.0/templates/account/messages/email_confirmation_sent.txt +2 -0
- grooveshop_django_api-0.6.0/templates/account/messages/email_confirmed.txt +2 -0
- grooveshop_django_api-0.6.0/templates/account/messages/email_deleted.txt +2 -0
- grooveshop_django_api-0.6.0/templates/account/messages/logged_in.txt +4 -0
- grooveshop_django_api-0.6.0/templates/account/messages/logged_out.txt +2 -0
- grooveshop_django_api-0.6.0/templates/account/messages/password_changed.txt +2 -0
- grooveshop_django_api-0.6.0/templates/account/messages/password_set.txt +2 -0
- grooveshop_django_api-0.6.0/templates/account/messages/primary_email_set.txt +2 -0
- grooveshop_django_api-0.6.0/templates/account/messages/unverified_primary_email.txt +2 -0
- grooveshop_django_api-0.6.0/templates/account/password_change.html +47 -0
- grooveshop_django_api-0.6.0/templates/account/password_reset.html +39 -0
- grooveshop_django_api-0.6.0/templates/account/password_reset_done.html +22 -0
- grooveshop_django_api-0.6.0/templates/account/password_reset_from_key.html +44 -0
- grooveshop_django_api-0.6.0/templates/account/password_reset_from_key_done.html +17 -0
- grooveshop_django_api-0.6.0/templates/account/password_set.html +21 -0
- grooveshop_django_api-0.6.0/templates/account/signup.html +63 -0
- grooveshop_django_api-0.6.0/templates/account/signup_closed.html +17 -0
- grooveshop_django_api-0.6.0/templates/account/snippets/already_logged_in.html +5 -0
- grooveshop_django_api-0.6.0/templates/account/verification_sent.html +17 -0
- grooveshop_django_api-0.6.0/templates/account/verified_email_required.html +27 -0
- grooveshop_django_api-0.6.0/templates/allauth_2fa/authenticate.html +37 -0
- grooveshop_django_api-0.6.0/templates/allauth_2fa/backup_tokens.html +50 -0
- grooveshop_django_api-0.6.0/templates/allauth_2fa/remove.html +39 -0
- grooveshop_django_api-0.6.0/templates/allauth_2fa/setup.html +62 -0
- grooveshop_django_api-0.6.0/templates/openid/base.html +1 -0
- grooveshop_django_api-0.6.0/templates/openid/login.html +18 -0
- grooveshop_django_api-0.6.0/templates/socialaccount/authentication_error.html +17 -0
- grooveshop_django_api-0.6.0/templates/socialaccount/base.html +1 -0
- grooveshop_django_api-0.6.0/templates/socialaccount/connections.html +60 -0
- grooveshop_django_api-0.6.0/templates/socialaccount/login.html +29 -0
- grooveshop_django_api-0.6.0/templates/socialaccount/login_cancelled.html +20 -0
- grooveshop_django_api-0.6.0/templates/socialaccount/messages/account_connected.txt +2 -0
- grooveshop_django_api-0.6.0/templates/socialaccount/messages/account_connected_other.txt +2 -0
- grooveshop_django_api-0.6.0/templates/socialaccount/messages/account_connected_updated.txt +1 -0
- grooveshop_django_api-0.6.0/templates/socialaccount/messages/account_disconnected.txt +2 -0
- grooveshop_django_api-0.6.0/templates/socialaccount/signup.html +34 -0
- grooveshop_django_api-0.6.0/templates/socialaccount/snippets/login_extra.html +3 -0
- grooveshop_django_api-0.6.0/templates/socialaccount/snippets/provider_list.html +24 -0
- grooveshop_django_api-0.6.0/templates/tests/test_403_csrf.html +2 -0
- grooveshop_django_api-0.6.0/tests/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/blog/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/blog/author/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/blog/author/test_model_blog_author.py +20 -0
- grooveshop_django_api-0.6.0/tests/integration/blog/author/test_view_blog_author.py +130 -0
- grooveshop_django_api-0.6.0/tests/integration/blog/category/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/blog/category/test_model_blog_category.py +56 -0
- grooveshop_django_api-0.6.0/tests/integration/blog/category/test_view_blog_category.py +157 -0
- grooveshop_django_api-0.6.0/tests/integration/blog/comment/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/blog/comment/test_model_blog_comment.py +46 -0
- grooveshop_django_api-0.6.0/tests/integration/blog/comment/test_view_blog_comment.py +190 -0
- grooveshop_django_api-0.6.0/tests/integration/blog/post/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/blog/post/test_model_blog_post.py +87 -0
- grooveshop_django_api-0.6.0/tests/integration/blog/post/test_view_blog_post.py +211 -0
- grooveshop_django_api-0.6.0/tests/integration/blog/tag/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/blog/tag/test_model_blog_tag.py +16 -0
- grooveshop_django_api-0.6.0/tests/integration/blog/tag/test_view_blog_tag.py +129 -0
- grooveshop_django_api-0.6.0/tests/integration/country/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/country/test_view_country.py +154 -0
- grooveshop_django_api-0.6.0/tests/integration/pay_way/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/pay_way/test_view_pay_way.py +146 -0
- grooveshop_django_api-0.6.0/tests/integration/product/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/product/category/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/product/category/test_view_product_category.py +147 -0
- grooveshop_django_api-0.6.0/tests/integration/product/favourite/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/product/favourite/test_view_product_favourite.py +149 -0
- grooveshop_django_api-0.6.0/tests/integration/product/product/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/product/product/test_view_product_product.py +192 -0
- grooveshop_django_api-0.6.0/tests/integration/product/review/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/product/review/test_view_product_review.py +189 -0
- grooveshop_django_api-0.6.0/tests/integration/region/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/region/test_view_region.py +158 -0
- grooveshop_django_api-0.6.0/tests/integration/slider/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/slider/test_view_slide.py +172 -0
- grooveshop_django_api-0.6.0/tests/integration/slider/test_view_slider.py +143 -0
- grooveshop_django_api-0.6.0/tests/integration/tip/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/tip/test_view_tip.py +162 -0
- grooveshop_django_api-0.6.0/tests/integration/user/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/user/test_view_user_account.py +116 -0
- grooveshop_django_api-0.6.0/tests/integration/user/test_view_user_address.py +205 -0
- grooveshop_django_api-0.6.0/tests/integration/vat/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tests/integration/vat/test_model_vat.py +14 -0
- grooveshop_django_api-0.6.0/tests/integration/vat/test_view_vat.py +107 -0
- grooveshop_django_api-0.6.0/tests/test_403_csrf.html +2 -0
- grooveshop_django_api-0.6.0/tests/unit/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tip/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tip/admin.py +11 -0
- grooveshop_django_api-0.6.0/tip/apps.py +5 -0
- grooveshop_django_api-0.6.0/tip/enum/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tip/enum/tip_enum.py +14 -0
- grooveshop_django_api-0.6.0/tip/migrations/0001_initial.py +129 -0
- grooveshop_django_api-0.6.0/tip/migrations/__init__.py +0 -0
- grooveshop_django_api-0.6.0/tip/models.py +68 -0
- grooveshop_django_api-0.6.0/tip/paginators.py +8 -0
- grooveshop_django_api-0.6.0/tip/serializers.py +28 -0
- grooveshop_django_api-0.6.0/tip/urls.py +24 -0
- grooveshop_django_api-0.6.0/tip/validators.py +19 -0
- grooveshop_django_api-0.6.0/tip/views.py +66 -0
- grooveshop_django_api-0.6.0/user/__init__.py +0 -0
- grooveshop_django_api-0.6.0/user/admin.py +31 -0
- grooveshop_django_api-0.6.0/user/apps.py +5 -0
- grooveshop_django_api-0.6.0/user/enum/__init__.py +0 -0
- grooveshop_django_api-0.6.0/user/enum/address.py +29 -0
- grooveshop_django_api-0.6.0/user/migrations/0001_initial.py +281 -0
- grooveshop_django_api-0.6.0/user/migrations/__init__.py +0 -0
- grooveshop_django_api-0.6.0/user/models/__init__.py +2 -0
- grooveshop_django_api-0.6.0/user/models/account.py +138 -0
- grooveshop_django_api-0.6.0/user/models/address.py +77 -0
- grooveshop_django_api-0.6.0/user/paginators/__init__.py +0 -0
- grooveshop_django_api-0.6.0/user/paginators/account.py +8 -0
- grooveshop_django_api-0.6.0/user/paginators/address.py +8 -0
- grooveshop_django_api-0.6.0/user/serializers/__init__.py +0 -0
- grooveshop_django_api-0.6.0/user/serializers/account.py +46 -0
- grooveshop_django_api-0.6.0/user/serializers/address.py +63 -0
- grooveshop_django_api-0.6.0/user/urls.py +50 -0
- grooveshop_django_api-0.6.0/user/views/__init__.py +0 -0
- grooveshop_django_api-0.6.0/user/views/account.py +74 -0
- grooveshop_django_api-0.6.0/user/views/address.py +114 -0
- grooveshop_django_api-0.6.0/vat/__init__.py +0 -0
- grooveshop_django_api-0.6.0/vat/admin.py +8 -0
- grooveshop_django_api-0.6.0/vat/apps.py +5 -0
- grooveshop_django_api-0.6.0/vat/migrations/0001_initial.py +43 -0
- grooveshop_django_api-0.6.0/vat/migrations/__init__.py +0 -0
- grooveshop_django_api-0.6.0/vat/models.py +22 -0
- grooveshop_django_api-0.6.0/vat/paginators.py +8 -0
- grooveshop_django_api-0.6.0/vat/serializers.py +15 -0
- grooveshop_django_api-0.6.0/vat/urls.py +24 -0
- grooveshop_django_api-0.6.0/vat/views.py +66 -0
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
[run]
|
|
2
|
+
branch = True
|
|
3
|
+
source = .
|
|
4
|
+
omit =
|
|
5
|
+
*/migrations/*
|
|
6
|
+
*/management/*
|
|
7
|
+
*/manage.py
|
|
8
|
+
*/setup.py
|
|
9
|
+
*/asgi.py
|
|
10
|
+
*/wsgi.py
|
|
11
|
+
|
|
12
|
+
[report]
|
|
13
|
+
# Regexes for lines to exclude from consideration
|
|
14
|
+
exclude_lines =
|
|
15
|
+
# Have to re-enable the standard pragma
|
|
16
|
+
pragma: no cover
|
|
17
|
+
|
|
18
|
+
# Don't complain about missing debug-only code:
|
|
19
|
+
def __repr__
|
|
20
|
+
if self\.debug
|
|
21
|
+
|
|
22
|
+
# Don't complain if tests don't hit defensive assertion code:
|
|
23
|
+
raise AssertionError
|
|
24
|
+
raise NotImplementedError
|
|
25
|
+
|
|
26
|
+
# Don't complain if non-runnable code isn't run:
|
|
27
|
+
if 0:
|
|
28
|
+
if __name__ == .__main__.:
|
|
29
|
+
|
|
30
|
+
# Don't complain about abstract methods, they aren't run:
|
|
31
|
+
@(abc\.)?abstractmethod
|
|
32
|
+
|
|
33
|
+
ignore_errors = True
|
|
34
|
+
|
|
35
|
+
[html]
|
|
36
|
+
directory = coverage_html_report
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# -*- mode: conf-unix; -*-
|
|
2
|
+
|
|
3
|
+
# EditorConfig is awesome: http://EditorConfig.org
|
|
4
|
+
|
|
5
|
+
# top-most EditorConfig file
|
|
6
|
+
root = true
|
|
7
|
+
|
|
8
|
+
# defaults
|
|
9
|
+
[*]
|
|
10
|
+
end_of_line = lf
|
|
11
|
+
insert_final_newline = false
|
|
12
|
+
|
|
13
|
+
# 2 space indentation
|
|
14
|
+
[*.{ini,rst,js,html,css}]
|
|
15
|
+
indent_style = space
|
|
16
|
+
indent_size = 2
|
|
17
|
+
trim_trailing_whitespace = true
|
|
18
|
+
insert_final_newline = true
|
|
19
|
+
max_line_length = 90
|
|
20
|
+
|
|
21
|
+
[*.py]
|
|
22
|
+
indent_style = space
|
|
23
|
+
indent_size = 4
|
|
24
|
+
trim_trailing_whitespace = true
|
|
25
|
+
insert_final_newline = true
|
|
26
|
+
max_line_length = 90
|
|
27
|
+
|
|
28
|
+
# and travis does its own thing
|
|
29
|
+
[*.yml]
|
|
30
|
+
indent_style = space
|
|
31
|
+
indent_size = 2
|
|
32
|
+
trim_trailing_whitespace = true
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
# Django
|
|
2
|
+
DEBUG=1
|
|
3
|
+
SYSTEM_ENV=dev|prod|docker
|
|
4
|
+
SITE_NAME=""
|
|
5
|
+
ALLOWED_HOSTS='[*]'
|
|
6
|
+
SECRET_KEY=devsecret
|
|
7
|
+
APPEND_SLASH=False
|
|
8
|
+
COERCE_DECIMAL_TO_STRING=False
|
|
9
|
+
APP_BASE_URL=http://localhost:8000
|
|
10
|
+
APP_MAIN_HOST_NAME=localhost
|
|
11
|
+
NUXT_BASE_URL=http://localhost:3000
|
|
12
|
+
MEDIA_STREAM_BASE_URL=http://localhost:3003
|
|
13
|
+
MEDIA_STREAM_PATH=http://localhost:3003/media_stream-image
|
|
14
|
+
DJANGO_SETTINGS_MODULE=settings
|
|
15
|
+
DJANG0_SPECTACULAR_SETTINGS_TITLE=
|
|
16
|
+
DJANG0_SPECTACULAR_SETTINGS_DESCRIPTION=
|
|
17
|
+
CORS_ORIGIN_ALLOW_ALL=True
|
|
18
|
+
|
|
19
|
+
# Postgres
|
|
20
|
+
DB_HOST=db
|
|
21
|
+
DB_NAME=devdb
|
|
22
|
+
DB_USER=devuser
|
|
23
|
+
DB_PASS=changeme
|
|
24
|
+
|
|
25
|
+
# Postgres Test
|
|
26
|
+
DB_HOST_TEST=db_replica
|
|
27
|
+
DB_NAME_TEST=devdb_replica
|
|
28
|
+
DB_TEST_MIRROR=default
|
|
29
|
+
|
|
30
|
+
# Django Mailer
|
|
31
|
+
EMAIL_BACKEND='django.core.mail.backends.console.EmailBackend' # django.core.mail.backends.smtp.EmailBackend for prod
|
|
32
|
+
EMAIL_HOST='localhost' # smtp.gmail.com for prod
|
|
33
|
+
EMAIL_PORT=25 # 587 for prod
|
|
34
|
+
EMAIL_HOST_USER=
|
|
35
|
+
EMAIL_HOST_PASSWORD=
|
|
36
|
+
EMAIL_USE_TLS=False # True for prod
|
|
37
|
+
DEFAULT_FROM_EMAIL=
|
|
38
|
+
|
|
39
|
+
# Django Timezone
|
|
40
|
+
LANGUAGE_CODE='en'
|
|
41
|
+
TIME_ZONE='Europe/Athens'
|
|
42
|
+
USE_I18N=True
|
|
43
|
+
USE_L10N=True
|
|
44
|
+
USE_TZ=True
|
|
45
|
+
|
|
46
|
+
# Postgres credentials
|
|
47
|
+
POSTGRES_DB=devdb
|
|
48
|
+
POSTGRES_USER=devuser
|
|
49
|
+
POSTGRES_PASSWORD=changeme
|
|
50
|
+
|
|
51
|
+
# PgAdmin
|
|
52
|
+
PGADMIN_DEFAULT_EMAIL=devuser@devuser.com
|
|
53
|
+
PGADMIN_DEFAULT_PASSWORD=changeme
|
|
54
|
+
PGADMIN_LISTEN_PORT=5050
|
|
55
|
+
|
|
56
|
+
# superuser details
|
|
57
|
+
DJANGO_SU_NAME=
|
|
58
|
+
DJANGO_SU_EMAIL=
|
|
59
|
+
DJANGO_SU_PASSWORD=
|
|
60
|
+
|
|
61
|
+
# Elastic Search
|
|
62
|
+
ELASTICSEARCH_DSL_HOSTS=['localhost:9200']
|
|
63
|
+
|
|
64
|
+
# DeepL
|
|
65
|
+
DEEPL_AUTH_KEY=
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
[flake8]
|
|
2
|
+
show-source = True
|
|
3
|
+
statistics = False
|
|
4
|
+
doctests = True
|
|
5
|
+
strictness = long
|
|
6
|
+
docstring-style = numpy
|
|
7
|
+
max-line-length = 140
|
|
8
|
+
extend-ignore = E203, H101, H238, H301, H306, W503
|
|
9
|
+
exclude =
|
|
10
|
+
.*/,
|
|
11
|
+
__pycache__/,
|
|
12
|
+
node_modules/,
|
|
13
|
+
*/migrations/
|
|
14
|
+
ignore = E203,H101,H238,H301,H306,W503
|
|
15
|
+
max-complexity = 31
|
|
16
|
+
|
|
17
|
+
[flake8.report]
|
|
18
|
+
exclude_lines =
|
|
19
|
+
pragma: no cover
|
|
20
|
+
raise NotImplementedError
|
|
21
|
+
return NotImplemented
|
|
22
|
+
if TYPE_CHECKING:
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
74956f8cdfe006873ca80c067fa8656b27534abe branch 'main' of https://github.com/vasilistotskas/grooveshop-django-api
|
|
2
|
+
253afefeaf401b8feed0d7026107c9c620f3bb52 tag 'v0.1.0' of https://github.com/vasilistotskas/grooveshop-django-api
|
|
3
|
+
e33c5b2c6e88cc39bce5e6496b00276e9575846f tag 'v0.1.1' of https://github.com/vasilistotskas/grooveshop-django-api
|
|
4
|
+
f6edef0df3448c3fdb94a70eb7cfd69f40c1bf94 tag 'v0.2.0' of https://github.com/vasilistotskas/grooveshop-django-api
|
|
5
|
+
211bd1c77a43ab05cd922933471f73775442d61e tag 'v0.2.1' of https://github.com/vasilistotskas/grooveshop-django-api
|
|
6
|
+
6ee256b40f7a1df827ad41d10951af0487e634b3 tag 'v0.2.2' of https://github.com/vasilistotskas/grooveshop-django-api
|
|
7
|
+
1c5a399a15674fea21987e570c2096c1b9760c67 tag 'v0.3.0' of https://github.com/vasilistotskas/grooveshop-django-api
|
|
8
|
+
3c2784a8b64298962431a5e44e5336d90f55c4bd tag 'v0.3.1' of https://github.com/vasilistotskas/grooveshop-django-api
|
|
9
|
+
fbbc33b358e45c91c77c3bb88bbb406ccb27b1a4 tag 'v0.3.2' of https://github.com/vasilistotskas/grooveshop-django-api
|
|
10
|
+
b8ceb1dbd054d08645d8f0ef3b079b5305e7514c tag 'v0.4.0' of https://github.com/vasilistotskas/grooveshop-django-api
|
|
11
|
+
7d945471ae78138712afa8f972fcd5a1104cd487 tag 'v0.5.0' of https://github.com/vasilistotskas/grooveshop-django-api
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ref: refs/heads/main
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
[core]
|
|
2
|
+
repositoryformatversion = 0
|
|
3
|
+
filemode = true
|
|
4
|
+
bare = false
|
|
5
|
+
logallrefupdates = true
|
|
6
|
+
[remote "origin"]
|
|
7
|
+
url = https://github.com/vasilistotskas/grooveshop-django-api
|
|
8
|
+
fetch = +refs/heads/*:refs/remotes/origin/*
|
|
9
|
+
[gc]
|
|
10
|
+
auto = 0
|
|
11
|
+
[http "https://github.com/"]
|
|
12
|
+
extraheader = AUTHORIZATION: basic eC1hY2Nlc3MtdG9rZW46Z2hzX1l3UFBMaEJEMmFrd0xpQ1N6ckRTRnVJSjJ0M25kUDRCNFRGQw==
|
|
13
|
+
[branch "main"]
|
|
14
|
+
remote = origin
|
|
15
|
+
merge = refs/heads/main
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Unnamed repository; edit this file 'description' to name the repository.
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
#
|
|
3
|
+
# An example hook script to check the commit log message taken by
|
|
4
|
+
# applypatch from an e-mail message.
|
|
5
|
+
#
|
|
6
|
+
# The hook should exit with non-zero status after issuing an
|
|
7
|
+
# appropriate message if it wants to stop the commit. The hook is
|
|
8
|
+
# allowed to edit the commit message file.
|
|
9
|
+
#
|
|
10
|
+
# To enable this hook, rename this file to "applypatch-msg".
|
|
11
|
+
|
|
12
|
+
. git-sh-setup
|
|
13
|
+
commitmsg="$(git rev-parse --git-path hooks/commit-msg)"
|
|
14
|
+
test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"}
|
|
15
|
+
:
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
#
|
|
3
|
+
# An example hook script to check the commit log message.
|
|
4
|
+
# Called by "git commit" with one argument, the name of the file
|
|
5
|
+
# that has the commit message. The hook should exit with non-zero
|
|
6
|
+
# status after issuing an appropriate message if it wants to stop the
|
|
7
|
+
# commit. The hook is allowed to edit the commit message file.
|
|
8
|
+
#
|
|
9
|
+
# To enable this hook, rename this file to "commit-msg".
|
|
10
|
+
|
|
11
|
+
# Uncomment the below to add a Signed-off-by line to the message.
|
|
12
|
+
# Doing this in a hook is a bad idea in general, but the prepare-commit-msg
|
|
13
|
+
# hook is more suited to it.
|
|
14
|
+
#
|
|
15
|
+
# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
|
|
16
|
+
# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"
|
|
17
|
+
|
|
18
|
+
# This example catches duplicate Signed-off-by lines.
|
|
19
|
+
|
|
20
|
+
test "" = "$(grep '^Signed-off-by: ' "$1" |
|
|
21
|
+
sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || {
|
|
22
|
+
echo >&2 Duplicate Signed-off-by lines.
|
|
23
|
+
exit 1
|
|
24
|
+
}
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
#!/usr/bin/perl
|
|
2
|
+
|
|
3
|
+
use strict;
|
|
4
|
+
use warnings;
|
|
5
|
+
use IPC::Open2;
|
|
6
|
+
|
|
7
|
+
# An example hook script to integrate Watchman
|
|
8
|
+
# (https://facebook.github.io/watchman/) with git to speed up detecting
|
|
9
|
+
# new and modified files.
|
|
10
|
+
#
|
|
11
|
+
# The hook is passed a version (currently 2) and last update token
|
|
12
|
+
# formatted as a string and outputs to stdout a new update token and
|
|
13
|
+
# all files that have been modified since the update token. Paths must
|
|
14
|
+
# be relative to the root of the working tree and separated by a single NUL.
|
|
15
|
+
#
|
|
16
|
+
# To enable this hook, rename this file to "query-watchman" and set
|
|
17
|
+
# 'git config core.fsmonitor .git/hooks/query-watchman'
|
|
18
|
+
#
|
|
19
|
+
my ($version, $last_update_token) = @ARGV;
|
|
20
|
+
|
|
21
|
+
# Uncomment for debugging
|
|
22
|
+
# print STDERR "$0 $version $last_update_token\n";
|
|
23
|
+
|
|
24
|
+
# Check the hook interface version
|
|
25
|
+
if ($version ne 2) {
|
|
26
|
+
die "Unsupported query-fsmonitor hook version '$version'.\n" .
|
|
27
|
+
"Falling back to scanning...\n";
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
my $git_work_tree = get_working_dir();
|
|
31
|
+
|
|
32
|
+
my $retry = 1;
|
|
33
|
+
|
|
34
|
+
my $json_pkg;
|
|
35
|
+
eval {
|
|
36
|
+
require JSON::XS;
|
|
37
|
+
$json_pkg = "JSON::XS";
|
|
38
|
+
1;
|
|
39
|
+
} or do {
|
|
40
|
+
require JSON::PP;
|
|
41
|
+
$json_pkg = "JSON::PP";
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
launch_watchman();
|
|
45
|
+
|
|
46
|
+
sub launch_watchman {
|
|
47
|
+
my $o = watchman_query();
|
|
48
|
+
if (is_work_tree_watched($o)) {
|
|
49
|
+
output_result($o->{clock}, @{$o->{files}});
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
sub output_result {
|
|
54
|
+
my ($clockid, @files) = @_;
|
|
55
|
+
|
|
56
|
+
# Uncomment for debugging watchman output
|
|
57
|
+
# open (my $fh, ">", ".git/watchman-output.out");
|
|
58
|
+
# binmode $fh, ":utf8";
|
|
59
|
+
# print $fh "$clockid\n@files\n";
|
|
60
|
+
# close $fh;
|
|
61
|
+
|
|
62
|
+
binmode STDOUT, ":utf8";
|
|
63
|
+
print $clockid;
|
|
64
|
+
print "\0";
|
|
65
|
+
local $, = "\0";
|
|
66
|
+
print @files;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
sub watchman_clock {
|
|
70
|
+
my $response = qx/watchman clock "$git_work_tree"/;
|
|
71
|
+
die "Failed to get clock id on '$git_work_tree'.\n" .
|
|
72
|
+
"Falling back to scanning...\n" if $? != 0;
|
|
73
|
+
|
|
74
|
+
return $json_pkg->new->utf8->decode($response);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
sub watchman_query {
|
|
78
|
+
my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty')
|
|
79
|
+
or die "open2() failed: $!\n" .
|
|
80
|
+
"Falling back to scanning...\n";
|
|
81
|
+
|
|
82
|
+
# In the query expression below we're asking for names of files that
|
|
83
|
+
# changed since $last_update_token but not from the .git folder.
|
|
84
|
+
#
|
|
85
|
+
# To accomplish this, we're using the "since" generator to use the
|
|
86
|
+
# recency index to select candidate nodes and "fields" to limit the
|
|
87
|
+
# output to file names only. Then we're using the "expression" term to
|
|
88
|
+
# further constrain the results.
|
|
89
|
+
my $last_update_line = "";
|
|
90
|
+
if (substr($last_update_token, 0, 1) eq "c") {
|
|
91
|
+
$last_update_token = "\"$last_update_token\"";
|
|
92
|
+
$last_update_line = qq[\n"since": $last_update_token,];
|
|
93
|
+
}
|
|
94
|
+
my $query = <<" END";
|
|
95
|
+
["query", "$git_work_tree", {$last_update_line
|
|
96
|
+
"fields": ["name"],
|
|
97
|
+
"expression": ["not", ["dirname", ".git"]]
|
|
98
|
+
}]
|
|
99
|
+
END
|
|
100
|
+
|
|
101
|
+
# Uncomment for debugging the watchman query
|
|
102
|
+
# open (my $fh, ">", ".git/watchman-query.json");
|
|
103
|
+
# print $fh $query;
|
|
104
|
+
# close $fh;
|
|
105
|
+
|
|
106
|
+
print CHLD_IN $query;
|
|
107
|
+
close CHLD_IN;
|
|
108
|
+
my $response = do {local $/; <CHLD_OUT>};
|
|
109
|
+
|
|
110
|
+
# Uncomment for debugging the watch response
|
|
111
|
+
# open ($fh, ">", ".git/watchman-response.json");
|
|
112
|
+
# print $fh $response;
|
|
113
|
+
# close $fh;
|
|
114
|
+
|
|
115
|
+
die "Watchman: command returned no output.\n" .
|
|
116
|
+
"Falling back to scanning...\n" if $response eq "";
|
|
117
|
+
die "Watchman: command returned invalid output: $response\n" .
|
|
118
|
+
"Falling back to scanning...\n" unless $response =~ /^\{/;
|
|
119
|
+
|
|
120
|
+
return $json_pkg->new->utf8->decode($response);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
sub is_work_tree_watched {
|
|
124
|
+
my ($output) = @_;
|
|
125
|
+
my $error = $output->{error};
|
|
126
|
+
if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) {
|
|
127
|
+
$retry--;
|
|
128
|
+
my $response = qx/watchman watch "$git_work_tree"/;
|
|
129
|
+
die "Failed to make watchman watch '$git_work_tree'.\n" .
|
|
130
|
+
"Falling back to scanning...\n" if $? != 0;
|
|
131
|
+
$output = $json_pkg->new->utf8->decode($response);
|
|
132
|
+
$error = $output->{error};
|
|
133
|
+
die "Watchman: $error.\n" .
|
|
134
|
+
"Falling back to scanning...\n" if $error;
|
|
135
|
+
|
|
136
|
+
# Uncomment for debugging watchman output
|
|
137
|
+
# open (my $fh, ">", ".git/watchman-output.out");
|
|
138
|
+
# close $fh;
|
|
139
|
+
|
|
140
|
+
# Watchman will always return all files on the first query so
|
|
141
|
+
# return the fast "everything is dirty" flag to git and do the
|
|
142
|
+
# Watchman query just to get it over with now so we won't pay
|
|
143
|
+
# the cost in git to look up each individual file.
|
|
144
|
+
my $o = watchman_clock();
|
|
145
|
+
$error = $output->{error};
|
|
146
|
+
|
|
147
|
+
die "Watchman: $error.\n" .
|
|
148
|
+
"Falling back to scanning...\n" if $error;
|
|
149
|
+
|
|
150
|
+
output_result($o->{clock}, ("/"));
|
|
151
|
+
$last_update_token = $o->{clock};
|
|
152
|
+
|
|
153
|
+
eval { launch_watchman() };
|
|
154
|
+
return 0;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
die "Watchman: $error.\n" .
|
|
158
|
+
"Falling back to scanning...\n" if $error;
|
|
159
|
+
|
|
160
|
+
return 1;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
sub get_working_dir {
|
|
164
|
+
my $working_dir;
|
|
165
|
+
if ($^O =~ 'msys' || $^O =~ 'cygwin') {
|
|
166
|
+
$working_dir = Win32::GetCwd();
|
|
167
|
+
$working_dir =~ tr/\\/\//;
|
|
168
|
+
} else {
|
|
169
|
+
require Cwd;
|
|
170
|
+
$working_dir = Cwd::cwd();
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
return $working_dir;
|
|
174
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
#
|
|
3
|
+
# An example hook script to verify what is about to be committed
|
|
4
|
+
# by applypatch from an e-mail message.
|
|
5
|
+
#
|
|
6
|
+
# The hook should exit with non-zero status after issuing an
|
|
7
|
+
# appropriate message if it wants to stop the commit.
|
|
8
|
+
#
|
|
9
|
+
# To enable this hook, rename this file to "pre-applypatch".
|
|
10
|
+
|
|
11
|
+
. git-sh-setup
|
|
12
|
+
precommit="$(git rev-parse --git-path hooks/pre-commit)"
|
|
13
|
+
test -x "$precommit" && exec "$precommit" ${1+"$@"}
|
|
14
|
+
:
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
#
|
|
3
|
+
# An example hook script to verify what is about to be committed.
|
|
4
|
+
# Called by "git commit" with no arguments. The hook should
|
|
5
|
+
# exit with non-zero status after issuing an appropriate message if
|
|
6
|
+
# it wants to stop the commit.
|
|
7
|
+
#
|
|
8
|
+
# To enable this hook, rename this file to "pre-commit".
|
|
9
|
+
|
|
10
|
+
if git rev-parse --verify HEAD >/dev/null 2>&1
|
|
11
|
+
then
|
|
12
|
+
against=HEAD
|
|
13
|
+
else
|
|
14
|
+
# Initial commit: diff against an empty tree object
|
|
15
|
+
against=$(git hash-object -t tree /dev/null)
|
|
16
|
+
fi
|
|
17
|
+
|
|
18
|
+
# If you want to allow non-ASCII filenames set this variable to true.
|
|
19
|
+
allownonascii=$(git config --type=bool hooks.allownonascii)
|
|
20
|
+
|
|
21
|
+
# Redirect output to stderr.
|
|
22
|
+
exec 1>&2
|
|
23
|
+
|
|
24
|
+
# Cross platform projects tend to avoid non-ASCII filenames; prevent
|
|
25
|
+
# them from being added to the repository. We exploit the fact that the
|
|
26
|
+
# printable range starts at the space character and ends with tilde.
|
|
27
|
+
if [ "$allownonascii" != "true" ] &&
|
|
28
|
+
# Note that the use of brackets around a tr range is ok here, (it's
|
|
29
|
+
# even required, for portability to Solaris 10's /usr/bin/tr), since
|
|
30
|
+
# the square bracket bytes happen to fall in the designated range.
|
|
31
|
+
test $(git diff --cached --name-only --diff-filter=A -z $against |
|
|
32
|
+
LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0
|
|
33
|
+
then
|
|
34
|
+
cat <<\EOF
|
|
35
|
+
Error: Attempt to add a non-ASCII file name.
|
|
36
|
+
|
|
37
|
+
This can cause problems if you want to work with people on other platforms.
|
|
38
|
+
|
|
39
|
+
To be portable it is advisable to rename the file.
|
|
40
|
+
|
|
41
|
+
If you know what you are doing you can disable this check using:
|
|
42
|
+
|
|
43
|
+
git config hooks.allownonascii true
|
|
44
|
+
EOF
|
|
45
|
+
exit 1
|
|
46
|
+
fi
|
|
47
|
+
|
|
48
|
+
# If there are whitespace errors, print the offending file names and fail.
|
|
49
|
+
exec git diff-index --check --cached $against --
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
#
|
|
3
|
+
# An example hook script to verify what is about to be committed.
|
|
4
|
+
# Called by "git merge" with no arguments. The hook should
|
|
5
|
+
# exit with non-zero status after issuing an appropriate message to
|
|
6
|
+
# stderr if it wants to stop the merge commit.
|
|
7
|
+
#
|
|
8
|
+
# To enable this hook, rename this file to "pre-merge-commit".
|
|
9
|
+
|
|
10
|
+
. git-sh-setup
|
|
11
|
+
test -x "$GIT_DIR/hooks/pre-commit" &&
|
|
12
|
+
exec "$GIT_DIR/hooks/pre-commit"
|
|
13
|
+
:
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
#!/bin/sh
|
|
2
|
+
|
|
3
|
+
# An example hook script to verify what is about to be pushed. Called by "git
|
|
4
|
+
# push" after it has checked the remote status, but before anything has been
|
|
5
|
+
# pushed. If this script exits with a non-zero status nothing will be pushed.
|
|
6
|
+
#
|
|
7
|
+
# This hook is called with the following parameters:
|
|
8
|
+
#
|
|
9
|
+
# $1 -- Name of the remote to which the push is being done
|
|
10
|
+
# $2 -- URL to which the push is being done
|
|
11
|
+
#
|
|
12
|
+
# If pushing without using a named remote those arguments will be equal.
|
|
13
|
+
#
|
|
14
|
+
# Information about the commits which are being pushed is supplied as lines to
|
|
15
|
+
# the standard input in the form:
|
|
16
|
+
#
|
|
17
|
+
# <local ref> <local oid> <remote ref> <remote oid>
|
|
18
|
+
#
|
|
19
|
+
# This sample shows how to prevent push of commits where the log message starts
|
|
20
|
+
# with "WIP" (work in progress).
|
|
21
|
+
|
|
22
|
+
remote="$1"
|
|
23
|
+
url="$2"
|
|
24
|
+
|
|
25
|
+
zero=$(git hash-object --stdin </dev/null | tr '[0-9a-f]' '0')
|
|
26
|
+
|
|
27
|
+
while read local_ref local_oid remote_ref remote_oid
|
|
28
|
+
do
|
|
29
|
+
if test "$local_oid" = "$zero"
|
|
30
|
+
then
|
|
31
|
+
# Handle delete
|
|
32
|
+
:
|
|
33
|
+
else
|
|
34
|
+
if test "$remote_oid" = "$zero"
|
|
35
|
+
then
|
|
36
|
+
# New branch, examine all commits
|
|
37
|
+
range="$local_oid"
|
|
38
|
+
else
|
|
39
|
+
# Update to existing branch, examine new commits
|
|
40
|
+
range="$remote_oid..$local_oid"
|
|
41
|
+
fi
|
|
42
|
+
|
|
43
|
+
# Check for WIP commit
|
|
44
|
+
commit=$(git rev-list -n 1 --grep '^WIP' "$range")
|
|
45
|
+
if test -n "$commit"
|
|
46
|
+
then
|
|
47
|
+
echo >&2 "Found WIP commit in $local_ref, not pushing"
|
|
48
|
+
exit 1
|
|
49
|
+
fi
|
|
50
|
+
fi
|
|
51
|
+
done
|
|
52
|
+
|
|
53
|
+
exit 0
|