├── .nvmrc ├── .dockerignore ├── src ├── Pages-Devtron-2.0 │ ├── SecurityCenter │ │ └── index.ts │ ├── CostVisibility │ │ ├── index.ts │ │ └── Overview │ │ │ ├── index.ts │ │ │ └── Overview.tsx │ ├── Automation&Enablement │ │ ├── index.ts │ │ └── Overview │ │ │ ├── index.ts │ │ │ └── Overview.tsx │ ├── GlobalConfiguration │ │ ├── index.ts │ │ └── Overview │ │ │ ├── index.ts │ │ │ └── Overview.tsx │ ├── GlobalOverview │ │ ├── index.ts │ │ └── GlobalOverview.tsx │ ├── InfrastructureManagement │ │ ├── index.ts │ │ └── Overview │ │ │ ├── index.ts │ │ │ └── Overview.tsx │ ├── SoftwareReleaseManagement │ │ ├── index.ts │ │ └── Overview │ │ │ ├── index.ts │ │ │ └── Overview.tsx │ └── ApplicationManagement │ │ ├── Configurations │ │ ├── index.ts │ │ └── styles.scss │ │ └── index.ts ├── Pages │ ├── Shared │ │ ├── CommandBar │ │ │ ├── index.ts │ │ │ └── CommandBar.scss │ │ ├── AddEditCluster │ │ │ └── index.tsx │ │ ├── UpgradeToEnterprise │ │ │ └── index.ts │ │ ├── index.ts │ │ ├── LinkedCIDetailsModal │ │ │ ├── index.ts │ │ │ └── linkedCIAppList.scss │ │ ├── ConfigMapSecret │ │ │ └── index.ts │ │ ├── OrganizationFrame │ │ │ ├── index.ts │ │ │ ├── organizationFrame.scss │ │ │ └── OrganizationTextLogo.tsx │ │ ├── ApplicationDeletionInfo │ │ │ └── types.ts │ │ └── EnvironmentOverviewTable │ │ │ └── index.ts │ ├── GlobalConfigurations │ │ ├── ClustersAndEnvironments │ │ │ ├── Cluster.md │ │ │ ├── ClusterForm │ │ │ │ └── constants.ts │ │ │ ├── CreateCluster │ │ │ │ ├── constants.ts │ │ │ │ └── index.ts │ │ │ ├── ClusterEnvironmentDrawer │ │ │ │ └── index.ts │ │ │ └── constants.ts │ │ ├── BuildInfra │ │ │ ├── index.ts │ │ │ ├── types.tsx │ │ │ └── styles.scss │ │ ├── index.ts │ │ ├── Authorization │ │ │ ├── APITokens │ │ │ │ └── index.ts │ │ │ ├── PermissionGroups │ │ │ │ ├── index.ts │ │ │ │ ├── List │ │ │ │ │ └── index.ts │ │ │ │ └── AddEdit │ │ │ │ │ └── index.ts │ │ │ ├── UserPermissions │ │ │ │ ├── constants.ts │ │ │ │ ├── index.ts │ │ │ │ ├── List │ │ │ │ │ └── index.ts │ │ │ │ └── AddEdit │ │ │ │ │ └── index.ts │ │ │ ├── Shared │ │ │ │ └── components │ │ │ │ │ ├── SuperAdminInfoBar │ │ │ │ │ └── index.ts │ │ │ │ │ ├── AppPermissions │ │ │ │ │ ├── index.ts │ │ │ │ │ └── roleSelectorStyles.scss │ │ │ │ │ ├── ChartPermission │ │ │ │ │ ├── index.ts │ │ │ │ │ └── types.ts │ │ │ │ │ ├── UserPermissionGroupsSelector │ │ │ │ │ └── index.ts │ │ │ │ │ └── PermissionConfigurationForm │ │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── SSOLoginServices │ │ │ │ └── index.ts │ │ ├── DeploymentCharts │ │ │ ├── index.tsx │ │ │ └── List │ │ │ │ └── index.tsx │ │ └── PluginPolicy │ │ │ └── OffendingPipelineModal │ │ │ ├── index.ts │ │ │ └── types.ts │ ├── ChartStore │ │ ├── index.ts │ │ └── ChartDetails │ │ │ ├── index.ts │ │ │ └── chartDetails.scss │ ├── Applications │ │ ├── index.ts │ │ └── DevtronApps │ │ │ ├── index.ts │ │ │ └── Details │ │ │ ├── index.ts │ │ │ └── AppConfigurations │ │ │ ├── index.ts │ │ │ └── MainContent │ │ │ ├── DeploymentConfigCompare │ │ │ └── index.ts │ │ │ ├── DeploymentTemplate │ │ │ ├── GUIView │ │ │ │ └── index.ts │ │ │ ├── index.ts │ │ │ └── DeploymentTemplate.scss │ │ │ ├── NoOverrideEmptyState.scss │ │ │ └── ConfigHeader.scss │ ├── App │ │ ├── Configurations │ │ │ ├── index.ts │ │ │ └── WorkflowEditor │ │ │ │ ├── CreateCICDPipeline │ │ │ │ └── index.ts │ │ │ │ ├── SourceMaterialsSelector │ │ │ │ └── index.ts │ │ │ │ ├── CDPipelineDeploymentAppType │ │ │ │ └── index.ts │ │ │ │ └── index.ts │ │ ├── CreateAppModal │ │ │ ├── index.ts │ │ │ ├── Workflow │ │ │ │ └── index.ts │ │ │ └── AppClone │ │ │ │ └── index.ts │ │ └── Details │ │ │ └── ExternalFlux │ │ │ └── index.tsx │ ├── Releases │ │ └── Detail │ │ │ ├── index.ts │ │ │ └── Configurations │ │ │ ├── index.ts │ │ │ └── styles.scss │ └── index.ts ├── assets │ ├── logo │ │ └── logo.png │ ├── img │ │ ├── bg-login.png │ │ ├── lifebuoy.png │ │ ├── terminal.png │ │ ├── bug-fixing.webp │ │ ├── devtron-bg.webp │ │ ├── empty-list.png │ │ ├── ic-preview.png │ │ ├── linked-ci.webp │ │ ├── terminal@2x.png │ │ ├── empty-folder.webp │ │ ├── external-ci.webp │ │ ├── guide-onboard.png │ │ ├── helm-collage.png │ │ ├── ic-success@2x.png │ │ ├── no-artifact.webp │ │ ├── about-devtron@2x.png │ │ ├── devtron-bg-dark.webp │ │ ├── empty-joblist.webp │ │ ├── guide-create-app.png │ │ ├── ic-build-deploy.png │ │ ├── ic-empty-done@2x.png │ │ ├── ic-error-hosturl.png │ │ ├── page-not-found.png │ │ ├── pipeline-deploy.png │ │ ├── post-build-empty.png │ │ ├── pre-build-empty.png │ │ ├── app-not-configured.png │ │ ├── cm-cs-empty-state.png │ │ ├── empty-noresult@2x.png │ │ ├── empty-pre-deploy.webp │ │ ├── ic-empty-ea-charts.png │ │ ├── ic-empty-error@2x.png │ │ ├── ic-loading-failure.png │ │ ├── ic-more-extensions.png │ │ ├── ic-pipeline-ci@2x.png │ │ ├── img-page-blocked.webp │ │ ├── linked-cd-bulk-ci.webp │ │ ├── node-app-thumbnail.png │ │ ├── guided-helm-cluster.png │ │ ├── guided-helm-collage.png │ │ ├── ic-checklist-app@2x.png │ │ ├── ic-checklist-chart@2x.png │ │ ├── ic-dockerfile-in-use.png │ │ ├── ic-empty-ea--security.png │ │ ├── ic-empty-workflow@3x.png │ │ ├── ic-error-prometheus.png │ │ ├── ic-pipeline-deploy@2x.png │ │ ├── ic_upload_chart_error.png │ │ ├── no-approved-images@2x.png │ │ ├── no-pending-action@2x.png │ │ ├── post-deployment-empty.png │ │ ├── pre-deployment-empty.png │ │ ├── empty-externallinks@2x.png │ │ ├── ic-empty-chartgroup@2x.png │ │ ├── ic-empty-custom-charts.webp │ │ ├── ic-empty-dep-metrics@2x.png │ │ ├── ic-empty-ea-app-detail.png │ │ ├── ic-empty-generate-token.png │ │ ├── ic-empty-notifications.png │ │ ├── no-cluster-empty-state.png │ │ ├── paper-rocket-deployment.png │ │ ├── ic-checklist-sample-app@2x.png │ │ ├── ic-no-chart-in-clusters@2x.png │ │ ├── application-group-empty-state.webp │ │ └── ic-feature-deploymentgroups@3x.png │ ├── gif │ │ └── uploading.gif │ ├── icons │ │ ├── ic-kibana.png │ │ ├── ic-loki.png │ │ ├── ic-grafana.png │ │ ├── ic-cloudwatch.png │ │ ├── ic-coralogix.png │ │ ├── ic-selected-corner.png │ │ ├── tools │ │ │ ├── ic-link-bugs.png │ │ │ ├── ic-link-chat.png │ │ │ ├── ic-link-jira.png │ │ │ ├── ic-link-alerts.png │ │ │ ├── ic-link-folder.png │ │ │ ├── ic-link-report.png │ │ │ ├── ic-link-swagger.png │ │ │ ├── ic-link-webpage.png │ │ │ ├── ic-link-confluence.png │ │ │ ├── ic-link-document.png │ │ │ └── ic-link-performance.png │ │ ├── RectangleLine.svg │ │ ├── ic-dropdown-filled.svg │ │ ├── ic-dot.svg │ │ ├── appstatus │ │ │ ├── bg-blue.svg │ │ │ ├── bg-gray.svg │ │ │ ├── bg-white.svg │ │ │ ├── notdeployed.svg │ │ │ ├── ic-check.svg │ │ │ └── ic-chevron-down.svg │ │ ├── ic-stop.svg │ │ ├── ic-add.svg │ │ ├── ic-arrow-right.svg │ │ ├── mdeditor │ │ │ ├── ic-code.svg │ │ │ ├── ic-italic.svg │ │ │ ├── ic-quote.svg │ │ │ └── ic-checked-list.svg │ │ ├── ic-arrow-backward.svg │ │ ├── ic-stop-filled.svg │ │ ├── ic-activity.svg │ │ ├── ic-arrow-up-down.svg │ │ ├── ic-check.svg │ │ ├── ic-group-filter.svg │ │ ├── ic-arrow-down.svg │ │ ├── ic-checks.svg │ │ ├── ic-chevron-down.svg │ │ ├── ic-play.svg │ │ ├── ic-lines.svg │ │ ├── ic-minus.svg │ │ ├── ic-appstatus-cancelled.svg │ │ ├── ic-arrow-line-up.svg │ │ ├── ic-sort-arrow-down.svg │ │ ├── ic-arrow-line-down.svg │ │ ├── ic-exit-fullscreen-2.svg │ │ ├── ic-arrows-left-right.svg │ │ ├── ic-back.svg │ │ ├── ic-cordon.svg │ │ ├── ic-chart-line-up.svg │ │ ├── ic-clock.svg │ │ └── misc │ │ │ └── arrow-chevron-down-black.svg │ └── fonts │ │ ├── glyphicons-halflings-regular.eot │ │ ├── glyphicons-halflings-regular.ttf │ │ ├── glyphicons-halflings-regular.woff │ │ └── glyphicons-halflings-regular.woff2 ├── components │ ├── security │ │ ├── Vulnerabilities │ │ │ ├── CVEList │ │ │ │ ├── index.ts │ │ │ │ ├── types.ts │ │ │ │ ├── utils.ts │ │ │ │ └── CVEListTableCellComponents.tsx │ │ │ ├── styles.scss │ │ │ ├── index.ts │ │ │ └── types.ts │ │ ├── SecurityScansTab │ │ │ └── index.ts │ │ └── AddCVEPolicy │ │ │ └── index.tsx │ ├── v2 │ │ ├── assets │ │ │ └── icons │ │ │ │ ├── ic-404-error.png │ │ │ │ ├── ic-dropdown-filled.svg │ │ │ │ ├── ic-stop.svg │ │ │ │ ├── ic-check.svg │ │ │ │ ├── ic-chevron-down.svg │ │ │ │ └── ic-play.svg │ │ ├── appDetails │ │ │ ├── k8Resource │ │ │ │ └── nodeDetail │ │ │ │ │ ├── sampleConfig.json │ │ │ │ │ └── NodeDetailTabs │ │ │ │ │ └── constants.ts │ │ │ └── sourceInfo │ │ │ │ └── environmentStatus │ │ │ │ ├── notesDrawer.type.ts │ │ │ │ └── constants.ts │ │ └── headers │ │ │ └── appHeader.type.ts │ ├── Navigation │ │ └── index.ts │ ├── app │ │ ├── details │ │ │ ├── triggerView │ │ │ │ ├── BuildImageModal │ │ │ │ │ ├── GitInfoMaterial.scss │ │ │ │ │ └── index.ts │ │ │ │ ├── DeployImageModal │ │ │ │ │ ├── index.ts │ │ │ │ │ ├── MaterialListSkeleton.tsx │ │ │ │ │ └── constants.ts │ │ │ │ ├── utils.ts │ │ │ │ ├── PipelineConfigDiff │ │ │ │ │ └── index.ts │ │ │ │ └── TriggerWebhook.scss │ │ │ ├── appDetails │ │ │ │ └── Readme.md │ │ │ └── cIDetails │ │ │ │ └── Readme.md │ │ ├── list │ │ │ ├── constants.tsx │ │ │ └── expandedRow │ │ │ │ └── types.tsx │ │ ├── WebWorker.ts │ │ └── typing.d.ts │ ├── ciPipeline │ │ └── Readme.md │ ├── Jobs │ │ └── JobList │ │ │ ├── types.ts │ │ │ └── constants.ts │ ├── globalConfigurations │ │ ├── Readme.md │ │ └── utils.ts │ ├── common │ │ ├── hooks │ │ │ ├── index.ts │ │ │ ├── useOnline │ │ │ │ ├── index.ts │ │ │ │ └── types.ts │ │ │ └── useVersionUpdate │ │ │ │ ├── index.ts │ │ │ │ └── types.ts │ │ ├── Contexts │ │ │ └── index.ts │ │ ├── SidePanel │ │ │ └── index.ts │ │ ├── DynamicTabs │ │ │ ├── index.ts │ │ │ └── constants.ts │ │ ├── edge │ │ │ └── colors.tsx │ │ ├── TLSConnectionForm │ │ │ └── index.ts │ │ ├── DeploymentTypeIcon │ │ │ └── index.tsx │ │ ├── ClusterMetaDataBar │ │ │ └── types.ts │ │ ├── HiddenInput │ │ │ └── types.ts │ │ ├── helpers │ │ │ ├── isEmpty.ts │ │ │ └── InteractiveCellText │ │ │ │ └── types.ts │ │ ├── ClusterNotReachableDialog │ │ │ └── ClusterNotReachableDialog.type.ts │ │ └── Banner │ │ │ └── banner.scss │ ├── workflowEditor │ │ └── index.ts │ ├── ApplicationGroup │ │ ├── List │ │ │ └── LoadingShimmer │ │ │ │ ├── index.ts │ │ │ │ ├── types.ts │ │ │ │ └── loadingShimmerList.scss │ │ ├── Details │ │ │ └── TriggerView │ │ │ │ └── constants.ts │ │ └── EnvEmptyStates.tsx │ ├── CIPipelineN │ │ ├── VariableDataTable │ │ │ └── index.ts │ │ ├── CreatePluginModal │ │ │ ├── index.ts │ │ │ └── CreatePluginModal.scss │ │ └── PluginDetailHeader │ │ │ ├── index.ts │ │ │ └── types.ts │ ├── chartRepo │ │ ├── chartRepo.types.ts │ │ ├── ChartRepoType.tsx │ │ └── chartRepo.scss │ ├── ResourceBrowser │ │ └── ResourceList │ │ │ └── index.ts │ ├── __mocks__ │ │ └── xterm-webfont.js │ ├── AppSelector │ │ └── index.ts │ ├── ClusterNodes │ │ └── ClusterList │ │ │ ├── ClusterStatus │ │ │ ├── index.ts │ │ │ └── types.ts │ │ │ └── index.ts │ ├── checkList │ │ └── checklist.service.ts │ ├── cdPipeline │ │ └── MigrateToDevtron │ │ │ ├── index.ts │ │ │ └── MigrateToDevtronValidationFactory.scss │ ├── externalArgoApps │ │ └── externalArgoApp.type.ts │ ├── login │ │ ├── login.service.ts │ │ └── login.types.ts │ ├── material │ │ └── Readme.md │ ├── charts │ │ └── list │ │ │ └── types.ts │ ├── external-apps │ │ └── types.ts │ └── gitProvider │ │ └── gitProvider.scss ├── css │ └── themeTokens.scss ├── uploadTestReport.py ├── setupTests.js ├── config │ └── index.ts └── vite-env.d.ts ├── .env.k8sApp ├── .github ├── CODEOWNERS ├── semantic.yml ├── workflows │ └── ci.yml └── ISSUE_TEMPLATE │ └── enhancement_proposal.md ├── favicon.ico ├── .lintstagedrc ├── .yarnrc.yml ├── tsconfig.jest.json ├── .env.production ├── .env.development ├── .deepsource.toml ├── .vscode ├── settings.json └── extensions.json ├── .husky └── pre-commit ├── .prettierrc.js ├── nginx-default.conf ├── .gitignore └── linter.py /.nvmrc: -------------------------------------------------------------------------------- 1 | v22 2 | -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | README.md 3 | -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/SecurityCenter/index.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.env.k8sApp: -------------------------------------------------------------------------------- 1 | VITE_HIDE_DISCORD=true 2 | K8S_CLIENT=true -------------------------------------------------------------------------------- /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @vivek-devtron @vikramdevtron 2 | -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/CostVisibility/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Overview' 2 | -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/favicon.ico -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/Automation&Enablement/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Overview' 2 | -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/GlobalConfiguration/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Overview' 2 | -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/GlobalOverview/index.ts: -------------------------------------------------------------------------------- 1 | export * from './GlobalOverview' 2 | -------------------------------------------------------------------------------- /.lintstagedrc: -------------------------------------------------------------------------------- 1 | { 2 | "*.{js,jsx,ts,tsx}": [ 3 | "eslint" 4 | ] 5 | } 6 | -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/CostVisibility/Overview/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Overview' 2 | -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/InfrastructureManagement/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Overview' 2 | -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/SoftwareReleaseManagement/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Overview' 2 | -------------------------------------------------------------------------------- /.yarnrc.yml: -------------------------------------------------------------------------------- 1 | nodeLinker: node-modules 2 | 3 | yarnPath: .yarn/releases/yarn-4.9.2.cjs 4 | -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/Automation&Enablement/Overview/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Overview' 2 | -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/GlobalConfiguration/Overview/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Overview' 2 | -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/InfrastructureManagement/Overview/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Overview' 2 | -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/index.ts: -------------------------------------------------------------------------------- 1 | export * from './Overview' 2 | -------------------------------------------------------------------------------- /src/Pages/Shared/CommandBar/index.ts: -------------------------------------------------------------------------------- 1 | export { default as CommandBar } from './CommandBar.component' 2 | -------------------------------------------------------------------------------- /src/assets/logo/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/logo/logo.png -------------------------------------------------------------------------------- /src/components/security/Vulnerabilities/CVEList/index.ts: -------------------------------------------------------------------------------- 1 | export { default as CVEList } from './CVEList' 2 | -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/ApplicationManagement/Configurations/index.ts: -------------------------------------------------------------------------------- 1 | export * from './ConfigurationsRouter' 2 | -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/CostVisibility/Overview/Overview.tsx: -------------------------------------------------------------------------------- 1 | export const Overview = () =>
Overview
2 | -------------------------------------------------------------------------------- /src/Pages/Shared/AddEditCluster/index.tsx: -------------------------------------------------------------------------------- 1 | export { default as AddClusterButton } from './AddClusterButton' 2 | -------------------------------------------------------------------------------- /src/assets/img/bg-login.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/bg-login.png -------------------------------------------------------------------------------- /src/assets/img/lifebuoy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/lifebuoy.png -------------------------------------------------------------------------------- /src/assets/img/terminal.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/terminal.png -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/GlobalConfiguration/Overview/Overview.tsx: -------------------------------------------------------------------------------- 1 | export const Overview = () =>
Overview
2 | -------------------------------------------------------------------------------- /src/assets/gif/uploading.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/gif/uploading.gif -------------------------------------------------------------------------------- /src/assets/icons/ic-kibana.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/icons/ic-kibana.png -------------------------------------------------------------------------------- /src/assets/icons/ic-loki.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/icons/ic-loki.png -------------------------------------------------------------------------------- /src/assets/img/bug-fixing.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/bug-fixing.webp -------------------------------------------------------------------------------- /src/assets/img/devtron-bg.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/devtron-bg.webp -------------------------------------------------------------------------------- /src/assets/img/empty-list.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/empty-list.png -------------------------------------------------------------------------------- /src/assets/img/ic-preview.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-preview.png -------------------------------------------------------------------------------- /src/assets/img/linked-ci.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/linked-ci.webp -------------------------------------------------------------------------------- /src/assets/img/terminal@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/terminal@2x.png -------------------------------------------------------------------------------- /src/components/security/SecurityScansTab/index.ts: -------------------------------------------------------------------------------- 1 | export { default as SecurityScansTab } from './SecurityScansTab' 2 | -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/Automation&Enablement/Overview/Overview.tsx: -------------------------------------------------------------------------------- 1 | export const Overview = () =>
Overview
2 | -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/GlobalOverview/GlobalOverview.tsx: -------------------------------------------------------------------------------- 1 | export const GlobalOverview = () =>
GlobalOverview
2 | -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/InfrastructureManagement/Overview/Overview.tsx: -------------------------------------------------------------------------------- 1 | export const Overview = () =>
Overview
2 | -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/SoftwareReleaseManagement/Overview/Overview.tsx: -------------------------------------------------------------------------------- 1 | export const Overview = () =>
Overview
2 | -------------------------------------------------------------------------------- /src/assets/icons/ic-grafana.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/icons/ic-grafana.png -------------------------------------------------------------------------------- /src/assets/img/empty-folder.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/empty-folder.webp -------------------------------------------------------------------------------- /src/assets/img/external-ci.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/external-ci.webp -------------------------------------------------------------------------------- /src/assets/img/guide-onboard.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/guide-onboard.png -------------------------------------------------------------------------------- /src/assets/img/helm-collage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/helm-collage.png -------------------------------------------------------------------------------- /src/assets/img/ic-success@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-success@2x.png -------------------------------------------------------------------------------- /src/assets/img/no-artifact.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/no-artifact.webp -------------------------------------------------------------------------------- /tsconfig.jest.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./tsconfig", 3 | "compilerOptions": { 4 | "jsx": "react" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/assets/icons/ic-cloudwatch.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/icons/ic-cloudwatch.png -------------------------------------------------------------------------------- /src/assets/icons/ic-coralogix.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/icons/ic-coralogix.png -------------------------------------------------------------------------------- /src/assets/img/about-devtron@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/about-devtron@2x.png -------------------------------------------------------------------------------- /src/assets/img/devtron-bg-dark.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/devtron-bg-dark.webp -------------------------------------------------------------------------------- /src/assets/img/empty-joblist.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/empty-joblist.webp -------------------------------------------------------------------------------- /src/assets/img/guide-create-app.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/guide-create-app.png -------------------------------------------------------------------------------- /src/assets/img/ic-build-deploy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-build-deploy.png -------------------------------------------------------------------------------- /src/assets/img/ic-empty-done@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-empty-done@2x.png -------------------------------------------------------------------------------- /src/assets/img/ic-error-hosturl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-error-hosturl.png -------------------------------------------------------------------------------- /src/assets/img/page-not-found.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/page-not-found.png -------------------------------------------------------------------------------- /src/assets/img/pipeline-deploy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/pipeline-deploy.png -------------------------------------------------------------------------------- /src/assets/img/post-build-empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/post-build-empty.png -------------------------------------------------------------------------------- /src/assets/img/pre-build-empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/pre-build-empty.png -------------------------------------------------------------------------------- /src/Pages/Shared/UpgradeToEnterprise/index.ts: -------------------------------------------------------------------------------- 1 | export { default as UpgradeToEnterpriseDialog } from './UpgradeToEnterpriseDialog' 2 | -------------------------------------------------------------------------------- /src/assets/img/app-not-configured.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/app-not-configured.png -------------------------------------------------------------------------------- /src/assets/img/cm-cs-empty-state.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/cm-cs-empty-state.png -------------------------------------------------------------------------------- /src/assets/img/empty-noresult@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/empty-noresult@2x.png -------------------------------------------------------------------------------- /src/assets/img/empty-pre-deploy.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/empty-pre-deploy.webp -------------------------------------------------------------------------------- /src/assets/img/ic-empty-ea-charts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-empty-ea-charts.png -------------------------------------------------------------------------------- /src/assets/img/ic-empty-error@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-empty-error@2x.png -------------------------------------------------------------------------------- /src/assets/img/ic-loading-failure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-loading-failure.png -------------------------------------------------------------------------------- /src/assets/img/ic-more-extensions.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-more-extensions.png -------------------------------------------------------------------------------- /src/assets/img/ic-pipeline-ci@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-pipeline-ci@2x.png -------------------------------------------------------------------------------- /src/assets/img/img-page-blocked.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/img-page-blocked.webp -------------------------------------------------------------------------------- /src/assets/img/linked-cd-bulk-ci.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/linked-cd-bulk-ci.webp -------------------------------------------------------------------------------- /src/assets/img/node-app-thumbnail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/node-app-thumbnail.png -------------------------------------------------------------------------------- /src/components/security/Vulnerabilities/styles.scss: -------------------------------------------------------------------------------- 1 | .vulnerability-summary-card { 2 | grid-template-columns: 180px 1fr 1fr; 3 | } -------------------------------------------------------------------------------- /.env.production: -------------------------------------------------------------------------------- 1 | VITE_ORCHESTRATOR_ROOT="/orchestrator" 2 | VITE_GRAFANA_ORG_ID=2 3 | VITE_NODE_ENV="production" 4 | BASE_URL="/dashboard" -------------------------------------------------------------------------------- /src/assets/icons/ic-selected-corner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/icons/ic-selected-corner.png -------------------------------------------------------------------------------- /src/assets/icons/tools/ic-link-bugs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/icons/tools/ic-link-bugs.png -------------------------------------------------------------------------------- /src/assets/icons/tools/ic-link-chat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/icons/tools/ic-link-chat.png -------------------------------------------------------------------------------- /src/assets/icons/tools/ic-link-jira.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/icons/tools/ic-link-jira.png -------------------------------------------------------------------------------- /src/assets/img/guided-helm-cluster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/guided-helm-cluster.png -------------------------------------------------------------------------------- /src/assets/img/guided-helm-collage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/guided-helm-collage.png -------------------------------------------------------------------------------- /src/assets/img/ic-checklist-app@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-checklist-app@2x.png -------------------------------------------------------------------------------- /src/assets/img/ic-checklist-chart@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-checklist-chart@2x.png -------------------------------------------------------------------------------- /src/assets/img/ic-dockerfile-in-use.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-dockerfile-in-use.png -------------------------------------------------------------------------------- /src/assets/img/ic-empty-ea--security.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-empty-ea--security.png -------------------------------------------------------------------------------- /src/assets/img/ic-empty-workflow@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-empty-workflow@3x.png -------------------------------------------------------------------------------- /src/assets/img/ic-error-prometheus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-error-prometheus.png -------------------------------------------------------------------------------- /src/assets/img/ic-pipeline-deploy@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-pipeline-deploy@2x.png -------------------------------------------------------------------------------- /src/assets/img/ic_upload_chart_error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic_upload_chart_error.png -------------------------------------------------------------------------------- /src/assets/img/no-approved-images@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/no-approved-images@2x.png -------------------------------------------------------------------------------- /src/assets/img/no-pending-action@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/no-pending-action@2x.png -------------------------------------------------------------------------------- /src/assets/img/post-deployment-empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/post-deployment-empty.png -------------------------------------------------------------------------------- /src/assets/img/pre-deployment-empty.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/pre-deployment-empty.png -------------------------------------------------------------------------------- /src/assets/icons/tools/ic-link-alerts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/icons/tools/ic-link-alerts.png -------------------------------------------------------------------------------- /src/assets/icons/tools/ic-link-folder.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/icons/tools/ic-link-folder.png -------------------------------------------------------------------------------- /src/assets/icons/tools/ic-link-report.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/icons/tools/ic-link-report.png -------------------------------------------------------------------------------- /src/assets/icons/tools/ic-link-swagger.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/icons/tools/ic-link-swagger.png -------------------------------------------------------------------------------- /src/assets/icons/tools/ic-link-webpage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/icons/tools/ic-link-webpage.png -------------------------------------------------------------------------------- /src/assets/img/empty-externallinks@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/empty-externallinks@2x.png -------------------------------------------------------------------------------- /src/assets/img/ic-empty-chartgroup@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-empty-chartgroup@2x.png -------------------------------------------------------------------------------- /src/assets/img/ic-empty-custom-charts.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-empty-custom-charts.webp -------------------------------------------------------------------------------- /src/assets/img/ic-empty-dep-metrics@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-empty-dep-metrics@2x.png -------------------------------------------------------------------------------- /src/assets/img/ic-empty-ea-app-detail.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-empty-ea-app-detail.png -------------------------------------------------------------------------------- /src/assets/img/ic-empty-generate-token.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-empty-generate-token.png -------------------------------------------------------------------------------- /src/assets/img/ic-empty-notifications.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-empty-notifications.png -------------------------------------------------------------------------------- /src/assets/img/no-cluster-empty-state.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/no-cluster-empty-state.png -------------------------------------------------------------------------------- /src/assets/img/paper-rocket-deployment.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/paper-rocket-deployment.png -------------------------------------------------------------------------------- /src/assets/icons/tools/ic-link-confluence.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/icons/tools/ic-link-confluence.png -------------------------------------------------------------------------------- /src/assets/icons/tools/ic-link-document.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/icons/tools/ic-link-document.png -------------------------------------------------------------------------------- /src/assets/img/ic-checklist-sample-app@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-checklist-sample-app@2x.png -------------------------------------------------------------------------------- /src/assets/img/ic-no-chart-in-clusters@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-no-chart-in-clusters@2x.png -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/ApplicationManagement/index.ts: -------------------------------------------------------------------------------- 1 | export { Configurations as ApplicationManagementConfigurationsRouter } from './Configurations' 2 | -------------------------------------------------------------------------------- /src/assets/icons/tools/ic-link-performance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/icons/tools/ic-link-performance.png -------------------------------------------------------------------------------- /src/components/v2/assets/icons/ic-404-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/components/v2/assets/icons/ic-404-error.png -------------------------------------------------------------------------------- /src/assets/fonts/glyphicons-halflings-regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/fonts/glyphicons-halflings-regular.eot -------------------------------------------------------------------------------- /src/assets/fonts/glyphicons-halflings-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/fonts/glyphicons-halflings-regular.ttf -------------------------------------------------------------------------------- /src/assets/fonts/glyphicons-halflings-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/fonts/glyphicons-halflings-regular.woff -------------------------------------------------------------------------------- /src/assets/img/application-group-empty-state.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/application-group-empty-state.webp -------------------------------------------------------------------------------- /src/assets/img/ic-feature-deploymentgroups@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/img/ic-feature-deploymentgroups@3x.png -------------------------------------------------------------------------------- /src/components/Navigation/index.ts: -------------------------------------------------------------------------------- 1 | export { APPLICATION_MANAGEMENT_CONFIGURATIONS, getNavigationList } from './constants' 2 | export * from './Navigation' 3 | -------------------------------------------------------------------------------- /src/Pages-Devtron-2.0/ApplicationManagement/Configurations/styles.scss: -------------------------------------------------------------------------------- 1 | .application-management-configurations { 2 | grid-template-columns: 240px 1fr; 3 | } 4 | -------------------------------------------------------------------------------- /src/assets/fonts/glyphicons-halflings-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/devtron-labs/dashboard/HEAD/src/assets/fonts/glyphicons-halflings-regular.woff2 -------------------------------------------------------------------------------- /.env.development: -------------------------------------------------------------------------------- 1 | VITE_ORCHESTRATOR_ROOT="/orchestrator" 2 | VITE_GRAFANA_ORG_ID=2 3 | VITE_K8S_CLIENT=false 4 | VITE_NODE_ENV="development" 5 | BASE_URL="/dashboard" -------------------------------------------------------------------------------- /src/components/app/details/triggerView/BuildImageModal/GitInfoMaterial.scss: -------------------------------------------------------------------------------- 1 | .git-info-material { 2 | &__container { 3 | grid-template-columns: 234px 1fr; 4 | } 5 | } -------------------------------------------------------------------------------- /src/components/app/details/triggerView/DeployImageModal/index.ts: -------------------------------------------------------------------------------- 1 | export { default as BulkDeployModal } from './BulkDeployModal' 2 | export { default as DeployImageModal } from './DeployImageModal' 3 | -------------------------------------------------------------------------------- /src/components/app/details/triggerView/BuildImageModal/index.ts: -------------------------------------------------------------------------------- 1 | export { default as BuildImageModal } from './BuildImageModal' 2 | export { default as BulkBuildImageModal } from './BulkBuildImageModal' 3 | -------------------------------------------------------------------------------- /.github/semantic.yml: -------------------------------------------------------------------------------- 1 | titleOnly: true 2 | 3 | types: 4 | - fix 5 | - feat 6 | - feature 7 | - fixes 8 | - chore 9 | - perf 10 | - docs 11 | - doc 12 | - release 13 | - misc 14 | - sync -------------------------------------------------------------------------------- /src/components/ciPipeline/Readme.md: -------------------------------------------------------------------------------- 1 | The CIPipeline component is rendered on ci-pipeline route. We are redirected to this route from CINode component which gets all the details for the route and all from Workflow component 2 | -------------------------------------------------------------------------------- /src/components/security/Vulnerabilities/index.ts: -------------------------------------------------------------------------------- 1 | export { default as VulnerabilitiesRouter } from './VulnerabilitiesRouter' 2 | export { default as VulnerabilitySummary } from './VulnerabilitySummary' 3 | export { default as VulnerabilityViewTypeSelect } from './VulnerabilityViewTypeSelect' 4 | -------------------------------------------------------------------------------- /src/css/themeTokens.scss: -------------------------------------------------------------------------------- 1 | @mixin theme-light-tokens { 2 | // Background Image 3 | --devtron-bg: url('../assets/img/devtron-bg.webp'); 4 | } 5 | 6 | 7 | @mixin theme-dark-tokens { 8 | // Background Image 9 | --devtron-bg: url('../assets/img/devtron-bg-dark.webp'); 10 | } 11 | -------------------------------------------------------------------------------- /src/components/Jobs/JobList/types.ts: -------------------------------------------------------------------------------- 1 | export interface ExportJobDataType { 2 | jobName: string 3 | jobId: string 4 | description: string 5 | ciPipelineId: string 6 | ciPipelineName: string 7 | status: string 8 | lastRunAt: string 9 | lastSuccessAt: string 10 | } 11 | -------------------------------------------------------------------------------- /src/components/globalConfigurations/Readme.md: -------------------------------------------------------------------------------- 1 | On clicking the global configurations option in navigationRoutes, we are redirected to /global-config route. 2 | 3 | On this route, by default we are routed to /global-config/git route 4 | 5 | GitProvider.tsx handles rendering of the /global-config/git route 6 | -------------------------------------------------------------------------------- /src/components/v2/appDetails/k8Resource/nodeDetail/sampleConfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "sampleManifest": { 3 | "name": "debugger", 4 | "image": "quay.io/devtron/ubuntu-k8s-utils:latest", 5 | "targetContainerName": "demo-app", 6 | "stdin": true, 7 | "tty": true 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/ClustersAndEnvironments/Cluster.md: -------------------------------------------------------------------------------- 1 | ## Routes 2 | 3 | - global-config/cluster-env 4 | 5 | ## Components 6 | 7 | ##### Cluster 8 | 9 | Starting point of cluster 10 | Renders all the components 11 | 12 | ##### ClusterCreateStatus 13 | 14 | Show Cluster Create Status 15 | 16 | ##### ClusterComponentModal 17 | 18 | Modal, shows components of the cluster and its status 19 | -------------------------------------------------------------------------------- /.deepsource.toml: -------------------------------------------------------------------------------- 1 | version = 1 2 | 3 | [[analyzers]] 4 | name = "python" 5 | enabled = true 6 | 7 | [analyzers.meta] 8 | runtime_version = "3.x.x" 9 | 10 | [[analyzers]] 11 | name = "javascript" 12 | enabled = true 13 | 14 | [analyzers.meta] 15 | environment = [ 16 | "nodejs", 17 | "browser", 18 | "jest", 19 | "jquery" 20 | ] 21 | plugins = ["react"] 22 | style_guide = "standard" 23 | dialect = "typescript" 24 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterForm/constants.ts: -------------------------------------------------------------------------------- 1 | import { ClusterConfigTabEnum, ClusterFormKeys } from './types' 2 | 3 | export const CLUSTER_CONFIG_TAB_TO_ERROR_KEY_MAP: Record = { 4 | [ClusterConfigTabEnum.APPLICATION_MONITORING]: [], 5 | [ClusterConfigTabEnum.CLUSTER_CONFIG]: ['cluster_name', 'url', 'token'], 6 | [ClusterConfigTabEnum.COST_VISIBILITY]: [], 7 | } 8 | -------------------------------------------------------------------------------- /src/components/security/Vulnerabilities/types.ts: -------------------------------------------------------------------------------- 1 | import { SeveritiesDTO } from '@devtron-labs/devtron-fe-common-lib' 2 | 3 | export enum VulnerabilityViewTypes { 4 | DEPLOYMENTS = 'DEPLOYMENTS', 5 | VULNERABILITIES = 'VULNERABILITIES', 6 | } 7 | 8 | export interface VulnerabilitySummaryDTO { 9 | totalVulnerabilities: number 10 | severityCount: Record 11 | fixableVulnerabilities: number 12 | notFixableVulnerabilities: number 13 | } 14 | -------------------------------------------------------------------------------- /src/components/app/details/appDetails/Readme.md: -------------------------------------------------------------------------------- 1 | ```mermaid 2 | graph TD; 3 | AppDetails-->SourceInfo; 4 | AppDetails-->Details; 5 | Details-->SourceInfo; 6 | Details-->NodeDetails; 7 | Details-->ProgressStatus; 8 | Details-->SyncError; 9 | Details-->AppMetrics; 10 | AppMetrics-->GenericChart; 11 | Details-->CommitInfo; 12 | NodeDetails-->NodeSelectors; 13 | NodeDetails-->EventsLogs; 14 | EventsLogs-->Events; 15 | EventsLogs-->Logs; 16 | EventsLogs-->Manifest; 17 | ``` 18 | -------------------------------------------------------------------------------- /src/uploadTestReport.py: -------------------------------------------------------------------------------- 1 | import requests 2 | 3 | # token 4 | TOKEN = '' 5 | URL = 'https://slack.com/api/files.upload' 6 | filepath = '../report.txt' 7 | file = open(filepath,"r") 8 | content = file.read() 9 | file.close() 10 | data = dict(token=TOKEN, filename="test-summary.txt", content=content, channels=['dashboard-test-report']) 11 | resp = requests.post(URL, data=data) 12 | if resp.status_code == 200: 13 | print(resp.json()) 14 | else: 15 | print("Request failed:", resp.status_code, resp.reason) 16 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/ClustersAndEnvironments/CreateCluster/constants.ts: -------------------------------------------------------------------------------- 1 | import { CreateClusterTypeEnum } from './types' 2 | 3 | export const CREATE_CLUSTER_TITLE: Record = { 4 | [CreateClusterTypeEnum.CONNECT_USING_SERVER_URL]: 'Connect Kubernetes Cluster', 5 | [CreateClusterTypeEnum.CONNECT_USING_KUBECONFIG]: 'Connect Kubernetes Cluster', 6 | [CreateClusterTypeEnum.CREATE_CLUSTER]: 'Create Kubernetes Cluster', 7 | [CreateClusterTypeEnum.ADD_ISOLATED_CLUSTER]: 'Create Isolated Cluster', 8 | } 9 | -------------------------------------------------------------------------------- /src/components/app/details/triggerView/utils.ts: -------------------------------------------------------------------------------- 1 | import { CIMaterialType } from '@devtron-labs/devtron-fe-common-lib' 2 | 3 | import { RegexValueType } from './types' 4 | 5 | export const getInitialRegexValue = (materials: CIMaterialType[]) => { 6 | const initialValue: Record = {} 7 | materials.forEach((mat) => { 8 | initialValue[mat.gitMaterialId] = { 9 | value: mat.value, 10 | isInvalid: mat.regex && !new RegExp(mat.regex).test(mat.value), 11 | } 12 | }) 13 | return initialValue 14 | } 15 | -------------------------------------------------------------------------------- /src/components/app/details/triggerView/DeployImageModal/MaterialListSkeleton.tsx: -------------------------------------------------------------------------------- 1 | const MaterialListSkeleton = () => ( 2 |
3 |
4 |
5 |
6 | 7 |
8 |
9 |
10 | ) 11 | 12 | export default MaterialListSkeleton 13 | -------------------------------------------------------------------------------- /src/setupTests.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | -------------------------------------------------------------------------------- /src/components/Jobs/JobList/constants.ts: -------------------------------------------------------------------------------- 1 | import { ExportToCsvProps } from '@devtron-labs/devtron-fe-common-lib' 2 | 3 | import { ExportJobDataType } from './types' 4 | 5 | export const JOB_LIST_EXPORT_HEADERS: ExportToCsvProps['headers'] = [ 6 | { label: 'Job Name', key: 'jobName' }, 7 | { label: 'Job ID', key: 'jobId' }, 8 | { label: 'Description', key: 'description' }, 9 | { label: 'Job Pipeline ID', key: 'ciPipelineId' }, 10 | { label: 'Job Pipeline Name', key: 'ciPipelineName' }, 11 | { label: 'Last Run Status', key: 'status' }, 12 | { label: 'Last Run At', key: 'lastRunAt' }, 13 | { label: 'Last Success At', key: 'lastSuccessAt' }, 14 | ] 15 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: Dashboard CI 2 | 3 | on: 4 | pull_request: 5 | types: 6 | - opened 7 | - synchronize 8 | - edited 9 | - reopened 10 | - ready_for_review 11 | 12 | jobs: 13 | ci: 14 | if: ${{ !github.event.pull_request.draft }} 15 | 16 | runs-on: ubuntu-latest 17 | steps: 18 | - name: Checkout repository 19 | uses: actions/checkout@v4 20 | 21 | - name: Use Node.js 22 | uses: actions/setup-node@v4 23 | with: 24 | node-version-file: '.nvmrc' 25 | cache: 'yarn' 26 | 27 | - name: Install dependencies 28 | run: yarn install --immutable 29 | 30 | - name: Check linting issues 31 | run: yarn lint 32 | -------------------------------------------------------------------------------- /src/Pages/ChartStore/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './ChartDetails' 18 | -------------------------------------------------------------------------------- /src/Pages/Applications/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './DevtronApps' 18 | -------------------------------------------------------------------------------- /src/Pages/Shared/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './OrganizationFrame' 18 | -------------------------------------------------------------------------------- /src/components/common/hooks/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './useOnline' 18 | -------------------------------------------------------------------------------- /src/Pages/App/Configurations/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './WorkflowEditor' 18 | -------------------------------------------------------------------------------- /src/Pages/Applications/DevtronApps/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './Details' 18 | -------------------------------------------------------------------------------- /src/Pages/Releases/Detail/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './Configurations' 18 | -------------------------------------------------------------------------------- /src/components/common/Contexts/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './AppContext' 18 | -------------------------------------------------------------------------------- /src/components/common/SidePanel/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './SidePanel' 18 | -------------------------------------------------------------------------------- /src/components/workflowEditor/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './constants' 18 | -------------------------------------------------------------------------------- /src/Pages/ChartStore/ChartDetails/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './ChartDetails' 18 | -------------------------------------------------------------------------------- /src/Pages/Releases/Detail/Configurations/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './Configurations' 18 | -------------------------------------------------------------------------------- /src/Pages/Applications/DevtronApps/Details/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './AppConfigurations' 18 | -------------------------------------------------------------------------------- /src/components/common/hooks/useOnline/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { useOnline } from './useOnline' 18 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "editor.defaultFormatter": "esbenp.prettier-vscode", 3 | "[typescript]": { 4 | "editor.defaultFormatter": "esbenp.prettier-vscode" 5 | }, 6 | "[typescriptreact]": { 7 | "editor.defaultFormatter": "esbenp.prettier-vscode" 8 | }, 9 | "[json]": { 10 | "editor.defaultFormatter": "esbenp.prettier-vscode" 11 | }, 12 | "editor.formatOnSave": false, 13 | "editor.codeActionsOnSave": [ 14 | "source.fixAll.eslint" 15 | ], 16 | "eslint.validate": [ 17 | "typescript", 18 | "typescriptreact" 19 | ], 20 | "prettier.requireConfig": true, 21 | "[scss]": { 22 | "editor.defaultFormatter": "vscode.css-language-features" 23 | }, 24 | } 25 | -------------------------------------------------------------------------------- /src/Pages/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './Applications' 18 | export * from './GlobalConfigurations' 19 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # 3 | # Copyright (c) 2024. Devtron Inc. 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | 18 | . "$(dirname "$0")/_/husky.sh" 19 | 20 | yarn tsc --noEmit 21 | yarn lint-staged 22 | -------------------------------------------------------------------------------- /src/Pages/Applications/DevtronApps/Details/AppConfigurations/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './MainContent' 18 | -------------------------------------------------------------------------------- /src/components/ApplicationGroup/List/LoadingShimmer/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './LoadingShimmerList' 18 | -------------------------------------------------------------------------------- /src/components/CIPipelineN/VariableDataTable/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './VariableDataTable.component' 18 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/BuildInfra/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as BuildInfra } from './BuildInfra' 18 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './Authorization' 18 | export * from './BuildInfra' 19 | -------------------------------------------------------------------------------- /src/Pages/App/Configurations/WorkflowEditor/CreateCICDPipeline/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './CreateCICDPipeline' 18 | -------------------------------------------------------------------------------- /src/Pages/App/CreateAppModal/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as CreateAppModal } from './CreateAppModal.component' 18 | -------------------------------------------------------------------------------- /src/Pages/Shared/LinkedCIDetailsModal/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as LinkedCIDetail } from './LinkedCIDetail' 18 | -------------------------------------------------------------------------------- /src/config/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './constants' 18 | export * from './routes' 19 | export * from './utils' 20 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/Authorization/APITokens/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default } from './ApiTokens.component' 18 | -------------------------------------------------------------------------------- /src/components/chartRepo/chartRepo.types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export interface ChartRepoType { 18 | isSuperAdmin: boolean 19 | } 20 | -------------------------------------------------------------------------------- /src/Pages/App/Configurations/WorkflowEditor/SourceMaterialsSelector/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './SourceMaterialsSelector' 18 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/DeploymentCharts/index.tsx: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default } from './DeploymentChartsRouter.component' 18 | -------------------------------------------------------------------------------- /src/components/common/hooks/useVersionUpdate/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { useVersionUpdateReload } from './useVersionUpdateReload' 18 | -------------------------------------------------------------------------------- /src/Pages/App/CreateAppModal/Workflow/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export type { WorkflowProps } from './types' 18 | export * from './Workflow' 19 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/Authorization/PermissionGroups/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default } from './PermissionGroups.component' 18 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/Authorization/UserPermissions/constants.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export const LAST_LOGIN_TIME_NULL_STATE = 'Never' 18 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/Authorization/UserPermissions/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default } from './UserPermissions.component' 18 | -------------------------------------------------------------------------------- /src/components/chartRepo/ChartRepoType.tsx: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export enum ChartFormFields { 18 | NAME = 'name', 19 | URL = 'url', 20 | } 21 | -------------------------------------------------------------------------------- /src/components/security/AddCVEPolicy/index.tsx: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as VulnerabilityExposure } from './VulnerabilityExposure' 18 | -------------------------------------------------------------------------------- /src/Pages/App/Configurations/WorkflowEditor/CDPipelineDeploymentAppType/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './CDPipelineDeploymentAppType' 18 | -------------------------------------------------------------------------------- /src/Pages/Releases/Detail/Configurations/styles.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .release-configurations { 18 | grid-template-columns: 280px 1fr; 19 | } 20 | -------------------------------------------------------------------------------- /src/components/CIPipelineN/CreatePluginModal/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as CreatePluginModal } from './CreatePluginModal.component' 18 | -------------------------------------------------------------------------------- /src/components/common/DynamicTabs/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as DynamicTabs } from './DynamicTabs' 18 | export * from './useTabs' 19 | -------------------------------------------------------------------------------- /src/Pages/App/Details/ExternalFlux/index.tsx: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as ExternalFluxAppDetailsRoute } from './ExternalFluxAppDetailsRoute' 18 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/Authorization/PermissionGroups/List/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default } from './PermissionGroupList.component' 18 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/Authorization/UserPermissions/List/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default } from './UserPermissionList.component' 18 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/ClustersAndEnvironments/ClusterEnvironmentDrawer/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './ClusterEnvironmentDrawer' 18 | -------------------------------------------------------------------------------- /src/components/CIPipelineN/PluginDetailHeader/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as PluginDetailHeader } from './PluginDetailHeader.component' 18 | -------------------------------------------------------------------------------- /src/components/ResourceBrowser/ResourceList/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | import ResourceList from './ResourceList' 18 | 19 | export default ResourceList 20 | -------------------------------------------------------------------------------- /src/components/__mocks__/xterm-webfont.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export default jest.fn().mockImplementation(() => { 18 | return Promise.resolve() 19 | }) 20 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/Authorization/PermissionGroups/AddEdit/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default } from './PermissionGroupAddEdit.component' 18 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/Authorization/UserPermissions/AddEdit/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default } from './UserPermissionAddEdit.component' 18 | -------------------------------------------------------------------------------- /src/Pages/Shared/ConfigMapSecret/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './ConfigMapSecret.wrapper' 18 | export type { CMSecretWrapperProps } from './types' 19 | -------------------------------------------------------------------------------- /src/components/app/details/triggerView/DeployImageModal/constants.ts: -------------------------------------------------------------------------------- 1 | import { CDMaterialSidebarType } from '@devtron-labs/devtron-fe-common-lib' 2 | 3 | import { FilterConditionViews } from '../types' 4 | import { DeployViewStateType } from './types' 5 | 6 | export const INITIAL_DEPLOY_VIEW_STATE: DeployViewStateType = { 7 | searchText: '', 8 | appliedSearchText: '', 9 | filterView: FilterConditionViews.ALL, 10 | showConfiguredFilters: false, 11 | currentSidebarTab: CDMaterialSidebarType.IMAGE, 12 | runtimeParamsErrorState: { 13 | isValid: true, 14 | cellError: {}, 15 | }, 16 | materialInEditModeMap: new Map(), 17 | showAppliedFilters: false, 18 | appliedFilterList: [], 19 | isLoadingOlderImages: false, 20 | showSearchBar: true, 21 | } 22 | -------------------------------------------------------------------------------- /src/components/v2/appDetails/k8Resource/nodeDetail/NodeDetailTabs/constants.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export const EVENT_TABLE_ITEM_CLASS = 'dc__word-break mono' 18 | -------------------------------------------------------------------------------- /src/Pages/App/CreateAppModal/AppClone/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './AppCloneList' 18 | export { useDevtronCloneList } from './useDevtronCloneList' 19 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/Authorization/Shared/components/SuperAdminInfoBar/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default } from './SuperAdminInfoBar.component' 18 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/Authorization/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default } from './Authorization.component' 18 | export * from './SSOLoginServices' 19 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/DeploymentCharts/List/index.tsx: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as DeploymentChartsList } from './DeploymentChartsList.component' 18 | -------------------------------------------------------------------------------- /src/components/ApplicationGroup/List/LoadingShimmer/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export interface LoadingShimmerListType { 18 | hideLastColumn?: boolean 19 | } 20 | -------------------------------------------------------------------------------- /src/components/common/edge/colors.tsx: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export const nodeColors = { 18 | strokeSolid: 'var(--N400)', 19 | arrowColor: 'var(--N600)', 20 | } 21 | -------------------------------------------------------------------------------- /src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentConfigCompare/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './DeploymentConfigCompare' 18 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/ClustersAndEnvironments/CreateCluster/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as CreateClusterDrawer } from './CreateCluster.component' 18 | -------------------------------------------------------------------------------- /src/components/AppSelector/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as AppSelector } from './AppSelector' 18 | export { default as ChartSelector } from './ChartSelector' 19 | -------------------------------------------------------------------------------- /src/components/app/details/triggerView/PipelineConfigDiff/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './PipelineConfigDiff' 18 | export * from './usePipelineDeploymentConfig' 19 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/Authorization/Shared/components/AppPermissions/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as AppPermissions } from './AppPermissions.component' 18 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/Authorization/Shared/components/ChartPermission/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as ChartPermission } from './ChartPermission.component' 18 | -------------------------------------------------------------------------------- /src/components/ClusterNodes/ClusterList/ClusterStatus/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /* 18 | * Copyright (c) 2024. Devtron Inc. 19 | */ 20 | 21 | export * from './ClusterStatus' 22 | -------------------------------------------------------------------------------- /src/components/checkList/checklist.service.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | import { post, put, get } from '@devtron-labs/devtron-fe-common-lib' 18 | import { Routes } from '../../config' 19 | -------------------------------------------------------------------------------- /src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/GUIView/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as GUIView } from './GUIView.component' 18 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/PluginPolicy/OffendingPipelineModal/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as OffendingPipelineModalAppView } from './OfflinePipelineModalAppView' 18 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | module.exports = { 18 | semi: false, 19 | trailingComma: 'all', 20 | singleQuote: true, 21 | printWidth: 120, 22 | tabWidth: 4, 23 | } 24 | -------------------------------------------------------------------------------- /src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as DeploymentTemplate } from './DeploymentTemplate' 18 | -------------------------------------------------------------------------------- /src/components/v2/appDetails/sourceInfo/environmentStatus/notesDrawer.type.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export interface NotesDrawerType { 18 | notes: string 19 | close: () => void 20 | } 21 | -------------------------------------------------------------------------------- /src/components/security/Vulnerabilities/CVEList/types.ts: -------------------------------------------------------------------------------- 1 | import { SelectPickerOptionType, SeveritiesDTO } from '@devtron-labs/devtron-fe-common-lib' 2 | 3 | export interface CVEDetails { 4 | cveName: string 5 | severity: SeveritiesDTO 6 | appName: string 7 | appId: number 8 | envName: string 9 | envId: number 10 | discoveredAt: string 11 | package: string 12 | currentVersion: string 13 | fixedVersion: string 14 | } 15 | 16 | export interface VulnerabilityDTO { 17 | total: number 18 | list: CVEDetails[] 19 | } 20 | 21 | export type CVEListFilters = 22 | | 'application' 23 | | 'environment' 24 | | 'severity' 25 | | 'cluster' 26 | | 'fixAvailability' 27 | | 'ageOfDiscovery' 28 | 29 | export type CVEListFilterData = Record 30 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/enhancement_proposal.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Enhancement proposal 3 | about: Propose an enhancement for this project 4 | title: '' 5 | labels: 'enhancement' 6 | assignees: '' 7 | --- 8 | 9 | **Please Describe The Problem To Be Solved** 10 | (Replace This Text: Please present a concise description of the problem to be addressed by this feature request. Please be clear what parts of the problem are considered to be in-scope and out-of-scope.) 11 | 12 | **(Optional): Suggest A Solution** 13 | (Replace This Text: A concise description of your preferred solution. Things to address include: 14 | * Details of the technical implementation 15 | * Tradeoffs made in design decisions 16 | * Caveats and considerations for the future 17 | 18 | If there are multiple solutions, please present each one separately. Save comparisons for the very end.) -------------------------------------------------------------------------------- /src/components/cdPipeline/MigrateToDevtron/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { SELECTED_FORM_STATE_KEY } from './constants' 18 | export { default as MigrateToDevtron } from './MigrateToDevtron.component' 19 | -------------------------------------------------------------------------------- /src/components/common/TLSConnectionForm/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as TLSConnectionForm } from './TLSConnectionForm.component' 18 | export * from './types' 19 | export * from './utils' 20 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/Authorization/SSOLoginServices/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './constants' 18 | export * from './ssoConfig.types' 19 | export { default } from './SSOLogin.component' 20 | -------------------------------------------------------------------------------- /src/components/app/details/cIDetails/Readme.md: -------------------------------------------------------------------------------- 1 | ### Usage of dependencyState of useAsync hook in CIDetails.tsx and CDDetails.tsx 2 | 3 | `BuildDetails` component shows list of `BuildCard`s in left column which are paginated 20 a time. As soon as `cIPipelineId` is changed from pipeline dropdown state; data inside `useAsync` hook becomes stale and hook gets to know about this change in next render. 4 | For corrupted render we check if `dependencyState[0] === pipelineId` because ciPileineId is first dependency in `useAsync` hook. 5 | 6 | Same happens in CDDetails as well. 7 | 8 | ### Detect bottom 9 | 10 | Is a normal span element using `useIntersectionObserver` hook. As soon as span element comes into view, callback given to hook fires, and we increment the pagination. This pagination change effect is propagated to `useAsync` and new data is fetched. 11 | -------------------------------------------------------------------------------- /src/components/common/DeploymentTypeIcon/index.tsx: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as DeploymentTypeIcon } from './DeploymentTypeIcon' 18 | export { DEPLOYMENT_TYPE_TO_TEXT_MAP } from './DeploymentTypeIcon' 19 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/Authorization/Shared/components/UserPermissionGroupsSelector/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as UserPermissionGroupsSelector } from './UserPermissionGroupsSelector.component' 18 | -------------------------------------------------------------------------------- /src/Pages/Shared/OrganizationFrame/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as OrganizationFrame } from './OrganizationFrame.component' 18 | export { default as OrganizationTextLogo } from './OrganizationTextLogo' 19 | -------------------------------------------------------------------------------- /src/components/ApplicationGroup/List/LoadingShimmer/loadingShimmerList.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .shimmer-loading-list__row { 18 | display: grid; 19 | grid-template-columns: 24px 250px 150px auto 52px; 20 | } 21 | -------------------------------------------------------------------------------- /src/components/cdPipeline/MigrateToDevtron/MigrateToDevtronValidationFactory.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .validation-response { 18 | &__content-container { 19 | grid-template-columns: 150px auto; 20 | } 21 | } -------------------------------------------------------------------------------- /src/components/common/DynamicTabs/constants.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export const FALLBACK_TAB = 1 18 | 19 | export const TAB_DATA_LOCAL_STORAGE_KEY = 'persisted-tabs-data' 20 | 21 | export const TAB_DATA_VERSION = 'v2' 22 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/Authorization/Shared/components/AppPermissions/roleSelectorStyles.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .base-role-selector { 18 | .form__radio-item-content { 19 | padding: 0 !important; 20 | } 21 | } -------------------------------------------------------------------------------- /src/Pages/Shared/LinkedCIDetailsModal/linkedCIAppList.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .linked-ci-detail { 18 | &__table-row { 19 | grid-template-columns: 200px 200px 100px 1fr; 20 | column-gap: 16px; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /src/Pages/Shared/OrganizationFrame/organizationFrame.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .organization-frame { 18 | &__logo { 19 | >path:first-child { 20 | fill: var(--bg-sidebar); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/assets/icons/RectangleLine.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/Pages/App/Configurations/WorkflowEditor/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export * from './CDPipelineDeploymentAppType' 18 | export * from './CreateCICDPipeline' 19 | export * from './SourceMaterialsSelector' 20 | export * from './utils' 21 | -------------------------------------------------------------------------------- /src/components/externalArgoApps/externalArgoApp.type.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export interface ExternalArgoAppDetailType { 18 | appName: string 19 | clusterId: string 20 | isExternalApp: boolean 21 | namespace: string 22 | } 23 | -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": [ 3 | "formulahendry.auto-rename-tag", 4 | "chouzz.vscode-better-align", 5 | "aaron-bond.better-comments", 6 | "streetsidesoftware.code-spell-checker", 7 | "pranaygp.vscode-css-peek", 8 | "usernamehw.errorlens", 9 | "dbaeumer.vscode-eslint", 10 | "dsznajder.es7-react-js-snippets", 11 | "naumovs.color-highlight", 12 | "github.vscode-pull-request-github", 13 | "eamodio.gitlens", 14 | "vincaslt.highlight-matching-tag", 15 | "oderwat.indent-rainbow", 16 | "davidanson.vscode-markdownlint", 17 | "esbenp.prettier-vscode", 18 | "gencer.html-slim-scss-css-class-completion", 19 | "simonsiefke.svg-preview", 20 | "shardulm94.trailing-spaces", 21 | "chakrounanas.turbo-console-log" 22 | ] 23 | } 24 | -------------------------------------------------------------------------------- /src/components/common/ClusterMetaDataBar/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export interface ClusterMetaDataBarProps { 18 | clusterName: string 19 | namespace: string 20 | clusterId: string 21 | isVirtualEnvironment?: boolean 22 | } 23 | -------------------------------------------------------------------------------- /src/components/common/HiddenInput/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export default interface HiddenInputProps { 18 | handleFileUpload: (e: React.ChangeEvent) => void 19 | children?: React.ReactNode 20 | id: string 21 | } 22 | -------------------------------------------------------------------------------- /src/components/common/helpers/isEmpty.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export function isEmpty(obj): boolean { 18 | if (obj === null || obj === undefined || obj === '' || obj === '{}') { 19 | return true 20 | } 21 | return false 22 | } 23 | -------------------------------------------------------------------------------- /src/assets/icons/ic-dropdown-filled.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/components/security/Vulnerabilities/CVEList/utils.ts: -------------------------------------------------------------------------------- 1 | import { CVEListFilters } from './types' 2 | 3 | export const parseSearchParams = (searchParams: URLSearchParams): Record => ({ 4 | application: searchParams.getAll('application'), 5 | environment: searchParams.getAll('environment'), 6 | severity: searchParams.getAll('severity'), 7 | cluster: searchParams.getAll('cluster'), 8 | fixAvailability: searchParams.getAll('fixAvailability'), 9 | ageOfDiscovery: searchParams.getAll('ageOfDiscovery'), 10 | }) 11 | 12 | export const getFilterChipLabel = (filterKey: CVEListFilters) => { 13 | switch (filterKey) { 14 | case 'fixAvailability': 15 | return 'Fix Availability' 16 | case 'ageOfDiscovery': 17 | return 'Age of Discovery' 18 | default: 19 | return filterKey 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /src/assets/icons/ic-dot.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/assets/icons/appstatus/bg-blue.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/assets/icons/appstatus/bg-gray.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/assets/icons/appstatus/bg-white.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/components/chartRepo/chartRepo.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .chartRepo_form__subtitle { 18 | font-size: 13px; 19 | font-weight: 600; 20 | color: var(--N900); 21 | } 22 | 23 | .chart_repo__delete-button { 24 | margin-left: 0 !important; 25 | } 26 | -------------------------------------------------------------------------------- /src/components/v2/assets/icons/ic-dropdown-filled.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/DeploymentTemplate/DeploymentTemplate.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .deployment-template { 18 | &__approval-tippy { 19 | .tippy-box { 20 | top: 55px; 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/Authorization/Shared/components/ChartPermission/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | import { ChartGroup } from '../../../../../../components/charts/charts.types' 18 | 19 | export interface ChartPermissionRow { 20 | chartGroupsList: ChartGroup[] 21 | } 22 | -------------------------------------------------------------------------------- /src/components/CIPipelineN/CreatePluginModal/CreatePluginModal.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .create-plugin-modal { 18 | .create-plugin-form { 19 | &__input-variable-container { 20 | box-shadow: 0px 1px 2px 0px rgba(1, 87, 173, 0.10); 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /src/components/app/list/constants.tsx: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | import { DevtronAppExpandedState } from './types' 18 | 19 | export const INITIAL_EXPANDED_STATE: DevtronAppExpandedState = { 20 | expandedRow: {}, 21 | isAllExpanded: false, 22 | isAllExpandable: false, 23 | } 24 | -------------------------------------------------------------------------------- /src/Pages/Shared/ApplicationDeletionInfo/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | import { AppConfigProps } from '@devtron-labs/devtron-fe-common-lib' 18 | 19 | export interface ApplicationDeletionInfoProps extends Pick { 20 | isPresetValue?: boolean 21 | } 22 | -------------------------------------------------------------------------------- /src/components/login/login.service.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | import { post } from '@devtron-labs/devtron-fe-common-lib' 18 | 19 | import { Routes } from '../../config' 20 | 21 | export function loginAsAdmin(payload): Promise { 22 | return post(Routes.LOGIN, payload) 23 | } 24 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/BuildInfra/types.tsx: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | import { ReactNode } from 'react' 18 | 19 | export interface BuildInfraProps { 20 | isSuperAdmin: boolean 21 | } 22 | 23 | export interface BuildInfraUtilityProviderProps { 24 | children: ReactNode 25 | } 26 | -------------------------------------------------------------------------------- /src/components/app/WebWorker.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export default class WebWorker { 18 | constructor(worker) { 19 | const code = worker.toString() 20 | const blob = new Blob([`(${code})()`]) 21 | return new Worker(URL.createObjectURL(blob)) 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /src/components/common/ClusterNotReachableDialog/ClusterNotReachableDialog.type.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export interface ClusterNotReachableDialogType { 18 | clusterName: string 19 | onClickCancel: () => void 20 | onClickDelete: () => void 21 | isDeleting?: boolean 22 | } 23 | -------------------------------------------------------------------------------- /nginx-default.conf: -------------------------------------------------------------------------------- 1 | server { 2 | listen 8080; 3 | listen [::]:8080; 4 | root /usr/share/nginx/html; 5 | index index.html index.htm; 6 | 7 | location / { 8 | set $fallback_file /index.html; 9 | set $cache_control_header "max-age=3600"; 10 | 11 | # add the caching header for assets file and fallback to 404 12 | if ($uri ~* \.(js|js\.map|css|png|jpg|jpeg|gif|svg|ico|woff|woff2|ttf|eot|json)$) { 13 | set $cache_control_header "public, max-age=31536000, immutable"; 14 | set $fallback_file =404; 15 | } 16 | 17 | if ($uri ~* "\/(service-worker|env-config)\.js$") { 18 | set $cache_control_header "no-cache"; 19 | } 20 | 21 | add_header Cache-Control $cache_control_header; 22 | try_files $uri $uri/ $fallback_file =404; 23 | } 24 | 25 | location /health { 26 | try_files $uri $uri/ /health.html =404; 27 | } 28 | 29 | include /etc/nginx/extra-conf.d/*.conf; 30 | } 31 | -------------------------------------------------------------------------------- /src/assets/icons/ic-stop.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/components/common/Banner/banner.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | 18 | .banner { 19 | &--row { 20 | grid-template-columns: 28px 1fr 28px; 21 | } 22 | 23 | &__version-update { 24 | background: linear-gradient(92deg, #4C40BF 0%, #4084BF 72.45%, #8529A3 96.63%); 25 | } 26 | } -------------------------------------------------------------------------------- /src/components/ApplicationGroup/Details/TriggerView/constants.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export const BULK_ERROR_MESSAGES = { 18 | CHANGE_SIDEBAR_TAB: 'Please resolve all the errors before switching tabs', 19 | CHANGE_APPLICATION: 'Please resolve all the errors before switching application', 20 | } 21 | -------------------------------------------------------------------------------- /src/components/material/Readme.md: -------------------------------------------------------------------------------- 1 | ## Routes 2 | 3 | - app/`${appId}`/edit/materials 4 | 5 | ## Components 6 | 7 | ##### MaterialList 8 | 9 | - Root Component 10 | - API calls -> GET List of materials and GET List of providers 11 | - State is set only once in componentDidMount 12 | - Handles validation of checkout path; required by CreateMaterial and UpdateMaterial 13 | - Renders a CreateMaterial and UpdateMaterial for each saved material 14 | 15 | ##### CreateMaterial 16 | 17 | - Creates new material 18 | - Stateful component 19 | - API calls -> POST Create material 20 | - Manages all interactions of create material 21 | 22 | ##### UpdateMaterial 23 | 24 | - Updates saved material 25 | - Stateful component 26 | - API calls -> POST update material 27 | - Manages all interactions of update material 28 | 29 | ##### MaterialView 30 | 31 | - Stateless component 32 | - Used by CreateMaterial & UpdateMaterial 33 | -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /// 18 | /// 19 | /// 20 | 21 | import 'jest-extended' 22 | 23 | declare const __BASE_URL__: string 24 | declare const __ORCHESTRATOR_ROOT__: string 25 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # production 12 | /build 13 | /dist 14 | 15 | # misc 16 | .DS_Store 17 | .env.local 18 | .env.development.local 19 | .env.test.local 20 | .env.production.local 21 | 22 | src/setupProxy.js 23 | 24 | npm-debug.log 25 | npm-error.log 26 | npm.lock 27 | yarn-debug.log 28 | yarn-error.log 29 | /public/env-config.js 30 | env-config.js 31 | .idea/ 32 | /test-results/ 33 | /playwright-report/ 34 | /playwright/.cache/ 35 | playwright/.auth/ 36 | .npmrc 37 | 38 | package-lock.json 39 | 40 | *storybook.log 41 | storybook-static 42 | 43 | .yalc 44 | yalc.lock 45 | .build-cache 46 | 47 | .yarn/* 48 | !.yarn/cache 49 | !.yarn/patches 50 | !.yarn/plugins 51 | !.yarn/releases 52 | !.yarn/sdks 53 | !.yarn/versions 54 | .pnp.* 55 | 56 | .env.secrets 57 | scripts/ -------------------------------------------------------------------------------- /src/components/charts/list/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | import { ChartListType } from '../charts.types' 18 | 19 | export interface ChartSkeletonRowType { 20 | isGridView: boolean 21 | } 22 | 23 | export interface ChartsListProps { 24 | isLoading: boolean 25 | chartsList: ChartListType[] 26 | } 27 | -------------------------------------------------------------------------------- /src/components/common/helpers/InteractiveCellText/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export interface InteractiveCellTextProps { 18 | text: string 19 | onClickHandler?: () => void 20 | dataTestId?: string 21 | rootClassName?: string 22 | interactive?: boolean 23 | fontSize?: number 24 | } 25 | -------------------------------------------------------------------------------- /src/components/v2/assets/icons/ic-stop.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/assets/icons/ic-add.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/components/external-apps/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | import { APIOptions } from '@devtron-labs/devtron-fe-common-lib' 18 | 19 | export interface GetArgoAppDetailParamsType extends Pick { 20 | appName: string 21 | clusterId: string 22 | namespace: string 23 | } 24 | -------------------------------------------------------------------------------- /src/components/security/Vulnerabilities/CVEList/CVEListTableCellComponents.tsx: -------------------------------------------------------------------------------- 1 | import { 2 | FiltersTypeEnum, 3 | getCVEUrlFromCVEName, 4 | SeverityChip, 5 | TableCellComponentProps, 6 | } from '@devtron-labs/devtron-fe-common-lib' 7 | 8 | import { CVEDetails } from './types' 9 | 10 | export const SeverityCellComponent = ({ row }: TableCellComponentProps) => { 11 | const { data } = row 12 | return ( 13 |
14 | 15 |
16 | ) 17 | } 18 | 19 | export const CVENameCellComponent = ({ row }: TableCellComponentProps) => { 20 | const { data } = row 21 | return ( 22 | 23 | {data.cveName} 24 | 25 | ) 26 | } 27 | -------------------------------------------------------------------------------- /src/assets/icons/ic-arrow-right.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/assets/icons/mdeditor/ic-code.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/NoOverrideEmptyState.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | // FIXME: When issue for svg button height is fixed, remove this file 18 | .no-override-empty-state-container { 19 | .empty-state svg { 20 | height: 100%; 21 | width: 100%; 22 | } 23 | } -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/ClustersAndEnvironments/constants.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export const ADD_CLUSTER_FORM_LOCAL_STORAGE_KEY = 'global-config__add-cluster-form--v1' 18 | export const ADD_ENVIRONMENT_FORM_LOCAL_STORAGE_KEY = 'global-config__add-environment-form--v1' 19 | 20 | export const ALL_CLUSTER_VALUE = '*' 21 | -------------------------------------------------------------------------------- /src/assets/icons/ic-arrow-backward.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/components/common/hooks/useOnline/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export interface FetchConnectivityParamsType { 18 | url: string 19 | options: RequestInit 20 | controller: AbortController 21 | } 22 | 23 | export interface CheckConnectivityParamsType extends Pick {} 24 | -------------------------------------------------------------------------------- /src/components/common/hooks/useVersionUpdate/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export interface VersionUpdateProps { 18 | toastEligibleRoutes: { 19 | path: string 20 | exact: boolean 21 | condition: boolean 22 | component: JSX.Element 23 | eligibleLocation: string 24 | }[] 25 | } 26 | -------------------------------------------------------------------------------- /src/Pages/ChartStore/ChartDetails/chartDetails.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .chart-details { 18 | display: grid; 19 | grid-template-columns: minmax(auto, 1000px) 300px; 20 | gap: 32px; 21 | justify-content: center; 22 | 23 | &__loading-icon { 24 | width: 56px; 25 | height: 56px; 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /src/components/app/list/expandedRow/types.tsx: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | import { App } from '../types' 18 | 19 | export interface ExpandedRowProps { 20 | app: App 21 | handleEdit: (appId: number) => void 22 | redirect: (app, envId: number) => string 23 | close: (event) => void 24 | isArgoInstalled: boolean 25 | } 26 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/BuildInfra/styles.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .build-infra { 18 | .pl { 19 | padding-left: 20px; 20 | } 21 | .pr { 22 | padding-right: 20px; 23 | } 24 | .pt { 25 | padding-top: 16px; 26 | } 27 | .pb { 28 | padding-bottom: 16px; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /src/assets/icons/ic-stop-filled.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/assets/icons/mdeditor/ic-italic.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/components/ClusterNodes/ClusterList/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as ClusterList } from './ClusterList' 18 | export { default as ClusterListRow } from './ClusterListRow' 19 | export { default as ClusterListView } from './ClusterListView' 20 | export { default as ClusterSelectionBody } from './ClusterSelectionBody' 21 | -------------------------------------------------------------------------------- /src/components/app/typing.d.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | declare module 'devtron_external_app' 18 | 19 | declare module '*.svg' { 20 | import * as React from 'react' 21 | 22 | export const ReactComponent: React.FunctionComponent> 23 | 24 | const src: string 25 | export default src 26 | } 27 | -------------------------------------------------------------------------------- /src/Pages/Shared/EnvironmentOverviewTable/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { EnvironmentOverviewTableSortableKeys } from './EnvironmentOverview.constants' 18 | export * from './EnvironmentOverviewBulkSelectionActionWidget' 19 | export * from './EnvironmentOverviewTable.component' 20 | export * from './EnvironmentOverviewTable.types' 21 | -------------------------------------------------------------------------------- /src/Pages/Shared/OrganizationFrame/OrganizationTextLogo.tsx: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | const OrganizationTextLogo = () => ( 18 | 19 | {window._env_.ORGANIZATION_NAME} 20 | 21 | ) 22 | 23 | export default OrganizationTextLogo 24 | -------------------------------------------------------------------------------- /src/assets/icons/ic-activity.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/assets/icons/ic-arrow-up-down.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/assets/icons/ic-check.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/assets/icons/ic-group-filter.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/assets/icons/mdeditor/ic-quote.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/components/v2/appDetails/sourceInfo/environmentStatus/constants.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | import { NodeStatus } from '../../appDetails.type' 18 | 19 | export const STATUS_SORTING_ORDER = { 20 | [NodeStatus.Missing]: 1, 21 | [NodeStatus.Degraded]: 2, 22 | [NodeStatus.Progressing]: 3, 23 | [NodeStatus.Healthy]: 4, 24 | } 25 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/Authorization/Shared/components/PermissionConfigurationForm/index.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export { default as PermissionConfigurationForm } from './PermissionConfigurationForm.component' 18 | export { PermissionConfigurationFormProvider, usePermissionConfiguration } from './PermissionConfigurationFormProvider' 19 | -------------------------------------------------------------------------------- /src/assets/icons/ic-arrow-down.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/assets/icons/ic-checks.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/components/globalConfigurations/utils.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | import { URLS as CommonURLS } from '@devtron-labs/devtron-fe-common-lib' 18 | 19 | export const getShouldHidePageHeaderAndSidebar = (pathname: string) => 20 | !!new RegExp(CommonURLS.APPLICATION_MANAGEMENT_TEMPLATES_DEVTRON_APP_DETAIL.replace(':appId', '')).test(pathname) 21 | -------------------------------------------------------------------------------- /src/Pages/GlobalConfigurations/PluginPolicy/OffendingPipelineModal/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | import { PolicyKindType } from '@devtron-labs/devtron-fe-common-lib' 18 | 19 | export interface OffendingPipelineModalAppViewProps { 20 | appId: number 21 | appName: string 22 | policyKind: PolicyKindType 23 | policyName: string 24 | } 25 | -------------------------------------------------------------------------------- /src/assets/icons/ic-chevron-down.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/assets/icons/ic-play.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/components/ClusterNodes/ClusterList/ClusterStatus/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | /* 18 | * Copyright (c) 2024. Devtron Inc. 19 | */ 20 | 21 | import { ClusterStatusType } from '@devtron-labs/devtron-fe-common-lib' 22 | 23 | export interface ClusterStatusProps { 24 | status: ClusterStatusType 25 | errorInNodeListing?: string 26 | } 27 | -------------------------------------------------------------------------------- /src/components/gitProvider/gitProvider.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .modal__title__fs-16 { 18 | font-size: 16px; 19 | } 20 | 21 | .wrapper-pointer-disabled { 22 | cursor: not-allowed; 23 | } 24 | 25 | .pointer-disabled { 26 | opacity: 0.5; 27 | pointer-events: none; 28 | } 29 | 30 | .ml-0 { 31 | margin-left: 0 !important; 32 | } 33 | -------------------------------------------------------------------------------- /src/components/login/login.types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | import { SSOConfigDTO, SSOProvider } from '@Pages/GlobalConfigurations' 18 | 19 | export interface SSOConfigLoginList extends Pick { 20 | name: SSOProvider 21 | } 22 | 23 | export interface LoginFormType { 24 | loginList: SSOConfigDTO[] 25 | } 26 | -------------------------------------------------------------------------------- /src/assets/icons/appstatus/notdeployed.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/assets/icons/ic-lines.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/assets/icons/ic-minus.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/components/v2/assets/icons/ic-check.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/assets/icons/ic-appstatus-cancelled.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/assets/icons/ic-arrow-line-up.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/assets/icons/ic-sort-arrow-down.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/Pages/Applications/DevtronApps/Details/AppConfigurations/MainContent/ConfigHeader.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .config-header { 18 | &__tab:hover { 19 | color: var(--B500) !important; 20 | 21 | .config-header__tab--icon { 22 | path { 23 | stroke: var(--B500) !important; 24 | } 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /src/Pages/Shared/CommandBar/CommandBar.scss: -------------------------------------------------------------------------------- 1 | .command-bar { 2 | &__container { 3 | box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.04), 0 2px 8px 0 rgba(0, 0, 0, 0.04), 0 3px 17px 0 rgba(0, 0, 0, 0.04), 0 4px 30px 0 rgba(0, 0, 0, 0.13), 0 8px 48px 0 rgba(0, 0, 0, 0.15); 4 | 5 | &--selected-item { 6 | background: var(--bg-hover); 7 | } 8 | 9 | .search-bar { 10 | &:focus-within { 11 | border: none !important; 12 | } 13 | 14 | &:hover { 15 | background: transparent !important; 16 | } 17 | 18 | &__icon { 19 | height: 20px; 20 | width: 20px; 21 | 22 | svg { 23 | height: inherit; 24 | width: inherit; 25 | } 26 | } 27 | 28 | &__input { 29 | font-size: 16px; 30 | left: 8px; 31 | } 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /src/assets/icons/ic-arrow-line-down.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/assets/icons/ic-exit-fullscreen-2.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/components/v2/assets/icons/ic-chevron-down.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/components/v2/assets/icons/ic-play.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/components/ApplicationGroup/EnvEmptyStates.tsx: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | import { GenericFilterEmptyState } from '@devtron-labs/devtron-fe-common-lib' 18 | 19 | import { EmptyEnvState } from './AppGroup.types' 20 | 21 | export const EnvEmptyStates = ({ actionHandler }: EmptyEnvState) => ( 22 | 23 | ) 24 | -------------------------------------------------------------------------------- /src/assets/icons/appstatus/ic-check.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /src/assets/icons/ic-arrows-left-right.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/assets/icons/ic-back.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /src/components/v2/headers/appHeader.type.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | export interface ChartHeaderComponentType { 18 | errorResponseCode?: number 19 | } 20 | 21 | export interface EAHeaderComponentType { 22 | title: string 23 | redirectURL: string 24 | showAppDetailsOnly?: boolean 25 | breadCrumbConfig?: Record 26 | } 27 | -------------------------------------------------------------------------------- /src/assets/icons/appstatus/ic-chevron-down.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/assets/icons/ic-cordon.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/components/CIPipelineN/PluginDetailHeader/types.ts: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | import { DOCUMENTATION, PluginDetailType } from '@devtron-labs/devtron-fe-common-lib' 18 | 19 | export interface PluginDetailTypes extends Pick { 20 | isExternalLink?: boolean 21 | docLink: string | keyof typeof DOCUMENTATION 22 | } 23 | -------------------------------------------------------------------------------- /src/assets/icons/ic-chart-line-up.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/assets/icons/ic-clock.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/assets/icons/mdeditor/ic-checked-list.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/assets/icons/misc/arrow-chevron-down-black.svg: -------------------------------------------------------------------------------- 1 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /src/components/app/details/triggerView/TriggerWebhook.scss: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) 2024. Devtron Inc. 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | .empty-payload { 18 | min-height: 186px; 19 | } 20 | 21 | .ci-trigger__webhook-wrapper{ 22 | display: grid; 23 | grid-template-columns: 250px 1fr; 24 | 25 | .ci__filter-table__row{ 26 | display: grid; 27 | grid-template-columns: 200px 200px auto 100px; 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /linter.py: -------------------------------------------------------------------------------- 1 | import json 2 | import sys 3 | 4 | files={} 5 | warnings=0 6 | f=None 7 | try: 8 | f=open('build-log','r') 9 | except Exception as e: 10 | print('build-log file not found') 11 | sys.exit(1) 12 | 13 | currentFile=None 14 | for line in f.readlines(): 15 | line=line.strip() 16 | if line.startswith('./src'): 17 | currentFile=line 18 | else: 19 | if not line.startswith('Line'): 20 | continue 21 | tokens=line.split(" ") 22 | if len(tokens) <= 1: 23 | continue 24 | line_number=tokens[1] 25 | error=tokens[-1] 26 | try: 27 | files[currentFile][error].append(line_number) 28 | except Exception as e: 29 | try: 30 | files[currentFile][error]=[line_number] 31 | except Exception as e2: 32 | files[currentFile]={error:[line_number]} 33 | finally: 34 | warnings = warnings + 1 35 | print(json.dumps({'total_warnings': warnings, 'result':files})) 36 | --------------------------------------------------------------------------------