From de1e1ae3bb54c7ba46f798ca9fd831d4c08bb112 Mon Sep 17 00:00:00 2001 From: Akriti Sengar Date: Fri, 27 Oct 2023 22:52:38 +0530 Subject: [PATCH 01/32] Changed defauld downloaded file name --- .../src/Component/LegaDrive/FolderDrive/legaDriveComponent.js | 2 +- .../SignDocuments/src/Component/component/emailComponent.js | 2 +- microfrontends/SignDocuments/src/Component/component/header.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/microfrontends/SignDocuments/src/Component/LegaDrive/FolderDrive/legaDriveComponent.js b/microfrontends/SignDocuments/src/Component/LegaDrive/FolderDrive/legaDriveComponent.js index 20e0ce2c3..93ce5b94f 100644 --- a/microfrontends/SignDocuments/src/Component/LegaDrive/FolderDrive/legaDriveComponent.js +++ b/microfrontends/SignDocuments/src/Component/LegaDrive/FolderDrive/legaDriveComponent.js @@ -221,7 +221,7 @@ function PdfFileComponent({ // console.log("download") const pdfName = data && data.Name; const pdfUrl = data && data.SignedUrl ? data.SignedUrl : data.URL; - saveAs(pdfUrl, `${pdfName}_signed_by_opensign.qik.ai.pdf`); + saveAs(pdfUrl, `${pdfName}_signed_by_OpenSignβ„’.pdf`); } else if (selectType === "Rename") { // console.log("rename") setRenameValue(data.Name); diff --git a/microfrontends/SignDocuments/src/Component/component/emailComponent.js b/microfrontends/SignDocuments/src/Component/component/emailComponent.js index e866263e0..722e2582d 100644 --- a/microfrontends/SignDocuments/src/Component/component/emailComponent.js +++ b/microfrontends/SignDocuments/src/Component/component/emailComponent.js @@ -143,7 +143,7 @@ function EmailComponent({ //handle download signed pdf const handleDownloadPdf = () => { - saveAs(pdfUrl, `${pdfName}_signed_by_opensign.qik.ai.pdf`); + saveAs(pdfUrl, `${pdfName}_signed_by_OpenSignβ„’.pdf`); }; return ( diff --git a/microfrontends/SignDocuments/src/Component/component/header.js b/microfrontends/SignDocuments/src/Component/component/header.js index 22cd2d671..a6c36f6bd 100644 --- a/microfrontends/SignDocuments/src/Component/component/header.js +++ b/microfrontends/SignDocuments/src/Component/component/header.js @@ -67,7 +67,7 @@ function Header({ const handleDownloadPdf = () => { const pdfName = pdfDetails[0] && pdfDetails[0].Name; - saveAs(pdfUrl, `${pdfName}_signed_by_opensign.qik.ai.pdf`); + saveAs(pdfUrl, `${pdfName}_signed_by_OpenSignβ„’.pdf`); }; return ( From c4dab6bce57667ea98d665ce393fee7f4d95eb80 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 28 Oct 2023 00:32:02 +0530 Subject: [PATCH 02/32] Changed title length limit from 50 to 100 characters in Request signature form --- apps/OpenSign/src/json/FormJson.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/OpenSign/src/json/FormJson.js b/apps/OpenSign/src/json/FormJson.js index e31b1fe03..e7276a9a4 100644 --- a/apps/OpenSign/src/json/FormJson.js +++ b/apps/OpenSign/src/json/FormJson.js @@ -123,7 +123,7 @@ export const formJson = (id) => { Name: { type: "string", title: "Title", - maxLength: 50 + maxLength: 100 }, Description: { type: "string", From 93e40b3398230d1777f656ce8771e0df463003d0 Mon Sep 17 00:00:00 2001 From: Amol Date: Sat, 28 Oct 2023 01:38:18 +0530 Subject: [PATCH 03/32] chore: Create .env.example --- .env.example | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 .env.example diff --git a/.env.example b/.env.example new file mode 100644 index 000000000..7ca014a84 --- /dev/null +++ b/.env.example @@ -0,0 +1,49 @@ +# Frontend config ************************************************************************************************************************************************************************************************ +# Set CI to false while running the app locally +CI=false +# Set it to the URL form where the app home page will be accessed +PUBLIC_URL=https://app.opensignlabs.com/ +# Set it to true if you want to generate the Sourcemap for debugging +GENERATE_SOURCEMAP=false +# Set it to the URL from where APIs will be accessible, for local development it should be localhost:3000/api/app (use your local port number instead) +REACT_APP_SERVERURL=https://app.opensignlabs.com/api/app +# A 12 character long random app identifier. The value of this should be same as APP_ID which is a variable used by backend API. +REACT_APP_APPID=aDsADsqweqwe +# Google tag manager container id for configuring GTM on all pages of the app +REACT_APP_GTM=GTM-123N7LD + +# Backend ExpressJS config **************************************************************************************************************************************************************************************** +# A 12 character long random app identifier. The value of this should be same as REACT_APP_APPID which is a variable used by Frontend React App. +APP_ID=aDsADsqweqwe +# Name of the app. It will be visible in the verification emails sent out. +appName=open_sign_server +# A 12 character long random secret key that allows access to all the data. It is used in Parse dashboard config to view all the data in the database. +MASTER_KEY=XnAadwKxxByMr +# Mongodb URI to connect to +MONGODB_URI=mongodb://username:password@localhost:27017 +# Path on which APIs should be mounted. Do not change this. This variable shall be removed & value hardcoded in the source code in coming versions. +PARSE_MOUNT=/app +# Set it to the URL from where APIs will be accessible to the NodeJS functions, for local development it should be localhost:3000/api/app (use your local port number instead) +SERVER_URL=https://app.opensignlabs.com/api/app + +# Storage config ************************************************************************************************************************************************************************************************ +# Digital ocean space name or AWS S3 bucket name for uploading documents +DO_SPACE=DOSPACENAME +# Digital ocean spaces endpoint or AWS S3 endpoint for uploading documents +DO_ENDPOINT=ams3.digitaloceanspaces.com +# Digital ocean baseurl or AWS S3 base URL +DO_BASEURL=https://DOSPACENAME.ams3.digitaloceanspaces.com +# Digital ocean spaces access key ID or AWS s3 Access key ID for uploading the docs +DO_ACCESS_KEY_ID= +# Digital ocean spaces secret access key or AWS s3 secret access key for uploading the docs +DO_SECRET_ACCESS_KEY= +# Digital ocean spaces region or AWS s3 region +DO_REGION=us-west + +# Email mailgun config (The app will not initialize if any of these 3 variables are not set) ********************************************************************************************************************* +MAILGUN_API_KEY= +MAILGUN_DOMAIN=mail.yourdomain.com +MAILGUN_SENDER=postmaster@mail.yourdomain.com + +# Base64 encoded PFX or p12 document signing certificate file ********************************************************************************************************************* +PFX_BASE64= From e22b2780861669a9d217dc8c4a0dd57142364e33 Mon Sep 17 00:00:00 2001 From: LemonDrop847 Date: Sat, 28 Oct 2023 11:01:06 +0530 Subject: [PATCH 04/32] chore: Default Signature text edited --- .../SignDocuments/src/Component/component/defaultSignature.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/microfrontends/SignDocuments/src/Component/component/defaultSignature.js b/microfrontends/SignDocuments/src/Component/component/defaultSignature.js index 6a1906ba4..cd0385ac5 100644 --- a/microfrontends/SignDocuments/src/Component/component/defaultSignature.js +++ b/microfrontends/SignDocuments/src/Component/component/defaultSignature.js @@ -111,7 +111,7 @@ function DefaultSignature({ ) : (
- You didn't add your default signature yet! + Click a signature placeholder to start signing the document!
)} From db9ba940ff2e472af31726ccbc9866c1da614850 Mon Sep 17 00:00:00 2001 From: Amol Date: Sat, 28 Oct 2023 19:41:33 +0530 Subject: [PATCH 05/32] Add average time to resolve and all-contributors to README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 272bb9306..9d26937ce 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,10 @@ The free open source alternative to DocuSign | PandaDoc | SignNow | Adobe Sign | Smartwaiver | SignRequest | HelloSign | Zoho sign. +[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/opensignlabs/opensign.svg)](http://isitmaintained.com/project/opensignlabs/opensign "Average time to resolve an issue") + +[![All Contributors](https://img.shields.io/github/all-contributors/opensignlabs/opensign?color=ee8449&style=flat-square)](#contributors) + Website   β€’   Docs @@ -93,3 +97,15 @@ OpenSign is licensed under the AGPL License. For more details, see the [LICENSE] We would like to thank all our contributors and users for their support and feedback. Special thanks to [OpenSignLabs](https://github.com/OpenSignLabs) for spearheading this initiative. --- + +## Contributors + + + + + + + + + + From 2fb9d5005f831024af9bf693689095ea6bff4d4a Mon Sep 17 00:00:00 2001 From: Amol Date: Sat, 28 Oct 2023 19:43:37 +0530 Subject: [PATCH 06/32] Create .all-contributorsrc --- .all-contributorsrc | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .all-contributorsrc diff --git a/.all-contributorsrc b/.all-contributorsrc new file mode 100644 index 000000000..d6c568719 --- /dev/null +++ b/.all-contributorsrc @@ -0,0 +1,4 @@ +{ + "projectName": "", + "projectOwner": "" +} From 029380acfc0293667f8539327f7b7d6a69422444 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:15:48 +0000 Subject: [PATCH 07/32] docs: update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 9d26937ce..f0ce02c3c 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,13 @@ We would like to thank all our contributors and users for their support and feed + + + + + + +
Aleksandar Jakovljevic
Aleksandar Jakovljevic

πŸ’»
From 84a1a7cd6197bdb436474058638bb5dbb124db73 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:15:49 +0000 Subject: [PATCH 08/32] docs: update .all-contributorsrc --- .all-contributorsrc | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/.all-contributorsrc b/.all-contributorsrc index d6c568719..7b4b6e22d 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -1,4 +1,21 @@ { - "projectName": "", - "projectOwner": "" + "projectName": "OpenSign", + "projectOwner": "OpenSignLabs", + "files": [ + "README.md" + ], + "commitType": "docs", + "commitConvention": "angular", + "contributorsPerLine": 7, + "contributors": [ + { + "login": "ajakov", + "name": "Aleksandar Jakovljevic", + "avatar_url": "https://avatars.githubusercontent.com/u/2115393?v=4", + "profile": "https://aleksandarjakovljevic.com/", + "contributions": [ + "code" + ] + } + ] } From 6b7cecb0a05b0fb33ab65267de11208f68491cc5 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:20:47 +0000 Subject: [PATCH 09/32] docs: update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index f0ce02c3c..902b43ec4 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,7 @@ We would like to thank all our contributors and users for their support and feed Aleksandar Jakovljevic
Aleksandar Jakovljevic

πŸ’» + Amol
Amol

πŸ’» From 766f4f88b34b9715058c5b08abf9bab120d92829 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:20:48 +0000 Subject: [PATCH 10/32] docs: update .all-contributorsrc --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index 7b4b6e22d..c8d920c2e 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -16,6 +16,15 @@ "contributions": [ "code" ] + }, + { + "login": "nxglabs", + "name": "Amol", + "avatar_url": "https://avatars.githubusercontent.com/u/5486116?v=4", + "profile": "https://github.com/nxglabs", + "contributions": [ + "code" + ] } ] } From db8c29725681e5608769e142815ba6e32dd74d78 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:35:56 +0000 Subject: [PATCH 11/32] docs: update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 902b43ec4..6625fcb2d 100644 --- a/README.md +++ b/README.md @@ -108,6 +108,7 @@ We would like to thank all our contributors and users for their support and feed Aleksandar Jakovljevic
Aleksandar Jakovljevic

