Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do secure browser interface [PROC 512] #1

Open
wants to merge 187 commits into
base: release
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 155 commits
Commits
Show all changes
187 commits
Select commit Hold shift + click to select a range
65de9e0
changes..
May 10, 2024
53a4ffb
build command for win..
May 10, 2024
49dd8a5
added display added ..
May 10, 2024
31b9bce
phase 2 changes...
May 13, 2024
636adb3
add configure comp..
May 14, 2024
ac648ce
key blocker changes...
May 15, 2024
1d66dc3
add instruction page...
May 16, 2024
0717646
add links ..
May 16, 2024
40caf60
final changes...
May 16, 2024
013d335
added configure changes..
May 17, 2024
338a659
change protocol schema..
May 17, 2024
c5214e0
add logs.
May 17, 2024
dc48dca
add logs..
May 17, 2024
9eb564e
test delete.
May 17, 2024
cab98fb
missed logs..
May 17, 2024
0eac4f4
added display info..
May 17, 2024
696d78c
add error check..
May 17, 2024
b4b3ebc
add display checks..
May 17, 2024
7f45434
added more shirtcut keys..
May 17, 2024
e2b94d1
configure notification..
May 17, 2024
a9b4ef0
added logs..
May 17, 2024
f9a8e32
add escape character..
May 17, 2024
6742640
slash issues..
May 17, 2024
e8f2ccb
revert slash issue.
May 17, 2024
94f8141
add slash issue.
May 17, 2024
62c408e
command change..
May 17, 2024
69001f5
add notification flag..
May 17, 2024
37fa193
notification logs..
May 17, 2024
35aa4fc
notification logsss..
May 17, 2024
6357905
test start button added..
May 17, 2024
83c2ab7
changes..
May 17, 2024
00c3076
add notification logs..
May 17, 2024
b9e0f8e
notification logs..
May 17, 2024
771ca8e
notification logs..
May 17, 2024
b6253ad
notification logs..
May 17, 2024
f766d90
notification logs..
May 17, 2024
7a0ad2c
change drive link...
May 20, 2024
70b5395
upadte new version of app.
May 22, 2024
67bbac4
update electron app..
May 22, 2024
0c23452
adding recurring mechanism..
May 23, 2024
fab075d
changes...
May 23, 2024
412b81f
revert..
May 23, 2024
9f13470
changes...
May 23, 2024
9087731
add recurring events..
May 24, 2024
ae500ed
changes..
May 24, 2024
e7914e1
remove setinterval...
May 24, 2024
e663a21
recurring change..
May 24, 2024
4e3b7c1
changes...
May 24, 2024
4e03e76
changes.....
May 24, 2024
fe0e397
revert changes..
May 24, 2024
a4d1347
prompt user permission...
May 27, 2024
701aa6b
add public url to donwload .exe app.
May 27, 2024
080b2ea
add oader with hybrid approach.
Jun 3, 2024
1ac9324
changes configure page..
Jun 3, 2024
807c39f
set checked unchecked apps..
Jun 3, 2024
4cdb7d7
remove display apps.
Jun 3, 2024
a59e829
retry mechanism..
Jun 3, 2024
6956ee0
kill command intitae..
Jun 3, 2024
ba42440
kill process..
Jun 3, 2024
3058cb2
success ate added..
Jun 3, 2024
db38a42
extra checks..
Jun 3, 2024
0ef80cb
extra checkss..
Jun 3, 2024
e192003
changes..
Jun 3, 2024
a86f394
changess...
Jun 3, 2024
7367d90
added logs..
Jun 3, 2024
e48fd14
added extra checks..
Jun 3, 2024
4a2d6a0
changes...
Jun 3, 2024
478e3f9
chnages...
Jun 3, 2024
cb42366
changess...
Jun 3, 2024
962fdd9
changes...
Jun 3, 2024
0856652
revert some changes..
Jun 3, 2024
11ac138
safety checks addedd.
Jun 3, 2024
adfddb6
changes..
Jun 3, 2024
fee7993
checks addedd.
Jun 3, 2024
8d57f0f
changes..
Jun 3, 2024
62def8f
changess added to phase 6.
Jun 4, 2024
15a477d
logs added..
Jun 4, 2024
11abbfa
toast enable values..
Jun 4, 2024
9560dd3
phase 6 checks..
Jun 4, 2024
59bfc26
changes...
Jun 5, 2024
e33affa
chabges..
Jun 5, 2024
58b9139
changes...
Jun 5, 2024
d78ac1a
changes..
Jun 5, 2024
e554e39
changes..
Jun 6, 2024
4ca7ade
double dpeendecy issue...
Jun 6, 2024
ac0d9c2
dev changes..
Jun 6, 2024
4fa0549
ui changes...
Jun 6, 2024
dd5b1a2
fix..
Jun 7, 2024
99505c8
ui changes..
Jun 7, 2024
d158c09
add fallback cases on secure browser app...
Jun 11, 2024
7265772
fallback cases...
Jun 11, 2024
d1c7f58
bug fixes...
Jun 11, 2024
feb716d
added any desk software to build...
Jun 13, 2024
cad5057
added disable state for re verify button..
Jun 14, 2024
91349df
change in parse condition..
Jun 14, 2024
2eed559
parseing changes..
Jun 14, 2024
e849f26
parseing changes..
Jun 14, 2024
9051d38
parseing changes..
Jun 14, 2024
7bb17fc
parseing changes..
Jun 14, 2024
f523fb4
decypt changes...
Jun 17, 2024
a3ed42a
commit changes...
Jun 17, 2024
90653a1
changes...
Jun 17, 2024
7cf8ab4
encypt changes...
Jun 17, 2024
56b3f38
changes...
Jun 17, 2024
d4abf9d
pasring info..
Jun 18, 2024
9288cd0
decrypt algorithm added...
Jun 18, 2024
9716fc7
decyption algo...
Jun 18, 2024
89ba5f9
decyption logic changes...
Jun 18, 2024
210ae27
decypt changes....
Jun 19, 2024
dc46bff
changes...
Jun 19, 2024
59e9de9
changes...
Jun 19, 2024
6280441
add new folder...
Jun 19, 2024
e2472a1
changes...
Jun 19, 2024
8ec5729
changes...
Jun 19, 2024
ef6fe7c
changes...
Jun 19, 2024
8e0e16f
decruption algo...
Jun 21, 2024
73abb50
url changes...
Jun 21, 2024
ba6f406
changes...
Jun 21, 2024
61e93bf
changes...
Jun 21, 2024
06e99ba
loader changes...
Jun 21, 2024
a624a82
return issue..
Jun 21, 2024
c3130f6
block finger gestures...
Jun 24, 2024
1044f8d
changes...
Jun 24, 2024
fb94522
disable four finger gesture...
Jun 24, 2024
79d18c8
block getures in start of the test..
Jun 24, 2024
19ecdfc
blocking actions...
Jun 24, 2024
9109564
revert changes...
Jun 24, 2024
6a5780a
added logs for secure browser inteface....
Jun 24, 2024
66df0c1
add email id as global key...
Jun 24, 2024
cdfa08f
order changes...
Jun 24, 2024
fd9a077
added testname as global key..
Jun 24, 2024
9788184
CR points....
Jun 28, 2024
8a1fe32
re order info...
Jun 28, 2024
ccb8687
remove HELP ...
Jun 28, 2024
9aacbb6
added identification of custom protocol...
Jul 1, 2024
e986274
changes...
Jul 1, 2024
427e96f
custom protocol schema...
Jul 1, 2024
7dfc96d
changes...
Jul 1, 2024
1e3b4a7
cr points...
Jul 2, 2024
c59bdfc
remove info....
Jul 2, 2024
433ac84
remove footer stickeness...
Jul 2, 2024
c8c07b2
pat points...
Jul 2, 2024
5cdc3f2
help underline changes..
Jul 2, 2024
0deee3f
remove footer...
Jul 2, 2024
d919ba8
added favicon...
Jul 4, 2024
1c6ff59
footer rmeoved from test route page..
Jul 4, 2024
947a580
CR points..
Jul 7, 2024
1f678d2
cr points...
Jul 8, 2024
ffe40ca
bug fix..
Jul 8, 2024
e4ef16a
remove font copyright..
Jul 8, 2024
a9a5331
cr points...
Jul 8, 2024
2c16f70
cr points..
Jul 8, 2024
694e239
changes...
Jul 8, 2024
fbf4a21
revert env changees...
Jul 8, 2024
2138746
added script url in env file,..
Jul 8, 2024
8401e31
revert testing flags (ms-teams , brave.)
Jul 9, 2024
4b64d3f
font-family changes...
Jul 9, 2024
e0b260e
product remove help cta..
Jul 10, 2024
6196bbd
product change..
Jul 10, 2024
cc16c8d
CR points...
Jul 18, 2024
baa4d7c
configure eslint and resolve all issues..
Jul 18, 2024
564aed6
remove some dependecies..
Jul 18, 2024
d42ae81
readme updated..
Jul 18, 2024
3a0c4e5
linux check added...
Aug 13, 2024
4d85b36
downloadable links for win linux...
Aug 14, 2024
3ea5758
non debian ubutu system changes....
Aug 30, 2024
c0f1424
system check bug fixes...
Aug 30, 2024
95fe67b
button width changes..
Aug 30, 2024
1307dcd
add zendesk link...
Sep 2, 2024
56508fc
changes...
Sep 3, 2024
3eeea3d
bug fix..
Sep 3, 2024
8fa0bcf
pat points..
Sep 4, 2024
3b0f644
pat points..
Sep 4, 2024
106036e
pat changes..
Sep 4, 2024
25147dd
open url in new tab..
Sep 4, 2024
8a8e7d1
remove quotes..
Sep 4, 2024
4df2856
add spacing..
Sep 4, 2024
3eb4e70
Merge pull request #3 from doselect/PROC-571
manishbharti02 Sep 5, 2024
fedefc0
changes in macos check
khushbooshaw779 Sep 13, 2024
809a94c
defensive checks
khushbooshaw779 Sep 13, 2024
cfb585c
macos download link
khushbooshaw779 Sep 20, 2024
f2d7eea
dmg build
khushbooshaw779 Sep 23, 2024
452bebb
remove unrequired codes
khushbooshaw779 Sep 29, 2024
70e5a93
Merge pull request #4 from doselect/PROC-622
khushbooshaw779 Oct 3, 2024
0579d56
footer distortion fixes...
Oct 21, 2024
4291f77
Merge branch 'master' of github.com:doselect/do-secrure-browser-inter…
Oct 21, 2024
9d02fe5
added github template.. (#5)
manishbharti02 Dec 30, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
NODE_ENV = development
REACT_APP_DOWNLOAD_LINK = https://dev-doselect-static.s3.ap-southeast-1.amazonaws.com/secure-browser/Doselect+Secure+Browser.exe
REACT_APP_UBA_BEACON_URL= https://test.collector.infoedge.com/uba
REACT_APP_UB_SCRIPT_URL= https://assets.central.dev.sg1.chsh.in/scripts/ub_v1.16.min.js
7 changes: 1 addition & 6 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,7 @@
# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local


npm-debug.log*
yarn-debug.log*
Expand Down
1,356 changes: 1,343 additions & 13 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,11 @@
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"node-sass": "^9.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-redux": "^9.1.2",
"react-router-dom": "^6.23.0",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.4"
},
Expand Down
Binary file removed public/favicon.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions public/favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 34 additions & 2 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="icon" type="image/png" href="%PUBLIC_URL%/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
Expand All @@ -24,8 +24,40 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>Doselect secure browser</title>
</head>
<!-- UBA script -->
<script id="ubScript" defer>
(function () {
var queuedSuperProps = [];
var queuedEvents = [];
window.ub = {
track: function (eventName, eventProps) {
queuedEvents.push([eventName, eventProps]);
},
register: function (properties) {
queuedSuperProps.push(properties);
},
};
var script = document.createElement("script");
script.async = true;
script.src =
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove hard coded data and pass from env varaible for script url, becon url and bulk beacon url

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

'%REACT_APP_UB_SCRIPT_URL%';
script.onload = function () {
ub.init({
beaconUrl: '%REACT_APP_UBA_BEACON_URL%',
bulkBeaconUrl: "https://logs.doselect.com/collectorapi/v1/uba/bulk",
queuedEvents: queuedEvents,
queuedSuperProps: queuedSuperProps,
tenantId: "1",
autoTrack: false,
blackList: [],
});
};
document.head.appendChild(script);
})();
ub.register({ tenantId: "11", appId: 802 });
</script>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
Expand Down
38 changes: 0 additions & 38 deletions src/App.css

This file was deleted.

46 changes: 26 additions & 20 deletions src/App.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,31 @@
import logo from './logo.svg';
import './App.css';
import { createBrowserRouter, RouterProvider } from "react-router-dom";
import "./App.scss";
import Configure from "./components/Configure/Configure";
import Instruction from "./components/Instruction";
import TestAccessUrlInput from "./components/TestAccessUrlInput";
import { PAGE_ROUTE } from "./util/constant";
import "./util/ubaInitialiser";

function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
</div>
);
const router = createBrowserRouter([
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please take such constant from constant file

{
path: "/",
element: <></>,
},
{
path: PAGE_ROUTE.CONFIGURE,
element: <Configure />,
},
{
path: PAGE_ROUTE.INSTRUCTION,
element: <Instruction />,
},
{
path: PAGE_ROUTE.TEST_ROUTE,
element: <TestAccessUrlInput />,
},
]);
return <RouterProvider router={router} />;
}

export default App;
10 changes: 10 additions & 0 deletions src/App.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Montserrat:wght@400;500;600&display=swap");
body {
margin: 0;
background-color: #f6f6f6;
}

code {
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}
Loading