-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Use UiPluginDescriptorSupport from ui package - satisfy linter * Implement UiPluginDescriptor * Adjust maven config * Fix pom.xml and add missing dependencies * Update dependencies - reduce list to required deps only - remove test setup * Update to use client rendering API * Move frontend config to root - update webpack config - update dependencies * Adjust javascript tool config * Adjust build config - adjust github workflow - refine .gitignore - reduce build.sh - remove obsolete pom_for_bundle.xml * Fix call for useEffect
- Loading branch information
Showing
20 changed files
with
1,599 additions
and
5,165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,9 @@ | |
.factorypath | ||
.project | ||
.settings | ||
.vscode | ||
bin | ||
node_modules | ||
target | ||
*.versionsBackup | ||
yarn.lock | ||
*.versionsBackup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
#!/bin/bash | ||
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)" | ||
|
||
pushd "${DIR}" | ||
# extjs:aggregate-js | ||
mvn -f pom_for_bundle.xml -PbuildKar clean package -Dmaven.test.skip=true | ||
popd | ||
mvn -PbuildKar clean package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "nexus-oauth2-proxy-plugin", | ||
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"build": "webpack --config webpack.config.js", | ||
"build-all": "webpack --config webpack.config.js", | ||
"watch": "webpack --watch --config webpack.config.js" | ||
}, | ||
"dependencies": { | ||
"@fortawesome/free-solid-svg-icons": "^6.5.2", | ||
"axios": "^1.6.8", | ||
"react": "^18.3.1" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.24.4", | ||
"@babel/preset-react": "^7.24.1", | ||
"babel-loader": "^9.1.3", | ||
"terser-webpack-plugin": "^5.3.10", | ||
"webpack": "^5.91.0", | ||
"webpack-cli": "^5.1.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
import React from 'react'; | ||
import ReactDOM from 'react-dom'; | ||
import OAuth2ProxyApiTokenComponent from './components/OAuth2ProxyApiTokenComponent'; | ||
|
||
ReactDOM.render( | ||
<OAuth2ProxyApiTokenComponent /> | ||
); | ||
window.plugins.push({ | ||
id: 'nexus-oauth2-proxy-plugin', | ||
|
||
features: [{ | ||
mode: 'user', | ||
path: '/oauth2proxy-apitoken', | ||
view: OAuth2ProxyApiTokenComponent, | ||
text: 'OAuth2 Proxy API Token', | ||
description: 'Access OAuth2 proxy API token', | ||
iconCls: 'x-fa fa-key', | ||
visibility: { | ||
requiresUser: true | ||
} | ||
}] | ||
}); |
Oops, something went wrong.