Skip to content

Commit 23aecb4

Browse files
Merge pull request #1601 from OpenSignLabs/updates-13451970686
v2.13.1
2 parents 1f6c2c7 + 92b507e commit 23aecb4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+772
-647
lines changed

apps/OpenSign/package-lock.json

Lines changed: 67 additions & 161 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apps/OpenSign/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"private": true,
55
"dependencies": {
66
"@formkit/auto-animate": "^0.8.2",
7-
"@lottiefiles/dotlottie-react": "^0.12.3",
7+
"@lottiefiles/dotlottie-react": "^0.13.0",
88
"@pdf-lib/fontkit": "^1.1.1",
99
"@radix-ui/themes": "^3.1.6",
1010
"@react-pdf/renderer": "^4.1.6",
@@ -42,7 +42,7 @@
4242
"react-redux": "^9.2.0",
4343
"react-rnd": "^10.4.14",
4444
"react-router": "^7.1.5",
45-
"react-scripts": "5.0.1",
45+
"react-scripts": "^5.0.1",
4646
"react-scrollbars-custom": "^4.1.1",
4747
"react-select": "^5.10.0",
4848
"react-signature-canvas": "^1.0.7",
@@ -58,7 +58,7 @@
5858
"styled-components": "^5.3.0",
5959
"web-vitals": "^4.2.4",
6060
"ws": "^8.18.0",
61-
"xlsx": "^0.18.5"
61+
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
6262
},
6363
"scripts": {
6464
"build": "npm run version && react-scripts build",
@@ -96,10 +96,10 @@
9696
}
9797
},
9898
"devDependencies": {
99-
"@babel/core": "^7.26.8",
100-
"@babel/preset-env": "^7.26.8",
99+
"@babel/core": "^7.26.9",
100+
"@babel/preset-env": "^7.26.9",
101101
"@babel/preset-react": "^7.26.3",
102-
"@babel/runtime-corejs2": "^7.26.7",
102+
"@babel/runtime-corejs2": "^7.26.9",
103103
"autoprefixer": "^10.4.20",
104104
"babel-loader": "^9.2.1",
105105
"commitizen": "^4.3.1",

apps/OpenSign/public/index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!DOCTYPE html>
22
<html lang="en" data-theme="opensigncss">
3+
34
<head>
45
<meta charset="utf-8" />
56
<link rel="icon" href="/favicon.ico" />
@@ -11,8 +12,8 @@
1112
<link rel="manifest" href="/manifest.json" />
1213
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
1314
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous" />
14-
<link rel="stylesheet" href="https://cdn.opensignlabs.com/fonts.css" />
15-
<title>OpenSign™</title>
15+
<link rel="stylesheet" href="https://cdn.opensignlabs.com/fonts.css" />
16+
<title>...Loading</title>
1617
</head>
1718
<body>
1819
<div id="root" style="touch-action:pan-x pan-y;"></div>

apps/OpenSign/public/locales/de/translation.json

Lines changed: 44 additions & 31 deletions
Large diffs are not rendered by default.

apps/OpenSign/public/locales/en/translation.json

Lines changed: 44 additions & 31 deletions
Large diffs are not rendered by default.

apps/OpenSign/public/locales/es/translation.json

Lines changed: 45 additions & 31 deletions
Large diffs are not rendered by default.

apps/OpenSign/public/locales/fr/translation.json

Lines changed: 46 additions & 35 deletions
Large diffs are not rendered by default.

apps/OpenSign/public/locales/it/translation.json

Lines changed: 44 additions & 31 deletions
Large diffs are not rendered by default.

apps/OpenSign/src/App.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ import Loader from "./primitives/Loader";
1919
import UserList from "./pages/UserList";
2020
import { serverUrl_fn } from "./constant/appinfo";
2121
import DocSuccessPage from "./pages/DocSuccessPage";
22+
import ValidateSession from "./primitives/ValidateSession";
2223
const DebugPdf = lazy(() => import("./pages/DebugPdf"));
2324
const ForgetPassword = lazy(() => import("./pages/ForgetPassword"));
2425
const GuestLogin = lazy(() => import("./pages/GuestLogin"));
@@ -29,6 +30,7 @@ const ManageSign = lazy(() => import("./pages/Managesign"));
2930
const AddAdmin = lazy(() => import("./pages/AddAdmin"));
3031
const UpdateExistUserAdmin = lazy(() => import("./pages/UpdateExistUserAdmin"));
3132
const Preferences = lazy(() => import("./pages/Preferences"));
33+
3234
pdfjs.GlobalWorkerOptions.workerSrc = `//unpkg.com/pdfjs-dist@${pdfjs.version}/legacy/build/pdf.worker.min.mjs`;
3335
const AppLoader = () => {
3436
return (
@@ -108,7 +110,13 @@ function App() {
108110
path="/forgetpassword"
109111
element={<LazyPage Page={ForgetPassword} />}
110112
/>
111-
<Route element={<HomeLayout />}>
113+
<Route
114+
element={
115+
<ValidateSession>
116+
<HomeLayout />
117+
</ValidateSession>
118+
}
119+
>
112120
<Route
113121
path="/changepassword"
114122
element={<LazyPage Page={ChangePassword} />}
@@ -121,7 +129,7 @@ function App() {
121129
element={<LazyPage Page={UserProfile} />}
122130
/>
123131
<Route
124-
path="/opensigndrive"
132+
path="/drive"
125133
element={<LazyPage Page={Opensigndrive} />}
126134
/>
127135
<Route

apps/OpenSign/src/components/Footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import axios from "axios";
44
import { openInNewTab } from "../constant/Utils";
55
import { useTranslation } from "react-i18next";
66
const Footer = () => {
7+
const appName = "OpenSign™";
78
const { t } = useTranslation();
89
const [showButton, setShowButton] = useState(false);
910
const [version, setVersion] = useState("");
@@ -39,7 +40,6 @@ const Footer = () => {
3940
};
4041
}, []);
4142

42-
const appName = "OpenSign™";
4343
const openUrl = () => {
4444
openInNewTab(
4545
"https://github.com/OpenSignLabs/OpenSign/releases/tag/" + version

0 commit comments

Comments
 (0)