Skip to content

Commit

Permalink
Add pending invites view (#157)
Browse files Browse the repository at this point in the history
* fixes #147

* fix Domain feature flag doesn't hide domain settings #155

* fix Localizations for spanish are missing in Portal #154

* fix Domains & SSO still available in "Settings" even if disabled in Style #122

* update API from openAPI spec

* add in pending invites page
  • Loading branch information
pnzrr authored Oct 3, 2024
1 parent 5ce9172 commit d18afcc
Show file tree
Hide file tree
Showing 20 changed files with 1,659 additions and 598 deletions.
2 changes: 1 addition & 1 deletion orgs-openapi-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { ConfigFile } from "@rtk-query/codegen-openapi";

const config: ConfigFile = {
schemaFile:
"https://raw.githubusercontent.com/p2-inc/phasetwo-docs/master/openapi.yaml",
"https://raw.githubusercontent.com/p2-inc/phasetwo-docs/main/openapi.yaml",
apiFile: "./src/store/apis/empty.ts",
apiImport: "emptySplitApi",
outputFile: "./src/store/apis/orgs.ts",
Expand Down
62 changes: 37 additions & 25 deletions public/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
"basicAuthentication": "Basic authentication",
"cancel": "Cancel",
"choose": "Choose...",
"client": "Client",
"clientNotFoundMessage": "*Client not found.",
"client_account": "*Account",
"client_account-console": "*Account Console",
"client_account": "*Account",
"client_admin-cli": "*Admin CLI",
"client_broker": "*Broker",
"client_realm-management": "*Realm Management",
"client_security-admin-console": "*security admin console",
"client": "Client",
"clientNotFoundMessage": "*Client not found.",
"clients": "Clients",
"close": "Close",
"configureWaysToSignIn": "Configure ways to sign in",
Expand All @@ -44,6 +44,7 @@
"copy": "Copy",
"createATxtRecordInYourDnsConfigurationForTheFollowingHostname": "Create a txt record in your dns configuration for the following hostname",
"created": "Created",
"createdAt": "Created at",
"credentialCreatedAt": "<0>Created</0> {{date}}.",
"credentialsRemovingError": "Error removing {{0}} . Please try again.",
"credentialsSuccessfullyRemoved": "{{0}} removed",
Expand All @@ -59,10 +60,10 @@
"doCancel": "Cancel",
"doDeny": "Deny",
"domainName": "Domain name",
"domains": "Domains",
"domains-add-placeholder": "www.your-domain.com",
"domains-add-success": "{{domain}} has been added to organization. Please verify domain.",
"domains-verify": "Verify domain",
"domains": "Domains",
"done": "Done",
"doSave": "Save",
"doSignOut": "Sign out",
Expand All @@ -71,8 +72,8 @@
"editTheResource": "Share the resource - {{0}}",
"email": "Email",
"enterAVerificationCodeFromAuthenticatorApplication": "Enter a verification code from authenticator application",
"error-domain-invalid": "Domain is not valid",
"error-domain-already-present": "${domain} is already present for this org.",
"error-domain-invalid": "Domain is not valid",
"error-empty": "Please specify value of '{{0}}'.",
"error-invalid-blank": "Please specify value of '{{0}}'.",
"error-invalid-date": "'{{0}}' is invalid date.",
Expand Down Expand Up @@ -105,17 +106,24 @@
"groups": "Groups",
"id": "ID",
"infoMessage": "By clicking Remove Access, you will remove granted permissions of this application. This application will no longer use your information.",
"insufficient-permissions": "Insufficient permissions to perform action.",
"insufficientPermissionsToViewOrganization": "Insufficient permissions to view organization",
"internalApp": "Internal",
"inUse": "In use",
"insufficient-permissions": "Insufficient permissions to perform action.",
"invitation-email-placeholder": "[email protected]",
"invitation-email-placeholder": "[email protected]",
"invitation-instructions-description": "Add a new member to the organization by entering their email and assigning them a role within the organization. An email will be sent to them with instructions on how to join.",
"invitation-missing-permission-title": "You lack the 'manage-invitations' role.",
"invitation-missing-permission-body": "Speak to an admin in order to be granted this role.",
"invitation-missing-permission-title": "You lack the 'manage-invitations' role.",
"invitation-remove-confirm-title": "Remove invitation",
"invitation-remove-confirm": "Are you sure you want to remove the invitation to {{email}}?",
"invitation-title": "Invite new member to {{0}}",
"invitation-toast-submit": "{{data.email}} is being sent an invitation.",
"invitation-toast-remove-error": "Error removing invitation to {{email}}. Please try again.",
"invitation-toast-remove-success": "Invitation to {{email}} has been removed.",
"invitation-toast-resend-error": "Error resending invitation to {{email}}. Please try again.",
"invitation-toast-resend-success": "Invitation to {{email}} has been resent.",
"invitation-toast-submit-success": "{{data.email}} has been sent an invitation.",
"invitation-toast-submit": "{{data.email}} is being sent an invitation.",
"invitations": "Invitations",
"inviteNewMembers": "Invite new members",
"inviteNewMembersOrRemoveMembersFromTheOrganization": "Invite new members or remove members from the organization",
"ipAddress": "IP address",
Expand All @@ -141,8 +149,8 @@
"manageAccount": "Manage account",
"manageLoginsThroughThirdPartyAccounts": "Manage logins through third party accounts",
"manageYourUserProfileInformation": "Manage your user profile information",
"member-roles-missing-permission-title": "You lack the 'manage-roles' role.",
"member-roles-missing-permission-body": "Speak to an admin in order to be granted this role.",
"member-roles-missing-permission-title": "You lack the 'manage-roles' role.",
"members": "Members",
"myResources": "My Resources",
"name": "Name",
Expand All @@ -163,8 +171,10 @@
"password-less-title": "Sign in with security key",
"password": "My password",
"passwordless": "no password",
"passwordUpdateNotAllowed": "Password update not allowed",
"path": "Path",
"pending": "pending",
"pendingInvitations": "Pending invitations",
"permanentlyRemoveYourProfileAndAllOfItsContentsThisActionIsNotReversibleSoPleaseContinueWithCaution": "Permanently remove your profile and all of its contents this action is not reversible so please continue with caution",
"permissionRequest": "Permission requests - {{0}}",
"permissionRequests": "Permission requests",
Expand All @@ -173,14 +183,14 @@
"personalInfoDescription": "Manage your basic information",
"personalInformation": "Personal information",
"privacyPolicy": "Privacy policy",
"profile": "Profile",
"profile-delete-title": "Delete your profile",
"profile-delete-confirm": "Confirm profile delete",
"profile-delete-title": "Delete your profile",
"profile-delete-write-to-confirm": "Write 'delete' to confirm.",
"profile-email-placeholder": "[email protected]",
"profile-localization-description": "Manage your localization (language).",
"profile-toast-success": "Profile updated successfully.",
"profile-toast-error": "Error during Profile update.",
"profile-toast-success": "Profile updated successfully.",
"profile": "Profile",
"provider": "Provider",
"refreshPage": "Refresh the page",
"remove": "Remove",
Expand All @@ -198,6 +208,7 @@
"removeModalTitle": "Remove access",
"requestor": "Requestor",
"required": "Required",
"resend": "Resend",
"reset": "Reset",
"resourceAlreadyShared": "Resource is already shared with this user.",
"resourceIntroMessage": "Share your resources among team members",
Expand All @@ -207,17 +218,17 @@
"resourceSharedWith_other": "Resource is shared with <0>{{username}}</0> and <1>{{other}}</1> other users",
"resourceSharedWith_zero": "This resource is not shared.",
"returnToHomepage": "Return to homepage",
"role-toast-granted": "Granted {{roleName}} role to user.",
"role-toast-granted-error": "Error granting role {{roleName}} to user. Please try again.",
"role-toast-granted-all": "Granted all roles to user.",
"role-section-header-title": "Edit roles of",
"role-set": "Set roles:",
"role-toast-granted-all-error": "Error granting all roles to user. Please try again.",
"role-toast-revoked": "Revoked {{roleName}} role from user.",
"role-toast-revoked-error": "Error revoking {{roleName}} role from user. Please try again.",
"role-toast-revoked-all": "Revoked all roles for user.",
"role-toast-revoked-all-error": "Error revoking all roles for user. Please try again.",
"role-toast-granted-all": "Granted all roles to user.",
"role-toast-granted-error": "Error granting role {{roleName}} to user. Please try again.",
"role-toast-granted-filter": "Granted roles to user:",
"role-set": "Set roles:",
"role-section-header-title": "Edit roles of",
"role-toast-granted": "Granted {{roleName}} role to user.",
"role-toast-revoked-all-error": "Error revoking all roles for user. Please try again.",
"role-toast-revoked-all": "Revoked all roles for user.",
"role-toast-revoked-error": "Error revoking {{roleName}} role from user. Please try again.",
"role-toast-revoked": "Revoked {{roleName}} role from user.",
"save": "Save",
"searchMembers": "Search members",
"searchOrganizations": "Search Organizations",
Expand All @@ -230,6 +241,7 @@
"setUpAuthenticator": "Set up authenticator",
"setupDomains": "Setup domains",
"setUpNew": "Set up {{0}}",
"setupPassword": "Setup password",
"setUpSecurityKey": "Set up security key",
"setupSso": "Setup SSO",
"setupSsoConnectionsAsNecessaryForThisOrganization": "Setup SSO connections as necessary for this organization",
Expand Down Expand Up @@ -268,6 +280,7 @@
"theme": "Theme",
"thirdPartyApp": "Third-party",
"thisActionWillSignOutAllTheDevicesThatHaveSignedInToYourAccountIncludingTheCurrentDeviceYouAreUsing": "This action will sign out all the devices that have signed in to your account including the current device you are using",
"tooltipMembersTableAdmin": "Admin users cannot be edited.",
"tryAgain": "Try again",
"two-factor": "Two-factor authentication",
"twoFactorAuthentication": "Two factor authentication",
Expand All @@ -290,8 +303,8 @@
"updateSuccess": "Resource successfully updated.",
"user": "User",
"username": "Username",
"usernamePlaceholder": "Username or email",
"usernameEmailSame": "Username is the same as email.",
"usernamePlaceholder": "Username or email",
"useTheFollowingDetailsToVerifyYourDomain": "Use the following details to verify your domain",
"useThisCodeForTheValueOfTheTxtRecord": "Use this code for the value of the txt record",
"useYourSecurityKeyForPasswordlessSignIn": "Use your security key for password-less sign in",
Expand All @@ -305,6 +318,5 @@
"viewOrganizationInformationChangeDisplayName": "View organization information change display name",
"welcomeMessage": "Welcome to keycloak account management",
"youAreTheSameUserAsThisUser": "This is your account! This is you!",
"youLackTheManageRolesRole": "You lack the manage roles role",
"tooltipMembersTableAdmin": "Admin users cannot be edited."
"youLackTheManageRolesRole": "You lack the manage roles role"
}
Loading

0 comments on commit d18afcc

Please sign in to comment.