Commit Graph

57 Commits

Author SHA1 Message Date
Syed Sajjad Hussain Shah
22d477e55f fix: import/no-cycle eslint issue (#875)
VAN-1388

Co-authored-by: Syed Sajjad  Hussain Shah <syed.sajjad@H7FKF7K6XD.local>
2023-04-20 12:33:40 +05:00
adeelehsan
ad2ee9e013 logistration folder refactored to login and register 2021-01-26 05:48:09 +05:00
Adeel Khan
29b93eb6e5 Fix scrolling issue.
Scrolling was not working for error message
changes on form submission. useEffect was not
calling callback on its dependency change ie error message
.This patch would fix this.
2021-01-26 03:24:26 +05:00
Zainab Amir
691c16a3ec Handle Rate Limit (#89)
- Added a new error code for login failures
- Fixed form width issue of reset password page
- Fixed alignment of reset password failure and success messages
- Added title text for registration page for cases when no sso exists

VAN-122
2021-01-25 19:42:17 +05:00
Zainab Amir
35adc8eaf3 VAN-322: UX-Review: Update Forgot Password Pages (#92) 2021-01-25 19:29:18 +05:00
Zainab Amir
fed057c330 VAN-304: update alert link class (#91) 2021-01-25 16:42:59 +05:00
Waheed Ahmed
5d44f8e150 Update Facebook SSO button. (#88)
Updated Facebook SSO button color according to their brand
guidelines also fixed logo size.

VAN-296
2021-01-22 18:32:31 +05:00
Zainab Amir
b894e3ce0c Add account activation messages (#82)
Show messages based on the query paran recieved during the redirect after
account activation link is clicked

VAN-304
2021-01-22 13:17:03 +05:00
Waheed Ahmed
f50f7c89c0 Change login and registration API endpoints. (#80)
* Change login and registration API endpoints.

Changed login/registration endpoints to match monolith FE. Also
fixed a warning and removed an extra call to login_refresh.

VAN-107

* Fix login/register redirection.

VAN-12
2021-01-19 12:11:52 +05:00
uzairr
0154ee6272 fix signin-form-width-issue 2021-01-13 18:54:48 +05:00
adeelehsan
07d59a40d8 Skeleton added for the third party auth buttons
VAN-140
2021-01-12 20:42:02 +05:00
Adeel Khan
e114fa8663 Adds missing backend format validations error on submit.
VAN-283
2021-01-12 17:13:57 +05:00
uzairr
8cc17dd05f Add consistent padding between form and browser frame 2021-01-12 16:03:44 +05:00
uzairr
899bf2de61 fix missing branding issues 2021-01-08 16:05:21 +05:00
uzairr
0ab41922aa fix spacing issues on login and register page 2021-01-07 16:41:36 +05:00
uzairr
0497fcb0f2 fix spinner height 2021-01-07 16:06:03 +05:00
uzairr
74e07ce324 fix css styles 2021-01-07 15:32:08 +05:00
Waheed Ahmed
796c7e4cdb Fix max-width issue with social auth buttons. (#70)
VAN-222
2021-01-06 13:43:58 +05:00
Waheed Ahmed
56a1caaacb Make logistration pages responsive. (#69)
Made logistration pages response for smaller devices using
paragon components and bootstrap classes.

VAN-222
2021-01-06 12:36:55 +05:00
Zainab Amir
5fa1d40dbf Populate registration page fields (#66)
When registering via SSO, populate registration fields
with user data acquired from the social auth pipeline.

VAN-238
2021-01-04 18:42:52 +05:00
uzairr
db95674bec Add remote var for login issue support url 2021-01-04 18:11:12 +05:00
uzairr
ce4f54473d fix spinner position in safari 2021-01-04 15:49:33 +05:00
uzairr
e0485db0f5 add enterprise login link 2021-01-01 23:31:46 +05:00
uzairr
e992d432b3 re-align loader 2021-01-01 19:04:52 +05:00
Adeel Khan
f696587533 This patch fixes following;
*) Empty fields error messages
*) Removes onChange validations

VAN-204
2021-01-01 18:17:48 +05:00
Uzair Rasheed
2fe9e10ba1 Merge branch 'master' into van-155/add-email-placeholder 2021-01-01 03:28:26 +05:00
Zainab Amir
f2957d4885 Login: Add error handling for 500 status code
This handles the cases where some internal server error occurs and
no error message is shown to users.

VAN-95
2020-12-31 17:01:49 +05:00
uzairr
4f812c6b3e add email placeholder 2020-12-30 14:25:03 +05:00
Uzair Rasheed
dae23f3ba4 Rearrange optional fields (#49) 2020-12-28 15:06:53 +05:00
uzairr
31e0af48dd apply formik and yup to reset form 2020-12-28 11:37:50 +05:00
Zainab Amir
b3a374e6db Display form with no password field for SSO (#51)
When registering via sso, we don't need to ask for password
on registration form.

VAN-224
2020-12-24 15:00:36 +05:00
Waheed Ahmed
fcdce291bb Fix form submission issues. (#50)
* Fix form submission issues.

Fixed form submission issues on first click and
with optional fields check. Also fixed some warnings
and did some refactoring as well.

VAN-225, VAN-206

* added more tests
2020-12-23 18:07:37 +05:00
Adeel Khan
ae298a5ab3 Adds realtime validations to register form.
This patch adds realtime/ validations for;
	*) name
	*) fullname
	*) password
	*) email

VAN-30
2020-12-23 12:39:13 +05:00
Zainab Amir
a1f6685641 Add inactive user error message (#48)
When inactive user tries to login, show proper error
message on logistration MFE.

VAN-217
2020-12-22 16:40:08 +05:00
Zainab Amir
631eb26fa0 VAN-130: Add translation strings (#44) 2020-12-15 15:12:41 +05:00
Adeel Khan
5f6041d7f8 Adds custom fields support to registration form.
VAN-19
2020-12-14 17:51:40 +05:00
Waheed Ahmed
40386645fc Update MFE to use the new “brand-openedx” theme. (#42)
VAN-145
2020-12-14 17:21:21 +05:00
Adeel Ehsan
b6cd7f75c5 registration fields order updated (#36) 2020-12-04 14:44:54 +05:00
Zainab Amir
84bb6edf90 Add password compliance workflow (#40) 2020-12-03 15:55:48 +05:00
Waheed Ahmed
91975350f0 Redirect to dashboard if user already logged in.
Did some refactoring for common components, also fixed soe test warnings.

VAN-131
2020-11-30 14:30:08 +05:00
Zainab Amir
71885b6fd2 Add stateful buttons on forms (#37)
Add stateful button component from paragon to
- LoginPage
- RegistrationPage
- ForgetPasswordPage
- ResetPasswordPage

VAN-123
2020-11-27 15:22:41 +05:00
Waheed Ahmed
4eec97d02f Update header component version and logo.
VAN-101
2020-11-25 14:45:00 +05:00
Zainab Amir
370cf08763 Add SSO to register page (#32) 2020-11-25 14:39:12 +05:00
adeelehsan
c80cf4fa81 Added saml integration for login and registration 2020-11-24 15:28:51 +05:00
uzairr
9ee71185dc Hide header menu links and removed footer.
VAN-100
VAN-101
2020-11-18 17:08:55 +05:00
Zainab Amir
3d0e5bef9f Add third party auth providers (#26)
Add TPA providers to login page and display error in case of incomplete
auth workflow.

VAN-92
2020-11-18 16:25:28 +05:00
Waheed Ahmed
a5bc73f4d3 Fix need help signing in button styling. 2020-11-12 17:43:27 +05:00
Adeel Khan
a4af6288e8 Moving from Custom alert to paragon alert widget.
VAN-43
2020-11-09 19:07:45 +05:00
Adeel Khan
a0db6b9a1d Adds error handling to Login page.
This patch handles 400 error for login
page and displays backend error to learner.

VAN-105
2020-11-09 16:23:56 +05:00
Adeel Khan
610cfaacc2 Adds error handling to registration page flow.
VAN-110
2020-11-06 23:03:17 +05:00