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

[ Feature ] Select Organization on the Registration screen #1904

Merged
merged 16 commits into from
May 3, 2024
Merged
Show file tree
Hide file tree
Changes from 9 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
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 35 additions & 1 deletion public/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,41 @@
"lowercase_check": "Atleast one lowercase letter",
"uppercase_check": "Atleast one uppercase letter",
"numeric_value_check": "Atleaset one numeric value",
"special_char_check": "Atleast one special character"
"special_char_check": "Atleast one special character",
"loading": "Loading...",
"selectOrg": "Select an organization"
},
"userLoginPage": {
"title": "Talawa Admin",
"fromPalisadoes": "An open source application by Palisadoes Foundation volunteers",
"talawa_portal": "Talawa Admin Portal",
"login": "Login",
"register": "Register",
"firstName": "First Name",
"lastName": "Last Name",
"email": "Email",
"password": "Password",
"atleast_8_char_long": "Atleast 8 Character long",
"Password_and_Confirm_password_mismatches.": "Password and Confirm password mismatches.",
"confirmPassword": "Confirm Password",
"forgotPassword": "Forgot Password ?",
"enterEmail": "Enter Email",
"enterPassword": "Enter Password",
"doNotOwnAnAccount": "Do not own an account?",
"talawaApiUnavailable": "Talawa-API service is unavailable. Is it running? Check your network connectivity too.",
"captchaError": "Captcha Error!",
"Please_check_the_captcha": "Please, check the captcha.",
"Something_went_wrong": "Something went wrong, Please try after sometime.",
"passwordMismatches": "Password and Confirm password mismatches.",
"fillCorrectly": "Fill all the Details Correctly.",
"notAuthorised": "Sorry! you are not Authorised!",
"notFound": "User not found!",
"successfullyRegistered": "Successfully Registered. Please wait until you will be approved.",
"userLogin": "User Login",
"afterRegister": "Successfully registered. Please wait for admin to approve your request.",
"OR": "OR",
"loading": "Loading...",
"selectOrg": "Select an organization"
},
"latestEvents": {
"eventCardTitle": "Upcoming Events",
Expand Down
36 changes: 35 additions & 1 deletion public/locales/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,41 @@
"lowercase_check": "कम से कम एक छोटा अक्षर",
"uppercase_check": "कम से कम एक बड़ा अक्षर",
"numeric_value_check": "कम से कम एक संख्यात्मक मान",
"special_char_check": "कम से कम एक विशेष पात्र"
"special_char_check": "कम से कम एक विशेष पात्र",
"loading": "लोड हो रहा है...",
"selectOrg": "कोई संगठन चुनें"
},
"userLoginPage": {
"title": "तलवा व्यवस्थापक",
"fromPalisadoes": "पलिसाडो के स्वयंसेवकों द्वारा एक खुला स्रोत अनुप्रयोग",
"talawa_portal": "तलावा प्रशासन पोर्टल",
"login": "लॉग इन करें",
"register": "पंजीकरण करवाना",
"firstName": "पहला नाम",
"lastName": "उपनाम",
"email": "ईमेल",
"password": "पासवर्ड",
"atleast_8_char_long": "कम से कम 8 कैरेक्टर लंबा",
"Password_and_Confirm_password_mismatches.": "पासवर्ड और पुष्टि पासवर्ड बेमेल।",
"confirmPassword": "पासवर्ड की पुष्टि कीजिये",
"forgotPassword": "पासवर्ड भूल गए ?",
"enterEmail": "ईमेल दर्ज करें",
"enterPassword": "पास वर्ड दर्ज करें",
"doNotOwnAnAccount": "क्या आपके पास खाता नहीं है?",
"talawaApiUnavailable": "तलावा-एपीआई सेवा उपलब्ध नहीं है। क्या यह चल रही है? अपनी नेटवर्क कनेक्टिविटी की भी जाँच करें।",
"captchaError": "कैप्चा त्रुटि!",
"Please_check_the_captcha": "कृपया, कैप्चा जांचें।",
"Something_went_wrong": "कुछ गलत हुआ, कृपया कुछ समय बाद प्रयास करें।",
"passwordMismatches": "पासवर्ड और पुष्टि पासवर्ड मेल नहीं खाते।",
"fillCorrectly": "सभी विवरण सही ढंग से भरें।",
"notAuthorised": "क्षमा करें! आप अधिकृत नहीं हैं!",
"notFound": "उपयोगकर्ता नहीं मिला!",
"successfullyRegistered": "सफलतापूर्वक पंजीकृत। कृपया स्वीकृत होने तक प्रतीक्षा करें।",
"afterRegister": "पंजीकरण सफलतापूर्वक हो गया है। कृपया आपके अनुरोध को स्वीकार करने के लिए व्यवस्थापक की प्रतीक्षा करें।",
"userLogin": "उपयोगकर्ता लॉगिन",
"OR": "या",
"loading": "लोड हो रहा है...",
"selectOrg": "कोई संगठन चुनें"
},
"latestEvents": {
"eventCardTitle": "आगामी घटनाएँ",
Expand Down
36 changes: 35 additions & 1 deletion public/locales/sp.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,41 @@
"lowercase_check": "Al menos una letra mayuscula",
"uppercase_check": "Al menos una letra minúscula",
"numeric_value_check": "Al menos un valor numérico",
"special_char_check": "Al menos un carácter especial"
"special_char_check": "Al menos un carácter especial",
"loading": "Cargando...",
"selectOrg": "Seleccione una organización"
},
"userLoginPage": {
"title": "Administrador Talawa",
"fromPalisadoes": "Una aplicación de código abierto de los voluntarios de la Fundación palisados",
"talawa_portal": "Portal De Administración Talawa",
"login": "Acceso",
"register": "Registro",
"firstName": "Primer nombre",
"lastName": "Apellido",
"email": "Correo electrónico",
"password": "Clave",
"atleast_8_char_long": "Al menos 8 caracteres de largo",
"Password_and_Confirm_password_mismatches.": "Contraseña y Confirmar contraseña no coinciden.",
"confirmPassword": "Confirmar contraseña",
"forgotPassword": "Has olvidado tu contraseña ?",
"enterEmail": "ingrese correo electrónico",
"enterPassword": "introducir la contraseña",
"doNotOwnAnAccount": "¿No tienes una cuenta?",
"talawaApiUnavailable": "El servicio Talawa-API no está disponible. ¿Está funcionando? Verifica también la conectividad de tu red.",
"captchaError": "¡Error de captcha!",
"Please_check_the_captcha": "Por favor, revisa el captcha.",
"Something_went_wrong": "Algo salió mal. Inténtalo después de un tiempo",
"passwordMismatches": "Contraseña y Confirmar contraseña no coinciden.",
"fillCorrectly": "Complete todos los detalles correctamente.",
"notAuthorised": "¡Lo siento! ¡No estás autorizado!",
"notFound": "¡Usuario no encontrado!",
"successfullyRegistered": "Registrado con éxito. Espere hasta que sea aprobado",
"userLogin": "Inicio de sesión de usuario",
"afterRegister": "Registrado exitosamente. Espere a que el administrador apruebe su solicitud.",
"OR": "O",
"loading": "Cargando...",
"selectOrg": "Seleccione una organización"
},
"latestEvents": {
"eventCardTitle": "Próximos Eventos",
Expand Down
36 changes: 35 additions & 1 deletion public/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,41 @@
"lowercase_check": "至少一個小寫字母",
"uppercase_check": "至少有一個大寫字母",
"numeric_value_check": "至少一個數值",
"special_char_check": "至少一個特殊字符"
"special_char_check": "至少一個特殊字符",
"loading": "载入中...",
"selectOrg": "选择一个组织"
},
"userLoginPage": {
"title": "塔拉瓦管理員",
"fromPalisadoes": "柵欄 基金会志愿者的开源应用程序",
"talawa_portal": "塔拉瓦管理門戶",
"login": "登錄",
"register": "登記",
"firstName": "名",
"lastName": "姓",
"email": "電子郵件",
"password": "密碼",
"atleast_8_char_long": "至少 8 個字符長",
"Password_and_Confirm_password_mismatches.": "密碼和確認密碼不匹配。",
"confirmPassword": "確認密碼",
"forgotPassword": "忘記密碼 ?",
"enterEmail": "输入电子邮件",
"enterPassword": "输入密码",
"doNotOwnAnAccount": "沒有帳戶嗎?",
"talawaApiUnavailable": "服務不可用。它正在運行嗎?還要檢查您的網絡連接。",
"captchaError": "驗證碼錯誤!",
"Please_check_the_captcha": "請檢查驗證碼。",
"Something_went_wrong": "出了點問題,請稍後再試。",
"passwordMismatches": "密碼和確認密碼不匹配。",
"fillCorrectly": "正確填寫所有細節。",
"notAuthorised": "抱歉!你沒有被授權!",
"notFound": "找不到用戶!",
"successfullyRegistered": "註冊成功,請等待審核通過。",
"userLogin": "用户登录",
"afterRegister": "註冊成功。 請等待管理員批准您的請求。",
"OR": "或者",
"loading": "载入中...",
"selectOrg": "选择一个组织"
},
"latestEvents": {
"eventCardTitle": "即将举行的活动",
Expand Down
2 changes: 1 addition & 1 deletion schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -1416,8 +1416,8 @@ input UserInput {
email: EmailAddress!
firstName: String!
lastName: String!
organizationUserBelongsToId: ID
password: String!
selectedOrganization : ID!
}

enum UserOrderByInput {
Expand Down
2 changes: 2 additions & 0 deletions src/GraphQl/Mutations/mutations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,13 +148,15 @@ export const SIGNUP_MUTATION = gql`
$lastName: String!
$email: EmailAddress!
$password: String!
$orgId: ID!
) {
signUp(
data: {
firstName: $firstName
lastName: $lastName
email: $email
password: $password
selectedOrganization: $orgId
}
) {
user {
Expand Down
Loading
Loading