Commit Graph

141 Commits

Author SHA1 Message Date
Adeel Khan
bdfd49ae3a Minor Fix;
1) Change button style.
2) Add missing text.

VAN-42
2021-02-23 17:42:23 +05:00
Zainab Amir
81f87978e6 VAN-393: sentence case missing strings (#161) 2021-02-23 13:44:54 +05:00
Adeel Khan
6cb721c6e8 Minor changes in UX.
VAN-42
2021-02-22 22:03:37 +05:00
Zainab Amir
e0e79b5cf5 VAN-393: use sentence case for text (#150) 2021-02-22 17:19:57 +05:00
Waheed Ahmed
6443ce28e7 Fix registration process. (#155)
getHttpClient doesn't seems to be working as expected, changing it
back to getAuthenticatedHttpClient.
2021-02-22 16:55:34 +05:00
Waheed Ahmed
ad9a9c4895 Forgot password endpoint require a CSRF token. (#154) 2021-02-22 15:50:55 +05:00
Adeel Khan
11888fcdc3 Fix to let tpa_hint url have ? instead of &
Now the url could also be of the form
?next=/dashboard?tpa_hint=oa2-google-oauth2
to be backward compatible with old url.

VAN-42
2021-02-22 11:32:09 +05:00
edX Transifex Bot
e37b8e5cc6 fix(i18n): update translations 2021-02-21 10:17:49 -05:00
Waheed Ahmed
d03ec8397a Fix optional fields issue. (#152) 2021-02-20 10:24:08 +05:00
Adeel Khan
6c9c5de11f Removes option call from multiple end points
This patch removes option call not needed
in certain end points via not sending
csrf token.

VAN-370
2021-02-19 19:55:06 +05:00
Zainab Amir
c55088f23f fix optional field not available (#149) 2021-02-19 18:50:00 +05:00
adeelehsan
cd36b3237f backend validations updated for registration form 2021-02-19 02:59:02 +05:00
Zainab Amir
dea1f7d335 make registration form static (#147)
- removed fetch registration call from register page
- removed unused state variables
- moved few hardcoded links to env variables

VAN-369
2021-02-18 15:36:05 +05:00
uzairr
5092c58c50 handle api failures gracefully 2021-02-18 13:12:28 +05:00
Adeel Khan
648c3f9de8 Enterprise sso login via tpa hint param.
VAN-42
2021-02-18 04:00:06 +05:00
Adeel Khan
effdf62c9e Fix login page validations
1) Removing focusout calls.
2) Adds email < 3 character length.

VAN-362
2021-02-16 23:47:08 +05:00
adeelehsan
0c7e10abcb Fixed scroll up on submit 2021-02-16 18:04:55 +05:00
Zainab Amir
611bc3b4da Remove unused placeholder prop (#145) 2021-02-16 12:53:45 +05:00
Zainab Amir
3b8869f770 Add multiple enterprise redirect (#140)
If redirect url has auth complete url in it, it means that the redirect url
is for multiple enterprise selection page and user must be redirected to that
page first

VAN-311
2021-02-16 11:42:43 +05:00
edX Transifex Bot
629ad87a37 fix(i18n): update translations 2021-02-14 10:17:42 -05:00
Adeel Khan
845b8c85fc Fix optional select fields be consistent with other select box.
Using AuthnValidationFormGroup for optional fields to enable
focusin/out behaviour for label

VAN-325
2021-02-11 02:34:30 +05:00
Adeel Khan
3987af3a96 Remove spacing between tos and optional field. 2021-02-10 22:49:58 +05:00
Zainab Amir
43b3cbd515 Fix Login Page Validations (#134)
- On form submission check for frontend validations first before submitting.
- On form submission error should be displayed above and below the field

VAN-345
2021-02-10 21:32:00 +05:00
adeelehsan
5e4a09723f registration errors fixed reported during bugbash 2021-02-10 00:40:07 +05:00
Waheed Ahmed
d707a250a1 Fix buttons needs to click twice issue. (#131)
The onBlur event's priority is higher than onClick and rerenders
the component before the click event fires.

VAN-352
2021-02-09 18:48:22 +05:00
Zainab Amir
a021336304 Hide Confirmation Alert on Form Submission (#132)
Fixed:
- If an error occurs on sign in page after password reset request,
the confirmation message is not dismissed.

VAN-347
2021-02-09 18:36:19 +05:00
Waheed Ahmed
435d8b4eaa Add underline on sign in link. (#130)
Also removed custom PX size classes and used bootstrap
classes.

VAN-359
2021-02-09 14:08:40 +05:00
Zainab Amir
a3d618735e fix bug: Error on correct password submission (#129) 2021-02-08 17:49:57 +05:00
edX Transifex Bot
eb65748123 fix(i18n): update translations 2021-02-07 10:17:27 -05:00
Adeel Khan
2b5bb2d44b Adds a custom component to handle focusin/out for helptext and label
VAN-325
2021-02-07 17:17:17 +05:00
Zainab Amir
80f4cf00a4 VAN-299/fix_error_message_preference (#125) 2021-02-06 16:44:17 +05:00
Zainab Amir
d1b84bde48 update and show error alert on form submission only (#127) 2021-02-06 16:32:03 +05:00
adeelehsan
780824eeab Added fields errors in case of submit 2021-02-06 08:51:48 +05:00
Waheed Ahmed
6f43f6945c Use errorCode for login failure messages. (#124)
VAN-342
2021-02-05 18:05:17 +05:00
Uzair Rasheed
dcd2acfd6d Merge branch 'master' into fix-scroll-login-page 2021-02-05 15:08:15 +05:00
Waheed Ahmed
15d774819c Replaced all throw (e) calls with logError(). (#122)
Also removed  unused utility functions.

VAN-49
2021-02-04 20:10:10 +05:00
uzairr
b55a46cb26 fix scroll on login page errors 2021-02-04 15:25:19 +05:00
Zainab Amir
c6d45a0fe1 Fix Password Assistance Bugs (#97)
- Fixed focus issue
- Added validations
- Updated error message

VAN-298
2021-02-04 13:49:22 +05:00
adeelehsan
89f83c22b1 cookie banner added 2021-02-03 17:45:41 +05:00
Zainab Amir
847df44349 VAN-299: Add header to Password Reset Alert (#119) 2021-02-03 17:33:47 +05:00
adeelehsan
926a14775c email validation removed from onchange 2021-02-03 15:05:34 +05:00
uzairr
c6b765e934 fix error message sequence 2021-02-01 18:49:32 +05:00
Adeel Khan
7b750c7405 Remove margin bottom from register fields 2021-02-01 16:32:59 +05:00
uzairr
01c1042be9 add loader to form buttons 2021-02-01 15:27:04 +05:00
Waheed Ahmed
228e292703 Remove blue border appearing in safari. (#112) 2021-02-01 14:31:34 +05:00
Waheed Ahmed
8e4bd90d27 Increase SSO buttons width. (#110) 2021-02-01 12:59:22 +05:00
Adeel Khan
9333da2df7 **) Fix TPA Alert messages
**) Fix TPA options incorrect text

VAN-297
2021-01-31 01:02:16 +05:00
Adeel Khan
e669ed9dbd This patch would enable following;
1) On ratelimiting fields would show locally
   handled error message below them. Incase
   of multiple errors, only the first one is
   displayed.
2) On change is added to country field to
   handle value toggled either via keyboard
   or mouse.
2021-01-29 23:23:23 +05:00
uzairr
191313a2df handle 500 on forgot password page 2021-01-29 22:03:58 +05:00
uzairr
a1a3f1de37 Handle 500 api response
VAN-281
2021-01-29 19:02:38 +05:00