-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #77 from vicheanath/feat/refreshtoken
feat: add refresh token
- Loading branch information
Showing
37 changed files
with
2,490 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,4 +46,4 @@ management: | |
jwt: | ||
secret: ${JWT_SECRET:1234} | ||
mail: | ||
enabled: ${ENABLED:false} | ||
enabled: ${ENABLED:true} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file removed
BIN
-102 KB
backend/pms/src/main/resources/zfilestorage/0d832078-7c8c-4a93-bf2c-4f8c986d7bcc
Binary file not shown.
Binary file removed
BIN
-366 KB
backend/pms/src/main/resources/zfilestorage/18ee8134-c056-4b62-ab9c-de5c5ed1a397
Binary file not shown.
Binary file removed
BIN
-46.6 KB
backend/pms/src/main/resources/zfilestorage/19e4d3b2-b4fe-4260-9082-30c0bbdc4bcd
Binary file not shown.
Binary file removed
BIN
-147 KB
backend/pms/src/main/resources/zfilestorage/20b85878-8ffd-442a-be27-e7b3d1dcc0f1
Binary file not shown.
Binary file removed
BIN
-56.5 KB
backend/pms/src/main/resources/zfilestorage/216bde52-1811-4e57-a587-41bfc9cf00ab
Binary file not shown.
Binary file removed
BIN
-130 KB
backend/pms/src/main/resources/zfilestorage/255d0f6e-be87-4deb-a8d1-4640941c97e1
Binary file not shown.
Binary file removed
BIN
-106 KB
backend/pms/src/main/resources/zfilestorage/26e2c78c-def2-4fc9-b34c-21c2eb8994ed
Binary file not shown.
Binary file removed
BIN
-77.8 KB
backend/pms/src/main/resources/zfilestorage/3d56edd8-d846-498a-a7a0-86abf7f450b8
Binary file not shown.
Binary file removed
BIN
-58.1 KB
backend/pms/src/main/resources/zfilestorage/475cd1db-15dc-4c47-80cb-6bf49763f978
Binary file not shown.
Binary file removed
BIN
-122 KB
backend/pms/src/main/resources/zfilestorage/48cf8e8a-31f9-45d4-8521-331d035ed6a9
Binary file not shown.
Binary file removed
BIN
-93 KB
backend/pms/src/main/resources/zfilestorage/4ddaf5cb-d198-4c4f-bda3-166d0d1720e6
Binary file not shown.
Binary file removed
BIN
-122 KB
backend/pms/src/main/resources/zfilestorage/52830c0e-246b-4b48-b6dc-0bda9a4444b8
Binary file not shown.
Binary file removed
BIN
-93 KB
backend/pms/src/main/resources/zfilestorage/591d9fa5-98e7-4a26-9feb-05e1d711e1bc
Binary file not shown.
Binary file removed
BIN
-117 KB
backend/pms/src/main/resources/zfilestorage/5d4e5767-6ba6-49f4-8778-25314b25a7ad
Binary file not shown.
Binary file removed
BIN
-73 KB
backend/pms/src/main/resources/zfilestorage/67d45a9b-855a-4e18-8c50-c5589f965a43
Binary file not shown.
Binary file removed
BIN
-79.6 KB
backend/pms/src/main/resources/zfilestorage/708d8753-0c03-4442-8ecd-15ef7ce229d6
Binary file not shown.
Binary file removed
BIN
-117 KB
backend/pms/src/main/resources/zfilestorage/7dbe103a-ef37-4d40-8514-8b1d305cadbc
Binary file not shown.
Binary file removed
BIN
-117 KB
backend/pms/src/main/resources/zfilestorage/7ec7814c-f1d4-40f3-8408-2c9b5ca475ce
Binary file not shown.
Binary file removed
BIN
-122 KB
backend/pms/src/main/resources/zfilestorage/cb0ecd6f-0ff2-47e8-9a85-dca4b2d5a50f
Binary file not shown.
Binary file removed
BIN
-79.6 KB
backend/pms/src/main/resources/zfilestorage/cf9af819-c037-4a2f-9d0b-a5266752e1de
Binary file not shown.
Binary file removed
BIN
-93 KB
backend/pms/src/main/resources/zfilestorage/d940e58b-fea3-42c4-b8ad-ad0a6fd77d2a
Binary file not shown.
Binary file removed
BIN
-147 KB
backend/pms/src/main/resources/zfilestorage/dfa22596-db7b-42ce-a421-95ddefbc9c9a
Binary file not shown.
Binary file removed
BIN
-79.6 KB
backend/pms/src/main/resources/zfilestorage/ea5dd452-e0b9-4a5e-a47e-791a51b3f7c8
Binary file not shown.
Binary file removed
BIN
-147 KB
backend/pms/src/main/resources/zfilestorage/fa0f3c2e-83dd-40ed-8a57-151cdf8c7490
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
const { defineConfig } = require("cypress"); | ||
|
||
module.exports = defineConfig({ | ||
component: { | ||
devServer: { | ||
framework: "create-react-app", | ||
bundler: "webpack", | ||
}, | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"name": "Using fixtures to represent data", | ||
"email": "[email protected]", | ||
"body": "Fixtures are a great way to mock data for responses to routes" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// *********************************************** | ||
// This example commands.js shows you how to | ||
// create various custom commands and overwrite | ||
// existing commands. | ||
// | ||
// For more comprehensive examples of custom | ||
// commands please read more here: | ||
// https://on.cypress.io/custom-commands | ||
// *********************************************** | ||
// | ||
// | ||
// -- This is a parent command -- | ||
// Cypress.Commands.add('login', (email, password) => { ... }) | ||
// | ||
// | ||
// -- This is a child command -- | ||
// Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) | ||
// | ||
// | ||
// -- This is a dual command -- | ||
// Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) | ||
// | ||
// | ||
// -- This will overwrite an existing command -- | ||
// Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1.0"> | ||
<title>Components App</title> | ||
</head> | ||
<body> | ||
<div data-cy-root></div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// *********************************************************** | ||
// This example support/component.js is processed and | ||
// loaded automatically before your test files. | ||
// | ||
// This is a great place to put global configuration and | ||
// behavior that modifies Cypress. | ||
// | ||
// You can change the location of this file or turn off | ||
// automatically serving support files with the | ||
// 'supportFile' configuration option. | ||
// | ||
// You can read more here: | ||
// https://on.cypress.io/configuration | ||
// *********************************************************** | ||
|
||
// Import commands.js using ES2015 syntax: | ||
import './commands' | ||
|
||
// Alternatively you can use CommonJS syntax: | ||
// require('./commands') | ||
|
||
import { mount } from 'cypress/react18' | ||
|
||
Cypress.Commands.add('mount', mount) | ||
|
||
// Example use: | ||
// cy.mount(<MyComponent />) |
Oops, something went wrong.