πŸ’» Amol
Amol

πŸ’» + Priyanshu Dwivedi
Priyanshu Dwivedi

πŸ’» From 3542b45161c8d8180256b112ac42d79352db6cb5 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:35:57 +0000 Subject: [PATCH 12/32] docs: update .all-contributorsrc --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index c8d920c2e..1a6468155 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -25,6 +25,15 @@ "contributions": [ "code" ] + }, + { + "login": "BuilderPrid", + "name": "Priyanshu Dwivedi", + "avatar_url": "https://avatars.githubusercontent.com/u/106882895?v=4", + "profile": "https://github.com/BuilderPrid", + "contributions": [ + "code" + ] } ] } From 9fff8a5c366359239212f044240477d564eebd65 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:37:45 +0000 Subject: [PATCH 13/32] docs: update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 6625fcb2d..78312096f 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,7 @@ We would like to thank all our contributors and users for their support and feed Aleksandar Jakovljevic
Aleksandar Jakovljevic

πŸ’» Amol
Amol

πŸ’» Priyanshu Dwivedi
Priyanshu Dwivedi

πŸ’» + Akriti Sengar
Akriti Sengar

πŸ’» From c24d719674b5e850e685c133b2540a348f14ed3e Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:37:46 +0000 Subject: [PATCH 14/32] docs: update .all-contributorsrc --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index 1a6468155..6f1d5e957 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -34,6 +34,15 @@ "contributions": [ "code" ] + }, + { + "login": "Tashuuuu", + "name": "Akriti Sengar", + "avatar_url": "https://avatars.githubusercontent.com/u/85075827?v=4", + "profile": "https://github.com/Tashuuuu", + "contributions": [ + "code" + ] } ] } From 1a2483b12f38effa6ca0f7f5008295c57ff9bc44 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:38:52 +0000 Subject: [PATCH 15/32] docs: update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 78312096f..eea6241ed 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,7 @@ We would like to thank all our contributors and users for their support and feed Amol
Amol

