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

feat: secure forms with a captcha according to the ICM server settings #200

Merged
merged 4 commits into from
May 25, 2020

Conversation

SGrueber
Copy link
Collaborator

@SGrueber SGrueber commented Apr 20, 2020

PR Type

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build-related changes
[ ] CI-related changes
[ ] Documentation content changes
[ ] Application / infrastructure changes
[ ] Other:

What Is the Current Behavior?

In dependence of the PWA environment settings some forms (registration, forgot password, contact us) are secured with a captcha (V2 or V3)
If in the ICM server configuration there is a different captcha service activated than in the environment properties of the PWA requests might finish with errors.

Issue Number: Closes #196

What Is the New Behavior?

The ICM captcha configuration determines whether and which captcha component is used to secure the forms. The captcha settings in the environment.properties are no longer used.

Does this PR Introduce a Breaking Change?

[x] Yes
[ ] No

Remove captcha settings from environment.properties.

Other Information

@SGrueber SGrueber requested a review from dhhyi April 20, 2020 08:08
@SGrueber SGrueber added the feature New feature or request label Apr 20, 2020
@SGrueber SGrueber added this to the 0.20 milestone Apr 20, 2020
@SGrueber SGrueber force-pushed the feature/captcha_server_configuration branch 2 times, most recently from 81b03b1 to d4ea9a5 Compare April 20, 2020 10:36
@dhhyi dhhyi force-pushed the feature/captcha_server_configuration branch 6 times, most recently from 115719e to 5b3c641 Compare April 27, 2020 10:27
@dhhyi dhhyi force-pushed the feature/captcha_server_configuration branch 3 times, most recently from a2d7886 to a966eb1 Compare May 18, 2020 16:54
dhhyi added a commit that referenced this pull request May 18, 2020
…service (#200)

- introduces lazy components for captcha
- use temporary feature toggle 'noCaptcha' to disable captchas in PWA (server API bug)

BREAKING CHANGE: feature toggles captchaV2 and captchaV3 are obsolete
@dhhyi dhhyi force-pushed the feature/captcha_server_configuration branch from a966eb1 to 8bfc9d3 Compare May 18, 2020 17:03
dhhyi added a commit that referenced this pull request May 18, 2020
dhhyi added a commit that referenced this pull request May 18, 2020
dhhyi added a commit that referenced this pull request May 18, 2020
@dhhyi dhhyi force-pushed the feature/captcha_server_configuration branch from a893be6 to 7aa2a93 Compare May 18, 2020 17:32
dhhyi added a commit that referenced this pull request May 18, 2020
@dhhyi dhhyi force-pushed the feature/captcha_server_configuration branch from 7aa2a93 to 5181417 Compare May 18, 2020 18:09
dhhyi added a commit that referenced this pull request May 18, 2020
@SGrueber SGrueber removed their assignment May 21, 2020
shauke
shauke previously approved these changes May 22, 2020
dhhyi added a commit that referenced this pull request May 24, 2020
…service (#200)

- introduces lazy components for captcha

BREAKING CHANGE:
feature toggles captchaV2 and captchaV3 are obsolete
component ish-captcha is replaced by ish-lazy-captcha with mandatory topic input
dhhyi added a commit that referenced this pull request May 24, 2020
@dhhyi dhhyi force-pushed the feature/captcha_server_configuration branch from 50c291b to 799ba7b Compare May 24, 2020 07:36
dhhyi added a commit that referenced this pull request May 24, 2020
…service (#200)

- introduces lazy components for captcha

BREAKING CHANGE:
feature toggles captchaV2 and captchaV3 are obsolete
component ish-captcha is replaced by ish-lazy-captcha with mandatory topic input
@dhhyi dhhyi force-pushed the feature/captcha_server_configuration branch from 612a876 to 1e8acd1 Compare May 24, 2020 08:55
dhhyi added a commit that referenced this pull request May 24, 2020
SGrueber and others added 4 commits May 24, 2020 14:50
…service (#200)

- introduces lazy components for captcha

BREAKING CHANGE:
feature toggles captchaV2 and captchaV3 are obsolete
component ish-captcha is replaced by ish-lazy-captcha with mandatory topic input
@dhhyi dhhyi force-pushed the feature/captcha_server_configuration branch from 0d1a2ab to 127e4af Compare May 24, 2020 12:51
@dhhyi dhhyi requested review from shauke and dhhyi May 24, 2020 13:40
@SGrueber SGrueber merged commit 447317b into develop May 25, 2020
@SGrueber SGrueber deleted the feature/captcha_server_configuration branch May 25, 2020 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

display the captcha component according to the activated captcha ICM service - ISREST-851
3 participants