Skip to content

Commit ab81760

Browse files
committed
feat(admin-ui): reviewed previously updated dependencies #416
2 parents 0581a5e + 73385c3 commit ab81760

File tree

275 files changed

+2433
-1515
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

275 files changed

+2433
-1515
lines changed

.github/workflows/releaseplease.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
git config user.email "[email protected]"
3131
git config --global user.signingkey "${{ steps.import_gpg.outputs.keyid }}"
3232
33-
- uses: google-github-actions/release-please-action@v3.4
33+
- uses: google-github-actions/release-please-action@v3.5
3434
id: release-please
3535
with:
3636
path: ${{ matrix.maven }}
@@ -67,7 +67,7 @@ jobs:
6767
git config user.email "[email protected]"
6868
git config --global user.signingkey "${{ steps.import_gpg.outputs.keyid }}"
6969
70-
- uses: google-github-actions/release-please-action@v3.4
70+
- uses: google-github-actions/release-please-action@v3.5
7171
id: release-please
7272
with:
7373
path: ${{ matrix.simple }}
@@ -105,7 +105,7 @@ jobs:
105105
git config user.email "[email protected]"
106106
git config --global user.signingkey "${{ steps.import_gpg.outputs.keyid }}"
107107
108-
- uses: google-github-actions/release-please-action@v3.4
108+
- uses: google-github-actions/release-please-action@v3.5
109109
id: release-please
110110
with:
111111
path: ${{ matrix.python-projects }}
@@ -143,7 +143,7 @@ jobs:
143143
git config user.email "[email protected]"
144144
git config --global user.signingkey "${{ steps.import_gpg.outputs.keyid }}"
145145
146-
- uses: google-github-actions/release-please-action@v3.4
146+
- uses: google-github-actions/release-please-action@v3.5
147147
id: release-please
148148
with:
149149
path: ${{ matrix.node-projects }}
@@ -176,7 +176,7 @@ jobs:
176176
git config --global user.signingkey "${{ steps.import_gpg.outputs.keyid }}"
177177
178178
179-
- uses: google-github-actions/release-please-action@v3.4
179+
- uses: google-github-actions/release-please-action@v3.5
180180
id: release-please
181181
with:
182182
token: ${{ secrets.MOWORKFLOWTOKEN }}

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -112,3 +112,4 @@ docs/setup.log
112112

113113
# generated by guizipapp builder
114114
include
115+
admin-ui/configApiSpecs.yaml

admin-ui/.env

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
BASE_PATH=/
2-
CONFIG_API_BASE_URL=http://localhost:8080
2+
CONFIG_API_BASE_URL=http://localhost:8080/jans-config-api
33
API_BASE_URL=http://localhost:8080/jans-config-api/admin-ui
44
NPM_TOKEN=
55
SESSION_TIMEOUT_IN_MINUTES=30

admin-ui/.env.adminuitest

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
BASE_PATH=/admin
2-
CONFIG_API_BASE_URL=https://admin-ui-test.gluu.org
2+
CONFIG_API_BASE_URL=https://admin-ui-test.gluu.org/jans-config-api
33
API_BASE_URL=https://admin-ui-test.gluu.org/jans-config-api/admin-ui
44
NPM_TOKEN=
55
SESSION_TIMEOUT_IN_MINUTES=30

admin-ui/.env.jans-ui

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
BASE_PATH=/admin
2-
CONFIG_API_BASE_URL=https://jans-ui.jans.io
2+
CONFIG_API_BASE_URL=https://jans-ui.jans.io/jans-config-api
33
API_BASE_URL=https://jans-ui.jans.io/jans-config-api/admin-ui
44
NPM_TOKEN=
55
SESSION_TIMEOUT_IN_MINUTES=30

admin-ui/.env.jenkins

-5
This file was deleted.

admin-ui/.env.tmp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
BASE_PATH=/admin
2-
CONFIG_API_BASE_URL=https://%(hostname)s
2+
CONFIG_API_BASE_URL=https://%(hostname)s/jans-config-api
33
API_BASE_URL=https://%(hostname)s/jans-config-api/admin-ui
44
NPM_TOKEN=
55
SESSION_TIMEOUT_IN_MINUTES=30