πŸ’» Priyanshu Dwivedi
Priyanshu Dwivedi

πŸ’» Akriti Sengar
Akriti Sengar

πŸ’» + Parth Chawande
Parth Chawande

πŸ’» From 118a8e6240201970d4147816dc51a843fcdf2332 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:38:53 +0000 Subject: [PATCH 16/32] docs: update .all-contributorsrc --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index 6f1d5e957..358b926ec 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -43,6 +43,15 @@ "contributions": [ "code" ] + }, + { + "login": "parthrc", + "name": "Parth Chawande", + "avatar_url": "https://avatars.githubusercontent.com/u/101104958?v=4", + "profile": "https://github.com/parthrc", + "contributions": [ + "code" + ] } ] } From 0a81e33b45e247d0c39adeac9b18c589cd78b4dc Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:39:59 +0000 Subject: [PATCH 17/32] docs: update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index eea6241ed..a1e58ccfc 100644 --- a/README.md +++ b/README.md @@ -111,6 +111,7 @@ We would like to thank all our contributors and users for their support and feed Priyanshu Dwivedi
Priyanshu Dwivedi

πŸ’» Akriti Sengar
Akriti Sengar

πŸ’» Parth Chawande
Parth Chawande

πŸ’» + Rishabh Dewangan
Rishabh Dewangan

