Commit Graph

222 Commits

Author SHA1 Message Date
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
484c895ff3 Merge pull request #143 from edx/adeel/van_370_make_single_option_call
Removes option call from validation endpoint
2021-02-19 20:02:12 +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
Adeel Ehsan
d55d38f4fa Merge pull request #146 from edx/aehsan/van-376/remove-backend-validations-from-registration
backend validations updated for registration form
2021-02-19 11:07:34 +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
Uzair Rasheed
f210c030d8 Merge pull request #144 from edx/server-error-reset-password
handle api failures gracefully
2021-02-18 13:29:12 +05:00
uzairr
5092c58c50 handle api failures gracefully 2021-02-18 13:12:28 +05:00
adeel khan
89be9c9ba7 Merge pull request #126 from edx/adeel/van_42_serve_tpa_hint_login_usecase
Enterprise sso login via tpa hint param.
2021-02-18 04:05:27 +05:00
Adeel Khan
648c3f9de8 Enterprise sso login via tpa hint param.
VAN-42
2021-02-18 04:00:06 +05:00
adeel khan
c9c4999621 Merge pull request #142 from edx/adeel/van_362_fix_login_page_errors
Fix login page validations
2021-02-17 21:40:08 +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
Adeel Ehsan
dc0d5f8d4a Merge pull request #138 from edx/aehsan/fixed_page_scroll_up_on_submit
Fixed scroll up on submit
2021-02-16 19:13:10 +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
37e73f0360 Merge pull request #137 from edx/adeel/van_325_fix_select_options
Fix optional select fields be consistent with other select box.
2021-02-11 02:46:27 +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
3ce9773270 Merge pull request #136 from edx/adeel/reduce_tos_margin_bottom_spacing
Reduce spacing between tos and optional field.
2021-02-11 02:06:16 +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
Uzair Rasheed
4a3fa3fdee Merge pull request #135 from edx/update-header-package-version
update header package version
2021-02-10 13:06:30 +05:00
uzairr
e48f2c6275 update header package version 2021-02-10 12:35:15 +05:00
Adeel Ehsan
29564bbd27 Merge pull request #133 from edx/aehsan/bugbash_registraiton_errors_fixed
registration errors fixed reported during bugbash
2021-02-10 01:23:17 +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
2cb577c0c7 Merge pull request #120 from edx/adeel/van_325_form_fields_ux_feedback
Form fields ux feedback
2021-02-07 17:33:49 +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
Adeel Ehsan
0bfb90aafa Merge pull request #121 from edx/aehsan/van-307/added_field_errors_on_submit
Added fields errors in case of submit
2021-02-06 09:07:19 +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
Waheed Ahmed
79636e7878 Update dependencies. (#123) 2021-02-05 15:57:25 +05:00
Uzair Rasheed
a2e0e6ad84 Merge pull request #116 from edx/fix-scroll-login-page
fix scroll on login page errors
2021-02-05 15:11:34 +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
Adeel Ehsan
68032afdd0 Merge pull request #118 from edx/aehsan/van-333/added-cookies-banner
cookie banner added
2021-02-03 18:43:31 +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