admin-ui/app/components/Layout/Layout.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import ReactDOM from 'react-dom'
33
import PropTypes from 'prop-types'
44
import classNames from 'classnames'
55
import { Helmet } from 'react-helmet'
6-
import { withRouter } from 'react-router-dom'
6+
import { useWithRouter as withRouter } from 'Utils/WithRouter'
77
import {
88
filter,
99
forOwn,

admin-ui/app/components/SidebarMenu/RoutesRecursiveWrapper.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react'
2-
import { Route } from 'react-router'
2+
import { Route } from 'react-router-dom'
33

44
export const RoutesRecursiveWrapper = ({ item }) => {
55

@@ -11,7 +11,7 @@ export const RoutesRecursiveWrapper = ({ item }) => {
1111
children.map((child, i) => (<RoutesRecursiveWrapper key={i} item={child} />))
1212

1313
) : (!!path &&
14-
<Route component={component} path={path} />
14+
<Route element={<component />} path={path} />
1515
)
1616
)
1717

admin-ui/app/components/SidebarMenu/SidebarMenu.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react'
22
import PropTypes from 'prop-types'
3-
import { withRouter } from 'react-router-dom'
3+
import { useWithRouter as withRouter } from 'Utils/WithRouter'
44
import find from 'lodash/find'
55
import includes from 'lodash/includes'
66
import mapValues from 'lodash/mapValues'

admin-ui/app/components/ThemeSetting/ThemeSettings.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useContext, useEffect } from 'react'
1+
import React, { useContext } from 'react'
22
import clsx from 'clsx'
33
import Drawer from '@material-ui/core/Drawer'
44
import Button from '@material-ui/core/Button'

