-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial commit of the open source Artemis UI
- Loading branch information
Showing
165 changed files
with
88,805 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/ui/**/*.po linguist-generated |
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
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
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,8 @@ | ||
/node_modules | ||
/build | ||
.DS_Store | ||
.git | ||
.gitignore | ||
.github | ||
*.log* | ||
/publicCustom/README.md |
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,32 @@ | ||
; This file is for unifying the coding style for different editors and IDEs. | ||
; More information at http://editorconfig.org | ||
|
||
root = true | ||
|
||
[*] | ||
indent_style = tab | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[Makefile] | ||
trim_trailing_whitespace = false | ||
|
||
[*.md] | ||
indent_style = space | ||
indent_size = 2 | ||
trim_trailing_whitespace = false | ||
|
||
[.ebextensions/*.config] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[**/*.{yaml,yml}] | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
[*.{babelrc,jq,json,toml}] | ||
indent_style = space | ||
indent_size = 2 |
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,17 @@ | ||
REACT_APP_VERSION=$npm_package_version | ||
REACT_APP_CUSTOM_LOGO="" | ||
REACT_APP_EMAIL_AUTHOR="" | ||
REACT_APP_DEMO_USER_VCSORG="goodVcs/goodOrg" | ||
REACT_APP_DEMO_USER_REPO="artemis-test-data" | ||
REACT_APP_DOC_URL_USAGE="" | ||
REACT_APP_URL_PROVISION="" | ||
REACT_APP_API_NAMESPACE="/mockApi/v1" | ||
// delay to show a notification before automatically dismissing it (6 seconds in milliseconds) | ||
REACT_APP_NOTIFICATION_DELAY=6000 | ||
// delay to auto-reload data (30 seconds in milliseconds) | ||
REACT_APP_RELOAD_INTERVAL=30000 | ||
// delay to check for maintenance mode (5 minutes in milliseconds) | ||
REACT_APP_MAINT_CHECK_INTERVAL=300000 | ||
REACT_APP_TABLE_ROWS_PER_PAGE_DEFAULT=10 | ||
REACT_APP_TABLE_ROWS_PER_PAGE_OPTIONS="5,10,20" | ||
REACT_APP_SERVICE_GITHUB_URL="/settings?code=0123456789abcdefabcd" |
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,2 @@ | ||
# ADD THE CLIENT ID FOR YOUR NONPROD GITHUB APP HERE | ||
REACT_APP_SERVICE_GITHUB_URL="https://github.com/login/oauth/authorize?client_id=" |
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,22 @@ | ||
REACT_APP_VERSION=$npm_package_version | ||
# SET TO "true" IF YOU WANT TO USE A CUSTOM APP LOGO. DEFINE THE LOGO IN src/custom/Logo.tsx | ||
REACT_APP_CUSTOM_LOGO="" | ||
REACT_APP_EMAIL_AUTHOR="" | ||
# IF YOU HAVE A REPO YOU WANT TO ALLOW USERS TO SCAN, ENTER IT HERE BY VCSORG & REPO, e.g. VCSORG="github/myorg", REPO="scan-test-repo" | ||
REACT_APP_DEMO_USER_VCSORG="" | ||
REACT_APP_DEMO_USER_REPO="" | ||
# IF YOU HAVE USER DOCUMENTION, PROVIDE THE URL TO IT HERE | ||
REACT_APP_DOC_URL_USAGE="" | ||
# IF YOU HAVE A METHOD FOR PROVISIONING NEW USER ACCESS, PROVIDE THE URL TO IT HERE | ||
REACT_APP_URL_PROVISION="" | ||
REACT_APP_API_NAMESPACE="/api/v1" | ||
// delay to show a notification before automatically dismissing it (6 seconds in milliseconds) | ||
REACT_APP_NOTIFICATION_DELAY=6000 | ||
// delay to auto-reload data (30 seconds in milliseconds) | ||
REACT_APP_RELOAD_INTERVAL=30000 | ||
// delay to check for maintenance mode (5 minutes in milliseconds) | ||
REACT_APP_MAINT_CHECK_INTERVAL=300000 | ||
REACT_APP_TABLE_ROWS_PER_PAGE_DEFAULT=10 | ||
REACT_APP_TABLE_ROWS_PER_PAGE_OPTIONS="5,10,20" | ||
# ADD THE CLIENT ID FOR YOUR PROD GITHUB APP HERE | ||
REACT_APP_SERVICE_GITHUB_URL="https://github.com/login/oauth/authorize?client_id=" |
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,16 @@ | ||
REACT_APP_VERSION=$npm_package_version | ||
REACT_APP_EMAIL_AUTHOR="[email protected]" | ||
REACT_APP_DEMO_USER_VCSORG="goodVcs/goodOrg" | ||
REACT_APP_DEMO_USER_REPO="artemis-test-data" | ||
REACT_APP_DOC_URL_USAGE="/docs" | ||
REACT_APP_URL_PROVISION="/provision" | ||
REACT_APP_API_NAMESPACE="/mockApi/v1" | ||
// delay to show a notification before automatically dismissing it (6 seconds in milliseconds) | ||
REACT_APP_NOTIFICATION_DELAY=6000 | ||
// delay to auto-reload data (30 seconds in milliseconds) | ||
REACT_APP_RELOAD_INTERVAL=30000 | ||
// delay to check for maintenance mode (5 minutes in milliseconds) | ||
REACT_APP_MAINT_CHECK_INTERVAL=300000 | ||
REACT_APP_TABLE_ROWS_PER_PAGE_DEFAULT=10 | ||
REACT_APP_TABLE_ROWS_PER_PAGE_OPTIONS="5,10,20" | ||
REACT_APP_SERVICE_GITHUB_URL="/settings?code=0123456789abcdefabcd" |
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,2 @@ | ||
src/locale/_build/ | ||
src/locale/**/*.*js |
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,19 @@ | ||
{ | ||
"catalogs": [ | ||
{ | ||
"path": "<rootDir>/src/locale/{locale}/messages", | ||
"include": [ | ||
"<rootDir>/src" | ||
], | ||
"exclude": [ | ||
"**/node_modules/**" | ||
] | ||
} | ||
], | ||
"locales": ["en"], | ||
"format": "po", | ||
"sourceLocale": "en", | ||
"compileNamespace": "cjs", | ||
"orderBy": "messageId", | ||
"runtimeConfigModule": ["@lingui/core", "i18n"] | ||
} |
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,7 @@ | ||
{ | ||
"default": true, | ||
"line-length": false, | ||
"no-inline-html": { | ||
"allowed_elements": [ "pre" ] | ||
} | ||
} |
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 @@ | ||
16.15.1 |
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,3 @@ | ||
# Ignore artifacts: | ||
build | ||
coverage |
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,4 @@ | ||
{ | ||
"tabWidth": 2, | ||
"useTabs": true | ||
} |
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,39 @@ | ||
# Note: This Dockerfile creates an image intended ONLY for local development and testing | ||
# it may contain unnessary source code and artifacts that are NOT intended for deployment | ||
|
||
FROM node:16-bullseye-slim | ||
|
||
WORKDIR /app | ||
|
||
# Note: don't copy all source code immediately | ||
# just grab the package file and npm install dependencies | ||
# that way, the expensive dependency install can be performed ONCE in a layer | ||
# and it's inexpensive to rebuild the container when | ||
# modifications are made to the source code in subsequent layers | ||
COPY package*.json hadolint.sha512 ./ | ||
|
||
# hadolint: hadlolint unavailable via apt, so use the binary from GitHub | ||
# it doesn't include a file checksum, so use one we've generated to validate the package | ||
# hadolint ignore=DL3008 | ||
RUN apt-get update && \ | ||
grep security /etc/apt/sources.list > /etc/apt/security.sources.list && \ | ||
apt-get upgrade -y && \ | ||
apt-get upgrade -y -o Dir::Etc::Sourcelist=/etc/apt/security.sources.list && \ | ||
apt-get install -y --no-install-recommends jq wget ca-certificates make && \ | ||
wget --quiet \ | ||
https://github.com/hadolint/hadolint/releases/download/v2.6.0/hadolint-Linux-x86_64 \ | ||
-O ./hadolint && \ | ||
sha512sum -c hadolint.sha512 && \ | ||
chmod 0766 ./hadolint && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# hadolint ignore=DL3059 | ||
RUN npm install -g npm@^8.12.1 && \ | ||
npm install && \ | ||
npm install -g serve@^13.0.2 | ||
|
||
COPY . . | ||
COPY publicCustom ./public/ | ||
|
||
CMD ["npm", "run", "start"] |
Oops, something went wrong.