Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
26230f5
chore: add tailwind css dependencies
ntswambeni Jul 30, 2023
3e7f21c
style: setup tailwind css
ntswambeni Jul 30, 2023
055ac24
style: add custom colors to tailwind
ntswambeni Jul 30, 2023
ac7df71
WIP: working on ui code
ntswambeni Jul 30, 2023
609022f
style: add Poppins font
ntswambeni Jul 30, 2023
7094564
feat: add icons to UI
ntswambeni Jul 30, 2023
d36433a
refactor: move navbar to its own component
ntswambeni Jul 31, 2023
94dae78
refactor: move navbar to its own component
ntswambeni Jul 31, 2023
080b9ad
Merge branch 'feat/implement-issuers-listing-page' of https://github.…
ntswambeni Jul 31, 2023
95cfa7e
feat: add href to navLinks
ntswambeni Jul 31, 2023
f6d34dd
refactor: move filter buttons to own component
ntswambeni Aug 1, 2023
d3dd292
style: change delete issuer icon
ntswambeni Aug 1, 2023
6616430
style: change
ntswambeni Aug 1, 2023
95475b4
refactor: move issuer card to own component
ntswambeni Aug 1, 2023
7b04472
feat: list of issuers integrate the backend
marinoricardo Aug 8, 2023
da92f3c
fix: melhorias no request
marinoricardo Aug 9, 2023
ec8f446
setup project with vite
marinoricardo Aug 19, 2023
badc2ee
fix: project with vite
marinoricardo Aug 20, 2023
0248429
style: no issuers content page
marinoricardo Aug 20, 2023
7775d35
style: no issuers content page
marinoricardo Aug 20, 2023
71537e3
feat: add loading component
ntswambeni Aug 20, 2023
59c7b28
fix: app layout
ntswambeni Aug 21, 2023
4e70a98
feat: setup different app states
ntswambeni Aug 21, 2023
5b40fb0
fix: Action button layout on no issuers state
ntswambeni Aug 21, 2023
4ca2964
refactor: change ActionButton name
ntswambeni Aug 21, 2023
0dd4d98
feat: setup filter values
ntswambeni Aug 21, 2023
3d1d270
fix: remove warning on IssuerCardNoContent
ntswambeni Aug 21, 2023
24bf041
style: replace avatar placeholder
ntswambeni Aug 21, 2023
ca20262
chore: delete unneeded folders
ntswambeni Aug 21, 2023
994bd3b
test: addi Navbar tests
ntswambeni Aug 21, 2023
2122f43
fix: alt text of button icon
ntswambeni Aug 21, 2023
7391de3
fix: ids of navlinks
ntswambeni Aug 21, 2023
8e2ad57
test: add tests for Icon Action Button
ntswambeni Aug 21, 2023
b8fc55d
feat: add alt text to filter button icons
ntswambeni Aug 21, 2023
994ba68
test: add icon text button tests
ntswambeni Aug 21, 2023
7d81268
Merge branch 'develop' into feat/implement-issuers-listing-page
ntswambeni Aug 21, 2023
cb85eeb
refactor: update List component name
ntswambeni Aug 22, 2023
045be3b
feat: setup mock service worker
ntswambeni Aug 22, 2023
ed8c6fb
fix: remove defineProps warning on IssuerCard
ntswambeni Aug 22, 2023
74a0b65
test: ListOfIssuers
ntswambeni Aug 22, 2023
3127fba
fix: footer background color
ntswambeni Aug 22, 2023
70a96fb
fix: import assets
ntswambeni Aug 27, 2023
eb39c36
fix: new issuer button icon
ntswambeni Aug 29, 2023
917e207
chore: copy console dist to nginx/html
ntswambeni Aug 29, 2023
cafbb17
feat: filter issuers
ntswambeni Sep 1, 2023
a2d4aa9
fix: fetch initial data
ntswambeni Sep 1, 2023
3e4ca81
refactor: move footer to own component
ntswambeni Sep 1, 2023
b19d3f9
style: replace custom margin trim with tailwind
ntswambeni Sep 1, 2023
6a41604
feat: set active filter button
ntswambeni Sep 1, 2023
c383fd3
WIP: feat: set counters on filter buttons
ntswambeni Sep 2, 2023
23c921a
fix: set icons to vue components
ntswambeni Sep 2, 2023
8c3bfe2
feat: filter lists on frontend
ntswambeni Sep 2, 2023
98f9ba4
feat: add tree view sidebar component
ntswambeni Sep 2, 2023
c5a1213
feat: add tree component
ntswambeni Sep 3, 2023
52354e6
refactor: move issuers list to own conponent
ntswambeni Sep 3, 2023
f3c722e
fix: apply tree methods
ntswambeni Sep 3, 2023
99e291a
fix: increase nav component z-index
ntswambeni Sep 3, 2023
94d4dbe
style: fix buttons inner margins
ntswambeni Sep 3, 2023
0820b56
refactor: move trash icon to vue component
ntswambeni Sep 3, 2023
d5a50f2
feat: add sidebar to page
ntswambeni Sep 3, 2023
8d9e617
fix: add trash.svg icon
ntswambeni Sep 3, 2023
41c7043
style: change sidebar color to white
ntswambeni Sep 3, 2023
55a627c
style: add view icon to sidebar
ntswambeni Sep 4, 2023
a7ca81f
feat: add function call to get children
ntswambeni Sep 4, 2023
cb88e6f
feat: add working tree without changing object ref
ntswambeni Sep 4, 2023
d28056c
style: fix container for tree component
ntswambeni Sep 4, 2023
c585668
feat: select a tree node and display on sidebar
ntswambeni Sep 5, 2023
eecbb8e
feat: add Distinguished Name details
ntswambeni Sep 5, 2023
adf879a
fix: Hide side bar in tabs other than TREE
ntswambeni Sep 5, 2023
af5975c
fix: hide sidebar if no node is selected
ntswambeni Sep 5, 2023
b1acdf7
fix: import plus icon for issuer no content
ntswambeni Sep 10, 2023
3159f65
style: centrilize tree branches relative to nodes
ntswambeni Sep 10, 2023
4250279
style: add highlight to selected tree node
ntswambeni Sep 10, 2023
b0895a5
feat: highlight selected tree node
ntswambeni Sep 10, 2023
29e9068
fix: maintain tree state between tab switchs
ntswambeni Sep 10, 2023
b0459a1
fix: overflow on tree view sidebar
ntswambeni Sep 10, 2023
50d4a2a
feat: close sidebar
ntswambeni Sep 11, 2023
679cedc
refactor: remove treeview component
ntswambeni Sep 11, 2023
58f8801
fix: toggle tree only on plus or minus sign click
ntswambeni Sep 11, 2023
4caf0f7
style: set cursor pointer on tree nodes
ntswambeni Sep 11, 2023
2fa67c6
style: increase tab of not-parents nodes
ntswambeni Sep 14, 2023
1a31d95
style: remove border from issuer card image
ntswambeni Sep 14, 2023
9a9740f
fix: display full issue id on sidebar
ntswambeni Sep 15, 2023
fec99a2
fix: change badge display from SUB_CA to SUB
ntswambeni Sep 15, 2023
47a450e
fix: scope tree styles
ntswambeni Sep 15, 2023
65e4df0
fix: remove items count from tree button
ntswambeni Sep 15, 2023
71d6cbd
style: increase padding on sidebar issuer details
ntswambeni Sep 15, 2023
80559fe
feat: display sidebar on issuer selection
ntswambeni Sep 15, 2023
8626364
style: change close sidebar icon
ntswambeni Sep 15, 2023
448b6fc
fix: unselect issues
ntswambeni Sep 15, 2023
d27e237
fix: display issuer count in parenthesis
ntswambeni Sep 16, 2023
346afc9
fix: hide parent details if issuer is root
ntswambeni Sep 16, 2023
094a131
fix: issuer details with commas
ntswambeni Sep 16, 2023
5a2c001
style: add line below filter buttons
ntswambeni Sep 16, 2023
e48130a
style: change sidebar close button
ntswambeni Sep 16, 2023
be9210e
fix: disable filter if no issuers
ntswambeni Sep 16, 2023
c20372f
style: update navbar to new style theme
ntswambeni Dec 2, 2023
00d4207
feat: add tabs container
ntswambeni Dec 19, 2023
2f6c545
style: set filters layout
ntswambeni Feb 13, 2024
9215d21
feat: add footer to main view
Feb 25, 2024
a6d46f9
feat: get list of issuers from DB
Feb 26, 2024
ef6a2f2
feat: add overflow custom scroll bar
Feb 26, 2024
989c63f
feat: add certificates filter component
ntswambeni Mar 31, 2024
981523b
feat: add issuers page
ntswambeni Jun 11, 2024
ed59805
style: fix tree icons
ntswambeni Jun 11, 2024
e8f6e2f
style: fix layout of certificates list
ntswambeni Jun 11, 2024
f686ea4
feat: add issuer details modal
ntswambeni Jun 14, 2024
157b64b
feat: add delete issuer
ntswambeni Jun 23, 2024
9071cab
feat: add tree to issuers filter
ntswambeni Jun 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN npm run build
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.8-1014
RUN microdnf install -y nginx
WORKDIR /work/
COPY --from=CONSOLE_BUILD /work/dist/** /usr/share/nginx/html/
COPY --from=CONSOLE_BUILD /work/dist/ /usr/share/nginx/html/
ENV CERTEASY_DATADIR=/work/data
ENV QUARKUS_LOG_LEVEL=INFO
COPY *-runner /work/app
Expand Down
4 changes: 0 additions & 4 deletions certeasy-console-app/.browserslistrc

This file was deleted.

21 changes: 21 additions & 0 deletions certeasy-console-app/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/* eslint-env node */
module.exports = {
root: true,
'extends': [
'plugin:vue/vue3-essential',
'eslint:recommended'
],
overrides: [
{
files: [
'cypress/e2e/**/*.{cy,spec}.{js,ts,jsx,tsx}'
],
'extends': [
'plugin:cypress/recommended'
]
}
],
parserOptions: {
ecmaVersion: 'latest'
}
}
17 changes: 0 additions & 17 deletions certeasy-console-app/.eslintrc.js