πŸ’» From 7109b801d49be24cda7003eef34745381887f594 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:40:00 +0000 Subject: [PATCH 18/32] docs: update .all-contributorsrc --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index 358b926ec..c1a121eb3 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -52,6 +52,15 @@ "contributions": [ "code" ] + }, + { + "login": "Rishabh-git10", + "name": "Rishabh Dewangan", + "avatar_url": "https://avatars.githubusercontent.com/u/107680241?v=4", + "profile": "https://github.com/Rishabh-git10", + "contributions": [ + "code" + ] } ] } From db4b6a957a6f6a1c334119431548e0d59fd9c974 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:41:38 +0000 Subject: [PATCH 19/32] docs: update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a1e58ccfc..442fcafef 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,7 @@ We would like to thank all our contributors and users for their support and feed Akriti Sengar
Akriti Sengar

πŸ’» Parth Chawande
Parth Chawande

πŸ’» Rishabh Dewangan
Rishabh Dewangan

πŸ’» + Nitin Mishra
Nitin Mishra

πŸ’» From 7229b9fd4a7437da545e01fa07daf6cbdf871f46 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:41:39 +0000 Subject: [PATCH 20/32] docs: update .all-contributorsrc --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index c1a121eb3..a8606d45e 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -61,6 +61,15 @@ "contributions": [ "code" ] + }, + { + "login": "LemonDrop847", + "name": "Nitin Mishra", + "avatar_url": "https://avatars.githubusercontent.com/u/106615670?v=4", + "profile": "https://github.com/LemonDrop847", + "contributions": [ + "code" + ] } ] } From c133b90a37dba844157bf69f0db207427d8e7c6c Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:45:38 +0000 Subject: [PATCH 21/32] docs: update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 442fcafef..4a126eec5 100644 --- a/README.md +++ b/README.md @@ -114,6 +114,9 @@ We would like to thank all our contributors and users for their support and feed Rishabh Dewangan
Rishabh Dewangan

πŸ’» Nitin Mishra
Nitin Mishra

πŸ’» + + Jobin Selvanose
Jobin Selvanose

