Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed recaptcha client dependency and registration HTML templates #720

Merged
merged 1 commit into from
May 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions dependencies/pip/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
# via -r dependencies/pip/requirements.in
-e git+https://github.com/dimagi/python-digest@5c94bb74516b977b60180ee832765c0695ff2b56#egg=python_digest
# via -r dependencies/pip/requirements.in
-e git+https://github.com/dresiu/recaptcha-client-1.0.6-py3@48078f8131e2f3c2054d2099ef48cfe9a5745d0c#egg=recaptcha-client
# via -r dependencies/pip/requirements.in
-e git+https://github.com/kobotoolbox/ssrf-protect@755efe16694273ce66060a51e04f973dc034ca4e#egg=ssrf_protect
# via -r dependencies/pip/requirements.in
amqp==2.6.0
Expand Down
2 changes: 0 additions & 2 deletions dependencies/pip/prod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
# via -r dependencies/pip/requirements.in
-e git+https://github.com/dimagi/python-digest@5c94bb74516b977b60180ee832765c0695ff2b56#egg=python_digest
# via -r dependencies/pip/requirements.in
-e git+https://github.com/dresiu/recaptcha-client-1.0.6-py3@48078f8131e2f3c2054d2099ef48cfe9a5745d0c#egg=recaptcha-client
# via -r dependencies/pip/requirements.in
-e git+https://github.com/kobotoolbox/ssrf-protect@755efe16694273ce66060a51e04f973dc034ca4e#egg=ssrf_protect
# via -r dependencies/pip/requirements.in
amqp==2.6.0
Expand Down
3 changes: 0 additions & 3 deletions dependencies/pip/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
# ToDo Remove when `kobokitten-remove-ui-CUD-actions-unicode is merged.
git+https://github.com/kobotoolbox/formpack.git@52f77e3519fd1079ce3451f9a5c7c27002e9f3f0#egg=formpack

# captcha
-e git+https://github.com/dresiu/recaptcha-client-1.0.6-py3@48078f8131e2f3c2054d2099ef48cfe9a5745d0c#egg=recaptcha-client

# spss
https://bitbucket.org/fomcl/savreaderwriter/downloads/savReaderWriter-3.3.0.zip#egg=savreaderwriter

Expand Down
2 changes: 0 additions & 2 deletions dependencies/pip/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
# via -r dependencies/pip/requirements.in
-e git+https://github.com/dimagi/python-digest@5c94bb74516b977b60180ee832765c0695ff2b56#egg=python_digest
# via -r dependencies/pip/requirements.in
-e git+https://github.com/dresiu/recaptcha-client-1.0.6-py3@48078f8131e2f3c2054d2099ef48cfe9a5745d0c#egg=recaptcha-client
# via -r dependencies/pip/requirements.in
-e git+https://github.com/kobotoolbox/ssrf-protect@755efe16694273ce66060a51e04f973dc034ca4e#egg=ssrf_protect
# via -r dependencies/pip/requirements.in
amqp==2.6.0
Expand Down
21 changes: 0 additions & 21 deletions onadata/libs/templates/registration/activate.html

This file was deleted.

21 changes: 0 additions & 21 deletions onadata/libs/templates/registration/activation_complete.html

This file was deleted.

9 changes: 0 additions & 9 deletions onadata/libs/templates/registration/activation_email.txt

This file was deleted.

This file was deleted.

33 changes: 0 additions & 33 deletions onadata/libs/templates/registration/login.html

This file was deleted.

8 changes: 0 additions & 8 deletions onadata/libs/templates/registration/password_change_done.html

This file was deleted.

22 changes: 0 additions & 22 deletions onadata/libs/templates/registration/password_change_form.html

This file was deleted.

12 changes: 0 additions & 12 deletions onadata/libs/templates/registration/password_reset_complete.html

This file was deleted.

21 changes: 0 additions & 21 deletions onadata/libs/templates/registration/password_reset_confirm.html

This file was deleted.

12 changes: 0 additions & 12 deletions onadata/libs/templates/registration/password_reset_done.html

This file was deleted.

16 changes: 0 additions & 16 deletions onadata/libs/templates/registration/password_reset_email.html

This file was deleted.

28 changes: 0 additions & 28 deletions onadata/libs/templates/registration/password_reset_form.html

This file was deleted.

3 changes: 0 additions & 3 deletions onadata/libs/templates/registration/registration_closed.html

This file was deleted.

18 changes: 0 additions & 18 deletions onadata/libs/templates/registration/registration_complete.html

This file was deleted.

43 changes: 0 additions & 43 deletions onadata/libs/templates/registration/registration_form.html

This file was deleted.

3 changes: 0 additions & 3 deletions onadata/libs/templates/registration/test_template_name.html

This file was deleted.

7 changes: 0 additions & 7 deletions onadata/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,13 +504,6 @@ def skip_suspicious_operations(record):
# default content length for submission requests
DEFAULT_CONTENT_LENGTH = 10000000

# TODO pass these variables from `kobo-docker` envfiles
# re-captcha in registrations
REGISTRATION_REQUIRE_CAPTCHA = False
RECAPTCHA_USE_SSL = False
RECAPTCHA_PRIVATE_KEY = ''
RECAPTCHA_PUBLIC_KEY = '6Ld52OMSAAAAAJJ4W-0TFDTgbznnWWFf0XuOSaB6'

# Use 1 or 0 for multiple selects instead of True or False for csv, xls exports
BINARY_SELECT_MULTIPLES = False

Expand Down