This file was deleted.

30 changes: 16 additions & 14 deletions certeasy-console-app/.gitignore
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
.DS_Store
node_modules
/dist

/tests/e2e/videos/
/tests/e2e/screenshots/


# local env files
.env.local
.env.*.local

# Log files
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
.DS_Store
dist
dist-ssr
coverage
*.local

/cypress/videos/
/cypress/screenshots/

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
Expand Down
7 changes: 7 additions & 0 deletions certeasy-console-app/.vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"Vue.volar",
"Vue.vscode-typescript-vue-plugin",
"dbaeumer.vscode-eslint"
]
}
79 changes: 34 additions & 45 deletions certeasy-console-app/README.md
Original file line number Diff line number Diff line change
@@ -1,68 +1,57 @@
# Certeasy Console App
The easiest certificate authority for development and experiments
# certeasy-console-app

This template should help get you started developing with Vue 3 in Vite.

## Project structure
- [`src`](#src)
- [`assets`](#assets)
- [`components`](#components)
- [`views`](#views)
- [`config`](#config)
- [`router`](#router)
- [`services`](#services)
- [`store`](#store)
- [`main.js`](#mainjs)
- [`tests`](#tests)
## Recommended IDE Setup

### `src`
Source
[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).

### `assets`
Images
## Customize configuration

### `components`
Shared components folder.
See [Vite Configuration Reference](https://vitejs.dev/config/).

## Project Setup

### `config`
App config files.
```sh
npm install
```

### Compile and Hot-Reload for Development

### `views`
Page wrapper components(Pages) and Local components.
```sh
npm run dev
```

### `router`
Router instance and routing declaration.
- `index` - router initialization.
### Compile and Minify for Production

### `store`
App store with separate modules.
```sh
npm run build
```

### Run Unit Tests with [Vitest](https://vitest.dev/)

### `main.js`
Root app initialization file.
```sh
npm run test:unit
```

### Run End-to-End Tests with [Cypress](https://www.cypress.io/)

## Build Setup
```
npm install
```sh
npm run test:e2e:dev
```

### Compiles and hot-reloads for development
```
npm run serve
```
This runs the end-to-end tests against the Vite development server.
It is much faster than the production build.

### Compiles and minifies for production
```
npm run build
```
But it's still recommended to test the production build with `test:e2e` before deploying (e.g. in CI environments):

### Run your end-to-end tests
```
```sh
npm run build
npm run test:e2e
```

### Lints and fixes files
### Lint with [ESLint](https://eslint.org/)

```sh
npm run lint
```
npm run lint
5 changes: 0 additions & 5 deletions certeasy-console-app/babel.config.js

This file was deleted.

8 changes: 8 additions & 0 deletions certeasy-console-app/cypress.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
const { defineConfig } = require('cypress')

module.exports = defineConfig({
e2e: {
specPattern: 'cypress/e2e/**/*.{cy,spec}.{js,jsx,ts,tsx}',
baseUrl: 'http://localhost:4173'
}
})
3 changes: 0 additions & 3 deletions certeasy-console-app/cypress.json

This file was deleted.

8 changes: 8 additions & 0 deletions certeasy-console-app/cypress/e2e/example.cy.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
// https://on.cypress.io/api

describe('My First Test', () => {
it('visits the app root url', () => {
cy.visit('/')
cy.contains('h1', 'You did it!')
})
})
8 changes: 8 additions & 0 deletions certeasy-console-app/cypress/e2e/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"compilerOptions": {
"target": "es5",
"lib": ["es5", "dom"],
"types": ["cypress"]
},
"include": ["./**/*", "../support/**/*"]
}
5 changes: 5 additions & 0 deletions certeasy-console-app/cypress/fixtures/example.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "Using fixtures to represent data",
"email": "hello@cypress.io",
"body": "Fixtures are a great way to mock data for responses to routes"
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
//
//
// -- This is a parent command --
// Cypress.Commands.add("login", (email, password) => { ... })
// Cypress.Commands.add('login', (email, password) => { ... })
//
//
// -- This is a child command --
// Cypress.Commands.add("drag", { prevSubject: 'element'}, (subject, options) => { ... })
// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... })
//
//
// -- This is a dual command --
// Cypress.Commands.add("dismiss", { prevSubject: 'optional'}, (subject, options) => { ... })
// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... })
//
//
// -- This is will overwrite an existing command --
// Cypress.Commands.overwrite("visit", (originalFn, url, options) => { ... })
// -- This will overwrite an existing command --
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... })
13 changes: 13 additions & 0 deletions certeasy-console-app/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Certeasy Console App</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>
19 changes: 0 additions & 19 deletions certeasy-console-app/jsconfig.json

This file was deleted.

Loading