πŸ“– + From 0d2519aeeb6f83173fce7b7e97202bdf5ec433e8 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:45:39 +0000 Subject: [PATCH 22/32] docs: update .all-contributorsrc --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index a8606d45e..d6c71ea41 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -70,6 +70,15 @@ "contributions": [ "code" ] + }, + { + "login": "Jobin-S", + "name": "Jobin Selvanose", + "avatar_url": "https://avatars.githubusercontent.com/u/63976083?v=4", + "profile": "http://jobinselvanose.com", + "contributions": [ + "doc" + ] } ] } From db44b283b012015da85bc334dd85359ff6db5787 Mon Sep 17 00:00:00 2001 From: Monil Prajapati Date: Sun, 29 Oct 2023 00:51:02 +0530 Subject: [PATCH 23/32] Solved the issue of undefined charAt in index.js --- apps/OpenSign/src/redux/actions/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/OpenSign/src/redux/actions/index.js b/apps/OpenSign/src/redux/actions/index.js index 1901f16c4..8a5734ef9 100644 --- a/apps/OpenSign/src/redux/actions/index.js +++ b/apps/OpenSign/src/redux/actions/index.js @@ -8,8 +8,10 @@ export const fetchAppInfo = (str, burl, app_id) => async (dispatch) => { Parse.initialize(app_id); const response = appInfo; - let _base = response.baseurl.charAt(response.baseurl.length - 1); - localStorage.removeItem("baseUrl"); + let _base = ""; // Define _base here and initialize it to an empty string + if (response && response.baseurl) { + _base = response.baseurl.charAt(response.baseurl.length - 1); + } localStorage.removeItem("baseUrl"); localStorage.setItem("_appName", response.appname); localStorage.setItem("_app_objectId", response.objectId); if (_base === "/") { From 46325564a147498bbf0f8a773f5b3a8fbbdfbc38 Mon Sep 17 00:00:00 2001 From: Monil Prajapati Date: Sun, 29 Oct 2023 01:29:30 +0530 Subject: [PATCH 24/32] Solved Issue67 - Password show in Login page --- apps/OpenSign/src/routes/Login.js | 42 +++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 10 deletions(-) diff --git a/apps/OpenSign/src/routes/Login.js b/apps/OpenSign/src/routes/Login.js index 6477d1193..8eea2dba7 100644 --- a/apps/OpenSign/src/routes/Login.js +++ b/apps/OpenSign/src/routes/Login.js @@ -1,4 +1,4 @@ -import React, { Component } from "react"; +import React, { Component, useState } from "react"; import Parse from "parse"; import "../styles/toast.css"; import "../styles/loader.css"; @@ -17,6 +17,7 @@ class Login extends Component { toastColor: "#5cb85c", toastDescription: "", password: "", + passwordVisible: false, mobile: "", phone: "", OTP: "", @@ -1009,9 +1010,14 @@ class Login extends Component { return ; } - const { email, password } = this.state; + const { email, password, passwordVisible } = this.state; let image = this.props.appInfo.applogo; let settings = this.props.appInfo.settings || undefined; + const togglePasswordVisibility = () => { + this.setState((prevState) => ({ + passwordVisible: !prevState.passwordVisible + })); + }; return (
{settings && @@ -1061,14 +1067,30 @@ class Login extends Component { />
- +
+ + + {passwordVisible ? ( + // Close eye icon + ) : ( + // Open eye icon + )} + +
From 2ab383858cecd46645b9a4770e531672e14aab4b Mon Sep 17 00:00:00 2001 From: Amol Date: Sun, 29 Oct 2023 03:02:04 +0530 Subject: [PATCH 25/32] Create USAGE.md --- USAGE.md | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 USAGE.md diff --git a/USAGE.md b/USAGE.md new file mode 100644 index 000000000..2bafecc0f --- /dev/null +++ b/USAGE.md @@ -0,0 +1,2 @@ +The community is working hard to put together a great usage guide. +You will soon see one of the best usage guides here. From bb846442ecbaa34b480b445ac1e76b95233f5e78 Mon Sep 17 00:00:00 2001 From: Amol Date: Sun, 29 Oct 2023 04:40:55 +0530 Subject: [PATCH 26/32] docs: add promo video to USAGE.md --- USAGE.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/USAGE.md b/USAGE.md index 2bafecc0f..4a0c91c02 100644 --- a/USAGE.md +++ b/USAGE.md @@ -1,2 +1,6 @@ The community is working hard to put together a great usage guide. You will soon see one of the best usage guides here. + +Till then you can view the quick promo video by clicking the link below - + +[](https://www.youtube.com/watch?v=szYaBZhXZNo "OpenSign promo") From aa0f2ed31afefcfcebcff7e05e186f72a883907b Mon Sep 17 00:00:00 2001 From: Hans Fraiponts Date: Sun, 29 Oct 2023 09:34:40 +0100 Subject: [PATCH 27/32] Update INSTALLATION.md link fixed --- INSTALLATION.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/INSTALLATION.md b/INSTALLATION.md index 16a49397a..360ca5492 100644 --- a/INSTALLATION.md +++ b/INSTALLATION.md @@ -1,7 +1,7 @@ # INSTALLATON INSTRUCTIONS -You can use our app as a cloud version from [OpenSignLabs](www.opensignlabs.com) +You can use our app as a cloud version from [OpenSignLabs](https://www.opensignlabs.com) or follow below instructions to install it on your own infrastructure. From 8990c5ef5ace88b04cda29ca92a6f9508eea4862 Mon Sep 17 00:00:00 2001 From: Andrew <148278535+andrew-opensignlabs@users.noreply.github.com> Date: Sun, 29 Oct 2023 20:29:29 +0530 Subject: [PATCH 28/32] Create .env.example.frontend Add example frontend dev .env example that can be used to quickly run the frontend development code locally with installing the API server and db --- .env.frontend_dev | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .env.frontend_dev diff --git a/.env.frontend_dev b/.env.frontend_dev new file mode 100644 index 000000000..d36422a82 --- /dev/null +++ b/.env.frontend_dev @@ -0,0 +1,14 @@ +# Clone the repo and rename this file to .env if you want to run the frontend react app locally for some quick contributions to the project. +# When used as it is, this env config will connect to our hosted UAT backend +# Note that any data in staging will get cleared from time to time and you may have to sign up again and again + +# Set CI to false while running the app locally +CI=false +# Set it to the URL form where the app home page will be accessed +PUBLIC_URL=http://localhost:3000 +# Set it to true if you want to generate the Sourcemap for debugging +GENERATE_SOURCEMAP=false +# Set it to the URL from where APIs will be accessible, for local development it should be localhost:3000/api/app (use your local port number instead) +REACT_APP_SERVERURL=https://staging-app.opensignlabs.com/api/app +# A 12 character long random app identifier. The value of this should be same as APP_ID which is a variable used by backend API. +REACT_APP_APPID=opensignstgn From c95841124a88896cceeb481d3d41e0bd16d7768b Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sun, 29 Oct 2023 15:02:39 +0000 Subject: [PATCH 29/32] docs: update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4a126eec5..48fb94c55 100644 --- a/README.md +++ b/README.md @@ -116,6 +116,7 @@ We would like to thank all our contributors and users for their support and feed Jobin Selvanose
Jobin Selvanose

πŸ“– + Hans Fraiponts
Hans Fraiponts

πŸ“– From 7a337bc1f0c81bbbef26db9d6a53670bb9be1786 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sun, 29 Oct 2023 15:02:40 +0000 Subject: [PATCH 30/32] docs: update .all-contributorsrc --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index d6c71ea41..a3c7fb998 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -79,6 +79,15 @@ "contributions": [ "doc" ] + }, + { + "login": "HansF", + "name": "Hans Fraiponts", + "avatar_url": "https://avatars.githubusercontent.com/u/1503?v=4", + "profile": "https://github.com/HansF", + "contributions": [ + "doc" + ] } ] } From 405edc99b34789d776c7f53e62cddf16dbc9af70 Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sun, 29 Oct 2023 15:21:29 +0000 Subject: [PATCH 31/32] docs: update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 48fb94c55..70c3b4ae4 100644 --- a/README.md +++ b/README.md @@ -117,6 +117,7 @@ We would like to thank all our contributors and users for their support and feed Jobin Selvanose
Jobin Selvanose

πŸ“– Hans Fraiponts
Hans Fraiponts

πŸ“– + Monil Prajapati
Monil Prajapati

πŸ’» From ef5ede15645383d2c4dbae86afac0dc3a5490f1c Mon Sep 17 00:00:00 2001 From: "allcontributors[bot]" <46447321+allcontributors[bot]@users.noreply.github.com> Date: Sun, 29 Oct 2023 15:21:30 +0000 Subject: [PATCH 32/32] docs: update .all-contributorsrc --- .all-contributorsrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.all-contributorsrc b/.all-contributorsrc index a3c7fb998..4589c78bd 100644 --- a/.all-contributorsrc +++ b/.all-contributorsrc @@ -88,6 +88,15 @@ "contributions": [ "doc" ] + }, + { + "login": "Monilprajapati", + "name": "Monil Prajapati", + "avatar_url": "https://avatars.githubusercontent.com/u/99136041?v=4", + "profile": "http://linktr.ee/monilprajapati", + "contributions": [ + "code" + ] } ] }