admin-ui/app/context/theme/themeContext.js

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ const initialState = {
88

99
const themeReducer = (state, action) => {
1010
if (action.type) {
11-
window.localStorage.setItem('initTheme', action.type)
1211
return { theme: action.type }
1312
}
1413

admin-ui/app/locales/en/translation.json

+24-7
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"accept": "Accept",
44
"add": "Add",
55
"add_ldap_configuration": "Add LDAP Configuration",
6+
"add_mapping":"Add Mapping",
67
"add_property": "Add property",
78
"apply": "Apply",
89
"back_home": "Back Home",
@@ -18,12 +19,14 @@
1819
"search": "Search",
1920
"submit": "Submit",
2021
"remove": "Remove",
22+
"revert": "revert",
2123
"test": "Test",
2224
"view": "View",
2325
"yes": "Yes",
2426
"change_password": "Change Password",
2527
"close": "Close",
26-
"delete": "Delete"
28+
"delete": "Delete",
29+
"revoke": "Revoke"
2730
},
2831
"dashboard": {
2932
"summary_title": "Actives Users & Access Token Stats",
@@ -55,6 +58,7 @@
5558
"attributes": "Attributes",
5659
"attribute_edit_type": "Attribute Edit Type",
5760
"attribute_view_type": "Attribute View Type",
61+
"auth_time": "Auth Time",
5862
"authentication_method": "Authentication method for the Token Endpoint",
5963
"authorization_code_access_token": "Authorization Code Access Token",
6064
"average_of_mau": "Average of MAU",
@@ -69,14 +73,17 @@
6973
"client_credentials_access_token": "Client Credentials Access Token",
7074
"client_expiration_date": "Client Expiration Date",
7175
"client_id": "Client Id",
76+
"client_id_used": "Client Id Used",
7277
"client_name": "Client name",
7378
"client_secret": "Client secret",
7479
"computation_pool_size": "Computation Pool Size",
80+
"config_api_url": "Config API URL",
7581
"configuration_id": "Configuration Id",
7682
"connection_factory_type": "Connection Factory Type",
7783
"connection_timeout": "Connection Timeout",
7884
"consent_gathering_scripts": "OAuth Consent",
7985
"custom_properties": "Custom Properties (key/values)",
86+
"dark_mode": "Dark Mode",
8087
"data_type": "Data Type",
8188
"default_acr": "Default Authentication Method (ACR)",
8289
"default_bucket": "Default Bucket",
@@ -97,23 +104,21 @@
97104
"enabled_oAuth_audit_logging": "Enable Oauth Audit Logging?",
98105
"enter_the_attribute_inum": "Enter the attribute inum",
99106
"grant_types": "Grants",
100-
"redirect_regex": "Redirect Regex",
101107
"host_name": "Host Name",
102108
"hide_on_discovery": "Hide On Discovery?",
103109
"http_logging_enabled": "Enable HTTP Logging",
104110
"id": "id",
105111
"id_token_encrypted_response_alg": "JWS alg for encryption",
106112
"id_token_encrypted_response_enc": "JWS enc for encryption",
107113
"id_token_signed_response_alg": "JWS alg for signing",
108-
"spontaneousScopes": "Spontaneous scopes",
109-
"spontaneousScopesREGEX": "Spontaneous scope validation regex",
110114
"inactive": "InActive",
111115
"include_in_scim_extension": "Include In SCIM Extension?",
112116
"in_memory_configuration": "inMemoryConfiguration",
113117
"internal": "Internal",
114118
"introspection_scripts": "Introspection",
115119
"ropcScripts": "Password Grant",
116120
"inum": "inum",
121+
"ip_address": "IP Address",
117122
"is_active": "Active",
118123
"is_expirable_client": "Is Expirable Client?",
119124
"is_trusted_client": "Supress authorization",
@@ -123,6 +128,7 @@
123128
"authorizationSignedResponseAlg": "JWS alg for signing",
124129
"authorizationEncryptedResponseAlg": "JWS alg for encryption",
125130
"authorizationEncryptedResponseEnc": "JWS enc for encryption",
131+
"list_paging_size": "List paging size",
126132
"location_type": "Location Type",
127133
"log_level": "Log level",
128134
"log_layout": "Log layout",
@@ -157,6 +163,7 @@
157163
"pre_authorization": "Pre-Authorization",
158164
"primary_key": "Primary Key",
159165
"programming_language": "Programming Language",
166+
"redirect_regex": "Redirect Regex",
160167
"redirect_uris": "Redirect URIs",
161168
"redirectUrisRegex": "Redirect Regex",
162169
"redis_configuration": "redisConfiguration",
@@ -187,6 +194,8 @@
187194
"sentinel_master_group_name": "sentinelMasterGroupName",
188195
"servers": "Server Details",
189196
"show_in_configuration_endpoint": "Show in configuration endpoint",
197+
"s_id": "Session ID",
198+
"session_expired": "Session Expired",
190199
"smtp_server_port": "SMTP server port",
191200
"smtp_test_status": "Smtp Test Status",
192201
"smtp_user_name": "SMTP User Name",
@@ -196,11 +205,14 @@
196205
"spontaneous_client_id": "Spontaneous Client Id",
197206
"spontaneous_scope_script_dns": "Spontaneous Scope Script Dns",
198207
"spontaneous_scopes": "Spontaneous Scopes",
208+
"spontaneousScopes": "Spontaneous scopes",
209+
"spontaneousScopesREGEX": "Spontaneous scope validation regex",
199210
"updateTokenScriptDns": "Update Token",
200211
"ssl_trust_store_file": "SSL Trust Store File",
201212
"ssl_trust_store_file_path": "sslTrustStoreFilePath",
202213
"ssl_trust_store_format": "SSL Trust Store Format",
203214
"ssl_trust_store_pin": "SSL Trust Store Pin",
215+
"state": "State",
204216
"status": "Status",
205217
"scopes": "Scopes",
206218
"subject_type": "id_token subject type",
@@ -283,13 +295,14 @@
283295
"givenName": "Given Name",
284296
"resources": "Resources",
285297
"resourceId": "Resource id",
286-
"iconUrl": "Icon URL",
287298
"scopeSelection": "Scope Selection",
288299
"scopeOrExpression": "Scope (or Expression)",
289300
"associatedClient": "Associated Client",
290301
"creationTime": "Creation Time",
302+
"select_date_range":"Select a date range",
291303
"scope": "Scope",
292-
"scopeExpression": "Scope Expression"
304+
"scopeExpression": "Scope Expression",
305+
"selectUserRevoke": "Select the user to revoke"
293306
},
294307
"languages": {
295308
"french": "French",
@@ -330,6 +343,7 @@
330343
"scopes": "Scopes",
331344
"scripts": "Scripts",
332345
"services": "Services",
346+
"sessions": "Sessions",
333347
"settings": "Settings",
334348
"signout": "Sign out",
335349
"user_management": "User Management",
@@ -380,7 +394,10 @@
380394
"refresh_data": "Refresh Data",
381395
"view_attribute": "View attribute",
382396
"edit_sql": "Edit SQL",
383-
"add_sql": "Add SQL"
397+
"add_sql": "Add SQL",
398+
"client_credentials_access_token_count": "Client credentials access token count",
399+
"authz_code_access_token_count": "Authz code access token count",
400+
"authz_code_idtoken_count": "Authz code idtoken count"
384401
},
385402
"placeholders": {
386403
"id": "Enter id",

0 commit comments

Comments
 (0)